/*
 Theme Name:   Nomad
 Theme URI:    http://nomad.divisoup.com
 Description:  A Child Theme for Divi by Divi Soup
 Author:       Divi Soup
 Author URI:   http://divisoup.com
 Template:     Divi
 Version:      1
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/


/*-----Colour Palette-----*/


/*Colours used in this child theme*/


/*Off White: HEX #E0DADC*/


/*Grey: HEX #686369*/


/*Dark Blue: HEX #325166*/


/*Lighter Blue: HEX #3d7296*/


/*Gold: HEX #E8CB49*/


/*Off Black: HEX #1B1B1B*/


/*-----Typography-----*/

@font-face {
    font-family: 'hensaregular';
    src: url('fonts/hensa-webfont.woff2') format('woff2'), url('fonts/hensa-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}


/*Example H1 styling*/


/*Example H2 styling*/

.ds-heading h2 {
    font-family: 'hensaregular';
    font-size: 3em;
    color: #ffffff;
}

.ds-heading-blue h2,
.ds-heading-blue-noline h2 {
    font-family: 'hensaregular';
    font-size: 3em;
    color: #325166;
}

.ds-heading-gold h2 {
    font-family: 'hensaregular';
    font-size: 2em;
    color: #E8CB49;
}

.ds-heading h2:after,
.ds-heading-blue h2:after {
    content: '~';
    font-family: 'hensaregular';
    position: absolute;
    bottom: -25px;
    left: 0;
}

p,
body {
    font-weight: 500;
}


/*Global elements*/


/*Buttons*/

.et_pb_button,
.et_pb_button:hover {
    background: #E8CB49;
    color: #ffffff !important;
}

.et_pb_button:after {
    line-height: 1.8em !important;
}

.ds-blue-back:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100%;
    background: #325166;
}

.ds-gold-back:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100%;
    background: #E8CB49;
}

.ds-subpage-header h1 {
    font-family: 'hensaregular';
    color: #E8CB49;
}


/*Main Menu*/


/*Fix jumping header*/

@media only screen and (min-width: 981px) {
    #main-header {
        top: 0 !important;
    }
    #page-container {
        padding-top: 60px !important;
    }
}

#main-header,
.et-fixed-header {
    background: #325166;
    min-height: 60px;
}

#top-menu li.current-menu-item > a,
#top-menu li.current-menu-ancestor > a {
    color: #E8CB49 !important;
    font-family: 'hensaregular';
    text-transform: capitalize;
    font-size: 175% !important;
}

#top-menu li.current-menu-item > a {
    padding-top: 10px;
}

.et-fixed-header #et-top-navigation nav > ul > li.current-menu-item > a,
.et-fixed-header #et-top-navigation nav li.current-menu-ancestor > a {
    font-size: 175%;
    color: #E8CB49 !important;
}

#top-menu a:hover {
    opacity: 1 !important;
}

#top-menu li.current-menu-item > a:hover {
    color: #ffffff !important;
}


/*Sub menu*/

.nav li ul {
    background: #325166;
    border-top: #325166;
    ;
}

#top-menu li li a:hover {
    background: #E8CB49;
    border-radius: 3px;
}

#top-menu li li.current-menu-item > a:hover {
    color: #ffffff;
}


/*Sidebar*/


/*Remove dividing line on default pages*/

#main-content .container:before {
    width: 0;
}

.et_pb_widget_area_right {
    border-left: 0;
}

h4.widgettitle {
    font-family: 'hensaregular';
    font-size: 2em;
    color: #325166;
    margin: 50px 0 0;
}

h4.widgettitle:after {
    content: '~';
    font-family: 'hensaregular';
    margin-top: -12px;
    display: block;
}

.et_pb_widget li a {
    font-size: 18px;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.et_pb_widget ul li a:before {
    content: '~';
    font-family: 'hensaregular';
    position: absolute;
    margin-top: 15px;
    margin-left: 0;
    color: #325166;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

.et_pb_widget li a:hover {
    color: #E8CB49;
}

.et_pb_widget ul li a:hover:before {
    font-size: 150%;
    color: #E8CB49;
}


/*Sidebar search*/

.widget_search input#s,
.widget_search input#searchsubmit {
    border: none;
    color: #fff;
    font-size: 16px;
}

.widget_search input#s {
    background: #325166;
}

