/*
Theme Name: St George's School Windsor
Theme URI: http://www.elegantthemes.com/gallery/divi/
Version: 0.8733
Description: Divi Child Theme
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Template: Divi
*/
/*---Fonts---*/
@font-face {
	font-family: 'FrizQuadrataRegular';
	src: url('./fonts/FrizQuadrataRegular.eot');
	src: local('FrizQuadrataRegular'), url('./fonts/FrizQuadrataRegular.woff') format('woff'), url('./fonts/FrizQuadrataRegular.ttf') format('truetype');
}

/* Font downloaded from FontsForWeb.com */
/*---Global Elements---*/
	/* -- START OF COLUMN WIDTHS AND SETTINGS --*/
@media screen and (min-width:981px) {
	
	.et_pb_row.four_col_1600 {
	    width: 90%;
	    max-width: 1600px;
	    margin-left: auto;
	    margin-right: auto;
	}
	
	.et_pb_row.four_col_1400 {
	    width: 90%;
	    max-width: 1400px;
	    margin-left: auto;
	    margin-right: auto;
	}
	
	.et_pb_row.three_col_1400 {
	    width: 90%;
	    max-width: 1400px;
	    margin-left: auto;
	    margin-right: auto;
	}
	
	.et_pb_row.three_col_1200 {
	    width: 90%;
	    max-width: 1200px;
	    margin-left: auto;
	    margin-right: auto;
	}
	
	.et_pb_row.two_col_1400 {
	  	width: 90%;
	  	max-width: 1400px;
	  	margin-left: auto;
	  	margin-right: auto;
	}
	
	.et_pb_row.two_col_1200 {
	  	width: 90%;
	  	max-width: 1200px;
	  	margin-left: auto;
	    margin-right: auto;
	}
	
	.et_pb_row.two_col_960 {
			width: 90%;
			max-width: 960px;
			margin-left: auto;
			margin-right: auto;
	}
	
	.et_pb_row.one_col_1400 {
			width: 90%;
			max-width: 1400px;
			margin-left: auto;
			margin-right: auto;
	}
	
	.et_pb_row.one_col_1200 {
			width: 90%;
			max-width: 1200px;
			margin-left: auto;
			margin-right: auto;
	}
	
	.et_pb_row.one_col_960 {
			width: 90%;
			max-width: 960px;
			margin-left: auto;
			margin-right: auto;
	}
}

	/* -- END OF COLUMN WIDTHS AND SETTINGS --*/


	/* -- START OF HEADER ATTRIBUTES & SETTINGS --*/

.et_pb_row_1_tb_header.et_pb_row {
	padding-top:30px!important;
	padding-bottom:30px;
}	
	.et_pb_menu__menu>nav>ul>li>ul {
    margin-top:38px!important;
}



/*@media only screen and ( max-width: 1060px ) {
#main-menu-bar .et_pb_column {
    width: 50%;
}
	.et_pb_row_1_tb_header.et_pb_row {
	padding-top:20px!important;
	padding-bottom:2px!important;
}

	.et-menu-nav {
	display: none!important;
	}
	
.et_pb_menu_0_tb_header .mobile_nav .mobile_menu_bar:before {
    color: #0ba0ac!important;
}
	a:hover.mobile_nav.closed {
    text-decoration: none!important;
}
	a:hover.mobile_nav.opened {
    text-decoration: none!important;
}
	
	.et_mobile_menu {
    border-color: #0ba0ac!important;
	margin-top:37px;
}
}*/

.et-menu li>a {
	font-weight:600;
	color:#25415D;
}

@media screen and (min-width:981px) {
	.et-menu li>a {
	    font-size: 16px;
	}
}

.et-menu li>a:hover {
    text-decoration:none!important;
}

.et_pb_bg_layout_dark p {
    color: #fff;
}

p.secondary-info {
	font-weight:600;
	font-size:15px;
	line-height:1.4em;
}

a.secondary-info-links {
	color:#ffffff;
	font-weight:600;
	text-decoration:none;
}

a:hover.secondary-info-links {
	color:rgba(255,255,255,0.75);
	font-weight:600;
	text-decoration:none;
}

	/* -- END OF HEADER ATTRIBUTES & SETTINGS --*/




	/* -- START OF FONT ATTRIBUTES AND SETTINGS --*/



