/* Table of Content
==================================================
	#Site Styles
	#Page Styles
	#Blog Styles
	#Post Formats
	#Portfolio Styles
	#Sidebar & Widgets
	#Footer & #Socket
	#Comments
	#Dynamic Templates
	#Media Queries
	#Font-Face */

/* #Site Styles
================================================== */


#header .container{
min-height:80px;
z-index: 100;
overflow: visible;
background: none;
}

#header #menu_container{
z-index: 101;
padding:15px 30px;
}


#header_background{
background-color: #222;
padding-bottom:96px;
position: relative;
}


.logo, .logo a{
float:left;
padding:0;
position: relative;
margin: 0;
display: block;
}

.logo img{
display:block;
}

.logo{
left:-30px;
}

/*menu*/
.main_menu{
float: right;
position: absolute;
right:0;
z-index: 100;
padding:10px;
line-height:30px;
height:30px;
top:50%;
margin-top:-25px;
-webkit-font-smoothing: subpixel-antialiased; 
-moz-border-radius: 4px; -webkit-border-radius:4px; border-radius:4px;
}

.main_menu.bg_active{
background: rgba(0, 0, 0, 0.3);
/*box-shadow: -1px -23px 39px 48px rgba(0, 0, 0, 0.3);*/
}

.msie7 .main_menu.bg_active, .msie8 .main_menu.bg_active{
background: transparent url(../images/layout/ie_trans.png) center 0px  repeat;
}


.main_menu ul{
margin:0;
padding: 0;
}

.main_menu ul:first-child > li > a{
display:block;
text-decoration: none;
margin:0 12px;
padding:0 0 8px 0;
text-transform: uppercase;
font-weight: bold;
}

/*
.main_menu ul:first-child > li:first-child > a{
margin-left:0;
}
*/

.main_menu ul:first-child > li.current-menu-item > a, .main_menu ul:first-child > li.current_page_item > a{
font-weight: bold;
}

.main_menu .menu li a strong {
display:block;
font-size:14px;
font-weight:normal;
cursor: pointer;
}


#top .main_menu .menu li{
float:left;
position:relative;
z-index:20;
float:left;
padding:0;
margin:0;
}

#top .main_menu .menu ul li{
padding:0 18px;
}


#top .main_menu .menu li:first-child>a{
border:none;
}


.main_menu .menu ul {
display: none;
left:50%;
margin-left:-104px;
position: absolute;
top: 36px;
width: 208px;
z-index: 2;
cursor: pointer;
padding:4px 0;
-moz-box-shadow: 0 30px 60px rgba(0,0,0,0.1);
-webkit-box-shadow: 0 30px 60px rgba(0,0,0,0.1);
box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.main_menu .menu ul li a{
border-top-style: solid;
border-top-width: 1px;
}

#top .main_menu .menu li ul a{
width:170px;
height:auto;
float:left;
text-align:left;
line-height:23px;
padding:6px 0;
font-size: 12px;
min-height: 23px;
max-width: none;
text-decoration: none;
}

#top .main_menu .menu ul ul{
top:auto;
padding-top: 0px !important;
}	

#top .main_menu .menu li ul ul {
left:-192px;
top:-1px;
margin:0;
}

#top .main_menu .menu li ul ul {}

#top .main_menu .menu li:hover ul ul, #top .main_menu .menu li:hover ul ul ul,#top  .main_menu .menu li:hover ul ul ul ul{
display:none;	
}
#top .main_menu .menu li:hover ul, #top .main_menu .menu li li:hover ul, #top .main_menu .menu li li li:hover ul, #top .main_menu .menu li li li li:hover ul{
display:block;
}

.current_page_item>a,  .current-menu-item>a{
font-weight: bold;
}


/*avia title big*/
.title_container{
padding-bottom: 10px;
margin-bottom: 10px;
position: relative;
border-bottom-style: solid;
border-bottom-width: 1px; 
}

.small_title.title_container{
border:none;
}

.title_container h1{
margin:0;
font-size: 28px;
position: relative;
z-index: 2;
min-height: 30px;
}

.title_meta, #top .portfolio-entry .title_meta{
display: block;
clear: both;
position: relative;
z-index: 1;
margin-top:-1em;
padding:0;
}

.title_meta p{
margin: 1.3em 0 0 0;
}

.stretch_full.title_container{
padding:33px 0;
margin-top: -30px;
margin-bottom: 30px;
}

.show_search.stretch_full.title_container h1, .show_search.stretch_full .title_meta{
padding:0 280px 0 30px;
}

#top .content .stretch_full.title_container{
padding-left:30px;
padding-right:30px;
width:100%;
}

#top .content .stretch_full.title_container .breadcrumb{
left:-30px;
width:100%;
}

#top .content .stretch_full.title_container h1, #top .content .stretch_full .title_meta{
padding-left:0px;
}

.title_container .breadcrumb {
clear: both;
border-top-width: 1px;
border-top-style: solid;
top: 32px;
position: relative;
padding: 0 30px 0 30px;
line-height: 39px;
font-size: 11px;
}

/*avia welcome text*/

.avia_welcome_text{
line-height: 30px;
float: left;
position: relative;
margin-top:15px;
left:-30px;
z-index: 10;
padding:0px 10px;
font-size: 11px;
}


/*social icons*/

/*
#top .social_bookmarks {
height: 30px;
float: left;
position: absolute;
right:0;
top:50%;
margin-top:-15px;
width:auto;
}
*/

#top .social_bookmarks {
width: 40px;
position: fixed;
left:0;
top:30%;
z-index: 150;
margin:0;
}

#top .social_bookmarks li{
height:100%;
float:left;
padding:0;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: 	all 0.2s ease-in-out;
-o-transition: 		all 0.2s ease-in-out;
-ms-transition: 	all 0.2s ease-in-out;	
transition: 		all 0.2s ease-in-out;

}

#top .social_bookmarks li a{
float:left;
width:40px;
line-height:40px;
display: block;
text-indent: 110%;
margin:0px;
outline: none;
padding:0;
min-height:30px;
height:100%;
overflow: hidden;
}

