/*
Theme Name: Byg Theme
Theme URI: http://www.byg-communication.com/
Author: Byg communication
Author URI: http://www.byg-communication.com/
Description: Description
Version: 2.17
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: byg_theme
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
1.0 Reset
2.0 Typography
3.0 Elements
4.0 Forms
5.0 Navigation
        5.1 Links
        5.2 Menus
6.0 Accessibility
7.0 Alignments
8.0 Clearings
9.0 Widgets
10.0 Content
        10.1 Posts and pages
        10.2 Asides
        10.3 Comments
11.0 Infinite scroll
12.0 Media
        12.1 Captions
        12.2 Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1.0 Reset
--------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
    border: 0;
    font-family: inherit;
    font-size: 100%;
    font-style: inherit;
    font-weight: inherit;
    margin: 0;
    outline: 0;
    padding: 0;
    vertical-align: baseline;
}
h1, h2, h3, h4, h5, h6{
    color: #008638;
}
html {
    font-size: 62.5%; /* Corrects text resizing oddly in IE6/7 when body font-size is set using em units http://clagnut.com/blog/348/#c790 */
    overflow-y: scroll; /* Keeps page centered in all browsers regardless of content height */
    -webkit-text-size-adjust: 100%; /* Prevents iOS text size adjust after orientation change, without disabling user zoom */
    -ms-text-size-adjust:     100%; /* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/ */
    box-sizing: border-box; /* Apply a natural box layout model to the document; see http://www.paulirish.com/2012/box-sizing-border-box-ftw/ */
}
*,
*:before,
*:after { /* Inherit box-sizing to make it easier to change the property for components that leverage other behavior; see http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
    box-sizing: inherit;
}

body {
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
nav,
section {
    display: block;
}

ol,
ul {
    list-style: none;
}

table { /* tables still need 'cellspacing="0"' in the markup */
    border-collapse: separate;
    border-spacing: 0;
}

caption,
th,
td {
    font-weight: normal;
    text-align: left;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
    content: "";
}

blockquote,
q {
    quotes: "" "";
}

a:focus {
    outline: thin dotted;
}

a:hover,
a:active {
    outline: 0;
}

a img {
    border: 0;
}
.sub-menu {
    background: #fff;
  }
.menu>.menu-item>.sub-menu>li{

}
.menu>.page-item>.sub-menu>li{

}

.menu-item, .page_item, .current_page_item{
    margin-right: 20px;
    margin-top: 2px;
    position:relative;
}


/* Shortcodes */

.full_box {max-width:100%;}
.content-boxes {max-width:980px; margin:0 auto; }
/*.contenu {max-width:980px; margin:0 auto;}*/
.one_half, .three_fourth, .one_fourth, .one_third, .two_third{
    float: left; line-height:21px; margin-bottom:20px; position:relative;
}
.one_half, .three_fourth, .one_fourth{ margin-right: 4%;}
.one_third, .two_third{ margin-right: 3%;}
.one_half { 	width: 48%; }
.one_third { width: 30.3333%; }
.two_third { width: 63.665%; }
.one_fourth { width: 22%; }
.three_fourth { width: 74%; }

@media (max-width: 768px){
   .one_half, .three_fourth, .one_fourth, .one_third, .two_third{
    float: none; line-height:21px; margin-bottom:20px; position:relative;
}
.one_half, .three_fourth, .one_fourth{ margin-right: 0;}
.one_third, .two_third{ margin-right: 0;}
.one_half { 	width: 100%; }
.one_third { width: 100%; }
.two_third { width: 100%; }
.one_fourth { width: 100%; }
.three_fourth { width: 100%; }
}


.last { margin-right: 0 !important; clear: right; }
/*.clear {clear:both;}*/
.clearboth, .clear { clear: both; display: block; font-size: 0px; height: 0px; line-height: 0; width: 100%; overflow:hidden; }
.shortcode-tabs .tab-hold .tabs li{
	border-right:0 !important;
}
.shortcode-tabs .tab-hold .tabs li a{
	display:block !important;
	width:100% !important;
	padding:0 !important;
	text-indent:15px !important;
	background:
	url(images/shortcode_sep.png) no-repeat center right,
	url(images/tab-bg.png) repeat-x top left !important;
}
.shortcode-tabs .tab-hold .tabs li:last-child a{
	background:
	url(images/tab-bg.png) repeat-x top left !important;	
}
.shortcode-tabs .tab-hold .tabs li.active a{
	background:none !important;
}
.shortcode-tabs .tab_content{
	padding:15px !important;
	overflow:hidden;
}
.shortcode-tabs .tab_content *:last-child{
	margin-bottom:0;
}
.shortcode-tabs{
	margin-bottom:50px;
}


