/*

Responsive
Theme: VGA

*/

@media ( max-width: 1600px ) {
    body {
      font-size:16px; /* da questo valore derivano tutti i testi in proporzione (em) */
    }
    .vg-logo-top {
    height: 150px;
    padding: 40px 0 13px 0;
    }
    .vg-breadc-fix {
    padding-top: 80px;
    }
    .blog .vg-breadc-wrap,
    .category .vg-breadc-wrap {
    height: 150px;
    }
    .vg-staff-title.magazine {
    letter-spacing: 0.22em;
    }
    .vg-same-h {
        min-height: 900px;
    }
    .vg-top-menu-wrap {
        display: none;
    }

    #vg-services .vg-panel-red .vg-panel-bott .vg-btn span {
        font-size: 15px;
        line-height: 30px;
    }

    .vg-services-slider {
        width: 100%;
    }

    .vg-services-slider .vg-arr-next {
        right: -45px;
    }

    .vg-services-slider .vg-arr-prev {
        right: 20px;
    }

    .vg-feedback-caption {
        padding: 40px 60px;
    }

    .vg-services-draw {
        width: 100%;
    }

    .vg-about-bg {
        height: 620px;
    }
    .vg-panel-about.left {
        width: 5%;
    }
    .vg-group-name,
    .vg-address-info {
        font-size: 15px;
        line-height: 30px;
    }

    .vg-portfolio-cat {
        font-size: 24px;
        line-height: 36px;
    }

    .vg-expert {
        padding-right: 20px;
    }

    .vg-contact-info {
        width: 33.33%;
        margin-left: 16.66%;
    }

    .vg-contact-info div {
        font-size: 15px;
    }

    .vg-contact-image {
        width: 33.33%;
    }

    q,
    blockquote,
    blockquote p,
    blockquote div {
        line-height: 60px;
        font-size: 48px;
    }
    .page-vision {
      height:860px;
    }
    .vg-mobile-menu ul li {
        line-height: 50px;
    }
    .vg-panel-red .vg-post-content p{
        margin-top:20px;
    }
    .vg-expert-image img {
        width: 80%;
    }
    .vg-magazines .vg-mag-image {
    overflow: hidden;
    }
    .vg-magazines .vg-mag-image img {
    max-width: none;
    width: auto;
    height: 100%;
    margin-left: -10%;
    }
}

@media screen and ( max-width: 1500px ) {
    body {
      font-size:14px; /* da questo valore derivano tutti i testi in proporzione (em) */
    }
    .vg-logo-top {
      height: 120px;
      padding: 30px 0 13px 0;
    }
    .vg-logo-top .vg-logo-fix {
      width: 140px;
    }
    #breadcrumbs {
      max-width: 81%;
    }
    .vg-breadc-fix {
      padding-top: 68px;
    }
    .blog .vg-breadc-wrap,
    .category .vg-breadc-wrap {
      height: 120px;
    }
   .vg-panel-menu li a {
        font-size: 1.05em;
        letter-spacing: 0.15em;
    }
    .vg-same-h {
        min-height: 800px;
    }
    #vg-page .vg-profile.vg-col-xl-3 {
        width: 33.3333%;
    }
    #vg-page .vg-profile {
        width: 20%;
    }
    .vg-profile-name {
        font-size: 1.60em;
    }
    .vg-page .vg-profile-role,
    .vg-profile-role {
        margin-bottom: 20px;
    }
    .staff-collab{
        height: 628px;
    }
    .vg-main-slider.boxed img{
        height: 100%;
        width: auto;
        max-width: none;
    }
    .vg-staff-content {
      margin-bottom: 30px;
    }
    .vg-panel-red .vg-post-content h4 {
      font-size: 1.4em;
    }
    .vg-share-row {
        text-align: center;
    }
    .partners-h {
        height: 500px;
    }
    .blog-h {
      height: 650px;
    }
    .vg-magazines .vg-mag-image {
      width: 100%;
      height: 350px;
    }
    .vg-staff-title.magazine {
      font-size: 2.46em;
    }
    .dati-contact ul li {
      line-height: 40px;
      height: 40px;
      font-size: 1.2em;
    }
    #vg-related {
      margin-bottom: 125px;
    }
    .vg-related-title {
      margin-top: 35px;
      margin-bottom: 55px;
    }
    .profile-wrap li.vg-profile:first-child {
        min-width: 40%;
    }
    .page-staff .vg-panel-slider {
        padding:0;
    }
    .vg-link span:after, .vg-link a:after {
        margin-left: 20px;
    }
    .vg-link:hover span:after, .vg-link:hover a:after {
        margin-left: 30px;
    }
}