.social_bookmarks_rss{		background: transparent url(../images/icons/icon-rss.png) 		  center 0px  no-repeat;}
.social_bookmarks_facebook{	background: transparent url(../images/icons/icon-facebook.png) 	  center 0px  no-repeat;}
.social_bookmarks_twitter{	background: transparent url(../images/icons/icon-twitter.png) 	  center 0px  no-repeat;}
.social_bookmarks_mail{		background: transparent url(../images/icons/icon-mail.png) 		  center 0px  no-repeat;}
.social_bookmarks_dribbble{	background: transparent url(../images/icons/icon-dribbble.png) 	  center 0px  no-repeat;}
.social_bookmarks_linkedin{	background: transparent url(../images/icons/icon-linkedin.png) 	  center 0px  no-repeat;}
.social_bookmarks_search{	background: transparent url(../images/icons/icon-search-top.png)  center 0px  no-repeat;}
.social_bookmarks_gplus{	background: transparent url(../images/icons/icon-gplus.png) 	  center 0px  no-repeat;}
.social_bookmarks_behance{	background: transparent url(../images/icons/icon-behance.png) 	  center 0px  no-repeat;}
.social_bookmarks_flickr{	background: transparent url(../images/icons/icon-flickr.png) 	  center 0px  no-repeat;}
.social_bookmarks_forrst{	background: transparent url(../images/icons/icon-forrst.png) 	  center 0px  no-repeat;}
.social_bookmarks_myspace{	background: transparent url(../images/icons/icon-myspace.png) 	  center 0px  no-repeat;}
.social_bookmarks_tumblr{	background: transparent url(../images/icons/icon-tumblr.png) 	  center 0px  no-repeat;}
.social_bookmarks_vimeo{	background: transparent url(../images/icons/icon-vimeo.png) 	  center 0px  no-repeat;}
.social_bookmarks_youtube{	background: transparent url(../images/icons/icon-youtube.png) 	  center 0px  no-repeat;}
.social_bookmarks_pinterest{background: transparent url(../images/icons/icon-pinterest.png)   center 0px  no-repeat;}


				 
.social_bookmarks_rss:hover	     {background-position: center -43px ; background-color:#ffa133;}
.social_bookmarks_facebook:hover {background-position: center -43px ; background-color:#37589b;}
.social_bookmarks_twitter:hover  {background-position: center -43px ; background-color:#46d4fe;}
.social_bookmarks_mail:hover     {background-position: center -43px ; background-color:#9fae37;}
.social_bookmarks_dribbble:hover {background-position: center -43px ; background-color:#e44885;}
.social_bookmarks_linkedin:hover {background-position: center -43px ; background-color:#419cca;}
.social_bookmarks_search:hover   {background-position: center -43px ; background-color:#222222;}
.social_bookmarks_gplus:hover    {background-position: center -43px ; background-color:#de5a49;}
.social_bookmarks_behance:hover  {background-position: center -43px ; background-color:#008cfa;}
.social_bookmarks_flickr:hover   {background-position: center -43px ; background-color:#ff0086;}
.social_bookmarks_forrst:hover   {background-position: center -43px ; background-color:#234317;}
.social_bookmarks_myspace:hover  {background-position: center -43px ; background-color:#000000;}
.social_bookmarks_tumblr:hover   {background-position: center -43px ; background-color:#345574;}
.social_bookmarks_vimeo:hover    {background-position: center -43px ; background-color:#31baff;}
.social_bookmarks_youtube:hover  {background-position: center -43px ; background-color:#a72b1d;}
.social_bookmarks_pinterest:hover{background-position: center -43px ; background-color:#cb2027;}

#top .social_bookmarks li:hover a{background: transparent url(../images/layout/overlay-social-icon.png) 0 top  no-repeat;}

#searchform{
position: relative;
float: left;
margin:0;
}


#searchsubmit {
border: none;
cursor: pointer;
display: block;
height: 37px;
outline: none;
padding: 0;
position: absolute;
right: 0px;
text-indent: 200%;
overflow: hidden;
top: 0px;
width: 37px;
z-index: 2;
margin:0;
 -moz-border-radius: 0px; -webkit-border-radius:0px; border-radius:0px;
background-image: url(../images/icons/icon-search-button.png);
background-position: center center;
background-repeat: no-repeat;
}

#s {
width: 160px;
padding: 10px 40px 10px 10px;
position: relative;
margin:0;
}

.widget #s{
width:72%;
}

.widget #searchform{
width:100%;
}

.title_container #searchform{
position: absolute;
right:30px;
width:212px;
top:28px;
z-index: 30;
}

.title_container #searchsubmit{
top: 1px;
right: 1px;
height: 35px;
width: 35px;
}

/*prettyphoto enhancements*/

div.pp_default div .pp_content{
background-color: #f8f8f8;
padding-bottom:5px;
}

.pp_default div .pp_description {
overflow:hidden;
}

div.pp_default div.pp_content_container .pp_details {
margin-top: 12px;
}


div div.ppt {
font-size: 12px;
font-weight: bold;
}

div.pp_loaderIcon {
margin: -12px 0 0 -16px;
}

.pp_gallery{
display: none !important;
}

body div.pp_default .pp_description {
margin: 9px 50px 5px 0;

}


#main{
position: relative;
margin:-96px auto 0 auto;
-moz-box-shadow: 	0 10px 30px rgba(0, 0, 0, 0.1);
-webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
box-shadow: 		0 10px 30px rgba(0, 0, 0, 0.1);
z-index: 2;
}

#main .container{
position: relative;
padding-top:30px;

}


#apply_header_bg{
background-position: top center;
background-attachment: fixed;
background-repeat: repeat;
height: 100%;
width: 100%;
position: absolute;
z-index: 2;
top: 0;
left: 0;
bottom: 0;
right:0;
overflow: hidden;
-moz-box-shadow: 	0 1px 1px rgba(255,255,255,0.3);
-webkit-box-shadow: 0 1px 1px rgba(255,255,255,0.3);
box-shadow: 		0 1px 1px rgba(255,255,255,0.3);
}


#apply_header_bg.fullscreen_stretch{
	background-position: top center; background-attachment: scroll; background-repeat: no-repeat;
	-webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;
}

#apply_header_bg img{
display:block;
width:100%;
}


/*pagination*/

#top .pagination {
clear:both;
padding: 0 0 30px 0;
position:relative;
z-index:3;
line-height: 13px;
overflow: hidden;
}

#top .pagination span, #top .pagination a {
display:block;
float:left;
font-size:11px;
line-height:22px;
padding:2px 9px 1px 9px;
text-decoration:none;
width:auto;
border-width: 1px;
border-style: solid;
margin-right:3px;
}


#top .pagination .current{
font-size:11px;
padding:2px 9px 1px 9px;
font-weight: bold;
}

#top .pagination a:hover{
text-decoration: none;
}

