﻿@font-face {
    font-family: 'Montserrat';
    font-weight: 400;
    font-style: normal;
    font-display: swap; /* Read next point */
    src: local('Montserrat-Regular'), url('../lib/Fonts/Montserrat-Regular.woff') format('woff');
}

* {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', Helvetica, Arial, sans-serif ;
}

:root {
    --main-bg-color: #0078D8;
    --main-txt-color: #fff;
}

html {
    line-height: 1.75em;
    font-weight: 400;
    background-color: #364248;
}

.myPorterLogo {
    height: 95%;
}

:-webkit-autofil {
    font-family: 'Montserrat', Helvetica, Arial, sans-serif;
}

.container {
    background-color: white;
    width: 500px;
    margin: -30% auto 0px auto;
    border-radius: 10px;
    box-shadow: 8px 8px 65px black;
    overflow: hidden;
}


.ajaxMessage {
    position: fixed;
    z-index: 999;
    left: 0;
    right: 0;
    margin: 0 auto;
    width: max-content;
    color: white;
    padding: 10px;
    text-align: center;
    top: -10%;
    animation-name: errorMessage;
    animation-duration: 5s;
    animation-iteration-count: 1;
}

@keyframes errorMessage {

    15% {
        top: 1%;
    }

    75% {
        top: 1%;
    }

    100% {
        top: -10%;
    }
}

input {
    background-color: lightgray;
    color: black;
    padding: 10px;
    width: 100%;
    font-size: 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    border: 2px solid lightgray;
}
    input:first-child {
        margin-bottom: 10px;
    }


    /*input[type="password"] {
        font: x-large Verdana,sans-serif;
    }*/

.formWelcomeMsg {
    width: 100%;
    height: 71px;
    background-color: var(--main-bg-color);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.formBody {
    padding: 20px 25px;
    background-color: white;
}

.formFooter {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 25px;
    padding-bottom: 20px;
    background-color: white;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

button {
    color: white;
    border: none;
    background-color: var(--main-bg-color);
    padding: 10px;
    border-radius: 10px;
    font-size: 18px;
}

    button:hover {
        cursor: pointer;
        opacity: 0.9;
    }
    button:focus{
        outline:none;
    }

h1 {
    font-weight: 100;
}

input:focus {
    transition-duration: 0.5s;
    border: 2px solid #364248;
    outline: none;
    border-left: none;
}

::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #364248;
    opacity: 1; /* Firefox */  
    font-family: 'Montserrat', Helvetica, Arial, sans-serif !important;
    font-size: 20px;
}

:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #364248; 
    font-family: 'Montserrat', Helvetica, Arial, sans-serif !important;
    font-size: 20px;
}

::-ms-input-placeholder { /* Microsoft Edge */
    color: #364248; 
    font-family: 'Montserrat', Helvetica, Arial, sans-serif !important;
    font-size: 20px !important;
}

.loading {
    position: absolute;
    top: 25%;
    left: 48%;
    display: none;
}

.loadingContainer {
    width: 100%;
}

.loading-bar {
    display: inline-block;
    width: 10px;
    height: 38px;
    border-radius: 4px;
    animation: loading 1s ease-in-out infinite;
}

    .loading-bar:nth-child(1) {
        background-color: #009DDF;
        animation-delay: 0;
    }

    .loading-bar:nth-child(2) {
        background-color: #009DDF;
        animation-delay: 0.09s;
    }

    .loading-bar:nth-child(3) {
        background-color: #009DDF;
        animation-delay: .18s;
    }

    .loading-bar:nth-child(4) {
        background-color: #009DDF;
        animation-delay: .27s;
    }

@keyframes loading {
    0% {
        transform: scale(1);
    }

    30% {
        transform: scale(1, 2.2);
    }

    60% {
        transform: scale(1);
    }
}

.userDetails {
    display: flex;
    background-color: lightgrey;
    position: relative;
}

    .userDetails:first-child {
        margin-bottom: 10px;
    }

.icon {
    background-color: var(--main-bg-color);
    padding: 15px;
    font-size: 25px;
    color: white;
}

@media only screen and (max-width: 545px) {
    .container {
        width: 90%;
    }
}


.modal {
    display: none;
    position: fixed;
    padding-top: 3%;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.4);
    z-index: 50;
}

.modal-content {
    position: relative;
    background-color: #F6F6F6;
    margin: auto;
    padding: 0;
    width: 65%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    height: 80%;
}

.modal-header {
    padding: 15px 16px;
    background-color: var(--main-bg-color);
    color: white;
    display: flex;
    justify-content: space-between;
}

.modal-body {
    padding: 20px;
    height: calc(100% - 58px);
    box-sizing: border-box;
}

.msgContainer {
    display: flex;
    flex-direction: row;
    text-align: left;
    justify-content: center;
    flex-wrap: wrap;
    height: 100%;
    overflow-y: auto;
    background-color: white;
    box-sizing: border-box;
}

    .msgContainer > div {
        margin: 10px;
    }

.infoBtns {
    margin: 10px 0;
    padding-bottom: 10px;
    width: 100%;
    display: flex;
    justify-content: flex-end;
}

    .infoBtns button {
        margin-right: 5px;
    }

#togglePassword {
    color: grey;
    cursor: pointer;
    position: absolute;
    right: 25px;
    margin-top: 18px;
}

input::-ms-reveal,
input::-ms-clear {
    display: none;
}