﻿@media (min-width: 2500px) {
    #main-section .inner, #main-section #main-body {
        max-width: 1400px;
        margin: auto;
    }
}

@media (min-width: 1300px) and (max-width: 2500px) {
    #main-section .inner, #main-section #main-body {
        max-width: 1250px;
        margin: auto;
    }
}

@media (min-width: 992px) and (max-width: 1300px) {
    #main-section .inner, #main-section #main-body {
        max-width: 970px;
        margin: auto;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    #main-section .inner, #main-section #main-body {
        max-width: 740px;
        margin: auto;
    }
}

#main-section {
    min-height: 90vh;
    background: url("/images/pricing-background.png");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#main-body{
    padding-top: 6rem;
}

[role=button] {
    cursor: pointer;
}

a, 
a:hover, 
a:focus, 
a:active {
    text-decoration: none;
    color: inherit;
}

.navbar-toggler{
    background: grey;
}

.navbar-light span.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 8h24M4 16h24M4 24h24'/%3E%3C/svg%3E");
    color: white;
}

#header .navbar-collapse.show {
    background: grey;
    color: white;
}

#header {
    position: relative;
    top: 0;
    left: 0;
    z-index: 500;
    width: 100%;
    padding: 0 5rem;
    margin-top: 1rem;
    transition: all .2s ease-out;
}

#site-title a {
    display: block;
}

#site-title img {
    display: block;
    width: 100%;
    height: auto;
}

#site-title {
    width: 120px;
    position: absolute;
    left: 0;
    z-index: 400;
}

@media (min-width: 960px) {
    #header > nav {
        height: 120px;
        line-height: 120px;
    }

    #site-title {
        width: 300px;
    }
}

@media (min-width: 768px) {
    #header > nav {
        height: 80px;
        line-height: 80px;
    }
}

.sticky {
    position: fixed !important;
    top: 0;
    width: 100%;
    background: black;
    margin-top: 0rem !important;
}

    .sticky #site-title {
        width: 150px
    }

.nav-link {
    color: #858585 !important;
    padding-left: 1rem !important

}

    .nav-link:hover {
        color: black !important
    }

.parallax {
    display: block;
    width: 100%;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#section-1 .carousel-inner {
    max-height: 100vh;
}

#section-1.carousel-fade .carousel-item {
    opacity: 0;
    transition-duration: .6s;
    transition-property: opacity;
}

    #section-1.carousel-fade .carousel-item.active,
    #section-1.carousel-fade .carousel-item-next.carousel-item-left,
    #section-1.carousel-fade .carousel-item-prev.carousel-item-right {
        opacity: 1;
    }

#section-1.carousel-fade .active.carousel-item-left,
#section-1.carousel-fade .active.carousel-item-right {
    opacity: 0;
}

#section-1.carousel-fade .carousel-item-next,
#section-1.carousel-fade .carousel-item-prev,
#section-1.carousel-fade .carousel-item.active,
#section-1.carousel-fade .active.carousel-item-left,
#section-1.carousel-fade .active.carousel-item-prev {
    transform: translateX(0);
    transform: translate3d(0, 0, 0);
}

#section-1 .carousel-indicators-numbers li {
    text-indent: 0;
    height: 0;
    color: #fff;
    margin: 2rem;
    font-size: 3rem;
}

#section-1 .carousel-indicators {
    margin-right: 5rem;
    flex-direction: column;
    align-items: end;
    top: 35vh;
    bottom: auto
}
    #section-1 .carousel-indicators .active {
        font-size: 4rem;
        font-weight: bolder;
    }

#section-1 .carousel-background {
    width: 100%;
    height: 100%;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom,rgba(104,72,7,0.6),rgba(104,72,7,0.6) 75%,rgba(104,72,7,0.9) 100%);
    position: absolute
}

#section-1 .carousel-content {
    margin-left: 5rem;
    color: white;
    top: 50vh;
    position: absolute;
    text-transform: capitalize;
}

    #section-1 .carousel-content h2,
    #section-1 .carousel-content h5 {
        color: rgba(255,255,255,.7)
    }

#section-1 .carousel-content-bottom {
    margin-top: 7rem;
    width: 90vw;
}

    #section-1 .carousel-content-bottom hr {
        margin-bottom: 4rem;
        border-top: none;
        border: 0.5px solid rgba(255,255,255,.25);
    }


