.popover {
  max-width: 600px;
  width: auto;
}

.datepicker-days table {
	border-collapse:separate;}
td.activeClass {
	border: 2px solid #00833f !important;
    border-radius: 50%!important;
    line-height: 1;
}
td.activeClass a { 
background-color: #00833f !important;
    background-image :none !important;
    color: #ffffff !important;}

label.disabled-option, .has-success .radio.disabled-option, .has-success .checkbox.disabled-option {
	text-decoration: line-through;
    color: #ddd;
	}
.datepicker table tr td.disabled {
  position: relative;
 
  overflow: hidden;
}
.datepicker table tr td.disabled:hover::before, .datepicker table tr td.disabled:hover::after {
  background: #ff0000;
}
.datepicker table tr td.disabled::before, .datepicker table tr td.disabled::after {
  content: '';
  position: absolute;
  height: 1px;
  width: 100%;
  top: 50%;
  left: 0;
  margin-top: -1px;
  background: #dcdcdc;
  opacity: 0.5;
}
.datepicker table tr td.disabled::before {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
}
.datepicker table tr td.disabled::after {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
}		
.modal {top: 150px;}
.modal-content .btn {margin:0!important;}
.class_unavailable{text-decoration: line-through; color:#999;}
.class_unavailable td{background-color: #f7f7f7;}

/* Styles adopted from SWAY */


.form-group label {
	position:absolute;
	top:0px;
	left:0px;
	margin:12px 0px 0px 28px;
	padding:0px 4px;
	font-style:italic;
	font-size:14px;
	font-weight:700;
	line-height:18px;
	color:#002f6c;
	background-color:rgba(255,255,255,0);
	transition:margin 200ms, color 250ms, background 200ms, font-size 250ms;
	user-select:none;
	cursor:pointer;
	z-index:2;
}

.form-group label {
	font-size:12px;
	margin:-8px 0px 0px 30px;
	background-color:rgba(255,255,255,1);
}

.form-group label .field_required {
	padding-left:3px;
}
.form-check label, .form-check-inline label {
    text-transform: inherit!important;
    color: inherit!important;
	margin: 0.5rem 0 !important;
	font-weight: 400;
}
.form-check label.disabled-option, .form-check-inline label.disabled-option {
	color: #ddd!important;
}

.form-check label.disabled-option input, .form-check-inline label.disabled-option input {
	border-color: #ddd!important;
}
label.sub-label {
    color: inherit!important;
    text-transform: inherit!important;
	font-size: .813em;
    letter-spacing: .5pt;
    white-space: nowrap;
	font-weight: 400;
	
}
.form-group input + label {
	padding:0px 4px 0px 8px;
	font-size:14px;
	line-height:18px;
	color:#002f6c;
	user-select:none;
	cursor:pointer;
}

 .form_footer {
	text-align:center;
}
.form_footer .button, .form_footer .btn {
	width:auto;
}

::-webkit-autofill,
:-webkit-autofill:hover,
:-webkit-autofill:focus {
	color:red;
}


/* controls */
.form-control {
    position: relative;
    width: 100%;
    margin: 2px 0px;
    padding: 10px 30px;
    color: #002f6c;
    font-family: proxima-nova, sans-serif;
    font-size: 14px;
    line-height: 16px;
    font-weight: 600;
    background: #fff;
    border: 2px solid #002f6c;
    border-radius: 20px;
    outline: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    z-index: 1;
}
.no-regentselect select.form-control {
    -webkit-appearance: menulist;
    -moz-appearance: menulist;
    appearance: menulist;
	padding-right: 30px!important;
	
}
.input-group-append>.input-group-text {
    border-top-right-radius: 20px!important;
    border-bottom-right-radius: 20px!important;
    border: 2px solid #002f6c;
    margin: 2px 0 2px -2px;
}
.input-group-prepend>.input-group-text {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border: 2px solid #002f6c;
    margin: 2px -2px 2px 0;
}
.input-group-text {
	font-size: 0.8rem;
}
.controls input,
.controls textarea,
.controls select,
.controls .select-wrap {
	margin-bottom:8px;
}

.controls input,
.controls textarea,
.controls select,
.controls .regent-select .sel-val {
	padding:10px 20px;
	color:#3a3532;
	font-style:normal;
	font-weight:500 !important;
	background-color:#f0f0f0;
	border:1px solid #d9dbdc;
}
.controls .select-wrap:not(.selected) .regent-select .sel-val {
	color:rgba(0,0,0,.54);
}
.controls input:focus,
.controls input:hover,
.controls textarea:focus,
.controls textarea:hover,
.controls select:focus,
.controls select:hover,
.controls .select-wrap .regent-select .sel-val:focus,
.controls .select-wrap .regent-select .sel-val:hover {
	border-color:#7ac142;
}
.controls .select-wrap.on .regent-select .sel-val {
	padding:9px 19px 10px 19px;
}
.controls .select-wrap.on .regent-select .sel-val:before {
/*	margin-top:-6px;*/
	right:19px;
}

.form_wrapper .alert {
	border-radius: 20px;
}

@media only screen and (min-width: 641px){
	.inwrap .form_wrapper {
		width: 100%;
		max-width: 800px;
	}
}



.inwrap .form_wrapper  input, .inwrap .form_wrapper select, .inwrap .form_wrapper textarea, .inwrap .form_wrapper .regent-select .sel-val{
	margin: 2px 0px !important;
	border-radius: 20px;
}

 .inwrap .form_wrapper .on .regent-select .sel-val{ /* :focus */
	 border-radius: 20px 20px 0px 0px;
	 
 }

.inwrap .form_wrapper input[type="submit"], .inwrap .form_wrapper input[type="button"]{
	
	border-radius: 20px;
}

.inwrap .form_wrapper .form-group label{
	position: relative;
	margin: 0px 0px -10px 0px;
	font-size: 16px;
	font-style: normal;
	text-transform: uppercase;
}

.inwrap .form_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]){
	padding: 4px 15px;
	line-height: 28px;
}
.inwrap .form_wrapper select.form-control{
	padding: 4px 15px;
}

.inwrap .form_wrapper label {
	font-size: 16px;
	font-style: normal;
	text-transform: uppercase;
}


.inwrap .form_wrapper .regent-select .sel-opts{
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
}



.inwrap .form_wrapper input:-webkit-autofill,
.inwrap .form_wrapper input:-webkit-autofill:hover, 
.inwrap .form_wrapper input:-webkit-autofill:focus, 
.inwrap .form_wrapper input:-webkit-autofill:active{
	-webkit-box-shadow: 0 0 0 30px white inset !important;
}




.inwrap .form_wrapper li.gfield_error input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]),
.inwrap .form_wrapper li.gfield_error textarea{
	border: 2px solid #E0251B;
}