.widget_search input#searchsubmit {
    background: #E8CB49;
    text-transform: uppercase;
    padding: 0px;
    font-weight: 500;
}


/*Global Footer*/

#footer-bottom {
    background-color: transparent;
    margin-top: -60px;
}

#footer-info {
    color: #666666;
    float: none;
    text-align: center;
}

.ds-footer-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: -moz-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.7) 17%, rgba(255, 255, 255, 0.7) 100%);
    background: -webkit-linear-gradient(top, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.7) 17%, rgba(255, 255, 255, 0.7) 100%);
    background: linear-gradient(to bottom, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.7) 17%, rgba(255, 255, 255, 0.7) 100%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#b3ffffff', GradientType=0);
}

.ds-footer-section h2 {
    font-family: 'hensaregular';
    font-size: 2em;
    color: #325166;
    margin-bottom: 20px;
}

.ds-footer-section h2:after {
    content: '~';
    font-family: 'hensaregular';
    position: absolute;
    left: 0;
    top: .6em;
}

.ds-footer-section p {
    font-weight: 500;
}


/*Style the menu links*/

.ds-footer-section p a {
    font-weight: 500;
    color: #666666;
}

.ds-footer-section p a:hover {
    color: #E8CB49;
}

.ds-footer-section .et_pb_newsletter_description {
    margin-bottom: 0;
}


/*Style the social follow icons*/

.ds-footer-section .et_pb_social_media_follow li {
    width: 25%;
}

.ds-footer-section .et_pb_social_media_follow li a.icon:before {
    width: 32px;
    height: 32px;
    font-size: 30px;
    color: #325166;
}

.ds-footer-section .et_pb_social_media_follow li a.icon:hover:before {
    color: #E8CB49;
    opacity: 1;
}


/*Search, Category & Archive Pages*/


/* Create Masonary styles for archive pages */

.search #left-area,
.archive #left-area {
    -moz-column-count: 4;
    column-count: 4;
    -moz-column-gap: 20px;
    column-gap: 20px;
}

.search-no-results #left-area {
    -moz-column-count: 1;
    column-count: 1;
}

.archive .et_pb_post > a,
.search .et_pb_post > a {
    margin: -20px -20px 10px;
    display: block;
}

.search #left-area .et_pb_post,
.archive #left-area .et_pb_post {
    overflow: hidden;
    /* fix for Firefox */
    page-break-inside: avoid;
    break-inside: avoid-column;
    width: 100%;
    padding: 19px;
    border: none;
    color: #ffffff;
    background: #325166;
    word-wrap: break-word;
    display: block;
}

.search #left-area .et_pb_post h2,
.archive #left-area .et_pb_post h2 {
    font-size: 18px;
    color: #fff;
}

.search #left-area .et_pb_post.format-link,
.search #left-area .et_pb_post.format-quote,
.search #left-area .et_pb_post.format-audio,
.archive #left-area .et_pb_post.format-link,
.archive #left-area .et_pb_post.format-quote,
.archive #left-area .et_pb_post.format-audio {
    padding: 0;
}

.archive .et_pb_post.format-audio .et_audio_content {
    margin: 0px -38px 0px;
}

.archive .et_pb_post .et_pb_slider .et_pb_slide,
.search .et_pb_post .et_pb_slider .et_pb_slide {
    min-height: 180px;
}

.archive .pagination,
.search .pagination {
    padding: 20px 0;
}

.ds-category-header {
    max-width: 1280px;
    width: 80%;
    margin: auto;
    text-align: center;
    font-family: 'hensaregular';
    color: #E8CB49;
    font-size: 50px;
    position: absolute;
    left: 0;
    right: 0;
    top: 26%;
}

.ds-category-page-header h1 {
    font-family: 'hensaregular';
    color: transparent;
}


/*
* Media Queries
*/

@media screen and (max-width: 980px) {
    .search #left-area,
    .archive #left-area {
        -moz-column-count: 2;
        column-count: 2;
        -moz-column-gap: 60px;
        column-gap: 60px;
    }
}