#top .pagination .pagination-meta{
float:right;
margin:0;
}

/*slidshow modifications for this theme*/
 #top #wrap_all .slideshow_container{
padding:0;
}

#top #wrap_all .flex_column .slideshow_container{
margin-bottom:0;
}

.post-entry .slideshow_container .arrow_controls, .flex_column .slideshow_container .arrow_controls {
bottom:20px;
right:20px;
}


/* #Page Styles
================================================== */

.template-page.content{
padding-bottom:30px;
}

/*Contact Form*/
fieldset{
border:none;
}

.ajax_form{
clear:both;
padding-top:20px;
}

#ajaxresponse.hidden{
visibility: visible;
position: static;
display:none;
}


.ajax_form .text_area{
padding:10px;
margin-bottom:0;
width:70%;
min-height:130px;
}

.ajax_form .text_input, .ajax_form .select{
width:40%;
margin-right:10px;
margin-bottom:0;
display:inline;
min-width:221px;
}

select, .ajax_form .select, .entry-content select, .mobileMenu{
 width:41.5%;
 min-width:232px;
 -webkit-appearance: none;
 -moz-border-radius: 0px; -webkit-border-radius:0px; border-radius:0px;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAANCAYAAAC+ct6XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMC1jMDYwIDYxLjEzNDc3NywgMjAxMC8wMi8xMi0xNzozMjowMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNSBNYWNpbnRvc2giIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6RjBBRUQ1QTQ1QzkxMTFFMDlDNDdEQzgyNUE1RjI4MTEiIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6RjBBRUQ1QTU1QzkxMTFFMDlDNDdEQzgyNUE1RjI4MTEiPiA8eG1wTU06RGVyaXZlZEZyb20gc3RSZWY6aW5zdGFuY2VJRD0ieG1wLmlpZDpGMEFFRDVBMjVDOTExMUUwOUM0N0RDODI1QTVGMjgxMSIgc3RSZWY6ZG9jdW1lbnRJRD0ieG1wLmRpZDpGMEFFRDVBMzVDOTExMUUwOUM0N0RDODI1QTVGMjgxMSIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pk5mU4QAAACUSURBVHjaYmRgYJD6////MwY6AyaGAQIspCieM2cOjKkIxCFA3A0TSElJoZ3FUCANxAeAWA6IOYG4iR5BjWwpCDQCcSnNgxoIVJCDFwnwA/FHWlp8EIpHSKoGgiggLkITewrEcbQO6mVAbAbE+VD+a3IsJTc7FQAxDxD7AbEzEF+jR1DDywtoCr9DbhwzDlRZDRBgACYqHJO9bkklAAAAAElFTkSuQmCC);
 background-position: center right;
 background-repeat: no-repeat;
}

/*
.safari select, .chrome select{
padding-right: 37px;
}
*/
.ajax_form .textare_label{
display: block;
visibility: visible;
top: auto;
left: auto;
position: absolute;
top: 2px;
left: 70%;
margin-left: 30px;
}

.ajax_form  .input_checkbox{
margin-right:5px;
position: relative;
top:1px;
}

.ajax_form p{
padding: 0 0 10px 0;
margin:0;
position: relative;
}

.ajax_form label{
font-size: 11px;
font-weight: bold;
display:inline;

}

#ajaxresponse{
clear: both;
}

.valid .text_input, .valid .text_area, .valid select{border:1px solid #9AA600;} /*#70A41B*/
.error .text_input, .error .text_area, .error select{border:1px solid #D27F2C;}
.ajax_alert .text_input, .ajax_alert .text_area, .ajax_alert select{border:1px solid #ffb628;}

p.valid label{color:#9AA600;}
p.error label{color:#D27F2C;}
p.ajax_alert label{color:#ffb628;}

.value_verifier_label{
position: absolute;
top: 4px;
left: 10px;
}

#element_avia_age label{
display:block;
}

#avia_age{
padding-left:65px;
min-width:0;
width:100px;
}

/*JS fanciness*/


.pointer_arrow{
height:20px;
width:20px;
position: absolute;
top:-10px;
left:50%;

-ms-transform:rotate(45deg); /* IE 9 */
-moz-transform:rotate(45deg); /* Firefox */
-webkit-transform:rotate(45deg); /* Safari and Chrome */
-o-transform:rotate(45deg); /* Opera */
transform:rotate(45deg);

}


.shift_menu .main_menu{ margin-top: -11px; }

.pointer_arrow_wrap{
position: absolute;
width:20px;
height:10px;
top:-13px;
left:50%;
margin-left:-11px;
overflow: hidden;
}

.pointer_arrow_wrap .pointer_arrow{
left:0;
top:4px;
}


/* #Blog Styles
================================================== */
#top .post-title{
font-size: 19px;
line-height: 1.4em;
font-weight: bold;
margin-bottom:6px;
}

.sidebar_left .content{
float:right;
}



.template-blog  .entry-content{
border-top-style: solid;
border-top-width: 1px;
padding:6px 0;
}

.template-blog .post-entry{
float:left;
width:100%;
clear: both;
padding-bottom:70px;
}

.more-link{
text-decoration: none;
font-style: italic;
}

.more-link-arrow{
font-style: normal;
font-size:11px;
}

/*post meta*/

.minor-meta, .text-sep{
position: relative;
display: block;
float:left;
font-size:12px;
}

.minor-meta{
z-index: 11;
}

.text-sep{
padding:0px 5px;
}

.side-container-inner{
border-top-style: solid;
border-top-width: 1px;
position: relative;
padding-top: 7px;
}

#top .side-container-inner .slideshow_container{
padding:0 0 10px 0;
top:-8px;
}

.side-container-inner .minor-meta {
padding: 0;
text-align: right;
float:none;
line-height: 19px;
font-size:11px;
}

.side-container-inner .minor-meta a{
text-decoration: none;
}

.side-container-inner .minor-meta a:hover{
text-decoration: underline;
}

.entry-content .date-container{
float:none;
display:none;
}

.avia-facebook-like {
position: absolute;
display: none;
padding: 0;
left: -4px;
top: -42px;
width: 415px;
}

div .like-count{
z-index: 11;
}

.blog-inner-meta{
z-index: 15;
}

.like-count:hover .avia-facebook-like{
display: block;
}

.fb-like{
display: block !important;
width:100%;
}

.js_active .like-count:hover>a{
visibility: hidden;
}

#top .blog-tags, #top .blog-inner-meta{
float:none;
width:100%;
clear:both;
margin:5px 0;
position: relative;
}

.subtitle_intro{
font-size:15px;
line-height: 1.7em;
}

/*search entries*/

.template-search.content a.post-entry {
text-decoration: none;
position: relative;
}

.template-search.content .news-excerpt{
display: block;
overflow: hidden;
padding-right:90px;
}

.template-search.content .hr {
padding: 13px 0;
margin: -6px 0;
}

.search-result-counter{
position: absolute;
right:0;
top: 50%;
font-size:70px;
line-height: 1.2em;
z-index: 1;
font-weight: bold;
width:75px;
height:70px;
line-height: 70px;
text-align: center;
margin-top:-35px;
}

.nowidth.search-result-counter{
width:auto;
}

#top .template-search.content .news-content{
overflow: visible;
}

