/* Show more scripting */
.content {
    max-height: 0; /* Initially hide the content */
    overflow: hidden;
    transition: max-height 0.5s ease-out; /* Smooth reveal */
    display: inline-block;
    vertical-align: top;
}

.show {
    max-height: 500px; /* Adjust this value depending on the content length */
}

.show-more {
    color: #2980b9 !important;
    cursor: pointer;
    text-decoration: underline;
    display: inline;
}

.show-more:hover {
    text-decoration: none;
}




/* New Tertiary Pages * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#infinite_pageHeader {
    background-color: #222;
    background-image: url(../img/infinite-loop-01.jpg);
    background-repeat: no-repeat;
    height: 20%;
    min-height: 375px;
    position: relative;
}

/* Sub Nav Bar */
#SubNavigation .tm-navbar {
    position: absolute;
    width: 100%;
    z-index: 999;
    background-color: transparent;
    transition: all 0.3s ease;
}

#SubNavigation .navbar-brand {
    color: #38B;
    font-size: 1.4rem;
    font-weight: bold;
}

#SubNavigation .navbar-toggler {
    color: #38B;
    border: 1px solid #38B;
    padding-left: 10px;
    padding-right: 10px;
}

#SubNavigation .navbar-toggler-icon {
    color: #38B;
    padding-top: 6px;
}

@media (max-width: 767px) {

    .navbar-nav {
        max-width: 200px;
        text-align: right;
    }

    .navbar-collapse {
        background-color: rgb(255, 255, 255);
        padding: 10px;
        border-radius: 3px;
    }

    .navbar-collapse .nav-link {
        color: #707070;
        padding-right: 20px;
    }
}

/* Testimonials * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#testimonials {
    background-size: 130%;
    background-position: center;
}

@media (max-width: 991px) {
    #testimonials {
        background-image: url(../img/infinite-loop-02-mobile.jpg);
    }
}

/* Contact * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#contact {
    background-image: url(../img/map.png);
    background-repeat: no-repeat;
    background-size: cover;
}

.contact-item {
    margin-bottom: 25px;
}

/* Gallery * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

#gallery {
    color: white;
    background-color: #001828;
    background-image: url(../img/bokeh.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    padding-bottom: 50px;
    padding-top: 100px;
}

.tm-container-gallery {
    position: relative;
    z-index: 100;
}

.tm-hero-text-container-inner-gallery {
    margin-top: 75px;
}

.gallery_header {
    padding-top: 20px;
    color: white;
    background: rgb(51, 102, 153);
    background: linear-gradient(90deg, rgba(51, 102, 153, 1) 38%, rgba(255, 255, 255, 1) 100%);
}

/* Footer * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

.tm-footer {
    position: relative;
}

/* Media Overrides * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

@media (max-height: 480px) {

    .tm-hero-text-container-inner-gallery {
        margin-top: -30px;
    }
}

@media (min-height: 900px) {
    #infinite_gallery {
        min-height: 375px;
    }

    .tm-hero-text-container-inner-gallery {
        margin-top: 150px;
    }
}

/* Added Classes * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

.text-right {
    text-align: right !important;
}

/* Tablet Width Based Overrides */
@media only screen and (min-width: 768px) and (max-width: 991px) {

    #infinite_pageHeader {
        min-height: 200px;
    }

    .navbar-expand-md .navbar-nav .nav-link {
        font-size: 16px;
        padding-right: 20px;
        padding-left: 20px;
    }

    #SubNavigation .col-lg-3 {
        width: 25%;
        font-size: 14px;
    }

    .tm-hero-text-container-inner-gallery {
        margin-top: 90px;
    }

    .tm-hero-title {
        font-size: 40px;
    }

    .snip1207 .plan-title {
        font-size: 20px;
    }

    .snip1207 .plan-price {
        font-size: 45px !important;
    }

    .snip1207 .plan-features {
        font-size: 14px !important;
    }

    .snip1207 .plan-select {
        font-size: 14px;
    }
}

/* Phone Width Based Overrides */

@media only screen and (max-width: 767px) {

    #infinite_pageHeader {
        min-height: 150px;
    }

    .tm-hero-text-container-inner-gallery {
        margin-top: 75px;
    }

    .tm-hero-title {
        font-size: 30px;
    }

    .snip1207 .plan {
        width: 50%;
        border-radius: 0 !important;
    }

    .snip1207 .featured {
        margin-top: 0;
        border-radius: 0;
    }

    .snip1207 .featured .plan-title {
        padding: 15px;
    }

    .snip1207 .featured .plan-select {
        padding: 30px 10px;
    }

    .plan-features {
        font-size: 16px !important;
    }

    #SubNavigation .col-lg-3 {
        width: 50%;
        font-size: 14px;
    }
}

@media only screen and (max-width: 575px) {

    .tm-hero-subtitle {
        font-size: 14px;
    }

    #footer_Social .col-sm-4,
    #footer_Social .col-md-4 {
        width: 25%;
        margin-right: 30px;
    }

    #contact .contact-item {
        font-size: 16px;
    }
}