/*
 Theme Name:     Great Oaks Academy
 Author:         Jed Orrison
 Author URI:     https://pineappleslice.com
 Template:       Divi
 Version:        1.0
 Description:    A Divi child theme created for Great Oaks Academy.
*/
.nav li li {line-height: 1.3em;}
/*----------Scroll bar ------------*/
::-webkit-scrollbar {
	width: 15px;
}
::-webkit-scrollbar-track {
	background-color: #E6E6E6;
	border-radius: 2px;
}
::-webkit-scrollbar-thumb {
	background-color: #002B46;
	border-radius: 2px;
}

/* ---------  GRAVITY FORMS  --------- */

/*** FIELD STYLING ***/
input[type=text],input[type=email],input[type=tel],
textarea {
 background: #FFFFFF;
 border: 1px solid #bbb;
 border-radius: 0;
 color: #48484a !important;
 padding: 15px !important;
}

/*** BUTTON STYLING ***/
.gform_wrapper .gform_footer input.button {
 float: left;
 background: #002B46;
 border: 2px solid #002B46;
 font-size: 18px;
 font-family: 'montserrat';
 text-transform: uppercase;
 font-weight: 500;
 color: #ffffff;
 padding: 14px 25px;
 border-radius: 0px;
 letter-spacing: 2px;
 cursor: pointer;
}

/*** BUTTON HOVER STYLING ***/
.gform_wrapper .gform_footer input.button:hover, .mailster-form .submit-button:hover {
 background: #002B46;
 color: #ffffff;
 border: 2px solid #002B46;
 box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .2);

}

body .gform_wrapper .top_label div.ginput_container {
    margin-top: 0px;
}

.gform_wrapper .gform_footer {
    padding: 0px 0 10px !important;
}

.gform_confirmation_message_1 gform_confirmation_message {
    color: #fff !important;
}

/*** PLACEHOLDER ***/
::-webkit-input-placeholder {
    /* Chrome */
    color: #48484a !important;
}
:-ms-input-placeholder {
    /* IE 10+ */
    color: #48484a !important;
}
::-moz-placeholder {
    /* Firefox 19+ */
    color: #48484a !important;
}
:-moz-placeholder {
    /* Firefox 4 - 18 */
    color: #48484a !important;
}

/*** FIELD FOCUS STYLING ***/
input[type=text]:focus,
input.text:focus,
input.title:focus,
textarea:focus {
    box-shadow: 0 10px 20px 0 rgba(0, 0, 0, .2);
}
/*** MESSAGE BOX TRANSITION ***/
.gform_wrapper textarea.medium {
    margin-top: 6px;
    height: 10em;
    transition: height .3s ease-out;
}
/*** MESSAGE BOX FOCUS HEIGHT ***/
.gform_wrapper textarea.medium:focus {
    height: 18em;
}

@media only screen and (max-width: 641px) {
.gform_wrapper .ginput_container span:not(.ginput_price) {
    margin-bottom: 16px !important; }
}

@media only screen and (min-width: 641px) {
.gform_wrapper form {
    padding-left: 16px; }
}

/*** CHECKBOXES ***/

.gform_wrapper ul.gfield_checkbox li input[type=checkbox]:checked+label {
 font-weight: normal;
}

.gform_wrapper ul.gfield_checkbox li input[type=checkbox] {
 visibility: hidden;
 margin: 0;
 width: 0!important;
}

.gform_wrapper input[type=checkbox] + label {
 font-size: 16px;
}

input[type=checkbox] + label:hover {
 cursor: pointer;
}

input[type=checkbox] + label:before {
 font-family: "ETmodules" !important;
 font-size: 30px;
 position: relative;
 top: 0.3em;
 margin-right: 0.2em;
}

.gform_wrapper li.gf_list_inline ul.gfield_checkbox li {
 display: -moz-inline;
 display: inline;
}

input[type=checkbox] + label:before {
 content: '\56';
}

input[type=checkbox] + label:hover:before {
 content: '\5a';
 filter: alpha(opacity=40);
 opacity: 0.4;
}

input[type=checkbox]:checked + label:before {
 content: '\5a';
 color: #39b54a;
}

input[type=checkbox]:checked + label:hover:before {
 color: #39b54a;
 filter: alpha(opacity=100);
 opacity: 1;
}

/*** GRAVITY RADIO BUTTONS ***/

.gform_wrapper ul.gfield_radio li input[type=radio] {
 visibility: hidden;
 margin: 0;
 width: 0!important;
}

.gform_wrapper input[type=radio] + label {
 font-size: 16px;
}

input[type=radio] + label:hover {
 cursor: pointer;
}

input[type=radio] + label:before {
 font-family: "ETmodules" !important;
 font-size: 30px;
 position: relative;
 top: 0.2em;
 margin-right: 0.2em;
}

