/*
Theme Name: ToffeeCore
Theme URI: http://toffeedev.com
Author: Toffee
Author URI: http://toffeenet.com/
Description: ToffeeCore
Version: 0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: toffeecore
Tags: one-column, two-columns, right-sidebar, accessibility-ready, custom-header, custom-menu, featured-images, flexible-header, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready, blog
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/

.clearfix:after {
	visibility: hidden;
	display: block;
	font-size: 0;
	content: " ";
	clear: both;
	height: 0;
	}
* html .clearfix             { zoom: 1; } /* IE6 */
*:first-child+html .clearfix { zoom: 1; } /* IE7 */

html, body {
	padding: 0;
	margin: 0;
}

body {
	background: #242424;
}

.h2, h2 {
	font-size: 22px;
}

.aligncenter {
	text-align: center;
}

a:hover{
    text-decoration:none !important;
}

#body-wrapper {
    min-height: 100%;
    position: relative;
}

img {
	max-width: 100%;
	height: auto;
}

/* GALLERY */
.gallery-columns-5 .gallery-item {
    float: left;
    padding: 5px;
    border: 1px solid #d0d0d0;
    margin: 0 5px 5px 0;
}

.gallery-columns-5 .gallery-item img.size-thumbnail {
	width: 133px;
	height: 133px;
}

.transition {
	-webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}


/*--- BUTTON ---*/
#main .tcore-btn-1 > button,
#body-wrapper .rev_slider_wrapper .tcore-btn-1 {
	overflow: hidden;
	border: 3px solid #003067;
	color: #003067;
	border-radius: 0;
    font-family: inherit;
    font-size: inherit;
    background: transparent;
    cursor: pointer;
    padding: 18px 50px 18px 20px;
    display: inline-block;
    margin: 15px 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    outline: none;
    position: relative;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    z-index: 0;
}

#main .tcore-btn-1 > button:hover,
#body-wrapper .rev_slider_wrapper .tcore-btn-1:hover {
	color: #fff;
}

#main .tcore-btn-1 > button:after,
#body-wrapper .rev_slider_wrapper .tcore-btn-1:after {
	content: '';
    position: absolute;
    z-index: -1;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    width: 0;
    height: 1000%;
    top: 50%;
    left: 50%;
    background: #003067;
    opacity: 0;
    -webkit-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
    -moz-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
    -ms-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
    transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}

#main .tcore-btn-1 > button:hover:after,
#body-wrapper .rev_slider_wrapper .tcore-btn-1:hover:after {
	width: 72%;
    opacity: 1;
}


/*--- HEADER -----*/

.header {
	transition: all 0.4s ease;
	width: 100%;
	padding: 0;
	position: relative;
	min-height: 153px;
}

.sticky .sticky-header #top {
  position: fixed;
  background: rgba(255,255,255,0.9);
  z-index: 99;
  padding: 0;
  width: 100%;
}

.admin-bar.sticky .sticky-header #top {
	top: 32px;
}

#top .row div.display-table > div {
	float: none;
    display: table-cell;
    vertical-align: middle;
}

.tcore-page-banner {
	min-height: 250px;
	padding-top: 150px;
	background-size: cover;
	background-position: center center;
	margin-bottom: 20px;
}

.tcore-page-revslider {
	margin-bottom: 20px;
}

.tcore-page-banner h1, .tcore-page-banner h3 {
	margin: 0;
}

.alignleft {
	float: left;
    margin: 0 20px 20px 0;
    display: block;
}

.alignright {
	float: right;
	margin: 0 0 20px 20px;
    display: block;
}

#branding {
	display: inline;
	margin: 10px 0;
}

#branding img {
	max-height: 100%;
	width: auto;
}

.sticky #branding {
	height: 50px;
}

.sticky #branding img {
	height: auto;
	width: auto;
}

#main {
    /*padding-bottom: 50px;*/
}

.sticky #main {
	/*padding-top: 140px;*/
}

#footer {
	background: #eee;
	padding: 15px 0;
    width: 100%;
}

.copyright {
	font-size: 0.9em;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
}

.menu {
	float: left;
	margin: 15px 0px;
	padding: 0;
}

.menu li {
	display: block;
	list-style: none;
	position: relative;
}