/*************************

		HAMBURGER

**************************/

.hamburger-menu {
	position:relative;
	width:35px;
	margin:0 auto;
	height:25px;
	display:none;
	cursor: pointer;
}

.hamburger-menu .pipes {
	width:100%;
	height:5px;
        background: #fff;
	position: absolute;
	-webkit-transition:all 0.3s ease-out;
	-khtml-transition:all 0.3s ease-out;
	-moz-transition:all 0.3s ease-out;
	-ms-transition:all 0.3s ease-out;
	-o-transition:all 0.3s ease-out;
	transition:all 0.3s ease-out;
}

.hamburger-menu .pipe1 {
	top:0;
}

.hamburger-menu .pipe2 {
	top:10px;
}

.hamburger-menu .pipe3 {
	top:20px;
}

.hamburger-menu.active .pipes {
	border-radius:7px;
}

.hamburger-menu.active .pipe1 {
	top: 3px;
	left: 12px;
	width: 70%;
	-webkit-transform: rotate(50deg);
	-khtml-transform: rotate(50deg);
	-moz-transform: rotate(50deg);
	-ms-transform: rotate(50deg);
	-o-transform: rotate(50deg);
	transform: rotate(50deg);
}

.hamburger-menu.active .pipe2 {
	-webkit-transform:rotate(90deg);
	-khtml-transform:rotate(90deg);
	-moz-transform:rotate(90deg);
	-ms-transform:rotate(90deg);
	-o-transform:rotate(90deg);
	transform:rotate(90deg);
}

.hamburger-menu.active .pipe3 {
	top: 3px;
	right: 12px;
	width: 70%;
	-webkit-transform: rotate(-50deg);
	-khtml-transform: rotate(-50deg);
	-moz-transform: rotate(-50deg);
	-ms-transform: rotate(-50deg);
	-o-transform: rotate(-50deg);
	transform: rotate(-50deg);
}



/*--------------------------------------------------------------
4.0 Forms
--------------------------------------------------------------*/
button,
input,
select,
textarea {
	font-size: 100%; /* Corrects font size not being inherited in all browsers */
	margin: 0; /* Addresses margins set differently in IE6/7, F3/4, S5, Chrome */
	vertical-align: baseline; /* Improves appearance and consistency in all browsers */
}

input[type="checkbox"],
input[type="radio"] {
	padding: 0; /* Addresses excess padding in IE8/9 */
}

input[type="search"] {
	-webkit-appearance: textfield; /* Addresses appearance set to searchfield in S5, Chrome */
	box-sizing: content-box;
}

