
/* This style modifies the default button style to create a long header
   with a content panel below that can expand and contract in height

   The expansion / contraction is facilitated by /js/Collpsible.js  */


/* Style the top bar with the the +/- buttons */
.collapsible, .collapsed{

 background-color:#bbb;
 color: #444;
 cursor: pointer;
 width: 100%;
 border: none;
 outline: none;

 /* Button text */
 text-align: left;
 color: #2e1a46; /*Dark purple*/
 font-weight: bolder;
 font-size: 18px;
 font-size: calc(10px + 1.2vw);
 font-size: min(calc(10px + 1.2vw), 30px);

 border-radius: 8px;

 padding-left:2vw;
 padding-right:2vw;

 margin-bottom:0;
 margin-top:1vw;
 

}

/* Add a background color to the button if it is clicked on (add the .active class with JS), and when you move the mouse over it (hover) */
.active, .inactive, .collapsible:hover, .collapsed:hover {
 background-color: #ddd;
}

/* Style the content pane that exands and collapses */
.content-collapsed, .content-collapsible {
    background-color:#ccc;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
   
    overflow: hidden;

 	  margin-left: 2vw;
    margin-right: 2vw;
    padding-left: 1vw;
    padding-right: 1vw;

    padding-top: 2vw;
    padding-bottom: 0px;
    margin-bottom: 0px;
    margin-top:0px;
}

.content-collapsed {
	  height:0;
}

.content-collapsible {
  	height:auto;	
}



/* If button style is initially 'collapsed' then show a '+' sign on the right of the heading*/
.collapsed:after {
  content: '\02795'; /* Unicode character for a large "plus" icon (+) */

  font-size: 18px;
  font-size: calc(10px + 1.2vw);
  font-size: min(calc(10px + 1.2vw), 30px);
  float: right;
  margin-left: 5px;

}

/* If button style is initially 'collapsible' then show a '-' sign on the right of the heading*/
.collapsible:after {
  content: '\2796'; /* Unicode character for a large "minus" icon (-) */

  font-size: 18px;
  font-size: calc(10px + 1.2vw);
  font-size: min(calc(10px + 1.2vw), 30px);
  float: right;
  margin-left: 5px;

}


/* Change the '+' sign to a '-' sign after clickt to expand the content */
.active:after {
  content: '\2796'; 
}


/* Change the '-' sign to a '+' sign after clickt to contract the content */
.inactive:after {
   content: '\02795'; 
}
