﻿@font-face {
    font-family: 'SakkalMajalla';
    src: url('./majalla.ttf') format('truetype');
    src: url("./majalla.eot"); 
    src: url("./majalla.eot?#iefix") format("embedded-opentype"), url("./majalla.otf") format("opentype"), url("./majalla.svg") format("svg"), url("./majalla.ttf") format("truetype"),     url("./majalla.woff") format("woff"),     url("./majalla.woff2") format("woff2");     
    font-display:swap;
}


@media (max-width: 576px) {
    html{
        font-size: 11pt;
    }
}


a, a:hover {
    color: #36c;
}

    a.link-btn:hover {
        color: white;
        text-decoration: none;
    }



.link-icon::after {
    content: ' ';
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-left: 4px;
    background-image: url('/imgs/external-link-icon.svg');
    white-space: nowrap;
}

.link-btn {
    background: rgb(0,80,166);
    background: linear-gradient(180deg, rgba(0,80,166,1) 0%, rgba(0,105,184,1) 75%);
    color: white;
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 0.25rem;
    border: 3px solid white;
    transition: all 0.4s;
    margin-left:-3px;
}   

    .link-btn:hover {
        border: 3px solid #25a8ff;
    }

header {
    background-color: #0050a6;
    padding: 1rem;
    height: 350px;
    position: sticky;
    top: -265px;
    transition: 0.5s;
    z-index: 10;
    font-family: SakkalMajalla;
}


.logo-tel {
    display: block;
    position: absolute;
    color: white;
    right: 1rem;
    bottom: 1rem;
    font-style: italic;
    font-size: 1.2rem;
}

    header .logo {
        height: 100%;
        /*background-image: url('/imgs/aptware_blue.png');*/
        background-image: url('/imgs/aptware_white.png');
        background-position: center bottom;
        background-repeat: no-repeat;
        background-size: auto 100%;
        position: relative;
        transition: 0.5s;
        transition-property: background-position,background-image,background-color;
    }

.scrolled header .logo {
    background-position: left bottom;
    /*     background-image: url('/imgs/aptware_blue.png');*/
}

.scrolled header {
    /*background-color: white;*/
    /*border-bottom: 1px solid #5f8ea3;*/
}

.nav-link {
    transition: 0.5s;
}





header .logo-text {
    position: absolute;
    bottom: 0px;
    width: 100%;
    text-align: center;
    /*font-family: MoolBoran;*/
    font-family: SakkalMajalla;
    color: #3b6c8b;
    font-size: 6rem;
    line-height: 1rem;
    opacity: 0;
    transition: 0.5s;
    transition-property: opacity,font-size;
    color: white; /* #0050a6;*/
    letter-spacing: 0.5rem;
}

    .scrolled header .logo-text {
        opacity: 1;
        font-size: 3rem;
        bottom: 20px;
        letter-spacing: 0;
    }

    .navbar-nav {
        margin: auto;
        width: auto;
    }



    #menuToggle {
        position: fixed;
        top: 10px;
        right: 10px;
    }

    #menuNav {
        top: 40px;
        z-index: 20;
        position: sticky;
        border-bottom-style: none;
    }

@media (min-width: 768px) {
    header {
        top: -260px;
    }
    .scrolled header .logo-text {
        bottom: 35px;
    }

    .scrolled .nav-link {
        color: white !important;
        /*background: rgb(0,80,166);    */
    }
}



@media (max-width: 768px) {
    #navbarNavDropdown {
        background: rgba(255, 255, 255, 0.95);
        background: linear-gradient(180deg, rgba(255,255,255,0.95) 70%, rgba(255,255,255,0.3) 100%);

        position: fixed;
        top: 0px;
        min-width: 60%;
        height: 100vh;
        color: black !important;
        padding: 1rem;
        -webkit-box-shadow: 8px 0px 19px -1px rgba(0,0,0,0.66);
        -moz-box-shadow: 8px 0px 19px -1px rgba(0,0,0,0.66);
        box-shadow: 8px 0px 19px -1px rgba(0,0,0,0.66);
    }
     
}
 

.validation-summary-errors,
.field-validation-error {
    color: red;
    font-style: italic;
}

.footer {
    background-color: black;
    color: lightgray;
    padding: 2rem 1rem;
    
}

    .section-header {
        padding: 3rem 0 1.5rem 0;
        border-bottom: 1px solid #0050a6;
        margin-bottom: 2rem;
    }

 

        .sub-header {
            padding-bottom: 0.5rem;
            color: #8a0000;
        }

.navbar-light .navbar-nav .nav-link {
    color: rgb(35, 35, 35);
}
    .dropdown-item:focus, .dropdown-item:hover,
    .navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .nav-link:hover {
        color: orangered;
    }
.dropdown-item.active {
    background-color: orangered;
    color: white;
}



#cookieConsent {
    position: fixed;
    right: 0.5em;
    bottom: 0.5em;
    background: #fff4f2;
    border: 1px solid #ffbbaf;
    border-radius: 0.5rem;
    padding: 0.2rem 0.4rem;
    font-size: .8rem;
    z-index: 100;
}

#cookieConsent a:hover {
    text-decoration: underline;
}