

.padded {
    padding-left: 20px;
    padding-right: 20px;
}

.wrap {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 661px) {
    .padded {
        padding-left: 40px;
        padding-right: 40px;
    }
    .wrap {
        max-width: 1380px;
        padding-left: 40px;
        padding-right: 40px;
    }
}

@media (min-width: 1381px) {
    .padded {
        padding-left: calc((100% - 1300px) / 2);
        padding-right: calc((100% - 1300px) / 2);
    }
}

.content-page a,
.mce-content-body a {
    color: #03585b;
    text-decoration: underline;
}

.content-page:not(.search-panel)  .button:not(.deals__more):not(.toggle-more-options),
.mce-content-body .button:not(.deals__more):not(.toggle-more-options) {
    color: #FFF;
    text-decoration: none;
}

.mce-content-body .button {
    -webkit-user-select: all !important;
    -moz-user-select: all !important;
    user-select: all !important;
    cursor: text;
}

.content-page {
    background-color: #f5f5f5;
}

.content-page .padded {
    padding-top: 30px;
}

.content-page .padded:last-child {
    padding-bottom: 56px;
}

.content-page .region + .region {
    margin-top: 30px;
}

.content-page .banner {
    position: relative;
    height: 405px;
}

.content-page .banner .content {
    padding-bottom: 45px;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    background: url(../img/content-pages/banner-gradient.png) repeat-x bottom center;
}

.content-page .banner.small {
    height: 300px;
    padding: 0px;
}

.content-page .banner.small .content {
    padding: 50px;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    background: url(../img/content-pages/banner-transparent.png) repeat-x bottom center;
}

.content-page .banner .content p {
    margin-bottom: 0px;
}

.content-page .text-media,
.mce-content-body {
    padding: 30px;
    background: #FFF;
    color: #666666;
    font: 400 14px / 24px Roboto;
}

.mce-content-body {
    padding: 0px;
}

.content-page .text-media {
    box-shadow: 0px 1px 3px 0.00px rgba(0, 0, 0, 0.1);
}

.content-page .text-media h2,
.mce-content-body h2 {
    color: #03585b;
    font: 500 32px / 38px Roboto;
}

.content-page .text-media h3,
.mce-content-body h3 {
    color: #03585b;
    font: 400 24px / 30px Roboto;
}

.content-page .text-media h3.grey,
.mce-content-body h3.grey {
    color: #616161;
}

.content-page .text-media p.legal-text,
.mce-content-body p.legal-text {
    font-size: 12px;
}

.content-page .text-media h2,
.mce-content-body h2,
.content-page .text-media h3,
.mce-content-body h3,
.content-page .text-media p,
.mce-content-body p {
    margin: 0px;
}

.content-page .text-media h2 + p, .mce-content-body h2 + p, 
.content-page .text-media h3 + p, .mce-content-body h3 + p,
.content-page .text-media p + h2, .mce-content-body p + h2, 
.content-page .text-media p + h3, .mce-content-body p + h3 {
    margin-top: 20px;
} 

.content-page .text-media p + p, .mce-content-body p + p {
    margin-top: 10px;
}

.content-page .text-media .media {
    position: relative;
    width: 33%;
    padding-bottom: 19.75875%;
    margin-bottom: 30px;
}

.content-page .text-media .left {
    float: left;
    margin-right: 30px;
}

.content-page .text-media .right {
    float: right;
    margin-left: 30px;
}

.content-page .text-media .media img {
    display: inline-block;
    position: absolute;
    width: 100%;
    opacity: 0;
    transition: opacity 500ms;
}

.content-page .text-media .media img.show {
    opacity: 1;
}

.content-page .text-media .media nav {
    position: absolute;
    bottom: 15px;
    left: 0px;
    right: 0px;
    font-size: 0px;
    margin: 0px;
    word-spacing: 10px;
    text-align: center;
    opacity: 0;
    transition: opacity 250ms;
}

.content-page .text-media .media:hover nav,
html.touchevents .text-media .media nav {
    opacity: 1;
}