@media screen and (max-width: 767px) {
    .search #left-area,
    .archive #left-area {
        -moz-column-count: 1;
        column-count: 1;
    }
    .search .et_pb_post.format-audio .et_audio_content,
    .archive .et_pb_post.format-audio .et_audio_content {
        margin: 0;
    }
    .search #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls div.mejs-time-rail,
    .archive #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls div.mejs-time-rail,
    .search #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls .mejs-time-rail .mejs-time-total,
    .archive #left-area .et_pb_post.format-audio .et_audio_container .mejs-controls .mejs-time-rail .mejs-time-total {
        min-width: 300px!important;
        width: 300px!important;
    }
}

.search .et_pb_post .post-meta,
.archive .et_pb_post .post-meta {
    display: none;
}


/*Style the read more link*/

.search a.more-link,
.archive a.more-link {
    font-size: 1em;
    text-transform: uppercase;
    text-align: center;
    color: #ffffff;
    background: #E8CB49;
    padding: 10px;
    width: 130px;
    margin: 20px 0 0;
    border-radius: 3px;
    font-weight: 500;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
}

.search a.more-link:hover,
.archive a.more-link:hover {
    font-size: 1em;
    text-transform: uppercase;
    text-align: center;
    color: #ffffff;
    background: #E8CB49;
    padding-right: 30px;
    border-radius: 3px;
    font-weight: 500;
}

.search a.more-link:after,
.archive a.more-link:after {
    content: 'E';
    font-family: "ETmodules" !important;
    position: absolute;
    margin-left: -1em;
    opacity: 0;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.4em;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
}

.search a.more-link:hover:after,
.archive a.more-link:hover:after {
    margin-left: 0;
    opacity: 1;
}


/*Homepage styling*/


/*Post Slider*/


/*Set the height of the post slider*/

.ds-home-post-slider .et_pb_slide {
    height: 65vh;
}


/*Set the width of the slider content*/

.ds-home-post-slider.et_pb_slider .et_pb_container {
    width: 89% !important;
}


/*Set the text alignment*/

.ds-home-post-slider .et_pb_slide_description {
    text-align: left;
    padding: 16% 0 0 0;
}


/*Style the arrows*/

.ds-home-post-slider.et_pb_slider:hover .et-pb-arrow-prev,
.ds-home-post-slider.et_pb_slider:hover .et-pb-arrow-next {
    background: #325166;
}

.ds-home-post-slider .et-pb-arrow-prev,
.ds-home-post-slider .et-pb-arrow-next {
    top: 60%;
}

.ds-home-post-slider .et-pb-arrow-prev:before,
.ds-home-post-slider .et-pb-arrow-next:before {
    font-size: 40px;
    color: #E8CB49;
}

.ds-home-post-slider .et-pb-arrow-next:before {
    content: 'E';
}

.ds-home-post-slider .et-pb-arrow-prev:before {
    content: 'D';
}

.ds-home-post-slider .et_pb_slider:hover .et-pb-arrow-prev {
    left: 0;
}

.ds-home-post-slider .et_pb_slider:hover .et-pb-arrow-next {
    right: 0;
}


/*Set the content animation*/

.ds-home-post-slider .et-pb-active-slide .et_pb_slide_description {
    -webkit-animation-name: fadeLeft;
    -moz-animation-name: fadeLeft;
    -ms-animation-name: fadeLeft;
    -o-animation-name: fadeLeft;
    animation-name: fadeLeft;
}


/*Skewed Blurbs*/


/*Set the overlap for the skewed blurb section*/

.ds-skewed-section {
    margin-top: -75px;
    z-index: 2;
}

.ds-skewed-blurb h4 {
    font-family: 'hensaregular';
}


/*Set background for columns 1 & 3*/

.ds-skewed-col1,
.ds-skewed-col3 {
    background: #325166;
}


/*Set background for columns 2 & 4*/

.ds-skewed-col2,
.ds-skewed-col4 {
    background: #3d7296;
}


/*Add the skew to the columns*/

.ds-skewed-col1:before {
    content: '';
    display: block;
    height: 50%;
    left: 0;
    position: absolute;
    right: 0;
    background: #325166;
    -webkit-backface-visibility: hidden;
    -webkit-transform: skewY(3.5deg);
    transform: skewY(3.5deg);
    -webkit-transform-origin: 100% 0;
    transform-origin: 100% 0;
}

.ds-skewed-col1:after {
    content: '';
    display: block;
    height: 50%;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    background: #325166;
    -webkit-backface-visibility: hidden;
    -webkit-transform: skewY(-3.5deg);
    transform: skewY(-3.5deg);
    -webkit-transform-origin: 100%;
    transform-origin: 100%;
}