a.signature:active {
	color:#ffffff;
	font-weight:500;
	text-decoration:none;
}

a.signature:hover {
	color:rgba(256,256,256,0.6);
	font-weight:600;
	text-decoration:underline;
}

a.signature:visited {
	color:#ffffff;
	font-weight:500;
	text-decoration:none;
}


p.large {
	font-size:22px;
	line-height: 1.7em;
}

p.large-banner {
	font-weight:600;
	font-size:24px;
	line-height:1.4em;
	color:#ffffff;
}

p.small {
	font-weight:600;
	font-size:14px;
	line-height: 1.5em;
}

p.footer {
	font-weight:400;
	font-size:14px;
	line-height:1.5em;
	color:rgba(256,256,256,0.6);
}

p.signature {
	color:rgba(256,256,256,0.6);
	font-weight:500;
	font-size:12px;
	line-height:1.8em;
}

a {
	font-weight:600;
}

a:active {
	font-weight:600;
}

a:hover {
	font-weight:600;
}

a:visited {
	font-weight:600;
}

a.signature {
color:rgba(256,256,256,0.6)!important;
	font-weight:500;
}

a.signature:active {
color:rgba(256,256,256,0.6)!important;
	font-weight:500;
}

a.signature:hover {
	color:#ffffff!important;
	font-weight:500;
}

a.signature:visited {
color:rgba(256,256,256,0.6)!important;
	font-weight:500;
}


h1,.et_pb_column_1_3 h1, .et_pb_column_2_5 h1, .et_pb_column_1_4 h1, .et_pb_column_1_5 h1, .et_pb_column_1_6 h1 {
	font-weight: 200;
	font-size:70px;
	line-height: 1.1em;
	margin-left:-2px;
	padding-top:0px;
	padding-bottom:10px;
}

h2,.et_pb_column_1_3 h2, .et_pb_column_2_5 h2, .et_pb_column_1_4 h2, .et_pb_column_1_5 h2, .et_pb_column_1_6 h2 {
	font-weight:200;
	font-size:42px;
	line-height: 1.2em;
	padding-top:0px;
	padding-bottom:10px;
}

h3,.et_pb_column_1_3 h3, .et_pb_column_2_5 h3, .et_pb_column_1_4 h3, .et_pb_column_1_5 h3, .et_pb_column_1_6 h3 {
	font-weight:400;
	font-size:30px;
	line-height: 1.2em;
	margin-left:-2px;
	padding-top:0px;
	padding-bottom:5px;
}

h4,.et_pb_column_1_3 h4, .et_pb_column_2_5 h4, .et_pb_column_1_4 h4, .et_pb_column_1_5 h4, .et_pb_column_1_6 h4 {
	font-weight:400;
	font-size:26px;
	line-height: 1.3em;
	margin-left:-1px;
	padding-top:0px;
	padding-bottom:5px;
}

h5,.et_pb_column_1_3 h5, .et_pb_column_2_5 h5, .et_pb_column_1_4 h5, .et_pb_column_1_5 h5, .et_pb_column_1_6 h5 {
	font-weight:400;
	font-size:22px;
	line-height: 1.1em;
	margin-left:-1px;
	padding-top:0px;
	padding-bottom:5px;
}

h6,.et_pb_column_1_3 h6, .et_pb_column_2_5 h6, .et_pb_column_1_4 h6, .et_pb_column_1_5 h6, .et_pb_column_1_6 h6 {
	font-weight:400;
	font-size:20px;
	line-height: 1.1em;
	letter-spacing: 0px;
	margin-left:-1px;
	padding-top:0px;
	padding-bottom:5px;
}


	/* font sizes for tablet */