input[type="search"]::-webkit-search-decoration { /* Corrects inner padding displayed oddly in S5, Chrome on OSX */
	-webkit-appearance: none;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
textarea:focus {
	color: #111;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
	padding: 3px;
}

textarea {
	overflow: auto; /* Removes default vertical scrollbar in IE6/7/8/9 */
	padding-left: 3px;
	vertical-align: top; /* Improves readability and alignment in all browsers */
	width: 100%;
}


/* More Shortcodes */
.highlight1 { background:#f6f67a; padding:2px; }
.highlight2 { background:#000; color:#CCC; padding:2px; }
.dropcap { font-size:62px; margin-right:6px; padding-top:11px; text-transform: uppercase; float: left; position: relative; top: 5px; color:#83c54f; padding-bottom:11px;}
.video-shortcode{margin-bottom:25px;}

ul.arrow{
	list-style:none;
	margin:0;
	padding:0;
}
ul.arrow li:before{
	display:inline-block;
	background-image:url(images/arrow-bullet.png);
	background-repeat:no-repeat;
	background-position:center center;
	background-color:#a0ce4e;
	height:18px;
	-moz-border-radius:75px;
	-webkit-border-radius:75px;
	width:18px;
	content:' ';
	float:left;
	margin-right:0;
	margin-left:-25px;
}
ul.arrow li{
	line-height:18px;
	margin:0;
	padding:0;
	margin-bottom:15px;
	padding-left:25px;
}

/*--------------------------------------------------------------
5.2 Menus
--------------------------------------------------------------*/

.main-navigation {
	clear: both;
	display: block;
	width: 100%;
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding-left: 0;
	/*font-size:0;*/
	text-align: center;
}


.main-navigation li,
.bottom-menu ul li
{
	display: inline-block;
}
.bottom-menu ul#menu-bottom-menu li a{
    color:#fff !important;
    text-transform: uppercase;
    text-decoration: none !important;
    font-size: 12px;
    -webkit-transition: opacity 300ms;
    -moz-transition: opacity 300ms;
    -o-transition: opacity 300ms;
    transition: opacity 300ms;
}
.bottom-menu ul#menu-bottom-menu li{
    border-right: 1px solid rgba(255,255,255,0.5);
    padding-right: 6px;
    margin-right: 2px;
    line-height: 10px;
}
.bottom-menu ul#menu-bottom-menu li a:hover{
    opacity: .5;
}

.bottom-menu ul#menu-bottom-menu li:last-child{
    border-right: 0;
    padding-right: 0px;
    margin-right: 0px;
}
.main-navigation a {
	display: block;
	text-decoration: none;
        padding: 5px 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 45px;
	left: -9999px;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999px;
	top: 0;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul ul li {

}

.main-navigation li:hover > a {
}

.main-navigation ul ul :hover > a {
}

.main-navigation ul ul a:hover {
}

.main-navigation ul li:hover > ul {
	left: auto;
}

.main-navigation ul ul li:hover > ul {
	left: 100%;
}

.main-navigation .current_page_item > a,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_ancestor > a {
}

/* Small menu */
.menu-toggle {
	display: none;
}
.p20 {
  /*padding: 20px;*/
}

.container {
	padding:0;
}

/************************

		HEADER 

************************/

.wrapper {
	max-width:1200px;
	margin:0 auto;
}

#header .logo {
	text-align: center;
        max-width: 100%;
        margin: 20px 0;
        float:left;
}
.header-slider{
    
    background: rgba(0,134,56,.85);
    box-shadow: 0 5px 4px rgba(0,0,0,.15);
    border-bottom: solid 2px #f22424;
}
#header .logo img{
        max-height: 100px;
}
h1.page-title-h1{
    font-family: Arial,sans-serif;
    text-transform: uppercase;
    padding: 8px 14px;
    font-size: 36px;
    font-weight: 700;
    line-height: 50px;    
    color: #008638;
    
}

.header-widget-col{
    margin: 40px;
    padding-left: 20px;
    font-family: inherit;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    text-rendering: optimizeLegibility;
    border-left: 1px solid rgba(255,255,255,.15);
}
.header-widget-col .phone span{
    color: #ffdd48;
    font-weight: 600;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}
.loc-icon,
.phone-icon
{
    color: #fff;
    height: 50px;
    width: 50px;
    font-size: 50px !important;
    -webkit-transform: translateY(1.2rem);
    -moz-transform: translateY(1.2rem);
    -o-transform: translateY(1.2rem);
    -ms-transform: translateY(1.2rem);
    transform: translateY(1.2rem);
    -webkit-transition: color .3s ease-in-out,opacity .3s ease-in-out,-webkit-transform .3s ease-in-out;
    -moz-transition: color .3s ease-in-out,opacity .3s ease-in-out,-moz-transform .3s ease-in-out;
    -o-transition: color .3s ease-in-out,opacity .3s ease-in-out,-o-transform .3s ease-in-out;
    transition: color .3s ease-in-out,opacity .3s ease-in-out,-webkit-transform .3s ease-in-out,-moz-transform .3s ease-in-out,-o-transform .3s ease-in-out,transform .3s ease-in-out;
}
.header-links{
    display: block;
    width: 80px;
    text-align: center;
    text-decoration: none !important;
}

.header-links:hover .loc-icon,
.header-links:hover .phone-icon
{
    color: #ffdd48;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -o-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
}

.header-link-txt{
    font-family: Arial,sans-serif;
    text-transform: uppercase;
    color: #86ffb9;
    opacity: 0;
    -webkit-transition: color .3s ease-in-out,opacity .3s ease-in-out;
    -moz-transition: color .3s ease-in-out,opacity .3s ease-in-out;
    -o-transition: color .3s ease-in-out,opacity .3s ease-in-out;
    transition: color .3s ease-in-out,opacity .3s ease-in-out;
}

.header-links:hover .header-link-txt{
    font-weight: 600;
    color: #ffdd48;
    opacity: 1;
}
.sub-header-items{
   position: relative;
   top: -134px;
   z-index: 2;
}

