/* styles associated with the trip custom post type */
.trip-page .alignright{
    float: right; 
    margin: 0px 15px 15px 0px;
}
.trip-page .button{
    color: #fff !important;
    border-color: #08c;
    background-color: #08c !important;
    font-size: 14px;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 20px;
    padding-right: 20px;    
    background-image: -webkit-linear-gradient(top,rgba(255,255,255,.2) 0,rgba(255,255,255,.01) 100%);
    background-image: -o-linear-gradient(top,rgba(255,255,255,.2) 0,rgba(255,255,255,.01) 100%);
    background-image: linear-gradient(to bottom,rgba(255,255,255,.2) 0,rgba(255,255,255,.01) 100%);
    background-repeat: repeat-x;    display: inline-block;
    margin-bottom: 0;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    background-color: transparent;
    color: #5472d2;
    border: 1px solid transparent;
    box-sizing: border-box;
    word-wrap: break-word;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none;
    position: relative;
    top: 0;
    -webkit-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    line-height: normal;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    font-size: 14px;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 20px;
    padding-right: 20px;
    text-transform: uppercase;
}
.trip-page #hero-title h1 {text-shadow: 1px 1px 4px #222;
}
.trip-page #hero-title h2 {
    color:#fff;
    font-size: 32px;
    text-align: center;
    text-shadow: 1px 1px 4px #222;
}
.trip-page #hero-title h3 {
    color:#fff;
    font-size: 26px;
    text-align: center;
    text-shadow: 1px 1px 4px #222;
}
.trip-page #hero-title a {
    color:#fff;
}
.trip-page #main-info {
    margin-top:60px;
    margin-bottom:30px;
}    
.trip-page #main-info h3{
    margin-top:0;
    margin-bottom: 35px;
}
.trip-page #main-info h5{
    font-family: 'Quicksand';
    font-weight: 500;
    font-size:15px;
    color: #777;
}
.trip-page #main-info h4{
    font-family: 'Quicksand';
    font-weight: 500;
    font-size:19px;
    color: #777;
}
.trip-page #main-info .intro > p{
    margin-bottom: 35px;
}
.trip-page #main-info .flex-cell:first-child{
    padding-right:15px;
}
.trip-page #main-info .flex-cell:last-child{
    padding-left:15px;
}
.trip-page #main-info .button{
    float:left;
    width:49%;
    margin-right:1%;
    display:block;
    background-color: #c2dd3f !important;
    border-color: #c2dd3f;
}
/* Change background color of buttons on hover */
.trip-page #main-info .button:hover{
    background-color: #444 !important;
    border-color: #444;
}
.trip-page #main-info .button.alt{
    background-color: #444 !important;
    border-color: #444;
}
.trip-page #main-info .button.alt:hover{
    background-color: #c2dd3f !important;
    border-color: #c2dd3f;
}
.trip-page #main-info .button:last-child{
    float:left;
    width:49%;
    margin-left:1%;
    margin-right:0;
    display:block;
}
.trip-page #main-tabs{
    margin-bottom: 35px;
}
.trip-page #related-posts h2{ 
    font-size: 32px;
    text-align:center;
    margin-bottom: 35px;
}
.trip-page #related-posts .flex-cell{
    height:110px;
    border:1px solid #ccc;
}
.trip-page .separator{
  display: flex;
  align-items: center;
  justify-content: center;
}
.trip-page .separator .bar{
    margin-bottom: 35px;    
    width: 10%;
    border-bottom: 2px solid #000;
}
.trip-page .full-width-container{padding-top: 200px !important;padding-bottom: 200px !important;
    background-size: cover;
    position: relative;
}
.trip-page .flex-row, .trip-page .nested-flex-row  {
    display: flex;
    width: 100%;
}
.trip-page .flex-cell, .trip-page .nested-flex-cell{
    flex: 1;
}
.trip-page .full-col{
    flex: 100%;
}
.trip-page .third-col{
    flex: 33%;
}
.trip-page .hero-slideshow
{
    position: absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    z-index: -1;
    background-position: center;
    background-size: cover;
}
.trip-page .hero-slideshow img
{
    position: absolute;
    width: 100%;
}
.trip-page .container, .trip-page .content-area {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
}
.trip-page .related-trip-row {
    margin-right: auto;
    margin-left: auto;
    padding-left: 0px;
    padding-right: 0px;
}
@media (min-width: 1200px){
.trip-page .related-trip-row {
    width: 1170px;
}
}
.trip-page .green-edge-padded{
    padding-top: 24.5px;
    padding-bottom: 25px;
    margin-bottom: 60px;
    box-sizing: border-box;
    width: 100%;
    border: 2px solid #c2dd3f;
}

