/*
    MyTrilogyVisit.com Stylesheet
*/

body {
    height: 660px;
    min-height: 660px;
}

.header {
    background-color: #011733;
    position: relative;
    z-index: 10;
}

.logo-container {
    max-width: 180px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 15px;
    padding-bottom: 18px;
}

.logo-container img {
    width: 100%;
    display: block;
}

.main {
    position: relative;
}

.content-block {
    overflow: auto;
    position: relative;
    z-index: 5;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding-top: 5vh;
    padding-bottom: 5vh;
}

.content-block .content-constraint {
    width: 65%;
}

.content-block * {
    font-family: museo-sans, sans-serif;
    color: #011733;
}

.content-block h1 {
    font-size: 26pt;
    line-height: 26pt;
    text-transform: uppercase;
    letter-spacing: 0.5pt;
    margin-top: 0px;
    margin-bottom: 12px;
    font-weight: 700;
}

.content-block h1 .small {
    font-size: 16pt;
    line-height: 26pt;
}

.content-block p, .content-block a {
    font-size: 12pt;
    line-height: 18pt;
    font-weight: 500;
    margin-top: 12px;
    margin-bottom: 12px;
}

.content-block a.btn {
    background-color: #011733;
    color: white;
    border-radius: 1000px;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 8px;
    padding-bottom: 8px;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    clear: left;
    float: left;
    margin-bottom: 7px;
    margin-top: 7px;
    transition: all 0.3s;
}

.content-block a.btn:hover, .content-block a.btn:focus {
    background-color: #98b6d3;
    color: #011733;
}

.content-block a.btn + p {
    float: left;
    margin-top: 8px;
    clear: left;
}

.background {
    display: none;
    width: 100%;
    height: calc(100% - 157px);
    position: absolute;
    top: 0;
    left: 0;
    background-image: url(img/background.jpg);
    background-size: cover;
    background-position: 38% center;
}

.main {
    background-image: url(img/background.jpg);
    background-size: cover;
    background-position: 45% center;
}

.background img {
    display: block;
    width: 340%;
    margin-left: -110%;
    margin-top: -10%;
}

.footer {
    display: none;
}

.footer.footer-mobile {
    display: block;
    position: relative;
    left: unset;
    bottom: unset;
}

.footer {
    position: absolute;
    overflow: auto;
    left: 0;
    bottom: 0;
    font-family: museo-sans, sans-serif;
    color: #98b6d3;
    background-color: #011733;
    z-index: 10;
    width: 100%;
}

.footer .footer-content {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.footer .footer-content p {
    font-size: 12pt;
    line-height: 18pt;
    text-align: center;
}

.footer .footer-content p a {
    color: white;
    transition: color 0.3s;
}

.footer .footer-content p a:hover, .footer .footer-content p a:focus {
    color: #98b6d3;
}

p.small-text {
    clear: left;
    font-size: 10pt;
    line-height: 13pt;
}

@media only screen and (min-width: 375px) {
    /*
    body {
        height: 100%;
        overflow: hidden;
    }
    
    .footer {
        display: block;
    }
    
    .footer.footer-mobile {
        display: none;
    }
    */

    .main {
        background-image: none;
    }

    .background {
        display: block;
        height: 100%;
    }
}

@media only screen and (min-width: 393px) {


@media only screen and (min-width: 412px) {
    .content-block {
        padding-top: 7vh;
        padding-bottom: 7vh;
    }
}

@media only screen and (min-width: 414px) {
    .content-block p, .content-block a {
        font-size: 13pt;
        line-height: 19pt;
    }

    .content-block a.btn {
        padding-left: 30px;
        padding-right: 30px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    .content-block .content-constraint {
        width: 70%;
    }
}

@media only screen and (min-width: 600px) {
    .background {
        height: 110%;
    }
    
    body {
        height: 100%;
        overflow: hidden;
    }
    
    .footer {
        display: block;
    }

    .footer.footer-mobile {
        display: none;
    }
    
    .content-block h1 {
        font-size: 35pt;
        line-height: 35pt;
        margin-bottom: 18px;
    }

    .content-block h1 .small {
        font-size: 20pt;
        line-height: 35pt;
    }

    .content-block p, .content-block a {
        font-size: 15pt;
        line-height: 22pt;
        margin-bottom: 18px;
        margin-top: 18px;
    }

    .content-block p.small-text {
        font-size: 12pt;
        line-height: 18pt;
    }

    .content-block a.btn {
        clear: none;
        margin-right: 25px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .content-block a.btn + a.btn {
        margin-right: 0px;
    }

    .content-block a.btn + p {
        margin-top: 18px;
    }
}

@media only screen and (min-width: 720px) {
    .logo-container {
        max-width: 230px;
        padding-top: 25px;
        padding-bottom: 30px; 
    }

    .background {
        height: 160%;
        margin-top: -10%;
    }

    .footer .footer-content p {
        margin-top: 30px;
        margin-bottom: 30px;
    }
}

@media only screen and (min-width: 768px) {
    .background {
        height: 155%;
        margin-top: -15%;
    }

    .content-block {
        width: 85%;
        padding-top: 5vh;
        padding-bottom: 5vh;
    }
    
    .content-block .content-constraint {
        width: 60%;
    }

    .content-block h1 {
        font-size: 36pt;
        line-height: 36pt;
        margin-bottom: 18px;
    }

    .content-block h1 .small {
        font-size: 20pt;
        line-height: 36pt;
    }

    .content-block p, .content-block a {
        font-size: 14pt;
        line-height: 21pt;
    }

    
}

@media only screen and (min-width: 1024px) {
    .background {
        height: 210%;
        margin-top: -10%;
    }

    .content-block {
        width: 85%;
        padding-top: 3vh;
        padding-bottom: 3vh;
    }
    
}

@media only screen and (min-width: 1280px) {
    .background {
        height: 180%;
        margin-top: -10%;
    }

    .content-block {
        padding-top: 4vh;
        padding-bottom: 4vh;
    }
}

@media only screen and (min-width: 1440px) {
    .background {
        height: 180%;
        margin-top: -10%;
    }

    .content-block {
        width: 70%;
        padding-top: 10vh;
        padding-bottom: 10vh;
    }

    .content-block .content-constraint {
        width: 50%;
    }

    .content-block h1 {
        font-size: 40pt;
        line-height: 40pt;
        margin-bottom: 18px;
    }

    .content-block h1 .small {
        font-size: 24pt;
        line-height: 40pt;
    }

    .content-block p, .content-block a {
        font-size: 16pt;
        line-height: 23pt;
    }

    .content-block p.small-text {
        font-size: 13pt;
        line-height: 18pt;
    }
}

@media only screen and (min-width: 1640px) {
    .background {
        height: 100vh;
        margin-top: 0;
        background-position: top 85% center;
        background-image: url(img/background-desktop.jpg);
    }
}

@media only screen and (min-width: 1900px) {
    .content-block {
        width: 70%;
        padding-top: 3vh;
        padding-bottom: 3vh;
        margin-right: 10%;
    }
    
    .content-block h1 {
        font-size: 52pt;
        line-height: 48pt;
        margin-bottom: 30px;
    }

    .content-block h1 .small {
        font-size: 30pt;
        line-height: 48pt;
    }

    .content-block p, .content-block a {
        font-size: 18pt;
        line-height: 28pt;
        margin-top: 28px;
        margin-bottom: 28px;
    }

    .content-block a.btn {
        padding-left: 45px;
        padding-right: 45px;
    }

    .footer .footer-content p {
        font-size: 14pt;
        line-height: 20pt;
    }
}