.sub-header-item{
    border-style: solid;
    border-width: 1px;
    border-color: #d9d9d9;
    margin-bottom: 1.25rem;
    background: #f2f2f2;
    margin-bottom: -108px;
    padding: .5rem .5rem 1rem;
    -webkit-box-shadow: 0 3px 3px rgba(0,0,0,.05);
    -moz-box-shadow: 0 3px 3px rgba(0,0,0,.05);
    box-shadow: 0 3px 3px rgba(0,0,0,.05);
    
}
.sub-header-item-header{
    height:140px; 
    width: 100%; 
    background-size:cover;
    background-position: center center;
}
.sub-header-item-title{
      color: #008638;  
      text-transform: uppercase;  
      font-size: 19px;  
      font-weight: 600;  
      margin-top: 8px; 
      text-align: center;
}
.sub-header-item-button{
    width:100%; 
    cursor: pointer; 
    font-weight: 600 !important; 
    line-height: normal; 
    margin-top: 20px;  
    position: relative; 
    text-decoration: none !important;
    display: inline-block; 
    padding: 17px 32px 16px; 
    font-size: 15px; 
    
    background: #f22424;  
    color: #fff;   
    -webkit-appearance: none;   
    border: none;    
    -webkit-transition: background-color 300ms ease-out;    
    -moz-transition: background-color 300ms ease-out;    
    -o-transition: background-color 300ms ease-out;   
    transition: background-color 300ms ease-out; 
    font-family: Arial,sans-serif;
    text-transform: uppercase;
    -webkit-transition: color .3s ease-in-out;
    -moz-transition: color .3s ease-in-out;
    -o-transition: color .3s ease-in-out;
    transition: color .3s ease-in-out;
    text-align: center;
}

.sub-header-item-button:hover{
    color: #ffdd48;
    background-color: #008638;    
}

/************************

		NAVIGATION 

************************/

.main-navigation li {

}
.menu{
    font-family: Helvetica,sans-serif;
    font-size: 16px;
}
.top-menu ul li>a {
    background: 0 0;
    
    color: #fff;
    font-weight: 600;
    text-align: left;
    padding: 0 20px;
    line-height: 45px;
    text-transform: uppercase;
    text-decoration: none !important;
    border-bottom: 0 solid #f22424;
    -webkit-transition: color .3s,background .3s,border-bottom .3s;
    -moz-transition: color .3s,background .3s,border-bottom .3s;
    -o-transition: color .3s,background .3s,border-bottom .3s;
    transition: color .3s,background .3s,border-bottom .3s;
}
.top-menu .current-menu-item a:hover {
    text-decoration: none !important;
}

.top-menu ul li:hover>a {
    color: #008638 !important;
    border-bottom: 5px solid #f22424;
    background: #ffdd48;
}
.main-navigation > ul {
    height: 45px;
}
.main-navigation ul li {
    float:left;
    margin: 0;
}
#BygTheme_Menu{
    text-align: center;
}
.main-navigation{
    width: auto;
    height: 40px;
    display: inline-block;
}

.menu-item, .page_item, .current_page_item {
    margin-top: 0px; 
}
/***************************

		BOUTON & READING BOX

***************************/

.button {
	padding:10px;
	background:white;
	color:black;
	float:right;
	-webkit-transition:all 0.2s linear;
	-khtml-transition:all 0.2s linear;
	-moz-transition:all 0.2s linear;
	-ms-transition:all 0.2s linear;
	-o-transition:all 0.2s linear;
	transition:all 0.2s linear;
}

.button:hover {
	background:grey;
	color:white;
}

.reading-box {
	background:whitesmoke;
	border-left:3px solid black;
	padding:15px 25px;
}

.reading-box h2 {
	margin-top:0;
}


/***************************

		SITEMAP

***************************/

.sitemap-blocs {
	display: inline-block;
	vertical-align: top;
	width: 49%;
}

.sitemap-blocs ul {
	padding-left:40px;
}

/***************************

			SINGLE

***************************/

.single-left {
	width:65%;
	display:inline-block;
	vertical-align: top;
}

.single-right {
	width:30%;
	display:inline-block;
	vertical-align: top;
	margin-left: 40px;
}

.nav-links {
	text-align: right;
	padding:10px 0;
}

.nav-links .nav-next,
.nav-links .nav-previous {
	border:1px solid #3f3f3f;
	margin:0 2px;
	display:inline-block;
	vertical-align: top;
	padding:10px;
}

