/*********** Toggle topNav ***************** */
.container {
    /* display: inline-block; */
    cursor: pointer;
}

.bar1,
.bar2,
.bar3 {
    width: 35px;
    height: 4px;
    background-color: #333;
    margin: 6px 0;
    transition: 0.4s;
}

/* Rotate first bar */
.change .bar1 {
    transform: translate(0, 11px) rotate(-45deg);
}

/* Fade out the second bar */
.change .bar2 {
    opacity: 0;
}

/* Rotate last bar */
.change .bar3 {
    transform: translate(0, -11px) rotate(45deg);
}

.grad1 {
    background-color: red;
    /* For browsers that do not support gradients */
    background-image: linear-gradient(to right, #14233c, #208df3);
}
.grad2 {
    background-color: red;
    /* For browsers that do not support gradients */
    background-image: linear-gradient(to right, #208df3, #14233c);
    padding:0 7rem;
}

.topnav {
    /* background-color:#dee5ef; */
    overflow: hidden;
    padding-top: 1.2rem;
    padding-bottom:1.2rem;
    /* box-shadow: 0 0rem 0.5rem #208df3 !important; */
    box-shadow: 0px 15px 10px -15px #208df3 !important;
    margin:0 2rem 0 2rem;
}

/* Style the links inside the navigation bar */
.topnav a {
    float: left;
    display: block;
    color: #333;
    line-height: 3em !important;
    text-align: center;
    text-transform: uppercase !important;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 1.3rem;
}

.topnav .nav-link {
    float: right;
}

.topnav .brand {
    font-size: 1.5rem !important;
    line-height: 2em !important;
    margin: 0 !important;
    font-family: Verdana !important;
    font-weight: 900 !important;
    font-style: italic !important;
    color: #333 !important;
    letter-spacing: 1px;
    text-transform:uppercase !important;
    text-decoration: none !important;
}
/* Add an active class to highlight the current page */
.topnav a.active {
    background-color: #04AA6D;
    color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
    display: none;
}

.topnav .search-container {
    display: flex;
    flex-flow: row;
    float: left;
}

.topnav input[type=text] {
    padding: 6px;
    margin-top: 8px;
    font-size: 17px;
    border: none;
}

.topnav .search-container button {
    float: right;
    padding: 6px;
    margin-top: 8px;
    margin-right: 16px;
    background: #ddd;
    font-size: 17px;
    border: none;
    cursor: pointer;
}

.topnav .search-container button:hover {
    background: #ccc;
}

.drop-down {
    float: left;
    overflow: hidden;
}

.drop-down .drop-btn {
    font-size: 17px;
    border: none;
    outline: none;
    color: #333;
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.drop-down-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.drop-down-content a {
    float: none;
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.topnav a:hover,
.drop-down:hover .drop-btn {
    text-decoration: underline;
    text-decoration-thickness: 5px;
}

.drop-down-content a:hover {
    background-color: #ddd;
    color: black;
}

.drop-down:hover .drop-down-content {
    display: block;
}

.filter-select {
    padding: 6px !important;
    margin-top: 8px !important;
    font-size: 17px !important;
    border: none !important;
    width: 150px;
    border-radius:2px;
}

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

    .topnav {
        overflow: hidden;
        padding-top: 1.2rem;
        padding-bottom: 1.2rem;
        box-shadow: 0px 15px 10px -15px #208df3 !important;
        margin: 0 0 0 0;
    }
        
    .topnav .brand {
        font-size: 1.2rem !important;
        line-height: 1.5em !important;
    }

    .topnav a:not(:first-child),
    .drop-down .drop-btn {
            display: none;
    }
    
    .topnav span.icon {
        float: right;
        display: block;
        padding:1rem;
    }

    .topnav.responsive {
        position: relative;
        position: absolute;
        background-color:#fff;
        opacity: 0.9;
        min-width: 100%;
        min-height:100%;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        z-index: 1;
    }
    /* floating form label comes infront off responsive menu, make the z-index zero to avoid that */
        .form-floating>label {
            z-index: 0 !important;
    }

    .topnav.responsive .icon {
        position: absolute;
        right: 0;
        top: 0;
    }

    .topnav.responsive a {
        float: none;
        display: block;
        text-align: left;
        line-height: 2em !important;
    }
    .topnav.responsive a:hover {
        color:var(--blue) !important;
    }

    .topnav .nav-link {
        display: flex;
        flex-direction: column;
    }

    .topnav.responsive .dropdown {
        float: none;
    }

    .topnav.responsive .drop-down-content {
        position: relative;
    }

    .topnav.responsive .drop-down .drop-btn {
        display: block;
        width: 100%;
        text-align: left;
    }
    .filter-select {
        padding: 6px !important;
        margin-top: 8px !important;
        font-size: 17px !important;
        border: none !important;
        width: 50px;
    }
    .grad2 {
        padding: 0 0;
    }
}

/* ************ end of topNav ****************** */

/* APPLICATION STEPS */
row.ul.steps ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.steps li {
    display: inline-block;
    margin: 1rem;
}

.steps li a {
    display: block;
    text-decoration: none;
}
/* END APPLICATION STEPS */