/*
	Theme Name: OS2
	Theme URI: http://www.os2.it
	Author: Os2 S.r.l. team
	Author URI: http://www.os2.it
	Description: Site responsive
	Version:
	License:
	License URI:
	Tags: creative, portfolio, artistic, clean, retina, white, parallax, beautiful, blog, agency, fullscreen, modern, ajax, urban, fashion, events
	Text Domain: Eventia
*/

@import url(https://fonts.googleapis.com/css?family=Ubuntu:300,300italic,400,400italic,500,500italic,700,700italic);

@font-face {
  font-family: 'social networks';
  src:
    url('fonts/social-networks.woff2?rn433z') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
	font-family: "eventia";
	src:
	url("fonts/eventia.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}



BODY {font-family: 'ubuntu', sans-serif; font-weight:400;font-size:90%; color: #444; margin: 0;padding:0;background-color:#fff;text-align:justify;line-height:1.23}
a:link, a:visited, a:before, a:after, a *, a *:before, a *:after {text-decoration:none; transition: all 0.2s linear;}
a:link, a:visited {color:#CC5F9D}
a:hover {text-decoration:none;color:#807771}

#cmplz-document, .editor-styles-wrapper .cmplz-unlinked-mode {max-width: 100% !important}

/* form e img */
header, main, footer, figure, blockquote {display:block;margin:0}
body > header {position:relative;min-width:320px}
main {padding:20px 0;max-width:1200px;margin:0 auto}
*, *:after, *:before {box-sizing: border-box}
/*input[type="checkbox"] {-webkit-appearance:checkbox;}
input[type="radio"] {-webkit-appearance:radio;}*/
p {margin:10px 0; line-height: 20px;}
article p a {display:inline;}
p a{display:block;}
.imgdx {float:right;margin:5px 0 0 5px}
.imgsx {float:left;margin:8px 5px 0 0}
h1, h2, h3, h4 {margin:0;font-weight:normal}
.entry-title{font-size: 23px;color: #CC5F9D;margin: 0 0 30px;}
h3.entry-title{font-size: 23px;color: #CC5F9D;margin: 0 0 0}
.entry-footer{margin:30px 0 0; text-align: right;}
b, strong {font-weight: 600}
ul {line-height: 22px;}

img {border:0}
form {margin:0}
*:focus {outline:none}
.clearfix:after {content: ""; display: table; clear: both;*zoom: 1}

.content > h1 {font-size:20px;color:#5499C9;position:relative;border-bottom:3px solid #eee}

input[type="text"], input[type="email"], input[type="submit"], textarea, select  {font-family: 'ubuntu', sans-serif;font-size:13px;margin:0;padding:0;padding:5px;  border-radius: 0;}
input[type="text"], input[type="email"], select, textarea {border:1px solid #e5e5e5;background:#f9f9f9}
input[type="text"], input[type="email"] {height:30px}

.contatti > div {padding:0 0 3%;}
.contatti > div input[type="text"], .contatti > div input[type="email"] {width:100%}
.contatti > p {clear:both;}
textarea {width:100%}

input[type="submit"] {border:0;height:40px;padding:0 10px;font-size:16px;text-transform:uppercase;font-weight:600;cursor:pointer;background:#b00;color:#fff}
input[type="submit"]:disabled, input[type="submit"]:disabled:hover, input[type="submit"]:disabled:hover {background:#ccc;color:#fff;cursor:text}
input[type="submit"]:hover {background:#09c}
input[type="submit"]:active {background:#09c;color:#fc0}
::placeholder{ color: #CBC7C5; }
.page.page-id-149 article,.page.page-id-154 article{border-left: 0;padding: 20px; margin: 0;}
.wpsm_panel-body p{font-size:14.4px;font-family:'ubuntu', sans-serif !Important;}
.ac_title_class {font-size: 14.4px; font-family: 'ubuntu', sans-serif;font-weight: bold; line-height: 46px; padding: 0 15px !Important;}
div#copyright p a {display: inline-block;}

body > header {position:relative}

/* struttura */
#top, .container, #footer, main {min-width:320px;position:relative}
.container, #footer {max-width:1200px;margin:0 auto}

#logocontainer {padding-top:10px;position:relative;}
a#logo {margin:0 auto;display:inline-block;max-width:112px;}
a#logo img {margin:0 auto;height:auto;display:block;max-width:112px;}




#lang_sel_list li {font-family: 'ubuntu', serif-sans;}
.lang_sel_list_horizontal {position:absolute !important;top:20px;right:10px !important;z-index:-5 !important}
@media screen and (-webkit-min-device-pixel-ratio:0)
{
	.lang_sel_list_horizontal {top:16px;}
}
.lang_sel_list_horizontal ul{margin:0;padding:0;list-style:none;}
.lang_sel_list_horizontal ul li {float:left !important;font-size:16px !important;font-weight:500 !important;color:#A4A4A4 !important}
.lang_sel_list_horizontal ul li:first-child:after {content:' /' !important;}
.lang_sel_list_horizontal ul li {margin-left:5px !important}
.lang_sel_list_horizontal ul li a {color: #A4A4A4 !important;background: transparent !important; display: inline-block !important; font-size: 16px !important;}
.lang_sel_list_horizontal ul li.wpml-ls-current-language a, .lang_sel_list_horizontal ul li a:hover {color:#CD629D !important}
.wpml-ls-legacy-list-horizontal{border: none !important; padding: 0 !important; }
.wpml-ls-statics-shortcode_actions{background-color: transparent;}

#topnewsletter {margin:10px auto 0 auto;padding-bottom:3px}
#topnewsletter > span {font-size:14px;color:#A4A4A4;margin:0 5px}
#topnewsletter > span, #topnewsletter > div {display:inline-block;height:30px;}
#topnewsletter > div {position:relative;padding-right:30px;}
#topnewsletter input[type="text"] {border:1px solid #ccc;background:#fff;width:130px;height:30px;font-size:13px}
#topnewsletter input[type="submit"] {background: url(images/newsletterbutton.gif) no-repeat top left;position:absolute;top:0;right:0;width:30px;height:30px; border:none;}

#top {background-color:rgb(143,131,124); background-color: transparent\9; background-color:rgba(143,131,124,0.8); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#cc8F837C,endColorstr=#cc8F837C); zoom: 1;}
#top:nth-child(n) {filter: none;}

#menucontainer {margin:0 auto;max-width:1200px;position:relative}
#mainmenu ul,#menu ul, #top-menu{margin:0;padding:0;list-style:none;}
#mainmenu ul li a {display:block;text-transform: uppercase;color:#fff;font-size:16px;font-weight:500}
#menu ul li.current-menu-item a{color:#CD629D;}

#menucontainer #top-menu li.current-menu-item a,#menucontainer #top-menu li.current-post-parent a{color:#FC0;}

#fmainmenu #top-menu li.current-menu-item a{color:#807771;}
#slider .slidertop{min-height:154px; overflow:hidden;height:auto;max-height:870px}
#slider .slidertop figure img{width:100%; min-height:145px; height:auto;}
#slider article {
	background:rgb(61,53,50); 
	background: transparent\9; 
	background:rgba(61,53,50,0.7);	
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#b23D3532,endColorstr=#b23D3532);
	zoom: 1;
	color:#fff;    
	position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    bottom: 15px;
}
#slider article:nth-child(n) {filter: none;}
#slider article h1 {font-size:16px; font-weight:500;text-transform:uppercase}
.owl-carousel .owl-item{margin-bottom:-3px;}
#slider article h1 a{text-align:left;}
.nav-view {
    width: 97%;
    text-align: center;
    margin: 0 auto;
}
.nav-view a.viewall {
    position: relative;
    margin: 0 auto;
    bottom: inherit;
}
a.viewall, a.viewallit  {position:relative;display:inline-block;height:30px;line-height:30px;padding:0 37px 0 10px;background:#CD629D;color:#fff;font-size:16px;}
a.viewall:after, a.viewallit:after{font-family:eventia;content:'v';position:absolute;top:9px;right:10px;line-height:12px;font-size:17px;}
a.viewall:hover,a.viewallit:hover {background:#77645B;}

#homesx header {height:56px;text-align:center}
#homesx section {background:#CD629D;color:#fff}
#homesx header h1 {font-size:22px;text-transform: uppercase;color:#fff;line-height: 56px}
#homenews header h1 a {color:#fff}
#homenews header h1 a:hover {color:#fc0}
#homenews, #quickcontact {height:300px}
.slidernews a {color:#fff;font-size:15px;font-weight:300px}
.slidernews a p {margin:0; font-size:12px;line-height: normal;}
.slidernews a article h1 {font-size:13px; text-transform:uppercase; text-align:left;color:#fc0;}
.slidernews a:hover article h1{color:#FFF}
.slidernews a article blockquote {height:98px;padding:10px 20px}
.slidernews a figure {height:150px;overflow:hidden}
.slidernews a figure img {min-height:150px; height:auto;}
.slidernews a:hover article blockquote {background:#77645B;}

.content {margin:0 auto;padding:0 10px}

footer {width:100%;background:#fff;border-top:2px solid #807771;color:#A4A4A4;clear:both;font-size:14px;text-align:center}
#footer {padding:10px}
#footer a:hover {color:#807771}

ul.social {margin:0 auto;padding:0;list-style:none;}
ul.social li {display:inline-block;margin:0 5px}
ul.social li a {display:block}
ul.social li a span {position:absolute;top:-99999px;left:-99999px}
ul.social li a:before {font-family:'social networks';font-size:21px;color:#999;display:block;height:50px;text-align:center}
ul.social li.twitter a:before {content:'t'; font-size:18px}
ul.social li.fb a:before {content:'f'}
ul.social li.youtube a:before {content:'y'}

ul.social.fsocial {margin:18px 0}
ul.social.fsocial li a:before {background:#f5f5f5;width:42px;height:42px;;line-height:42px; border-radius: 50%;}
ul.social.fsocial li.twitter a:before {color:#55ACEE}
ul.social.fsocial li.fb a:before {color:#45619D}
ul.social.fsocial li.youtube a:before {color:#CC181E}
ul.social.fsocial li a:hover:before {color:#fff;background:#CD629D}


/*PORTFOLIO*/
.gallery {margin-bottom: 1.6em;}

.gallery-item {display: inline-block;padding: 1.79104477%;text-align: center;vertical-align: top;width: 100%;}
.gallery-columns-6 .gallery-item {max-width: 50%;}
.gallery-columns-5 .gallery-item {max-width: 50%;}

.gallery-icon img {margin: 0 auto; width:100%; height:auto;}
.gallery-caption {color: #707070;color: rgba(51, 51, 51, 0.7);display: block;font-size: 12px;font-size: 1.2rem;line-height: 1.5;padding: 0.5em 0;}
.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}


/*Varius*/
main > article {padding:0 20px;}
main > article .viewall{margin:20px auto; text-align:center;}
#archive-box{max-width:1200px; width: 100%;}
.owl-item > div a article{padding: 0;}
ul#archive-services li{float:none; width: 100%;margin: 20px 0;}
ul#archive-services{margin:0;padding:0;list-style:none;}
ul#archive-services li a {background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 45%, rgba(0,0,0,1) 100%); display: block; width:100%;height:300px;text-align: center; position:relative;
}
ul#archive-services li a div {position:absolute;bottom:25px;left:25px;right:25px;}
ul#archive-services li a div strong {
	display: block;
	background: rgba(255,255,255,0.92);
	color: #CD629D;
	font-size: 20px;
	text-transform: uppercase;
	line-height: 25px;
	padding: 10px 15px;
	font-weight: 400;
}
ul#archive-services li a:hover div strong {background: #CD629D;color:#fff;}
ul#archive-services li a div p {color:#fff;font-size:14px;margin:20px 0 0 0;min-height:95px}
ul#archive-services li a div strong:nth-child(n):after{filter: none}
.left.show #top-menu .current-menu-item a:hover{color:#FFF}

.quick-contact .wpcf7{width:100%;padding:0 30px;font-weight: 100;}
.quick-contact div {display:inline-block; width:48%;}
.quick-contact div:nth-child(2) {margin-right: 6px;}
.quick-contact div input[type="text"],.quick-contact div input[type="email"],.quick-contact div textarea{width:100%;border:none;}
.quick-contact a{color:#fc0; display:inline-block;}
.quick-contact a:hover{color:#FFF;}
.quick-contact .quick-message{width:100%; margin-top:8px; height:105px;}
.quick-contact .quick-message textarea{height:105px;}
.quick-contact p{margin:0; text-align:center;line-height: 40px;}
.quick-contact input[type="submit"]:disabled, .quick-contact input[type="submit"]:disabled:hover,.quick-contact input[type="submit"]:disabled:hover {background: #ccc;color: #fff;cursor:pointer; font-weight:normal;}
.quick-contact input[type="submit"]{background: #FFF;color: #CD629D;cursor:pointer; font-weight:normal;display: block;margin:0 auto;}
.quick-contact input[type="submit"]:hover{background: #ccc;color: #fff;cursor:pointer; font-weight:normal;}
.quick-contact [data-name="privacy"]{float:left;text-align:left;line-height: 40px;}
.quick-contact .privacy input[type="checkbox"]{padding:0;}
.quick-contact .wpcf7-form-control-wrap{display:block;}
.quick-contact .use-floating-validation-tip span.wpcf7-not-valid-tip{font-size:12px;left: 0px;top: 0px;}
.quick-contact div.wpcf7-validation-errors {border: 1px solid #ff0000; width:100%; color: #ff0000; font-size:12px;background:#FFF}
.quick-contact div.wpcf7-response-output{margin:0; padding:5px;}

/*Checkbox*/
/*[type="checkbox"]:not(:checked),[type="checkbox"]:checked{position:absolute; left:-9999px}
[type="checkbox"]:not(:checked) + label,[type="checkbox"]:checked + label{position:relative;cursor:pointer;width: 16px;height: 16px;margin-right: 25px;}
[type="checkbox"]:not(:checked) + label:before,[type="checkbox"]:checked + label:before{content:'';position:absolute;left:0;width: 16px;height:16px;border: 1px solid #fff;background: #CD629D;top: 0;}
[type="checkbox"]:not(:checked) + label:after,[type="checkbox"]:checked + label:after{content: '■';position: absolute;font-size: 21px;color: #FFF;top: -15px;left: 2px;bottom: 0;right: 0;margin: auto;}
[type="checkbox"]:not(:checked) + label:after{opacity:0;transform:scale(0)}
[type="checkbox"]:checked + label:after{opacity:1;transform:scale(1)}
[type="checkbox"]:disabled:not(:checked) + label:before,[type="checkbox"]:disabled:checked + label:before{box-shadow:none;border-color:#bbb;background-color:#ddd}
[type="checkbox"]:disabled:checked + label:after{color:#999}
[type="checkbox"]:disabled + label{color:#aaa}
[type="checkbox"]:checked:focus + label:before,[type="checkbox"]:not(:checked):focus + label:before{border:1px solid #FFF}
label:hover:before{border:1px solid #FFF!important}*/

/*Single Page*/
.single-post article{margin:30px 0;}
.single-post article .content-embed h1{color:#FFF; font-size:22px;text-align:left;}
.single-post article .content-embed p{color:#FFF; text-align:left; line-height:17px }

.embed{width:100%;}
.content-embed{width:100%; padding:30px; background-color:#807671;}
.embed iframe{width:100%;min-height: 164px;display:block;}

section.clearfix.viewall h1{text-transform:uppercase;font-size: 28px;color: #CC5F9D;margin: 0 0 20px;}
section.clearfix.viewall{margin-bottom:30px;}
/*Media Query*/

@media screen and (max-width: 359px) {
	#copyright span {display:block}
}




@media screen and (min-width: 360px){
	.quick-contact p{text-align:left;}
	.gallery-columns-6 .gallery-item {max-width: 33.33%;}
	.embed iframe{min-height:316px;}
	
}



@media screen and (min-width: 360px) and (max-width: 1023px) {
	.quick-contact{position:relative;height: 256px;}
	.quick-contact div.wpcf7-validation-errors{position:absolute;bottom:0; left:0;}
}

@media screen and (min-width: 480px) {
	.gallery-columns-6 .gallery-item {max-width: 25%;}
	.info-contact{width:100%;}
	.contatti{width:100%;}
	.contatti > div {float: left;width: 32%;padding: 0 0 3%;margin-left: 2%;}
	.contatti > div:first-child{margin-left:0;}
	.contatti > p { width: 100%; margin: 10px 0;}
	
}




@media screen and (max-width:639px) {
	ul#homeservices{position:absolute;top:-99999px;left:-99999px;}
	#homesx section {margin-bottom:20px}
}
@media screen and (min-width: 641px) and (max-width: 839px) {
	#copyright span:first-child:after {content:" -"}
}


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

	.embed iframe{min-height:534px;}
	#slider {border-bottom:8px solid #807771}
	#slider {margin-bottom:40px}
	#slider article {bottom:40px;}

	a.viewall {position:absolute;bottom:-21px;left:0;right:0;margin:0 auto;z-index:99999;height:50px;line-height:50px;font-size:20px;padding:0 47px 0 20px;width:160px;}
	a.viewallit {position:absolute;bottom:-21px;left:0;right:0;margin:0 auto;z-index:99999;height:50px;line-height:50px;font-size:20px;padding:0 47px 0 20px;width:244px;}
	a.viewall:after, a.viewallit:after{top:9px;right:20px;line-height:32px;font-size:23px}
	#homenews, #quickcontact {margin:1%}
	ul#homeservices{margin:0; list-style:none; padding:0;}
	ul#homeservices li,ul#archive-services li{float:left;width:48%;margin:1%}
	ul#homeservices li a {
		background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 45%, rgba(0,0,0,1) 100%); display: block; width:100%;height:300px;text-align: center; position:relative;
	}
	ul#homeservices li a div{position:absolute;top:140px;left:25px;right:25px;}
	ul#homeservices li a div strong{display:block;background:rgb(255,255,255);background: transparent\9;background:rgba(255,255,255,0.92); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#eaffffff,endColorstr=#eaffffff); zoom: 1;color:#CD629D;font-size:22px;text-transform: uppercase;line-height:40px;padding:0 15px;font-weight:400}
	ul#homeservices li a:hover div strong{background: #CD629D;color:#fff;}
	ul#homeservices li a div p {color:#fff;font-size:15px;margin:20px 0 0 0;min-height:95px}
	ul#homeservices li a div strong:nth-child(n):after{filter: none}
	.gallery-columns-5 .gallery-item {max-width: 33.33%;}

}





@media screen and (min-width: 640px)and (max-width: 1023px) {
	#homenews, #quickcontact {float:left;width:48%}
}


@media screen and (max-width: 782px) {
	.admin-bar #lang_sel_list {top:7px}
	@media screen and (-webkit-min-device-pixel-ratio:0)
	{
		.admin-bar .lang_sel_list_horizontal {top:5px;}
	}

}
@media screen and (min-width: 783px) {
	.admin-bar #lang_sel_list {top:7px}
	@media screen and (-webkit-min-device-pixel-ratio:0)
	{
		.admin-bar .lang_sel_list_horizontal {top:5px;}
	}

}



@media screen and (max-width: 767px) {
	a#flogo {position:absolute;top:-99999px;left:-99999px;}
	.admin-bar #menu.show #showmenu{top:53px;}
	.admin-bar #menu #showmenu{top:6px;}
	.admin-bar #menu{top:46px;}
}





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

	.info-contact{width:20%;float:left;}
	.contatti{width:80%; float:left;}
	.contatti > div {float: left;width: 33.33%;padding: 0 3% 3%;margin-left: 0;}
	.contatti > p { width: 94%; margin: 3%;}
	.admin-bar #menu{top:42px;}
	ul#homeservices li a div p {min-height:60px}
	a#flogo {display:inline-block}
	a#flogo img {max-width:125px}
	#footer {padding:20px 10px;text-align:left}
	#credits {position:absolute;top:20px;right:10px;text-align:right}
	.gallery-columns-6 .gallery-item {max-width: 20%;}
	.gallery-columns-5 .gallery-item {max-width: 25%;}
	#slider article h1 {font-size:18px;}
}

@media screen and (max-width: 839px) {
	#topbg {background: url(images/bgheader.jpg) no-repeat top center;background-size: cover}
	#mainmenu ul li a {border-bottom:1px solid #C0BBB8;line-height:34px}
	#mainmenu ul li a:hover {background:#CD629D}

	ul.social.topsocial, #slider article p, #slider article .seedetails, #fmenu, #fmainmenu {position:absolute;top:-99999px;left:-99999px;}

	#slider article {position:absolute;left:0;right:0;display: table; margin: 0 auto;}
	#slider article h1 a {display: block;color: #fff;min-height: 40px;line-height: auto;padding: 15px; text-align:left;}
	#slider article h1 a:hover {background:#CD629D;}
}
@media screen and (min-width: 840px) {

	body > header {background: url(images/bgheader.jpg) no-repeat top center;background-size: cover}
	body > header:after {content:'';position:absolute;top:0;left:0;right:0;height:135px; margin:0 auto;width:100%;background:rgb(255,255,255);background: transparent\9;background:rgba(255,255,255,0.92); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#eaffffff,endColorstr=#eaffffff); zoom: 1}
	body > header:nth-child(n):after {filter: none}
	#logocontainer {position:relative;margin:0 auto;max-width:1200px;height:135px}
	#logocontainer, #topbg {z-index:2}
	#mainmenu {width:100%}
	#mainmenu ul {margin:0 auto;}
	#mainmenu ul li {float:left;}
	#mainmenu ul li a {line-height:50px;margin:0 20px}
	#mainmenu ul li a:hover, ul.social.topsocial li a:hover:before {color:#fc0}

	ul.social.topsocial {position:absolute;top:0;right:10px;}
	ul.social.topsocial li a {line-height:50px}
	ul.social.topsocial li a:before {color:#fff}

	#slider article {position:absolute; bottom:30%; left:0; right: 0; margin: 0 auto; display:block; padding:35px 40px 35px 40px; width:600px; font-size:15px; text-align:justify}
	#slider article h1 a {display:block;color:#fff;font-size:22px;font-weight: 500}
	#slider article h1 a:hover {color:#CD629D;}
	div.seedetails {width:100%;text-align:right;margin-top:20px}
	div.seedetails a {display:inline-block;background:#CD629D;color:#fff;height:40px;line-height:40px;padding:0 15px;text-transform: uppercase;font-size:16px}
	div.seedetails a:hover {color:#fc0}

	#footer {padding:40px 10px}
	#footer div, #footer nav {float:left;width:30%}
	#footer nav ul {display:inline-block}
	#footer nav ul li a {font-size:14px;text-transform:uppercase;line-height:22px;display:block}
	#copyright p span {display:block}
	#credits {top:40px}
	ul.social.fsocial {margin:27px 0}
}

@media screen and (max-width: 899px) {
	body > header {text-align:center;}
	/* push menu */
	#menu {position: absolute; background-color: #fff;z-index: 10; width: 210px; top: 0; transition: all 0.2s ease; opacity: 1;text-align:center}
	#menu ul {list-style: none; margin: 0;padding: 0}
	#menu ul a {color:#CD629D;font-size: 14px; display: block;line-height:36px; text-decoration: none;text-transform:uppercase}
	#menu ul a:hover, #menu ul a.active {background:#CD629D;color:#fff}

	/* Submenu */
	.left { left: -210px; }
	.show { left: 0; }
	.show #showmenu { left: 210px;margin-left:0;position:fixed }


	#showmenu {margin-left: 50%; position: absolute; top: 0;transition: all 0.3s ease; z-index:9999;width:40px;line-height:34px;}
	#showmenu:before {float:left;display:block;font-family:eventia;content:'m';font-size:24px;width:40px;height:36px;line-height:36px;color:#CD629D;text-align:center}
	.show #showmenu:before {content:'x';color:#fff}
	#showmenu span {position:absolute;top:-999999px;left:-999999px;}

	#menu.show #showmenu {border:0}

	.overlaybg {height:100%;width:100%;position:fixed;left:0;	top:0;z-index:3 !important;background-color:#3D3532; opacity: 0.80;}
}

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

	.overlaybg, a#showmenu  {display:none !important}
	#menu {position: absolute; top: 23px; right:10px;left:10px;margin:0 auto;z-index:999;max-width:1200px; width:100%}
	#menu ul {position: absolute;right: 120px;}
	#menu ul li {float:left;margin:0 10px}
	#menu ul a {color:#A4A4A4;font-size: 16px; font-weight:500;display: block; text-decoration: none;text-transform:uppercase}
	#menu ul a:hover, #menu ul a.active {color:#CD629D}

	#mainmenu ul li a {margin: 0 40px 0 10px}

	a#logo, a#logo img {max-width:155px;}
	#logocontainer {padding:20px 10px 0 10px}
	#topnewsletter {position:absolute;right:10px;bottom:10px}
}

@media screen and (min-width: 990px) {
	.gallery-columns-6 .gallery-item {max-width: 16.66%;}
	.page article, .single-news article {padding: 20px 20px 20px 40px;border-left: 40px solid #CD629D;margin-left: 20px;}
	.embed{width:576px; height:auto;float:left;}
	.content-embed{float:right;width: calc(100% - 576px);min-height: 325px; padding:18px; background-color:#807671;}
	.embed iframe{width:100%;min-height: 325px;}
	.gallery-columns-5 .gallery-item {max-width: 20%;}
}
@media screen and (min-width: 1024px) {
	#homesx, #homedx {float:left;}
	#homesx {width:32%;}
	#homedx {width:68%;}

	#homenews, #quickcontact {margin:2% 2% 4% 2%}
}

@media screen and (min-width: 1024px) and (max-width: 1120px) {

	ul#homeservices li a div p,ul#archive-services li a div p  {min-height: 75px;}

}

@media screen and (min-width: 1100px) {
	#menu ul li {margin:0 20px}

	.embed{width:720px; }
	.content-embed{width: calc(100% - 720px);min-height: 405px;padding:30px; }
	.embed iframe{min-height: 405px;}
}

@media screen and (min-width: 1200px) {
	#homenews, #quickcontact {margin:0 0 40px 0}
	#homesx {width:300px;}
	#homedx {width:900px;}
	ul#homeservices li {width:410px;margin:0 0 40px 40px}
	ul#archive-services li {width: 46%;margin: 2%;}
	article {padding:0;}
	.single-post article .content-embed p {font-size: 14px;}
}

@media screen and (min-width: 1220px) {
	#logocontainer {padding:20px 0 0 0}
	#mainmenu ul li a {margin: 0 50px 0 0}
	#footer {padding:40px 0}
}



.owl-carousel .owl-stage-outer {max-height:862px}
.navigation{position: absolute;width: 100%;top: 0;bottom: 0;margin: auto;height: 40px;}
.navigation .nav-links{position:relative}
.navigation .nav-links a:before {font-family: eventia;color: #FFF;font-size: 30px;text-align: center;display: block;line-height: 40px;height: 40px;width: 40px;}
.navigation .nav-links .nav-previous a:before{ content:'l'; }
.navigation .nav-links .nav-next a:before{content:'r';}
.navigation .nav-links .nav-previous,.navigation .nav-links .nav-next{height: 40px;width: 40px;}
.navigation .nav-links .nav-previous{float:left}
.navigation .nav-links .nav-next{float:right;}
.navigation .nav-links .nav-previous a:hover, .navigation .nav-links .nav-next a:hover{opacity:1}
.navigation .nav-links .nav-previous a, .navigation .nav-links .nav-next a {position: relative;display: block;overflow: hidden; background: #000;height: 40px;width: 40px;opacity:0.3;}
.navigation .nav-links .nav-previous a span, .navigation .nav-links .nav-next a span{position:absolute; left:-9999px; top:-9999px;}