/*
 Theme Name:   SchoolCensus.com Child Theme
 Author:       MSonder
 Template:     twentynineteen
*/

* {
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}

html, body {  
	margin: 0px;
	
	border: 0px;
	padding: 0px;
	margin-top: 0px !important;
	
	text-align: left;

	-webkit-font-smoothing: antialiased; /* Fix for webkit rendering */
    -webkit-text-size-adjust: none;
	text-rendering: optimizelegibility;

	color: #000;
	font-family: 'Montserrat', sans-serif;
	font-size: 16px;
	line-height: 26px;

	background: #fff;
	
	overflow-x: scroll !important;
}

body:not(.custom-background-image).admin-bar::before {top: 0px;}
body:not(.custom-background-image)::before, body:not(.custom-background-image)::after {height: 0px;}

a {outline:none;}

ul {padding-top: 0px; margin-top: 0px;}

:root {overflow-y: scroll !important;}
::-moz-selection {
    background: #393939;
	color: #6a6a6a;
    text-shadow: none;
}

::selection {
    background: #393939;
	color: #6a6a6a;
    text-shadow: none;
}

.right {float:right !important;}
.left {float:left !important;}
.clear {clear:both;}
img.right {float:right !important; margin:0 0 20px 20px !important;}
img.left {float:left !important; margin:0 20px 20px 0 !important;}
img {border: none;}

img.alignright {float:right; margin:0 0 1em 1em;}
img.alignleft {float:left; margin:0 1em 1em 0;}
img.aligncenter {display: block; margin-left: auto; margin-right: auto;}
.alignright {float:right; }
.alignleft {float:left; }
.aligncenter {display: block; margin-left: auto; margin-right: auto;}

.responsive {width: 90%;}

/*	--------------------------------------------------
	:: Structure
	-------------------------------------------------- */

		#header-wrapper {
			width: 100%;
			height: auto;
			background: #ffffff;
		}
		#header {
			width: 90%; 
			height: auto;
			margin: 0 auto;
			padding: 15px 0 10px 0;
		}

		#logo img {width: auto;}	
		

.welcome-slogan {
	font-family: 'Satisfy', cursive;
	color:#750e0e;
	font-size: 44px;
	line-height: 50px;
}

		.content-wrapper {
			width: 100%;
			height: auto;
			margin: 0px auto;
            overflow-x: scroll!important;
		}
		.content-wrapper a {color: #3c65a5; text-decoration: underline; line-height: 20px;}
		.content-wrapper a:hover {color: #204277; text-decoration: none;}
				
		
		.wp-block-cover.alignfull {
			max-width: 100vw;
			width: auto;
			padding: 80px 0 60px 0;
            overflow-x: scroll!important;
		}
		.alignfull .wp-block-cover__inner-container {max-width: 1200px;}

        .wp-block-columns.is-layout-flex {gap: 2em !important;}

		.wp-block-cover.has-parallax,
        .wp-block-cover__image-background.has-parallax {background-attachment: fixed !important;}

        .cta {
            background: #ffffff;
            -webkit-box-shadow: 0 0 20px 0 rgba(0,0,0,.2);
            box-shadow: 0 0 20px 0 rgba(0,0,0,.2);
            padding: 20px;
        }

.home .cta .wp-block-gallery.has-nested-images figure.wp-block-image {flex-grow: 0 !important;}


.wp-block-gallery.has-nested-images figure.wp-block-image figcaption {
	background: #fff;
	color: #000;
	position: static;
	line-height: 20px;
}

.padding-left {padding-left: 100px;}



/*	--------------------------------------------------
	:: Footer
	-------------------------------------------------- */


		#footer-wrapper {
			height: auto; 
			width: 100%;
			background: #e7eaec;
		}		
		#footer {
			height: auto; 
			width: 90%;
			margin: 0 auto;
			padding: 60px 0;
			background: #e7eaec;
			font-family: 'Montserrat', sans-serif;  
			font-size: 24px; 
			line-height: 30px; 
			color: #114063;
		}

		#footer a {color: #0b304c; text-decoration: underline;}
		#footer a:hover {color: #0b304c; text-decoration: none;}
	
	
		#copyright-wrapper {
			height: auto; 
			width: 100%;
			background: #0b304c;
		}	
		#copyright {
			height: auto; 
			width: 90%;
			margin: 0 auto;
			padding: 30px 0;
			background: #0b304c;
			font-family: 'Montserrat', sans-serif;  
			font-size: 14px; 
			line-height: 18px; 
			color: #ffffff;
		}
		#copyright a {color: #ffffff; text-decoration: none;}
		#copyright a:hover {color: #cfcfcf; text-decoration: underline;}
				
        #copyright .g50:nth-child(2) {text-align: right !important; font-size: 11px;}






