.form-check-input.is-valid~.form-check-label, .was-validated .form-check-input:valid~.form-check-label {
    color: #fff;
}
body{
    font-family: 'Calibri', sans-serif;
    color: #ffffff;
    background-image: url('../img/bg_mobile_home_darker.jpg');
    background-size: cover;
    background-position: top center;
    background-attachment: fixed;
    font-size: 18px;
    line-height: 1.3;
    overflow-y: scroll;
}
header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}
a, a:hover, a:focus, a:visited{
    color: #f3c200; 
}
.highlighted{
    color: #f3c200 !important;
}
.navbar{
    background-color: #173867;
}
.navbar .container{
    padding-left: 0;
    padding-right: 0;
}
.navbar-brand img{
    transform: rotate(-20deg);
    width: 16vw;
}
.navbar-nav .nav-item{
    padding: 0 var(--bs-gutter-x);
    border-top: 1px solid #ffffff;
}
.navbar-nav .nav-link, 
.navbar-nav .nav-link.active{
    font-size: 5vw;
    color: #ffffff;
}
.navbar-nav .nav-link.active{
    color: #f3c200;
}

.navbar-toggler {
    border: none;
    position: absolute;
    top: 4.5vw;
    right: 15px;
    border-radius: 0;
}
.navbar-toggler:focus{
    box-shadow:none;
}
.line {
    fill: none;
    stroke: rgb(255,255,255);
    stroke-width: 6;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
        stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}
.line1 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}
.line2 {
    stroke-dasharray: 60 60;
    stroke-width: 6;
}
.line3 {
    stroke-dasharray: 60 207;
    stroke-width: 6;
}
.opened .line1 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
}
.opened .line2 {
    stroke-dasharray: 1 60;
    stroke-dashoffset: -30;
    stroke-width: 6;
}
.opened .line3 {
    stroke-dasharray: 90 207;
    stroke-dashoffset: -134;
    stroke-width: 6;
}
main{
    margin-top: calc(16vw + 1.5rem);
}
.main h1{
    font-family: Arial, Helvetica, sans-serif;
    font-size: 5vw;
    font-weight: 900;
    color: #f3c200;
    padding-bottom: 1rem;
}
.main_text_c{
    margin: 0 auto;
    padding-left: .5rem;
    padding-right: .5rem;
    font-size: 3vw;
    padding-bottom: 2rem;
}
.download_pdf{
    padding-left: 30px;
    background-color: #f3c200 !important;
    color: white !important;
    background-image: url('../img/down_circle.svg');
    background-repeat: no-repeat;
    background-position: 8px center;
}
.arrow{
    position: relative;
    text-decoration: none;
    display: inline-block;
    color: #ffffff !important;
    background-color: rgba(59, 94, 159, 0.5);
    border-top: 2px solid #f3c200;
    border-bottom:  2px solid #f3c200;
    margin-top: 25px;
    margin-left: -1.25rem;
    padding: .5rem 1.5rem .5rem 1rem;
}
.arrow::after{
    content: '';
    position: absolute;
    top: -2px;
    bottom: -2px;
    left:0;
    right: -1.5rem;
    background-image: url('../img/arrow_r.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center right;
}
.mid_width{
    font-size: 1rem;
    max-width: 900px;
    margin: 0 auto;
}
.mid_width p{
    text-align: left !important;
}
.mid_width h1{
    font-size: 1.3rem;
}
#reg .form-floating{
    color: #3b5e9f;
}
.form-medium{
    max-width: 500px;
}
.form-select{
    background-image: none;
    padding-top: 30px !important;
    padding-bottom: 38px !important;
}
.form-select button{
    width: calc(100% + 50px) !important;
    margin-left: -13px;
    background-color: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}
#reg .bootstrap-select .dropdown-toggle:focus, 
#reg .bootstrap-select>select.mobile-device:focus+.dropdown-toggle {
    box-shadow: none !important;
    outline: none !important;
}
#reg .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn){
    width: 100%;
}

@media (min-width: 576px) {
    body{
        background-image: url('../img/bg_home_darker.jpg');
    }
    .main{
        display: flex;
        min-height: calc(100vh - 160px);
        align-items: center;
        padding-top: 1.5rem;
        padding-bottom: 3rem;
    }
    .navbar-nav .nav-link, 
    .navbar-nav .nav-link.active{
        font-size: 2.5rem;
    }
    .main h1{
        font-size: 4rem;
    }
    .main_text_c{
        font-size: 2.3rem;
    }
    .mid_width{
        font-size: 1.4rem;
    }
    .mid_width h1{
        font-size: 2rem;
    }
    .main_link{
        display: flex;
        align-items: center;
    }
    .arrow_outline{
        width: 70px;
        height: 70px;
        background-image: url('../img/arrow_r_outline.svg');
        background-repeat: no-repeat;
        background-position: center center;
        background-size: contain;
    }
}

@media (min-width: 992px) { 
    header{
        position: static;
    }
    main{
        margin-top: 0;
    }
    .navbar{
        background-color: transparent;
    }   
    .navbar-brand img{
        transform: rotate(0deg);
        width: 160px;
    }
    .navbar-nav .nav-item{
        padding: 0 var(--bs-gutter-x);
        border-top: none;
    }
    .navbar-nav .nav-link, 
    .navbar-nav .nav-link.active{
        font-size: 1.5rem;
    }
    .outline{
        border-radius: 4px;
        border: 1px solid #f3c200;
    }
 }