@media screen and (max-width: 980px) {
	body p, body li {
		font-size:17px;
	}
		
	p.large {
		font-size:19px!important;
	}
	
	p.large-banner {
		font-size:21px!important
	}
		
	p.footer {
		font-size:14px!important;
	}
	
	p.signature {
		font-size:12px!important;
	}
	
	h1,.et_pb_column_1_3 h1, .et_pb_column_2_5 h1, .et_pb_column_1_4 h1, .et_pb_column_1_5 h1, .et_pb_column_1_6 h1 {
		font-size:56px;
	}
	
	h2,.et_pb_column_1_3 h2, .et_pb_column_2_5 h2, .et_pb_column_1_4 h2, .et_pb_column_1_5 h2, .et_pb_column_1_6 h2 {
		font-size:38px;
	}
	
	h3:not(.tribe-common-h8),.et_pb_column_1_3 h3, .et_pb_column_2_5 h3, .et_pb_column_1_4 h3, .et_pb_column_1_5 h3, .et_pb_column_1_6 h3 {
		font-size:29px
	}
	
	h4,.et_pb_column_1_3 h4, .et_pb_column_2_5 h4, .et_pb_column_1_4 h4, .et_pb_column_1_5 h4, .et_pb_column_1_6 h4 {
		font-size:27px;
	}
	
	h5,.et_pb_column_1_3 h5, .et_pb_column_2_5 h5, .et_pb_column_1_4 h5, .et_pb_column_1_5 h5, .et_pb_column_1_6 h5 {
		font-size:21px;
	}
	
	h6,.et_pb_column_1_3 h6, .et_pb_column_2_5 h6, .et_pb_column_1_4 h6, .et_pb_column_1_5 h6, .et_pb_column_1_6 h6 {
		font-size:19px
	}
}

	/* font sizes for mobile */
@media screen and (max-width: 550px) {
	
	body p, body li {
		font-size:16px;
	}
		
	p.large {
		font-size:19px!important;
	}
	
	p.large-banner {
		font-size:21px!important
	}
		
	p.footer {
		font-size:12px!important;
	}
	
	p.signature {
		font-size:11px!important
	}
		
	h1,.et_pb_column_1_3 h1, .et_pb_column_2_5 h1, .et_pb_column_1_4 h1, .et_pb_column_1_5 h1, .et_pb_column_1_6 h1 {
		font-size:40px!important
	}
	
	h2,.et_pb_column_1_3 h2, .et_pb_column_2_5 h2, .et_pb_column_1_4 h2, .et_pb_column_1_5 h2, .et_pb_column_1_6 h2 {
		font-size:34px;
	}
	
	h3:not(.tribe-common-h8),.et_pb_column_1_3 h3, .et_pb_column_2_5 h3, .et_pb_column_1_4 h3, .et_pb_column_1_5 h3, .et_pb_column_1_6 h3 {
		font-size:26px;
	}
	
	h4,.et_pb_column_1_3 h4, .et_pb_column_2_5 h4, .et_pb_column_1_4 h4, .et_pb_column_1_5 h4, .et_pb_column_1_6 h4 {
		font-size:22px;
	}
	
	h5,.et_pb_column_1_3 h5, .et_pb_column_2_5 h5, .et_pb_column_1_4 h5, .et_pb_column_1_5 h5, .et_pb_column_1_6 h5 {
		font-size:20px;
	}
	
	h6,.et_pb_column_1_3 h6, .et_pb_column_2_5 h6, .et_pb_column_1_4 h6, .et_pb_column_1_5 h6, .et_pb_column_1_6 h6 {
		font-size:18px;
	}
}	

	/* -- END OF FONT ATTRIBUTES AND SETTINGS --*/

	

	/* -- START OF DEFAULT BUTTON ATTRIBUTES --*/

.et_pb_button {
	text-align:center!important;
	font-weight:600;
	text-decoration:none!important;
	color:#ffffff;
	margin-top:10px!important;
	padding-left:70px;
	padding-right:70px;
}

.et_pb_button:active {
	font-weight:600;
	color:#ffffff;
}

.et_pb_button:hover {
	font-weight:600;
	color:#ffffff;
}

.et_pb_button:visited {
	font-weight:600;
	color:#ffffff;
}

body.et_pb_button_helper_class .et_pb_button {
	text-align:center!important;
	font-weight:600;
	text-decoration:none!important;
	color:#ffffff;
	margin-top:20px;
	padding-left:70px;
	padding-right:70px;
}

body.et_pb_button_helper_class .et_pb_button:hover {
	text-align:center!important;
	font-weight:600;
	text-decoration:none!important;
	color:#ffffff;
	margin-top:20px;
	padding-left:70px;
	padding-right:70px;
}

.et_pb_button.blue {
	background-color: #196d9e;
	border-color:#196d9e;
	color:#ffffff!important;
}