/*	--------------------------------------------------
	:: Elements
	-------------------------------------------------- */
	
h1:not(.site-title)::before, h2::before{
	background: none !important;
	content: none !important;
	height: 0px !important;
	margin: 0 !important;
	width: 0 !important;
}
	
h1, .wp-block-cover h1:not(.has-text-color) {
	color: #000;
	font-family: 'Montserrat', sans-serif;
	font-size: 40px;
	line-height: 52px;
	margin: 0px;
	padding: 0px;
	margin-bottom: 25px;
}

h2, .wp-block-cover h2:not(.has-text-color) {
	color: #000;
	font-family: 'Montserrat', sans-serif;
	font-size: 36px;
	line-height: 42px;
	font-weight: 500;
	margin: 0px;
	padding: 0px;
	margin-bottom: 25px;
}

h3, .wp-block-cover h3:not(.has-text-color) {
	color: #750e0e;
	font-family: 'Montserrat', sans-serif;
	font-size: 24px;
	font-weight: 500;
	margin: 0px;
	padding: 0px;
	line-height: 30px;
	margin-bottom: 25px;
}


p {
	margin: 0px;
	padding: 0px 0px 15px 0px;
}

hr,
hr.is-style-wide {
	border: 0; 
	height: 4px; 
	background: #dadada;
	text-align: center;
	line-height: 4px;
	font-size: 26px;
	border-bottom: 0px;
	margin: 30px 0 45px 0;
}

