/**
 * ==============================================
 *  STYLE.CSS
 * ==============================================
 * Default parent stylesheet
 *
 *
 * Theme Name: (a)n Foundation
 * Theme URI: http://anfoundation.com
 * Author: (a)squaredstudio, New Leaf Web Solutions
 * Author URI: http://anfoundation.com/
 * Description: Advanced Foundation 5 parent theme
 * Version: 0.9.20
 * License: GNU General Public License v2 or later
 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
 * Tags: white,light, one-column, two-columns, right-sidebar, custom-header, custom-menu, featured-images, sticky-post, translation-ready
 * Text Domain: anfoundation
 * Bitbucket Theme URI: https://bitbucket.org/squareleaf/anfoundation
 * Bitbucket Branch: master
 *
 * This theme is the best.  Period.
 */



/**
 * ==============================================
 *  HTML5 BOILERPLATE
 * ==============================================
 */

.browsehappy {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

.row {
    max-width: 1000px;
}

.row.expand {
    max-width: 100%;
}

@media screen and (max-width: 600px) {
    #wpadminbar {
       position: fixed!important;
    }
}

.fixed {
    top: auto!important;
}

body {
    z-index: 1;
}

.form-table {
    width: 100%;
}
.sticky {
	left: 0;
	right: 0;
	position: fixed;
	z-index: 999;
}

#main-footer.sticky {
	bottom: 0;
}

/*-- END HTML5 BOILERPLATE --*/




/**
 * ==============================================
 *  ENTRY
 * ==============================================
 */

.blog .entry {
    margin-bottom: 4em;
}

/*-- END ENTRY --*/



/**
 * ==============================================
 *  WIDGETS
 * ==============================================
 */

.sidebar,
.sidebar ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.widget {
    margin-bottom: 1.5em;
}

.widget_sp_image {
    margin-bottom: 0;
}

/*-- END WIDGETS --*/



/**
 * ==============================================
 *  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;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

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 p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

input#s,
input#searchsubmit,
a.more-link {
    margin-bottom: 0;
}

.sticky {

}

.gallery-caption {}

.bypostauthor {}

/*-- END WORDPRESS --*/



/**
 * ==============================================
 *  FOUNDATION OVERRIDES
 * ==============================================
 */

.panel,
#more-footer .panel .alert-box,
#main-footer .panel .alert-box{
    margin-bottom: 0;
}

#more-footer .panel,
#main-footer .panel {
    border: 0;
    padding: 0;
    background: transparent;
}

#searchform input{
    font-size: 90%;
}

/*-- END FOUNDATION OVERRIDES --*/



/**
 * ==============================================
 *  COMMENTS
 * ==============================================
 */

textarea#comment {
    min-height: 10em!important;
}

ol.commentlist {
    margin-left: 0;
    margin-top: 2em;
}

ol.commentlist p {
    font-size: 0.9375rem;
    line-height: 1.5;
}

ol.commentlist ul.children {
    margin-left: 4rem;
}

ol.commentlist li {
    list-style: none;
    margin-bottom: 2em;
}

ol.commentlist li .comment-author img {
    float: left;
    margin: 0 1em 0 0;
}

ol.commentlist li .author-meta {
    display: inline-block;
}

ol.commentlist li .author-meta cite.fn {
    font-style: normal;
    font-weight: 600;
    margin-right: 0.5rem;
}

ol.commentlist li .author-meta time a {
    color: #ccc;
    font-size: 0.875rem;
    margin-right: 0.5rem;
}

ol.commentlist li .author-meta .comment-edit-link {
    color: #bbb;
    font-size: 0.875rem;
}

ol.commentlist li section.comment {
    margin-left: 4rem;
    margin-bottom: 2rem;
}

ol.commentlist li section.comment a.comment-reply-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #bbb;
}

ol.commentlist li section.comment a.comment-reply-link:hover, ol.commentlist li section.comment a.comment-reply-link:focus {
    color: #444444;
}

/*-- END COMMENTS --*/



/**
 * ==============================================
 *  HEADER
 * ==============================================
 */

