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



/* GLOBAL */

h1, h2, h3, h4, h5, h6 {letter-spacing: -0.005em !important;}
h4 {margin-top: 15px;}
h5 {line-height: 1.4em;}
blockquote p { font-family: Georgia, "Times New Roman", serif; font-size: 1em !important; line-height: 1.6em !important; font-style: italic; width:80%;}
blockquote {margin-top:30px;}


a {text-decoration:underline;}
a:hover {text-decoration:none;}

/* li {font-size: 0.9375em;} */
li {font-size:16px !important;}
.floatleft {float:left;}
.clearboth { clear:both !important; }
.no-wrap-text { overflow: hidden; }
.nomargin {margin:0 !important;}
.nomargin-left {margin-left:0 !important;}
.nomargin-right {margin-right:0 !important;}
.nomargin-top {margin-top:0 !important;}

/* #top .all_colors li {font-size:16px;} */

.av-medium-font-size-24 h2, 
.av-small-font-size-24 h2,
.av-mini-font-size-24 h2 {font-size:24px !important; font-weight:400 !important; margin-bottom: 20px;}

.av-medium-font-size-22 h2, 
.av-small-font-size-22 h2,
.av-mini-font-size-22 h2 {font-size:22px !important; font-weight:400 !important;}

.av-medium-font-size-18 p,
.av-small-font-size-18 p, 
.av-mini-font-size-18 p {font-size:18px !important;}

.white h2 {color:#FFFFFF !important;}

.main_color a {color: #990000; text-decoration: underline;}
.main_color a:hover {colour: #990000; text-decoration: none;}

/* Hide blocks */
.hide {display: none;}


/* HEADER */
#top #header #avia-menu > li > a span.avia-menu-text {
 -webkit-transition: all .5s ease;
 -o-transition:all .5s ease;
 -moz-transition:all .5s ease;
 transition:all .5s ease; 
}
#top #header #avia-menu > li > a:hover span.avia-menu-text {color: #FFFFFF !important;}

nav.main_menu {margin-right: 0!important;  margin-left: 0!important;}
.avia-menu.av_menu_icon_beside {border:0 !important; padding-right: 0px; margin-right: 20px;}
#top #wrap_all .social_bookmarks a {border-left: 1px solid cadetblue;} 

#top #header .av-main-nav > li {padding-left: 10px; padding-right: 10px;}

.alternate_color .avia-icon-list .iconlist_icon {background-color: #333333;}

#header .social_bookmarks_twitter,
#header .social_bookmarks_instagram,
#header .social_bookmarks_dribbble {display:none !important;}


 /* Breadcrumbs below page title */
.title_container .breadcrumb { position:relative !important; left:-2px !important; top:13px !important;}
.title_container {padding-bottom:10px !important;}
 /* Remove you are here */ 
span.trail-before {display: none!important;}
h1.entry-title {display: none;}
#top .title_container .container {min-height: 36px !important;}


.av-masonry-entry .av-masonry-entry-title { font-size: 20px; color:#FFFFFF;}
.av-masonry-entry-content.entry-content { font-size: 14px; line-height: 1.6em; color:#FFFFFF; }

.av-masonry-entry .av-inner-masonry-content {padding:10px !important;}

.av-inner-masonry-content, 
.av-inner-masonry-content:hover,
.av-masonry-entry .avia-arrow  { background-color:rgba(0,0,0,0.6) !important; }

/* Disable masonry animation */
.av-masonry-entry {visibility: visible; opacity: 1;}
.avia_desktop.avia_transform3d .av-masonry-entry.av-masonry-item-loaded .av-inner-masonry {
    -webkit-animation: none; animation: none;}

/* Remove border left to header nav */
.av_seperator_small_border .av-main-nav > li > a > .avia-menu-text {border-left-width:0 !important;}

/* Remove border below Grid element */
#after_submenu_1, #after_submenu_2, #after_submenu_3, #after_submenu_4, #after_submenu_5, #after_submenu_6, #after_section_1, #after_section_2, #after_section_3, #after_section_4, #after_section_5, #after_section_6 {
    border: none;}
    
/* mega numbers */
.mega, .mega h6 {font-size: 100px; font-weight: 700;}
.halfmega, .halfmega h6  {font-size: 50px; font-weight: 700; margin-top:20px;}



/* HOMEPAGE */

html, body, .home #main, .html_stretched .home #wrap_all, .home .main_color, .home #header, .home .header_bg, .home .container {background-color: transparent !important;}
#header_main {background-color: #000000 !important;}


#infotext {padding: 0 10px;}
/* #infotext h2 {font-family: Georgia !important; font-style: italic; font-weight:400;} /* check desktop only */
/* #infotext h2 strong {color: #990000; font-weight: normal !important;} */


/* PORTFOLIO PLP GRID */

.avia-section-large .content, .avia-section-large .sidebar {padding-top:50px;}

#works-submenu .av-subnav-menu {padding-left:38px;}

#top .no_margin.av_one_half {width: 48.99% !important;}
#scroll-top-link { background-color: #000000 !important; border:1px solid #000000 !important; border-radius:4px!important; }


h3.grid-entry-title {font-size:20px !important;}
.portfolio .grid-entry {margin-bottom: 2%; margin-right: 2%;}

.twogrid .grid-entry:nth-child(2) {margin-right: 0;}
.threegrid .grid-entry:nth-child(3) {margin-right: 0;}


@media only screen and (max-width: 767px) {
  #top .grid-sort-container .isotope-item {
    width: 100% !important
  }
}
@media only screen and (min-width: 767px) {
  #top .grid-sort-container.grid-col-2 .isotope-item {
    width: 46.5% !important
  }
  #top .grid-sort-container.grid-col-3 .isotope-item {
    width: 31.3% !important
  }
  #top .grid-sort-container.grid-col-4 .isotope-item {
    width: 19.8% !important;
  }
  #top .grid-sort-container.grid-col-5 .isotope-item {
    width: 14.5% !important
  }
  #top .grid-sort-container.grid-col-6 .isotope-item {
    width: 10.99% !important
  }
  #top .grid-sort-container .isotope-item{
      margin-bottom: 52.4px;
  }

}
@media only screen and (min-width: 989px) {
  #top .grid-sort-container .isotope-item {
      margin-bottom: 72.4px;
  }
}
@media only screen and (min-width: 1139px) {
  #top .grid-sort-container .isotope-item {
      margin-bottom: 62.4px;
  }
}