.call-to-action-btn {
    display: inline-block;
    color: rgba(255,255,255,.6);
    text-transform: uppercase;
    letter-spacing: .25em;
    font-weight: 700;
    border: .15em solid rgba(255,255,255,.6);
    border-radius: 999px;
    padding: 1.5em 4.5em;
    font-weight: bolder
}

    .call-to-action-btn:hover {
        background: rgba(0,0,0,.4);
        color: rgba(255,255,255,.6)
    }


section .inner {
    padding: 3rem 2rem 3rem 2rem;
    max-width: 1400px;
    margin: auto;
    align-items: center;
}

@media (min-width: 1600px) {
    section .inner {
        max-width: 1600px;
        padding: 7.5rem 5rem 7.5rem 5rem;
    }
}

@media (min-width: 960px) {
    section .inner {
        padding: 6rem 4rem 6rem 4rem;
    }
}

.title {
    font-weight: bolder;
}

#section-2{
    height:65vh
}

#section-2 .content {
    font-weight: 200;
}

.left{
    padding-right: 0 2rem
}

#carousel-item-1 {
    background-image: url("https://theorymesh.com/sites/default/files/styles/banner/public/banners/banner.jpg?itok=M642kRGU");
    min-height: 100vh;
}

#carousel-item-2 {
    background-image: url("https://theorymesh.com/sites/default/files/styles/banner/public/pexels-pixabay-265216_0.jpg?itok=e15xSYho");
    min-height: 100vh;
}

#carousel-item-3 {
    background-image: url("https://theorymesh.com/sites/default/files/styles/banner/public/banners/pexels-tim-mossholder-974314.jpg?itok=5Fgbw4Z7");
    min-height: 100vh;
}

#section-3 {
    background-image: url("https://theorymesh.com/sites/default/files/styles/banner/public/pexels-pixabay-265216_0.jpg?itok=e15xSYho");
    min-height: 80vh;
}

    #section-3 .title{
        color: white
    }

#values-background {
    width: 100%;
    height: 80vh;
    background: rgba(63,47,28,.8);
}

.value-subtitle {
    color: #f6c80f;
    text-transform: uppercase;
    font-weight: bold
}

.value-content {
    color: #d4d4d4
}

@media (min-width: 768px) and (max-width: 768px) {
    #section-4 .carousel-inner .carousel-item > div {
        display: none;
    }

        #section-4 .carousel-inner .carousel-item > div:first-child {
            display: block;
        }
}


#section-4 .carousel-inner .carousel-item.active,
#section-4 .carousel-inner .carousel-item-next,
#section-4 .carousel-inner .carousel-item-prev {
    display: flex;
}

@media (min-width: 768px) {
    #section-4 .carousel-inner .carousel-item-right.active,
    #section-4 .carousel-inner .carousel-item-next {
        transform: translateX(33.333%);
    }

    #section-4 .carousel-inner .carousel-item-left.active,
    #section-4 .carousel-inner .carousel-item-prev {
        transform: translateX(-33.333%);
    }
}

@media (max-width: 768px) {
    #section-4 .carousel-inner .carousel-item-right.active,
    #section-4 .carousel-inner .carousel-item-next {
        transform: translateX(50%);
    }

    #section-4 .carousel-inner .carousel-item-left.active,
    #section-4 .carousel-inner .carousel-item-prev {
        transform: translateX(-50%);
    }
}

#section-4 .carousel-inner .carousel-item-right,
#section-4 .carousel-inner .carousel-item-left {
    transform: translateX(0);
}

#section-5{
    height: 85vh;
}
.carousel-control-next,
.carousel-control-prev {
    bottom: auto;
    opacity: 1
}

.carousel-control-next {
    right: auto; 
    margin-left: 5rem;
}
.carousel-control-next-icon {
    background: no-repeat url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e") #f6c80f;
    padding: 26px;
    width: 4em;
    height: 4em;
    overflow: hidden;
    border-radius: 999px;
    text-indent: 999px;
}

.carousel-control-prev-icon {
    background: no-repeat url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e") #f6c80f;
    padding: 26px;
    width: 4em;
    height: 4em;
    overflow: hidden;
    border-radius: 999px;
    text-indent: 999px;
}

.img-container {
    position: relative;
    text-align: center;
    overflow: hidden;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
}

.img-container img {
    transition: all .5s ease-in-out;
    width: 100%;
    height: 100%;
    filter: brightness(0.5);
}

    .img-container:hover img {
        transform: scale(1.2,1.2);
        filter: brightness(0.2);
    }

