.masthead {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    font-size: 16px;
    line-height: 22px;
    font-weight: bold;
    border-bottom: 5px solid #002d56;
    height: 365px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

@media (max-width: 767px) {
    .masthead {
        display: block;
        height: 190px;
        margin-bottom: 300px;
        font-size: 12px;
    }
}

@media (max-width: 550px) {
    .masthead {
        margin-bottom: 300px
    }
}

.masthead .container {
    flex: 1;
    padding-left: 15%;
    padding-right: 15%;
    z-index: 1;
    margin-top: 50px;
}

@media (max-width: 767px) {
    .masthead .container {
        padding: 0 0 15px 0;
        position: absolute;
        top: 190px;
        flex: none;
        background: white;
        border-bottom: 1px solid #d8d7d7;
        margin-top: 0;
        width: 100%;
    }
}

@media (max-width: 767px) {
    .masthead .container {
        background: #002d56;
        padding: 15px;
        margin-bottom: 15px;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .masthead .content {
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .masthead .content p {
        margin-bottom: 0;
    }
}

@media (max-width: 374px) {
    .masthead .content {
        padding: 5px;
    }
    .masthead .container p {
        margin-bottom: 0;
    }
}

.masthead a {
    color: white;
    text-decoration: underline;
}

.masthead a:focus,
.masthead a:hover {
    color: #005699;
}

.masthead .btn {
    text-decoration: none;
    padding-left: 30px;
    padding-right: 30px;
    margin: 0 5px;
}

.masthead h1 {
    color: white;
    font-weight: 500;
    font-size: 36px;
    text-transform: none;
}

@media (max-width: 767px) {
    .masthead h1 {
        font-size: 24px;
    }
    .masthead .btn {
        margin: 10px 5px;
    }
}

.masthead:before {
    content: '';
    position: absolute;
    bottom: 0;
    height: 75%;
    width: 100%;
    opacity: .4;
    background-image: -webkit-linear-gradient(rgba(0, 0, 0, 0), black 33%, black);
    background-image: -o-linear-gradient(rgba(0, 0, 0, 0), black 33%, black);
    background-image: linear-gradient(rgba(0, 0, 0, 0), black 33%, black);
    background-repeat: no-repeat;
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#ff000000', GradientType=0);
}

@media (max-width: 767px) {
    .masthead:before {
        display: none;
    }
}

.masthead:after {
    content: '';
    position: absolute;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.1);
}

@media (max-width: 767px) {
    .masthead:after {
        display: none;
    }
}


/*# sourceMappingURL=masthead.css.map */