/* postavlja se na grid-boxes DIV objekt oko masonry pozadine */
.540minHeightHeroOverride {
	min-height: 540px !important;
}

@media screen and (max-width: 480px) {
    .pical-fixsidebar-margin {
        margin-top: -20px !important;	
        }
    }
    
    @media screen and (min-width: 481px) {
    .pical-fixsidebar-margin {
        margin-top: -134px !important;	
        }
    }
    
    #about-page .video-box{
        margin-top: 30px;
    }
    
    #about-page .image-hero, .landing .image-hero {
        overflow: visible !important;
        margin-bottom: 35px;
    }
    
    #about-page .landing-only, .landing .landing-only {
        display: block;
    }
    
        .landing-only {
        display: none;
    }
    
    #about-page .image-hero .slide, .landing .image-hero .slide {
        width: 810px;
        height: 340px;
    }
    
    #about-page.hero-image-custom{
        padding-bottom: 110px;
    }
    
    #about-page .image-hero .cta-btn, .landing .image-hero .cta-btn {
        position: absolute;
        bottom: 70px;
        left: 0;
        right: 0;
        width: 350px;
        margin: 0 auto;
        font-size: 35px;
        color: #FFF;
        background-color: #1e71b8;
        border: 2px solid #1e71b8;
        transition: all 0.3s ease-in-out;
    }
    
        #about-page .image-hero .cta-btn:hover, .landing .image-hero .cta-btn:hover {
            transition: all 0.3s ease-in-out;
            background-color: transparent;
            border: 2px solid #FFF;
        }
    
    .social {
        text-align: center;
        width: 530px;
        margin: 0 auto;
        position: absolute;
        bottom: -65px;
        left: 0;
        right: 0;
    }
    
    .image-hero .social-btn {
        overflow: hidden;
        display: table;
        float: left;
        vertical-align: middle;
        width: 240px;
        height: 65px;
        text-decoration: none !important;
        border: 1px solid #1e71b8;
        background: #FFF;
        color: #1e71b8;
        transition: all 0.3s ease-in-out;
    }
    
        .image-hero .social-btn:first-child {
            margin-right: 50px;
        }
    
        .image-hero .social-btn:hover, .image-hero .social-btn:hover {
            color: #FFF;
            background: #1e71b8;
            transition: all 0.3s ease-in-out;
        }
    
        .image-hero .social-btn .fa {
            display: table-cell;
            vertical-align: middle;
            width: 20%;
            padding: 25px 0px;
            font-size: 28px;
            text-align: right;
        }
    
        .image-hero .social-btn span {
            display: table-cell;
            vertical-align: middle;
            width: 80%;
            text-align: center;
            font-size: 18px;
            padding: 0 20px;
            line-height: 1.2;
        }
    
    .box-section {
        text-align: center;
        padding-bottom: 40px;
    }
    
        .box-section.grid-boxes .box {
            margin-bottom: 30px;
            min-height: 180px;
            position: relative;
            
        }
    
    .box-inner {
        position: absolute;
        top: 50%;
        left: 0;
        right: 0;
        transform: translateY(-50%);
    }
    
    .more-padding {
        padding-right: 25px;
        padding-left: 25px;
    }
    
    .blue-bcg {
        background-color: #1e71b8;
    }
    
    
    .testimonials-header {
        padding-bottom: 15px;
    }
    
    .infographics-section {
        text-align: center;
    }
    
        .infographics-section img {
            margin: 0 auto;
        }
    
    .infographics-section, section.testimonial-section, section.testimonials-section {
        padding-top: 40px;
        padding-bottom: 50px;
    }
    section.testimonials-section {
        padding-top: 0;
    }
    
        section.testimonials-section.no-padding {
            padding-bottom: 0;
        }
    
    .testimonial {
        overflow: hidden;
        padding: 30px 0;
    }
    
        .testimonial img {
            max-width: 360px;
            width: 100%;
            height: auto;
        }
    
        .testimonial .italic-title {
            margin: 0;
        }
    
        .testimonial .author {
            margin: 20px 0;
        }
    
    .infographics-header {
        text-align: left;
    }
    
    .infographics-section .btn {
        margin: 40px auto 0;
    }
    
    .infographics-section h3.section-subheading {
        margin-bottom: 40px;
    }
    
    h2.italic-title {
        color: #FFF;
        font-family: "PT Serif",serif;
        font-style: italic;
        font-size: 26px;
        margin-top: 12px;
        margin-bottom: 30px;
    }
    
        h2.italic-title.blue {
            color: #253786;
        }
    
        h2.italic-title.small {
            font-size: 28px;
            padding-top: 10px;
        }
    
    h2.section-heading {
        color: #fff;
        font-size: 32px;
        margin-bottom: 0;
        margin-top: 30px;
    }
    
        h2.section-heading a {
            color: #fff !important;
            font-size: 32px;
            text-decoration: none !important;
        }
    
    h3.section-subheading a {
        color: #fff !important;
        font-size: 32px;
        text-decoration: none !important;
    }
    
    h2.section-heading.blue {
        color: #253786;
    }
    
    h3.section-subheading.gray {
        color: #aaacb0;
    }
    
    h3.section-subheading {
        margin: 0;
        font-style: italic;
        color: #FFF;
        font-size: 24px;
        margin-top: 6px;
    }
    
    .section-slider {
        padding: 25px 0 40px;
    }
    
    .cta-section {
        text-align: center;
        padding-top: 40px;
        padding-bottom: 0px;
    }
    
        .cta-section h2.section-heading {
            color: #253786;
            font-size: 32px;
        }
    
        .cta-section h3.section-subheading {
            color: #aaacb0;
            font-style: normal;
            font-size: 22px;
            margin-top: 6px;
        }
    
    .btn.btn-blue {
        color: #FFF;
        background-color: #253786;
        padding: 12px 16px;
        border: 1px solid #FFF;
        font-size: 18px;
        transition: all 0.3s ease-in-out;
    }
    
        .btn.btn-blue:hover {
            color: #1e71b8;
            background-color: #fff;
            border: 1px solid #1e71b8;
            transition: all 0.3s ease-in-out;
        }
    
    .btn.btn-white {
        color: #1e71b8;
        background-color: #FFF;
        padding: 10px 14px;
        border: 1px solid #1e71b8;
        font-size: 16px;
        transition: all 0.3s ease-in-out;
    }
    
        .btn.btn-white:hover {
            color: #FFF;
            background-color: #1e71b8;
            border: 1px solid #1e71b8;
            transition: all 0.3s ease-in-out;
        }
    
    .cta-section .btn {
        font-size: 22px;
        padding: 12px 40px;
        color: #FFF;
        margin-top: 30px;
        background-color: #253786;
        border: 1px solid #253786;
        transition: all 0.3s ease-in-out;
    }
    
        .cta-section .btn:hover {
            color: #1e71b8;
            background-color: #fff;
            transition: all 0.3s ease-in-out;
        }
    
    .white-color {
        color: #FFF;
    }
    
    .blue-color {
        color: #1e71b8;
    }
    
    .banner-section {
        height: 0;
        padding-bottom: 51.5625%;
        background-size: cover;
    }
    
        .banner-section .title {
            max-width: 320px;
            width: 100%;
            margin-top: 20px;
            font-size: 22px;
            color: #1e71b8;
            font-style: italic;
        }
    
        .banner-section .author {
            margin-top: 12px;
            font-size: 16px;
            color: #4b4b4b;
            font-style: italic;
            text-shadow: 1px 1px 2px rgba(210, 210, 210, 0.71)
        }
    
    .quote:before {
        content: ""
    }
    
    .quote {
        position: relative;
        quotes: "“" "”" "‘" "’";
    }
    
        .quote:before {
            position: absolute;
            left: -16px;
            content: open-quote;
        }
    
        .quote:after {
            position: absolute;
            content: close-quote;
        }
    
    .read-more {
        display: block;
        color: #1e71b8;
        margin-top: 20px;
        font-size: 16px;
    }
    .social.wide {
      width: 870px;
      
    }
     .social.wide .social-btn,.social.wide .play-btn {
            margin: 0 25px !important;
      }
    
    .align-left {
        text-align: left;
    }
    
    /* DPV home fixes */
    .dpv-home-teaser {
        background-size:100% auto;
        height: 300px; 
        background-image: url('/media/186615/dobarposao-360x300-naslovnica.jpg'); 
        background-repeat: no-repeat;
    }
    
    .dpvhome {
        background-color: #1460a1;
        color: white;
        border: 2px;
        border-color: white;
    }
    .dpv-cta-prijavi {
        position: relative; 
        margin-top: 55%;
        margin-left: 26%;	
    }
    .pecsidebar {
        margin-top: 30px;
    }
    
    .dpv-box-bullets {
        padding-right: 20px; margin-top: 0px;
        display:table;height:180px;
    }
    
    .dpv-inner-bullets-wrapper {
        display:table-cell;
        vertical-align:middle;
    }
    
    .dpv-box-bullets-title {
        margin-top: 0px;
        color: white;
        text-align:left;
        line-height:28px;
        font-size:18px;	
        /* margin-bottom: 20px; */
        margin-left: 25px;
    }
    
    .landing-img-on-blue {
        margin-top: 30px;
        margin-bottom: 30px;
    }
    
    
    
    
    @media screen and (min-width: 700px) {
    .pecsidebar {
        margin-top: -130px;
    }
    }
    @media screen and (max-width: 767px) {
        .box-section.grid-boxes .box {
            margin-bottom: 20px;
        }
    }
    
    @media screen and (max-width: 700px) {
    .share-icon-list {
        display: none;}
        
    .dpv-box-bullets-title {	
        margin-bottom: 60px;}
        
    .dpv-box-bullets {
        padding-right: 40px;}
        
    }
    
    label {
        font-size: 14px;
        line-height: 21px;
        padding-left: 7px;
    }
    
    .video-overlay {
        opacity: 0;
        visibility: hidden;
      position: absolute;
      width: 100%;
      height: 100%;
      background: rgba(30, 113, 184, 0.97);
      top: 115px;
      padding-top: 80px;
      right: 0;
      z-index: 10;
      transition: all 0.3s ease-in-out;
    }
    .video-overlay.show {
        opacity: 1;
        visibility: visible;
      transition: all 0.3s ease-in-out;
    }
    .video-overlay.float-top {
        width: 35%;
        height: 0;
        padding-bottom: 20%;
      transition: all 0.3s ease-in-out;
      background: transparent;
        top: 150px;    
        right: 30px;
    }
    .video-overlay.float-top .close-video {
      right: 0;
    }
    
    .embed-container {
      position: relative;
      padding-bottom: 56.25%;
      height: 0;
      overflow: hidden;
        max-width: 1280px;
      width: 100%;
        margin: 0 auto;
    }
    
    .embed-container iframe,
    .embed-container object,
    .embed-container embed {
      position: absolute;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
        max-width: 1280px;   
        max-height: 720px;
    }
    
    .close-overlay {
            display: block;
        position: absolute;
        right: 25px;
        top: 25px;
        width: 30px;
        height: 30px;
        color: #fff;
        border: 1px solid #fff;
        border-radius: 50%;
        font-size: 24px;
        line-height: 24px;
        text-align: center;
        background-color: #1e71b8;
    }
    
    .close-overlay:hover {
            background: #fff;
        color: #1e71b8;
        text-decoration: none;
    }
    
    .play-btn {
      overflow: hidden;
      display: table;
      float: left;
      vertical-align: middle;
      width: 240px;
      height: 80px;
      line-height: 80px;
      text-decoration: none !important;
      border: 1px solid #1e71b8;
      color: #1e71b8;
      transition: all 0.3s ease-in-out;
      cursor: pointer;
      text-align: center;
        position: relative;
      background: #fff url("https://valamar-riviera.com/media/1017/bg-home-miramare-heroimage-2000x620-new.jpg") no-repeat scroll 0 0;
         -webkit-background-size: cover !important;
         -moz-background-size: cover !important;
         background-size: cover !important;
    }
    .play-btn:hover .play-icon {
      opacity: 1;
      transition: all 0.3s ease-in-out;
    }
    .play-btn .play-icon {
      color: #fff;
      background: #1e71b8;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      opacity: 0.7;
        padding-left: 5px;
        font-size: 22px;
        line-height: 40px;
        position: absolute;
        top: 50%;
        left:0;
        right:0;
        display: inline-block;
        margin: 0 auto;
        -webkit-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
        transform: translateY(-50%);
      transition: all 0.3s ease-in-out;
    }
    @media screen and (max-width: 992px) {
        
        .social.wide {
          width: 320px;
        }
          .social.wide .social-btn, .social.wide .play-btn {
                margin: 5px !important;
          }
      .social.wide .play-btn {    
        height: 42px;
          width:210px;
                  line-height: 40px;
          display: inline-block;
          
      }
    
        #about-page .image-hero.generic .social-btn{
            display: none;
        }
        #about-page .image-hero.generic .play-btn {
            float: none;
        }
        .play-btn .play-icon {
            width: 30px;
            height: 30px;
            font-size: 16px;
            line-height: 30px;
        }
        #about-page .image-hero .cta-btn, .landing .image-hero .cta-btn {
            bottom: 40px;
            width: 240px;
            font-size: 16px;
        }
    
        .social {
            text-align: center;
            width: 110px;
            bottom: -25px;
        }
        .image-hero .social-btn{
            width: 40px;
            height: 40px;
        }
        .image-hero .social-btn:first-child {
           margin-right: 10px;
        } 
        .image-hero .social-btn .fa {
            padding: 0;
            width: 40px;
            height: 40px;
            text-align: center;
        }
    
        .image-hero .social-btn span {
            display: none;
        }
    
    }
    
    .notice-scrolldown-video{
        margin-bottom: 10px;
    }
    
    .video-overlay.float-top .notice-scrolldown-video{
        display: none;	
    }
    @media screen and (max-width: 433px) {
    
        .box-section.grid-boxes .box {
            min-height: 120px;
        }
    }
    
    .section-slide {
        display: block;
        height: 320px;
    }
    
    @media screen and (min-width: 992px) {
        .banner-section {
        padding-bottom: 0;
        height: 700px;
        max-height: 700px;
        }
        .section-slide {
            display: block;
            height: 580px;
        }
    
        .cta-section .btn {
            padding: 12px 80px;
        }
    
        .infographics-section .btn {
            margin: 80px auto 0;
        }
    
        .infographics-section h3.section-subheading {
            margin-bottom: 80px;
        }
    
        .testimonials-header {
            padding-bottom: 30px;
        }
    
        .infographics-section {
            padding-top: 80px;
            padding-bottom: 90px;
        }
        section.testimonials-section{
            padding-bottom: 130px;
        }
        section.testimonial-section {
            padding-top: 110px;
            /* padding-bottom: 130px; */
        }
    
        .testimonial {
            padding: 50px 0;
        }
    
        .section-slider {
            padding: 45px 0 110px;
        }
    
        .box-section {
            padding-bottom: 80px;
        }
    
        .testimonials-header {
            padding-top: 110px;
        }
    
        .cta-section {
            padding-top: 80px;
            padding-bottom: 125px;
        }
    
            .cta-section .btn {
                font-size: 36px;
            }
    
    
            .cta-section h2.section-heading {
                font-size: 48px;
            }
    
            .cta-section h3.section-subheading {
                font-size: 27px;
            }
    
        h2.italic-title {
            font-size: 40px;
        }
    
            h2.italic-title.small {
                font-size: 35px;
                padding-top: 0;
            }
    
        .banner-section .title {
            max-width: 820px;
            width: 100%;
            margin-top: 40px;
            font-size: 45px;
        }
    
        .banner-section .author {
            font-size: 26px;
        }
    
        .quote:before {
            left: -22px;
        }
    
        h2.section-heading {
            font-size: 48px;
        }
    
        h3.section-subheading {
            font-size: 32px;
        }
    
        .read-more {
            font-size: 25px;
        }
    }
    
    
    /*******************************************************************************************************************
    *************** PRIVACY POPUP **********************************************************************************
    ********************************************************************************************************************/
    .clearfix {
        clear: both;
    }
    
    .eupopup-container {
        background-color: #1e71b8;
        color: white;
        padding: 5px 20px;
        font-size: 13px;
        font-family: "open sans", helvetica, sans-serif;
        line-height: 1.2em;
        text-align: center;
        display: none;
        z-index: 9999999;
    }
    
    .eupopup-container-top,
    .eupopup-container-fixedtop {
        position: absolute;
        top: 0; left: 0; right: 0;
    }
    
    .eupopup-container-fixedtop {
        position: fixed;
    }
    
    .eupopup-container-bottom {
        position: fixed;
        bottom: 0; left: 0; right: 0;
    }
    
    .eupopup-container-bottomleft {
        position: fixed;
        bottom: 10px;
        left: 10px;
        width: 300px;
    }
    
    .eupopup-container-bottomright {
        position: fixed;
        bottom: 10px;
        right: 10px;
        width: 300px;
    }
    
    .eupopup-closebutton {
        font-size: 16px;
        font-weight: 100;
        line-height: 1;
        color: white;
        filter: alpha(opacity=20);
        position: absolute;
        font-family: "open sans", helvetica, arial, verdana, sans-serif;
        top: 0; right: 0;
        padding: 5px 10px;
    }
    .eupopup-closebutton:hover,
    .eupopup-closebutton:active {
        color: #fff;
        text-decoration: none;
    }
    
    .eupopup-head {
        font-size: 1.2em;
        font-weight: bold;
        padding: 7px;
        color: #fff;
    }
    
    .eupopup-body {
        color: #ffffff;
    }
    
    .eupopup-buttons {
        padding: 7px 0 5px 0;
    }
    
    .eupopup-button_1 {
        color: #f6a21d;
        font-weight: bold;
        font-size: 14px;
    }
    
    .eupopup-button_2 {
        color: #f6a21d;
        font-weight: normal;
        font-size: 12px;
    }
    
    .eupopup-button {
        margin: 0 10px;
    }
    
    .eupopup-button:hover,
    .eupopup-button:focus {
        text-decoration: underline;
        color: #f6a21d;
    }
    
    body .eupopup-color-inverse {
        color: #000;
        background-color: rgba(255, 255, 255, 0.9);
    }
    
    body .eupopup-color-inverse .eupopup-head {
        color: #000;
    }
    
    body .eupopup-style-compact {
        text-align: left;
        padding: 8px 30px 7px 20px;
        line-height: 15px;
    }
    
    body .eupopup-style-compact .eupopup-head,
    body .eupopup-style-compact .eupopup-body,
    body .eupopup-style-compact .eupopup-buttons {
        display: inline;
        padding: 0;
        margin: 0;
    }
    
    body .eupopup-style-compact .eupopup-button {
        margin: 0 5px;
    }
    
