html	{font-family: 'Noto Sans', sans-serif;
	line-height: 1.15;
	-ms-text-size-adjust:     100%;
	-webkit-text-size-adjust: 100%;
	}

body	{margin: 0 auto;}

form {padding:30px 0px 30px 0px;width:100%;margin: 0 auto;}

footer {padding-top:50px;}

#HEAD_SECTION  {padding:10px;
	margin:0 auto;
	text-align:center;}
	
#BUTTON_TABLE, #PROGRESS_TABLE  
	{padding:10px;
	margin:0 auto;
	max-width:1200px;
	text-align:center;}

#BODY_SECTION{padding:10px 0px 0px 0px;
	margin:0 auto;}

#FOOT_SECTION  {padding:10px;
	margin:0 auto;
	text-align:center;
	color: #fff;
	background-color:#375372;
	}
	
a {
	text-decoration:underline;
	font-weight:600;
}

#FOOT_SECTION a {color:#DBFF6E;}

#PROGRESS_TABLE > div {text-align:center;font-size:.8em;}

.BOUTONS {margin: 0 auto;}

label {display:inline-block;width:100%;min-width:100px;}

/*label {display:inline-block;max-width:100%;padding:5px;}*/

body {
	background-color: #375372; 
	line-height: 1.8;
	font-size:1.1rem;
}
form {background-color:#FFF;}

h1, h2, h3, h4, h5, h6 {letter-spacing: -1px;color:#375372}

#HEAD_SECTION {
	background-color:#FFFFFF;
	color:#000000;
	padding:10px 0px 10px 0px !important;
	/*padding:30px!important;*/
	text-align:left;
	}
	
#HEAD_INNER{
	padding:0px;
	margin:0px;
	/*max-width:1000px; why is this here? It makes error messages wrap weirdly. If anyone knows why this was added, lmk and I can restore this. */
}

#LOGOS {
	display: flex;
}	
	
#MAINLINE, .MAINLINE {
	background-color:#a9c94b; 
	height:2px;
	margin-top:30px;
}


input.BUTTON {
	background-color:#a9c94b !important
}

.btn {  
  display: inline-block;
  font-weight: 400;
  line-height: 1.5;
  background-color: #FFF;
  color: #375372;
  text-align: center;
  text-decoration: none;
  vertical-align: middle;
  user-select: none;
  padding: 10px 30px 10px 30px;
  font-size: 20px;
  border-radius: 5px;
  border: 1px solid;
  border-color: #375372;
}

.btn:hover {
	background-color:#a9c94b;
	border:1px solid;
	color:#FFF;
}

#sa-code {
	width: 300px;
	height: 33px;
	font-size: 18px;
	text-align:center;
}

.btn-success, .btn-lg, .BUTTON, .BUTTON:hover {
	border:none!important;  
	padding: .5rem 1rem;
  font-size: 1.25rem;
  border-radius: .3rem;
}
.BUTTON {  
	text-align: center;	
	text-indent: 0px;	
	vertical-align: middle;		
	color: rgb(255, 255, 255);	
	/* Box */	height: 60px;	width: 156px;	
	margin: 0px;	
}

.BUTTON:hover {  
	text-align: center;	
	text-indent: 0px;	
	vertical-align: middle;	
	background-color: white!important;	
	color: #375372;	
	border: 1px solid #375372!important;
	/* Box */	height: 60px;	width: 156px;	
	margin: 0px;	
}

.btn-success, .btn-lg {
  border: none !important;
}

.form-check-input:checked {
  background-color: #a8d091!important;
  border-color: #b3d582!important;
}

.unselectable{
  background-color: #eeeeee;
  cursor: not-allowed;
  pointer-events: none;
}

.LOGO_SPAN > img:nth-child(1) {
  width: 320px;
}
.LOGO_SPAN {
display: inline-block;
width: 220px;
text-align:left;
padding:0px;
margin:0px;
}

.LANG_SPAN {
display: inline-block;
width:20%;
height:auto;
text-align:right;
padding:0px;
margin:0px;
}

#BODY_SECTION, #BUTTON_TABLE, #PROGRESS_TABLE {
	background-color:#FFF;
	}
	
#BUTTON_TABLE div {padding:.8em;margin-top:10%;} 


/************************************************************************************/
/* Special formatting for mobile */
/************************************************************************************/

@media only screen and (max-width:767px) {


	.LOGO_SPAN > img:nth-child(1) {
	  width: 220px;
	}


	#LOGOS {
	  display:block!important;
	}

	/* Halve the padding in textboxes on mobile; R can see more of what they wrote and it's overall easier to read */
	
	.TEXTBOX, .NUMBOX {padding: 5px !important;}

@media only screen and (max-width:414px) {
	
	
	.BUTTON {  
	max-width: 100px;		
	}
	.btn-success, .btn-lg, .BUTTON, .BUTTON:hover {
	  font-size: 1rem;
	}
	
}



textarea {width:100%;}
	
#FOOT_SECTION {
	 background-color: #375372; 
	color: #FFF;
}

#FOOT_SECTION a {color:#a9c94b;text-decoration:none;}
#FOOT_SECTION a:hover {color:#a9c94b;text-decoration:underline;}
#FOOT_SECTION a:visited {color:#a9c94b;text-decoration:none;}

