﻿*{
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

html, body{
    min-height: 100vh;
}


body {
    background-color: #3c9bc7;
    background-image: url(../images/BG.jpg);
    background-repeat: no-repeat;    
    font-family: 'Open Sans', sans-serif;
    background-size: 100%;
    font-size: 14px;
}

.container{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr ;
    justify-items: center;
    align-items: center;
    height: 100vh;
}

.login_form_wrapper > *{
    padding: 1em;
}
.login_form_wrapper{
    margin-top: 15px;
    display: grid;
    grid-template-columns: 1fr; 
    width: 95%;    
    padding: 0;
    box-shadow: 0 0 20px rgba(30, 30, 30, 0.3);
    border-radius: 10px;
}



.cover_section {  
    width: 100%;  
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    background-color: #ddd;
    background-image: url(../Images/lf_left_bg.jpg);    
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 10px 10px 0 0;
    padding: 2em;
}

img.company_logo{
    width: 150px;
}

.cover_section h2{
    color: #EF4B7E;
    margin-top: 20px;
    margin-bottom: 5px;
    font-size: 1.2em;
}


.form_section {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    background-color: #ffffff;
    border-radius: 0 0 10px 10px;    
}

.login_form{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    grid-gap: 20px;
    padding: 1em;
}

img.down_icon{    
    width: 70px;
    margin: 15px;
}



.form_group {
    position: relative;
    margin-bottom: 1.5rem;
    width: 100%;
}


.form_control{
    background-color: #ffffff;
    padding: 8px 0px 8px 30px !important;
    width: 100%;
    border-radius: 0 !important;
    box-sizing: border-box;
    border: none !important;
    border-bottom: 1px solid #F3E5F5 !important;
    font-size: 14px !important;
    color: #333 !important;
    font-weight: 400;
    font-family: 'Open Sans', sans-serif;
}

.form_control:focus {
    -moz-box-shadow: none !important;
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    border-bottom: 1px solid #D32F2F !important;
    outline-width: 0;
    font-weight: 400;
}


.form_control_icon{
    position: absolute;
    top: 1em;
    left: 5px;
}

.form_control_placeholder_label{
    position: absolute;
    top: 0;
    left: 30px;
    padding: 7px 0 0 0;
    transition: all 300ms;
    opacity: 0.5;
}

/*.form_control:focus+.form_control_placeholder_label,
.form_control:valid+.form_control_placeholder_label {
    font-size: 80%;
    transform: translate3d(0, -100%, 0);
    opacity: 1;
    color: #00A5E6;
}*/

.down_button {
    color: #fff;
    font-size: 1.1em;
    font-weight: 500;
    letter-spacing: 1.1px;
    padding: 10px 40px;
    background-color: #EF4B7E;
    border: none;
    border-radius: 10px;
    outline: none;
}

.down_button:hover{
    color: #fff;
    background-color: #00AEEF;
    border: none;
    cursor: pointer;
    transition: background-color 700ms ease-out;
}


footer h4 {
    margin-top: 20px;
    text-align: center;
    color: #fff;
    font-size: 0.9em;
    font-weight: normal;
}
#copyButton { 
    padding: 8px;
    cursor: pointer;
    border-radius: 5px;
    text-align: center;
    z-index: 9999;
    position: relative;
    height: 35px;
    width: 32px;
    padding-top: 9px;
}
    #copyButton[data-tooltip]:after {
        content: attr(data-tooltip);
        position: absolute;
        top: -10px;
        background-color: #333;
        color: #fff;
        padding: 5px;
        border-radius: 5px;
        font-size: 13.5px;
        opacity: 0;
        font-family: arial;
        transition: opacity 0.3s;
        pointer-events: none;
    }

    #copyButton:hover[data-tooltip]:after, #copyButton[data-tooltip].show-tooltip:after {
        opacity: 1;
    }

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
}


.spinner {
    width: 130px;
    height: 130px;
    border: 11px solid #f3f3f3;
    border-top: 11px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    top: 300px;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


/* Large Screen */
@media (min-width: 700px) {

    .container{
        height: 100vh;
        display: grid;        
        grid-template-rows:  1fr auto;        
        align-items: center;
        justify-content: center;

    }    

    .login_form_wrapper{
        display: grid;
        grid-template-columns: 1fr 2fr;       
        width: 95%;
        max-width: 1100px;
        margin-top: 20px;
    }

    .cover_section {
        display: grid;
        grid-template-columns: 1fr;
        padding-top: 100px;
        background-repeat: no-repeat;
        border-radius: 10px 0 0 10px;
    }

    img.company_logo{
        width: 181px;
    }
    .cover_section h2{ 
        font-size: 1.3em;
        font-weight: 700;
    }

    .form_section{
        /*padding-top: 50px;*/
        border-radius: 0 10px 10px 0;

    }
    .down_button{
        font-size: 1em;
        font-weight: normal;
        letter-spacing: 1.1px;
        padding: 10px 40px;
        margin-bottom: 20px;

    }

    footer{
        margin-bottom: 2em;;
    }

}

.icon {
    color: #bbbbbb;
    margin-top: 15px;
}



.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.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
}

/* The Close Button */
.close {
    color: #aaaaaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

    .close:hover,
    .close:focus {
        color: #000;
        text-decoration: none;
        cursor: pointer;
    }



/*#LblConfirmationMsg {
    color: Green;
    position: absolute;
    top: 3.5rem;
    background: #d5ffd5;
    padding: 10px;
    font-weight: bold;
}*/
.spinner {
    width: 50px;
    height: 50px;
    border: 6px solid #f3f3f3; /* Light gray */
    border-top: 6px solid #3498db; /* Blue */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}