body {

    margin: 0;
    overflow: hidden;
}

#container {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    text-align: center;
    font-family: "Roboto", serif;
    font-size: 13px;
    overflow: auto;
    color: #eef3f5;
}

#logo.logo-3mx {
    background-color: transparent;
    background-image: url('3mx.png');
    background-size: 100px 30px;
}

#logo {
    background: #7C7C7C url('logo2.png') no-repeat 86% 50%;
    height: 110px;
    margin-bottom: 35px;
    z-index: 100;
    background-size: contain;
    position: absolute;
    left: 0px;
    right: 0px;
    top: 0px;
}

.hidden {
    display: none;
}

.fl {
    float: left;
    padding-left: 5px;
}

.fr {
    float: right;
    padding-right: 5px;
}

.txt_btn {
    color: #0083C0;
    cursor: pointer;
    text-decoration: none;

    transition-timing-function: linear;
    transition-duration: .3s;
}

.txt_btn:hover {
    text-decoration: underline;
}

.line {
    height: 25px;
}

.title {
    position: absolute;
    top: 20px;
    z-index: 101;
    font-size: 20px;
    font-weight: 500;
    color: #000;
    height: 70px;
    line-height: 70px;
    left: 60px;
}

#form_helper {
    display: inline-block;
    vertical-align: middle;
    height: 100%;
    width: 0px;
}

#form {
    display: inline-block;
    margin: 1% auto;
    vertical-align: middle;
    position: relative;
    background: #F7F7F7;
    max-width: 600px;
    width: 80vw;
    box-sizing: border-box;
    padding: 90px 60px 35px 60px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    overflow: hidden;
    text-align: left;
}

#form table {
    text-align: left;
    line-height: 13px;
    color: #999;
    margin: 0;
    margin-top: 12px;
}

#form table td {
    vertical-align: top;
}

#form table td input {
    margin: 0 5px;
}

#form input[type="text"], #form input[type="password"], #form input[type="submit"] {
    height: 64px;
    font-size: 16px;
    font-family: arial;
    font-family: 'Ubuntu', sans-serif;
    width: 100%;
    display: block;
    position: relative;
    padding: 0 8px 0 25px;
    margin: 0;
    background: #FFF no-repeat 5px 50%;
    border: 1px solid #A7A9AC;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    color: #A7A9AC;
    margin-top: 20px;
    box-sizing: border-box;
    transition-timing-function: linear;
    transition-duration: .3s;
    transition-property: text-align, background, direction, padding;
    -webkit-appearance: none;
}

#form input[type="text"]:hover, #form input[type="password"]:hover {
    border: 1px solid #B9B9B9;
}

#form input[type="text"]:focus, #form input[type="password"]:focus {
    outline: none;
    border: 1px solid #4D90FE;
    z-index: 1;
}

#form input[type="submit"] {
    border: none;
    padding: 5px 35px;
    color: #FFF;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    cursor: pointer;
    outline: none;
    background: #000;
    margin-top: 30px;
}

#form input[type="submit"]:hover, #form input[type="submit"]:focus {
    color: #000;
    background: #DCDCDC;
}

.clear {
    clear: both;
}

#lang {
    margin: 12px 0px 0px 0px;
    text-align: center;
}

#lang img {
    margin: 0px 5px;
    cursor: pointer;
    transition-timing-function: linear;
    transition-duration: .5s;
}

.captcha {
    margin-top: 12px;
    position: relative;
    overflow: hidden;
    border: 1px solid #C3C3C3;
    border-top: 1px solid #C0C0C0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    text-align: right;
    height: 32px;
}

.refresh {
    position: absolute;
    left: 0px;
    bottom: 0px;
    height: 100%;
    width: 25px;
    cursor: pointer;
    z-index: 1;
    padding-top: 8px;
    box-sizing: border-box;
    text-align: center;
    background: url('../refresh.png') no-repeat 5px 50%;
}

.refresh:hover {
    background: url('../refresh_o.png') no-repeat 5px 50%;
}

.error {
    border: 1px solid #F00 !important;
    z-index: 1;
}

#loader {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    background: url('../../monitoring/loader_5.gif') 50% 50% no-repeat, rgba(255, 255, 255, 0.8);
    display: none;
}

#div_phone {
    width: 100%;
    display: block;
    position: relative;
    padding: 0px;
    margin: 0;
}

