/************ UTIL *************/
.clear:after {
content: '';
display: block;
clear: both;
}

/************ Layout *************/
.svg-bg {
    bottom: -43px;
    height: 170px;
}

.page-sidebars {
	width: 320px;
	float: right;
}

.main-content {
    width: calc(100% - 320px);
    padding-right: 10%;
    float: left;
}

.content-wrap {
    max-width: 1470px;
    margin: 0 auto;
    padding: 0 45px;
    width: 100%;
}


.main-content h1 {
    font-size: 50px;
}

.main-content h2 {
    font-size: 35px;
}

.half-margin-title {
    margin-bottom: 20px!important;
}

.small-margin-title {
    margin-bottom: 5px!important;
}

.main-content h3 {
    font-size: 24px;
}

.main-content h4 {
    font-size: 22px;
}

.main-content h5 {
    font-size: 18px;
}

.main-content h6 {
    font-size: 16px;
}

.main-content p {
    font-size: 16px;
    margin: 0 0 1em;
    line-height: 1.6;
}

.underlined-link {
    font-size: 16px;
    text-decoration: underline;
}

.underlined-link:hover {
    color: #ffae00;
    text-decoration: underline;
}

.main-content 
h2,
h3,
h4,
h5,
h6,
p {
    font-weight: 300;
}

.subpage-header h3 {
    font-size: 24px;
    color: #234758;
    font-weight: 500;
}


/************ Header image **********/
.bg-stretch img {
    filter: brightness(1)!important;
}

.subpage-header {
    position: absolute;
    top: 42%;
    left: 50%;
    width: 100%;
    transform: translate(-50%,-50%);
}

.subpage-header h1 {
    color: #234758;
    margin-bottom: 12px;
}

.subpage-header h5 {
    margin: 0; 
    padding: 0; 
    text-align: center; 
    color: white;
    padding: 0 16%;
}

.applying-area {
	padding: 35px 0;
	border-radius: 10px;
}

.applying-area p {
    font-size: 24px;
    margin: 0 5px 40px!important;
}

.applying-area .btn {
	padding: 8px;
	min-width: 260px;
	font-size: 18px;
}

.bottom-bar .wrap-container {
    padding: 0 45px;
}

.top-bar .wrap-container {
    padding: 0 45px;
}


/************ Articles **************/
.article-ingress {
    margin-top: 10px;
}

.wysiwyg-content {
    margin-top: 40px;
}

.wysiwyg-content a {
    text-decoration: none;
    position: relative;
    font-size: 16px;
}

.wysiwyg-content a:after {
    content: "";
    width: 100%;
    position: absolute;
    left: 0;
    bottom: -1px;
    border-width: 0 0 1px;
    border-style: solid;
}

.wysiwyg-content a:hover {
    color: #ffae00;
}

.wysiwyg-content strong {
    font-weight: normal;
}

.video-container {
    position: relative;
    padding-bottom: 56.25%; /*16:9*/  
    padding-top: 30px;
    height: 0;
    overflow: hidden;
}
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/******** accordions **********/
.accordion-nav li:last-of-type {
    margin-bottom: 0;
}

.accordion-area .accordion-holder {
    margin-bottom: 0;
}

/************* menu ********/
.bottom-bar.menu-active {
    position: fixed;
    top: 0px;
    width: 100%;
}

.wrap-container.menu-active {
    position: absolute;
    width: 100%;
    padding-bottom: 16px;
    background: white;
}

#main-nav.menu-active {
    padding-top: 52px;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: 100%;
    overflow: visible;
    background: white;
    z-index: -2;
}

.nav-holder.menu-active {
    position: absolute;
    width: 100%;
    overflow: scroll;
    height: calc(100vh - 78px);
}

@media screen and (max-width: 1240px){
    .main-content {
        width: calc(100% - 320px);
        padding-right: 5%;
    }
}

@media screen and (max-width: 1024px){
    .main-content {
        width: calc(100% - 320px);
        padding-right: 5%;
    }

    .chat {
		height: 32px;
		margin-right: 3px;
	}
}


@media (min-width: 821px) {
    
    .chat {
		height: 32px;
		margin-right: 3px;
	}

    .banner-area .banner-holder {
        min-height: 500px;
    }

    .svg-bg.top {
        top: -55px;
    }
}

@media (max-width: 820px) {
    .svg-bg {
        bottom: -21px;
        height: 84px;
    }

    .main-content {
        width: 100%;
        padding-right: 0;
    }

    .page-sidebars {
        width: 0;
        float: none;
        display: none;
        clear: both;
    }
}


@media screen and (max-width: 600px) {
    .applying-area {
        margin-bottom:4vh;
    }

     .subpage-header h3 {
        display: none;
    }

    .main-content  h2 {
        font-size: 30px;
    }

    .chat {
		height: 30px;
		margin-right: 0;
	}

    
}

@media screen and (max-width: 420px) {

    .subpage-header {
        top: 45%;
    }

    .applying-area .btn {
        margin: 0 auto;
        min-width: 0!important;
        width: 200px;
        /*max-width: 240px;*/
    }

    .subpage-header h1 {
        
        font-size: 24px;
    padding: 0;
    
    line-height: 1.4;
    }

    .bg-stretch {
        margin: 0;
    }

    .bg-stretch img {
        height: 250px!important;
        /*margin-left: -140px !important;*/
    }

    .main-content  h2 {
        margin-bottom: 20px;
    }

    .applying-area {
        margin-bottom:2vh;
    }

    .bottom-bar .wrap-container {
        padding: 0 10px;
    }
    
    .top-bar .wrap-container {
        padding: 0 10px;
    }

}