@media ( max-width: 1290px ) {
    body {
        font-size:13px;
    }
    .vg-mobile-menu ul li {
        line-height: 45px;
    }

    .vg-mobile-menu ul li a {
        font-size: 15px;
    }

    .vg-social-list {
        left: 33.33%;
    }
    .vg-share-row ul li {
        width: 30px;
        height: 30px;
        line-height: 35px;
    }
    .vg-social-row ul li {
        margin-right: 5%;
        width: 30px;
        height: 30px;
        line-height: 35px;
    }
    .vg-main-slider {
        padding-left: 0;
        overflow: hidden;
    }
    .vg-page-staff .vg-main-slider img {
        height: 100%;
        width: auto;
        float: right;
        max-width: none;
    }
    .vg-main-slider .vg-slide-caption {
        left: 33%;
    }

    .vg-input-left {
        padding-right: 15px;
    }

    .vg-input-right {
        padding-left: 15px;
    }

    #vg-grid .vg-item-frame {
        width: 100% !important;
    }
    .vg-magazines .vg-mag-image {
        height: 250px;
    }
    .vg-magazines ul.magazine-list li.vg-item.vg-magazine.slick-slide {
        margin-right: 60px;
    }
    .vg-project-contact {
        margin-top: 45px;
    }
    .blog-h {
        height: 560px;
    }

    .vg-page-title:after {
        width: 25%;
    }

    .vg-profile-content {
        padding-left: 0;
    }

    .vg-page-gallery {
        padding-left: 0;
        margin-bottom: 65px;
    }
    .dati-contact ul li {
        font-size: 1em;
    }
    .vg-contact-info {
        margin-left: 0;
        width: 50%;
    }

    .vg-contact-image {
        width: 50%;
    }

    q,
    blockquote,
    blockquote p,
    blockquote div {
        line-height: 48px;
        font-size: 1.7em;
    }
}