#cur_ph_code {
    height: 35px;
    position: relative;
    padding: 0 8px;
    margin: 0;
    background: #FFF;
    border: 1px solid #C3C3C3;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    margin-top: 12px;
    box-sizing: border-box;
    line-height: 35px;
    color: #B0B0B0;
    display: inline-block;
    cursor: pointer;
    width: 80px;
    margin-right: 12px;
    text-align: right;
}

#cur_ph_code_flag {
    position: absolute;
    top: 50%;
    margin-top: -6px;
    left: 20px;
}

#cur_ph_code_list {
    position: absolute;
    top: 50%;
    left: 4px;
    width: 10px;
    height: 10px;
    box-sizing: border-box;
    border: 5px solid rgba(0, 0, 0, 0);
    border-top: 5px solid #999;
    margin-top: -1px;
}

#cur_ph_code:hover #cur_ph_code_list {
    border-top: 5px solid #777;
}

#list_ph {
    position: absolute;
    top: 100%;
    left: 0px;
    right: 0px;
    height: 255px;
    background: #FFF;
    z-index: 3;
    display: none;
    overflow-x: hidden;
    overflow-y: auto;
    text-align: left;
    margin-top: 1px;
    border: 1px solid #C3C3C3;
    color: #B0B0B0;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

#list_ph .ph_list {
    border-bottom: 1px solid #F2F2F2;
    height: 20px;
    line-height: 20px;
    cursor: pointer;
}

#list_ph .ph_list:hover, #list_ph .ph_list.active {
    background: #F4F4F4;
    color: #818181;
}

#div_phone #f_phone {
    width: calc(100% - 92px);
    display: inline-block;
    vertical-align: top;
}

#f_npass, #nosms, #nosmsr, #f_demo {
    font-size: 14px;
    font-weight: 400px;
    color: #000;
    padding-top: 12px;
}

#f_npass:hover, #nosms:hover, #nosmsr:hover, #f_demo {
    color: #0083C0;
}

#f_demo {
    display: none;
}

#f_tsicon {
    height: 70px;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    margin: 0;
    background-color: #FFF;
    background-size: contain;
    border: 1px solid #C3C3C3;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    color: #7C7C7C;
    margin-top: 12px;
    transition-timing-function: linear;
    transition-duration: .3s;
    cursor: pointer;
}

#f_tsicon:hover {
    border: 1px solid #B9B9B9;
    -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
}

#f_tsicon_b_c {
    position: absolute;
    top: 0px;
    bottom: 0px;
    left: 0px;
    right: 0px;
    overflow-y: auto;
    text-align: center;
    padding: 0px;
    margin: 0px;
}

#f_tsicon_b_c div {
    display: inline-block;
    width: 55px;
    height: 55px;
    margin: 3px 3px 0px 3px;
    cursor: pointer;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    border-radius: 35px;
    background-size: contain;
    transition-timing-function: linear;
    transition-duration: .3s;
}

#f_tsicon_b_c div:hover {
    background-color: #E7E7E7;
    box-shadow: 0px 0px 7px 4px #E7E7E7;
}

.bubble {
    position: absolute;
    width: 330px;
    /*height: 230px;*/
    padding: 0px;
    background: #FFF;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    border: #C3C3C3 solid 1px;
    top: 92px;
    bottom: 230px;
    box-sizing: border-box;
}

.bubble:after {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 10px 15px 0;
    border-color: #FFFFFF transparent;
    display: block;
    width: 0;
    z-index: 1;
    bottom: -10px;
    left: 150px;
}

.bubble:before {
    content: '';
    position: absolute;
    border-style: solid;
    border-width: 10px 15px 0;
    border-color: #C3C3C3 transparent;
    display: block;
    width: 0;
    z-index: 0;
    bottom: -11px;
    left: 150px;
}

/*иконки полей*/
#form #f_phone {
    background-image: url('../f_phone.png');
    direction: ltr;
}

#form #f_code {
    background-image: url('../f_code.png');
}

#form input.i_capt {
    background-image: url('../i_capt.png');
}

#form input.pcode {
    background-image: url('../login.png');
}

#form #f_fio {
    background-image: url('../f_fio.png');
}

#form #f_email {
    background-image: url('../f_email.png');
}

#form #f_tsname {
    background-image: url('../f_tsname.png');
}

#form #f_maxspeed {
    background-image: url('../f_maxspeed.png');
}


.rlt * {
    direction: rtl;
}