.template-search.content .pagination {
margin-bottom: 20px;
top: 20px;
}



/* #Post Formats
================================================== */

.post_nav{
clear:both;
}

.post-entry{
min-height: 1px;
}

.first-quote {
font-size: 17px;
line-height: 1.4em;
}

.quote-content{
font-size:12px;
}

.post-format-icon {
display: none;
width: 40px;
height: 40px;
position: absolute;
left: -23px;
top: -22px;
border-style: solid;
border-width: 1px;
-webkit-border-radius: 	40px;
-moz-border-radius: 	40px;
border-radius: 			40px;
}

h1 .post-format-icon{display:none;}

.post-format-icon, .related_image_wrap, .news-thumb{
background-position: center center;
background-repeat: no-repeat;
}

.post-entry-type-standard .post-format-icon, .post-format-standard .related_image_wrap, .post-format-standard .news-thumb {
background-image: url("../images/icons/icon-format-standard.png");
background-position: -229px -231px;
}

.post-entry-type-link .post-format-icon, .post-format-link .related_image_wrap, .post-format-link .news-thumb {
background-image: url("../images/icons/icon-format-link.png");
}

.post-entry-type-image .post-format-icon, .post-format-image .related_image_wrap, .post-format-image .news-thumb {
background-image: url("../images/icons/icon-format-image.png");
}

.post-entry-type-gallery .post-format-icon, .post-format-gallery .related_image_wrap, .post-format-gallery .news-thumb {
background-image: url("../images/icons/icon-format-gallery.png");
}

.post-entry-type-video .post-format-icon, .post-format-video .related_image_wrap, .post-format-video .news-thumb {
background-image: url("../images/icons/icon-format-video.png");
}

.post-entry-type-quote .post-format-icon, .post-format-quote .related_image_wrap, .post-format-quote .news-thumb {
background-image: url("../images/icons/icon-format-quote.png");
}


/* #Portfolio styles
================================================== */
.template-portfolio-overview{
padding-bottom:30px;
}

.post-entry-portfolio-first{
padding-bottom:0;
}

.portfolio-wrap, .template-portfolio-overview{
overflow-y: visible !important;
}

.sort_width_container, #js_sort_items{
overflow: hidden;
position: relative;
}

#js_sort_items{
visibility: hidden;
}

#js_sort_items a{
display:block;
float:left;
text-decoration: none;
}

#top .portfolio-title .title_meta p {
margin: 1.4em 0 0 0;
line-height: 1.3em;
}

.avia_sortable_active .isotope, .avia_sortable_active .isotope .isotope-item {
  /* change duration value to whatever you like */
	-webkit-transition-duration: 0.8s;
	   -moz-transition-duration: 0.8s;
		 -o-transition-duration: 0.8s;
			transition-duration: 0.8s;
}

.avia_sortable_active .isotope {
	
	-webkit-transition-delay: 0.4s; 
	   -moz-transition-delay: 0.4s; 
		 -o-transition-delay: 0.4s
			transition-delay: 0.4s;

	-webkit-transition-property: height, width;
	   -moz-transition-property: height, width;
		 -o-transition-property: height, width;
			transition-property: height, width;
}

.avia_sortable_active .isotope .isotope-item {

	-webkit-transition-property: -webkit-transform, opacity;
	   -moz-transition-property:    -moz-transform, opacity;
		 -o-transition-property:         top, left, opacity;
			transition-property:         transform, opacity;

}


.isotope, .isotope-item, .inner-entry, .ajax_slide, .inner_slide{
	-webkit-perspective: 1000; /*fix webkit flickering bug*/
	-webkit-backface-visibility: hidden;  
}

.isotope_activated .isotope-item{
margin-left:0;
}



/*chrome unfortunatley flickers when resorting the items without this fix*/
.chrome .portfolio-sort-container .flex_column{opacity: 1 !important;}


.single-portfolio-entry .post-entry{
padding-bottom:30px;
overflow: hidden;
}

#top .active_portfolio_item .filtered-image{display:none;}



/*ajax portfolio styles*/

.portfolio-wrap{clear:both; width:100%; position: relative; padding-top:30px; }
.portfolio-wrap.avia_not_sortable{padding-top:0px;}

.portfolio-details{display:none; clear:both; width:100%; position: relative; }
.portfolio-details-inner{display:none; clear:both; width:100%; position: relative; overflow:hidden; }
.open_container, .open_container .portfolio-details-inner{display: block; height:auto;}

.ajax_slide {display:block; clear:both; width:100%; overflow:hidden; position: absolute; left:120%; top:0; z-index: 1;}

.stretch_full .portfolio-details-inner{
border-top-style:solid;
border-top-width:1px;
border-bottom-style:solid;
border-bottom-width:1px;
margin:0 0 30px 0;
}

#top .portfolio-meta-list{list-style-type: none; font-size: 12px; margin:0; padding:0 0 0 0;}
#top .portfolio-meta-list li{margin-left:0;}
.portfolio-meta-key{}
.portfolio-meta-value {display:inline;}
.portfolio-meta-value a{}
.portfolio-meta-value a:hover{text-decoration: none;}

