#homepage-section
{
    margin-top: 7.5%;
    margin-left: 7.5%;
}

#homepage-section #homepage-second-row
{
    -js-display: flex;
    display: flex; 
    display: -webkit-flex;
    display: -ms-flexbox;
    flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    align-items: flex-start;
    -webkit-align-items: flex-start;
    margin-right: 7.5%;
    margin-bottom: 120px;
}

#homepage-section > #homepage-lines > #grey-bkgrnd
{
    display: block;
    position: absolute;
    z-index: -1;
    top: 100vh;
    right: 0;
    height: 500px;
    pointer-events: none;
}

#homepage-section .second-row-block
{
    flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;

    /* Don't use equal heights (height is determined by the tallest element by default) */
    height: fit-content;
    height: -webkit-fit-content;
    height: -moz-fit-content;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

#homepage-section #ontour-video-list
{
    margin-bottom: 120px;
}

@media only screen and (min-width: 1150px)
{
    #homepage-section #ontour-video-list
    {
        margin-left: 2.5%;
    }
}

@media only screen and (max-width: 875px)
{
    #homepage-section #ontour-video-list h4
    {
        padding-bottom: 1em;
    }
}

@media only screen and (min-width: 875px)
{
    #homepage-section #ontour-video-list
    {
        padding-left: 60px;
    }   
}

#homepage-section #ontour-video-list-actual
{
    -js-display: flex;
    display: flex; 
    display: -webkit-flex;
    display: -ms-flexbox;
    margin-top: 30px;
    max-width: 100%;
    overflow-x: auto;
}

#homepage-section .single-ontour-video
{
    flex-basis: 33%;
    -webkit-flex-basis: 33%;
    -moz-flex-basis: 33%;
}

#homepage-section .single-ontour-video:not(:last-child)
{
    margin-right: 60px;
}

#homepage-section .single-ontour-video h5
{
    margin-top: 1em;
    margin-bottom: 0.5em;
    font-size: 25px;
    font-family: "DIN Next LT Pro Heavy";
    white-space: nowrap;
    text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    overflow: hidden;
}

#homepage-section .single-ontour-video h6
{
    font-size: 20px;
}

#homepage-section .single-ontour-video p
{
    line-height: 1.25em !important;
}

@media only screen and (min-width: 2000px)
{
    #homepage-section .single-ontour-video #iframe-wrapper
    {
        width: 600px;
    }

    #homepage-section .single-ontour-video
    {
        max-width: 600px;
    }
}

@media only screen and (min-width: 1675px) and (max-width: 2000px)
{
    #homepage-section .single-ontour-video #iframe-wrapper
    {
        width: 500px;
    }

    #homepage-section .single-ontour-video
    {
        max-width: 500px;
    }
}

@media only screen and (max-width: 1675px)
{
    #homepage-section .single-ontour-video #iframe-wrapper
    {
        width: 400px;
    }

    #homepage-section .single-ontour-video
    {
        max-width: 400px;
    }
}

#homepage-section .single-ontour-video #iframe-wrapper > #inner
{
    position: relative;
    overflow: hidden;
    padding-top: 56.25%;
}

#homepage-section .single-ontour-video #iframe-wrapper > #inner > iframe 
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media only screen and (max-width: 875px)
{
    #homepage-section #homepage-login-form
    {
        display: block;
        margin-left: -7.5vw;
        margin-right: -7.5vw;
        flex-basis: 100vw;
        min-width: 100vw;
        padding: 30px;
    }

    footer
    {
        margin-top: 0;
    }
}

@media only screen and (min-width: 875px)
{
    #homepage-section #homepage-login-form
    {
        border-radius: 5px;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
    }

    #homepage-section .second-row-block
    {
        padding: 60px;
    }

    #homepage-section .second-row-block:not(#homepage-login-form)
    {
        padding-right: 0px;
    }
}

@media only screen and (min-width: 1370px)
{
    #homepage-section #homepage-login-form
    {
        flex-basis: 35%;
        max-width: 35%;
    }
}

@media only screen and (min-width: 1150px)
{
    #homepage-section .second-row-block
    {
        margin-left: 2.5%;
        margin-right: 2.5%;
    }
}

@media only screen and (min-width: 1150px) and (max-width: 1370px)
{
    #homepage-section #homepage-login-form
    {
        flex-basis: 37.5%;
        max-width: 37.5%;
    }
}

@media only screen and (min-width: 600px) and (max-width: 1150px)
{
    #homepage-section #homepage-login-form
    {
        flex-basis: 50%;
        max-width: 50%;
    }
}

@media only screen and (min-width: 875px)
{
    #homepage-section #homepage-news-list.not-logged-in
    {
        /* Min width of 50% */
        flex-basis: 50%;
        max-width: 50%;
    }
}

#homepage-section #homepage-news-list > .homepage-newsarticle > h6
{
    margin: 0;
    font-size: 20px;
}

#homepage-section #homepage-news-list > .homepage-newsarticle > p
{
    margin-top: 0.25em;
    margin-bottom: 1em;
}

#homepage-section #homepage-login-form
{
    background: rgb(78, 183, 71);
}

#homepage-section #homepage-login-form > h4,
#homepage-section #homepage-news-list > h4,
#homepage-section #homepage-news-list > p
{
    margin: 0;
}

#homepage-section #homepage-news-list > h4
{
    padding-bottom: 1em;
}

#homepage-section #homepage-login-form > h4
{
    color: white;
}

/*
    TEXT CSS
*/
#homepage-news-list > hr
{
    border: none;
    border: 0.5px solid rgb(230, 230, 230);
    margin-top: 2.0em;
    margin-bottom: 2.0em;
}

/*
    HOMEPAGE LOGIN FORM 
*/
#homepage-login-form > form input:not([type=button])
{
    padding: 20px;
    width: 100%;
    height: 57.5px;
    border: none;
    border: 3px solid rgba(175, 175, 175, 0.5);
    box-shadow: inset 3px 3px 7.5px 0 rgba(175, 175, 175, 0.25);
    -webkit-box-shadow: inset 3px 3px 7.5px 0 rgba(175, 175, 175, 0.25);
    -moz-box-shadow: inset 3px 3px 7.5px 0 rgba(175, 175, 175, 0.25);
    border-radius: 2.5px;
    -webkit-border-radius: 2.5px;
    -moz-border-radius: 2.5px;
    font-size: 16px;
    font-family: "DIN Next LT Pro";
    color: rgb(11, 24, 39);
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

#homepage-login-form > form input:focus
{
    outline: none;
}

#homepage-login-form > form > input[type=button]
{
    display: block;
    margin: 1.5em auto;
    border: none;
    background: transparent;
    opacity: 0.75;
    filter: alpha(opacity=75);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
    font-size: 20px;
    font-family: "DIN Next LT Pro";
    color: white;
    cursor: pointer;
    border-bottom: 2px solid rgba(255, 255, 255, 0.75);
    padding: 0;
    /*transition: 0.5s opacity;
    -webkit-transition: 0.5s opacity;
    -moz-transition: 0.5s opacity;
    -ms-transition: 0.5s opacity;
    -o-transition: 0.5s opacity;*/
}

#homepage-login-form > form > input[type=button]:hover
{
    opacity: 1.0;
    filter: alpha(opacity=100);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
}

#homepage-login-form > form > label:not(.orange-btn):not(.forgotpwbtn):not(#password-field)
{
    display: block;
    margin-top: 2em;
    margin-bottom: 0.375em;
    font-size: 20px;
    font-family: "DIN Next LT Pro";
    color: white;
}

/* Password field wrapper */
#homepage-login-form > form > #password-field
{
    position: relative;
    display: block;
    height: 57.5px;
}

/* Password field visibility button */
#homepage-login-form > form > #password-field > button
{
    display: inline-block;
    position: absolute;
    z-index: 1;
    background: transparent;
    color: rgb(205, 210, 210);
    border: none;
    padding: 0px;
    font-size: 1.25em;
    cursor: pointer;

    /* top/right values will be relative to the center of the element instead of its edge */
    transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    right: 14.375px; /* 1/4th of total height */
    top: 28.75px; /* 1/2th of total height */
}

#homepage-login-form > form > #password-field > button:focus
{
    outline: none;
}

/*
    HOMEPAGE JUMBOTRON
*/
.homepage-jumbotron
{
    display: block;
    position: relative;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: right;
    width: 100%;
    overflow: hidden;
}

.homepage-jumbotron-btnrow
{
    display: none;
    margin-top: 30px;
}

@media only screen and (min-height: 825px)
{
    .homepage-jumbotron-btnrow#first-btnrow
    {
        display: block;
    }
}

@media only screen and (min-height: 975px)
{
    .homepage-jumbotron-btnrow#second-btnrow
    {
        display: block;
    }
}

@media only screen and (min-width: 750px)
{
    .homepage-jumbotron
    {
        height: calc(100vh - 80px);
        height: -webkit-calc(100vh - 80px);
        height: -moz-calc(100vh - 80px);
        height: expression(100vh - 80px);
    }

    .homepage-jumbotron > .homepage-jumbotron-content
    {
        top: 22.5%;
        left: 150px;
    }

    .homepage-jumbotron > .homepage-jumbotron-content > .homepage-jumbotron-content-btns
    {
        letter-spacing: 25px;
    }

    .homepage-jumbotron-applybtn,
    .homepage-jumbotron-rmorebtn
    {
        width: 285px;
    }
}

@media only screen and (max-width: 500px)
{
    .homepage-jumbotron > .homepage-jumbotron-content
    {
        left: 30px;
    }
}

@media only screen and (min-width: 500px) and (max-width: 750px)
{
    .homepage-jumbotron > .homepage-jumbotron-content
    {
        left: 60px;
    }
}

@media only screen and (max-width: 750px)
{
    .homepage-jumbotron
    {
        height: calc(100vh - 75px);
        height: -webkit-calc(100vh - 75px);
        height: -moz-calc(100vh - 75px);
        height: expression(100vh - 75px);
    }

    .homepage-jumbotron > .homepage-jumbotron-content
    {
        top: 60px;
    }

    .homepage-jumbotron > .homepage-jumbotron-content > .homepage-jumbotron-content-btns
    {
        letter-spacing: 15px;
    }

    .homepage-jumbotron-applybtn,
    .homepage-jumbotron-rmorebtn
    {
        width: 250px;
    }
}

.homepage-jumbotron > .homepage-jumbotron-lines
{
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    height: 100%;
    width: 100%;
}

.homepage-jumbotron > .homepage-jumbotron-lines > img
{
    display: block;
    position: absolute;
    right: 0;
}

.homepage-jumbotron > .homepage-jumbotron-image
{
    position: absolute;
    top: 0;
    right: 0;
    z-index: 1;
    height: 100%;
    width: 100%;
}

.homepage-jumbotron > .homepage-jumbotron-image > img
{
    display: block;
    position: absolute;
    right: 0;
}

.homepage-jumbotron > .homepage-jumbotron-content
{
    position: absolute;
    width: 50%;
    z-index: 2;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.homepage-jumbotron > .homepage-jumbotron-content > .homepage-jumbotron-content-btns
{
    margin-top: 5%;
}

.homepage-jumbotron > .homepage-jumbotron-go-down-btn
{
    display: block;
    position: absolute;
    z-index: 3;
    left: 50%;
    top: 82.5%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    -moz-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    -o-transform: translate(-50%, 0);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    background: transparent;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    height: 60px;
    width: 60px;
    font-size: 30px;
    line-height: 60px;
    text-align: center;
    text-align: -webkit-center;
    padding: 0;
}

.homepage-jumbotron > .homepage-jumbotron-go-down-btn:focus
{
    outline: none;
}

/* READ MORE BTN */
.homepage-jumbotron-rmorebtn
{
    display: inline-block;
    position: relative;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 30px;
    padding-right: 30px;
    height: 70px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    line-height: 30px;
    background: white;
    letter-spacing: normal;
    border-radius: 2.5px;
    -webkit-border-radius: 2.5px;
    -moz-border-radius: 2.5px;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-family: "DIN Next LT Pro";
    color: rgb(11, 24, 39);
    bottom: 0px;
}

.homepage-jumbotron-rmorebtn:hover
{
    bottom: 5px;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00ffffff", endColorstr="#40ffffff", GradientType=1);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr="#00ffffff", endColorstr="#40ffffff", GradientType=1)";
    box-shadow: 0 10px 20px 0 rgba(255, 255, 255, 0.4);
    -webkit-box-shadow: 0 10px 20px 0 rgba(255, 255, 255, 0.4);
    -moz-box-shadow: 0 10px 20px 0 rgba(255, 255, 255, 0.4);
}

.homepage-jumbotron-rmorebtn > .chevron
{
    float: right;
    margin-top: 3px;
    margin-right: 2.5%;
}

.homepage-jumbotron-rmorebtn:hover > .chevron
{
    margin-right: 0%;
}

.homepage-jumbotron-rmorebtn > .chevron > img
{
    display: block;
    height: 1em;
    opacity: 0.75;
    filter: alpha(opacity=75);
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
}

/* APPLY BTN */
.homepage-jumbotron-applybtn
{
    display: inline-block;
    position: relative;
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 30px;
    padding-right: 30px;
    height: 70px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    line-height: 30px;
    background: rgb(255, 132, 0);
    letter-spacing: normal;
    border-radius: 2.5px;
    -webkit-border-radius: 2.5px;
    -moz-border-radius: 2.5px;
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-family: "DIN Next LT Pro";
    color: white;
    bottom: 0px;
}

.homepage-jumbotron-applybtn:hover
{
    bottom: 5px;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#00ffffff", endColorstr="#40ffffff", GradientType=1);
    -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr="#00ffffff", endColorstr="#40ffffff", GradientType=1)";
    box-shadow: 0 10px 20px 0 rgba(148, 77, 0, 0.4);
    -webkit-box-shadow: 0 10px 20px 0 rgba(148, 77, 0, 0.4);
    -moz-box-shadow: 0 10px 20px 0 rgba(148, 77, 0, 0.4);
}

.homepage-jumbotron-applybtn:after
{
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 2.5px;
    -webkit-border-radius: 2.5px;
    -moz-border-radius: 2.5px;
    opacity: 0.0;
    transition: 0.375s opacity;
    -webkit-transition: 0.375s opacity;
    -moz-transition: 0.375s opacity;
    -ms-transition: 0.375s opacity;
    -o-transition: 0.375s opacity;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25));
    background: -webkit-linear-gradient(to left, transparent, rgba(255, 255, 255, 0.25));
    background: -moz-linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25));
    background: -o-linear-gradient(to left, transparent, rgba(255, 255, 255, 0.25));
}