/******
**** masonry single box center ****
********/

.masonry-grid-single-item-center {
  display: flex;
  justify-content: center;
  align-items: center;
	position: relative;
}
    /*******************************************************************************************************************
    *************** BRANDING DODACI **********************************************************************************
    ********************************************************************************************************************/
    .brands-page {
        margin-left: 0px;
        margin-right: -20px;
        width: 100%;
    }
    .valamar-brands-box {
        margin-bottom: 40px;
        padding-left: 0px;
        padding-right: 0px;
        margin-right: 0px;
        margin-top: 15px;
        width: 100%;
    }
    
    .brandbox-single {
        padding-left: 0px;	
        width: 20%;
        float: left;
        margin-top: 0px;
    
    }
    
    .lastbox  {
       margin-bottom: 0px;
        margin-right: -100px;
    
    }
    
    .brands-title-text {
        color: #253786 !important;
        text-align: center;
        padding-right: 20px;
        margin-top: 45px !important;
        margin-bottom: 45px !important;
    }
    
    .before-footer-slider {
        width: 100%;
    }
    
    .footer-no-top-margin {
        margin-top: 0px !important;	
    }
    
    .link-overlay-herodivs {
        top: 0;
        left: 0;
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 100;
    }
    
    @media screen and (max-width: 480px) {
    .brands-title-text {
        color: #253786 !important;
        text-align: center;
        padding-right: 20px;
        margin-top: 25px !important;
    }
        
    .brandbox-single {
        padding-left: 0px;	
        width: 75%;
        float: none;
        margin: 0 auto;
    }
       
    }