/*
Theme Name: Beckenham Optometrist
Version: 1.0
Description: Custom website for Beckenham Optometrist
Author: Intervision Design
Author URI: http://www.intervision.com.au
*/





/************************************/
/*** CSS CODED BY EHREN FERGUSSON ***/
/************************************/

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

/************************************/
/************ START CSS *************/

body {
	background: #353A40;
	color: #000;
	font-family: 'Open Sans', sans-serif;
	font-size: 15px;
	font-weight: 300;
}
a {
	color:#38A898;
	font-weight: 400;
}
a:hover,
a:active {
	color:#38A898;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	line-height: 1.2em;
	font-weight: normal;
	text-transform: uppercase;
	font-family: 'BebasRegular', sans-serif;
}

/*a { -o-transition:.5s; -ms-transition:.5s; -moz-transition:.5s; -webkit-transition:.5s; transition:.5s; }*/
/* .round { -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; }*/

/************************************/
/*************** MAIN ***************/

/* Colors
	#353A40 = Dark Blue
	#38A898 = green
*/

#header { height: 90px; background: #353A40;}
	#logo { height: 90px; padding: 0 0 0 15px;
		text-align: left;
		display: flex;
		flex-direction: row;
	    flex-wrap: wrap;
	    justify-content: left;
	    align-items: center;
	}

/* Home */
#slideshow { position: relative; width: 100%; height: 80%; max-height: 600px; background: #353A40;}
	#slideshow .cycle-slideshow { height: 100%;}
	#slideshow .slide { width: 100%; height: 100%; background: no-repeat center center;
	-webkit-background-size: cover !important;
	-moz-background-size: cover !important;
	-o-background-size: cover !important;
	background-size: cover !important;}

#home_text { background: #fff;}
.home_text { padding: 60px 40px; color: #38A898; font-size: 18px; line-height: 1.5em; text-align: center; font-weight: 400;}

#action_block { background: #353A40; color: #fff; padding: 40px 0;}
	#action_block .span33 { position: relative;}
	#action_block i { color: #38A898; font-size: 50px; position: absolute; left: 0;}
	#action_block h3 { margin-left: 60px; font-size: 24px;}
	#action_block h5 { margin-left: 60px; font-size: 18px;}
	#action_block h2 { margin-left: 60px; font-size: 36px; padding-top: 5px;}
	#action_block .act_btn, .act_btn { display: inline-block; margin: 0 auto; text-align: center; padding: 12px 30px 10px 30px; color: #fff; background: #38A898; font-size: 24px; font-family: 'BebasBold', sans-serif; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; -o-transition:.5s; -ms-transition:.5s; -moz-transition:.5s; -webkit-transition:.5s; transition:.5s;}
	#action_block .act_btn:hover, .act_btn:hover { background: #fff; color: #38A898;}

#promo_block {}
	#promo_block .widg_img { min-height: 380px; background: no-repeat center center; position: relative; overflow: hidden;
	-webkit-background-size: cover !important;
	-moz-background-size: cover !important;
	-o-background-size: cover !important;
	background-size: cover !important;
	}
	#promo_block .widg_img h3 { position: absolute; color: #fff; bottom: 0; padding: 30px; text-align: center; z-index: 99; font-size: 48px; width: 100%;}
	#promo_block .widg_img span { position: absolute; width: 800px; height: 800px; background: #38A898; opacity: 0; top: 400px; left: 0; -o-transition:.5s; -ms-transition:.5s; -moz-transition:.5s; -webkit-transition:.5s; transition:.5s;}
	#promo_block .widg_img:hover span { opacity: 0.5; top: 200px; left: -400px;
	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	     -o-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
	#promo_block .big .widg_img {}
	#promo_block .big .widg_img h3 { bottom: auto; top: 50%; right: 50px; padding: 0; margin-top: -20px; text-align: right;}
	#promo_block .big .widg_img span { top: -800px; left: auto; right: -200px;}
	#promo_block .big .widg_img:hover span { top: -500px; right: -400px; left: auto;}
	
	#promo_block .widg_txt {  min-height: 380px; background: #fff; text-align: center; padding: 70px 60px 30px 60px;}
	#promo_block .widg_txt h3 { font-size: 36px; padding-bottom: 30px;}
	#promo_block .widg_txt .text {}
	#promo_block .widg_txt span { display: inline-block; padding: 10px 30px 8px 30px; text-align: center; margin: 0 auto; border: 2px solid #38A898; background: #fff; font-size: 20px; font-family: 'BebasBold', sans-serif; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; margin-top: 15px; -o-transition:.5s; -ms-transition:.5s; -moz-transition:.5s; -webkit-transition:.5s; transition:.5s;}
	#promo_block .widg_txt span:hover { background: #38A898; color: #fff;}
	