.homepage-jumbotron-applybtn:hover:after
{
    opacity: 1.0;
}

.homepage-jumbotron-applybtn > .chevron
{
    float: right;
    margin-top: 3px;
    margin-right: 2.5%;
}

.homepage-jumbotron-applybtn:hover > .chevron
{
    margin-right: 0%;
}

.homepage-jumbotron-applybtn > .chevron > img
{
    display: block;
    height: 1em;
}

.homepage-jumbotron > .homepage-jumbotron-content > h1, 
.homepage-jumbotron > .homepage-jumbotron-content > h5
{
    color: white;
}

@media only screen and (max-width: 475px)
{
    .homepage-jumbotron-applybtn,
    .homepage-jumbotron-rmorebtn
    {
        font-size: 22px;
    }
}

@media only screen and (min-width: 475px)
{
    .homepage-jumbotron-applybtn,
    .homepage-jumbotron-rmorebtn
    {
        font-size: 24px;
    }
}

@media only screen and (min-width: 1550px)
{
    .homepage-jumbotron > .homepage-jumbotron-image > img
    {
        max-height: 90%;
        height: 90%;
        margin-right: 2.5%;
        margin-top: 2.5%;
    }

    .homepage-jumbotron > .homepage-jumbotron-lines > img
    {
        max-height: 80%;
        height: 80%;
        margin-right: 5%;
        margin-top: 5%;
    }
}