h3.widgettitle {margin-top:0 !important;}

/* Work Grid excerpt */
.with-excerpt-container .grid-entry {text-align: left !important;}
.grid-entry-excerpt {
    font-size: 14px !important;
    font-style: normal !important;
    margin-bottom: -2px !important;
    color: #666 !important;
    line-height: 22px;
    overflow: hidden;
   display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;  
}

.grid-content {padding: 15px 20px 20px 20px;}

/*hide auto sidebar from magazine*/
.page-id-2967 .sidebar .widget_nav_hide_child {display: none;}

/*2.8 firefox problem*/
.avia-image-container-inner, .avia_image {max-width: 100%;}

#socket .avia-bullet, #socket .avia-menu-fx {display: none;}

/* end */


/* ABOUT ME */

#worktimeline h4 {font-weight:500 !important;}
#worktimeline  p:last-child {margin:0 !important;}

.milestones p {margin-top:0;}
.av-milestone-content-wrap {position:relative;}
.av-milestone-contentbox {position: absolute; top: 30%; left:10%;}


/* PORTFOLIO PDP ENTRY */

.inner_sidebar {margin-left:0 !important;}
#top div .avia-gallery .avia-gallery-big-no-crop-thumb img {height: auto!important;}
.avia_transform .avia-gallery-thumb img {max-height: 125px; }
.avia_transform .postid-3727 .avia-gallery-thumb img,
.avia_transform .postid-3694 .avia-gallery-thumb img,
 {height: 125px; }

div .av_one_fourth { margin-left: 3%; width: 23.5%;}
div .av_three_fourththree-fourth-centered {position: relative; left: 45%; transform: translateX(-45%); }
div .nomargin {margin:top:0 !important;}
div .av_four_fifth-centered {position: relative; left: 45%; transform: translateX(-45%); }

