/* Google Fonts Link */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto", sans-serif;
}

body {
    display: block;
    width: 100%;
    padding: 0 10px;
    background: #353B44;
    margin-top: 40px;
}

/********** Reseller Login ******************/
/* body.loaded.resellerView {
    background: #BAC2CD;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.resellerView .loginText {
    margin: 22px;
}

.resellerView .header-reseller {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 55px;
}

body.resellerView .login-form {
    background: #BAC1CB;
    border-radius: 25px;
    box-shadow: none;
    padding: 0%;
    display: inline-block;
    width: 280px;
}


.resellerView form .input-box input {
    height: 50px;
    background-color: #444444;
    margin-bottom: 0%;
    color: #fff;
    font-size: 13px;
}

.resellerView form .input-box {
    margin: auto;
    position: relative;
}

.resellerView form .input-box input::placeholder {
    font-size: 13px;
    font-weight: 300;
    color: #d8d8d8;
}


.resellerView form .input-box.username:after {
    content: url('/img/login/username.png');
    position: absolute;
    left: 10px;
    top: 14px;
}

.resellerView form .input-box.password:after {
    content: url('/img/login/password.png');
    position: absolute;
    left: 10px;
    top: 14px;
}

.resellerView form button {
    background: #fafaf9;
    color: #717070;
    margin-top: 15px;
    height: 42px;
    box-shadow: inset 0 0px 1px 1px #333;
}

.resellerView #loginForm input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #444 inset;
    -webkit-text-fill-color: #808080 !important;
}

.resellerView a {
    color: #3a3a3a;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
}

.resellerView .resetText {
    margin-top: 28px;
}

.resellerView .resetText.left {
    float: left;
}

.resellerView .resetText.right {
    float: right;
}

.resellerView .resetPass .button {
    color: #444;
    background-color: #fafaf9;
}

.resellerView .arrow_box.show {
    width: 280px;
    display: block;
}

.resellerView #maintenanceNotice .demo-message {
    color: #3a3a3a;
}

.resellerView .arrow_box {
    display: none;
    position: relative; 
    border: 1px solid #913d04;
    width: 280px;
    text-shadow:0px 0px 9px #f7b387; 
    margin: auto auto 20px auto;
    padding: 9px; color: #6a2a00;
    font-size: 13px;
    font-weight: bold;
    background-color: #ffad00;
    border-radius: 7px;
}
.resellerView .arrow_box.show {
    display: block;
}

.resellerView .arrow_box:after, .arrow_box:before { top: 100%; border: solid transparent; content: " "; height: 0; width: 0; position: absolute; pointer-events: none; } 
.resellerView .arrow_box:after { border-color: rgba(136, 183, 213, 0); border-top-color: #ffad00; border-width: 8px; left: 50%; margin-left: -8px; } 
.resellerView .arrow_box:before { border-color: rgba(194, 225, 245, 0); border-top-color: #291200; border-width: 9px; left: 50%; margin-left: -9px; }
*/

/**************************************/
.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: 8px;
}

.flexispy-logo {
    display: flex;
    width: auto;
    justify-content: center;
    align-items: center;
}

.flexispy-logo img {
    width: 209px;
}

.header {
    color: #fff;
    max-width: 550px;
    padding-top: 3rem;
    text-align: center;
    display: flex;
    justify-content: center;
}

.header p {
    font-size: 1rem;
    font-weight: 400;
    line-height: 22px;
    padding-bottom: 20px;

}

.header span::after {
    overflow-wrap: break-word;
    text-align: center;
}