@media only screen and (min-width: 1425px) and (max-width: 1550px)
{
    .homepage-jumbotron > .homepage-jumbotron-image > img
    {
        max-height: 75%;
        height: 75%;
        margin-right: 2.5%;
        margin-top: 6.25%;
    }

    .homepage-jumbotron > .homepage-jumbotron-lines > img
    {
        max-height: 65%;
        height: 65%;
        margin-right: 5%;
        margin-top: 8.75%;
    }
}

@media only screen and (min-width: 1325px) and (max-width: 1425px)
{
    .homepage-jumbotron > .homepage-jumbotron-image > img
    {
        max-height: 65%;
        height: 65%;
        margin-right: 2.5%;
        margin-top: 8.75%;
    }

    .homepage-jumbotron > .homepage-jumbotron-lines > img
    {
        max-height: 55%;
        height: 55%;
        margin-right: 5%;
        margin-top: 11.25%;
    }

    .homepage-jumbotron > .homepage-jumbotron-content
    {
        height: 50%;
        width: 50%;
    }
}

@media only screen and (max-width: 1325px)
{
    .homepage-jumbotron > .homepage-jumbotron-image,
    .homepage-jumbotron > .homepage-jumbotron-lines
    {
        display: none;
    }

    .homepage-jumbotron > .homepage-jumbotron-content
    {
        height: 50%;
        width: 80%;
    }
}