.ds-skewed-col2:before {
    content: '';
    display: block;
    height: 50%;
    position: absolute;
    left: 0;
    right: 0;
    background: #3d7296;
    -webkit-backface-visibility: hidden;
    -webkit-transform: skewY(-3.5deg);
    transform: skewY(-3.5deg);
    -webkit-transform-origin: 0 100%;
    transform-origin: 0 100%;
}

.ds-skewed-col2:after {
    content: '';
    display: block;
    height: 50%;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    background: #3d7296;
    -webkit-backface-visibility: hidden;
    -webkit-transform: skewY(3.5deg);
    transform: skewY(3.5deg);
    -webkit-transform-origin: 0;
    transform-origin: 0;
}

.ds-skewed-col3:before {
    content: '';
    display: block;
    height: 50%;
    left: 0;
    position: absolute;
    right: 0;
    background: #325166;
    -webkit-backface-visibility: hidden;
    -webkit-transform: skewY(3.5deg);
    transform: skewY(3.5deg);
    -webkit-transform-origin: 100% 0;
    transform-origin: 100% 0;
}

.ds-skewed-col3:after {
    content: '';
    display: block;
    height: 50%;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    background: #325166;
    -webkit-backface-visibility: hidden;
    -webkit-transform: skewY(-3.5deg);
    transform: skewY(-3.5deg);
    -webkit-transform-origin: 100%;
    transform-origin: 100%;
}

.ds-skewed-col4:before {
    content: '';
    display: block;
    height: 50%;
    position: absolute;
    left: 0;
    right: 0;
    background: #3d7296;
    -webkit-backface-visibility: hidden;
    -webkit-transform: skewY(-3.5deg);
    transform: skewY(-3.5deg);
    -webkit-transform-origin: 0 100%;
    transform-origin: 0 100%;
}

.ds-skewed-col4:after {
    content: '';
    display: block;
    height: 50%;
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    background: #3d7296;
    -webkit-backface-visibility: hidden;
    -webkit-transform: skewY(3.5deg);
    transform: skewY(3.5deg);
    -webkit-transform-origin: 0;
    transform-origin: 0;
}


/*Buttons on the skewed blurbs*/

.ds-skewed-blurb-button.et_pb_button:hover {
    background: #E8CB49;
}


/*Homepage & Travel Blog Latest posts & Single project page book covers*/

@media only screen and (min-width: 981px) {
    .ds-blog-latest-posts,
    .ds-book-covers,
    .ds-library-grid .et_portfolio_image,
    .ds-about-me .et_pb_team_member_image {
        -webkit-perspective: 1500px;
        perspective: 1500px;
    }
    .ds-blog-latest-posts .et_pb_post,
    .ds-book-covers img,
    .ds-library-grid .et_portfolio_image img,
    .ds-about-me .et_pb_team_member_image img {
        -webkit-transform: rotateY(20deg);
        /* Chrome, Safari, Opera */
        transform: rotateY(20deg);
        -webkit-transition: all 0.4s;
        -moz-transition: all 0.4s;
        transition: all 0.4s;
    }
    .ds-blog-latest-posts .et_pb_post:hover,
    .ds-book-covers img:hover,
    .ds-library-grid .et_portfolio_image img:hover,
    .ds-about-me .et_pb_team_member_image img:hover {
        -webkit-transform: rotateY(0deg);
        /* Chrome, Safari, Opera */
        transform: rotateY(0deg);
    }
    .ds-library-grid .et_portfolio_image .et_overlay {
        display: none;
    }
}

.ds-blog-latest-posts .et_pb_post,
.ds-blog-older-posts .et_pb_post {
    border: none;
}

.ds-blog-latest-posts h2 {
    font-size: 1.5em;
    text-transform: uppercase;
    text-align: center;
}

.ds-blog-latest-posts .et_pb_post p {
    margin-bottom: 20px;
}

.ds-blog-latest-posts .et_pb_post .post-meta span {
    position: absolute;
    top: -15px;
    left: -15px;
    width: 60px;
    height: 60px;
    line-height: 1.2em;
    padding-top: 10px;
    text-align: center;
    color: #ffffff !important;
    font-weight: 500;
    background: #3d7296;
    border-radius: 50%;
}