.nav-links a {
	color:#3f3f3f;
}

.separator {
	height:40px;
	margin:25px 0;
}

.container-social-share {
	background:whitesmoke;
	padding:50px 25px 20px;
}

.container-social-share h4 {
	float:left;
	margin-top: 0;
	margin-right:50px;
}

.social-share {

}

.social-share a {
	color:#3f3f3f;
	margin:0 5px;
	position:relative;
	text-align: center;
	display: inline-block;
}

.social-share .popup-social {
	padding:5px;
	position:absolute;
	top:-45px;
	opacity:0;
	background:#3f3f3f;
	color:#ffffff;
	transition:all 0.2s linear;
}

.social-share .popup-social::before {
	content:'';
	border-top:5px solid #3f3f3f;
	border-right:5px solid transparent;
	border-bottom:5px solid transparent;
	border-left:5px solid transparent;
	bottom:-28px;
	position:relative;
}

.social-share a:hover .popup-social {
	opacity:1;
}

.social-share a:hover {
	text-decoration:none;
}

.social-share i {
	font-size:24px;
}


/***************************

		FOOTER 

****************************/

#colophon {
	padding:15px 0;
}


/***************************

		RESPONSIVE

***************************/
@media screen and (max-width: 980px) {
	.single-left,
	.single-right {
		display:block;
		width:100%;
		margin:0 auto;
	}
}

@media screen and (min-width: 980px) {
	.container {
		width: 100%!important;
	}

	.mobile-button {
		display:none;
	}

	.sitemap-blocs {
		display: block;
		width: 100%;
	}
}

@media screen and (min-width:320px) and (max-width:720px) {
	.main-navigation {
		display:none;
	}

	.hamburger-menu {
		display:block;
	}
}
.footer-widget-col{
    float:left;
    width:25%;
}
.social-col{
    margin-right: 10px;
}
.social-col-inside{
    float:left;
}

.gmap{
    position:relative;
    min-height: 300px;
    min-width: 300px;
}
/**
 * 5.4 Galleries
 * ----------------------------------------------------------------------------
 */

.gallery {
	margin-bottom: 20px;
	margin-left: -4px;
}

.gallery-item {
	float: left;
	margin: 0 4px 4px 0;
	overflow: hidden;
	position: relative;
        width: 100%;
}
.gallery-item img{
    width: 100%;
}

/*.gallery-columns-1.gallery-size-medium,
.gallery-columns-1.gallery-size-thumbnail,
.gallery-columns-2.gallery-size-thumbnail,
.gallery-columns-3.gallery-size-thumbnail {
	display: table;
	margin: 0 auto 20px;
}

.gallery-columns-1 .gallery-item,
.gallery-columns-2 .gallery-item,
.gallery-columns-3 .gallery-item {
	text-align: center;
}*/

.gallery-columns-2 .gallery-item {
	max-width: 49%;
	max-width: -webkit-calc(50% - 4px);
	max-width:         calc(50% - 4px);
}

.gallery-columns-3 .gallery-item {
	max-width: 32%;
	max-width: -webkit-calc(33% - 4px);
	max-width:         calc(33% - 4px);
}


.gallery-columns-4 .gallery-item {
	max-width: 23%;
	max-width: -webkit-calc(25% - 4px);
	max-width:         calc(25% - 4px);
}

.gallery-columns-5 .gallery-item {
	max-width: 19%;
	max-width: -webkit-calc(20% - 4px);
	max-width:         calc(20% - 4px);
}

.gallery-columns-6 .gallery-item {
	max-width: 15%;
	max-width: -webkit-calc(16.7% - 4px);
	max-width:         calc(16.7% - 4px);
}

.gallery-columns-7 .gallery-item {
	max-width: 13%;
	max-width: -webkit-calc(14.28% - 4px);
	max-width:         calc(14.28% - 4px);
}

.gallery-columns-8 .gallery-item {
	max-width: 11%;
	max-width: -webkit-calc(12.5% - 4px);
	max-width:         calc(12.5% - 4px);
}

.gallery-columns-9 .gallery-item {
	max-width: 9%;
	max-width: -webkit-calc(11.1% - 4px);
	max-width:         calc(11.1% - 4px);
}