#action_block_2 { background: #38A898; color: #fff; padding: 40px 0;}
	#action_block_2 h3 { text-align: right; font-size: 36px; margin: 0 20px; line-height: 1em;}
	#action_block_2 p { text-align: right; margin: 0 20px;}
	#action_block_2 .act_btn2 { text-align: left; display: inline-block; padding: 12px 50px 10px 50px; color: #fff; border: 2px solid #fff; font-size: 24px; font-family: 'BebasBold', sans-serif; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; margin: 0 20px; -o-transition:.5s; -ms-transition:.5s; -moz-transition:.5s; -webkit-transition:.5s; transition:.5s;}
	#action_block_2 .act_btn2:hover { background: #fff; color: #38A898;}

#news_block { background: #fff; padding: 20px 0; text-align: center;}
	.news_item { text-align: center; padding: 20px;}
	.news_item .preview { width: 100px; height: 100px; margin: 0 auto; background: #38A898 no-repeat center center; border: 2px solid #38A898;
	-webkit-border-radius:60px; -moz-border-radius:60px; border-radius:60px;
	-webkit-background-size: cover !important;
	-moz-background-size: cover !important;
	-o-background-size: cover !important;
	background-size: cover !important;}
	.news_item h3 { padding: 20px 0; font-size: 24px;}
	.news_item .text { color: #000;}
	.news_btn { text-align: center; display: inline-block; padding: 12px 50px 10px 50px; color: #38A898; border: 2px solid #38A898; font-size: 20px; font-family: 'BebasBold', sans-serif; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; margin: 20px auto; -o-transition:.5s; -ms-transition:.5s; -moz-transition:.5s; -webkit-transition:.5s; transition:.5s;}
	.news_btn:hover { background: #38A898; color: #fff;}

/* Pages */

#cover { display: block; position: relative; height: 300px; background: no-repeat center center;
	-webkit-background-size: cover !important;
	-moz-background-size: cover !important;
	-o-background-size: cover !important;
	background-size: cover !important;
	}
	.cover_inner { position: absolute; width: 100%; bottom: 0; z-index: 9; background: rgba(56,168,152,0.7);}
	.cover_inner h1 { font-size: 36px; color: #fff; padding: 15px 0 10px 0; line-height: 1em;}
#content { padding: 40px 0; background: #fff;}
	.page_title { font-size: 48px; text-transform: lowercase; padding-bottom: 30px;}
	.page_title a { color: #000;}
	.page_side { padding-right: 40px;}

/* Posts */

#blog_cover { padding: 50px 0 60px 0; text-align: center; color: #fff; background: #38A898 url(_assets/img/blog.jpg) no-repeat center center;
	-webkit-background-size: cover !important;
	-moz-background-size: cover !important;
	-o-background-size: cover !important;
	background-size: cover !important;}
#blog_cover h5 { font-family: 'Open Sans', sans-serif; font-style: italic; text-transform: none; line-height: 1em;}
#blog_cover h1 { font-size: 48px; line-height: 1em;}
#blog_cover h5 a,
#blog_cover h1 a { color: #fff;}

.theposts { margin-bottom: 40px;}
	.theposts .details { padding: 20px 0;}
	.theposts .details h2 { color: #38A898; font-size: 24px; padding-bottom: 15px;}
	.theposts .details .text {}
	
	.theposts .details.dark { padding: 30px; background: #353A40; color: #fff; text-align: center;}
	.theposts .details.dark h2 { color: #38A898; font-size: 36px; padding-bottom: 15px;}
	.theposts .details.dark .text { color: #fff;}
	
.post_single { position: relative; padding:0 80px;}
	.post_content { position: relative;}
	.post_meta { position: absolute; left: -80px; width: 60px; top: 0;}
	.post-social { text-align: center;}
	.post-social li { display: block; position: relative; text-align: center;}
	.post-social li a { display: block; width: 40px; height: 40px; margin: 5px auto; padding-top: 8px; font-size: 16px; -webkit-border-radius:30px; -moz-border-radius:30px; border-radius:30px; -o-transition:.5s; -ms-transition:.5s; -moz-transition:.5s; -webkit-transition:.5s; transition:.5s;}
	.post-social li.fb a { border: 2px solid #3a589b; color: #3a589b;}
	.post-social li.tw a { border: 2px solid #1daaf1; color: #1daaf1;}
	.post-social li.go a { border: 2px solid #e14b33; color: #e14b33;}
	.post-social li.li a { border: 2px solid #137bb6; color: #137bb6;}
	
	.post-social li.fb a:hover { background: #3a589b; color: #fff;}
	.post-social li.tw a:hover { background: #51c7ef; color: #fff;}
	.post-social li.go a:hover { background: #e14b33; color: #fff;}
	.post-social li.li a:hover { background: #137bb6; color: #fff;}
	
	.post_single .prev_p a,
	.post_single .next_p a { margin: 20px;}
	
	.post_nav { display: block;}
	.post_nav a { display: block; margin: 10px; font-size: 20px; padding: 10px 20px; background: #38A898; color: #fff; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; font-family: 'BebasBold', sans-serif; text-align: center;}
	
	.other_cats { margin-bottom: 50px; position: relative;}
	.other_cats h3 { margin: 5px; padding: 7px 0 5px 0; text-align: center; background: #38A898; color: #fff; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; position: relative; font-family: 'BebasBold', sans-serif;}
	.other_cats h3.current { background: #353A40;}
	.other_cats h3.current:after { content: ''; position: absolute; left: 50%; bottom: -7px; margin-left: -7px; width: 0px; height: 0px; border-style: solid; border-width: 7px 7px 0 7px; border-color: #353A40 transparent transparent transparent;}
	
	.tagcloud { padding: 0 0 0 20px;}
	.tagcloud h4 { padding-bottom: 10px;}

#searchform { margin: 0 5px 20px 5px;}

/* Next / Prev */

.prev_p *,
.next_p * {-o-transition:.5s; -ms-transition:.5s; -moz-transition:.5s; -webkit-transition:.5s; transition:.5s;}
.prev_p a,
.next_p a { display: block; position: relative; margin: 20px;}
.prev_p h6,
.next_p h6 { font-size: 20px; padding: 10px 20px; background: #38A898; color: #fff; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px;}

.prev_p h6 { text-align: left;}
.next_p h6 { text-align: right;}

/* Sidebar */

#sidebar {}
	.side_widget { margin-bottom: 20px;}
	.side_widget .widg_img { position: relative; height: 280px; background: no-repeat center center; overflow: hidden;
	-webkit-background-size: cover !important;
	-moz-background-size: cover !important;
	-o-background-size: cover !important;
	background-size: cover !important;}
	.side_widget .widg_img h3 { position: absolute; bottom: 0; width: 100%; text-align: center; color: #fff; padding: 30px 20px; font-size: 36px; z-index: 9;}
	.side_widget .widg_img span { position: absolute; width: 400px; height: 400px; background: #38A898; opacity: 0; top: 300px; left: 0; -o-transition:.5s; -ms-transition:.5s; -moz-transition:.5s; -webkit-transition:.5s; transition:.5s;}
	.side_widget .widg_img:hover span { opacity: 0.5; top: 100px; left: -200px;
	-webkit-transform: rotate(45deg);
	   -moz-transform: rotate(45deg);
	     -o-transform: rotate(45deg);
	    -ms-transform: rotate(45deg);
	        transform: rotate(45deg);
	}
	
	.side_widget .widg_txt { background: #353A40; text-align: center; color: #fff; padding: 40px;}
	.side_widget .widg_txt h3 { font-size: 30px; padding-bottom: 30px;}
	.side_widget .widg_txt .text {}
	.side_widget .widg_txt span { display: block; text-align: center; border: 2px solid #38A898; color: #38A898; font-size: 20px; font-family: 'BebasBold', sans-serif; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; padding: 10px; -o-transition:.5s; -ms-transition:.5s; -moz-transition:.5s; -webkit-transition:.5s; transition:.5s;}
	.side_widget .widg_txt:hover span { background: #38A898; color: #fff;}

/* Products */

.vid_block { background: #000; position: relative; margin: 10px;}
.vid_block span { position: absolute; top: 50%; left: 50%; width: 100px; height: 100px; text-align: center; color: #fff; line-height: 1em; font-size: 100px; margin: -50px 0 0 -50px;}

.img_block { position: relative;}
.img_block.wide {}
.img_block.tall .prod_caption { position: absolute; left: 0; bottom: 50px; z-index: 999;}
.img_block.left .prod_caption { position: absolute; left: 0; top: 50%; margin-top: -125px; z-index: 999;}
.img_block.right .prod_caption { position: absolute; right: 0; top: 50%; margin-top: -125px; z-index: 999;}
.img_block img { padding: 10px;}

.multi_block { position: relative;}
.multi_block.wide {}
.multi_block.tall .prod_caption { float: right;}
.multi_block img { padding: 10px;}

.prod_caption { padding: 40px; text-align: center; margin: 10px; width: 330px;}
.prod_caption.dark { background: #353A40; color: #fff;}
.prod_caption.green { background: #38A898; color: #fff;}
.prod_caption.white { color: #38A898; background: #fff; border: 1px solid #eee;}
.prod_caption h3 { font-size: 36px; padding-bottom: 30px;}
.prod_caption .text {}

/* Footer */

#footer { padding: 50px 0;}
	.social { text-align: center;}
	.social li { display: inline-block; margin: 5px; vertical-align: top;}
	.social li span { position: relative; display: block; width: 40px; height: 40px; border: 2px solid #38A898; color: #38A898; text-align: center; padding-top: 8px; font-size: 20px; -o-transition:.5s; -ms-transition:.5s; -moz-transition:.5s; -webkit-transition:.5s; transition:.5s; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px;}
	.social li span:hover { color: #fff; border-color: #fff;}
	.social li.booking span { width: auto; padding-left: 15px; padding-right: 15px; font-family: 'BebasBold', sans-serif; background: #38A898; color: #fff;}
	.social li.newsletter {}
	.social li .field { display: inline-block; margin-right: 10px; height: 40px; vertical-align: top;}
	.social li input { display: inline-block; vertical-align: top;}
	.social li input[type="email"] { width: 200px; border: 2px solid #38A898; margin: 0 10px 0 0 !important; font-size: 14px !important; padding: 12px 10px !important; height: 40px; color: #38A898; background: #353A40; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px;}
	.social li input[type="email"]:focus { outline: none !important; border-color: #fff; color: #fff; background: #353A40;}
	.social li input[type="submit"] { margin: 0 !important; border: 2px solid #38A898; background: #353A40; color: #38A898; font-size: 20px !important; padding: 8px 15px !important; height: 40px; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px;}
	.social li input[type="submit"]:hover { background: #fff; border-color: #fff; color: #38A898;}
	
	.address { padding: 30px 0; text-align: center; font-size: 20px; color: #99A2AE; font-weight: 400; line-height: 1.5em;}
	
	.footer_menu { text-align: center;}
	.footer_menu ul { text-align: center;}
	.footer_menu ul li { display: inline-block; margin: 5px;}
	.footer_menu ul li a { color: #38A898; font-size: 12px; text-transform: uppercase;}
	.footer_menu ul li a:hover { text-decoration: underline; color: #fff;}
	.footer_menu ul ul { display: none;}
	
	.copyright { font-size: 10px; text-align: center; color: #717880; padding-top: 30px;}
	.copyright a { color: #717880;}

/* Gallery SHortcode */
.gallery_block { padding: 20px 0;}
.gallery_block .item { padding: 5px;}

/* Widgets */
.widget { padding:0 0 30px 0;}
	.widget .widget_heading { margin-top: -6px; }
	.widget h3 { margin-top: 0; font-size: 16px; font-weight: 400; border-bottom: 2px solid transparent; position: relative; margin-bottom: 15px; text-align: center; text-transform: uppercase;}
	.widget h3:before { content: ""; display: block; border-top: 1px solid #ddd; width: 100%; height: 2px; position: absolute; top: 50%; z-index: 1;}
	.widget h3 span { padding: 0 10px; position: relative; display: inline-block; z-index: 1; background: #fff; font-weight: inherit;}
	.widget ul li { padding: 2px 10px; position: relative;}
	.widget ul ul li { margin: 0 15px;}
	.widget ul li:last-child { border-bottom: none;}
	.widget ul li a:hover:before { content:'\e812'; font-size: 10px; color: #333; font-family: "icomoon"; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; -webkit-font-smoothing: antialiased; text-align: center; position: absolute; left: -3px; top: 8px; width: 10px; height: 10px;}
	.widget .textwidget { padding: 0;}
	#searchform { position: relative;}
	#searchform input[type="text"] { display: block; width: 100%;}
	#searchform .searchsubmit { position: absolute; top: 5px; right: 5px; border: none ; background: none; width: 30px; height: 30px ; margin: 0; font-size: 18px; line-height: 1em; display: block; cursor:pointer; color: #ddd;}
	#searchform .searchsubmit:hover { /*color: #ff8a55;*/}

/* SlideShow Blocks */
.cycle-slideshow, .cycle-slideshow * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }
.cycle-slideshow { position: relative; min-height: 100px; overflow: hidden;}
/*.cycle-slideshow img { position: absolute; top: 0; left: 0; width: 100%; padding: 0; display: block;}
.cycle-slideshow img:first-child {position: static; z-index: 100;}*/
.cycle-pager > * { cursor: pointer;}
.cycle-pager { position: absolute; width: 150px; text-align: right; bottom: 20px; left: 50%; margin-left: 350px; z-index: 999;}
.cycle-pager span { width: 10px; height: 10px; display: inline-block; background: #fff; color: #fff; margin: 0 5px; font-size: 1px; line-height: 1em; overflow: hidden; cursor: pointer;  opacity: 0.5;}
.cycle-pager span.cycle-pager-active { opacity: 1;}
.cycle-prev, .cycle-next { position: absolute; top: 50%; margin-top: -25px; width: 50px; height: 50px; background: #fff; z-index: 999; opacity: 0; cursor: pointer; -o-transition:.5s; -ms-transition:.5s; -moz-transition:.5s; -webkit-transition:.5s; transition:.5s;}
.cycle-prev { left: 0;}
.cycle-next { right: 0;}
.cycle-prev i, .cycle-next i { display: block; width: 26px; height: 26px; position: absolute; top: 50%;}
.cycle-prev i { border-bottom: 1px solid #40464f; border-left: 1px solid #40464f; margin: -12px 0 0 -12px; left: 30px;
-webkit-transform: rotate(45deg);
   -moz-transform: rotate(45deg);
     -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
        transform: rotate(45deg);
}
.cycle-next i { border-bottom: 1px solid #40464f; border-right: 1px solid #40464f; margin: -12px 0 0 -12px; left: 20px;
-webkit-transform: rotate(-45deg);
   -moz-transform: rotate(-45deg);
     -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
}
.cycle-slideshow:hover .cycle-prev, .cycle-slideshow:hover .cycle-next { opacity: 1;}
.slide_block { max-width: 100%; /*height: 700px;*/ display: block; position: relative;}
.slide_block .slide { width: 100%; height: 100%; display: block; position: relative; background: no-repeat center center;
	-webkit-background-size: cover !important;
	-moz-background-size: cover !important;
	-o-background-size: cover !important;
	background-size: cover !important;}

/************************************/
/************** MENUS ***************/

#menu .menu-main-menu-container { display: inline-block;}

#menu { padding: 28px 20px 28px 0; display: inline-block; float: right;}
#menu ul { text-align: right;}
#menu ul li { position: relative; display: inline-block;}
#menu ul li a { display: block; font-size: 14px; line-height: 1em; padding: 10px; color: #fff; font-weight: 400; font-family: 'Open Sans', sans-serif; text-transform: uppercase; -o-transition:.5s; -ms-transition:.5s; -moz-transition:.5s; -webkit-transition:.5s; transition:.5s;}
#menu ul li a:hover { /*background: #242a33;*/}
#menu ul li.current-menu-item a,
#menu ul li.current-menu-parent a,
#menu ul li.current-page-ancestor a { color: #38A898;}

.menu_action { display: inline-block; padding: 10px 15px; background: #38A898; color: #fff; font-weight: 700; line-height: 1em; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px; margin: 0 5px;}
#menu ul li.action a { color: #38A898; font-weight: 700;}

/* Level 1 */
#menu ul ul:before { content: ''; position: absolute; left: 50%; top: -7px; margin-left: -7px; width: 0px; height: 0px; border-style: solid; border-width: 0 7px 7px 7px; border-color: transparent transparent #fff transparent;}
#menu ul ul { position:absolute; left: 50%; top: 63px; margin-left: -100px; background: #353A40; width: 200px; z-index:9999; text-align: center; padding: 15px 0; border-top: 2px solid #fff;
	-webkit-box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	-moz-box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
#menu ul ul li { width: 200px; display: block; margin: 0;}
#menu ul ul li a, #menu ul li.current-menu-item li a { display: block; padding: 10px 20px; color: #fff; font-size: 14px; margin: 0; border: none; background: none; }
#menu ul ul li a:hover, #menu ul li.current-menu-item ul a, #menu ul li.current-menu-parent ul a, #menu ul ul li.current-menu-item a, #menu ul ul li.current-menu-parent a { background: none; border: none; color: #fff;}
#menu ul ul li a:hover, #menu ul ul li.current-menu-item a { color: #38A898; }
/* level 2 */
#menu ul ul ul {display: none;}

/* mobile menu */
#menumobile {/* position: relative; z-index: 99; display: block;*/ background: #353A40;}
#menumobile .row div { min-height: 0px !important;}
#menu-icon { width: 40px; height: 40px; padding: 10px 0 0 0; background: #353A40; text-align: center; font-size: 16px; text-transform: uppercase; cursor: pointer; display: block; position: absolute; top: 15px; right: 20px; z-index: 9999;}
#menu-icon.active { background: #353A40;}

#menu-icon:before, #menu-icon:after { -o-transition:.5s; -ms-transition:.5s; -moz-transition:.5s; -webkit-transition:.5s; transition:.5s;}
#menu-icon:before { content: ''; display: block; width: 20px; height: 8px; border-bottom: 2px solid #fff; border-top: 2px solid #fff; position: absolute; top: 50%; left: 50%; margin: -8px 0 0 -10px;}
#menu-icon:after { content: ''; display: block; width: 20px; height: 1px; border-top: 2px solid #fff; position: absolute; top: 50%; left: 50%; margin: 5px 0 0 -10px;}
#menu-icon.active:before { border-bottom: none; width: 28px; margin: -2px 0 0 -16px; border-color: #fff;
-webkit-transform: rotate(45deg);
   -moz-transform: rotate(45deg);
     -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
        transform: rotate(45deg);
}
#menu-icon.active:after { width: 28px; margin: -1px 0 0 -14px; border-color: #fff;
-webkit-transform: rotate(-45deg);
   -moz-transform: rotate(-45deg);
     -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
}
#menumobile ul { clear: both; width: auto; z-index: 100; padding: 20px; position: relative; display: none;}
#menumobile ul li { clear: both; float: none; }
#menumobile ul a, #menumobile ul ul a {color: #fff; text-transform: uppercase; font-size: 16px; display: block; text-align: right; padding: 10px;}
#menumobile ul a:hover, #menumobile ul ul a:hover {color: #fff;}
#menumobile ul ul { top: 0; padding: 0; width: auto; position: relative; display: none; border: none; background: none;}
#menumobile ul ul li { padding:0 20px;}

.mob_action { display: inline-block; padding: 10px 15px; background: #38A898; color: #fff; font-weight: 700; line-height: 1em; -webkit-border-radius:5px; -moz-border-radius:5px; border-radius:5px;}

#menumobile ul li.action a { color: #38A898; font-weight: 700;}

/************************************/
/************** GRIDS ***************/

.container {
	margin:0 auto;
	width:1000px;
	display:block;
	padding: 0;
}

@media (min-width: 999px) and (max-width: 1050px) {
	
	#menu ul li a { padding: 10px 5px;}
	
}


/* GRIDS TABLET */
@media (min-width: 768px) and (max-width: 999px) {
	
	.container { width: 768px;}
	
	.cycle-pager { margin-left: 235px;}
	
	#header { position: relative; height: 70px;}
	#logo { height: 70px;}
	#logo img { height: 50px;}
	
	#slideshow { height: 400px;}
	
	#cover { height: 250px;}
	
	.home_text { padding: 30px; font-size: 16px; line-height: 1.5em;}
	
	#promo_block .widg_txt {  min-height: 380px; background: #fff; text-align: center; padding: 30px;}
	#promo_block .widg_txt h3 { font-size: 36px; padding-bottom: 30px;}
}

/* GRIDS MOBILE */
@media (max-width: 767px) {
	
	.container { width: 100%; padding: 0 30px;}
	
	.cycle-pager { margin-left: 0; left: auto; right: 5px; bottom: auto; top: 10px;}
	
	#header { position: relative; height: 70px;}

	#logo { height: 70px;}
	#logo img { height: 50px;}
	
	#promo_block .widg_img { min-height: 150px;}
	#promo_block .widg_txt {  min-height: 150px; padding: 30px;}
	#promo_block .widg_txt h3 { padding-bottom: 15px;}
	.home_text { padding: 30px 0; font-size: 15px; line-height: 1.5em;}
	
	.page_title,
	.proj_title { font-size: 30px;}
	.proj_title span { display: block; padding: 0;}
	
	.theposts { margin-bottom: 40px;}
	.theposts .details { }
	.post_single { padding: 0;}
	.post_meta { position: relative; left: 0; width: auto; top: 0;}
	.post-social { text-align: center; padding: 0 0 15px 0;}
	.post-social li { display: inline-block; margin: 0 10px;}
	.post_nav { margin-left: 0;}
	.prev_p h6 { text-align: center;}
	.next_p h6 { text-align: center;}
	
	#slideshow { height: 200px;}
	#slideshow .slide h4 { bottom: 15px; left: 10px; font-size: 16px;}

	#news_block { padding: 0;}
	.news_item { padding: 20px 0; margin: 0;}
	.news_item .preview { width: 70px; height: 70px;}
	.news_item h3 { font-size: 18px; padding: 10px 0;}
	.news_item .text { display: none;}
	
	#action_block { text-align: center;}
	#action_block i { display: none;}
	#action_block h3,
	#action_block h5,
	#action_block h2 { margin: 0;}
	#action_block .act_btn { display: block; margin-top: 15px; padding: 12px 0; }
	
	#action_block_2 { padding: 30px 0;}
	#action_block_2 h3 { text-align: center; font-size: 24px; margin: 0;}
	#action_block_2 p { text-align: center; margin: 0;}
	#action_block_2 .act_btn2 { text-align: center; display: block; padding: 12px 0; margin: 15px 10px 0 10px;}

	#cover { height: 150px;}
	
	.social li input[type="email"] { width: 100%; margin: 0 0 10px 0 !important;}
	
	.img_block.tall .prod_caption { position: relative; left: auto; bottom: auto;}
	.img_block.left .prod_caption { position: relative; left: auto; top: auto; margin-top: 0;}
	.img_block.right .prod_caption { position: relative; right: auto; top: auto; margin-top: 0;}
	.multi_block.tall .prod_caption { float: none;}
	.prod_caption { padding: 30px 20px 10px 20px; width: auto;}
	.prod_caption h3 { font-size: 24px; padding-bottom: 15px;}

}

/* MAX HEIGHT */
@media (max-height: 900px) {
	.slide_height { height: 500px;}
}

/************************************/
/************** OTHER ***************/

/* SELECT & PLACEHOLDER */
::selection,
::-moz-selection { background: #f1f1f1; color:#333;}

::-webkit-input-placeholder { color:#999999;}
	 :-ms-input-placeholder { color:#999999;}
	 	 ::-moz-placeholder { color:#999999;}
		  :-moz-placeholder { color:#999999;}

/* FORMS */
textarea,
input[type="text"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
input[type="date"],
input[type="month"],
input[type="time"],
input[type="week"],
/*input[type="number"],*/
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="color"] {
	background: #fff;
	border: 1px solid #D0D4D7;
	color: #0092D0;
	font-size:14px ;
	padding: 10px !important;
}

textarea:focus,
input[type="text"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
/*input[type="number"]:focus,*/
input[type="email"]:focus,
input[type="url"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="color"]:focus {
	background:#f3f3f3;
	border-color: #38A898;
	color: #38A898;
	outline: none !important;
}

input[type="button"],
input[type="submit"] {
	border: 2px solid #38A898;
	background: #fff;
	color: #38A898;
	font-size: 14px;
	font-weight: 400;
	padding: 9px 20px;
	text-transform: uppercase;
	font-family: 'BebasBold', sans-serif;
}

input[type="button"]:hover,
input[type="submit"]:hover {
	color: #fff;
	background: #38A898;
}

input[type="radio"],
input[type="checkbox"] {
margin: 0 !important;
*margin-top: 0 !important;
line-height: normal;
}

.gfield select { font-size: 18px !important; }
.gform_wrapper { margin: 0 !important;}
.gform_wrapper br { display: none !important;}
.gfield_label { font-size: 13px !important; padding: 0; font-weight: 400 !important;}
.gfield_checkbox li { margin: 0 !important; font-size: 12px !important;}
.gfield_html ol { font-size: 12px !important;}
.gfield_html ol li { margin: 0 !important;}
.gform_title { font-weight: normal !important;}

/* TEXT STYLING */

.text 	 { padding: 0;}
.text a {}
.text a:hover { text-decoration: underline;}
.text h6 { font-size:16px;}
.text h5 { font-size:18px;}
.text h4 { font-size:18px;}
.text h3 { font-size:24px;}
.text h2 { font-size:30px;}
.text h1 { font-size:36px;}
.text h1,
.text h2,
.text h3,
.text h4,
.text h5,
.text h6 {
	padding-bottom: 15px;
	/*color: #22323e;
	text-transform: uppercase;*/
}
/*.text h1:after,
.text h2:after,
.text h3:after,
.text h4:after,
.text h5:after,
.text h6:after { content: ''; display: block; width: 80px; height: 2px; background: #22323e; margin-top: 20px;}*/

/* PAGE NAVIGATION */
.page_navigation { border: none; padding: 0;}
.page_navigation ul li a { border-color: #ddd;}
.page_navigation ul li a { background: #f9f9f9; color: #4b4b50;}
.page_navigation ul li a:hover { background: #f1f1f1;}
.page_navigation ul li a.current { color: #fff; background: #38A898; border: 1px solid #38A898;}

/* ALIGNMENTS */
.wp-caption {
	border: 1px solid #ddd;
	background-color:#fff;
	color:#999;
	-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	   -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.1);
	        box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* SHORTCODES */

.shortcode-list.custom li:before { color: #38A898 !important;}
.shortcode-alert.custom { background: #38A898 !important; color: #fff;}
.shortcode-button {
	font-weight: 400;
	text-transform: uppercase;
	font-family: 'BebasBold', sans-serif;}
.shortcode-button.custom { border: 2px solid #38A898 !important; color: #38A898 !important;}
.shortcode-button.custom:hover { background: #38A898 !important; color: #fff !important;}
/*.shortcode-divider,
.shortcode-divider.thick { border-color: #000 !important;}
.shortcode-divider span { background: #000 !important; color: #fff;}
.shortcode-quote,
.shortcode-quote em,
.shortcode-quote:before { color: #000 !important;}
.shortcode-toggle-title,
.shortcode-accordion-title { border-bottom: 2px solid #000 !important;}
.shortcode-toggle-content,
.shortcode-accordion-content { background: rgba(0,0,0,0.2) !important;}
.shortcode-price { border-bottom: 2px dotted #000 !important; }*/


/************************************/
/************* END CSS! *************/