.rlt #form {
    text-align: right;
}

.rlt .fl {
    float: right;
}

.rlt .title {
    left: auto;
    right: 40px;
}

.rlt #logo {
    background-position: 14% 50%;
}

.rlt #form input[type="text"], .rlt #form input[type="password"], .rlt #form input[type="submit"] {
    padding: 0 25px 0 8px;
    background-position: calc(100% - 5px) 50%;
}

.rlt #cur_ph_code {
    /* margin-right: 0px; */
    /* margin-left: 12px; */
}

.rlt #div_phone {
    direction: ltr;
}

.rlt span.fr {
}

.rlt .fr {
    float: left;
}

.rlt #cur_ph_code {
    direction: ltr;
}

.rlt .ph_list .fr {
    direction: ltr;
}

#lang {
    direction: ltr;
}

/*custom*/
#logo.logo-weakgps {
    background-image: url('weakgps.png');
}

#logo.logo-weakgps[lng="ae"] {
    background-image: url('weakgps_ae.png');
}

.sweet-alert.license_swal .license {
    max-height: 290px;
    overflow: auto;
    margin-bottom: 5px;
}

.sweet-alert.license_swal .license h2, .sweet-alert.license_swal .license .lt1, .sweet-alert.license_swal .license .lt2, .sweet-alert.license_swal .license .lt3 {
    line-height: 1.5em;
    color: #616161;
    padding: 0px 10px;
}

.sweet-alert.license_swal .license .lt1, .license .lt2, .sweet-alert.license_swal .license .lt3, .sweet-alert.license_swal .license h2 {
    font-size: .8em;
    margin-bottom: 0px;
}

.sweet-alert.license_swal .license .lt1 .colorred {
    color: red;
}

.sweet-alert.license_swal .license .lt2, .sweet-alert.license_swal .license .lt3, .sweet-alert.license_swal .license h2 {
    text-align: start;
}

.sweet-alert.license_swal .license .lt2 {
    text-indent: 1em;
}

.sweet-alert.license_swal .license .lt1, .sweet-alert.license_swal .license .lt2, .sweet-alert.license_swal .license .lt3 {
    margin-top: 1em;
}

.sweet-alert.license_swal {
    padding: 18px 0px 12px 0px;
    width: 482px;
}

.sweet-alert.license_swal > h2 {
    font-size: .9em;
    line-height: 1.5em;
    color: #616161;
    padding: 0px 10px;
    margin: 0 0 10px 0;
}

.sweet-alert.license_swal > fieldset {
    display: none;
}

.sweet-alert.license_swal .license a {
    color: #0083d0;
    text-decoration: none;
}

.sweet-alert.license_swal .license a:hover {
    text-decoration: underline;
}

.captcha img {
    max-width: calc(100% - 30px);
}


.rlt .refresh {
    left: auto;
    right: 0px;
}

.rlt .captcha {
    text-align: left;
}

@media (max-width: 500px) {
    #container {
        background: transparent;
        overflow: auto;
    }

    .txt_btn {
        white-space: nowrap;
    }

    #form {
        position: absolute;
        top: 0px;
        bottom: 0px;
        left: 0px;
        right: 0px;
        box-shadow: none;
        width: 100% !important;
        box-sizing: border-box;
        margin: 0px;
        border-radius: 0px;
        min-width: 300px;
    }
}

@media (max-width: 440px) {
    .title {
        font-size: 18px;
    }
}

@media (max-width: 380px) {
    .title {
        height: 50px;
        line-height: 50px;
    }

    #logo {
        height: 50px;
        background: #7C7C7C url('../logo2.png') no-repeat 94% 50%;
        background-size: contain;
    }

    .rlt #logo {
        background-position: 6% 50%;
    }

    #form {
        padding: 60px 40px 40px 40px;
    }

    #lang img {
        margin: 0px 3px;
    }
}

@media all and (max-width: 540px) {
    .sweet-alert.license_swal {
        width: auto;
        left: 0px;
        right: 0px;
        top: 0px;
        bottom: 0px;
        margin: 0 !important;
    }

    .sweet-alert.license_swal p {
        position: initial;
    }

    .sweet-alert.license_swal .license {
        overflow: auto;
        margin-bottom: 5px;
        position: absolute;
        left: 0;
        right: 0;
        top: 70px;
        bottom: 50px;
    }

    .sa-button-container {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 10px;
    }
}