.et_pb_button.blue:active {
	color:#ffffff!important;
}

.et_pb_button.blue:hover {
		background-color:#25415d!important;
	border-color:#25415d!important;
	color:#ffffff!important;
}

.et_pb_button.blue:visited {
	color:#ffffff!important;
}

	/* -- END OF DEFAULT BUTTON ATTRIBUTES --*/



/*-- START OF PADDING IN EACH SECTION --*/

/*-- for all content sections --*/
		.et_pb_section {
    padding-top: 100px!important;
    padding-bottom: 100px!important;
}

#main-content .et_pb_section .et_pb_row:first-child {
    padding-top: 0 !important;
}

#main-content .et_pb_section_parallax>.et_pb_row {
    padding-top: 0 !important;
}

#main-content .et_pb_section .et_pb_row:last-child {
    padding-bottom: 0 !important;
}

/*-- to override the above for footer section --*/
		.et_pb_section.footer-section {
    padding-top: 0px!important;
    padding-bottom: 0px!important;
}

/*-- to override the above for home page banner section --*/
		.et_pb_section.home-banner-section {
    padding-top: 13em!important;
    padding-bottom: 13em!important;
}

/*-- to override the above for inner page banner section --*/
		.et_pb_section.inner-banner-section {
    padding-top: 10em!important;
    padding-bottom: 10em!important;
}

/*-- to override the above for sections with no spacing --*/
		.et_pb_section.no-padding-section, .et_pb_row.no-padding-row {
    padding-top: 0px!important;
    padding-bottom: 0px!important;
}

/*---specific sections---*/
#main-content .news-section .et_pb_row:first-child {
    padding-bottom: 20px !important;
}



.et_pb_section.news-section{
	margin-top:0px!important;
	margin-bottom:0px!important;
	padding-top:80px!important;
	padding-bottom:80px!important;
}


.et_pb_section.home-news-and-blog-section{
	margin-top:0px!important;
	padding-top:0px!important;
}

	/* -- adjustments for tablet --*/
@media screen and (max-width: 980px) {
	
	/*-- for all content --*/
		.et_pb_section {
    padding-top: 80px!important;
    padding-bottom: 80px!important;
}
	
	/*-- for footer --*/
		.et_pb_section.footer-section {
    padding-top: 0px!important;
    padding-bottom: 0px!important;
}
	
	/*-- for home page banner --*/
		.et_pb_section.home-banner-section {
    padding-top: 9em!important;
    padding-bottom: 9em!important;
}
	
		/*-- for inner page banners --*/
		.et_pb_section.inner-banner-section {
    padding-top: 7em!important;
    padding-bottom: 7em!important;
}
}

	/* -- adjustments for mobile --*/
@media screen and (max-width: 550px) {
	
	/*-- for all content --*/
		.et_pb_section {
    padding-top: 60px!important;
    padding-bottom: 60px!important;
}

	/*-- for footer --*/
		.et_pb_section.footer-section {
    padding-top: 0px!important;
    padding-bottom: 0px!important;
}

	/*-- for home page banner --*/
		.et_pb_section.home-banner-section {
    padding-top: 5em!important;
    padding-bottom: 5em!important;
}
	
		/*-- for inner page banners --*/
		.et_pb_section.inner-banner-section {
    padding-top: 4em!important;
    padding-bottom: 4em!important;
}
}

/*-- END OF PADDING IN EACH SECTION --*/



/*-- FONT COLOUR IN SECONDARY MENU --*/

#top-header {
    color: #ffffff;
}


/*-- PACKAGE 3 SIDE BAR MENU ATTRIBUTES --*/

.et_pb_widget_area .widgettitle {
	padding-top:30px!important;
	padding-bottom:20px!important;
}
.side-bar-menu{
	border-top:5px solid #00a99d!important;
}


/*-- SWAP LOGO IN FIXED HEADER

.et-fixed-header #logo {
    content: url(https://sbstaging1.wpengine.com/wp-content/uploads/2020/09/logo-white.png);
}
 --*/


/*-- MOBILE CONTACT ICON COLOUR --*/

div#et-info.mobile-only a {
    color: #0BA0AC;
}


/*-- SETTING THE BREAKPOINT OF THE MOBILE MENU --*/