.content-page .text-media .media nav a {
    box-sizing: border-box;
    display: inline-block;
    font-size: inherit;
    margin: 0px;
    padding: 0px;
    width: 15px;
    height: 15px;
    border-radius: 15px;
    border: 1px solid #033F60;
    transition: background-color 250ms;
}

.content-page .text-media .media nav a.show {
    background: #033F60;
}

.content-page .text-media .media .size {
    position: absolute;
    width: 100%;
    height: 100%;
}

.content-page .text-media .media iframe {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
}

.content-page .text-media:after {
    content: '';
    display: block;
    clear: both;
}

.content-page .text-media ul {
    margin-left: 40px;
    list-style: disc;
}

.content-page .blocks {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    list-style: none;
    margin: 0px;
    padding: 0px;
    text-align: center;
}

.content-page .blocks li {
    box-sizing: border-box;
    display: inline-block;
    position: relative;
    width: calc(25% - 7.5px);
    margin: 0px 10px 10px 0px;
    height: auto;
    word-spacing: normal;
    background: #fff;
    color: #666666;
    font: 400 14px / 20px Roboto;
    box-shadow: 0px 1px 3px 0.00px rgba(0, 0, 0, 0.1);
}

.content-page .blocks li:nth-child(4n) {
    margin-right: 0px;
}

.content-page .blocks .content {
    box-sizing: border-box;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    position: relative;
    height: 100%;
    max-width: 100%;
    min-width: 100%;
    padding: 30px 40px;
    white-space: normal;
}

.content-page .blocks em {
    color: #03585b;
    font: 500 20px / 24px Roboto;
}

.content-page .blocks p {
    margin-bottom: 10px;
}

.content-page .blocks .button {
    box-sizing: border-box;
    width: 100%;
    height: 50px;
    padding: 0px 15px;
    margin-top: auto;
    text-align: center;
    color: #ffffff;
    font: 500 16px / 50px Roboto;
}

.content-page .blocks .price {
    font: 300 14px / 50px Roboto;
}

.content-page .blocks .price strong {
    font: 500 30px / 1em Roboto;
    vertical-align: middle;
}

.content-page .blocks.image {
    text-align: left;
}

.content-page .blocks.image li {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    width: calc(50% - 5px);
    min-height: 300px;
}

.content-page .blocks.image li:nth-child(2n) {
    margin-right: 0px;
}

.content-page .blocks.image img {
    height: 100%;
}

.content-page .blocks.image .content {
    width: auto;
    max-width: calc(100% - 320px);
    min-width: 50%;
}

.content-page .blocks.image .button {
    padding: 0px 30px;
}

.content-page .blocks.image .image {
    position: relative;
    display: inline-block;
    max-width: 320px;
    width: 50%;
    overflow: hidden;
    background: none no-repeat center / cover;
}

.content-page .blocks.image span.price {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    color: #ffffff;
    background-color: #03585b;
    font: 300 14px / 60px Roboto;
    text-align: center;
}

.content-page .tabs nav {
    background: none;
    text-align: left;
    margin: 0px 0px 30px;
}

.content-page .tabs nav a {
    display: inline-block;
    position: static;
    padding: 0px 20px;
    background: none;
    color: #03585b;
    font: 500 14px / 40px Roboto;
    height: 40px;
    -webkit-transition: color 100ms, background-color 100ms;
    transition: color 100ms, background-color 100ms;
    text-transform: none;
    white-space: nowrap;
    text-decoration: none;
}

.content-page .tabs nav.show {
    position: relative;
    z-index: 10;
}

.content-page .tabs nav .highlight {
    color: #cf0e0e;
}

.content-page .tabs nav a:hover,
.content-page .tabs nav a:focus {
    background-color: #e7e7e7;
}

.content-page .tabs nav a.selected,
.content-page .tabs nav a[aria-selected="true"] {
    background-color: #03585b;
    color: #FFF;
}

.content-page .tabs nav .highlight.selected {
    background-color: #cf0e0e;
}

.content-page .search-panel {
    padding: 45px;
    background: #FFF;
    box-shadow: 0px 1px 3px 0.00px rgba(0, 0, 0, 0.1);
}

.content-page .tab-panel {
    max-width: 100%;
    padding: 0px;
}