.gform_wrapper li.gf_list_inline ul.gfield_radio li {
 display: -moz-inline;
 display: inline;
}

input[type=radio] + label:before {
 content: '\5b';
}
input[type=radio] + label:hover:before {
 content: '\5c';
 filter: alpha(opacity=40);
 opacity: 0.4;
}
input[type=radio]:checked + label:before {
 content: '\5c';
 color: #39b54a;
}
input[type=radio]:checked + label:hover:before {
 color: #39b54a;
 filter: alpha(opacity=100);
 opacity: 1;
}

.gform_wrapper ul.gfield_radio li input[type=radio]:checked+label {
 font-weight: normal;
}
/*** SUCCESS MESSAGE ***/
.gform_confirmation_wrapper {
 background: #fff;
 padding: 15px;
}

/*** FIX FIRST FIELD SPACE ISSUES ***/
#gform_wrapper_1 li.hidden_label input, #gform_wrapper_1 div.ginput_container_phone, #gform_wrapper_1 div.ginput_container_email {margin-top:0;}
#gform_wrapper_1 span.name_first input, #gform_wrapper_1 span.name_last input {margin-bottom:0;}

@media only screen and (min-width: 641px){
.gform_wrapper form {
    padding-left: 0px;
	}}

.gform_wrapper .top_label li.gfield.gf_left_half .ginput_container:not(.gfield_time_hour):not(.gfield_time_minute):not(.gfield_time_ampm):not(.ginput_container_date):not(.ginput_quantity):not(.datepicker), .gform_wrapper .top_label li.gfield.gf_right_half .ginput_container:not(.gfield_time_hour):not(.gfield_time_minute):not(.gfield_time_ampm):not(.ginput_container_date):not(.ginput_quantity):not(.datepicker) {
	margin:0;
}

#input_2_4_4_label, #input_2_11_4_label {display: none;}

.gform_wrapper select {
height: 52px;
}

/*** MAP STYLING ***/
.gm-style-iw h3 {
    display: none;
}

/* Map */

@media only screen and (max-width: 767px) {
div.gm-style-iw {
	left:5px !important;}
}

@media only screen and (min-width: 768px) {
div.gm-style-iw {
	left:0px !important;}
}

div.gm-style-iw {
	display:flex;
	justify-content:center;
}

div.infowindow {
    text-align: center;
    margin-bottom:0px;
    font-size: 18px;
    width: 100%;
	left:10px;
	overflow: visible !important;
}

div.gm-style-iw {
	margin-left:12px;
}

.gm-style-iw h3 {
    margin-top: 10px;
    text-align: center;
    font-size: 105%;
}

div.infowindow h3 {
    text-align: center;
    font-size: 18px;
    width: 100%;
    overflow: visible !important;
}

div.infowindow p {
    padding: 2% 0;
	font-size:80%;
    overflow: visible !important;
}

.gm-style .gm-style-iw {
    font-weight: 400;
    font-size: 13px;
    overflow: visible !important;
    padding: 5% 2% 1%;
}

p.map-button a {
    color: #FFF;
    display: inline-block;
    position: relative;
    border-radius: 0px;
    border-width: 0px;
    border-style: solid;
    border-color: #004953; /* Map Button Border Color */
    padding: 0.8em 1.3em;
    font-size: 1.0em;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: 700;
    background: #002B46;   /* Map Button Color */
}

p.map-button a:hover {
    background: #000000;  /* Map Button Hover Color */
    color: #fff;
    border-color: #000000; /* Map Button Border Hover Color */
}

@media (max-width: 980px) {
.et_pb_fullwidth_section .et_pb_map {
    height: 310px !important; }

div.infowindow {
    text-align: center;
    margin-bottom:15px;
    font-size: 14px;
    width: auto;
    overflow: visible !important; }

div.infowindow h3 {
    text-align: center;
    font-size: 14px;
    width: 100%;
    overflow: visible !important; }

div.infowindow p {
    padding: 0px 0px;
    width: auto;
    overflow: visible !important; }

p.map-button a {
    padding: 0.8em 1.375em 0.6em; }
}

@media (max-width: 980px) {
.gmnoprint {display: none !important;}

.dp-footer-map .et_pb_bottom_inside_divider {
    height:95px !important;
    background-size: 100% 100% !important;}
}

/*--Menu CTA Button--*/

#top-menu li a:hover {opacity: 1!important;}

.qt-btn a {
	 background-color:#39b54a;
     font-weight: 700;
     text-transform: uppercase;
     text-align: center;
     padding: 12px 13px 12px 13px!important;
     -moz-transition: all 0.5s;
     -webkit-transition: all 0.5s;
     transition: all 0.5s;
	   color: #ffffff !important;
}

.qt-btn a:hover {
    background-color: #002b46;
    color: white!important;
}