@media ( max-width: 1025px ) {
    .vg-logo-wrap {
        width: 25%;
    }
    .vg-breadc-fix {
        padding-left: 40px;
    }
    .vg-btn-menu {
      right:50px;
    }
    .vg-btn-close-mob {
      right: 50px;
    }
    .vg-about-bg {
        height: 500px;
        background-position-x: 81%;
    }
    .vg-panel-about.left .vg-about-box {
      display: none;
    }
    .vg-about-caption {
        margin-top: 8%;
    }
    .link-bottom {
        bottom: 10px;
    }
    .vg-main-slider .vg-slide-caption {
        left: 25%;
    }
    .vg-same-h {
      min-height: 730px;
    }
    .vg-social-list {
        left: 25%;
    }
    .vg-services-title {
        font-size: 2em;
    }
    .vg-services-exc {
        max-width: 50%;
    }
    .vg-content {
        margin-top: 55px;
        margin-bottom: 30px;
    }
    .off-col-l {
        margin-left: 25%;
    }
    #vg-top .page-staff {
        height: 700px;
    }
    .vg-page-staff .vg-main-slider img {
      float:none;
        margin-left: 5%;
    }
    .profile-wrap {
        top: 8%;
        left: 27%;
        width: 64%;
    }
    .profile-wrap li.vg-profile:first-child {
        min-width: 51%;
    }
    .fl-right-l {
        float: right;
        border-left:2px solid #fff;
    }
    #vg-grid .vg-panel-fix {
        left: 0;
    }
    #vg-grid .vg-panel-red {
        width: 100% !important;
        height: 615px;
        background: #8d0d0c;
    }
    #vg-grid .vg-panel-red .vg-panel-menu {
          top: 65%;
      }
    .vg-portfolio.vg-grid,
    .vg-gallery.vg-grid {
        overflow: hidden;
        width: 75%;
        margin-left: 25%;
    }
    .vg-gallery.vg-grid .vg-item-slider-1 .vg-arr-prev {
        left: 10%;
        bottom: 30px;
    }
    .vg-item-slider-1 .vg-arr-next {
        background-image: url(../img/arrow-right-white.png);
        left: 40%;
        bottom: 30px;
    }

    /* correzioni masonry portfolio */
    .vg-grid .vg-item:nth-of-type(7) {
        height: 246px !important;
    }
    .vg-grid .vg-item:nth-of-type(9),
    .vg-grid .vg-item:nth-of-type(10)  {
        height: 370px !important;
        top: 738px !important;
    }
    .vg-grid .vg-feedback-caption {
        padding: 20px 30px 0;
    }
    /* fine correzioni masonry portfolio */
    .vg-project-title {
    font-size: 2.2em;
    letter-spacing: 0.3em;
    }
    #vg-extra {
        margin-bottom: 70px;
    }
    .vg-expert {
        margin-bottom: 40px;
    }
    .vg-link-wrap {
        margin-bottom: 45px;
    }
    .vg-related-title {
        font-size: 1.5em;
        letter-spacing: 0.5em;
    }
    .vg-related-title {
        margin-top: 20px;
        margin-bottom: 45px;
    }
    .partners-h {
        height: 508px;
    }
    .vg-magazines .vg-mag-image img {
        margin-left: 0;
        width: 100%;
        height: auto;
    }
    .vg-magazines .vg-mag-image {
        height: 300px;
    }
    .off-col-ls {
      margin-left: 16.666%;
    }
    .vg-magazines .vg-magazine.slick-slide .vg-mag-image {
        height: 250px;
    }
    .vg-magazines ul.magazine-list li.vg-item.vg-magazine.slick-slide {
        margin-right: 30px;
    }
    .title-l {
      display:block;
    }
    .title-l .mag-title {
        width:100%;
        color: #000;
        font-size: 2em;
    }
    ul.post-categories li{
    display: inline-block;
    margin-right:20px;
    }
    .dati-contact ul li {
        font-size: 1.3em;
    }
}

@media ( max-width: 992px ) {

    .vg-main-slider .slick-dots {
        bottom: 30px;
        top: inherit;
    }

    .vg-header-mobile {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 99;
    }

    .vg-project-det-mob {
        display: block;
    }
    .vg-social-list {
        display: none;
    }

    .vg-main-slider .vg-slide-caption {
        margin-top: 85px;
        left: 0;
    }

    .vg-services-bg {
        height: auto !important;
    }

    .vg-services-slider {
        position: static;
    }

    .vg-services-slider .vg-slide {
    }

    .vg-services-draw {
    }

    #vg-services .vg-panel-grey,
    #vg-services .vg-panel-feedback {
        height: auto !important;
    }

    #vg-services .vg-feedback-box {
        position: static;
        border: none;
        background: #ff0000;
        height: 360px !important;
    }

    #vg-services .vg-feedback-title,
    #vg-services .vg-feedback-text,
    #vg-services .vg-feedback-author {
        color: #fff;
    }

    #vg-services .vg-feedback-text {
        font-weight: 400;
    }

    #vg-services .vg-feedback-caption {
        padding: 0 30px;
    }

    .vg-about-bg {
        background-image: none !important;
        height: auto;
    }

    .vg-panel-about {
        position: static;
    }

    .vg-about-image {
        display: block;
    }

    .vg-about-image img {
        width: 100%;
    }

    .vg-about-box {
        height: auto;
    }

    .vg-about-caption {
        padding-left: 30px;
        padding-right: 30px;
        margin-top: 0;
        padding-top: 40px;
    }

    .vg-about-box {
        position: static;
    }

    .vg-feedback-item {
        min-height: 470px;
    }

    .vg-feedback-item .vg-feedback-caption {
        background: #ff0000;
        padding: 60px;
    }

    #vg-grid .vg-feedback-title,
    #vg-grid .vg-feedback-text,
    #vg-grid .vg-feedback-author {
        color: #fff;
    }

    #vg-grid .vg-feedback-text {
        font-weight: 400;
    }

    .vg-page-title:after {
        width: 33.33%;
    }

    q,
    blockquote,
    blockquote p,
    blockquote div {
        font-size: 24px;
        line-height: 1.6em;
    }

}