h1.site-name {
    margin: 0;
}

#header-right-sidebar .widget_search:last-child {
    margin-bottom: 0;
}

.tab-bar.mobile {
    background: transparent;
}

/*-- END HEADER --*/



/**
 * ==============================================
 *  OFF-CANVAS
 * ==============================================
 */

.off-canvas-menu .widget_search form {
    margin: 0;
}

.off-canvas-menu .widget:last-child {
    margin-bottom: 0;
}

.off-canvas-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.off-canvas-list ul li a {
    font-size: .7em;
    text-transform: uppercase;
    padding-left: 3em;
}

/*-- END OFF-CANVAS --*/



/**
 * ==============================================
 *  CUSTOM MENU WIDGET
 * ==============================================
 */


/*-- END CUSTOM MENU WIDGET --*/



/**
 * ==============================================
 *  HACKS
 * ==============================================
 */

.tp-bannertimer {
    z-index: 20!important;
}

.js-generated {
    display: none!important;
}

.button {
	margin-bottom: 0;
}

.stuck {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}

.top-bar {
    z-index: 1;
    position: relative;
}

.outer-video-wrap {
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
    overflow: hidden;
    z-index: -1;
    left: 0;
    right: 0;
    bottom: 0;
}

.parallax-mirror:nth-child(1) {
    z-index: -1!important;
}

.parallax-mirror:nth-child(2) {
    z-index: -2!important;
}

.parallax-mirror:nth-child(3) {
    z-index: -3!important;
}

.parallax-mirror:nth-child(4) {
    z-index: -4!important;
}

@font-face {
    font-family: 'star';
    src: url('fonts/star.eot');
    src: url('fonts/star.eot?#iefix') format('embedded-opentype'),
        url('fonts/star.woff') format('woff'),
        url('fonts/star.ttf') format('truetype'),
        url('fonts/star.svg#star') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
   opacity: 1;
   -webkit-transition: all 0.3s ease;
   -moz-transition: all 0.3s ease;
   -o-transition: all 0.3s ease;
   transition: all 0.3s ease;
}

/*-- END HACKS --*/



/**
 * ==============================================
 *  SUPPORT CLASSES
 * ==============================================
 */

.no-padding-top {
	padding-top: 0!important;
}

.no-padding-right {
	padding-right: 0!important;
}

.no-padding-bottom {
	padding-bottom: 0!important;
}

.no-padding-left {
	padding-left: 0!important;
}

.no-margin-top {
	margin-top: 0!important;
}

.no-margin-right {
	margin-right: 0!important;
}

.no-margin-bottom {
	margin-bottom: 0!important;
}

.no-margin-left {
	margin-left: 0!important;
}

.uppercase {
    text-transform: uppercase;
}

.italic {
    font-style: italic;
}

.expand {
    max-width: 100%;
}

/*-- END SUPPORT CLASSES --*/




/**
 * ==============================================
 *  PRELOADER
 * ==============================================
 */
#loader-wrapper {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
}
#loader {
	display: block;
	position: relative;
	left: 50%;
	top: 50%;
	width: 150px;
	height: 150px;
	margin: -75px 0 0 -75px;
	border-radius: 50%;
	border: 5px solid transparent;
	border-top-color: #000;
	border-left-color: #000;

	-webkit-animation: spin 2s linear infinite; /* Chrome, Opera 15+, Safari 5+ */
	animation: spin 2s linear infinite; /* Chrome, Firefox 16+, IE 10+, Opera */

	z-index: 1001;
}

@-webkit-keyframes spin {
	0%   {
		-webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
		-ms-transform: rotate(0deg);  /* IE 9 */
		transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
	}
	100% {
		-webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
		-ms-transform: rotate(360deg);  /* IE 9 */
		transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
	}
}
@keyframes spin {
	0%   {
		-webkit-transform: rotate(0deg);  /* Chrome, Opera 15+, Safari 3.1+ */
		-ms-transform: rotate(0deg);  /* IE 9 */
		transform: rotate(0deg);  /* Firefox 16+, IE 10+, Opera */
	}
	100% {
		-webkit-transform: rotate(360deg);  /* Chrome, Opera 15+, Safari 3.1+ */
		-ms-transform: rotate(360deg);  /* IE 9 */
		transform: rotate(360deg);  /* Firefox 16+, IE 10+, Opera */
	}
}