.trip-page .green-edge-padded h4{
    margin-bottom: 9.5px;
}
.trip-page .green-edge-padded p{
    color: #777;
    font-family: 'Quicksand';
    font-weight: 400;
}
.trip-page .green-edge-padded .cell-wrapper{
    border-bottom: 2px solid #c2dd3f;
    margin-left: 15px;
    margin-right: 15px;

}
.trip-page .green-edge-padded .cell-wrapper-end{
    margin-left: 15px;
    margin-right: 15px;

}
.trip-page #image-strip img{
    max-width:100%;
}
.trip-page #image-strip .img-block{
    height:200px;
    background-size: cover;
    background-position: center;
    margin-left: 15px;
    margin-right: 15px;
    margin-bottom: 30px;
}

/* Style the buttons that are used to open the tab content */

.trip-page .tab-buttons {
    overflow: hidden;
}

/* Create an active/current tablink class */
.trip-page .tab-buttons .button {
    background-color: #c2dd3f !important;
    border-color: #c2dd3f;
    margin-right:2px;
    margin-bottom:0px;
    border-radius:5px 5px 0 0;
    font-size: 12px;
    padding-left: 18px;
    padding-right: 18px;
}

/* Change background color of buttons on hover */
.trip-page .tab-buttons .button:hover {
    border-color: #f0f0f0 !important;
    background-color: #f8f8f8 !important;
    color: #666 !important;
}

/* Create an active/current tablink class */
.trip-page .tab-buttons .button.active {
    border-color: #f0f0f0 !important;
    background-color: #f8f8f8 !important;
    color: #666 !important;
    border-bottom:none;
}