hr.wp-block-separator:not(.is-style-wide) { 
	border: 0; 
	height: 4px; 
	background: #dadada;
	text-align: left;
	line-height: 4px;
	font-size: 26px;
	border-bottom: 0px;
	margin: 30px 0 45px 0;
}


	a.wp-block-button__link {
		display: inline-block;
		background: #28598f;
		font-family: 'Montserrat', sans-serif;
		color: #fff !important;
		font-size: 18px;
		font-weight: bold;
		margin: 10px 0;
		padding: 20px 30px;
		border-radius: 6px;
		text-decoration: none !important;
			-webkit-transition: all 0.25s ease-in-out;
			-moz-transition: all 0.25s ease-in-out;
			-o-transition: all 0.25s ease-in-out;
			transition: all 0.25s ease-in-out;
	}
	a.wp-block-button__link:hover {background: #102d4d; color: #e2edf9 !important;}
    a.wp-block-button__link:after {
        content: '\f178';
        font-family: "Font Awesome 6 Pro";
        font-style: normal;
        font-weight: 600;
        padding-left: 10px;
        color: #89bbf0;
        transition: all 0.25s ease-in-out;
    }
    a.wp-block-button__link:hover:after {color: #bbd9f9;}







/*	--------------------------------------------------
	:: Grid 
	-------------------------------------------------- */

div.content > div img {width: 100%;}
 /* Override */.no-full {width: auto !important;}
 

.g10, .g20, .g30, .g40, .g50, .g60, .g70, .g80, .g90, .g100, .g33, .g25, .g75 {
	height:auto;
	float:left;
}
.g10 {width:10%;}
.g20 {width:20%;}
.g30 {width:30%;}
.g40 {width:40%;}
.g50 {width:50%;}
.g60 {width:60%;}
.g70 {width:70%;}
.g80 {width:80%;}
.g90 {width:90%;}
.g100 {width:100%;}

.g33 {width:33.33333333%;}
.g25 {width:25%;}
.g75 {width:75%;}

.padding {padding: 10px 15px;}





/*	--------------------------------------------------
	:: Form Styles
	--------------------------------------------------

input, textarea, select {
    border: 0px !important;
	background: #f5f5f5 !important;
	border-bottom: 2px solid #f5f5f5;
    font-family: inherit;
    padding: 10px !important;
	width: 100%;
}
select {padding: 14px !important;}
input[type="checkbox"], input[type="radio"] {
	width: auto;
}
input:focus, textarea:focus, select:focus {
    border: 0px;
	background: #eaeaea !important;
	border-bottom: 2px solid #eaeaea;
    font-family: inherit;
    padding: 10px !important;
}
select:focus {padding: 14px !important;}

    .gform_wrapper.gravity-theme .ginput_container_address span {
		flex: 0 0 100%;
	}
	.ginput_complex.ginput_container_address .address_city {
		width: 32% !important;
        margin: 0px 1% 0px 1% !important;
		padding: 0 !important;
		display: block;
		float: left;
		flex: unset !important;
	}
	.ginput_complex.ginput_container_address .address_state {
		width: 32% !important;
        margin: 0px 1% 0px 0px !important;
		padding: 0 !important;
		display: block;
		float: left;
		flex: unset !important;
	}
	.ginput_complex.ginput_container_address .address_zip {
		width: 33% !important;
        margin: 0px!important;
		padding: 0 !important;
		display: block;
		float: right;
		flex: unset !important;
	}

button, input[type="submit"], input[type="button"], input[type="reset"] {
    background: rgba(0, 0, 0, 0) linear-gradient(to bottom, #15223d 0%, #15223d 100%) repeat scroll 0 0 !important;
    border-bottom: 2px solid #15223d !important;
    color: #eceae0;
    display: inline-block;
    padding: 20px 30px !important;
    font-family: 'Lato', sans-serif;
    text-decoration: none;
	text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 2px;
    font-size: 18px;
    width:auto;
    border-radius: 8px;
}

button:hover, button:focus, input[type="submit"]:hover, input[type="submit"]:focus, input[type="button"]:hover, input[type="button"]:focus, input[type="reset"]:hover, input[type="reset"]:focus {
    background: rgba(0, 0, 0, 0) linear-gradient(to bottom, #203154 0%, #203154 100%) repeat scroll 0 0 !important;
    color: #fff !important;
}


/*	--------------------------------------------------
	:: CENSUS table form styles
	-------------------------------------------------- */


.census table, .census td  {border: none; word-break: normal; vertical-align: top}
.census table th {background-color: black; color: white; font-weight: bold;}
.census .cellborder {border: 1px solid black;}

.census .grid, .census .grid td {border: 1px solid #CCCCCC; border-collapse: collapse;}
.census .nogrid, .census .nogrid td {border: 0 !important;}
/* .census input[type="text"] {width: 95%;} */
.census input, select {margin: 3px; 
	font-family: "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
	font-size: 16px;
	padding: 0.18rem 0.30rem
}
.census input[type="submit"] {	padding: 0.76rem 1rem; }

.census .headersm { font-size: 24px; color: #EF3E42; line-height: 28px}

.form_error {background-color: red; color: white; padding: 10px; margin: 10px 0;}
	




/* --------------------------------------------------
	:: Media Queries
	-------------------------------------------------- */


@media screen and (min-width: 1200px) {
	.responsive {width: 1200px !important;}
}

@media screen and (max-width: 1200px) {
    .alignfull .wp-block-cover__inner-container {max-width: 90%;}
}

@media screen and (min-width: 801px) {.opensub {display: none;}} 

@media screen and (max-width: 800px) {
    
	#header {width: 95% !important;}
	
	#copyright {text-align: center;}
    #copyright .g50:nth-child(2) {float: none!important; text-align: center!important;}
	
	.wp-block-image.size-full {width: 20%;}
	.padding-left {padding-left: 0px;}
	
	.g25 {width: 50% !important;}
	.g30 {width: 100% !important;}
	.g33 {width: 100% !important;}
	.g50 {width: 100% !important;}
	.g70 {width: 100% !important;}
	
}

@media screen and (max-width: 600px) {
	.responsive {width: 90% !important;}	
	.wp-block-image.size-full {width: 40%;}
}

@media screen and (max-width: 480px) {
	
	.g10 {width: 100% !important;}
	.g20 {width: 100% !important;}
	.g25 {width: 100% !important;}
	.g40 {width: 100% !important;}
	.g60 {width: 100% !important;}
	.g80 {width: 100% !important;}
	.g90 {width: 100% !important;}

}