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

/* Changes home overlay behaviour */

.av-overlay-on-hover .av-image-caption-overlay {
    opacity: 1 !important;
}

.av-overlay-on-hover .av-image-caption-overlay .av-caption-image-overlay-bg {
    opacity: 0.4 !important;
}

.av-overlay-on-hover:hover .av-image-caption-overlay .av-caption-image-overlay-bg {
    opacity: 0 !important;
}

.av-overlay-on-hover .av-image-caption-overlay .av-image-caption-overlay-center {
    opacity: 0 !important;
    transition: 1s;
}

.av-overlay-on-hover:hover .av-image-caption-overlay .av-image-caption-overlay-center {
    opacity: 1 !important;
}

.home .avia-image-container {
    width: 100%;
    margin: 0;
}

/** .av-overlay-on-hover:hover .av-image-caption-overlay {
    opacity: 0 !important;
} **/


/* General Custom CSS - Tommaso Random Rules Order has to be tidied */

#top .av_header_glassy.av_header_transparency .header_bg {
    opacity: 1 !important;
}

.page-id-93 .content {
    padding-top: 50px;
}

.avia-section .container {
    margin-top: 2.5em;
}

.avia-section.av-minimum-height .container .content {
    vertical-align: top;
    display: block;
}

#main {
    margin-top: 88px;
}

.home #main {
    margin-top: 0;
}

#top .avia-post-nav {
    display: none;
}

span.copyright {
    font-weight: 200;
}

#scroll-top-link {
    background-color: #EDEDED !important;
}

p {
	font-weight: 300;
}

#top.avia-blank #wrap_all {
	vertical-align: top !important;
}

.header_color .main_menu ul:first-child > li > a {
	color: #333333 !important;
}

.avia-builder-el-4 p{
	margin-top: 0 !important;
}

.avia-builder-el-6 p{
	margin-top: 0 !important;
}

.avia-menu-fx {
	width: 70% !important;
    left: 15% !important;
}

.avia-arrow {
    display: none;
}

.grid-content {
    padding: 15px 0 !important;
}

.grid-entry .inner-entry {
	box-shadow: none !important;
}

.logo img {
	padding-top: 12px;
}

.av-layout-grid-container {
    width: 1310px !important;
    margin: 0 auto;
    padding: 0 50px;
}

.av-special-heading {
    margin-top: 10px;
}

.flex_column .avia-slideshow {
    margin-top: 10px;
}

span.avia-menu-text {
    font-weight: 300;
    font-size: 17px;
}

#top .header_color .current-menu-item a span.avia-menu-text {
	font-weight: 400 !important;
}

.header_color .avia-menu-fx {
	border-color: #0f146f !important;
	background-color: #0f146f !important;
}

.av-image-caption-overlay-center {
	vertical-align: top !important;
    padding: 1.5em 1.5em !important;
}

.av-image-caption-overlay {
	text-align: left !important;
}


.avia-builder-el-0 .avia-image-container {
	padding-right: 8px;
}


#wrap_all {
	background-color: #FFFFFF !important;
}

.grid-entry {
    padding: 0 10px 0 10px;
}

.grid-entry .first {
    padding: 0 10px 0 0;
}

.avia_transform a .image-overlay {
    display: none !important;
}

.image-overlay .image-overlay-inside {
    display: none;
}

.avia-content-slider {
    margin: 0 !important;
}

span.blog-categories.minor-meta {
    display: none;
}

.avia-content-slider .slide-image img {
	border-radius: 0 !important;
	display: inline !important;
}

#header_main .container {
    height: 70px !important;
}

/** Some spare Menu Styles **/

.main_menu ul:first-child > li a {
    height: 71px !important;
    line-height: 67px !important;
}

.main_menu ul li:last-child {
    margin-left: 35px;
    margin-top: 1px;
}

#top .av_header_transparency .avia-menu-fx {
    bottom: 18% !important;
}

.avia-menu-fx {
    bottom: 18% !important;
}

.container {
    position: relative;
}


/* Footer and Socket Stuff */

.profile-footer-logos {
    width: 40%;
    float: left;
    z-index: 150;
    margin-left: 22%;
}

.profile-footer-logos img {
    width: 100%;
    display: block;
}

.newsletter-popup {
    float: left;
    margin-left: 23.5%;
}

.newsletter-popup p {
    font-size: 14px;
    line-height: 16px;
    margin: 0;
}

#socket, #footer {
    border: none;
    background: #FFF;
    margin-top: 3em;
    padding-top: 0;
    padding-bottom: 0;
}

#footer .container {
    padding-top: 0 !important;
    height: auto !important;
    display: table !important;
    position: relative;
}