.menu li a {
	display: block;
	padding: 10px 15px;
}

.menu li a:hover {
	text-decoration: none;
}

.menu li ul {
    margin: 0;
	padding: 0;
	min-width: 120px;
	transition: opacity .25s ease-in-out;
	-moz-transition: opacity .25s ease-in-out;
	-webkit-transition: opacity .25s ease-in-out;
}

.menu li ul li {
	display: block;
    float: none;
    text-align: left;
}

.menu li ul li a {
	color: #fff;
	padding: 5px 15px;
}

.menu li:hover ul {
	display: block;
	opacity: 1;
}

.primary-menu .menu > li > a,
.primary-menu .menu > ul > li > a {
	padding: 0px 15px;
	text-decoration: none;
}

.primary-menu .menu > li > a:hover,
.primary-menu .menu > li > a:active,
.primary-menu .menu > li > a:focus {
	text-decoration: none;
}

a:active,
a:focus {
	text-decoration: none;
}

.sticky .primary-menu .menu > li > a {
	padding: 0px 15px;
}

/*.primary-menu .menu > li:after,*/
/*.primary-menu .menu > ul > li:after {*/
/*	display: block;*/
/*	content: "";*/
/*	width: 30%;*/
/*	height: 2px;*/
/*	background-color: #08ada7;*/
/*	position: absolute;*/
/*	bottom: 0;*/
/*	left: 35%;*/
/*	-webkit-transition: all 0.2s ease;*/
/*	-moz-transition: all 0.2s ease;*/
/*	-o-transition: all 0.2s ease;*/
/*	-ms-transition: all 0.2s ease;*/
/*	transition: all 0.2s ease;	*/
/*	opacity: 0;*/
/*}*/

.primary-menu .menu > li.current-menu-item:after, 
.primary-menu .menu > li:hover:after,
.primary-menu .menu > ul > li.current-menu-item:after, 
.primary-menu .menu > ul > li:hover:after
 {
	width: calc(100%);
	left: 0;
	opacity: 1;
	-webkit-transition: all 0.3s ease;
	-moz-transition: all 0.3s ease;
	-o-transition: all 0.3s ease;
	-ms-transition: all 0.3s ease;
	transition: all 0.3s ease;	
}
.primary-menu .menu > li.current-menu-item > a {
	text-decoration: none;
}
.primary-menu .menu > li > a.no_border:after {
	display: none;
}

.primary-menu ul li a {
	color: black;
}


#footer-menu li a {
	padding-top: 0;
	padding-bottom: 0;
}

ul.social-media {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.social-media li {
	display: inline-block;
}

ul.social-media li a {
	margin: 0 5px;
}

.gallery-columns-3 .gallery-item {
	float: left;
    width: 33.33%;
    padding: 2%;
    text-align: center;
}

.slicknav_menu {
	background: none;
	padding-top: 0;
	display: none;
}

/* This only works with JavaScript, 
if it's not present, don't show loader */
.no-js #loader { display: none;  }
.js #loader { display: block; position: absolute; left: 100px; top: 0; }
.se-pre-con {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 999999;
	background-position: center center;
	background-repeat: no-repeat;
	/*background: url(images/toffeedev.png) center no-repeat #fff;*/
}

.animated-border-bottom:after {
	display: block;
	content: "";
	width: 0%;
	height: 4px;
	background-color: #002558;
	position: absolute;
	bottom: -10px;
	left: 0;
	-webkit-transition: all 2s ease;
	-moz-transition: all 2s ease;
	-o-transition: all 2s ease;
	-ms-transition: all 2s ease;
	transition: all 2s ease;
}

.animated-border-bottom.full-border:after {
	width: 75%;
}

/*-- Content --*/
.entry-header {
	margin-bottom: 10px;
}

/*-- search -------------------------------*/

.tcore-search {
	float: right;
	width: 40px;
	font-size: 18px;
	line-height: 82px;
	position: relative;
	text-align: center;
	-webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.tcore-search input.search-field {
	width: 260px;
    color: #262b2e !important;
    background: #fff !important;
    -webkit-text-fill-color: #262b2e !important;
    font: 600 13px / 17px "Open Sans", Helvetica, Arial, Verdana, sans-serif !important;
    text-transform: none;
    line-height: 25.5px;
    position: absolute;
    top: 77px;
    right: 0;
    height: 50px;
    border: 0;
    -webkit-box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.2);
    padding: 7px 10px;
}

.tcore-search button[type="submit"] {
	display: none;
}

/*--- Sidebar Subsidiary ---*/
#sidebar-subsidiary .widget {
	float: left;
	padding: 0px 15px;
}