@media ( max-width: 768px ) {

    .vg-services-title {
        font-size: 32px;
        line-height: 44px;
    }

    .vg-share-row {
        margin-top: 45px;
        text-align: left;
    }

    .vg-share-row ul li {
        margin-right: 25px;
        margin-left: 0;
    }

    .vg-related {
        width: 33.33%;
    }

    .vg-related-title {
        font-size: 32px;
        line-height: 44px;
    }

    .vg-page-title {
        font-size: 32px;
        line-height: 44px;
    }

    .vg-page-title:after {
        width: 50%;
    }

    .vg-contact-info {
        width: 100%;
    }

    .vg-contact-image {
        width: 100%;
        height: 300px;
    }

    q,
    blockquote,
    blockquote p,
    blockquote div {
        font-size: 18px;
        line-height: 30px;
    }

}

@media ( max-width: 480px ) {
  .vg-header-mobile {
      top: -20px;
    }
    .vg-btn-close-mob {
        height: 24px;
        top: 50px;
        right: 51px;
    }

    .vg-logo-top {
        padding: 44px 0;
        height: auto;
        margin-top: -20px;
    }

    .vg-logo-grid {
        display: none;
    }

    .vg-logo-white {
        display: none;
    }

    .vg-logo-black, .vg-logo-white {
        height: 30px;
        position: static;
    }

    .vg-logo-mob {
        top: 45px;
    }

    .vg-logo-mob img {
        height: 30px;
    }

    .vg-btn-menu {
        right: 30px;
        top: 40%;
    }

    .vg-btn-menu-mob {
        right: 30px;
        top: 59px;
    }

    .vg-social-modal {
        display: none;
    }

    .vg-main-slider .vg-slide-caption {
        margin-top: 45px;
        font-size: 18px;
        line-height: 30px;
    }

    .vg-services-title {
        font-size: 18px;
        line-height: 30px;
    }

    .vg-portfolio-cat-mob {
        font-size: 18px;
        line-height: 30px;
    }

    .vg-panel-menu-mob li {
        display: list-item;
    }

    .vg-panel-menu-mob li:after {
        display: none;
    }

    .vg-portfolio .vg-item,
    .vg-gallery .vg-item {
        height: 150px !important;
    }

    #vg-grid .vg-item-frame {
        height: 100% !important;
    }

    .vg-project-title-mob {
        font-size: 18px;
        line-height: 30px;
    }

    .vg-related-title {
        font-size: 18px;
        line-height: 30px;
    }

    .vg-related {
        width: 100%;
    }

    .vg-link-wrap {
        width: 100%;
    }

    .vg-page-title {
        font-size: 18px;
        line-height: 30px;
    }

    .vg-page-title:after {
        width: 100%;
    }

    .vg-map-content #vg-map {
        height: 300px;
    }

    .vg-profile-image {
        padding-left: 0;
    }
    .h-auto {
      height: auto !important;
    }
    .vg-portfolio-caption {
      position: relative;
      top: 30px;
      left: 35px;
      z-index: 9;
    }
    .vg-staff-title {
        width: 100%;
        font-size: 35px;
    }
    .vg-panel-red .vg-post-content {
      position: relative;
      top: 0px;
      left: 0;
      right: 0;
      padding: 35px;
      width: 100%;
    }
    .vg-panel-slider {
      height: auto;
      width: 100%;
      padding-left: 0;
      padding-right: 0;
      position: relative;
    }
    .vg-main-slider {
    padding-left: 0;
    height: auto;
    }
    .profile-wrap {
      position: relative;
      top: 20px;
      left: 0;
    }
    .profile-wrap li.vg-profile:first-child {
      margin-top: 0px;
      vertical-align: top;
      min-width: 50%;
      float: left;
    }
    .profile-wrap li.vg-profile:last-child {
        margin-left: 20px;
        vertical-align: top;
    }
    .vg-profile-image {
      margin-bottom: 15px;
    }
}