/*Switch date background colour on Travel Blog Page*/

.ds-travel-blog-latest .et_pb_post .post-meta span {
    background: #E8CB49;
}

.ds-blog-latest-posts a.more-link,
.ds-blog-older-posts a.more-link {
    font-size: 1em;
    text-transform: uppercase;
    text-align: center;
    color: #ffffff;
    background: #E8CB49;
    padding: 10px;
    border-radius: 3px;
    font-weight: 500;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
}

.ds-blog-latest-posts a.more-link:hover,
.ds-blog-older-posts a.more-link:hover {
    font-size: 1em;
    text-transform: uppercase;
    text-align: center;
    color: #ffffff;
    background: #E8CB49;
    padding-right: 30px;
    border-radius: 3px;
    font-weight: 500;
}

.ds-blog-latest-posts a.more-link:after,
.ds-blog-older-posts a.more-link:after {
    content: 'E';
    font-family: "ETmodules" !important;
    position: absolute;
    margin-left: -1em;
    opacity: 0;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.4em;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
}

.ds-blog-latest-posts a.more-link:hover:after,
.ds-blog-older-posts a.more-link:hover:after {
    margin-left: 0;
    opacity: 1;
}


/*About Me*/

.ds-about-me .et_pb_team_member_description {
    padding-top: 45px;
}


/*Bloom Optin*/

.ds-transparent-optin-text h2 {
    font-family: 'hensaregular';
    font-size: 2em;
    color: #ffffff;
    margin-bottom: 20px;
    padding-top: 1.2em;
}


/*Hides the header container*/

#ds-transparent-optin .et_bloom_header_outer {
    display: none;
}


/*Removes form container background colour*/

#ds-transparent-optin .et_bloom_form_container {
    background: none !important;
}


/*Removes form background colour and sets padding*/

#ds-transparent-optin .et_bloom_form_content.et_bloom_bottom_inline {
    padding: 0;
    background: none !important;
}


/*Set the input field and button transparency and border*/

#ds-transparent-optin button {
    background: #E8CB49 !important;
    font-size: 20px;
}

#ds-transparent-optin span.et_bloom_button_text {
    font-weight: 500 !important;
}

#ds-transparent-optin button:after {
    content: 'E';
    font-family: "ETmodules" !important;
    position: absolute;
    margin-left: -1em;
    opacity: 0;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.4em;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
}

#ds-transparent-optin button:hover:after {
    margin-left: 0;
    opacity: 1;
}

#ds-transparent-optin input {
    font-size: 20px;
    line-height: 1.4em;
}


/*Destinations*/

.ds-homepage-gallery .et_overlay:before {
    color: #E8CB49;
}

@media only screen and (min-width:981px) {
    .et_pb_gutters1 .et_pb_column_4_4 .ds-homepage-gallery .et_pb_grid_item {
        width: 33% !important;
        margin: 0;
    }
    .et_pb_column_4_4 .ds-homepage-gallery .et_pb_grid_item:nth-child(4n+1) {
        clear: none !important;
    }
}

@media only screen and (min-width: 980px) {
    .ds-homepage-gallery p.et_pb_gallery_caption {
        font-size: 175%;
        position: absolute;
        text-align: center;
        width: 100%;
        height: 100%;
        background: transparent;
        opacity: 1;
        top: 0;
        margin: 0;
        z-index: 1;
        -webkit-transition: all 0.3s;
        -moz-transition: all 0.3s;
        transition: all 0.3s;
    }
}

.ds-homepage-gallery p.et_pb_gallery_caption:hover {
    background: #3d7296;
    opacity: .7;
}

