/*
	Theme Name: Our Children's Friend
	Theme URI: 
	Description: Wordpress Theme for Our Children's Friend
	Version: 1.1.1
*/

/*------------------------------------*\
    MAIN

    Colors

    blue: #00aeef;
    blue green: #00a8af;
    yellow: #fff200;
    pink: #bb6293;
    purple: #56659d;

    red text: #d2232a;
    hot pink text: #ec008c;
\*------------------------------------*/

html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
 margin:0;
 padding:0;
 border:0;
 outline:0;
 font-size:100%;
 vertical-align:baseline;
 background:transparent;
}
.clear{
	clear:both;
	float: none;
	display: block;
}
a {
	text-decoration: none;
}
body {
 line-height:1.5;
 font-family: "Proxima Nova";
 font-size: 18px;
}
p{
	margin: 10px;
}
article,aside,details,figcaption,figure,
footer,header,hgroup,menu,nav,section { 
 display:block;
}
nav ul {
 list-style:none;
}
.nav{
	float: left;
	margin-top: 21px;
	margin-left: 30px;
}
.logo{
	float:left;
	margin-bottom: 8px;
}
.red_text{
	color: #d2232a;
}
.nav a{
	font-family: "Little Pot";
	color: white;
	padding: 5px 15px;
	border-right: 1px solid #eca1d1;
	text-decoration: none;
	font-size: 22px;
	transition: all .2s;
}
.nav a:hover{
	opacity:.7;
}
body .ui-widget-overlay{
	background: none;
	background-color: rgba(0,0,0,.7);
	opacity: 1;
}
.nav ul li{
	display: inline-block;
}
.nav ul li:last-child a{
	border:none;
}
.about-us .header_nav, .about-us main{ 
	background-color: #00a8af;
	color: white;
}

.take-survey-teachers main .sub_main, .take-survey-teachers main .sub_lower > div,.take-survey-parents main .sub_main, .take-survey-parents main .sub_lower > div{
	width: 723px;
}
.take-survey main iframe{
	max-width: 100%;
}
}
.popup{
	display: none;
}
.projects .header_nav, .projects main, .fables .header_nav, .fables main, .games main, .games .header_nav, .take-survey-teachers main, .take-survey-teachers .header_nav, .take-survey-parents main, .take-survey-parents .header_nav{
	background-color: #56659d;
	color: white;
}
.donate .header_nav, .donate main{
	background-color: #00aeef;
	color: white;
}
.pink_bg{
	background-color: #bb6293;
	min-height: 100vh;
}
body .white_bg{
	background-color: white;
	color: black;
}
body:not(.home) .header_nav_sub{
	width: 1200px;
	margin: 0 auto;
	max-width: 100%;
}
.about-us h2, .about-us h1, .about-us blockquote, .about-us cite, .projects h2, .fables h2, .fables h1, .fables blockquote, .fables cite, .games h2, .games h1, .games blockquote, .games cite, .projects h1, .projects blockquote, .projects cite, .donate h1, .donate h2, .donate blockquote, .donate cite, .take-survey-parents h1,  .take-survey-teachers h1{
	color: #fff200;
}
.wp-block-quote cite{
	margin-left:60%;
}
a{
	cursor: pointer;
}
a h3{
	transition: all .3s;
}
a h3:hover{
	transform: translateY(-3px);
}
main .sub_main, main .sub_lower > div{
	margin: 0 auto;
	width: 1000px;
	padding: 30px;
	max-width: calc(100% - 60px);
	padding-top:70px;
}
main .sub_lower{
	background-color: white;
}
body .nav li.current_page_item a, body .nav li.current-page-ancestor a{
	color: #fff200;
}
.right_image img{
}
.fables_games_scripts{
	font-family: "Little Pot";
	color: #ec008c;
	padding: 20px 65px;
	background-color: #fff200;
	border: 2px solid #ec008c;
	margin: 50px;
	display: block;
	border-radius: 100px;
	font-size: 38px;
	max-width: 100px;
	text-align: center;
}
.float_img{
	float: left;
}
.donate_form{
	margin-top: 80px;
	text-align: center;
}
.donate_form input[type="image"]{
	width: 250px;
	max-width: 100%;
}
.fables_games_scripts:nth-child(2){
	margin-left: 100px;
}
img{
	max-width: 100%;
	height: auto;
}
h1, h2, blockquote, cite{
    font-family: "Little Pot";
    font-weight: lighter;
    font-size: 47px;
    line-height: 1.3em;
    color: #ec008c;
}
h6{
	color: #fff200;
}
blockquote{
	font-size: 30px;
	line-height: 43px;
	margin: 30px 0;
}
cite{
	font-size: 20px;
	line-height: 29px;
	margin: 10px 0;
}
blockquote, q {
 quotes:none;
}
blockquote:before, blockquote:after,
q:before, q:after {
 content:'';
 content:none;
}
a {
 margin:0;
 padding:0;
 font-size:100%;
 vertical-align:baseline;
 background:transparent;
}
/* change colours to suit your needs */
ins {
 background-color:#ff9;
 color:#000;
 text-decoration:none;
}
table {
 border-collapse:collapse;
 border-spacing:0;
}
/* change border colour to suit your needs */
hr {
 display:block;
 height:1px;
 border:0; 
 border-top:1px solid #cccccc;
 margin:1em 0;
 padding:0;
}
input, select {
 vertical-align:middle;
}
.header_nav{
	padding: 5px 25px;
	background-color: #00aeef;
	color: white;
}
.padding_25{
	padding:25px;
}
.blue_bg{
	background: #00aeef;
	color: white;
}
.yellow_bg{
	background: #fff200;
	color: black;
	overflow: hidden;
}
.build_char{
	padding: 90px 30px;
}
.blue_bg h1, .blue_bg h2{
	color: white;
}
.yellow_bg h1, .yellow_bg h2{
	color: #d2232a;
	text-align: center;
	position: relative;
}
footer{
	background-color: #bb6293;
	color: white;
}
footer a{
	color: white;
	text-decoration: none;
	border-bottom:1px solid rgba(255,255,255,0);
	transition: .2s all;
}
footer a:hover{
	border-bottom:1px solid rgba(255,255,255,1);
}
body .footer_inner{
	padding: 30px 0;
	max-width: 100%;
	font-size: 15px;
	margin: 0 auto;
	text-align: center;
}
.footer_inner > div{
	padding: 25px;
	border-right: 1px solid white;
	display: inline-block;
	text-align: left;
	vertical-align: middle;
}