.inwrap .form_wrapper .gfield_error .gfield_label{
	color: #E0251B;
}

.gfield_error .gfield_label{
	/* background: #F5D93F; */
}

.gfield_error .gfield_description.validation_message{
	color: #fff;
	padding: 4px 15px !important;
	margin: 0px;
	background: #E0251B;
}


.inwrap .form_wrapper li.gfield_error div.ginput_complex.ginput_container label,
.inwrap .form_wrapper li.gfield_error ul.gfield_checkbox,
.inwrap .form_wrapper li.gfield_error ul.gfield_radio{
	color: #3a3532;
}



/*
AC1F2D red
F5D93F yellow
*/


.inwrap .form_wrapper .ginput_container + .validation_message{
	margin-top: 10px;
}

.inwrap .form_wrapper div.validation_error{
	border: none;
	color: #fff;
	background: #E0251B;
}

.inwrap .form_wrapper .gfield_checkbox li label, .inwrap .form_wrapper .gfield_radio li label{
	max-width: none;
}


.inwrap .form_wrapper ul.gfield_checkbox li input[type=checkbox], .inwrap .form_wrapper ul.gfield_radio li input[type=radio]{
	width: 16px !important;
}

.inwrap .gfield .ginput_container ul{
	justify-content: left;
}


input[type=checkbox], input[type=radio]{
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

input[type=checkbox]:focus, input[type=radio]:focus, input[type=checkbox]:hover, input[type=radio]:hover{
	/* box-shadow: 0 0 0px 2pt #fff inset; */
	border: 2px solid #002f6c;
}

input[type=checkbox]:checked, input[type=radio]:checked{
	background: #7cb54b;
	box-shadow: 0 0 0px 2pt #fff inset;
	border: 2px solid #002f6c;
}
input[type=checkbox] {
    border: 1px solid #d9dbdc;
    display:inline-flex;
    justify-content:center;
    align-items:center;
    position:relative;
    width:16px;
    height:16px;
    padding:0px;
    margin:0px;
    transition:border 250ms;
    border-radius:3px !important;
}

input[type=checkbox]:before {
	content:'';
	width:100%;
	height:100%;
	background-color:#002f6c;
	
	background-image:url("data:image/svg+xml,%3Csvg%20width%3D%2215%22%20height%3D%2213%22%20viewBox%3D%220%200%2015%2013%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M3.06066%205.43934C2.47487%204.85355%201.52513%204.85355%200.93934%205.43934C0.353553%206.02513%200.353553%206.97487%200.93934%207.56066L3.06066%205.43934ZM6%2010.5L4.93934%2011.5607L6.06836%2012.6897L7.12476%2011.4924L6%2010.5ZM14.6248%202.99243C15.1729%202.37125%2015.1136%201.42335%2014.4924%200.875243C13.8712%200.327138%2012.9233%200.386382%2012.3752%201.00757L14.6248%202.99243ZM0.93934%207.56066L4.93934%2011.5607L7.06066%209.43934L3.06066%205.43934L0.93934%207.56066ZM7.12476%2011.4924L14.6248%202.99243L12.3752%201.00757L4.87524%209.50757L7.12476%2011.4924Z%22%20fill%3D%22white%22%2F%3E%3C%2Fsvg%3E");
	background-position:center center;
	background-repeat:no-repeat;
	background-size:contain;
	
	border-radius:0px;
	opacity:0;
	transform:scale(.5);
	transition:opacity 250ms, transform 250ms;
	display:inline-block;
	position:absolute;
	top:0px;
	left:0px;
	
}
.form_wrapper input::placeholder {
	font-style: normal;
	font-weight: 600;
	font-size: 14px;
	color: #999;
}

.form_wrapper input[type=text]{
	color: #002f6c;
}

label.error {
    color: red!important;
    font-size: 1rem;
    display: block;
    margin: 2px 0!important;
    text-transform: inherit!important;
    font-weight: inherit!important;
    padding: 5px 15px!important;
}

input.error, select.error {
    border: 1px dashed red!important;;
    font-weight: 300;
    color: red;
}
input:disabled {
	cursor: not-allowed;
}

#ui-datepicker-div .ui-datepicker-header {
	color: #fff;
}
#ui-datepicker-div .ui-corner-all {
	background-repeat: no-repeat
}
.input-group button {
	border: none;
	padding: 0;
}
.input-group button .input-group-text {
	padding: 4px 10px;	
}
.input-group button .input-group-text i {	
    font-size: 14px;
    line-height: 23px;
}
.form-group label.col-form-label {
	margin-top: 10px!important;
}
.error .input-group-append>.input-group-text {
	border: 1px dashed red!important;
}
.error .input-group-append>.input-group-text i {
	color: red;
}