.ds-homepage-gallery p.et_pb_gallery_caption a {
    font-family: 'hensaregular';
    color: #E8CB49;
    text-transform: capitalize;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: absolute;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.ds-homepage-gallery p.et_pb_gallery_caption a:after {
    content: '';
    position: absolute;
    display: block;
    top: 40%;
    bottom: 40%;
    left: 15%;
    right: 15%;
    background: #3d7296;
    border-radius: 3px;
    z-index: -1;
    opacity: .7;
}

.ds-homepage-gallery .et_overlay,
.ds-homepage-gallery .et_pb_gallery_item h3 {
    display: none;
}

@media only screen and (max-width: 980px) {
    .ds-homepage-gallery.et_pb_gallery_grid .et_pb_gallery_item h3 {
        margin: -13% 0;
        width: 28%;
    }
}

@media only screen and (max-width: 767px) {
    .ds-homepage-gallery.et_pb_gallery_grid .et_pb_gallery_item h3 {
        margin: -18% 0;
        width: 45.2%;
    }
}

@media only screen and (max-width: 479px) {
    .ds-homepage-gallery.et_pb_gallery_grid .et_pb_gallery_item h3 {
        margin: -40% 0;
        width: 100%;
    }
}


/*Books & Guides*/

.ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_items {
    padding-top: 25px;
}


/*Ensures portfolio images display on mobile and tablets*/

@media only screen and ( max-width: 980px) {
    .ds-library-grid .et_portfolio_image img {
        width: 100%;
    }
}

.ds-library-grid .et_portfolio_image img {
    box-shadow: 0 0 20px #eee;
}


/*Filters*/

.ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_filters li {
    float: left;
    margin-right: 2%;
    text-align: center;
    color: #ffffff;
    width: 23.4%;
}

@media only screen and (max-width: 1280px) {
    .ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_filters li {
        margin-right: 2%;
        margin-bottom: 10px;
        width: 32%;
    }
    .ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_filters li:nth-child(3n+3) {
        margin-right: 0;
    }
}

@media only screen and (max-width: 767px) {
    .ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_filters li {
        margin-bottom: 10px;
        width: 100%;
    }
    .ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_filters {
        margin: -30px 0 40px !important;
    }
}

.ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_filters li a {
    background: #E8CB49;
    color: #ffffff;
    font-weight: 500;
    border: none;
    border-radius: 3px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
}

.ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_filters li a:after {
    content: 'E';
    font-family: "ETmodules" !important;
    position: absolute;
    margin-left: -1em;
    opacity: 0;
    color: #ffffff;
    font-size: 20px;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
}

.ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_filters li a:hover:after {
    margin-left: 0;
    opacity: 1;
}

.ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active,
.ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_filters li a:hover {
    background: #3d7296;
}

.ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_filters li:nth-child(4n+4) {
    margin-right: 0;
}


/*Pagination*/

.ds-library-grid.et_pb_filterable_portfolio .et_pb_portofolio_pagination {
    border-top: none;
}

.ds-library-grid.et_pb_filterable_portfolio .et_pb_portofolio_pagination ul li a {
    padding: 10px;
    border-radius: 3px;
    background: #E8CB49;
    color: #ffffff;
    font-weight: 500;
}

.ds-library-grid.et_pb_filterable_portfolio .et_pb_portofolio_pagination ul li a.active {
    padding: 10px;
    border-radius: 3px;
    background: #3d7296;
    color: #ffffff;
    font-weight: 500;
}


/*Standard & Filterable portfolio modules*/


/*Set to 5 columns and fix margin on last item in rows*/

@media (min-width: 981px) {
    .et_pb_gutters3 .et_pb_column_4_4 .ds-library-grid.et_pb_portfolio_grid .et_pb_portfolio_item.et_pb_grid_item,
    .et_pb_gutters3 .et_pb_column_4_4 .ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_item.et_pb_grid_item,
    .et_pb_gutters3 .et_pb_column_4_4 .ds-library-grid.et_pb_portfolio_grid .et_pb_portfolio_item.active,
    .et_pb_gutters3 .et_pb_column_4_4 .ds-library-grid.et_pb_filterable_portfolio .et_pb_portfolio_item.active,
    .ds-library-grid.et_pb_portfolio_grid .et_pb_portfolio_item,
    .et_pb_column_4_4 .ds-library-grid.et_pb_grid_item:nth-child(4n) {
        width: 15.6% !important;
        margin: 0 5.5% 5.5% 0;
    }
}

@media only screen and (min-width: 981px) {
    .et_pb_column_4_4 .ds-library-grid.et_pb_portfolio_grid .et_pb_portfolio_item.et_pb_grid_item:nth-child(4n+1) {
        clear: none !important;
    }
    .et_pb_column_4_4 .ds-library-grid.et_pb_portfolio_grid .et_pb_portfolio_item.et_pb_grid_item:nth-child(4n) {
        margin-right: 5.5% !important;
    }
    .et_pb_column_4_4 .ds-library-grid.et_pb_portfolio_grid .et_pb_portfolio_item.et_pb_grid_item:nth-child(5n+5) {
        margin-right: 0;
    }
}

.ds-library-grid .et_overlay:before {
    font-size: 300% !important;
    color: #E8CB49;
    left: 46%;
    top: 46%;
}

.ds-library-grid.et_pb_portfolio_item img {
    border: none;
}


/*Travel Blog*/


/*Blog section background*/

.ds-blog-section {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#325166+0,ffffff+92 */
    background: rgb(50, 81, 102);
    background: -moz-linear-gradient(top, rgba(50, 81, 102, 1) 0%, rgba(255, 255, 255, 1) 92%);
    background: -webkit-linear-gradient(top, rgba(50, 81, 102, 1) 0%, rgba(255, 255, 255, 1) 92%);
    background: linear-gradient(to bottom, rgba(50, 81, 102, 1) 0%, rgba(255, 255, 255, 1) 92%);
    filter: progid: DXImageTransform.Microsoft.gradient( startColorstr='#325166', endColorstr='#ffffff', GradientType=0);
}


/*Older posts*/

@media (min-width: 981px) {
    .et_pb_gutters3 .et_pb_column_4_4 .ds-blog-older-posts.et_pb_blog_grid .column.size-1of3 {
        width: 32.66%;
        margin-right: 1%;
    }
}

.ds-blog-older-posts.et_pb_blog_grid[data-columns] .et_pb_post {
    background: #3d7296;
    border: 1px solid #3d7296;
}

.ds-blog-older-posts .clearfix:after {
    display: none;
}

.ds-blog-older-posts .et_pb_post {
    margin-bottom: 15px !important;
}

.ds-blog-older-posts .et_pb_post {
    -webkit-transition: all .5s ease-in-out;
    -moz-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
}

.ds-blog-older-posts .et_pb_post:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px #000;
}


