/**
* Theme Name: Traveltank Blog
* Theme URI: https://traveltank.com/blog
* Description: TravelTank Blog | Search Flights, Hotels, Packages & Book your next adventure.
* Author: Abhishek Gupta
* Author URI: <AUTHOR_URI>
* Version: 1.0.0
*/

.topHeader {
    top: auto;
    background-color: #065861 !important;
    .nav-link, .colorBlackDark:not(.bgExtraThinGreen) {
        color: white;
    }
    @media (min-width: 768px) {
        img[alt="TravelTank Wallet"] {
            filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7465%) hue-rotate(123deg) brightness(112%) contrast(100%);
        }
    }
    @media (max-width: 768px) {
        .navbar-collapse.show .nav-item a {
            color: #212529;
        }
        .agentInfoSection {
            .colorBlackDark {
                color: #212529;
            }
        }
    }
}

.content {padding-top: 110px !important;}
.content:not(#searchForm) {padding-bottom: 0;}
@media (max-width: 575px) {
    .staticHeaderMobile .content {
        padding-top: 24px !important;
    }
}
.featuredPost {
    background-color: #E6EAEA;
    border-bottom-right-radius: 40px;
    .w-50 {
        img {
            width: 740px;
            height: 490px;
            object-fit: cover;
            border-bottom-right-radius: 40px;
            @media (max-width: 575px) {
                & {
                    height: 280px;
                }
            }
        }
    }
    &.bgPrimaryBlue {
        background-color: #065861;
        color: white;
        .colorBlack {color: white}
        .w-50 {
            img {
                height: 580px;
                @media (max-width: 575px) {
                    & {
                        height: 300px;
                    }
                }
            }
        }
    }
    @media (max-width: 575px) {
        .w-50 {
            width: 100% !important;
        }
    }
}
.featuredPostWrap {max-width: 490px;margin: auto;}
.featuredBanner + .featuredBanner {display:none!important;}
.featuredBanner .mobileButton {
    position: absolute;
    bottom: 80px;
    right: 80px;
    z-index: 1;
    @media (max-width: 575px) {
        & {
            bottom: 40px;
            right: 40px;
        }
    }
}
.main-menu.blog-menu-wrapper {max-width: 100%;}
.tagsSection .menu:not(#menu-search-menu) {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0;
    margin: 0;
    @media (min-width: 768px) {
       flex-wrap: wrap; 
    }
    @media (max-width: 767px) {
        padding-bottom: 10px;
        margin-top: 4px;
        overflow-x: auto;
        overflow-y: hidden;
    }
    .menu-item {
        display: inline-block;
        a {
            font-size: 16px;
            display: inline-block;
            height: 40px;
            line-height: 40px;
            border-radius: 37px;
            background-color: white;
            color: #212529;
            border: 1px solid #C3CCCB;
            padding: 0 25px;
            text-align: center;
            white-space: nowrap;
            cursor: pointer;
            &:hover {
                background-color: #D9EBEB;
            }
            &.active {
                background-color: #212529;
                color: white;
                font-weight: 700;
                cursor: default;
            }
        }
        &.current-menu-item {
            a {
                background-color: #065861;
                color: white;
            }
        }
        @media (max-width: 575px) {
            & {
                margin-bottom: -10px !important;
                padding-bottom: 10px;
            }
        }
    }
}
.rt-reading-time {opacity: 0.5;margin-bottom: 12px;font-size: 14px}
.cardPost {
    .attachment-post-thumbnail {
        width: auto;
        height: 322px;
        object-fit: cover;
        border-top-left-radius: 5px;
        border-top-right-radius: 5px;
    }
    .rightArrow {
        margin-bottom: 8px;
        display: inline-block;
    }
    .card {
        height: 100%;
        border-top-left-radius: 5px !important;
        border-top-right-radius: 5px !important;
    }
    .rt-reading-time {display: none!important;}
}
.threeLineDesc {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.travelTankApps {
   @media (min-width: 768px) { margin: 68px 0; }
   @media (max-width: 768px) { margin: 45px 0; }
}
.postPage {
    .bannerSection {
        position: relative;
        img {
            width: 100%;
            height: 534px;
            object-fit: cover;
            border-bottom-right-radius: 40px;
        }
        .overlayText {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: rgb(255 255 255 / 80%);
            max-width: 535px;
            width: 90%;
        }
        @media (min-width: 1200px) {
            .overlayText {
                top: 50%;
                left: 30%;
                transform: translate(-50%, -50%);
                width: 100%;
            }
        }
        @media (max-width: 768px) {
            img {height: 100%;}
            .featuredPostTitle {font-size: 1.8em}
        }
        @media (max-width: 385px) {
            .p-4 {padding-top: 16px !important;padding-bottom: 16px !important}
            .featuredPostTitle {
                line-height: 1.55;
                margin: 0 !important;
                font-size: 22px;
            }
        }
    }
}
.thePost {
    .paddedcopy {
        width: 100%;
        max-width: 925px;
        margin: 0 auto;
        /*p {
            font-size: 16px;
            line-height: 24px;
        }*/
        img:not(.inputIcon):not(.subGroupIcon) {
            width: 100%;
            max-height: 490px;
            object-fit: cover;
        }
        .rt-reading-time {display: none!important;}
    }
}

/********************************Related post widget start*******************/
.widget_recent_entries {
    ul {
        margin: 0;
        padding: 0;
        list-style-type: none;
        display: flex;
        li {

        }
    }
}

/********************************Ivory Search start*******************/
ul#menu-search-menu, .search-form-wrapper ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.header-search-form {
  padding: 40px 0 35px;
/*  border-bottom: 1px solid #d9e1e8;*/
}
.blog-search-panel-bg-wrapper.show {
    position: absolute;
    top: 35px;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(9, 173, 174, .6);
    z-index: 1048;
    height: 100vh;
}
.blog-search-panel {
    display: none;
    z-index: 1001;
}
.blog-search-panel.show {
    position: absolute;
    display: block;
    left: 0;
    width: 100%;
    z-index: 1049;
    top: 55px;
}
.is-form-style input.is-search-input {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    border: 1px solid #065861;
    height: 45px;
    line-height: 40px;
    padding-top: 0;
    padding-bottom: 0;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: .375rem;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.section-divider {
    height: 1px;
}
.section-divider--small {
  margin-top: 30px;
  margin-bottom: 25px;
}
.section-divider--long:before {
  content: "";
  display: block;
  width: 100%;
  border-top: 1px solid #d9e1e8;
}
/*Ivory Search end*/

.flightSerachForm {
    float: left;
    margin-right: 27px;
    max-width: 450px;
    width: 100%;
    .card-img-top {
        img{height: 182px;border-top-left-radius: 5px;border-top-right-radius: 5px;}
    }
}
#blogSearchFormModal {
    .modal-dialog {
        @media (min-width: 369px) {
            max-width: 369px;
            margin-left: auto;
            margin-right: auto;
        }
    }
    .la-times {
        right: 15px;
        top: 5px;
    }
}
@media (min-width: 501px) {
    #blogSearchFormModal .mobileLikeSearchForm .homeSearchWrap .homeSearchContent {
        padding: 21px;
    }
}
.badgeWrap {gap: 18px}
.footerLogoImg {
    img{object-fit: contain;}
}
.social-share-icons {
    a {margin: 0 5px}
    .la {font-size: 32px}
}
.pagination {
    margin-top: 10px;
    .page-link {color: #065861;line-height: 1;padding: 10px 18px}
    .page-item.active {
        .page-link {color: #ff5a5f}
    }
}
@media (max-width: 501px) {
    #blogSearchFormModal .mobileLikeSearchForm .homeSearchWrap .homeSearchContent {
        padding-left: 16px;
        padding-right: 16px;
    }
}

.postDate {
    border-radius: 5px 0px 0px 0px;
    background: white;
    position: absolute;
    left: 0;
    top: 0;
    padding: 4px 11px 2px;
    min-width: 52px;
    >div {
        font-weight: 600;
        text-align: center;
    }
    .month {
        opacity: 0.7;
    }
    .year {
        font-weight: 700;
        letter-spacing: 0.22px;
        opacity: 0.33;
    }
}