.stretch_full .ajax_slide .inner_slide{
padding:30px;
overflow: hidden;
}


.inner_slide .two_third {
overflow: visible;
}


.ajax_slide.open_slide {display:block; position: relative; left:0;  z-index: 2;}

.ajax_controlls {
position: absolute;
right: 31.5%;
top: 31px;
z-index: 5;
margin-right: -125px;
}

.ajax_controlls a{
text-decoration: none;
line-height:40px;
width:40px;
height:40px;
display: block;
float:left;
margin-left:4px;
background-image: url("../images/layout/arrow_ajax.png");
background-repeat: repeat;
background-position: -1px center;
text-indent: 200%;
overflow: hidden;
border-style:solid;
border-width:1px;
-webkit-border-radius: 	30px;
-moz-border-radius: 	30px;
border-radius: 			30px;
}

.ajax_controlls .ajax_next{
background-position: -38px center;
}

.ajax_controlls .avia_close{
background-position: -80px center;
}

#top .inner-entry{ 
margin-bottom:20px; 
position: relative; 
border-bottom-style:solid;
border-bottom-width:1px;

}

#top .flex_column .portfolio-title{
padding: 7px;
text-align: center;
margin:0;
border:none;
}

#top .flex_column .portfolio-title .main-title{
padding:3px;
text-align: center;
margin:0;
font-weight: bold;
letter-spacing: normal;
font-size: 13px;
min-height: 16px;
}

#top .portfolio_excerpt{
position: relative;
margin-top: -5px;
}

#top .portfolio_excerpt p{
margin:0 0 6px 0;
text-align: center;
font-size: 12px;
font-style: italic;
}

#top .flex_column .portfolio-title a:hover{color: inherit; text-decoration: underline; }

.avia_sortable .ajax_controlls{position: absolute; right:19px; top:-63px; z-index: 5; margin:0; }
.avia_not_sortable .inner_slide .portfolio-entry{ margin-top:70px; }



#top .no_stretch .flex_column, #top .no_stretch .portfolio-entry{
width:100%;
margin:0;
clear: both;
padding-bottom:30px;
}

/*related entries*/

.related_posts{
clear: both;
overflow: hidden;
padding:0 0 30px 0;
}

.related_title{
padding:0 0 10px 0;
}

.related_entries_container{
position: relative;
overflow: hidden;
}

.alpha.relThumb{
margin:0;
}

.relThumWrap{
margin-right:6px;
display: block;
}

#top .relThumWrap{
text-decoration: none;
}

#top .relThumWrap:hover h1{
text-decoration: underline;
}

.related_image_wrap{
display: block;
border-style:solid;
border-width:1px;
padding:3px;
}

.related_image_wrap img{
display:block;
width:100%;
}

.related_posts_default_image{
display:block;
visibility: hidden;
min-height: 73px;
}

.related_posts.stretch_full{
border-top-style: solid;
border-top-width: 1px;
padding: 21px 0;
}

.stretch_full .related_title {
padding: 0 0 10px 30px;
}

.stretch_full .related_entries_container {
padding: 0 30px;
}

#top .relThumb .title_meta{
padding:0;
font-size: 11px;
}

/*post navigation*/

.post_nav_container{
border-top-style: solid;
border-top-width: 1px;
position: relative;
clear: both;
}

.template-blog .post_nav_container{
border-top-style: solid;
border-top-width: 1px;
border-bottom:none;
top:0;
}

.post_nav{
font-size: 11px;
overflow: hidden;
position: relative;
padding:8px 30px;
}

.next_post_link_align{
float:right;
padding: 0 18px 0 0;
display: block;
position: relative;
right:-5px;
max-width:35%;
}

.previous_post_link_align{
float:left;
padding: 0 0 0 18px;
display: block;
position: relative;
left:-5px;
max-width:50%;
}


/*template archives*/
.template-archives{
padding-bottom:30px;
}

.single_slide .relThumb1{
margin-left:0;
}

.single_slide .relThumb{
margin-bottom:15px;
}


/*left sidebar*/

.sidebar_left .inner_sidebar {
padding: 0 29px 0 0;
border-right-width: 1px;
border-right-style: solid;
border-left:none
}


/* #Sidebar, Footer & Widgets
================================================== */


.sidebar{
margin-bottom:40px;
position: relative;
display: block;
}

.fullwidth .sidebar{
display:none;
}

.inner_sidebar{
padding-left:29px;
border-left-width:1px ;
border-left-style: solid;
}

.sidebar .widget .seperator{
position: absolute;
bottom: 0;
left:0;
padding:1px;
width:20%;
border-bottom-width:1px ;
border-bottom-style: solid;
}

.widget{
clear:both;
position: relative;
overflow: hidden;
padding:30px 0 30px 0;
float:none;
}

.sidebar form{
margin:0;
}

#top .widget input[type="text"], #top .widget input[type="password"]{
width:92%;
}

.widget>ul, .widget>ol{
margin-left:0;
}


.sidebar .widget:first-child{
padding-top:0;
border-top: none;
}

.sidebar .widget:last-child, .sidebar .widget:last-child .seperator{
border-bottom: none;
}


/*Archive, Cat, Page widget*/
/*

 .sidebar .widget_archive li ,  .sidebar .widget_categories li,  .sidebar .widget_pages li,  .sidebar .widget_links li,  .sidebar .widget_meta li{
float: left;
margin: 0 2% 0 0;
width:48%;
clear:none;
}*/


.widget ul li{
float: left;
margin: 0;
clear:both;
width:100%;
}

#top .widget ul li a{
text-decoration: none;
}

#top .widget ul li a:hover{
text-decoration: underline;
}

.widget_archive li a, .widget_categories li a, .widget_pages li a, .widget_links li a, .widget_meta li a, .widget_nav_menu li a{
font-size: 11px;
}




/*combo widget*/
#top .sidebar .widget_tab_comments, #top #footer .widget_tab_comments{
display:none;
}

.js_active .avia_combo_widget .tab_content {
padding:5px;
}


/*social media count widget*/
.avia_socialcount{
overflow: hidden;
padding:20px 0 0 0;
}

.avia_socialcount .seperator{
display:none;
}

div #footer .avia_socialcount{
padding:10px 0 0 0;
}

.asc_multi_count{
float:left;
width:50%;
}