/*Reduce the featured image size and float left*/

.ds-blog-older-posts .et_pb_image_container img {
    min-width: 40%;
    max-width: 40%;
    float: left;
    margin-right: 20px;
}


/*Hide the excerpt*/

.ds-blog-older-posts .post-content p {
    display: none;
}

.ds-blog-older-posts h2 {
    font-size: 1.5em;
    margin-top: -15px;
    margin-bottom: 15px;
    color: #ffffff;
}


/*Map Shadow*/

.ds-destinations-map {
    box-shadow: 0 0 20px #000
}


/*Geo Mashup Plugin custom styles*/

.gm-style img {
    max-width: 100%;
    max-height: 100%;
    margin-right: 0 !important;
}

.locationinfo {
    width: 500px !important;
    height: 300px !important;
}

.locationinfo h2 {
    text-align: center;
}

.locationinfo h2 a {
    font-family: 'Source Sans Pro', Helvetica, Arial, Lucida, sans-serif !important;
    color: #333;
    font-weight: 500;
    line-height: 1em;
    font-size: 1.5em;
    text-transform: uppercase;
}

p.meta {
    font-size: 16px;
    text-align: center;
}

p.meta a {
    display: none;
}

.storycontent {
    font-family: 'Source Sans Pro', Helvetica, Arial, Lucida, sans-serif !important;
    font-size: 16px;
    font-weight: 300 !important;
}


/*Single post layout*/

.ds-single-post-header.et_pb_post_title.et_pb_featured_bg .et_pb_title_container {
    margin-top: 200px;
    max-width: 500px;
    padding: 30px;
    border-radius: 3px;
}

.ds-single-post-header .et_pb_title_container h1 {
    font-family: 'hensaregular';
    color: #E8CB49 !important;
}


/*Single books layout*/


/***Book Pages***/

.ds-book-covers img {
    box-shadow: 0 0 40px #eee;
}


/*Book reviews slider*/

.ds-reviews-slider .et-pb-controllers {
    top: 0;
}

.ds-reviews-slider .et-pb-controllers a {
    background: #3d7296 !important;
}

.ds-reviews-slider .et-pb-controllers .et-pb-active-control {
    background: #E8CB49 !important;
}

.ds-whole-star,
.ds-half-star {
    color: #3d7296;
    font-size: 200% !important;
}


/*About Page*/


/*Polaroid image section*/


/*Move the section up over the header*/

.ds-about-images-section {
    margin-top: -175px;
    z-index: 2;
}