@media only screen and (min-width: 550px) and (max-width: 875px)
{
    .homepage-jumbotron > .homepage-jumbotron-content > h1
    {
        font-size: 60px;
    }
    
    .homepage-jumbotron > .homepage-jumbotron-content > h5
    {
        font-size: 20px;
    }   
}

@media only screen and (max-width: 550px)
{
    .homepage-jumbotron > .homepage-jumbotron-content > h1
    {
        font-size: 40px;
    }
    
    .homepage-jumbotron > .homepage-jumbotron-content > h5
    {
        font-size: 16px;
        font-family: "DIN Next LT Pro";
    }   
}

/* The max-width value of 735px is the point at which these two buttons end up below eachother */
@media only screen and (max-width: 734px)
{
    .homepage-jumbotron-applybtn,
    .homepage-jumbotron-rmorebtn
    {
        display: block;
        margin: 10px auto;
        width: 100%;
        box-sizing: border-box;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
    }
}

/*****************************
* News article CSS
******************************/
@media only screen and (max-width: 900px)
{
    #news-article > #news-article-right
    {
        display: none;    
    }

    #news-article > #news-article-left
    {
        width: 100%;
    }
}

@media only screen and (min-width: 900px)
{
    #news-article > #news-article-right
    {
        display: inline-block;
        vertical-align: middle;
        letter-spacing: normal;
    }

    #news-article > #news-article-left
    {
        width: calc(100% - 220px); /* 190px + 30px margin */
        width: -webkit-calc(100% - 220px); /* 190px + 30px margin */
        width: -moz-calc(100% - 220px); /* 190px + 30px margin */
        width: expression(100% - 220px); /* 190px + 30px margin */
    }
}