#loader-wrapper .loader-section {
	position: fixed;
	top: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	z-index: 1000;
	-webkit-transform: translateX(0);  /* Chrome, Opera 15+, Safari 3.1+ */
	-ms-transform: translateX(0);  /* IE 9 */
	transform: translateX(0);  /* Firefox 16+, IE 10+, Opera */
}

#loader-wrapper .loader-section.section-left {
	left: 0;
}

#loader-wrapper .loader-section.section-right {
	right: 0;
}

/* Loaded */
.loaded #loader-wrapper .loader-section.section-left {
	opacity: 0;

	-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
	transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

.loaded #loader-wrapper .loader-section.section-right {
	opacity: 0;

	-webkit-transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
	transition: all 0.7s 0.3s cubic-bezier(0.645, 0.045, 0.355, 1.000);
}

.loaded #loader {
	opacity: 0;
	-webkit-transition: all 0.3s ease-out;
	transition: all 0.3s ease-out;
}
.loaded #loader-wrapper {
	visibility: hidden;

	-webkit-transform: translateY(-100%);  /* Chrome, Opera 15+, Safari 3.1+ */
	-ms-transform: translateY(-100%);  /* IE 9 */
	transform: translateY(-100%);  /* Firefox 16+, IE 10+, Opera */

	-webkit-transition: all 0.3s 1s ease-out;
	transition: all 0.3s 1s ease-out;
}

/* JavaScript Turned Off */
.no-js #loader-wrapper {
	display: none;
}
/*-- END PRELOADER --*/




/**
 * ==============================================
 *  MASONRY EFFECT
 * ==============================================
 */

.grid-sizer,
.grid-item {
	width: 33.333%;
}

.grid-item {
	float: left;
}

.grid-item img {
	display: block;
	max-width: 100%;
	width: 100%;
	margin: 0!important;
}

/*-- END MASONRY EFFECT --*/


/**
 * ==============================================
 *  FULL PAGE TEMPLATE
 * ==============================================
 */

.white .title,
.white .sub-header,
.white p {
	color: #fff;
}

.page-template-template-fullpage #utility {
	z-index: 9999;
	position: relative;
}

#fp-nav {
	background: rgba(0,0,0, .8);
}

#fp-nav ul li a span {
	background: #fff!important;
}


.fp-video{
	left: 50%;
	position: absolute;
	top: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	height: 100vh;
	min-height: 56.25vw;
	z-index: -;
}

.fp-video:before {
	content: '';
	display: block;
	width: 178vh;
	min-width: 100vw;
}

.fpd-video iframe {
	height: 100%;
	width: 100%;
	position: absolute;
	top: 0;
	left: 0;
}

.fp-layer {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 999;
}

.fp-content {
	top: 50%;
	left: 0;
	right: 0;
	position: absolute;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
	z-index: 999;
}

.fp-row .title,
.fp-row .sub-header,
.fp-row .content,
.fp-row .buttons {
	transition: all 0.8s ease;
	opacity: 0;
	top: .5em;
	position: relative;
}

.fp-row.fp-completely .title,
.fp-row.fp-completely .sub-header,
.fp-row.fp-completely .content,
.fp-row.fp-completely .buttons {
	opacity: 1;
	top: 0;
}



/*-- END FULL PAGE TEMPLATE --*/



/**
 * ==============================================
 *  DUAL SLIDER
 * ==============================================
 */

 .dual-slider .background {
 	padding: 1em;
 	height: 20em!important;
 	position: relative;
 }

 .dual-slider .wrap {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	bottom: 0;
 }

.dual-slider .wrap .inner {
 	position: absolute;
 	top: 50%;
 	left: 0;
 	right: 0;
 	transform: translateY(-50%);
 	text-align: center;
 	padding: 1em;
 }

 /*-- END DUAL SLIDER --*/