.gallery-columns-1 .gallery-item:nth-of-type(1n),
.gallery-columns-2 .gallery-item:nth-of-type(2n),
.gallery-columns-3 .gallery-item:nth-of-type(3n),
.gallery-columns-4 .gallery-item:nth-of-type(4n),
.gallery-columns-5 .gallery-item:nth-of-type(5n),
.gallery-columns-6 .gallery-item:nth-of-type(6n),
.gallery-columns-7 .gallery-item:nth-of-type(7n),
.gallery-columns-8 .gallery-item:nth-of-type(8n),
.gallery-columns-9 .gallery-item:nth-of-type(9n) {
	margin-right: 0;
}

.gallery-columns-1.gallery-size-medium figure.gallery-item:nth-of-type(1n+1),
.gallery-columns-1.gallery-size-thumbnail figure.gallery-item:nth-of-type(1n+1),
.gallery-columns-2.gallery-size-thumbnail figure.gallery-item:nth-of-type(2n+1),
.gallery-columns-3.gallery-size-thumbnail figure.gallery-item:nth-of-type(3n+1) {
	clear: left;
}

.gallery-caption {
	background-color: rgba(0, 0, 0, 0.7);
	box-sizing: border-box;
	color: #fff;
	font-size: 14px;
	line-height: 1.3;
	margin: 0;
	max-height: 50%;
	opacity: 0;
	padding: 2px 8px;
	position: absolute;
	bottom: 0;
	left: 0;
	text-align: left;
	-webkit-transition: opacity 400ms ease;
	transition:         opacity 400ms ease;
	width: 100%;
}

.gallery-caption:before {
	box-shadow: 0 -10px 15px #000 inset;
	content: "";
	height: 100%;
	min-height: 49px;
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
}

.gallery-item:hover .gallery-caption {
	opacity: 1;
}

.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}
.clear:before,
.clear:after,
.attachment .entry-header:before,
.attachment .entry-header:after,
.site-footer .widget-area:before,
.site-footer .widget-area:after,
.entry-content:before,
.entry-content:after,
.page-content:before,
.page-content:after,
.navigation:before,
.navigation:after,
.nav-links:before,
.nav-links:after,
.gallery:before,
.gallery:after,
.comment-form-author:before,
.comment-form-author:after,
.comment-form-email:before,
.comment-form-email:after,
.comment-form-url:before,
.comment-form-url:after,
.comment-body:before,
.comment-body:after {
	content: "";
	display: table;
}
.gallery:after{
    clear:both;
}
.entry-content img, .entry-summary img, .comment-content img, .widget img, .wp-caption {
  max-width: 100%;
}
.entry-content img, .entry-summary img, .comment-content img[height], img[class*="align"], img[class*="wp-image-"], img[class*="attachment-"] {
  height: auto;
}
.carousel-wrapper a img{
    width: 100%;
}
div[u='slides'] .container{
    text-align: center;
}
div[u='slides'] .container a{
display:inline-block;    
}
.mycontainer {
        width: 1170px;
    }
@media (max-width: 1200px){
    .mycontainer {
        width: 1170px;
    }
}
@media (max-width: 992px){
    .mycontainer {
        width: 970px;
    }
}
@media (max-width: 768px){
    .mycontainer {
        width: 100%;
    }
}
.mycontainer {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}
@media (max-width: 768px){
    .footer-widget-col {
        min-width: 220px;
        display: inline-block;
        float:none;
        text-align: left;
        position: relative;
        line-height:100%;

    }
  .site-footer .container{
        text-align: center;
        white-space: pre-line;
        *white-space: pre /*FixIE7*/;
        *word-wrap: break-word /*FixIE7*/;
    }
    .copyright{
        text-align: left;
    }
    .continue.button{
        display: none;
    }
    .continue.mobile-button{
        display: block;
        width: 100%;
        float: none;
    }
    .continue.mobile-button:after{
        clear:both;
    }
 }
 img{
     max-width: 100%;
 }
 #wpadminbar ul li a{
     color:#fff !important;
 }
 
 
 
 
 
 
 .view {
   width: 99%;
   height: 99%;
   border: 5px solid #fff;
   overflow: hidden;
   position: relative;
   text-align: center;
   box-shadow: 0px 0px 5px #aaa;
}

.view .mask, .view .content {
   width: 100%;
   height: 100%;
   position: absolute;
   overflow: hidden;
   top: 0;
   left: 0;
}

.view img {
   display: block;
   position: relative;
}

.view a.info {
   background-image: url('images/link.png');
   display: inline-block;
   text-decoration: none;
   padding:0;
   text-indent:-9999px;
   width:20px;
   height:20px;
   background-repeat: no-repeat;
    
}
 
 
 