@media only screen and ( max-width: 1195px ) {
#top-menu-nav, #top-menu {display: none;}
#et_top_search {display: none;}
#et_mobile_nav_menu {display: block;
	text-align:left!important}
.et_fixed_nav #top-header, .et_fixed_nav #main-header {
    /*position: absolute;*/
}
}



/*-- START OF MOBILE MENU STYLING --*/

/*mobile menu line colour*/
.et_mobile_menu {
    border-top: 4px solid #bb9d71;
    background-color: transparent !important;
    box-shadow: none !important;
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
}

.et_mobile_menu li a {
    color: #fff !important;
}

/*padding all round*/
.et_mobile_menu  {
padding:0px
}

/* 1st level menu item spacing */
.et_mobile_menu li a {
    padding-top: 10px;
    padding-right: 0px;
    padding-bottom: 10px;
    padding-left: 5%;
}

/* 2nd level menu item spacing */
.et_mobile_menu li li {
    padding-left: 0px;
}

/*border line and padding of each menu item*/
.et_mobile_menu li a {
    border-top: 1px solid rgba(255,255,255,.3);
	padding-left:30px;
}

/*hover background colour*/
.et_mobile_menu li a:hover {
    background-color: rgba(46,79,117,0.4);
}

/*font size*/
.et_mobile_menu li a, .nav li li a {
    font-size: 17px;
}

/*Hamburger icon colour*/
.mobile_menu_bar:before{
  color:#0ba0ac;
	justify-content: center;
}

/*-- END OF MOBILE MENU STYLING --*/



/*-- SPACING ABOVE PRIMARY MENU TO COUNTERACT THE STANDARD li SPACING --*/

#top-menu-nav {
    padding-top:5px;
}



/*-- Tablepress styling --*/

.dataTables_wrapper {
    margin-top: 0.8em;
	margin-bottom: 1.2em!important;
}

.tablepress thead th,
.tablepress tbody td {
 	padding-top: 10px !important;
	padding-bottom: 10px !important;
	padding-left: 15px !important;
	padding-right: 15px !important;
}

.entry-content table:not(.variations), body.et-pb-preview #main-content .container table {
    border: 1px solid #d5dce0!important;
}

/*--
.tablepress-id-1 .column-1{
	width: 20%!important;
}

.tablepress-id-1 .column-2{ 
	width: 20%!important;
}

.tablepress-id-1 .column-3{
	width: 60%!important;
}
--*/

.tablepress thead th {
    background-color: #d5dce0!important;
	border: 1px solid #adc0c9!important;
}

.tablepress .odd td {
    background-color: rgba(213,220,224,0.4)!important;
	border: 1px solid #adc0c9!important;
}

.tablepress .even td {
	border: 1px solid #adc0c9!important;
}

.tablepress td {
    font-weight:400!important;
	line-height:1.5em;
}

.entry-content thead th, .entry-content tr th {
    color: #07153b;
	line-height:1.4em;
}


	/* Table font sizes for tablet */
@media screen and (max-width: 980px) {
.tablepress td {
    font-size:17px;
}
	.entry-content thead th, .entry-content tr th {
	font-size:17px;
}
}
	/* Table font sizes for mobile */
@media screen and (max-width: 550px) {
.tablepress td {
    font-size:15px;
	letter-spacing:-0.2px;
	line-height:1.4em;
}
	
	.entry-content thead th, .entry-content tr th {
	font-size:16px;
}
}



/*-- !!!! EVERYTHING BELOW HERE NOT TO BE ADJUSTED UNLESS ABSOLUTELY NECESSARY !!!!  --*/


	/* -- switch alignment of elements that are right aligned to left aligned on tablet and mobile --*/

@media screen and (max-width: 980px) {
.et_pb_text_align_right.footer-links {
    text-align: left;
}
	.et_pb_button_module_wrapper.et_pb_button_alignment_right {
    text-align: left;
}
}


.et_pb_gutters3 .et_pb_column_1_3 .et_pb_module, .et_pb_gutters3.et_pb_row .et_pb_column_1_3 .et_pb_module {
    margin-bottom: 20px!important;
}

/*.et_pb_column {
    padding-bottom: 0px!important;
}*/



	/* -- Vertically align content in rows --*/

.ds-vertical-align { 
  display: flex; 
  flex-direction: column; 
  justify-content: center;
}


