﻿.form-group {
    position: relative;
}

.form-control {
    height: 40px;
    border: 1px solid #d3d3d3 !important;
    border-radius: 5px !important;
    margin-bottom: 1rem;
}

textarea,
textarea.form-control,
input.form-control,
input[type=text],
input[type=password],
input[type=email],
input[type=number],
[type=text].form-control,
[type=password].form-control,
[type=email].form-control,
[type=tel].form-control,
[contenteditable].form-control {
    padding-left: 3%;
}

.form-control:focus {
    box-shadow: none;
}

label {
    position: absolute;
    left: 10px;
    top: 10px;
    transition: all .3s;
    color: #999;
    font-weight: normal;
}

.form-control:focus ~ label {
    left: 5px;
    top: -10px;
    background: #fff;
    padding: 0 5px;
    color: blue;
}

label.active {
    left: 5px;
    top: -10px;
    background: #fff;
    padding: 0 5px;
}

textarea:focus,
textarea.form-control:focus,
input.form-control:focus,
input[type=text]:focus,
input[type=password]:focus,
input[type=email]:focus,
input[type=number]:focus,
[type=text].form-control:focus,
[type=password].form-control:focus,
[type=email].form-control:focus,
[type=tel].form-control:focus,
[contenteditable].form-control:focus {
    -webkit-box-shadow: inset 0 0px 0 #2196f3 !important;
    box-shadow: inset 0 0px 0 #2196f3 !important;
}

.form-control:focus {
    border: 1.5px solid blue !important;
}

.l_form {
    justify-content: center;
    align-items: center;
}

.form_width {
    display: block;
    width: 40%;
    padding: 5rem 5rem;
    border-radius: 1rem;
    -webkit-box-shadow: 2px 4px 8px grey;
    -moz-box-shadow: 2px 4px 8px gray;
    box-shadow: 2px 4px 8px grey;
    margin-left: 6%;
    margin-top: 3%;
    margin-bottom: 3%;
    background: #fff !important;
}

.login100-form-btn {
    font-size: 16px;
    color: #fff;
    line-height: 1.2;
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
    width: 100%;
    height: 35px;
    background: #ee7522 !important;
    border-color: #ee7522 !important;
    border-radius: 3px;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
}

.head_align {
    text-align: center;
    color: #092c74;
    margin-top: 0rem;
    margin-bottom: 2rem;
}

#open {
    display: none;
}

/* style glyph */

.inner-addon .glyphicon {
    position: absolute;
    padding: 10px;
    /*pointer-events: none;*/
    margin-left: 91%;
    color: #999;
}


/* add padding  */

.left-addon input {
    padding-right: 30px;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px white inset !important;
    transition: all 5000s ease-in-out 0s !important;
}

input:-internal-autofill-selected {
    appearance: menulist-button;
    background-color: #fff !important;
    background-image: none !important;
    color: -internal-light-dark(black, white) !important;
}

.sweet-alert {
    width: 400px !important;
    left: 40% !important;
    top: 52% !important;
    margin-left: -80px !important;
    margin-top: -200px;
    overflow: hidden;
    display: none;
    z-index: 99999;
}

@media (min-width: 320px) and (max-width: 767px) {
    .form_width {
        display: block;
        width: 85%;
        padding: 4rem 4rem;
        border-radius: 1rem;
        margin-left: 13%;
        margin-top: 53%;
        margin-bottom: 20%;
    }

    .inner-addon .glyphicon {
        margin-left: 87% !important;
    }

    .sweet-alert {
        width: auto !important;
        text-align: center;
        left: 40% !important;
        top: 52% !important;
        margin-left: 0px !important;
        overflow: hidden;
        z-index: 99999;
    }

    .notifications {
        float: right;
        margin: 0px 0px 0 0 !important;
    }

    .menuheadlink {
        display: none;
    }
}

@media (min-width: 411px) and (max-width: 414px) {
    .form_width {
        display: block;
        padding: 4rem 4rem;
        border-radius: 1rem;
        margin-left: 12%;
        margin-top: 53%;
        margin-bottom: 30%;
    }

    .inner-addon .glyphicon {
        margin-left: 87% !important;
    }
}

@media (min-width: 371px) and (max-width: 400px) {
    .form_width {
        margin-left: 13%;
        margin-top: 65%;
        margin-bottom: 48%;
    }

    .inner-addon .glyphicon {
        margin-left: 87% !important;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .form_width {
        width: 60%;
        margin-left: 19%;
        margin-top: 20%;
        margin-bottom: 46%;
    }

    .inner-addon .glyphicon {
        margin-left: 91%;
    }

    .sweet-alert {
        width: 400px !important;
        padding: 17px;
        text-align: center;
        left: 22% !important;
        top: 49% !important;
        margin-left: 0px !important;
        z-index: 99999;
    }
}

@media (min-width: 1024px) and (max-width: 1200px) {
    .form_width {
        width: 60%;
        margin-left: 20%;
        margin-top: 30%;
        margin-bottom: 57%;
    }

    .sweet-alert {
        width: 400px !important;
        padding: 17px;
        text-align: center;
        left: 35% !important;
        top: 50% !important;
        margin-left: 0px !important;
        overflow: hidden;
        z-index: 99999;
    }
}

@media (min-width: 1700px) and (max-width: 2100px) {
    .form_width {
        margin-left: 7%;
        margin-top: 15.5%;
        margin-bottom: 37.5%;
    }

    .sweet-alert {
        width: 500px !important;
        padding: 17px;
        text-align: center;
        left: 37% !important;
        top: 50% !important;
        margin-left: 0px !important;
        overflow: hidden;
        z-index: 99999;
    }
}