.avia_socialcount a, .avia_socialcount a:hover{
height:40px;
text-decoration: none;
display:block;
min-width:89px;

}
.asc_twitter{ background: url("../images/icons/icon-twitter-32.png") no-repeat left center transparent; }
.asc_rss	{ background: url("../images/icons/icon-rss-32.png") no-repeat left center transparent; }

.avia_socialcount strong, .avia_socialcount span{
display:block;
line-height: 1em;
padding:0 0 0 36px;
}

.avia_socialcount a strong{
font-size: 10px;
font-weight: bold;
letter-spacing: 1.5px;
padding-top: 10px;
text-transform: uppercase;
}

.avia_socialcount a span{
font-size:10px;
padding-top:3px;
}


/*twitter widget*/
#top .tweets{
list-style-type: none;
list-style-position: outside;
border:none;
}

#top .tweet{
padding:10px 0;
line-height: 18px;
position: relative;
overflow: hidden;
font-size:11px;
background: none;
border-top-style: dotted;
border-top-width: 1px;
margin:0;
}

#top .tweet:first-child{
border:none;
}

.tweet-thumb{
position:relative;
}

.tweet-thumb a{
margin-right:9px;
padding:3px;
float:left;
border-style: solid;
border-width: 1px;
margin-top: 5px;
display:block;
width:36px;
}

#top .tweet-thumb img{display:block; float:left; border:none; padding:0; margin:0;}

.tweet-text{
position: relative;
overflow: hidden;
}

.tweet-time{
clear: both;
font-size:10px;
}

.tweet-text.avatar_no {
font-family: "Georgia", "Times New Roman", Helvetica, Arial, sans-serif;
font-style: italic;
font-weight: normal;

}


/*advertising widget*/

.avia_partner_widget a, .avia_partner_widget a:hover{

}

.avia_partner_widget{
overflow: hidden;
clear:both;
}

.avia_partner_widget a, .avia_partner_widget a:hover {
float: left;
display: block;
text-decoration: none;
width: 46%;
outline: none;
border: none;
padding-bottom: 46%;
position: relative;
margin-left: 2px;
}

#top .avia_partner_widget{
max-width:272px;
}

#top .avia_partner_widget img{
position: absolute;
left:0;
top:0;
}

.avia_partner1{
margin-right:1px;
}

.avia_parnter_empty{
line-height: 1em;
height:97%;
width:97%;
display: block;
font-size:10px;
text-align: center;
position: absolute;
border-style: solid;
border-width: 1px;.avia_parnter_empty
}

.avia_parnter_empty span{
width:100%;
position: absolute;
top:50%;
margin-top:-5px;
text-align: center;
left:0;
}


/*news widget*/

#top .news-content{
padding:7px 0 3px 0;
line-height: 18px;
position: relative;
overflow: hidden;
font-size:11px;
display: block;
clear: both;
margin:0;
}

#top .news-wrap{
border:none;
list-style-type: none;
list-style-position: outside;
}

#top .news-wrap li{
border:none;
background: none;
text-indent: 0;
}

.news-link, .news-link:hover, #top .widget ul li .news-link:hover{
display: block;
position: relative;
text-decoration: none;
overflow: hidden;
z-index: 2;
}



.news-thumb{
margin-right:9px;
padding:3px;
float:left;
height:36px;
width:36px;
margin-top: 4px;
border-style: solid;
border-width: 1px;
}

.tweet-thumb img, .news-thumb img{
width:36px;
height:36px;
}

#top .news-thumb img{display:block; float:left; border:none; padding:0; margin:0;}

.news-headline{
overflow: hidden;
font-weight: bold;
margin-top:2px;
display:block;
}

.news-time{
font-weight:normal;
clear: both;
font-size:10px;
display:block;
}

.news-excerpt{

}

/*tagcloud*/

.tagcloud a{
font-size:11px !important;
padding:2px 8px;
margin:0 1px 1px 0;
display:block;
float:left;
border-style: solid;
border-width: 1px;
text-decoration: none;
}

.tagcloud a:hover{
text-shadow: none;
text-decoration: underline;
}

.widget_tag_cloud h3{
border:none;
}

/*rss*/

.widget_rss li{
line-height: 1.5em;
font-size: 11px;

}
.widget_rss li div{
font-family: "Georgia", "Times New Roman", Helvetica, Arial, sans-serif;
font-style: italic;
}

.rsswidget{
display:block;
font-weight: bold;
}

.rss-date, .widget_rss cite{
font-size:11px;
}

.widget_rss li{
padding:7px 0;
}

.widget_rss .widgettitle img{
display:none;
}

/*recentcomments, recent entries*/

.recentcomments, .widget_recent_entries li{
padding:7px 0;
display:block;
font-size: 11px;
line-height: 1.5em;
}

.recentcomments a, .widget_recent_entries li a{
font-style: italic;
font-family: "Georgia", "Times New Roman", Helvetica, Arial, sans-serif;
}

.recentcomments, .widget_recent_entries li{
border-top-width:3px;
border-top-style: solid;
}

.recentcomments:first-child, .widget_recent_entries li:first-child{
border-top:none;
}



/*nav menu widget*/

.widget_nav_menu{
padding:0;
}

.widget_nav_menu a{
display: block;
padding:4px 0px 4px 08px;
border-top-style: solid;
border-top-width: 1px;
}

#top .widget_nav_menu li{
position: relative;
}

#top .widget_nav_menu li:before {
content: "\2219";
position: absolute;
top:4px;
}

.widget_nav_menu .current-menu-item>a, .widget_nav_menu .current_page_item>a{
font-weight: bold;
}

#top .widget_nav_menu ul{
padding:0;
margin:0;
overflow: hidden;
}


#top .widget_nav_menu .sub-menu, #top .widget_nav_menu .children{
padding:0 0 0 10px;
overflow: hidden;
margin:0;
}

.sidebar_right>.widget_nav_menu a{
padding:4px 10px 4px 20px;
}

#top .sidebar_right>.widget_nav_menu .sub-menu, #top .sidebar_right>.widget_nav_menu .children{
padding:0 10px 0 10px;
}


.widget_nav_menu .nested_nav>li:first-child>a{
border:none;
}



/* #Footer & #Socket
================================================== */

/*footer*/
#footer{  }
#footer .container{ padding-top:30px; padding-bottom:30px; border-top-style: solid; border-top-width:1px; }