/*-- Reduce spacing under text modules in columns e.g. before Service Title read more buttons on homepage --*/
.et_pb_gutters3 .et_pb_column_1_3 .et_pb_module, .et_pb_gutters3.et_pb_row .et_pb_column_1_3 .et_pb_module {
    margin-bottom: 9%;
}



/*-- HIDE BACKGROUND IMAGE --*/

@media only screen and (max-width: 980px) {
div.et_pb_section.pa-hide-background-image-mobile {
background-image: none!important;
}
}

/*-- Remove default line/shadow below the normal DIVI menu  --*/

#main-header {
    box-shadow: none!important;
}


/*-- Fixing the width of the content in full width header(s) --*/

.et_fullwidth_nav #main-header .container {
    width: 90%;
    max-width: 1400px;
	padding-left:0px;
	padding-right:0px;
}

.et_fullwidth_nav #top-header .container {
    width: 90%;
    max-width: 1400px;
	padding-left:0px;
	padding-right:0px;
}


/* -- adjust padding left of social media icons in footer -- */
.et-l--footer ul {
    padding: 0 0 0em 0px!important;
}


/* -- remove excessive margin below blog posts -- */
/*.et_pb_post {
    margin-bottom: 0px!important;
}*/

/* -- remove excessive margin below project posts -- */
.single .et_pb_post {
    margin-bottom: 0px!important;
}

/* -- Remove bottom bar and footer menu -- */

#footer-bottom {
	display:none;
}
#main-footer {
	display: none;
}
 

/*-- Start of remove margin from beneath news panels on home and news pages --*/

/*-- HOME PAGE --*/
.et_pb_gutters3.et_pb_row .et_pb_column .et_pb_blog_grid .column.size-1of1 .et_pb_post {
    margin-bottom: 0px!important;
}

/*-- NEWS/BLOG PAGE --*/
.et_pb_gutters3.et_pb_row .et_pb_column .et_pb_blog_grid .column.size-1of3 .et_pb_post {
    margin-bottom: 0px!important;
}

/*-- End of remove margin from beneath news panels on home and news pages --*/


/*-- alignment of footer menu's --*/

.et_pb_menu .et_pb_menu__wrap {
    justify-content: right;
}

.et_pb_menu--style-centered .et_pb_menu__wrap {
	justify-content: center;
}

@media (max-width: 767px) {
.et_pb_portfolio_item h2, .et_pb_post h2, .et_pb_title_container h1 {
    font-size: 32px;
}
}


/* -- Spacing adjustment for captcha text
.et_pb_contact_right {
margin-top:16px;
}
 -- */

	/* table settings */
.table .et_pb_text_inner {
    overflow-x: scroll;
    font-size: 16px;
    line-height: 1.3;
}

a:hover {
    text-decoration: underline;
}

a.et_pb_button:hover, h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
    text-decoration: none;
}

#footer-widgets .footer-widget li a:hover {
    text-decoration: underline;
}

.et_pb_text ul, .et_pb_text ol {
    padding-top: 1em;
}

ul.sub-menu li a {
    line-height: 1.5em;
}

sup {
	font-size: 75%
}

#left-area ul, .entry-content ul, .et-l--header ul, .et-l--body ul, .et-l--footer ul, .comment-content ul, body.et-pb-preview #main-content .container ul {
    padding: 0 0 1.7em 23px;
}

#left-area ul ul, .comment-content ul ul, .entry-content ul ul, .et-l--body ul ul, .et-l--footer ul ul, .et-l--header ul ul, body.et-pb-preview #main-content .container ul ul {
    padding-top: 5px;
    padding-bottom: 0;
}

ul.et-social-icons a:hover {
    text-decoration: none;
}

@media screen and (min-width:981px) {
    #top-header .container, .container.et_menu_container {
        width: 90%;
        max-width: 1600px;
    }    
}


/*--Gravity Forms--*/

.gform_wrapper input[type=text],
.gform_wrapper textarea,
.gform_wrapper input[type=email],
.gform_wrapper input[type=tel] {
	background: #d5dce0;
	border: none;
	border-radius: 0;
	color: #212121 !important;
	padding: 15px !important;
}

.gform_wrapper .top_label input.medium.datepicker {
    width: 100% !important;
}