.login-form {
    position: relative;
    width: 100%;
    max-width: 534px;
    background: #BAC1CB;
    border-radius: 25px;
    padding: 28px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.login-form h3 {
    font-size: 1rem;
    font-weight: 400;
    text-align: center;
    padding-bottom: 25px;
}

.login-option {
    display: flex;
    width: auto;
    justify-content: center;
    align-items: center;
    column-gap: 12px;
}

.login-option .option {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.login-option .option a {
    background: #353B44;
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: 0.2s ease;
}

.login-option .option a img {
    max-width: 250px;
    
}

.login-form p {
    text-align: center;
    font-weight: 500;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #fff;
    margin: 1em 0;
    padding: 0;
}

form .input-box label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
}

form .input-box input {
    width: 100%;
    height: 57px;
    border: 1px solid #DADAF2;
    border-radius: 10px;
    outline: none;
    background: #F8F8FB;
    font-size: 18px;
    padding: 0px 20px;
    padding-left: 50px;
    margin-bottom: 10px;
    transition: 0.2s ease;
}


form .input-box {
    margin: auto;
    position: relative;
}

form .input-box input::placeholder {
    font-size: 18px;
    font-weight: 300;
    color: #353B44;
    ;
}

form .input-box.username:after {
    content: url('/img/login/icon-username.svg');
    position: absolute;
    left: 10px;
    top: 18px;
}

form .input-box.password:after {
    content: url('/img/login/icon-password.svg');
    position: absolute;
    left: 10px;
    top: 18px;
}

a {
    text-decoration: none;
    color: #0091B6;
    font-weight: 500;
}

.input-box .forgot-btn {
    text-align: end;
    margin-bottom: 16px;
    font-size: 14px;
    font-weight: 500;
}

form button {
    width: 100%;
    height: 56px;
    border-radius: 10px;
    border: none;
    outline: none;
    background: #E67E22;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: 0.3s ease;
}

.hr-text {
    border: 0;
    line-height: 1em;
    position: relative;
    text-align: center;
    height: 1.5em;
    width: 530px;
    font-size: 18px;
    margin: 30px 15px 40px;
}

.hr-text::before {
    content: "";
    background: linear-gradient(to right, #81858F, #81858F, #81858F);
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
}

.hr-text::after {
    content: attr(data-content);
    position: relative;
    padding: 0 30px;
    line-height: 1.5em;
    color: #81858F;
    background-color: #353B44;
}

.contact-support {
    padding: 40px;
    text-align: center;
}

.contact-support a {
    font-size: 18px;
    font-weight: 300;
    color: #fff;
}

/* Old Login css */

.arrow_box {
    display: none;
    position: relative;
    margin: 20px auto;
    padding: 9px;
    color: #fff;
    font-size: 14px;
    font-weight: normal;
    background-color: #733c0d;
    border-radius: 7px;
    text-align: center;
}

.arrow_box.show {
    display: block;
}

/** Cookie Fail Message */
.fail-msg {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    padding: 1em 1em 1.5em;
    color: #dfdede;
    border-bottom: 1px solid #555;
    box-shadow: 1px 0 10px #333;
    font-size: .9em;
    line-height: 1.4;
}


.fail-msg ul {
    list-style: none;
    margin-left: 0;
}

.fail-msg li {
    position: relative;
    padding-left: 1.2em;
}

.fail-msg li:before {
    content: '\2192';
    color: #F77825;
    position: absolute;
    left: -5px;
}


/* Reset Password Box */
.resetPass {
    background: #EFEFEF url(/img/loading.gif) center center no-repeat;
    float: left;
    width: 400px;
    padding: 20px;
    border-radius: 7px;
}

.resetPass h2 {
    font-size: 24px;
    text-align: center;
    cursor: default;
    border-bottom: 1px solid #CCCCCC;
    padding: 2px 0 10px 20px;
    background: url(/img/password-2.png) no-repeat 0 top;
}

.resetPass h2.green {
    color: #18A10C;
    background: url("/img/bouncing/success-3.png") no-repeat left top;
    font-size: 20px;
    text-align: left;
    padding-left: 55px
}

.resetPass h2.red {
    color: #F52B2B;
    background: url("/img/bouncing/error-3.png") no-repeat left top;
    padding-bottom: 15px;
    padding-top: 5px
}

.resetPass .input {
    width: auto;
    clear: both;
    padding: 20px 0;
    text-align: center;
    color: #444;
    border-radius: 7px;
}

.resetPass .input input[type=text] {
    color: #666;
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    font-size: 13px;
    height: 40px;
    width: 280px;
    background-color: #FFF;
    border-radius: 4px;
    border: 1px solid #626161;
    text-align: center;
}

.resetPass .button {
    font-weight: 500;
    margin: 0 auto 5px;
    box-shadow: none;
    display: inline-block;
    width: 40%;
    text-align: center;
    line-height: 45px;
    height: 45px;
    font-size: 18px;
    border-radius: 7px;
    background: #E67E22;
    color: #fff;
}

.resetPass .button.cancel {
    margin-left: 30px;
    margin-right: 4px
}

.resetPass label {
    margin: 0 0 5px 0;
    display: block;
}

.resetPass .success .button {
    width: 50%;
    display: block;
}

.resetPass .box {
    display: none;
    /* IE10 Consumer Preview */
    background-image: -ms-radial-gradient(center, circle closest-side, #FFFFFF 0%, #EFEFEF 100%);
    /* Mozilla Firefox */
    background-image: -moz-radial-gradient(center, circle closest-side, #FFFFFF 0%, #EFEFEF 100%);
    /* Opera */
    background-image: -o-radial-gradient(center, circle closest-side, #FFFFFF 0%, #EFEFEF 100%);
    /* Webkit (Safari/Chrome 10) */
    background-image: -webkit-gradient(radial, center center, 0, center center, 140, color-stop(0, #FFFFFF), color-stop(1, #EFEFEF));
    /* Webkit (Chrome 11+) */
    background-image: -webkit-radial-gradient(center, circle closest-side, #FFFFFF 0%, #EFEFEF 100%);
    /* W3C Markup, IE10 Release Preview */
    background-image: radial-gradient(circle closest-side at center, #FFFFFF 0%, #EFEFEF 100%);
}

.resetPass .box p {
    margin: 15px 0 40px;
    text-align: center;
    font-size: 14px
}

.resetPass .box.current {
    display: block;
}

.resetPass .box.error p {
    margin: 20px 0 0;
    text-align: center;
}

.resetPass .loading {
    position: absolute;
    top: 100px;
    left: 46%;
    background: url(/img/loading.gif);
    width: 32px;
    height: 32px;
    display: none;
}

.resetPass .box.current .input input[type=text].warning {
    border: 1px solid red
}

.resetPass .current .warningText {
    font-size: 12px;
    margin: 0 0 0 0;
    font-style: italic;
    color: #D60003;
    position: absolute;
    left: 60px;
}

/** 2-factore -authentication **/

.loginPage .modal.two-factor-auth .controls {
    text-align: right;
}

.loginPage .modal.two-factor-auth .error {
    color: red;
}

.loginPage .modal.two-factor-auth input {
    background-color: #FFF;
    border-bottom: 1px solid #000;
    border-radius: 4px 4px 0 0;
    height: 40px;
    width: 100%;
    padding-left: 5px;
    padding-right: 5px;
    font-size: 1.5em;
}

.loginPage .modal.two-factor-auth h2 {
    font-size: 24px;
    text-align: center;
    cursor: default;
    border-bottom: 1px solid #CCCCCC;
    margin-bottom: 1em;
}

/* Maintainance Page CSS */

#maintenanceNotice {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#maintenanceNotice .demo-message {
    color: #fff;
}

#maintenanceNotice .demo-message a {
    color: #0091B6;
    text-decoration: none;
    text-shadow: 0px 0px 1px #9b9a9a;
    font-family: "Arial", "Helvetica", sans-serif !important;
    font-size: 1em !important;
}

#maintenanceNotice .demo-message .title {
    padding-top: 1rem;
}

#maintenanceNotice .demo-message .title img {
    margin-right: 10px;
}

@media (max-width: 375px) {
    .main-container {
        margin: 0px !important;
    }

    .login-option {
        display: unset;
    }

    .login-option .option {
        margin: 8px;
    }

    #username~.input-username-icon {
        top: 128px;
        background-size: 90%;
    }

    #password~.input-password-icon {
        top: 228px;
        background-size: 90%;
    }

    .resetPass {
        width: 360px;
    }
}
@media (max-width: 350px) {
    .resetPass {
        width: 320px;
    }
    .resetPass h2 {
        font-size: 22px;
    }
}
@media (max-width: 490px) {

    .flexispy-logo img {
        width: 158px;
    }

    .login-option .option a img {
        max-width: 189px;
    }

    .hr-text {
        width: 90%;
        margin: 15px 20px 30px !important;
    }

    .arrow_box {
        width: 90%;
    }

    body.resellerView .login-form {
        width: 85%;
        margin-bottom: 220px;
    }
    
    .two-factor-auth .auth-message {
        white-space: pre-wrap !important;
    }

    .main-container {
        align-items: normal !important;
    }
}

@media (max-width: 600px) {
    #maintenanceNotice .demo-message .centered {
        left: 40%;
    }

    #maintenanceNotice .demo-message .title {
        display: block;
        float: inherit;
    }
}

@media (max-width: 1024px) {
    .header {
        padding-top: 1rem;
    }

    #maintenanceNotice {
        padding-top: 1rem;
    }
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (max-width : 350px) {
    .resetPass {
        width: 320px !important;
    }
    .resetPass h2 {
        font-size: 22px;
    }
}