#top div .avia-gallery img { border-width: 0; }
#top div .avia-gallery-thumb img { width:auto; }
#top #wrap_all .avia-gallery-1 .avia-gallery-thumb a {border: 1px solid #e1e1e1; display: flex; justify-content: center; align-items: center;}
#top div .avia-gallery .avia-gallery-big {border-width:0; margin-bottom:1px;}

/* Increase margin above image/video component pdp */
.margin {margin: 40px auto 30px auto !important;} 

/* Portfolio item hero */
.portfolio-item-hero .avia-full-stretch {background-size: 1440px auto !important;}
.portfolio-item-hero .container {height:415px;}


/* centered 1/4 blocks */
.av_one_fourth.center {position: relative; left: 14%; transform: translateX(-20%);}

.avia-icon-list .iconlist_title {font-size:16px; font-weight:500 !important;}
.avia-icon-list-container {margin: 30px 0 0 0 !important;}
.avia-icon-list li {padding: 0 0 10px 0 !important;}
.avia-icon-list li:last-child {padding-bottom: 0 !important;}
.iconlist_content_wrap header {margin-bottom:15px;}






/* SIDEBAR */
.main_color div .news-headline {font-size:15px; color:#444444; font-weight:400; margin-top:7px;}
#portfoliobox-2 .news-time { display: none; }


/* FOOTER */
footer#socket {background-color: #000000;}
.sub_menu_socket {display:none !important;}
#socket .social_bookmarks li {margin-right:15px; font-size:16px;}
#socket .social_bookmarks a {border-left:none !important;}

#socket .av-social-link-facebook:hover a {color:#fff; background-color:#37589b; text-decoration:none;}
#socket .av-social-link-twitter:hover a {color:#fff; background-color:#46d4fe; text-decoration:none;}
#socket .av-social-link-dribbble:hover a {color:#fff; background-color:#e44885; text-decoration:none;}
#socket .av-social-link-linkedin:hover a {color:#fff; background-color:#419cca; text-decoration:none;}
#socket .av-social-link-instagram:hover a {color:#fff; background-color:#a67658; text-decoration:none;}


/* end */




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


/* ZOOM MAGNIFICATION ON LARGER SCREENS */

@media only screen and (min-width: 1900px) {
body { 
-webkit-transform: scale(1.3);
-ms-transform: scale(1.3);
transform: scale(1.3);
transform-origin: top;
}
}

@media only screen and (min-width: 2500px) { 
body {
-webkit-transform: scale(1.6);
-ms-transform: scale(1.6);
transform: scale(1.6);
transform-origin: top; 
}
}

/* END OF ZOOM MAGNIFICATION */



@media only screen and (min-width: 768px) {
  /* Add your Desktop Styles here */


/* HOMEPAGE */

.home #full_slider_1 {width: 1024px;}

#infotext h2 {font-size: 2.3em !important; line-height:1.5em !important; letter-spacing:-0.1px; padding: 10px 20px 12px; position: relative; top: 2px; }

.home #header_main {background-color: transparent !important;}

.main_color, .main_color li, .main_color div, .alternate_color div {border:none;}

#header.header-scrolled {background-color: #000000!important;}

.home #wrap_all {background-repeat: repeat-x; background-image: url(../../../uploads/skin1/bg.png); background-attachment: scroll; background-position: top left; width: 100%; background-color: #FFFFFF !important; position: relative; display: table;}

.home #full_slider_1 {margin-top:30px; margin-left: auto; margin-right: auto; display: flex; position: relative; overflow: hidden; outline: none; 
-webkit-box-shadow: 0px 24px 20px -12px rgba(0,0,0,0.65)!important;
-moz-box-shadow: 0px 24px 20px -12px rgba(0,0,0,0.65) !important;
box-shadow: 0px 24px 20px -12px rgba(0,0,0,0.65) !important;
}

.home #after_full_slider_1 {border:none !important;}

/* 
#infotext {background: transparent url(../../../uploads/skin1/bg_infotext.png) no-repeat scroll 40px -1px;}
#infotext h2 { background: transparent url(../../../uploads/skin1/bg_infotext.png) no-repeat scroll center bottom;}
*/


.avia-shadow {box-shadow:none !important;}

.avia-testimonial-content p {font-size:18px !important;}
.avia-testimonial-name {margin-bottom: 0.2em;}
.avia-testimonial-subtitle {font-size:14px !important; }

#wrap_all .alternate_color h2 {font-size:28px !important;}



/* NON TOCCARE LA PARENTESI SOTTO */
}
/* END OF DESKTOP ONLY STYLES */