#footer .widget_archive li a, #footer .widget_categories li a, #footer .widget_pages li a, #footer .widget_links li a, #footer .widget_meta li a, #footer .widget_nav_menu li a {
display: block;
font-size: 11px;
padding: 3px 0;
border-bottom-style: dotted;
border-bottom-width: 1px;
}
#footer .widget_archive > ul, #footer .widget_categories > ul, #footer .widget_pages > ul, #footer .widget_links > ul, #footer .widget_meta > ul, #footer .widget_nav_menu > ul {
border-top-style: dotted;
border-top-width: 1px;
}

/*socket*/
#socket{ margin-bottom:15px; }
#socket .container{ padding-top:15px; padding-bottom:15px; font-size:11px; line-height: 1.4em;}
#socket a{ text-decoration: none;}
#socket a:hover{ text-decoration: underline;}
/* #Comments
================================================== */

h4#comments{
margin-bottom:30px;
}

#respond{
margin-top:20px;
}

.commentlist ul {
border-left-style: solid;
border-left-width: 1px;
}

.children .children .says{
border-bottom-style: solid;
border-bottom-width: 1px;
}



.widgettitle, .miniheading, .author_name, #reply-title, #top .logged-in-as, .dynamic-column-title{
font: 10px/17px "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: bold;
text-transform: uppercase;
letter-spacing: 1.5px;
}

#comments span, .minitext, .form-allowed-tags, #reply-title small, #commentform label{
font-size: 11px;
display:block;
letter-spacing: 0;
text-transform: none;
padding-top:8px;
line-height: 1.5em;
font-weight: normal;
}


#top .commentlist{
margin:0;
padding: 0 0 10px 0px;
border:none;
}


#top .commentlist .comment{
list-style-type: none;
list-style-position: outside;
width:100%;
position: relative;
display: block;
background: none;
min-height:100px;
clear: both;
}

.commentlist>.comment{
border-bottom-style: solid;
border-bottom-width: 1px;
margin-bottom:30px;
}

.gravatar{
position: relative;
z-index: 2;
}

.gravatar img{
padding:3px;
margin:0;
border-style: solid;
border-width: 1px;
}


.comment_content{
position:relative;
margin:-44px 0 0 55px;
padding:0 0 15px 0;
z-index: 10;
}



.author_name a, .author_name a:hover{
font-weight: bold;
text-decoration: none;
}

.comment-edit-link, #cancel-comment-reply-link{
display:inline-block;
font-size: 10px;
}

.author_name, .comment_title{
font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

.commentmetadata {
font-size:11px;
line-height: 1em;
}

.commentmetadata a{
text-decoration: none;
}

.commentmetadata a:hover{
text-decoration: underline;
}

.says {
display: block;
height: 1px;
left: -70px;
position: absolute;
text-indent: 200%;
top: 18px;
width: 40px;
overflow: hidden;
}

#top .comment_text{
clear: both;
font-size: 12px;
padding-top: 15px;
border:none;
}

#top .comment-reply-link {
font-size: 11px;
text-decoration: none;
position: absolute;
left: -46px;
top: 39px;
line-height: 20px;
}

.side-container-comment-inner{
text-align: right;
}

.comment-count{
font-size: 38px;
line-height: 1em;
}

.side-container-comment-inner .comment-text{
font-size: 12px;
}



/*children*/
#top .commentlist ul{
margin: 0 0 0 74px;
}

#top .commentlist .children ul{
margin: 0 0 0 47px;
}

.children .comment_content {
margin: -44px 0 0 28px;
padding-bottom:30px;
z-index: 1;
}

.children .gravatar{
position: relative;
left:-24px;
z-index: 2;
width:50px;
}

#top .children .comment-reply-link {
left: -44px;
}

/*comment page nav*/

.comment_page_nav_links{
position: relative;
display: block;
clear:both;
overflow: hidden;
font-size:11px;
}

.comment_prev_page a{
float:left;
}

.comment_next_page a{
float:right;
}

.comment_page_nav_links_bottom{
}

.comment_page_nav_links_top{

}


/*generated by comment_form()*/

#commentform{ position: relative;} 
#commentform p{ position: relative; padding:0 0 10px 0; margin:0;}

#reply-title small a{ float:right;}

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

#commentform input{
margin:0;
}

.commentlist #commentform label{
position: static;
display: block;
}

#commentform .required, .comment-notes, #commentform  .comment-form-comment label{
display:none;
}

.comment-form-url input, .comment-form-email input, .comment-form-author input{
width: 220px;
}

.commentlist .comment-form-url input, .commentlist .comment-form-email input, .commentlist .comment-form-author input{
width: 70%;
}

#comment{
width:602px;
height:150px;
padding:10px 7px;
font-size: 12px;
margin:0;
}

.form-allowed-tags{
font-size: 11px;
line-height: 1.5em;
margin-bottom: 5px;
}

.form-allowed-tags code{
display:block;
padding-top:5px;
}

.commentlist #respond {
padding: 0 0 30px 56px;
}

.commentlist #respond #comment{
width:90%;
}

.commentlist #respond .form-allowed-tags{
display:none;
}

#reply-title{display:none;}
#reply-title small{display:inline;}
.commentlist #reply-title{display:block;}

#comment{
width:94%;
font-size:12px;
}

.personal_data p{
float:left;
width:33%;
}

.personal_data label{
display:none;
}



/* #Dynamic Templates
================================================== */

.dynamic_element{
clear:both;
}

#top .container_split{
border-top-style: solid; border-top-width:1px;
padding-top:30px;
}


#top #slideshow_big .slideshow_container.dynamic_element  .slide_controls {
bottom: 10px;
}

.dynamic_element.template-portfolio-overview{
padding-bottom:30px;
width: 100%;
}

.dynamic_template_column_container{
position: relative;
width:100%;
}

#top div .dynamic_template_column_container .slideshow_container{
margin-bottom:15px;
}

#top .callout{
font-size: 26px;
line-height: 1.4em;
padding:0 ;
margin:0 0 30px 0;
position: relative;
text-align: center;
}

#top .callout p{
padding:0;
margin:0;
}

#top .callout .content-area a{
padding:0px 10px;
text-decoration: none;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
}


#top .callout .content-area p a:hover{
background: none;
}

.padding-active.content-area{
padding-right:170px;
text-align: left;
}

