/* Have fun adding your style here :) - PS: At all times this file should contain a comment or a rule, otherwise opera might act buggy :( */

/* General Custom CSS */

/*#main > div.container_wrap.container_wrap_first.main_color.fullsize > div > main > article {
height: 100px;
}*/

#header_main {
border-bottom-width: 0px;}
.container_wrap {
border-top-width: 0px;
}
.sub_menu {
right: 37%;
}

#header_main_alternate {
border-bottom-width: 0px;
}
.avia-menu { font-family:Constantia, "Lucida Bright", "DejaVu Serif", serif; font-variant:small-caps; }
div.avia-menu {float: right;
position: relative;
left: -50%; width:auto!important;}
ul#avia-menu {background: none; background-color:transparent; position: relative;
left: 50%;}
.bottom_nav_header.social_header .main_menu ul:first-child>li a {
border-right-style: solid;
border-right-width: 1px;
border-right-color: #cccc99;
font-size: 18px;

font-weight:100;
color:#7C7A50;}

html[data-useragent*='rv:11.0']   .bottom_nav_header.social_header .main_menu ul:first-child>li a  {font-size: 16px;}

#top .main_menu .menu li a{
/* background: url(/images/gradient-glossy.png) repeat-x;
  position: absolute;
  display: block;
  width: 100%;
  height: 35px;*/
}
.header_color .header_bg, .header_color .main_menu ul, .header_color .main_menu .menu ul li a, .header_color .pointer_arrow_wrap .pointer_arrow, .header_color .avia_mega_div {
background-color: #000000;
color: #808080;
}
#wpcf7-f3329-o1 > form > div:nth-child(3) > p:nth-child(2) > span > textarea {
width: 210px;
}
#commentform > p.form-allowed-tags {
display: none;
}
#lang_sel_footer {
font: 11px Verdana, sans-serif;
min-height: 15px;
clear: both;
background-color: #310707;
border: 0px solid #2C0606;
color:#F0E0C8;
}
#lang_sel_footer ul li a, #lang_sel_footer ul li a:visited {
color: #ECE5D0;
}

.main_color .toggle_content {
background: #201203;
}

#ssba {
background-color: #1a0d00!important;}
ul.sub-menu {
	border-color:#5B4107!important;
	border-width:1px!important;}
.bottom_nav_header.social_header .main_menu ul:first-child {

height: 35px;
margin: 0 auto;
} /*width: 530px;*/
@-moz-document url-prefix() {
	.bottom_nav_header.social_header .main_menu ul:first-child {
		width: 560px;
}
}

#ssba img {filter: alpha(opacity=50);
-moz-opacity: 0.5;
-khtml-opacity: 0.5;
opacity: 0.5;}
#top .main_menu .menu li ul a {
font-size: 18px;
}
.header_color .main_menu ul:first-child >li > ul, #top .header_color .avia_mega_div > .sub-menu {
border-top-color: #C4B476;
}
.bottom_nav_header.social_header .main_menu ul:first-child>li:first-child a {
border-left-style: solid;
border-left-width: 0px;
}

#header_main .social_bookmarks {
margin-top: 36px;
margin-right: 0px;
}


#header_main_alternate {
padding-bottom: 15px;
}


.header_color .sub_menu>ul>li>a, .header_color .sub_menu>div>ul>li>a, .header_color .main_menu ul:first-child > li > a, #top .header_color .main_menu .menu ul .current_page_item > a, #top .header_color .main_menu .menu ul .current-menu-item > a, #top .header_color .sub_menu li ul a {
color: #F1BE51;
}
.main_color h3 {color: #FDEAAF;}
.main_color header {color: #A3886B;}
h1.post-title.entry-title {color: #FDEAAF;}
.main_color .sidebar a {color: #A3886B;}

}

#wpcf7-f4267-o1 {
padding-right: 30px!important;
}

#commentform label {
position: absolute;
left: 30px;
font-size: 11px;
top: 0;
font-weight: bold;
}

/*
Desktop Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the desktop view of your site */


@media only screen and (min-width: 768px) {
  /* Add your Desktop Styles here */
#header_main .social_bookmarks {
margin-top: 36px;
margin-right: -40px;
}
}

@media only screen and (min-width: 1140px) {
  /* Add your Desktop Styles here */
#header_main .social_bookmarks {
margin-top: 36px;
margin-right: 0px;
}
}

@media only screen and (max-width: 1000px) {
  /* Add your Desktop Styles here */
#header_main .social_bookmarks {
margin-top: 36px;
margin-right: -40px!important;
}
.sub_menu {
right: 30%;
}
}

/*
Mobile Styles
================================================== */
/* Note: Add new css to the media query below that you want to only effect the Mobile and Tablet Portrait view */

@media only screen and (max-width: 767px) {
  /* Add your Mobile Styles here */
.responsive .logo {
height: 36px;}
.responsive.bottom_nav_header #header_main .social_bookmarks {
margin: 0px auto;
}
#mobilevideowidth container { width: 100%; }
/*iframe {width:100%; height:240px;}*/
div.avia-menu {
left: auto;
position: initial;
width:100%!important;}

.responsive .container {
width: 290px;
margin: 0 auto;
}
}




#scroll-top-link {
	height: 30px!important;
	width: 20px!important;
	line-height: 30px!important;
	right: 20px!important;
	bottom: 50px!important;
}

#top .mobileMenu{
 -webkit-appearance: none;
 -moz-border-radius: 0px; -webkit-border-radius:0px; border-radius:0px;
	background-position: 95% 50%;
	background-image: url(/images/hamburger-menu.png)!important;
 background-repeat: no-repeat;
 border-radius: 2px;
}


#socket .sub_menu_socket li {
line-height: 20px;
}
.main_color blockquote {
	color: #A39265;
}
div .wp-caption {
	margin: 5px 15px 10px 20px;
}
#toggle-id-1-container {
	background-color:transparent;}
#top .main_color .input-text, #top .main_color input[type='text'], #top .main_color input[type='input'], #top .main_color input[type='password'], #top .main_color input[type='email'], #top .main_color input[type='number'], #top .main_color input[type='url'], #top .main_color input[type='tel'], #top .main_color input[type='search'], #top .main_color textarea, #top .main_color select {
	border-color: #444444;
	background-color: #330606;
	color: #7E7B7F;
}
#yourls-link {
	margin: auto!important;
	text-align:center;
	}
	.yourls-display {text-align:center;}
	
.auto-resizable-iframe {
max-width: 1000px;
margin: 0px auto;
}
/*max-height: 562px;*/

.auto-resizable-iframe > div {
position: relative;
padding-bottom: 55%;
height: 0px;
} /*padding-bottom: 75%;*/


.auto-resizable-iframe iframe {
position: absolute;
top: 0px;
left: 0px;
width: 100%;
height: 100%;


}/*max-height: 562px;*/



#avia-menu ul {
}
#avia-menu ul li {
}
@media screen and (max-height: 800px) {
	
	.auto-resizable-iframe > div {
padding-bottom: 35%;
} 

	}
@media screen and (max-height: 600px) and (min-width: 567px){
	
	.auto-resizable-iframe > div {
padding-bottom: 15%;
} 

	}
	@media screen and (max-height: 599px) {
	
	.auto-resizable-iframe > div {
padding-bottom: 55%;
} 

	}
@media screen and (max-height: 499px) and (max-width: 567px) {
	
	.auto-resizable-iframe > div {
padding-bottom: 55%;
} 

	}