/*--- Gallery ---*/

.gallery-columns-2 .gallery-item {
	width: 46%;
	padding: 0 1%;
	display: inline-block;
	text-align: center;
	margin-bottom: 20px;
}

/* -- MOBILE MENU -- */
#body-wrapper {
	background: #fff;
	/*box-shadow: -2px 0px 10px #222;*/
	overflow: hidden;
	position: relative;
	-webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    left: 0;
}

.mobile-overlay {
	display: none;
	cursor: pointer;
	-webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.show-mobile-menu .mobile-overlay {
	position: fixed;
    left: 0;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    background: rgba(0,0,0,0.4);
    z-index: 100;
}

.show-mobile-menu #tcore-mobile {
	display: block;
	left: 0;
	overflow-y: scroll;
}

#tcore-mobile {
	background: #242424;
	position: fixed;
	width: 40%;
	max-width: 350px;
	height: 100%;
	top: 0;
	left: -100%;
	z-index: 101;
	display: none;
	box-shadow: 2px 1px 8px #000;
	-webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

#tcore-mobile > a.menu-logo {
	display: block;
	padding: 10px 15px;
}

#tcore-mobile > a.menu-logo img {
	max-height: 30px;
	width: auto;
}

#tcore-mobile .tcore-mobile-close {
    display: block;
    position: absolute;
    top: 0px;
    right: 0;
    font-size: 24px;
    color: #fff;
    z-index: 1;
    height: 50px;
    line-height: 50px;
    width: 50px;
    text-align: center;
}


/* -- MOBILE VS DESKTOP -- */
.mobile {
	display: none !important;
}
.desktop {
	display: block !important;
}

/* -- SEARCH -- */
.tcore-search {
	float: right;
	height: 82px;
	width: 40px;
	font-size: 18px;
	line-height: 82px;
	position: relative;
	text-align: center;
	-webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}

.tcore-search input.search-field {
	width: 260px;
    color: #262b2e !important;
    background: #fff !important;
    -webkit-text-fill-color: #262b2e !important;
    font: 600 13px / 17px "Open Sans", Helvetica, Arial, Verdana, sans-serif !important;
    text-transform: none;
    line-height: 25.5px;
    position: absolute;
    top: 77px;
    right: 0;
    height: 50px;
    border: 0;
    -webkit-box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.2);
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.2);
    padding: 7px 10px;
}

.tcore-search button[type="submit"] {
	display: none;
}

.gform_wrapper .hide-label .top_label .gfield_label {
	display: none;
}

/*--- COLOR ---*/
a, h1, h2, h3, h4, h5 {
	color: #003067;
}

.primary-menu .menu > li:after {
	background-color: #003067;
}

/*--- COLORBOX ---*/
#cboxOverlay {
	opacity: 0.6 !important;
	background: #000 !important;
}

#cboxWrapper, #colorbox {
	overflow: visible !important;
}

#cboxLoadedContent {
	padding: 0;
	box-shadow: 0px 0px 20px #000;
}

#cboxClose {
    background-image: none;
    background-color: #6c6c6c;
    border-radius: 20px;
    top: -9px;
    right: -9px;
}

#cboxClose:after {
	font-family: FontAwesome;
    content: "\f00d";
    width: 20px;
    height: 20px;
    display: block;
    margin-top: -20px;
    color: #fff;
    text-indent: 0;
}

.no-rows .vc_row {
	/*margin-left: 0;
	margin-right: 0;*/
}

.no-rows .vc_column_container>.vc_column-inner {
	/*padding-left: 0;
	padding-right: 0;*/
}

.no-rows .wpb_content_element {
	margin-bottom: 0;
}

.pagination {
	text-align: center;
	width: 100%;
}