.effect img {
   opacity:1;
   transform:scale(1,1);
   transition: all 0.2s ease-in;
}

.effect .mask {
   opacity:0;
   overflow:visible;
   border-color:rgba(0,0,0,0.7) transparent transparent transparent;
   border-style:solid;
   border-width:112px;
   width:0;
   height:0;
   transform:translateY(-125px);
   transition: transform 0.2s 0.1s ease-out, opacity 0.3s ease-in-out;
}

.effect a.info {
   opacity:0;
   transform:translateY(-100px);
   transition: transform 0.3s ease-in, opacity 0.1s ease-in-out;
}

.effect:hover img {
   opacity:0.7;
   transform:scale(2,2);
}

.effect:hover .mask {
   opacity: 1;
   transform: translateY(0px);
}

.effect:hover a.info {
   opacity:1;
   transform:translateY(70px);
}
/*.view.effect{
    cursor:pointer;
}*/


.fifth-effect img {
   opacity:0.2;
   transition: all 0.3s ease-in;
}

.fifth-effect .mask {
   cursor:pointer;
   opacity:1;
   visibility:visible;
   border:113px solid rgba(0,0,0,0.8);
   box-sizing:border-box;
   transition: all 0.4s cubic-bezier(0.940, 0.850, 0.100, 0.620);
}

.fifth-effect:hover .mask {
   border:0px double rgba(0,0,0,0.8);
   opacity:0;
   visibility:hidden;
}

.fifth-effect:hover img {
   opacity:1;
}
.fourth-effect .mask {
   position:absolute; /* Center the mask */
   top:50px;
   left:50px;
   cursor:pointer;
   border-radius: 50%;
   border-width: 100%;
   display: inline-block;
   height: 150px;
   width: 150px;
   border: 100px solid rgba(0, 0, 0, 0.7);
   box-sizing:border-box;
   opacity:1;
   visibility:visible;
   transform:scale(4);
   transition:all 0.3s ease-in-out;
}

.fourth-effect:hover .mask {
   opacity: 0;
   border:0px solid rgba(0,0,0,0.7);
   visibility:hidden;
}
.callback_wrapper{
    position:fixed;
    bottom:150px;
    right: 15px;
    z-index:999;
    background-size: cover;
    width: 300px;
    height:160px;
    background-color:#fff;
    font-family: 'ABeeZee', sans-serif;
}
.callback_wrapper a{
    display: block;
    color: #fff !important;
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
}
.callback-bubble{
    position: absolute;
    width: 199px;
    height: 46px;
    border-radius: 4px 4px 0px 4px;
    top: -1px;
    left: -1px;
    text-align: center;
    line-height: 46px;
    font-size: 14px;
    font-weight: 400;
        
}
.callback-main-content{
    padding: 54px 100px 20px 20px;
    font-weight: 500;
    font-size: 13px;
    display: table-cell;
    vertical-align: middle;
    height: 156px;
}

.callback_wrapper{
    cursor: pointer;
}

.callback-bubble:after {
    content: "";
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid transparent;
    bottom: -40px;
    position: absolute;
    right: 0px;
}

.callback_wrapper a:visited{

}

.callback-btn{
    padding: 10px;
    font-weight: 4  00;
    text-align: center;
}
.callback-form-wrapper{
    padding:20px;
    color:#333;
    font-family: 'ABeeZee', sans-serif;
}

body .callback-form-wrapper h1{
    color: #333 !important;
    text-align: center;
    font-size: 14px !important;
    font-weight: 400;
    margin-top: 5px;
    display: inline-block;
    width: 100%;
}
.callback-form-wrapper .callback-form .capcha-input{
    float: right !important;
    width: 216px;
}
.callback-form-wrapper .callback-form .capcha-image{
    float:left;
}


.callback-form-wrapper .label-text{
/*    font-weight: 500;
    font-size: 13px;*/
}
.callback-description{
    text-align: center;
}
.callback-form-wrapper textarea{
    resize:none;
}
    

