/* General */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: local('Montserrat Regular'), local('Montserrat-Regular'), url(https://fonts.gstatic.com/s/montserrat/v14/JTUSjIg1_i6t8kCHKm459WlhyyTh89Y.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
font-family: 'Montserrat';
font-style: normal;
font-weight: 700;
src: local('Montserrat Bold'), local('Montserrat-Bold'), url(https://fonts.gstatic.com/s/montserrat/v14/JTURjIg1_i6t8kCHKm45_dJE3gnD_vx3rCs.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

* { font-family: 'Montserrat', sans-serif; }

/* Theme */
body { font-size: 12px; }

p { font-size: 14px; }

.bg-login {
    background: #FFF url('../img/bg.jpg') no-repeat center;
    background-size: cover;
    background-attachment: fixed;
    width: 100%;
    height: 100vh;
}

.logo {
    display: flex;
    margin: auto;
    width: 280px;
    margin-bottom: 40px;
}

/* Fonts */
.font-xs { font-size: 12px !important; }
.font-md { font-size: 14px !important; }
.font-lg { font-size: 16px !important; }

.title {
    color: white;
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 700;
    margin: 2px 0 0 30px;
    line-height: normal;
    display: flex;
}

.title.is-centered {
    margin: 2px auto 0;
}

/* Forms */
.form-control {
    height: auto;
}

.captcha {
    margin: 15px auto;
    display: block;
    text-align: center;
}

/* Buttons */
.btn,
.form-control {
    transition: all 200ms ease-out;
    padding: 12px !important;
} 

.btn-success {
    background-color: var(--success) !important;
    border: none !important;
}

.back-button {
    display: flex;
    width: 24px;
}

/* Pages */
.header {
    padding: 20px;
    display: flex;
}

.main-wrapper {
    padding: 20px;
    display: flex;
    flex-direction: column;
    max-width: 420px;
    margin: auto;
}

.details-wrapper {
    background-color: rgba(0,0,0,.45);
    padding: 20px;
}

.details-wrapper p {
    color: white;
    margin: 0;
    font-size: 14px;
}

/* Avatar */

.user-avatar {
    width:131px;
    height:131px; 
    border: 2px solid #fff;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .125);
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.user-avatar-records {
    width:150px;
    height:150px; 
    border: 2px solid #fff;
    border-radius: 4px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .125);
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


/* Modal */

.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.7); /* Black w/ opacity */
}

.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: none;
    max-width: 420px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    animation-name: animatetop;
    animation-duration: 0.4s;
    border-radius: 1em;
}

.close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.modal-header {
    padding: 20px;
    background-color: var(--success);
    color: white;
    border-radius: 1em 1em 0 0;
}

.modal-header1 {
    padding: 20px;
    background-color: var(--danger);
    color: white;
    border-radius: 1em 1em 0 0;
}

.modal-header2 {
    padding: 20px;
    background-color: var(--warning);
    color: white;
    border-radius: 1em 1em 0 0;
}

.modal-body {
    padding: 10px;
    text-align: center;
}

.modal-footer {
    position: relative;
    margin: auto;
    padding: 10px;
    width: 100%;
    background-color: #f8f8f8;
    color: #4a4a4a;
    border-radius: 0 0 1em 1em;
}

.modal-footer > * {
    display: block;
    margin: auto;
    text-align: center;
    font-weight: 700;
}

.text-black {
    color:#000;
}

/* Animations */
@-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
}

@keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
}


/* 
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
RESPONSIVE
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
*/
@media (max-width: 780px) {
    .main-wrapper {
        padding: 0;
        max-width: 100%;
        width: 100%;
    }
}