/*
	Theme Name: Difoat Theme
	Theme URI: http://html5blank.com
	Description: HTML5 Blank WordPress Theme
	Version: 1.4.3
	Author: Todd Motto (@toddmotto)
	Author URI: http://toddmotto.com
	Tags: Blank, HTML5, CSS3

	License: MIT
	License URI: http://opensource.org/licenses/mit-license.php
*/

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

/* global box-sizing */
*,
*:after,
*:before {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */
html {
	font-size:62.5%;
}
body {
	font: 'Open Sans', sans-serif;
	color:#C2C2C2;
	background-color: #eee;
    background-image: url(img/escheresque.png);
	font-size: 13px;
	line-height: 18px;
	padding-top: 0 !important;
}
body a:hover, body a:focus{
	color: #76a2c9;
}

/* clear */
.clear:before,
.clear:after {
    content:' ';
    display:table;
}

.clear:after {
    clear:both;
}
.clear {
    *zoom:1;
}
img {
	max-width:100%;
	vertical-align:bottom;
}
a {
	color:#444;
	text-decoration:none;
}
a:hover {
	color:#444;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
input:focus {
	outline:0;
	border:1px solid #04A4CC;
}
h1, h2, h3, h4, p, div{
	color:#333;
}
body h1{
	font-size: 26px;
	margin: 15px 0 30px;
	padding-left: 55px;
}
body h1:before{
	content:url('img/PostHeaderIcon.png'); /* with class ModalCarrot ??*/
	  position:absolute; /*or absolute*/
	  z-index:100000; /*a number that's more than the modal box*/
	  left: 28px;
	  top:10px; 
}
body h3{
	font-size: 20px;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

/* wrapper */
.wrapper {
	max-width:1024px;
	width:95%;
	margin:10px auto;
	position:relative;
	background: rgba(218, 218, 218, 0.72);
	box-shadow: 0px 0px 5px #858585;
}
article{
    font-size: 13px;
    line-height: 20px;
}

/* header */
.header {
	margin-bottom: 15px;
}
.top-bar{
	padding: 7px 0;
	background: #222;
    float: left;
    width: 100%;
    color: #ddd;
    font-size: 12px;
}
.top-bar .col-md-4.wrap_h{
	padding: 0;
}
.top-bar .glyphicon{
	padding-right: 10px;
}
.aling-right{
	text-align: right;
}
.header-image{
	height: 225px;
	border-bottom: 3px solid #797878;
}
.clear{
	clear: both;
}

/* logo */
.header-wrapper{
	border-bottom: 3px solid #23527c;
	float: left;
	width: 100%;
	background: #bcbdc1;
}
.header-wrapper div.wrap_h div{
	color: #333;
	margin: 7px;
}
.header-wrapper div.wrap_h{
	font-size: 13px;
	position: relative;
    top: 10px;
	right: 5px;
}
.header-wrapper div.wrap_h div i{
	margin-right: 5px;
}
.logo.col-md-8 {
	padding-left: 0;
}
.logo-img {

}
/* nav */
.nav-wrapper{
	padding: 20px 0px 10px;
	border-bottom: 2px solid #797878;
	float: left;
    width: 100%;
}
#shiftnav-toggle-main.shiftnav-toggle-position-absolute{
	display: none;
}

.responsive-menu{
	display: none;
}
.nav {
	
}
.nav ul{
	list-style-type: none;
	padding: 0;
}

.nav ul li{
	display: inline-block;
}
.nav ul li a{
	color: #ddd;
	font-size: 13px;
    font-weight: 600;
    padding: 8px 12px;
	background: #606060;
}
.nav ul li a:hover{
	text-decoration: none;
	background: #555454;
}
.menu .toggle{
	position: ABSOLUTE;
    right: 0;
	padding: 0 0 0 25px;
}
.products-menu_wrap{
	background: #eee;
    margin: 12px 0;
    border: 2px solid #23527c;
    padding: 10px;	
}
#menu-products-menu{
	list-style-type: none;
	background: #ddd;
    padding: 10px;
	margin: 0;
}
#menu-products-menu .current-menu-item a{
	font-weight: 600;
	color: #23527c;
}
#menu-products-menu ul{
	list-style-type: none;
}
#menu-products-menu ul.sub-menu{
	display: none;
}
#menu-products-menu .current-menu-item ul.sub-menu{
	display: block;
}
#menu-products-menu li a{
	color: #333;
	padding: 5px 5px;
    display: block;
    position: relative;
}
#menu-products-menu li a:hover{
	text-decoration: none;
	color: #23527c;
}
#menu-products-menu .sub-menu{
	padding-left: 15px;
}
#menu-products-menu .current-menu-item .sub-menu li a{
	font-weight: 400;
	padding: 3px;
	font-size: 13px;
	color: #333;
}
#menu-products-menu .current-page-ancestor ul.sub-menu{
	display: block;
}
#menu-products-menu .current-page-ancestor a{
	color: #23527c;
	font-weight: 600;
}
#menu-products-menu .current-page-ancestor .sub-menu a{
	font-weight: 400;
	color: #333;
}
#menu-products-menu .current-page-ancestor .sub-menu .current_page_item a{
	color: #23527c;
}
#menu-products-menu .current-page-ancestor .sub-menu .current-page-ancestor a{
	color: #23527c;
}
.product-image-box.col-md-4:first-of-type, .product-image-box.col-md-4:nth-of-type(4n){
	padding-left: 0;
}
.product-image-box .col-box{
	background: #bcbdc1;
    border: 2px solid #797878;
    margin: 5px 0 20px;
    max-height: 1500px;
    overflow: hidden;
    padding: 5px;
}
.product-image-box h3 {
    font-size: 13px;
    color: #333;
    font-weight: 600;
    margin-top: 5px;
    margin-bottom: 10px;
    text-align: center;
}
.product-image-box img{
	max-height: 100px;
    width: 100%;
    border: 1px solid #999;
}
.product-image-box a{
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* sidebar */
.sidebar {

}
/* footer */
.footer {
    background: #bcbdc1;
	float: left;
	width: 100%;
	box-sizing: border-box;
}
.copyright{
	font-size: 12px;
	text-align: center;
	margin-bottom: 0;
	color: #ddd;
}
.footer-bottom{
	background: #222;
	padding: 15px 0;
	width: 100%;
}
.footer-columns{
	padding: 15px 0;
	border-top: 2px solid #797878;
}
.footer-columns ul{
	list-style-type: none;
	padding: 0 35px 0 0;
	font-size: 13px;
}
.footer-columns h3{
	font-size: 16px;
	font-weight: 600;
	color: #333;
	margin-top: 10px;
	padding-bottom: 15px;
	position: relative;
}
.footer-columns h3:after{
	content: '';
    width: 30px;
    height: 2px;
    background: #fff;
    position: absolute;
    right: 0;
    left: 0;
    /* margin: auto; */
	bottom: 8px;
}

.footer-columns ul li{
	color: #333;
	padding-bottom: 6px;
    padding-top: 6px;
    border-bottom: solid #b2b0b0 1px;
	position: relative;
	padding-left: 17px;
}
.footer-columns ul li:before{
	content: "\e080";
	position: absolute;
	left: 0;
    top: 7px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	font-size: 12px;
	color: #fff;
}
.footer-columns ul li a{
	color: #333;
}
.footer-columns ul li a:hover{
	text-decoration: none;
	color: #23527c;
}
.footer-columns div, .footer-columns div p{
	color: #333;
	margin-bottom: 5px;
}
.footer-columns div i{
	float: left;
	margin-right: 5px;
}
.address-wrap, .time-wrap, .phones-wrap{
	position: relative;
	padding-left: 30px;
	color: #333;
	margin: 15px 0;
}
.address-wrap:before{
	content: "\e062";
	position: absolute;
	left: 0;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	font-size: 18px;
}

.time-wrap:before{
	content: "\e023";
	position: absolute;
	left: 0;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	font-size: 18px;
}

.phones-wrap:before{
	content: "\e182";
	position: absolute;
	left: 0;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: 400;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	font-size: 18px;
}

/*------------------------------------*\
    PAGES
\*------------------------------------*/



/*------------------------------------*\
    IMAGES
\*------------------------------------*/



/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/

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

/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {

}
@media only screen and (min-width:480px) {

}
@media only screen and (min-width:768px) {

}
@media only screen and (min-width:1024px) {

}
@media only screen and (min-width:1140px) {

}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

@media (max-width: 1024px) {
	.nav-wrapper{
		padding-top: 10px;
	}
	.nav-wrapper .nav{
		display: none;
	}
	.responsive-menu{
		display: block;
	}
	.shiftnav .shiftnav-panel-close{
		height: 40px;
	}
	.shiftnav-wrap{
		padding-top: 0 !important;
	}
}
@media (max-width: 850px) {
	.header-wrapper{
		position: relative;
	}
	.header-wrapper div.wrap_h{
		position: absolute;
		top: 0;
		right: 5px;
		bottom: 0;
		margin: auto;
		height: 57px;
	}
}
@media (max-width: 480px) {
	.logo.col-md-8 {
		padding-left: 0;
		width: 100%;
		text-align: center;
	}
	.header-wrapper div.wrap_h{
		width: 100%;
		text-align: center;
		margin-bottom: 15px;
		position: relative;
	}
}

/*------------------------------------*\
    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 {

}

.services-boxes{
	margin-bottom: 15px;
	float: left;
    width: 100%;
}
.services-boxes .box-col{
	background: #bcbdc1;
	border: 2px solid #797878;
	margin: 5px 0 20px;
	max-height: 260px;
    overflow: hidden;
	padding: 5px;
}
.services-boxes h3{
	font-size: 16px;
	color: #333;
	font-weight: 600;
	margin-top: 5px;
    margin-bottom: 10px;
    text-align: center;
}
.services-boxes .box-col img{
	max-height: 210px;
    width: 100%;
	border: 1px solid #999;
}
.services-boxes .box-col a{
	position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.dynamic-sidebar.col-md-3{
	padding: 0;
	margin-bottom: 30px;
}
.dynamic-sidebar .widget_text, .dynamic-sidebar .widget_wp_sidebarlogin{
	background: #eee;
	margin: 12px 0;
	border: 2px solid #23527c;
	padding: 10px;
}
.dynamic-sidebar h3{
	font-size: 18px;
	text-align: center;
	margin-top: 5px;
	margin-bottom: 15px;
	color: #23527c;
}
.dynamic-sidebar .textwidget, .sidebar_login_links, #loginform{
	padding: 10px;
    background: #ddd;
}
.dynamic-sidebar .textwidget .img-wrap{
	margin: 0 0 10px;
	max-height: 140px;
	overflow: hidden;
}
.dynamic-sidebar .textwidget .img-wrap:last-of-type{
	margin-bottom: 0;
}
.logout-link a{
	color: #fff;
}
#loginform label{
	font-weight: 400;
	margin-bottom: 0;
}
.login-submit input[type=submit]{
	color: #333;
	margin-left: 2px;
}
.wpcf7-form{
	margin-bottom: 30px;
	margin-left: 25px;
}
.wpcf7 label{
	font-weight: 400;
    font-size: 12px;
	width: 100%;
}
.wpcf7 p{
	margin-bottom: 0;
}
.wpcf7 textarea{
	width: 350px;
}
.wpcf7 input[type="submit"]{
	color: #333;
    font-weight: 600;
    padding: 3px 25px;
	margin-top: 10px;
}
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form textarea, .wpcf7-form input[type="tel"], .wpcf7-form input[type="date"]{
	padding: 10px 15px;
    border: 0;
    border-radius: 5px;
    border: 1px solid #ddd;
	background: #eee;
    width: 100%;
}
.wpcf7-form-control-wrap{
	width: 100%;
}
.col-md-12.calc-wrap{
	padding: 0;
}
.calc-wrap .col-md-4{
	padding-left: 0;
}
.calc-wrap .address-wrap, .calc-wrap .time-wrap, .calc-wrap .phones-wrap{
	color: #999;
}
.calc-wrap .address-wrap{
	margin-top: 0;
}
.calc-wrap p{
	margin: 0;
	font-size: 12px;
}
.error404 article a{
	margin-left: 17PX;
}
section .certificates img{
	height: auto;
    max-height: 270px;
	max-width: 200px;
}
.aigpl-album-design-1 .aigpl-img-title{
	font-size: 13px;
}
.aigpl-design-1 .aigpl-img-wrp{
	padding: 5px;
    background: #ddd
}
.aigpl-album-design-1 .aigpl-img-count {
    color: #666;
}
.aigpl-gallery-grid{
	margin: 0 -10px;
}
.aigpl-album-design-1 .aigpl-img-wrp{
	height: 175px;
}
.widget_wp_sidebarlogin form .input{
	color: #333;
}
.aigpl-col-5{
	height: 290px;
}
.aigpl-gallery-album-wrp .aigpl-img-wrp::after, .aigpl-gallery-album-wrp .aigpl-img-wrp{
	border-color: #999;
}
.breadcrumbs.gallery-p{
	margin-left: 15px;
}
.aigpl-design-1 .aigpl-img-caption{
	display: none;
}
.order-button{
	padding: 8px 10px;
    background: #23527c;
    width: 150px;
    text-align: center;
    border-radius: 5px;
    position: absolute;
    right: 0;
    top: -20px;
	cursor: pointer;
}
.order-button a{
	font-weight: 600;
	color: #fff;
	text-transform: uppercase;
	font-size: 13px;
}
.order-button:hover a{
	text-decoration: none;
	color: #eee;
}
.order-button:hover{
	background: #134c80;
}
.sidebar-img{
	text-align: center;
    margin-top: 15px;
}

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