/* Style the tab content */
.trip-page .tab-container {
    background-color: #f8f8f8;
    border-color: #f0f0f0 !important;
    padding:15px;
}
.trip-page .tabcontainers {
    display: none;
}
.trip-page .tabcontainers::after,
.trip-page #related-posts .related-text::after,
.trip-page #related-posts .related-type::after,
.trip-page #main-info::after {
    content: "";
    clear: both;
    display: table;
}
.trip-page #related-posts {
    margin-bottom: 32px;
}
.trip-page #related-posts a{
    display:block;
}
.trip-page #related-posts .nested-flex-cell{
    padding:10px;
}
.trip-page #related-posts .related-thumb{
    height:400px;
    background-size: cover;
    background-position: center;
}
.trip-page #related-posts .related-text{
    background-color: #c2dd3f !important;
    position: absolute;
    width:100%;
    bottom:0;
    left:0;
    padding: 0 15px;
    height:135px;
}
.trip-page #related-posts .related-title{
    color: #000 !important;
    font-size: 19px;
    font-family: 'Quicksand';
    position: relative;
    width:100%;
    padding:5px 0;
}
.trip-page .related-title span {
    display: block;
    text-align: center; 
    font-weight: 500;
}
.trip-page #related-posts .related-location{
    color: #000 !important;
    text-align: center;
    font-family: 'Quicksand';
    padding-bottom:5px;
}
.trip-page #related-posts .related-type{
    text-align: center;
    padding-bottom:12px;
    color: #000 !important;
    width:100%;
    bottom:0;
    left:0;
}
.trip-page #related-posts .related-type div{
    width:50%;
    float:left;
    clear:right;
    text-align: left;
    font-weight: 500;
}
.exchangerates input[type=submit]{color:#000;}
.trip-page .slideshow{
    height:590px;
    background-position: center;
    background-size: cover;
}
.trip-page .image-mobile img{
    display:none;
}
.trip-page #related-posts .nested-flex-cell .related-text::after {
    content: "";
    clear: both;
    display: table;
}
@media screen and (max-width: 1199px) {
    .trip-page .flex-row{
        flex-wrap:wrap
    }
    .trip-page #main-info .flex-row{
        display:block;
    }

    .trip-page .green-edge-padded .nested-flex-cell:first-child .cell-wrapper-end{
        border-bottom: 2px solid #c2dd3f !important;
    }
    /*.trip-page #related-posts .related-text{
        height:200px;
    }*/
}
@media screen and (max-width: 991px) {
    .trip-page #related-posts .related-text{
        min-height: 135px;
    }
    .trip-page .flex-row{
        flex-wrap:wrap
    }
    .trip-page #related-posts .nested-flex-row{
        display:block;
    }
    .trip-page .tab-buttons .tablinks{
        display:block;
        width:100%;
    }
    .trip-page #image-strip .flex-row{
        display:block;
    }
    .trip-page #image-strip .flex-row > div{
        display:block;
        float:left;
        clear:right;
        width:calc(50% - 30px);
        box-sizing: border-box;
    }
    .trip-page .flex-row::after {
        content: "";
        clear: both;
        display: table;
    }
}
@media screen and (max-width: 768px) {
    .trip-page #hero-title .hero-slideshow{
        min-height:230px;
    }
    .trip-page #hero-title h2{
        font-size: 22px;

    }
    .trip-page #hero-title h3{
        font-size: 18px;

    }
    .trip-page .image-mobile img{
        display:block;
        max-width:100%;
        padding-top:15px;
    }
    .trip-page #main-info .image.slideshow{
        display:none;

    }
    .trip-page #main-info{
        padding-top:15px;
    }
}

@media screen and (max-width: 600px) {
    .trip-page #image-strip .flex-row > div {
        display: block;
        float: left;
        clear: right;
        width: 95%;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 1920px) {.trip-page .hero-slideshow{height:550px;}.trip-page .full-width-container{padding-top: 200px !important;padding-bottom: 200px !important;}}
@media screen and (max-width: 1280px) {.trip-page .hero-slideshow{height:500px;}.trip-page .full-width-container{padding-top: 150px !important;padding-bottom: 150px !important;}}
@media screen and (max-width: 768px) {.trip-page .hero-slideshow{height:280px;}.trip-page .full-width-container{padding-top: 50px !important;padding-bottom: 50px !important;}}
@media screen and (max-width: 420px) {.trip-page .hero-slideshow{height:150px;}.trip-page .full-width-container{padding-top: 10px !important;padding-bottom: 10px !important;}}

@media print {
    .top-header-bar, header .menu-column,
    .trip-page .slideshow, .trip-page #hero-title, 
    .trip-page #main-tabs #trip_overview, 
    .trip-page #main-tabs #inclusions, 
    .trip-page #main-tabs #accommodation_and_meals, 
    .trip-page #main-tabs #general_info, 
    .trip-page #main-tabs #wandering_the_world_wisdom, 
    .trip-page #main-tabs .tab-buttons, 
    .trip-page #related-posts, footer, 
    #main-info .button{display:none !important;}
    .trip-page #main-tabs #detailed_itinerary{display:block !important;}
    .trip-page .flex-cell{flex: none;max-width:100%;}
    .trip-page #main-info .flex-cell:last-child,.trip-page #main-info .flex-cell:first-child {
        padding-left: 0;padding-right: 0;
    }
    .trip-page #main-info {margin-bottom:0;}
}