@media only screen and (max-width: 1325px)
{
    #news-article > #news-article-left > #read-more-btn
    {
        margin-bottom: 27.5px;
    }

    #news-article > #news-article-left > h4
    {
        margin-top: 1.5em;
    }
}

#news-article > #news-article-left > h4,
#news-article > #news-article-left > p
{
    font-size: 20px;
}

#news-article > #news-article-left > p
{
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}

#news-article > #news-article-left > h3
{
    margin-top: 0.75em;
    margin-bottom: 0.5em;
    font-size: 25px;
    font-family: "DIN Next LT Pro Heavy";
    white-space: nowrap;
}

#news-article > #news-article-left > #read-more-btn
{
    display: inline-block;
    font-family: "DIN Next LT Pro";
    color: rgb(78, 183, 71);
    text-decoration: none;
    font-size: 20px;
    margin-top: 0.5em;
}

#news-article:not(:first-of-type)
{
    padding-top: 35px;
}

#news-article
{
    padding-bottom: 35px;
    border-bottom: 2px solid rgb(240, 240, 240);
    min-height: 190px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    letter-spacing: -1em;
    cursor: pointer;
}

#news-article > #news-article-left
{
    display: inline-block;
    vertical-align: middle;
    letter-spacing: normal;
    max-height: 190px;
}

#news-article > #news-article-right
{
    position: relative;
    left: 30px;
    height: 190px;
    width: 190px;
    overflow: hidden;
}

#news-article > #news-article-right > .article-rimg-wrapper
{
    display: block;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    text-decoration: none;
    width: 100%;
    height: 100%;
}