#socket .container {
    padding-top: 10px !important;
    height: auto !important;
    display: table !important;
    position: relative;
}

.home #socket .container {
   padding-top: 0 !important;
}

.home .content {
    padding-top: 45px;
    padding-bottom: 45px;
}

#socket .container > * {
    display: table-cell !important;
    vertical-align: bottom;
}

#socket .copyright {
    float: none;
    width: 25%;
    min-width: 95px;
}

#socket .social_bookmarks {
    bottom: 17px;
    float: none;
    margin: 0;
    position: absolute;
    right: 50px;
}

#socket .social_bookmarks li {
    display: inline;
}

.privacy {
    position: absolute;
    right: 175px;
    bottom: 17px;
}

#top #wrap_all .social_bookmarks, #top #wrap_all .social_bookmarks a, #top #wrap_all .social_bookmarks li, #top .social_bookmarks li a {
    color: #000;
}

#top .av-social-link-mail:hover a {
    color: #fff;
    background-color: #9fae37;
    text-decoration: none;
}

#top .av-social-link-linkedin:hover a {
    color: #fff;
    background-color: #419cca;
    text-decoration: none;
}

#top .av-social-link-facebook:hover a {
    color: #fff;
    background-color: #37589b;
    text-decoration: none;
}

/* Single Portfolio */

#top.single-portfolio #main .avia-section .template-page {
    background: #FFF;
    margin: 3.5% auto 5%;
    padding: 5%;
    width: 90%;
}

.single-portfolio .container .av-content-full.units  {
    width: 90%;
}

.single-portfolio .template-page {
    background: #FFF;
    padding: 2.5em 5%;
}

.av-styling-no-styling .avia-image-container-inner, .av-styling-no-styling .avia_image {
    width: 100%;
}

/* Contatti */

div.wpcf7 {
    margin: 0;
    padding: 0 20px 20px;
}

.page div.wpcf7-response-output {
    bottom: 55px;
    line-height: 1.2;
    margin: 2em 0.5em 1em;
    padding: 0.1em 0.25em 0.3em;
    position: absolute;
    right: 20px;
    text-align: center;
    width: 67%;
}

.stage, .job {
    opacity: 0.55;
    transition: 0.3s;
}

.stage:hover, .job:hover {
    opacity: 1;
}

.blog article .text-sep {
    display: none;
}

/* Some Typo */

.av-special-heading-h3 {
    font-size: 20px;
    float: left;
    width: auto;
    margin-bottom: 40px !important;
    padding: 5px !important;
    background: #333;
}

.single-portfolio .av-special-heading-h3 {
    background: #FFF;
}

.av-special-heading-h3 h3 {
    color: #FFF;
}

.single-portfolio .av-special-heading-h3 h3 {
    color: #333;
    font-weight: bold;
}

h3.slide-entry-title.entry-title {
    font-weight: normal;
}

.title_container .main-title {
    font-size: 21px;
}

#top .alternate_color.title_container .main-title a {
    padding: 5px;
    background: #333;
    color: #FFF;
}

.special_amp {
    font-family: "Lato","HelveticaNeue","Helvetica Neue","Helvetica",Arial,sans-serif;
    font-style: normal;
    font-weight: 300;
    font-size: 1em;
    color: #FFF !important;
}

/* Blog Shit Kriesi We All Hate You */

.template-blog {
    margin-top: 1em;
}

.template-blog .text-sep {
    display: none;
}

.template-blog article {
    padding-bottom: 6em;
    margin-bottom: 6.75em;
    border-bottom: 2px solid #000;
}

.template-single-blog article {
    border-bottom: none;
    margin-bottom: 5em;
    padding-bottom: 0;
}

.template-blog .hentry {
    width: 100% !important;
}

#top .fullsize .template-blog .post-title, #top .fullsize .template-blog .post-meta-infos {
    text-align: left;
}

.template-blog .single-big {
    float: left;
    width: 25%;
}

.template-blog .entry-content-wrapper {
    float: left;
    width: 100%;
}

.template-blog article .entry-footer, .template-blog article .post_delimiter {
    display: none;
}

.single-post .template-blog article .entry-footer {
    display: block;
}

#top .fullsize .template-blog .post .entry-content-wrapper > * {
    max-width: none;
    width: 100%;
    margin-left: 30px;
}

#top .fullsize .template-blog .big-preview img {
    width: 70%;
}

#top .fullsize .template-single-blog .big-preview img {
    width: 80%;
}

#top .fullsize .template-blog .post-title {
    padding-top: 0;
}

.container_wrap {
    border-top: none !important;
}

/*
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 */

}



/*
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 */

}