#top .big_button{
height:40px;
line-height: 40px;
min-width:100px;
position: absolute;
right:0;
top:50%;
margin: -20px 0 0 0;
z-index: 3;
font: 12px/40px  "HelveticaNeue", "Helvetica Neue", Helvetica, Arial, sans-serif;
font-weight: bold;
text-align: center;
}

.margin_container.small_margin{
height:180px;
}

.margin_container{
height:360px;
padding:0px 30px;
width:100%;
position: relative;
left:-30px;
}

.dynamic_template_columns .entry-content{
padding-top:10px;
}

/* #Media Queries
================================================== */

	/* large screens with 1140px with */
	/*
	@media only screen and (min-width: 1140px)  {
		
			.responsive .thumbnails_container .slideThumb{ margin-right:14px;}
		}
	*/

	/* Smaller than standard 960 (devices and browsers) */
	@media only screen and (max-width: 959px) {}

	/* Tablet Portrait size to standard 960 (devices and browsers) */
	@media only screen and (min-width: 768px) and (max-width: 959px) {
	
		.responsive .thumbnails_container .slideThumb{ margin-right:19px;}
		.responsive .side-container-inner .minor-meta { text-align: center; }
	}

	/* All Mobile Sizes (devices and browser) */
	@media only screen and (max-width: 767px) {
		
		/*header*/
	 	.responsive .main_menu{background: none; box-shadow:none;}
	 	.responsive .main_menu, 
	 	.responsive .logo{ text-align: center; position: relative; top:auto; margin:0 auto; display:block; float:none; left:auto; right:auto; height:auto; padding:0; clear:both; width:100%;}
		.responsive .main_menu div, 
	 	.responsive .logo a, .responsive .logo img{display:inline-block; float:none;}
	 	.responsive .invers_pointer{left: -50% !important; }
	 	.responsive #top .social_bookmarks{position: relative; top: auto; clear: both; margin: 0; width:100%; overflow: hidden; text-align: center; height:40px;}
	 	.responsive #top .social_bookmarks li, .responsive #top .social_bookmarks li a{display:inline-block; float:none;}
	 	.responsive .avia_wpml_language_switch { position: absolute; width:auto; height: 30px;}
	 	
	 		
		/*title*/
		.responsive .stretch_full.title_container h1, .responsive .stretch_full .title_meta{ padding:0 30px 0 30px;}
	 	.responsive .title_container #searchform { position: relative; right: auto; width: 100%; top: auto; margin:20px auto 0 auto; float: none; }
	 	.responsive .title_container #searchform>div{margin:0 30px; position: relative;}
	 	.responsive .title_container #s{width:87%;}
	 	.responsive .content .title_container #searchform > div {margin:0;}
	 	.responsive .padding-active.content-area { padding-right: 0; }
	 	.responsive #top .big_button{position: relative; top:auto; margin:20px 0 0 0; display:block;}
	 	
	 	/*slideshow*/
	 	.responsive #top .caption_supersize .slideshow_caption h1{ font-size: 28px; } 
		.responsive  #top .caption_supersize .slideshow_caption .featured_caption{ font-size: 14px; }
	 	
	 	/*tables*/
	 	.responsive #top .avia_table tr.pricing-row td {font-size: 22px; }
	 	
	 	/*sidebar*/
	 	.responsive #top .inner_sidebar { padding: 0 0 0 0; border: none; }
	 	
	 	/*blog*/
	 	.responsive .side-container-inner{top:0; border:none; padding:0; text-align: left;}
	 	.responsive .side-container-inner .date-container{top:0; border:none; padding:0; text-align: left;}
	 	.responsive .post-format-icon{display: none;}
	 	
	 	/*ajax portfolio*/
	 	.responsive  .ajax_controlls {position: absolute;right: 30px;top: -22px;z-index: 5;margin:0}
	 	
	 }

	/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
	@media only screen and (min-width: 480px) and (max-width: 767px) {
		
		/*portfolio*/
		.responsive #top .portfolio-entry-overview{ width:48%; margin-bottom: 0;}
		.responsive #top .portfolio-parity-odd{ clear:both; }
		
		/*thumbnail slideshow*/
		.responsive .thumbnails_container .slideThumb{ margin-right:15px;}
	
	}

	/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
	@media only screen and (max-width: 479px) { 

	 	.responsive .title_container #s{width:80%;}
	 	/*portfolio*/
		.responsive #top .portfolio-entry-overview{  margin-bottom: 0;}
	
		/*thumbnail slideshow*/
		.responsive .thumbnails_container .slideThumb{ margin-right:38px;}
		
		/*contact*/
		.responsive .ajax_form label{display:block;}
	
	}



	/* custom media query that aligns the social icons in case there is not enough room on the side*/
	@media only screen and (min-width: 768px) and (max-width: 870px) { 
	 
	 	.responsive #top .social_bookmarks{position: relative; top: auto; clear: both; margin: 0; width:100%; overflow: hidden; text-align: center; height:40px;}
	 	.responsive #top .social_bookmarks li, .responsive #top .social_bookmarks li a{display:inline-block; float:none;}
	 	.responsive .avia_wpml_language_switch { position: absolute; width:auto; height: 30px;}
	
	}
	
	@media only screen and (min-width: 988px) and (max-width: 1084px) { 
	 
	 	.responsive #top .social_bookmarks{position: relative; top: auto; clear: both; margin: 0; width:100%; overflow: hidden; text-align: center; height:40px;}
	 	.responsive #top .social_bookmarks li, .responsive #top .social_bookmarks li a{display:inline-block; float:none;}
	 	.responsive .avia_wpml_language_switch { position: absolute; width:auto; height: 30px;}
	}





/* #browser specific mods
================================================== */





/* #Font-Face
================================================== */
/* 	This is the proper syntax for an @font-face file
		Just create a "fonts" folder at the root,
		copy your FontName into code below and remove
		comment brackets */

/*	@font-face {
	    font-family: 'FontName';
	    src: url('../fonts/FontName.eot');
	    src: url('../fonts/FontName.eot?iefix') format('eot'),
	         url('../fonts/FontName.woff') format('woff'),
	         url('../fonts/FontName.ttf') format('truetype'),
	         url('../fonts/FontName.svg#webfontZam02nTh') format('svg');
	    font-weight: normal;
	    font-style: normal; }
*/