/* ----------  FONTS ---------- */   

@import url('https://fonts.googleapis.com/css?family=Montserrat:300,400,500,600,700');

/* ------------------------------ GLOBAL ------------------------------ */  

* {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;    
}

html { 
    background-color: #f0f0f0;
    font-family: 'Montserrat', sans-serif;
    background-image: linear-gradient(to bottom right,#d0e8ff, #2a455e);
    /* background: url('https://form-tpf.co.uk/dashboard/images/backgrounds/triangles.jpg') center center / cover no-repeat fixed; */
    /* background: url('https://form-tpf.co.uk/dashboard/images/backgrounds/colour_waves.jpg') center center / cover no-repeat fixed; */
    /* background: url('https://form-tpf.co.uk/dashboard/images/backgrounds/pale_blue_ribbons.jpg') center center / cover no-repeat fixed; */
    /* background: url('https://form-tpf.co.uk/dashboard/images/backgrounds/brown_waves.jpg') center center / cover no-repeat fixed; */
    /* background: url('https://form-tpf.co.uk/dashboard/images/backgrounds/colour_data.jpg') center center / cover no-repeat fixed; */
    /* background: url('https://form-tpf.co.uk/dashboard/images/backgrounds/technology_data_1.jpg') center center / cover no-repeat fixed; */
    /* background: url('https://form-tpf.co.uk/dashboard/images/backgrounds/technology_data_2.jpg') center center / cover no-repeat fixed; */
    font-weight: 400;
} 

.page_container { 
    display: grid;
    height: calc(100vh - 15px);
    /* background-image: linear-gradient( rgb(139 0 0 / 85%), rgb(45 0 0 / 85%)),url("../../images/slider_images/index_01.jpg"); */
    background-position: center; 
    background-repeat: no-repeat; 
    background-size: cover; 
}

/* ------------------------------ LOGIN DIALOG ------------------------------ */

.login_dialog {
    display: grid;
    justify-content: center;
    align-content: center;
    z-index: 1;    
}

.login_logo {
    padding: 0 0 10px 0;
    margin: 0 auto;
    text-align: center;
}

.login_logo img { width: 240px;}

.login_title { 
    font-family: 'Montserrat', sans-serif;
    line-height: 100%;
    margin: 0 0 30px 0;
    font-size: 27px;        
    font-weight: 500; 
    color: #2a455e; 
    text-align: center; 
}

#error_msg { 
    display: none;
    position: absolute;
    width: 340px;
    background: #ffeeed;
        border-style: solid;
        border-width: 1px; 
        border-color: #F44336;
        border-radius: 25px;
        box-shadow: 2px 2px 10px #00000040;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500; 
    text-align: center;
    color: #F44336;  
    margin-top: -56px;
    margin-left: -25px;
    /* margin-bottom: 6px; */
    padding: 11px;
}

.login_options { 
    font-family: 'Montserrat', sans-serif;
    font-size: 11.5px;
    font-weight: 400; 
    line-height: 150%;
}

/* ------------------------------ LOGIN ------------------------------ */

    /* ----.login_form ---- */

    .login_form fieldset {
        width: 390px;
        border-style: solid;
        border-color: #ffffff7d;
        border-width: 1px 0 0 1px;
        border-radius: 15px;
        padding: 35px 50px 35px 50px;
        margin: 0 auto;
        overflow: auto;
        background: #ffffff91; 
        backdrop-filter: blur(15px) saturate(140%);
        -webkit-backdrop-filter: blur(15px) saturate(140%);
        box-shadow: 0 8px 32px 0 #1f26874d;
    }

    .login_form input:focus,
    .login_form button:focus{
        outline: none !important;
        border:1px solid #2a455e;
    }

    .login_form label {
        display: block;
        font-family: 'Montserrat', sans-serif;
        color: #2a455e; 
        font-size: 14px;
        font-weight: 500; 
        line-height: 150%;
        text-align: left; 
        margin: 8px 0 -5px 13px;
    }

    .login_form input {    
        width: 100%;
        background: #ffffff; 
        font-family: 'Montserrat', sans-serif;
        font-size: 15px;
        color: #2a455e;
        border-style: solid;
        border-width: 0 0 3px 0; 
        border-color: #ffffff;  
        padding: 15px 10px 10px 15px;
        margin: 9px 0 6px 0;
        border-radius: 25px;
    }

    .login_form input:focus {
        border-style: solid;
        border-width: 0 0 3px 0; 
        border-color: #2a455e !important;  
        background-color: #ffffff;
        margin: 9px 0 6px 0;
    }

    /* Change text in autofill textbox */
    input:-webkit-autofill {
        -webkit-text-fill-color: #2a455e !important;
        -webkit-box-shadow: 0 0 0 30px #ffffff inset !important;
        box-shadow: 0 0 0 30px #ffffff inset !important;
    }

    input:-webkit-autofill::first-line {
        font-family: 'Montserrat', sans-serif;
        font-size: 15px;
    }

    .login_button {   
        display: block;     
        margin: 33px auto 0 auto;
        -webkit-transition: all .2s ease-in;
           -moz-transition: all .2s ease-in;
            -ms-transition: all .2s ease-in;
             -o-transition: all .2s ease-in;
                transition: all .2s ease-in;
    }

    .login_form button {
        cursor: pointer;
        width: 290px;
        background-color: #2a455e;
        border-radius: 4px;
        font-family: 'Montserrat', sans-serif;
        font-weight: 500;
        font-size: 15px; 
        color: #ffffff;
        padding: 10px 14px 10px 14px;
        border:1px solid #2a455e;
    }

    .login_form button:hover {
        background: #ffffff;
        border:1px solid #2a455e;
        color: #2a455e;  
    }

/* ---------------------------------------- RESOLUTION < 525px ---------------------------------------- */

@media screen and (max-width: 525px) {
    
    .login_form fieldset {
        width: 320px;
        padding: 30px 30px 30px 30px;
    }

    .login_logo {
        padding: 0 0 10px 0;
        margin: 0 auto;
        text-align: center;
    }
    
    .login_logo img { width: 200px; }
    
    .login_title { 
        font-family: 'Montserrat', sans-serif;
        line-height: 90%;
        margin: 5px 0 0 0;
        font-size: 18px;        
    }

    .login_button {   
        margin: 20px auto 0 auto;
    }
}

/* this will only apply to Webkit browsers like Chrome */
@media screen and (-webkit-min-device-pixel-ratio:0) {

    input[type="password"] {
       -webkit-text-stroke-width: 2px;
       -webkit-text-stroke-color: #2a455e;
       letter-spacing: 4px;
    }

}