.gfield_time_ampm.ginput_container.ginput_container_time>select {
    height: 50px;
    background-color: #eeeeee;
    border: none;
    border-radius: 0 !important;
}

.gform_wrapper .gform_footer input.button {
	font-size: 17px !important; /*--change this--*/
    padding: 20px 40px 20px 40px!important; /*--change this--*/
    text-transform: uppercase !important; /*--change this--*/
}

.gform_wrapper .gform_footer input.button:hover {
	padding: 20px 40px 20px 40px!important; /*--change this--*/
	cursor: pointer;
}

.gform_wrapper .gform_footer {
    margin-top: 0;
}

.gform_fields {
    padding-left: 0 !important;
    padding-bottom: 0 !important;
}

li.gf-disable input:hover {
    cursor: not-allowed;
}

.gform_wrapper li.gf-disable input {
    background-color: #f9f9f9 !important;
    color: #757575 !important;
}

.gform_body select {
    -webkit-appearance: none;
    background: #d5dce0;
    border: none;
    border-radius: 0;
    color: #121212 !important;
    padding: 15px !important;
    line-height: normal !important;
    background-image: url('images/selectbox-arrow.png');
    background-repeat: no-repeat;
    background-position: right;
}

.gfield_radio {
    margin: 0 !important;
}

body .gform_wrapper ul li.field_description_below div.ginput_container_checkbox, body .gform_wrapper ul li.field_description_below div.ginput_container_radio {
    margin-top: 8px !important
}
/*----NEW MOBILE HEADER WORK----*/
/*Values may need to change, depending on size of logo; menu etc...*/
@media screen and (min-width:768px) {
    div#et-info.mobile-only {display:none}
}

@media screen and (max-width:767px) {
    div#et-info {display:none}
    div#et-info.mobile-only {
	    display:block;
	    float: left;
	    padding: 0;
	    line-height: 2em;
	    margin-right: 20px;
	    margin-top: 1px;
	}
	
	div#et-info a:hover {
	    text-decoration: none;
	}
    
	div#et-info.mobile-only :before {
	    font-size: 19px;
	    top: -3px;
	    position: relative;
	}
	
	div#et-info.mobile-only #et-info-phone:before {
	    top: -4px;
	    margin-right: 0;
	    font-size: 16px;
	}
}
@media screen and (max-width:330px) {
	div#et-info.mobile-only {
	    margin-right: 0;
	    float: right;
	    display: flex;
	    line-height: 2;
	}
}

/*---Header Jump Fix (transparent, no secondary bar)---*/
/*Values may need to change, depending on menu selections...*/
@media screen and (min-width:981px) {
	header#main-header {
	    top: 0px !important;
	}
	
	body.logged-in header#main-header {
	    top: 32px !important;
	}
	
	div#page-container {
	    padding-top: 0px !important;
	}
}

@media screen and (max-width:1195px) {
	div#page-container {
	    padding-top: 0 !important;
	}
}

@media screen and (max-width:980px) {
	div#page-container {
	    padding-top: 0px !important;
	}
}

@media screen and (max-width:1195px) {
	header#main-header {
	    top: 0px !important;
	}
	
	body.logged-in header#main-header {
	    top: 32px !important;
	}
	
	div#page-container {
	    padding-top: 0px !important;
	}
}

@media screen and (max-width:782px) {
	body.logged-in header#main-header {
	    top: 46px !important;
	}
}

/*--Footer---*/
@media (max-width: 980px) {
    footer .et_pb_menu .et_pb_menu__menu, .et_pb_fullwidth_menu .et_pb_menu__menu {
        display: flex;
    }

    footer .et_pb_menu .et_mobile_nav_menu, .et_pb_fullwidth_menu .et_mobile_nav_menu {
        display: none;
    }    
}

div#footer-links {
    background-color: transparent;
}

div#footer-links .et-menu a {
    color: #e29a33
}

div#footer-links.et_pb_menu .et-menu > li {
    padding-left: 0;
    padding-right: 5px;
}

div#footer-links.et_pb_menu .et-menu {
    margin: auto;
}

div#footer-links.et_pb_menu .et-menu > li:after {
    content: '|';
    color: rgba(256,256,256,0.6);
    padding-left: 5px;
}