body .footer_social a:hover{

}
.footer_inner > div:last-child{
	border:none;
}
.footer_inner p{
	margin: 0px;
}
.temp_video{
	width: 100%;
	display: block;
}
.max_2000, .max_1500, .max_1200, .max_3200{
	width: 2000px;
	max-width: 100%;
	margin: 0 auto;
	max-width: calc(100% - 60px);
	display: block;
}
.max_3200{
	width: 3200px;
}
.max_1500{
	width: 1500px;
}
.max_1200{
	width: 1200px;
}
.ocf_wrapper, .values_video_wrapper{
	display: flex;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
	-ms-align-items: center;
	align-items: center;
	margin-top: 25px;
	max-width: 100%;
}
.values_video_wrapper{
	-ms-align-items: bottom;
	align-items: bottom;
}
.ocf_wrapper img{
	width: 450px;
	max-width: 100%;
}
.ocf_wrapper > div:first-child{
	text-align: right;
	padding:10px 50px;
	max-width: 350px;
}
.ocf_wrapper > div:last-child{
	text-align: left;
}
.ocf_wrapper > div, .values_video_wrapper > div{
	-webkit-flex: 1 0 300px;
	-moz-flex: 1 0 300px;
	-ms-flex: 1 0 300px;
	-o-flex: 1 0 300px;
	flex: 1 0 300px;
	max-width: 100%;
}
.values_video_wrapper{
	margin-bottom: 60px;
}
.video_div{
	width: 600px;
	height: 400px;
	background-color: rgba(255,255,255,.4);
	position: relative;
	max-width: 100%;
	transition: .3s all;
}
.video_div:hover{
	cursor: pointer;
}
.right_arrow, .right_down_arrow, .left_arrow{
	position: relative;
	display: initial;
}
.right_arrow:after, .right_down_arrow:after, .left_arrow:after, .left_down_arrow:after{
	content: '';
	display: block;
	background-image:url(~images/right_arrow.svg);
	width: 80px;
	height: 19px;
	background-repeat: no-repeat;
	position: absolute;
	right: -100px;
	top:0;
	bottom: 0;
	margin: auto;
}
.right_down_arrow, .left_down_arrow{
	display: inline-block;
	margin-bottom: 11px;
}
.left_down_arrow{
	margin-left: 10%;
}
.right_down_arrow:after, .left_down_arrow:after{
	display: block;
	content: '';
	background-image:url(~images/right_down_arrow.svg);
	height: 60px;
	top:42px;
}
.left_down_arrow:after{
	right: auto;
	left: -100px;
	transform: scaleX(-1);
}
.video_div:after{
	display: block;
	position: absolute;
	top:0;
	left: 0;
	right: 0;
	bottom: 0;
	margin: auto;
	width: 80px;
	height: 80px;
	content: '';
	background-image: url(~images/yellow_play.png);
	background-size: 100%;
	background-repeat: no-repeat;
	transition: .3s all;
}
.game_div:after{
	background-image: url(~images/play.png);
	width: 80px !important;
	height: 80px !important;
}
.twitter, .youtube, .facebook{
	height: 20px;
	display: inline-block;
	margin: 5px 10px;
	transition: all .2s;
}
.twitter:hover, .youtube:hover, .facebook:hover{
	border: none !important;
	transform: translateY(-3px);
}
.video_div:hover:after{
	cursor: pointer;
	transform:scale(1.3);
}
.carver_img{
	width: 500px;
}
.large_nav{
	display: flex;
	-webkit-flex-wrap: wrap;
	-moz-flex-wrap: wrap;
	-ms-flex-wrap: wrap;
	-o-flex-wrap: wrap;
	flex-wrap: wrap;
	align-items:baseline;
}
.large_nav > div{
	-webkit-flex: 1 0 230px;
	-moz-flex: 1 0 230px;
	-ms-flex: 1 0 230px;
	-o-flex: 1 0 230px;
	flex: 1 0 230px;
	max-width: 100%;
	text-align: center;
	position: relative;
	margin: 60px 0;
	transition: .2s all;
}
.large_nav > div:hover{
	transform:translateY(-8px);
}
.large_nav > div:after{
	height: 200px;
	content: '';
	width: 1px;
	background-color: #00aeef;
	position: absolute;
	display: block;
	top:0;
	bottom: 0;
	right: 0px;
	margin: auto;
}
.large_nav > div:nth-child(2):after{
	margin-top: 48px;
}
.large_nav > div:nth-child(3):after{
	display:none;
}
.large_nav > div > img{
	width: 283px;
}
.large_nav > div > img.crab_img{
	width: 400px;
}
.large_nav > div > img.hippo_img{
	width: 325px;
}
.video_responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.video_responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}
.butterfly_img{
	float: right;
	width: 450px;
}
.edison_img{
	float: left;
	width: 400px;
}
.what_we_do{
	margin-top: 50px;
}
.what_we_do > div{
	display: inline-block;
	vertical-align: top;
}
.what_we_do > div:first-child{
	width: 326px;
}
.what_we_do > div:last-child{
	width: 36%;
}
body .video_player{
	background:none;
	border: none !important;
	margin: 0;
	padding:0;
}
body .video_player .ui-widget-content{
	padding:10px;
}
body .video_player .ui-dialog-titlebar{
	background: none;
	border:none;
}
.vid_wrapper{
	text-align: left;
}
.entertainment_div{
	background: none;
	background-image: url(~images/entertainment.jpg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	text-align: center;
}
.vid_wrapper .entertainment_div{
	width: 30%;
	height: 179px;
	display: inline-block;
	margin: 12px;
	vertical-align: top;
	position: relative;
}
.vid_wrapper .entertainment_div p{
	position: absolute;
	bottom: -50px;
	color: #56659d;
	left: 0;
	right: 0;
	font-family: "Little Pot";
	text-transform: uppercase;
}
.vid_wrapper .video_div:after{
    width: 60px;
    height: 60px;
}
.vid_wrapper .entertainment_div{
	background-image: url(~images/vid2.jpg);
}
.vid_wrapper .entertainment_div:first-child{
	background-image: url(~images/vid1.jpg);
}

.vid_wrapper .entertainment_div:last-child{
	background-image: url(~images/vid3.jpg);
}
.vid_wrapper .entertainment_div.game_div{
	background-image: url(~images/house.jpg); 
}
.vid_wrapper .entertainment_div.games_1{
	background-image: url(~images/anonymoose_vid.jpg);
}
.video_open{
	cursor: pointer;
}
.large_nav > div a:hover{
	text-decoration: none;
}
/*------------------------------------*\
TYPOGRAPHY
\*------------------------------------*/

@font-face {
font-family: "Avenir";
src: url("~fonts/Avenir.ttc");
}
@font-face {
font-family: "Little Pot";
src: url("~fonts/alittlepot.ttf");
}
@font-face {
font-family: "Proxima Nova";
src: url("~fonts/ProximaNova-Regular.ttf");
}
/*------------------------------------*\
RESPONSIVE
\*------------------------------------*/
@media only screen and (max-width:1250px) {
	.edison_img{
		width: 250px;
	}
	.butterfly_img{
		width: 290px;
	}
	.large_nav > div img{
		width: 200px;
	}
	.large_nav > div:nth-child(2):after {
		margin-top: -14px;
	}
}
@media only screen and (max-width: 975px){
	.values_video_wrapper{
		text-align: center;
		display: block;
	}
	.video_div{
		width: 100%;
	}
	.carver_img {
		width: 250px;
		margin-top: 30px;
	}
	.large_nav > div{
		margin: 20px 0;
	}
	.large_nav > div:after{
		display: none;
	}
	.large_nav{
		padding: 30px 0;
	}
	.vid_wrapper .entertainment_div{
		width: 300px;
		margin-bottom: 55px;
	}
}
@media only screen and (max-width: 900px){
	.butterfly_img, .edison_img{
		float: none;
		width: 190px;
		display: block;
		margin: 0 auto;
	}
	body .what_we_do > div{
		width: 100% !important;		
	}
	body .right_arrow:after,body .right_down_arrow:after,body .left_arrow:after,body .left_down_arrow:after{
		background-image: url(~images/right_down_arrow.svg);
		width: 82px;
		height: 36px;
	}
	body .left_down_arrow:after {
		right: -100px;
		left: auto;
		transform: scaleX(1);
	}
	body .left_down_arrow {
		margin-left: initial;
	}
	h1, h2{
		font-size: 40px;
	}
	.footer_inner > div{
		display: block;
		border:none;
		border-bottom: 1px solid rgba(255,255,255,.3);
	}
	body .alignleft{
		display: block;
		float: none;
		margin: 0 auto;
		text-align: center;
	}
	body .float_img{
		clear: both;
		float: none;
		display: block;
	}
	body .fables_games_scripts, .fables_games_scripts:nth-child(2){
		margin: 20px;
		display: inherit;
		max-width: 100%;
	}
	.donate_form{
		margin-top: 0px;
	}
}
@media only screen and (max-width: 600px){
	.alignright, .alignleft{
		display: block;
		float: none;
		margin: 0 auto;
		text-align: center;
	}
	.right_image img{
		width: 200px;
		height: auto;
	}
	.ocf_wrapper > div:first-child{
		padding: 10px 0px;
		max-width: 97%;
	}
}
/*------------------------------------*\
    MISC
\*------------------------------------*/

::selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-webkit-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}
::-moz-selection {
	background:#04A4CC;
	color:#FFF;
	text-shadow:none;
}

/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/

.alignnone {
	margin:5px 20px 20px 0;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {

}
.bypostauthor {

}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		background:transparent !important;
		color:#000 !important;
		box-shadow:none !important;
		text-shadow:none !important;
	}
	a,
	a:visited {
		text-decoration:underline;
	}
	a[href]:after {
		content:" (" attr(href) ")";
	}
	abbr[title]:after {
		content:" (" attr(title) ")";
	}
	.ir a:after,
	a[href^="javascript:"]:after,
	a[href^="#"]:after {
		content:"";
	}
	pre,blockquote {
		border:1px solid #999;
		page-break-inside:avoid;
	}
	thead {
		display:table-header-group;
	}
	tr,img {
		page-break-inside:avoid;
	}
	img {
		max-width:100% !important;
	}
	@page {
		margin:0.5cm;
	}
	p,
	h2,
	h3 {
		orphans:3;
		widows:3;
	}
	h2,
	h3 {
		page-break-after:avoid;
	}
}