.p-h {color: #375372;}

.center {text-align: center;}


/* character count for open ends */
span[id^="rchar"] {color:#39598C;}


@media only screen and (max-width:600px) {

	.TEXTBOX, .NUMBOX {
	  width:95%!important;
	} 
}

.TEXTBOX, .NUMBOX {
  max-width: 95%;
  display: inline-block;
  border: 1px solid #bbc2af;
  border-radius: 5px;
  padding: 10px;
  margin-top:3%;
  box-sizing: border-box;
  margin-left: 15px;
} 

/* .NUMBOX {
 margin-left: 3%;
} */

textarea {font-family: 'Noto Sans', sans-serif;}

textarea:focus, textbox:focus {
  -webkit-box-shadow: inset 2px 2px 2px 0px #dddddd;
  -moz-box-shadow: inset 2px 2px 2px 0px #dddddd;
  box-shadow: inset 2px 2px 2px 0px #dddddd;
}  

/* -------------------------------------------------------- */
/* -------------------------------------------- TOOLTIPS */
/* -------------------------------------------------------- */

	.tooltip {
		position: relative;
		display: inline-block;
		border-bottom: 1px dotted black;
		opacity:1;
	}

	.tooltip .tooltiptext {
		visibility: hidden;
		min-width: 500px;
		background-color: #555;
		color: #fff;
		text-align: left;
		font-weight:normal;
		border-radius: 6px;
		padding: 5px;
		position: absolute;
		z-index: 1;
		bottom: 125%;
		left: 50%;
		margin-left: -60px;
		opacity: 1;
		transition: opacity 1s;
	}

	.tooltip .tooltiptext::after {
		content: "";
		position: absolute;
		top: 100%;
		left: 10%;
		margin-left: -5px;
		border-width: 5px;
		border-style: solid;
		border-color: #555 transparent transparent transparent;
	}

	.tooltip:hover .tooltiptext {
		visibility: visible;
		opacity: 1;
	}

/* if needed css accordions */

/* lang accordion dropdowns */
/*details.lang {position:absolute; color: white;z-index:5;}*/
 details.lang {position:relative; float:right; color: white;z-index:5;}
details.lang { background-color:#003F70; padding:10px;border-radius:5%;cursor:pointer;}

/* buttons are specifc to lang class */
.BUTTONL {color:white;font-size:1em;cursor:pointer;}
.BUTTONL:hover {text-decoration: underline;}

details > summary {
  list-style: none;
}

details.accordion {
	background-color: #f1f1f1;
	color: #444;
	cursor: pointer;
	padding: 18px;
	width: 100%;
	border: none;
	display:inline-block;
	text-align: left;
	outline: none;
	font-family: 'Open Sans', Noto Sans, sans-serif;
	transition: 0.4s;
}

summary.heading {
	font-weight: 600;
}

summary > p.panel {
	padding: 0 18px;
	background-color: transparent;
	font-size: 1em;
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.2s ease-out;
}

details[open] summary ~ * {
  animation: sweep .5s ease-in-out;
}
@keyframes sweep {
  0%    {opacity: 0; margin-top: -10px}
  100%  {opacity: 1; margin-top: 0px}
}

/* Hover to Popup on coarse screens */

@media (pointer: coarse), (hover: none) {
  [title] {
    position: relative;
    display: inline-flex;
    justify-content: center;
  }
  [title]:focus::after {
    content: attr(title);
    position: absolute;
    top: 90%;
    color: #ffffff;
    background-color: #555555;
    border: 1px solid;
    width: 15vh;
    padding: 3px;
    font-size: 12px;
    z-index: 10;
  }

}

/* for popout modals */

.MODAL_BACKGROUND {
  display: none;
  background-color: rgba(0, 0, 0, 0.7);
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 5000;
  height: 100vh;
  width: 100vw;
}

 .MODAL_CONTENT {
   position: fixed;
   overflow: auto;
   background-color: #FFFFFF;
   color: #000;
   border: 1px solid #54585A;
   left: 50%;
   -webkit-transform: translate(-50%, 0);
   -moz-transform: translate(-50%, 0);
   transform: translate(-50%, 0);
   width: 90%;
   max-width: 900px;
   max-height: 300px;
   z-index: 5001;
   top: 10%;
   bottom: 10%;
 }
 .MODAL_CONTENT .MODAL_HEADER {
   padding-left: 20px;
   padding-right: 20px;
 }
 .MODAL_CONTENT .MODAL_CLOSE {
   position: absolute;
   top: 1em;
   right: 1em;
   cursor: pointer;
 }
 .MODAL_CONTENT .MODAL_CONTAINER {
   padding-left: 20px;
   padding-right: 20px;
 }
 .MODAL_CONTENT .MODAL_FOOTER {
   padding: 30px 30px;
 }
 .MODAL_CONTENT .MODAL_FOOTER .MODAL_CLOSE_BTN {
   cursor: pointer;
   padding: 8px 50px;
 /*  background-color: #3e8dda; */
   background-color: #27aae1;
   color: #FFFFFF;
   border: 0;
   -webkit-box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
   box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
 }