div#footer-links.et_pb_menu .et-menu > li:last-child:after {
    content: none;
}

footer .et-menu .menu-item-has-children > a:first-child:after {
    content: none;
}

footer .et-menu .menu-item-has-children > a:first-child {
    padding-right: 0;
}

footer .et_pb_menu .nav li ul {
    display: none;
}
@media screen and (min-width:981px) {
    div#footer-links {
        float: right;
    }    
}

@media screen and (max-width:980px) {
    div#footer-links .et-menu li {
        font-size: 12px;
    }
}


/*---New top header---*/
@media screen and (max-width:767px) {
    div#et-info, #et-secondary-menu {
        display: block !important;
    }   
    div#et-info {
        float: left;
    }

    div#et-secondary-menu {
        float: left;
    }

    .et_secondary_nav_two_panels #et-secondary-menu {
        margin-top: 0;
        padding-top: 0.5em;
    }

    /*#et-secondary-menu .et-social-icons {
        margin-right: 0;
    }*/
}

@media screen and (max-width:550px) {
    span.desktop-txt {
        display: none;
    }

    div#et-info,div#et-secondary-menu {
        float: none;
        display: inline-block !important;
    }

    div#top-header .container {
        text-align: center;
    }

    div#et-info:after {
        content: '|';
        margin-left: 10px;
    }    
}


/*---module fixing---*/
.et_pb_blurb_content {
    max-width: 100%;
}

/*Gallery Images same size--*/
.et_pb_gallery_image {
    padding-top: 100%;
    display: block;
}

.et_pb_gallery_image img {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    object-fit: cover;
}

/*---Removal of divider---*/
#main-content .container:before {
    content: none;
}

/*---IE Fixes---*/
body.ie .et-pb-before-scroll-animation, body.ie body .et-script-temporary-measurement {
	opacity: 1;
}

body.ie .ds-vertical-align {
	flex-direction: row;
	display: block;
}

/*--Custom Stacking Order---*/
@media all and (max-width: 980px) {
/*** wrap row in a flex box ***/
.custom_row {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
-webkit-flex-wrap: wrap; /* Safari 6.1+ */
flex-wrap: wrap;
}
 
/*** custom classes that will designate the order of columns in the flex box row ***/
.first-on-mobile {
-webkit-order: 1;
order: 1;
}
 
.second-on-mobile {
-webkit-order: 2;
order: 2;
}
 
.third-on-mobile {
-webkit-order: 3;
order: 3;
}
 
.fourth-on-mobile {
-webkit-order: 4;
order: 4;
}
/*** add margin to last column ***/
.custom_row:last-child .et_pb_column:last-child {
margin-bottom: 30px;
}
 
}

/*---Mobile Menu---*/
@media screen and (max-width:1195px) {
	ul.et_mobile_menu .menu-item-has-children ul.sub-menu {
	    height: 0;
	    opacity: 0;
	    transition: 0.1s;
	}

    li.menu-item-has-children {
        position: relative;
    }
    
	.et_mobile_menu .menu-item-has-children>a {
	    background-color: rgba(0, 0, 0, 0.3);
	}
	
	ul.et_mobile_menu .menu-item-has-children ul.sub-menu {
	    height: 0;
	    opacity: 0;
	    pointer-events: none;
	}	
	
	ul.et_mobile_menu .menu-item-has-children ul.sub-menu.showmenu {
	    height: auto;
	    opacity: 1;
	    pointer-events: all;
	}
	
	.expand {
	    position: absolute;
	    right: 0;
	    top: 0px;
		display: block;
		padding: 10px 5%;
		color: #fff;
		/*background-color: rgba(0,0,0,0.3);*/
		height: 45px;
		width: 100%;
	}
	
	.expand:before {
	    font-family: etmodules;
	    content: "\4c";
	    font-weight: 100;
	    color: #bb9d71;
	    font-size: 24px;
	    position: absolute;
	    right: 30px;
	}
	
	.expand.alt {
		background-color: transparent;
	}
	
	.expand.alt:before {
	    font-family: etmodules;
	    content: "\4b";
	}
	
	.expand:hover {
	    cursor: pointer;
	}
	
	.expand.down:after {
	    content: '\2193';
	    color: #bb9d71 !important;
	}
	
	.expand.down {
	    color: transparent;
	}
}