/*Add a shadow and margin to the images*/

.ds-about-images.et_pb_image {
    border: 20px solid #ffffff;
    border-bottom-width: 60px;
    box-shadow: 0px 10px 8px rgba(0, 0, 0, 0.6);
    position: relative;
}


/*Add lifted corners to the images*/

.ds-about-images.et_pb_image:after {
    content: "";
    position: absolute;
    width: 112%;
    height: 18px;
    bottom: -78px;
    left: 0px;
    margin-left: -20px;
    background-image: -webkit-radial-gradient(center bottom, ellipse farthest-side, rgb(255, 255, 255) 80%, rgba(255, 255, 255, 0) 100%);
    background-image: -moz-radial-gradient(center bottom, ellipse farthest-side, rgb(255, 255, 255) 80%, rgba(255, 255, 255, 0) 100%);
    background-image: -o-radial-gradient(center bottom, ellipse farthest-side, rgb(255, 255, 255) 80%, rgba(255, 255, 255, 0) 100%);
    background-image: radial-gradient(center bottom, ellipse farthest-side, rgb(255, 255, 255) 80%, rgba(255, 255, 255, 0) 100%);
}

.ds-about-images-1 {
    -ms-transform: rotate(-7deg);
    -webkit-transform: rotate(-7deg);
    transform: rotate(-7deg);
}

.ds-about-images-2 {
    -ms-transform: rotate(5deg);
    -webkit-transform: rotate(5deg);
    transform: rotate(5deg);
}

.ds-about-images-3 {
    -ms-transform: rotate(-7deg);
    -webkit-transform: rotate(-7deg);
    transform: rotate(-7deg);
}

.ds-bar-counters .et_pb_counter_container {
    background: #E8CB49 !important;
    height: 35px;
}

.ds-bar-counters .et_pb_counter_amount {
    background: #3d7296 !important;
    height: 35px;
}

@media only screen and (min-width: 981px) {
    .ds-about-images-2 {
        z-index: 4;
    }
}


/*Timeline section*/

.ds-timeline-left .et_pb_blurb_content,
.ds-timeline-right .et_pb_blurb_content {
    max-width: 100%;
}

.ds-timeline-left .et_pb_blurb_container,
.ds-timeline-right .et_pb_blurb_container {
    padding-left: 0;
}

.ds-timeline-left .et_pb_main_blurb_image {
    position: relative;
    z-index: 1;
}

.ds-timeline-right .et_pb_blurb_container {
    padding-left: 40px;
}

.ds-timeline-right .et_pb_main_blurb_image {
    position: relative;
    z-index: 1;
    width: 0;
}

.ds-timeline .et-pb-icon {
    color: #E8CB49 !important;
    padding: 23px;
}

.ds-timeline .et-pb-icon-circle-border {
    border: 3px solid #E8CB49 !important;
}

.ds-timeline .et-pb-icon {
    border-radius: 50%;
}


/*Don't show the joining line on the last blurb*/

.ds-timeline-last .et-pb-icon:after {
    display: none;
}

@media only screen and (max-width: 980px) {
    .ds-timeline .et-pb-icon:after {
        content: '';
        position: absolute;
        z-index: -1;
        width: 3px;
        height: 200%;
        top: 0;
        left: 50%;
        background: #E8CB49;
    }
    .ds-timeline .et_pb_blurb_container {
        padding-left: 40px;
    }
}

@media only screen and (min-width: 981px) {
    .ds-timeline-left .et_pb_blurb_container {
        text-align: right;
        padding-right: 60px;
    }
    .ds-timeline-left .et_pb_main_blurb_image {
        float: right;
    }
    .ds-timeline-left .et-pb-icon {
        margin-left: -18px;
    }
    .ds-timeline-right .et-pb-icon {
        margin-left: -50px;
        margin-bottom: 30px;
    }
    .ds-timeline-left .et-pb-icon:after {
        content: '';
        position: absolute;
        z-index: -1;
        width: 3px;
        right: -3px;
        height: 200%;
        top: 0;
        right: -3px;
        background: #E8CB49;
    }
    .ds-timeline-right .et-pb-icon:after {
        content: '';
        position: absolute;
        z-index: -1;
        width: 3px;
        height: 150%;
        top: 0;
        left: 0;
        background: #E8CB49;
    }
}