.pagination .nav-links span, .pagination .nav-links a {
	display: inline-block;
    border: 1px solid;
    border-radius: 4px;
    width: 30px;
    line-height: 30PX;
    text-align: center;
}

.pagination .nav-links span, .pagination .nav-links a:hover {
	text-decoration: none;
	font-weight: bold;
}

.pagination .nav-links span {
	font-weight: bold;
}

#top-sidebar {
	background-color: #f0f0ea;
	line-height: 3em;
}

#top-sidebar .widget {
	display: inline-block;
}

#sidebar-top-left .widget {
	margin-right: 10px;
}

#sidebar-top-right .widget {
	margin-left: 10px;
}

#footer .container {
	position: relative;
}

.backtotop {
    padding: 5px 12px;
    background: white;
    height: 50px;
    width: 50px;
    position: fixed;
    display: block;
    right: 30px;
    bottom: 90px;
    font-size: 40px;
    transform: rotate(45deg);
    border-radius:10px;
}

.backtotop > a > i {
	transform: rotate(-45deg);
	color:#015783;
}

.backtotop > a > i:hover {
	color:#06988b;
}

.tcore-woo-steps ol {
	margin: 20px 0 50px;
	padding: 0;
}

.tcore-woo-steps li {
	display: inline-block;
}

.tcore-woo-steps li a, .tcore-woo-steps li span {
    display: inline-block;
    padding: 10px 30px;
    background: #eee;
    text-transform: uppercase;
}

.tcore-woo-steps li.active a, .tcore-woo-steps li.active span {
	background: #8dc85e;
	color: #fff;
}

.tcore-woo-steps li a:hover, .tcore-woo-steps li a:active, .tcore-woo-steps li a:focus {
	text-decoration: none;
}

#sidebar-subsidiary .menu li {
	float: left;
	display: block;
}

#sidebar-subsidiary .menu li a {
	padding: 0;
}


/* Owl Carousel */
.tcore-owl-posts  .owl-item .post {
	margin: 0 20px;
	border: 1px solid #ececec;
	position: relative;
	padding-bottom: 20px;
}

.tcore-owl-posts  .owl-item .post:hover {
	box-shadow: 1px 1px 30px #cbcbcb;
	
}

.tcore-owl-posts .owl-item .post-date {
	text-align: center;
	background: #212833;
	padding: 5px 0;
	width: 60px;
	position: absolute;
	top: 0;
	left: 0;
	color: #fff;
	text-transform: uppercase;
	font-size: 14px;
}

.tcore-owl-posts .owl-item .post-date .date {
	font-size: 36px;
	line-height: 36px;
}

.tcore-owl-posts  .owl-item .post .post-meta {
	line-height: 3em;
    padding: 0 20px;
}

.tcore-owl-posts  .owl-item .post h3 {
	font-size: 18px;
	color: #212833;
	padding: 0 20px;
	margin-top: 0;
}

.tcore-owl-posts  .owl-item .post a.readmore {
	background-color: #212833;
	color: #fff;
	display: inline-block;
	letter-spacing: 2px;
	padding: 5px 20px;
	margin: 0 20px;
}

.tcore-owl-posts .owl-controls .owl-buttons div {
    cursor: pointer;
    position: absolute;
    top: 44%;
    font-size: 40px;
    left: -20px;
}

.tcore-owl-posts .owl-controls .owl-buttons div.owl-next {
    left: auto;
    right: -20px;
}

.screen-reader-text {
	display: none;
}

.site-main article {
	margin-bottom: 40px;
}

.blog article,
.archive article {
	float: left;
	display: block;
	width: 30%;
	margin: 0 1.5% 40px;
}

.blog article:nth-child(3n+1),
.archive article:nth-child(3n+1) {
	clear: left;
}

.blog article img,
.archive article img {
	border: 10px solid #f4f3f9;
}

.img-placeholder {
	display: block;
	background-size: cover;
	border: 10px solid #f4f3f9;
	width: 100%;
	height: 200px;
}

article .entry-header em, article .entry-header em a {
	color: #a7a7a7;
}

.entry-header {
	margin-top: 10px;
}

.entry-header h2 {
	margin-top: 10px;
}

.article-content {
	margin: 0 20px;
}