/*
Theme Name: Fun First Nursery
Theme URI: http://www.funfirstnursery.com/
Author: Creotec Limited
Author URI: http://creotec.com/
Description: Fun First Nursery Bootstrap Responsive
Version: 1.0 
License: Private
Tags: Fun First Nursery, Responsive
Text Domain: www.funfirstnursery.com
*/

html { width: 100%;  height: 100%; }
body { font-family: Georgia, Times, serif; line-height:150%; color: #171F32; background-color: #ffffff; }input,button,select,.btn { border-radius:0px !important; }

.toptop { background-color: #171F32; color: #ffffff; font-size:0.8rem; padding:10px 0px; line-height: 0.9rem; border-bottom:10px solid #1A8AC2; }
.toptop a { color: #ffffff; text-decoration:none; }
.toptop p { padding:3px 0px; margin:0px; }
.toptop i { font-size:1.2rem; }
.toplogonav { padding:15px 0px; }
.toplogonav .toplogo { max-width:150px; width:150px; }
.toplogonav .navbar { padding:0px; background-color: #ffffff; }
.toplogonav .navbar a { color: #171F32; }
.toplogonav .navbar a:hover,.toplogonav .navbar a:active, .toplogonav .nav-item .show { color: #E30D25; background-color: #ffffff; }
.toplogonav .navbar .current_page_parent .current_page_item a{ color: #E30D25; }
.toplogonav .navbar-toggler { color: #ffffff; background-color: #171F32; }
.toplogonav .navbar-toggler-icon { background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E"); }
.toplogonav .navbar-nav .nav-item { border-right:1px solid #E30D25; padding:0px 8px; }
.toplogonav .navbar-nav .nav-item:last-child { border-right:0px none; }
.toplogonav .dropdown-menu { border:0px none; border-left: 1px solid #E30D25; border-radius:0px; margin-top:-1px; margin-left:-1px; }
.toplogonav .dropdown-menu .nav-item { border-right: 0px none; }
.toplogonav .offcanvas.show .nav-item { border:0px none; }
.featuredimage { border-bottom:10px solid #E30D25; }
.featuredimage .carousel-item { xxheight: 75vh; xxmin-height: 350px; background: no-repeat center center scroll; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }
.featuredimage .carousel-item { transition: transform 3s ease-in-out; }
.xfeaturedimage .carousel-fade .active.carousel-item-start, .xfeaturedimage .carousel-fade .active.carousel-item-end { transition: opacity 0s 3s; }
.breadcrumbsection { color: #171F32; font-size:0.8rem; }
.breadcrumbsection a, .mainbody a { color: #E30D25; }
.mainbody { position:relative; }
.mainbody h1 { margin-bottom: 20px; }
.mainbody h2 { font-size:1.5rem; color:#1A8AC2; }
.mainbody h3 { font-size:1.3rem; color:#1A8AC2; }
.mainbody .latestnews h4 { color: #1A8AC2; padding-bottom:20px; }
.mainbody .latestnews h5 a { color: #171F32; text-decoration:none; }
.mainbody .latestnews>ul li { border-bottom:1px solid #1A8AC2; margin-bottom:10px; }
.mainbody .latestnews li:last-child { border:0px none; margin-bottom:20px; }
main .mainbody>.container { background-color: #ffffff; }
.quicklinksbox { background-color:#E30D25; color: #ffffff; position:relative; }
.quicklinksbox a { color: #ffffff; text-decoration: none; }
.quicklinksbox h4 { color: #ffffff!important; }
.quicklinksbox li { padding-top:5px; border:0px none!important; }
.quicklinksbox-overlay-h { position: absolute; right:-20px; top:-70px; z-index:1; }
.quicklinksbox-overlay-h img { width:170px; }
.quicklinksbox-overlay-l { position: absolute; right:-25px; top:-75px; z-index:2; }
.quicklinksbox-overlay-l img { width:110px; }
.quicklinksbox-overlay { position: absolute; right:20px; top:-95px; z-index:2; }
.directorhome { margin:20px 0px; }
.directorhome .container { background-color: #1A8AC2; color: #ffffff; }
.directorhome a { color: #ffffff; }
.lifeatfunfirst h5 a { color: #171F32; text-decoration: none; }
.mainbody .card { border-radius: 0px; }
.footerblue { background-color:#1A8AC2; color: #ffffff; position:relative; font-size:0.95rem; }
.footerblue a { color: #ffffff; text-decoration: none; }
.footerwhite { background-color:#ffffff; color: #B9BBC1; position:relative; font-size:0.9rem; }
.footerwhite a { color: #B9BBC1; text-decoration: none; }
.newsletterform .input-group { flex-wrap: nowrap!important; }
.pageoverlay-bottom { position: absolute; left:0px; top:-120px; }
.pageoverlay-left { position: absolute; left:-30px; top:-125px; }
.pageoverlay-leftXX { position: absolute; left:-60px; top:100px; z-index:-99; }
.followuson i { font-size:1.8rem; }
.sidelinks { margin-bottom:20px; }
.sidelinks li { border:0px none!important; margin:0px!important; }

/*SLIDER DOWN INDICATOR*/
.frontslash { color: #73272b; font-weight: 200; font-size: 140%; }
.field { display: flex; align-items: center; justify-content: space-around; width: 100%; }
.mouse { width: 50px; height: 90px; border: 3px solid #fff; border-radius: 60px; position: relative; }
.mouse::before { content: ""; width: 12px; height: 12px; position: absolute; top: 10px; left: 50%; transform: translateX(-50%); background-color: #fff; border-radius: 50%; opacity: 1; animation: wheel 2s infinite;  -webkit-animation: wheel 2s infinite; }
@keyframes wheel { to { opacity: 0; top: 60px; } }
@-webkit-keyframes wheel { to { opacity: 0; top: 60px; } }
.scroll {  width: 60px; height: 60px; border: 2px solid #fff; border-radius: 50%; position: relative; animation: down 1.5s infinite; -webkit-animation: down 1.5s infinite; }
.scroll::before { content: ""; position: absolute; top: 15px; left: 18px; width: 18px; height: 18px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg);}
@keyframes down { 0% { transform: translate(0); } 20% { transform: translateY(15px); } 40% { transform: translate(0); } }
@-webkit-keyframes down { 0% { transform: translate(0); } 20% { transform: translateY(15px); } 40% { transform: translate(0); } }
.arrow {  width: 0; height: 40px; border: 1px solid #fff; position: relative; animation: scroll 1.5s infinite;  -webkit-animation: scroll 1.5s infinite;}
.arrow::after {  content: ""; display: block; position: absolute; top: 100%; left: -5px; width: 1px; height: 10px; border-top: 10px solid #fff; border-left: 5px solid transparent; border-right: 5px solid transparent;}
@keyframes scroll { 0% { height: 40px; } 30% { height: 70px; } 60% {  height: 40px; } }
@-webkit-keyframes scroll { 0% { height: 40px; } 30% { height: 70px; } 60% {  height: 40px; } }

/*HOME GALLERY SCROLL*/
.directorgallery .carousel { margin: 30px auto 60px; padding: 0 40px; }
.directorgallery .carousel .carousel-item { text-align: center; overflow: hidden; }
.directorgallery .carousel .carousel-item img { max-width: 100%; display: inline-block; }
.directorgallery .carousel .thumb-wrapper { margin: 5px; text-align: left; background: #fff; box-shadow: 0px 2px 2px rgba(0,0,0,0.1); }
.directorgallery .carousel .thumb-content { padding: 15px; }
.directorgallery .carousel-control-prev, .directorgallery .carousel-control-next { height: 44px; width: 44px; background: none; margin: auto 0; }
.directorgallery .carousel-control-prev i, .directorgallery .carousel-control-next i { font-size: 36px; position: absolute; top: 50%; display: inline-block; margin: -19px 0 0 0; z-index: 5; left: 0; right: 0; color: rgba(0, 0, 0, 0.8); text-shadow: none; font-weight: bold; }
.directorgallery .carousel-control-prev i { margin-left: -3px; }
.directorgallery .carousel-control-next i { margin-right: -3px; }
.directorgallery .carousel-indicators { bottom: -50px; }
.directorgallery .carousel-indicators li, .directorgallery .carousel-indicators li.active { width: 10px; height: 10px; border-radius: 50%; margin: 4px; border: none; }
.directorgallery .carousel-indicators li { background: #ababab; }
.directorgallery .carousel-indicators li.active { background: #555; }

/*BACK TO TOP*/
.back-to-top { cursor: pointer; position: fixed; bottom: 20px; right: 20px; display:none; background-color: #171F32; border-color: #171F32; z-index:99; }
#back-to-top.btn-primary:hover { background-color: #1A8AC2; border-color: #1A8AC2; }

/*NINJA FORM*/
.ninja-forms-all-fields-wrap input,.ninja-forms-all-fields-wrap textarea,.ninja-forms-all-fields-wrap select { border:1px solid #ccc; color:#555; height:34px; line-height: 1.42857; padding:6px 12px; transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset; margin-left: 0px; }
.ninja-forms-all-fields-wrap label {  margin-bottom: 0; padding-top: 7px; width: 200px !important; margin-right:10px; float: left;  }
.ninja-forms-all-fields-wrap input[type="submit"] { border:1px solid #337ab7; color: #fff; background-color: #337ab7; }
.ffncontact .nf-form-content { padding:0px!important; max-width:auto!important;margin:0px!important; }
.ffncontact .nf-form-fields-required { margin-bottom:20px; }
.nf-field-label label { font-weight:500!important; }
.nf-form-content { padding:10px 0px!important; }
.nf-form-layout { margin:20px 0px!important; }
.nf-form-fields-required { display: none; }

/*PAGINATION*/
.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus { background-color: #006699; border-color:#006699;  }
ul.clearfix.pagination { background-color: #006699; border-color:#006699; }
.pagination>li:first-child>a, .pagination>li:first-child>span { border-radius: 0px !important; }
.pagination>li:last-child>a, .pagination>li:last-child>span { border-radius: 0px !important; }
.page-item.active .page-link { background-color:#006699; border-color:#006699; }
.page-link { color:#006699; }
.pagination { margin-top:20px; }

/*PAGING CLASS*/
.pagingclass li { padding:5px 10px; }

/*COOKIE*/
.cc-color-override--839010398 .cc-btn { background-color: #E30D25!important; } 

/* Very large desktops */
@media (min-width: 1400px) {
	.xbody{ border-left:5px solid grey !important; } /*DEDUG REMOVE*/
}
/* Large desktops and laptops */
@media (min-width: 1199px) and (max-width: 1399px) {
	.xbody{ border-left:5px solid orange !important; } /*DEDUG REMOVE*/
}
/* Portrait tablets and medium desktops */
@media (min-width: 992px) and (max-width: 1199px) {
	.xbody{ border-left:5px solid yellow !important; } /*DEDUG REMOVE*/
	.toplogonav .toplogo { width:130px; }
}

/* Portrait tablets and small desktops */
@media (min-width: 768px) and (max-width: 991px) {
	.xbody{ border-left:5px solid green !important; } /*DEDUG REMOVE*/
	.toplogonav .toplogo { width:110px; }
}

/* Landscape phones and portrait tablets */
@media (max-width: 767px) {
	.xbody{ border-left:5px solid blue !important; } /*DEDUG REMOVE*/
	.toplogonav .toplogo { width:110px; }
	.pageoverlay-left { display:none; }
	.quicklinksbox { margin-top:20px; }
}

/* Landscape phones and smaller */
@media (max-width: 480px) {
	.xbody{ border-left:5px solid red !important; } /*DEDUG REMOVE*/
	.toplogonav .toplogo { width:90px; }
	.pageoverlay-left { display:none; }
	.quicklinksbox { margin-top:20px; }
}