/*
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 */
  
.avia-section-large .content, .avia-section-large .sidebar {padding:40px 0 40px 0 !important;}
/* #socket .social_bookmarks {float:none !important;}  */

h2 {font-size: 22px !important; line-height:1.5em !important; letter-spacing:-0.1px; }
h3 {font-size: 20px !important;}
h4 {font-size: 17px !important;}
h5 {font-size: 17px !important;}

#top .header_color p, #top .main_color p, #top .alternate_color p, #top .socket_color p {font-size: 17px !important;}

.entry-content-wrapper li {font-size:17px;}


/* MENU */
.html_av-overlay-side #top .av-burger-overlay-scroll {background: #000000 !important;}
  
/* HOMEPAGE */

#full_slider_1.avia-fullwidth-slider {background-color:#000000 !important;}
.av_slideshow_full.avia-slideshow {padding-top:30px;}

.home .content { padding-top: 20px; padding-bottom: 20px;}
#infotext h2 {font-size: 22px !important; line-height:1.5em !important; letter-spacing:-0.1px; }
#infotext {padding:0 !important;}

#subinfotext h2 {font-size: 21px !important; }

.home .avia-icon-list-container {margin-bottom: 0!important;}
.responsive #top #wrap_all .avia-content-slider-odd .slide-entry {margin:-10px 0 !important;}
.responsive #top #wrap_all .avia-content-slider-odd .slide-entry img {width:70% !important;}


.home .avia-testimonial-wrapper {margin:0 !important;}
.home .avia-testimonial {padding-top:0!important;}
.home .avia-testimonial-meta {margin-top:10px;}
.responsive #top .av-large-testimonial-slider.avia-testimonial-wrapper .avia-testimonial {padding: 0 !important;}
.av-minimal-grid-style .avia-testimonial-meta-mini .avia-testimonial-subtitle,
.av-minimal-grid-style .avia-testimonial-meta-mini .avia-testimonial-link {font-size: 14px; margin-top:10px;}

  
  
/* ABOUT ME */

.avatar-alison {padding-top:0 !important; margin-top:0 !important;}
  
.avia_transform .avia-timeline-vertical.avia-timeline-animate .milestone_icon {
        opacity: 1 !important;
        -webkit-transform: scale(1) !important;
        -ms-transform: scale(1) !important;
        transform: scale(1) !important;
}

.av-milestone-contentbox {position:initial !important;}
.av-no-preview .avia-timeline-vertical .av-milestone-date {padding: 0 !important;}
.av-no-preview .avia-timeline-vertical .av-milestone-content p {font-size:14px !important;}

.responsive #top #wrap_all .flex_column {margin-top:0 !important;}


/* PORTFOLIO PDP ENTRY */

/* spacca il PDP header .portfolio-item-hero .av-parallax-inner {background-position: bottom !important;} */

.portfolio-item-hero .av-parallax-inner {background-size: 170% !important;}

.portfolio-item-hero .container {height:221px;}
#after_section_1 .content {padding-top:20px;}

.av_one_fourth.center {position: relative; left: 20% !important; transform: translateX(-20%); margin-bottom: 10px !important;}

.iconlist_content_wrap {margin-bottom: 20px;}
.iconlist_content_wrap header {margin-bottom:10px;}

img.alignright {float:none !important; margin:4px 0px 0px 0px !important;}
img.margin-bottom {margin-bottom:20px !important;}


blockquote {margin-right:0 !important;}
.content {padding-bottom: 0 !important;}


/* NON TOCCARE LA PARENTESI SOTTO */
}
/* END OF MOBILE ONLY STYLES */