﻿/* CHANGE ============================= custom styles to override bootstrap.css ver 4.5.0 */

/*# Main navigation #*/
.bg-faded {
    box-shadow: 0 3px 6px 0 rgba(0,0,0,0.23);
    opacity: 0.8;
    background: linear-gradient(180deg, #fff 0%, #ECF0F1 100%);
}

.navbar li {
    text-transform: uppercase;
    display: table-cell;
}

.nav-link {
    color: #4a4a4a !important;
    display: block;
    text-decoration: none;
    border-bottom: none;
    font-weight: 400;
    font-size: 18px;
    margin: 0 0.5em;
}

.navbar li a,
.navbar li a:after,
.navbar li a:before {
    transition: all .5s;
}

.navbar .navbar-link:hover {
    color: #000000;
}

nav.stroke ul li a {
    position: relative;
}

    nav.stroke ul li a:after {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;
        width: 0%;
        content: '.';
        color: transparent;
        background: #700017;
        height: 1px;
    }

    nav.stroke ul li a:hover:after {
        width: 100%;
    }

/*# Utilities #*/
input,
select,
textarea {
    max-width: 500px;
}

.multi-line {
    max-width: 80%;
}

.field-validation-error {
    color: #b94a48;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #b94a48;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

.modal-backdrop {
    z-index: -1;
}

.bottomBar {
    background-color: #465d6b;
}

.hidden {
    display: none;
}

.error,
.validation-summary-errors {
    color: #d9534f;
    font-weight: normal;
}

a, a:hover {
    color: #354851;
    text-decoration: underline;
}

.btn {
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
}

.btn-primary {
    padding: 0.8rem 1.0rem;
    text-transform: uppercase;
    background: #354851;
    color: #fff;
    border: 2px solid #fff;
}

.btn-secondary {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.btn span {
    cursor: pointer;
    display: inline-block;
    position: relative;
    transition: 0.5s;
}

    .btn span:after {
        content: '\00bb';
        position: absolute;
        opacity: 0;
        top: 0;
        right: -20px;
        transition: 0.5s;
    }

.btn:hover span {
    padding-right: 25px;
}

    .btn:hover span:after {
        opacity: 1;
        right: 0;
    }

.btn-primary:hover {
    background-color: #354851;
}

.supportingDocumentsCollapsable > .fa {
    padding-top:  8px;
}

.supportingDocumentsCollapsable {
    display: inline-flex;
    cursor: pointer;
    user-select: none;
}

.textButton {
    border: none;
    background-color: inherit;
    padding: 6px;
    font-size: 16px;
    font-weight: bolder;
    cursor: pointer;
    display: inline-block;
    text-decoration:none;
}

.pagination > li > a, .pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    line-height: 1.42857143;
    color: #354851;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #354851;
    border-color: #354851;
}

table {
    border: 1px solid #ccc;
    border-collapse: collapse;
    table-layout: fixed;
}

    table th,
    table td {
        padding: .625em;
        text-align: center;
    }

    table th {
        font-size: .85em;
        text-transform: uppercase;
    }

/* 
Extra small devices (portrait phones, less than 576px) 
No media query since this is the default in Bootstrap because it is "mobile first"
*/
/* GalaxyS5 */
@media only screen and (min-device-width: 360px) and (max-device-height: 640px) {
    img.responsive {
        width: 200px;
    }
}

/* iphone 5 */
@media only screen and (min-device-width: 320px) and (max-device-height: 568px) and (-webkit-device-pixel-ratio: 2) {
    img.responsive {
        width: 200px;
    }
}

/* iphone 6, 6s, 7, 8 */
@media only screen and (min-device-width: 375px) and (max-device-height: 667px) and (-webkit-device-pixel-ratio: 2) {
    img.responsive {
        width: 250px;
    }
}

/* iphone 6+, 6s+, 7+, 8+ */
@media only screen and (min-device-width: 414px) and (max-device-height: 736px) and (-webkit-device-pixel-ratio: 3) {
}

/* iphone X */
@media only screen and (min-device-width: 375px) and (max-device-height: 812px) and (-webkit-device-pixel-ratio: 3) {
    img.responsive {
        width: 250px;
    }
}

/* iphone XR */
@media only screen and (min-device-width : 414px) and (max-device-height : 896px) and (-webkit-device-pixel-ratio : 2) {
}

/* iphone XS */
@media only screen and (min-device-width : 375px) and (max-device-height : 812px) and (-webkit-device-pixel-ratio : 3) {
    img.responsive {
        width: 250px;
    }
}

/* iphone XS Max */
@media only screen and (min-device-width : 414px) and (max-device-height : 896px) and (-webkit-device-pixel-ratio : 3) {
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
}

@media (max-width: 575px) {
    .bg-faded {
        opacity: 1.0;
    }

    h2 {
        font-size: 1.6rem;
    }

    .application-container {
        margin-top: 100px;
    }

    .navbar-expand-sm .navbar-nav .show .dropdown-menu .dropdown-item {
        color: #4a4a4a;
    }

        .navbar-expand-sm .navbar-nav .show .dropdown-menu .dropdown-item:hover,
        .navbar-expand-sm .navbar-nav .show .dropdown-menu .dropdown-item:focus {
            color: #000000;
        }

        .navbar-expand-sm .navbar-nav .show .dropdown-menu .dropdown-item.active {
            color: #000000;
            background-color: #ffffff;
        }
}

@media (max-width: 600px) {
    table {
        border: 0;
    }

        table thead {
            border: none;
            clip: rect(0 0 0 0);
            height: 1px;
            margin: -1px;
            overflow: hidden;
            padding: 0;
            position: absolute;
            width: 1px;
        }

        table tr {
            border-left: 1px solid #ddd;
            border-right: 1px solid #ddd;
            border-bottom: 1px solid #ddd;
            display: block;
            margin-bottom: .625em;
        }

        table td {
            display: block;
            font-size: .8em;
            text-align: right;
        }

            table td::before {
                content: attr(data-name);
                float: left;
                font-weight: bold;
                text-transform: uppercase;
            }

            table td:last-child {
                border-bottom: 0;
            }
}

/* Medium devices (tablets, 768px and up) The navbar toggle appears at this breakpoint */
@media only screen and (device-width: 768px) {
    /* For general iPad layouts */
    .nav-link {
        font-size: 14px;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
    /* For portrait layouts only */
    .nav-link {
        font-size: 14px;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {
    /* For landscape layouts only */
    .nav-link {
        font-size: 14px;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar .nav-link {
        padding: 15px;
    }
}

@media (max-width: 991px) {
    .navbar-expand-lg .navbar-nav .show .dropdown-menu .dropdown-item {
        color: #4a4a4a;
    }

        .navbar-expand-lg .navbar-nav .show .dropdown-menu .dropdown-item:hover,
        .navbar-expand-lg .navbar-nav .show .dropdown-menu .dropdown-item:focus {
            color: #000000;
        }

        .navbar-expand-lg .navbar-nav .show .dropdown-menu .dropdown-item.active {
            color: #000000;
            background-color: #ffffff;
        }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1112px) {
    .lg-hidden {
        display: none;
    }
}

@media (max-width: 1199px) {
    .navbar-expand-xl .navbar-nav .show .dropdown-menu .dropdown-item {
        color: #4a4a4a;
    }

        .navbar-expand-xl .navbar-nav .show .dropdown-menu .dropdown-item:hover,
        .navbar-expand-xl .navbar-nav .show .dropdown-menu .dropdown-item:focus {
            color: #000000;
        }

        .navbar-expand-xl .navbar-nav .show .dropdown-menu .dropdown-item.active {
            color: #000000;
            background-color: #ffffff;
        }
}

.media {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: start;
    align-items: flex-start;
}

.media-body {
    -ms-flex: 1;
    flex: 1;
}