.callback-form-wrapper .form-control
{
    width:100%;
}
.friend-check{
    display: none;
}
.error-text{
    color:#ff0000;
    font-size: 10px;
    min-height: 14px;
}
.callback-minimize{
    position: fixed;
    right: 122px;
    z-index: 2000;
    bottom: 278px;
    border: 0;
    padding: 0px 6px;
    border-radius: 5px;
    cursor: pointer;
}
.callback-minimize i{
    color:#ddd;
}
.top-image-wrapper{
    background-size:cover; 
    width:100%; 
    height:300px;
}
.header-widget-col{
    float:left; max-width:500px;
}
.header-widget-links{
    float:right; margin-top:30px;
}
#master-header{
    width: 100%;
    position: absolute;
    top: 0;
    background: rgba(0,134,56,.85);
    color: #fff;
    z-index: 22;
}
.ico-item{
    float: left; width: 80px;
}
#BygTheme_Menu{
    background: rgba(0,109,45,.95); position: relative;
}
.scrollUp-wrapper{
    float:right !important;
}
.contact-col{
        padding-top: 33px;
        margin-bottom: 20px;
}
.contact-col-name{
    font-family: Helvetica,sans-serif;  
    color: #ffdd48; 
    font-size: 18px; 
    text-transform: uppercase;     
    font-weight: 700;line-height: inherit
}
.prefooter{
    background: #f22424; 
    color:#fff; 
    margin-top: 50px; 
    font-size: 16px;
}
.scrollUp{
    text-align: right; 
    margin: 37px 10px; 
    cursor:pointer;
}
.scrollUp i{
    font-size: 34px;
}
.contact-phone a{
    font-weight: bold; 
    color: #fff;
}
.site-footer{
    min-height: 50px; 
    background: #008638; 
    color:#fff; 
}
.site-footer .wrapper{
    padding: 0 15px;
}
.n2-padding{
    padding:0 !important
}
body{
    overflow-x: hidden;
}
.top-main-image{
    width:100%; 
    height:600px;
    background-size: cover;
}

.top-main-image.noimage{
    height: 240px;
}

.footer-social-ico{
    border: 2px #fff solid;
    padding: 9px 10px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    text-align: center;
    margin: 10px;
}
.footer-social-ico i{
    color:#fff;
}

.prefooter .social-col{
        padding-top: 10px !important;
}

.footer-logo{
    float:left;
    height: 40px;
    margin-right: 20px;
}
.footer-logo img{
    max-width: 100%;
    max-height: 100%;
}    

.site-footer .copyright{
    float:left;
    margin-top: 10px;
        
}
.site-footer .bottom-menu{
    float:right;
    margin-top: 10px;
}    
 
.header-widget-col .phone{
    display: inline-block;
}
    
    
    
@media (max-width: 1400px) {
}

@media (max-width: 1300px) {
    .sub-header-items {
        top: -74px;
    }
    .sub-header-item {
        margin-bottom: -48px;
    }
}

@media (max-width: 1250px) {
    
}

@media screen and (max-width:980px) {
    #master-header #header .header-widget-col{
        max-width:100%;
        padding: 20px;
    }
    .sub-header-item{
        margin-bottom: 0;
    }
    .sub-header-items .col-md-3,
    .sub-header-item{
        padding:0;
    }
}
@media screen and (max-width:768px) {
    .logo,.header-widget-col{
        width:100%;
    }
    #master-header{
        position: relative;
    }
    .wrapper{
        max-width: 100% !important;
    }
    .sub-header-items{
        top:0;
    }
    .header-slider{
    }
    #BygTheme_Menu{
        padding:20px !important;
    }
    #BygTheme_Menu .main-navigation ul{
        max-height: 500px;
        height: auto !important;
    }
    #BygTheme_Menu .main-navigation ul li{
        float: none;
        width: 100%;
        display: block;
    }
    #BygTheme_Menu .main-navigation ul li a{
        width: 100%;
        text-align: center;
        display: block !important;
        height: 45px;
    }
    .main-navigation{
        height: auto !important;
    }
    .logo, .header-widget-col, 
    .header-widget-links{
        width: 100%;
        margin: 0;
        float: none;
        text-align:center;
        padding:0;
    }
    .ico-item{
        display: inline-block;
        float:none;
    }
    .scrollUp-wrapper{
        display: none;
    }
    .contact-col{
        padding-top: 17px;
    }
    .prefooter{
        height:auto;
    }
    
    
    #menu-bottom-menu li a{
        font-size:11px !important;
    }
    h1.page-title-h1 {
        font-size: 30px;
    }
    .contact-address{
        margin-bottom: 20px;
    }
}
@media screen and (max-width:480px) {
    
}
.container.main-text{
    padding-top: 30px;
}
.container.main-text img{
    border-radius: 20px;
    border: 2px solid #FFF;
}

div[class*=one_]{
    text-align: justify;
}
.site-content.wrapper{
    min-height: 480px;
}
