
@font-face {
    font-family: 'Montserrat Medium';
    src: url('fonts/Montserrat/static/Montserrat-Medium.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}



header {
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: center;
    padding: 40px 40px;
    width: 100%;
    background-color: #f2f2f2;
    position: relative;
    font-family: "Montserrat Medium";
}

.logo {
    flex: 1;
    max-width: 200px;
}

.logo img {
    width: 100%;
    max-width: 373px;
    height: auto;
    transition: width 0.3s ease;
}
.role-changer-user {
	position: relative;
	width: 130px;
}
.role-changer-user select {
	padding: 10px 15px;
    display: block;
    width: 100%;
    border: 0;
    background: #fff;
    border-radius: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 15px;
    color: #727272;
}
.role-changer-user:after {
    content: ">";
    font-family: Arial;
    color: #999999;
    -webkit-transform: rotate(90deg) scaleY(1.7);
    transform: rotate(90deg) scaleY(1.7);
    display: block;
    position: absolute;
    background: #fff;
    width: 30px;
    line-height: 28px;
    text-align: center;
    height: 24px;
    right: 6px;
    top: 7px;
    pointer-events: none;
}
.role-changer-user select:focus {
    outline: none;
}

nav ul {
    display: flex;
    list-style-type: none;
    transition: max-height 0.3s ease;
    align-items: center;
	margin-bottom: 0;
}

nav ul li {
    margin: 0 30px;
    transition: background-color 0.3s, color 0.3s;
    padding: 15px 20px;
    border-radius: 5px;
}
nav ul li.active,
nav ul li:hover {
    background-color: #ffffff;
}

span {
    color: #d80c0c;
}

nav ul li a {
    text-decoration: none;
    color: #000;
    font-size: 20px;

}


nav ul li:hover a {
    color: #000;
}

.photo {
    width: 84px;
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ccc;
}

#close-btn {
    background-color: transparent;
    font-size: 18px;
    cursor: pointer;
    color: #d80c0c;
}


.menu-toggle {
    display: none;
    font-size: 30px;
    cursor: pointer;
}

header.containerlogin {
    display: block;
    padding: 20px;
    width: 200px;
    height: auto;
    margin-top: 60px;
    margin-bottom: 40px;
	background: transparent;
}
header.containerlogin:hover {
    background-color: transparent;
}
body.mainlogin {
    background: #FAFAFA;
}
.resetpsw > .col-md-6 {
	width: 600px;
    max-width: 100%;
}
.wrapper-form-reset,
.mainlogin .form-login {
    width: 550px;
    max-width: 100%;
}
.container.container-homelogin {
	height: auto;
    background-image: none;
}

@media (max-width: 1024px) {
    .logo img {
        width: 200px;
    }
}


@media (max-width: 480px) {
    .logo img {
        width: 150px;
    }
}
@media (max-width: 1024px) {
    header{
        width: 100%;
        height: auto;
    }
     header nav ul {
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #ffffff;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    nav ul li {
        margin: 10px 0;
        text-align: center;
    }

    .menu-toggle {
        display: block;
    }
}

/* When the menu is active */
nav ul.active {
    max-height: 300px;
    z-index: 99;
}
