﻿
.sticky {
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
}


#nav-bar {
    display: none;
    /*transition: background-color 500ms linear;*/
}

.field-validation-error {
    color: #b94a48;
}

#dlg-container {
    position: fixed;
    z-index: 9000;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.5);
}

hr {
    border: none;
    height: 5px;
    color: #b2b2b2;
    background-color: #b2b2b2;
}

#dlgbox {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    width: 480px;
    z-index: 9999;
    border-radius: 10px;
    background-color: white;
    border-color: #7c7d7e;
    border-style: solid;
    border-width: thick;
}

#dlg-body{
    color:black;
    font-size:14px;
    padding: 10px;
    margin: 0px 10px 0px 10px;
}

#dlg-btn {
    text-align: center;
    padding-bottom: 20px;
}

#dlg-btn button{
    margin-left: auto;
    margin-right: auto;
    /*border-radius: 10px;
    border-style: hidden;
    background-color: green;
    color: white;*/
    padding: 5px;
}

.hamburger {
    margin-top: 5px;
    display: none;
    float: left;
    width: 40px;
    height: 35px;
    border: 0;
    border-top: 5px solid white;
    position: relative;
    background: transparent;
    transition: 0.1s transform linear;
    cursor: pointer;
}

    .hamburger::before, .hamburger::after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        border-top: 5px solid white;
        transform: translateY(10px);
    }

    .hamburger::after {
        transform: translateY(25px);
        transition: 0.3s transform linear;
    }

    .hamburger:focus {
        transform: rotate(45deg) translateY(5px);
        border: none;
    }

        .hamburger:focus::after {
            transform: rotate(-90deg) translateX(-10px);
        }

#nav-toggle {
    display: none;
}

/*MAIN NAV*/

.nav-default {
    /*background-color: rgba(110, 105, 100, 0.7);*/
    transition: background-color 500ms linear;
}

.nav-black {
    background-color: rgba(0, 0, 0, 1);
    transition: background-color 500ms linear;
}


#nav-main ul {
    margin: 0;
    padding: 0;
    position: absolute;
    width: 100%;
    height: 50px;
    z-index:100;
}

    #nav-main ul li {
        float: left;
        display: block;
        margin: 0;
        height: 100%;
        padding: 0;
        width: 200px;
        text-align: center;
    }

        #nav-main ul li:hover {
            text-decoration: none;
            border-bottom: 5px solid rgb(255,255,255);
            /*background-color: rgba(255, 255, 255, 0.3);*/
            color: black;
        }


        #nav-main ul li a {
            display: block;
            text-decoration: none;
            padding-top: 15px;
            color: white;
            font-size: 20px;
        }

/*LANG NAV*/

#nav-lang ul {
    float: right;
    margin: 0;
    padding: 0;
    position: relative;
    width: 400px;
    height: 50px;
    z-index: 101;
}

    #nav-lang ul li {
        float: right;
        display: block;
        margin: 0;
        height: 100%;
        padding: 0;
        width: 100px;
        text-align: center;
    }

        #nav-lang ul li:hover {
            text-decoration: none;
            border-bottom: 5px solid rgb(255,255,255);
            color: black;
        }

        #nav-lang ul li a {
            display: block;
            text-decoration: none;
            padding-top: 15px;
            color: white;
            font-size: 20px;
        }

#nav-main ul li a.active-page {
    color: #999999;
}


h1 {
    font-size: 40px;
    font-weight: 700;
}



body {
    margin: 0 !important;
    padding: 0 !important;
    font-family: sans-serif;
    background-color: white;/*#6e6964;*/
}

p {
    font-size: 18px;
}


.btn-center {
    width: 50%;
    margin: 0 auto;
    text-align: center;
}


/* --------------Footer styling----------------*/

footer {
    background-color: #000;
    color: white;
    text-align: center;
    padding-top: 20px;
}

#social-icons{
    margin-bottom: 20px;
}

#social-icons a{
    padding-right:15px;
}

/* --------------End of Footer styling----------------*/






@media only screen and (max-width: 1100px) {
    #nav-lang ul li {
        width: 70px;
    }

    #nav-lang ul {
        width: 150px;
    }
}

@media only screen and (max-width: 950px) {
    #nav-main ul li {
        width: 120px;
    }

    #nav-lang ul li {
        width: 70px;
    }


    p {
        font-size: 16px;
    }

    h1 {
        font-size: 36px;
    }
}

@media only screen and (max-width: 640px){
    #dlgbox {
        width: 100%;
    }
} 

@media only screen and (max-width: 600px) {
    .hamburger {
        display: block;
    }

    #nav-bar {
        display: inline-block;
        width: 100%;
        height: 50px;
        position: absolute;
    }

    .nav-bar-scrolled {
        transition: background-color 500ms linear;
        background-color: rgba(0,0,0,1);
    }

    .nav-bar-expanded {
        background-color: rgba(0,0,0,1);
    }

    #nav-main{
        margin-left: 10px;
    }

    #nav-main ul {
        display: none;
    }

    #nav-toggle:checked ~ ul {
        margin-top: 40px;
        display: block;
    }

    #nav-toggle:checked + .hamburger {
        transform: rotate(45deg) translateY(5px);
        border: none;
    }

        #nav-toggle:checked + .hamburger::after {
            transform: rotate(-90deg) translateX(-10px);
        }


    #nav-main ul li {
        width: 100%;
        background-color: rgba(0, 0, 0, 1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    }

    p {
        font-size: 16px;
    }

    h1 {
        font-size: 32px;
    }
}