#section-6,
#section-6 .card {
    background-color: #f6f6f6;
}

    #section-6 .card-img-background {
        position: absolute;
        left: 0;
        top: 0;
        padding: 1em 1.5em;
        background: #f6c80f;
        width: 100%;
        height: 100%;
    }

#section-6 img:hover {
    transition: all .2s ease-in-out;
    filter: brightness(0.8);
}

#section-6 h3 {
    line-height: 1.2em;
    color: #bfbfbf;
}

#iframe-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%;
}

.responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.news-date {
    background: #f6c80f;
    color: #fff;
    font-weight: 700;
    line-height: 1.2em;
    padding: .5em 1em;
}

.card-img-wrap {
    overflow: hidden;
    position: relative;
}

    .card-img-wrap img {
        transition: all .35s ease-in-out;
        width: 100%;
    }

    #newsCarousel .card:hover img {
        transform: scale(1.2);
        filter: brightness(0.4);
        background: rgba(0, 0, 0, 0.4)
    }

.img-description {
    visibility: hidden;
    color: white;
    display: none;
    font-size: 2em;
    font-weight: bolder;
    text-transform: uppercase;
}

    #newsCarousel .card:hover .img-description {
        visibility: visible;
        position: absolute;
        top: 50%;
        color: white;
        display: block;
    }

#section-4 {
    height: 85vh;
}

#value-table {
    display: flex;
    flex-flow: row wrap;
    color: #d4d4d4;
    margin-top: 3rem;
}

.item {
    flex: 1 0 50%;
    box-sizing: border-box;
    border: 1px solid #ffffff36;
    padding: 2.5rem 5rem;
}

    .item:nth-child(2n) {
        border-right: none;
    }

    .item:nth-child(2n-1) {
        border-left: none;
    }

    .item:nth-child(-n+2) {
        border-top: none;
    }

@media (min-width: 768px) {
    .item:nth-last-child(-n+2) {
        border-bottom: none;
    }

    .item:nth-child(1) {
        padding-top: 0;
        padding-left: 0;
    }

    .item:nth-child(2) {
        padding-top: 0;
        padding-right: 0;
    }

    .item:nth-child(3) {
        padding-bottom: 0;
        padding-left: 0;
    }

    .item:nth-child(4) {
        padding-bottom: 0;
        padding-right: 0;
    }

}

@media (max-width: 768px) {
    .item {
        border: none;
        border-bottom: 1px solid #ffffff36;
        flex: 1 0 100%;
        padding: 1rem 0rem;
    }

        .item:last-child {
            border-bottom: none;
        }

    #value-table{
        margin-top: 0.5rem;
    }
}

@media (min-width: 1600px) {
    #section-3 .inner{
        max-width: 1280px;
    }
}

@media (max-width: 1600px) {
    .carousel-content {
        margin-top: -10rem;
    }

    #section-1 .carousel-content-bottom hr {
        margin-bottom: 2rem !important;
    }
}

@media (max-width: 1280px) {
    .carousel-indicators {
        margin-top: -5rem;
    }
}

@media (max-width: 768px) {
    .carousel-control-next-icon,
    .carousel-control-prev-icon{
        width: 2em;
        height: 2em
    }

    #carousel-btns{
        height: 5rem;
        margin-bottom: 0!important;
    }

    .carousel-content {
        margin-left: 1.5rem!important;
    }

    .carousel-indicators{
        margin-right: 1.5rem!important;
    }
}

@media (max-width: 1200px) {
    h1,
    .h1 {
        font-size: calc(1rem + 1.5vw);
    }

    h2,
    .h2 {
        font-size: calc(1rem + 0.9vw);
    }

    h3,
    .h3 {
        font-size: calc(1rem + 0.6vw);
    }

    h4,
    .h4 {
        font-size: calc(1rem + 0.3vw);
    }

    .display-1 {
        font-size: calc(1rem + 5.7vw);
    }

    .display-2 {
        font-size: calc(1rem + 5.1vw);
    }

    .display-3 {
        font-size: calc(1rem + 3.9vw);
    }

    .display-4 {
        font-size: calc(1rem + 2.7vw);
    }

    #section-1 .carousel-indicators-numbers li {
        font-size: calc(1.3rem + 1.5vw);
    }

    #section-1 .carousel-indicators-numbers .active {
        font-size: calc(1.4rem + 2.7vw);
    }

    .call-to-action-btn{

    }
}