.content-page .search-panel .tab-panel {
    max-width: 920px;
}

.content-page .share-controls {
    padding: 30px;
    background: #FFF;
    color: #03585b;
    vertical-align: middle;
    text-align: center;
    box-shadow: 0px 1px 3px 0.00px rgba(0, 0, 0, 0.1);
}

.content-page .share-controls a {
    display: inline-block;
    width: 32px;
    height: 32px;
    background-position: center;
    background-size: 100%;
    background-repeat: no-repeat;
    vertical-align: middle;
    font-size: 0px;
}

.content-page .share-controls a:first-child {
    margin-left: 10px;
}

.content-page .share-controls .facebook {
    background-image: url(../img/icons/ico-facebook.svg);
}

.content-page .share-controls .twitter {
    background-image: url(../img/icons/ico-twitter.svg);
}

.content-page .share-controls .email {
    background-image: url(../img/icons/email-square.png);
}

.content-page .deals__filter__pkgs__pkg a {
    text-decoration: none;
}

@media (max-width: 1024px) {
    .content-page .banner {
        height: 300px;
    }
    .content-page .banner .content {
        padding: 50px;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        background: url(../img/content-pages/banner-transparent.png) repeat-x bottom center;
    }
    .content-page .text-media .media {
        width: 50%;
        margin-bottom: 15px;
        padding-bottom: 29.9375%;
    }
    .content-page .blocks li:nth-child(n) {
        width: calc(33.3333% - 6.6666px);
        margin-right: 10px;
    }
    .content-page .blocks li:nth-child(3n) {
        margin-right: 0px;
    }
    .content-page .blocks.image li:nth-child(n) {
        width: 100%;
        margin-right: 0px;
    }
    .content-page .blocks.image .button {
        width: auto;
    }
}

@media (max-width: 900px) {
    .content-page .blocks li:nth-child(n) {
        width: calc(50% - 5px);
        margin-right: 10px;
    }
    .content-page .blocks li:nth-child(2n) {
        margin-right: 0px;
    }
}

@media (max-width: 767px) {
    .content-page .padded {
        margin: 10px 0px 20px;
        padding: 20px;
    }
    .content-page .padded:last-child {
        /*padding-bottom: 0px;*/
        margin-bottom: 0px;
    }
    .content-page .text-media {
        padding: 20px;
    }
    .content-page .text-media.text-image,
    .content-page .text-media.text-youtube {
        position: relative;
        padding-bottom: calc(59.875% + 20px) !important;
    }
    
    .content-page .text-media .media {
        position: absolute;
        bottom: 20px;
        left: 20px;
        right: 20px;
        width: auto;
        padding-bottom: calc(59.875% - 20px) !important;
        margin: 0px;
    }
    .content-page .text-media .media nav {
        bottom: 30px;
    }

    .content-page .blocks li:nth-child(n) {
        width: 100%;
        margin-right: 0px;
    }
    .content-page .blocks .content {
        padding: 20px;
    }
    .content-page .blocks.image li {
        display: block;
    }
    .content-page .blocks.image .image {
        display: block;
        max-width: 100%;
        width: 100%;
        height: 300px;
    }
    .content-page .blocks.image .content {
        width: 100%;
        max-width: 100%;
        height: auto;
    }
    .content-page .tabs nav {
        font-size: 14px;
        line-height: 14px;
        font-weight: 500;
    }
    .content-page .tabs nav:before {
        content: attr(tab);
        display: block;
        padding: 15px;
        background: #03585b url(../../img/interfaces/select-bg.svg) no-repeat right top / auto 100%;
        color: #FFF;
        cursor: pointer;
    }
    .content-page .tabs nav.show:before {
        display: none;
    }
    .content-page .tabs nav a {
        display: none;
        box-sizing: border-box;
        background-color: #FFF;
        color: #03585b;
        width: 100%;
        height: 48px;
        padding: 15px;
        line-height: 1;
    }
    .content-page .tabs nav.show a {
        display: block;
    }
    .content-page .tabs nav.show a[aria-selected="true"] {
        background-color: #03585b;
        color: #FFF;
    }
}
