html {height: 100%;}
* html body {height: 100%;}

BODY {
  font-family: Arial, Tahoma;
  font-size:14px;
  color: #3f3f3f;
  margin: 0;
  background: #fafafa;
  min-height:100%;
  position:relative;
}

A {
    color: #0180ad;
    cursor:pointer;
}

A img {
    border:0;
}

A:Hover {
    color: #293440;
}

h2 {
    font-size:20px;
    margin:10px 0 20px;
}

h3 {
    font-size:15px;
}

.install {
    padding-bottom:90px;
}

.topline {
    height:49px;
    line-height:49px;
    background: #3f3f3f;
}

.viewport {
    margin:0 auto;
    max-width:940px;
    min-width:320px;
}

.topline .brand {
    float:left;
    background: url(../../../../resource/img/adminstyle/flatadmin/logo.svg) no-repeat center center;
    display:block;
    width: 153px;
    height:49px;
    margin-right: 32px;
}

.topline .right {
    float:right;
}

.topline .wizard {
    float:right;
    color: #f8f8f8;
    margin-left:34px;
}

.topline .version {
    float:right;
    color: #3aabd1;
    font-size:12px;
}

.steps {
    border-collapse:collapse;
    width:100%;
    margin-bottom:10px;
}

.steps td {
    padding:0;
    text-align:center;
    vertical-align:middle;
    height:79px;
    background: url(../img/step_arrow.gif) no-repeat top right;
    border-bottom:1px solid #d0d0d0;        
}

.steps td span {
    padding-right:22px;
    display:block;
}

.steps td .pos {
    display:none;
}

.steps .last {
    border-right:1px solid #d0d0d0;
    background: none;
}

.steps .current {
    background: #3aabd1 url(../img/act_step2.gif) no-repeat top left;
    border-bottom:none;
    height:80px;
}

.steps .step1.current {
    background: #3aabd1 url(../img/act_step1.gif) no-repeat top left;
    border-bottom:none;
    height:80px;
}

.steps .step5.current {
    background: #3aabd1 url(../img/act_step5.gif) no-repeat top left;
    border:none;
    height:80px;
}

.steps .current span {
    color: white;
}


.steps .ready {
    background: #3aabd1;
    border-bottom:none;
    height:80px;    
    color: white;
}

.steps .pre {
    background-image: url(../img/pre_step.gif);
    background-repeat: no-repeat;
    background-position: top right;
}

.workzone {
    border:3px solid #3aabd1;
    border-top:none;
    background: white url(../img/top_brd.gif) repeat-x top left;
    position:relative;
    padding:25px 20px;
}

.workzone .corner {
    width:34px;
    height:13px;
    display:block;
    position:absolute;
    background: url(../img/corner.gif) no-repeat top left;
    top:-9px;
    left:60px;
}

.workzone .ps2 { left:248px; }
.workzone .ps3 { left:436px; }
.workzone .ps4 { left:624px; }
.workzone .ps5 { left:812px; }

.footline {
    height:60px;
    background: #3f3f3f;
    position:absolute;
    bottom:0;
    left:0;
    width:100%;
}

.footline .copy {
    color: #acacac;
    line-height:60px;
}

.scroll-block {
    border:1px solid #c0c0c0;
    padding:0 15px;
}

.next {
    background: #71b422;
    padding:0 20px;
    line-height: 33px;
    height:33px;
    display:block;
    float:right;
    color: white;
    font-size:16px;
    text-decoration:none;
    border-radius:20px;
}

.complete:hover,
.next:hover {
    background: #629d1c;
    color: white;
}

.center-box {
    text-align:center;
}

.complete {
    background: #71b422;
    padding:10px 20px;
    line-height: 33px;
    height:33px;
    color: white;
    font-size:16px;
    text-decoration:none;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
}

.next.disabled {
    background: #efefef;
    text-shadow:0 1px 1px #fff;
    color: #bbb;
    cursor:default;
}

.mtop30 {
    margin-top:30px;
}

.button-line {
    overflow:hidden;
    line-height:33px;
}

.license-text {
    min-height:200px;
    height:360px;
    font-size:12px;
    overflow:auto;
    background:url(http://readyscript.ru/str.gif) no-repeat;
}

/* Выбор языка */


.no-javascript {
    background: #efcd70;
    border-bottom:1px solid #c69d2d;
    padding:20px;
}

.lang-select {
    margin-top:10px;
    float:right;
    position:relative;
    z-index:2;
}

.lang-select a {
    text-decoration:none;
}

.rs-dropdown {
    position:absolute;
    z-index:100;
    min-width:100%;
    right:0;
    top:100%;
    background: #efefef;
    
    list-style:none;
    padding:0;
    margin:0 0 3px;
    display:none;
    box-shadow:0 1px 2px #888;
}

.over > .rs-dropdown {
    display:block;
}

.rs-dropdown li {
    margin:0;
}

.rs-dropdown li a{    
    border-top:1px solid #d5d5d5;
}

.rs-dropdown .first a{
    border-top:none;
}

.rs-dropdown li a {
    padding:10px 10px;    
    font-size:12px;    
    display:block;
    color: black;
    line-height:normal;
    white-space:nowrap;
}

.rs-dropdown li a:hover {
    background: #969696;
    color: white;
}

.rs-group {
    background-image: url(../img/dropdown.png);
    background-repeat:no-repeat;
    background-position:right center;
    padding-right:22px;
    position:relative;
    border-radius:20px;
}

.rs-group:hover {
    background-image: url(../img/groupover.gif);
    background-repeat:no-repeat;
    background-position:right center;    
}

.rs-group .rs-active {
    cursor: pointer;
}

.rs-group .rs-dropdown {
    top:100%;
    left:0;
    bottom:auto;
    right:auto;
    background:#fafafa;
    box-shadow:0 1px 2px #888;
}



.rs-group .rs-dropdown li a:hover {
    border-color:#767f8c;
    background: #767f8c;
    color: white;
}


.lang-select .rs-group {
    display:inline-block;
    *display:inline; /* IE7 */
    background: #3aabd1 url(../img/dropdown.png) no-repeat right center;
    padding:6px 20px 6px 6px;
    color: white;
}


/* basic scrollbar styling */
.mCustomScrollbar {
    padding:0;
}

/* vertical scrollbar */
.mCSB_container{
    width:auto;
    margin-right:38px;
    overflow:hidden;
    padding:5px 0 5px 15px;
}
.mCSB_container.mCS_no_scrollbar{
    margin-right:0;
}
.mCS_disabled .mCSB_container.mCS_no_scrollbar,
.mCS_destroyed .mCSB_container.mCS_no_scrollbar{
    margin-right:30px;
}

.mCustomScrollBox {
    width:100%; /* IE7 */
}

.mCustomScrollBox .mCSB_scrollTools{
    width:23px;
    height:100%;
    top:0;
    right:0;
    background: #efefef;
}
.mCSB_scrollTools .mCSB_draggerContainer{
    height:96%;
    top:2%;
    -webkit-box-sizing:border-box;
    -moz-box-sizing:border-box;
    box-sizing:border-box;
}
.mCSB_scrollTools .mCSB_buttonUp+.mCSB_draggerContainer{
    padding-bottom:40px;
}
.mCSB_scrollTools .mCSB_draggerRail{
    width:8px;
    height:100%;
    margin:0 auto;
    -webkit-border-radius:10px;
    -moz-border-radius:10px;
    border-radius:10px;
}
.mCSB_scrollTools .mCSB_dragger{
    cursor:pointer;
    width:100%;
    height:30px;
    left:0; /* IE7 */
}
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
    width:8px;
    height:100%;
    margin:0 auto;
    -webkit-border-radius:10px;
    -moz-border-radius:10px;
    border-radius:10px;
    text-align:center;
}
.mCSB_scrollTools .mCSB_buttonUp,
.mCSB_scrollTools .mCSB_buttonDown{
    height:20px;
    overflow:hidden;
    margin:0 auto;
    cursor:pointer;
}
.mCSB_scrollTools .mCSB_buttonDown{
    bottom:0;
    margin-top:-40px;
}

/* default scrollbar colors and backgrounds */
.mCustomScrollBox .mCSB_scrollTools{
    opacity:0.75;
}
.mCustomScrollBox:hover .mCSB_scrollTools{
    opacity:1;
}
.mCSB_scrollTools .mCSB_draggerRail{
    background:#e2e2e2;
}
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar{
    background: #3f3f3f;
}
.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar{
    background:#373737;
    filter:"alpha(opacity=85)"; -ms-filter:"alpha(opacity=85)"; /* old ie */
}
.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar{
    background:#373737;
    filter:"alpha(opacity=90)"; -ms-filter:"alpha(opacity=90)"; /* old ie */
}

.mCSB_scrollTools .mCSB_buttonUp:hover,
.mCSB_scrollTools .mCSB_buttonDown:hover,
.mCSB_scrollTools .mCSB_buttonLeft:hover,
.mCSB_scrollTools .mCSB_buttonRight:hover{
    opacity:0.75;
    filter:"alpha(opacity=75)"; -ms-filter:"alpha(opacity=75)"; /* old ie */
}
.mCSB_scrollTools .mCSB_buttonUp:active,
.mCSB_scrollTools .mCSB_buttonDown:active,
.mCSB_scrollTools .mCSB_buttonLeft:active,
.mCSB_scrollTools .mCSB_buttonRight:active{
    opacity:0.9;
    filter:"alpha(opacity=90)"; -ms-filter:"alpha(opacity=90)"; /* old ie */
}

/* Шаг 2 */

.check-options {
    width:100%;
    border-collapse:collapse;
}

.check-options td {
    background: url(../img/dot.gif) repeat-x 1px bottom;
    padding:27px 0 0;
}

.check-options .first td {
    padding:0;
}

.check-options .term {
    font-size:16px;
}

.check-options .expected {
    font-size:12px;
    color: #adacac;
    background: white;
}

.check-options .conclusion {
    text-align:right;
    color: #57960c;
}

.check-options .fail {
    color: #de2214;
}

.check-options .conclusion:before {
    width:24px;
    height:24px;
    background:url(../img/ok.png) no-repeat center center;
    display:none;
}

.check-options .conclusion.fail:before {
    background:url(../img/bad.png) no-repeat center center;
}

.phpinfo {
    width:145px;
    height:33px;
    line-height:32px;
    background: #e2e2e2 url(../img/arr_right.gif) no-repeat 83% center;
    display:block;
    float:right;
    text-align:center;
    text-decoration:none;
    color: #3f3f3f;
    -webkit-border-radius:20px;
    -moz-border-radius:20px;
    border-radius:20px;
}

.phpinfo:hover {
    background-color: #C0C0C0;
}

.hr {
    padding-bottom:40px;
    margin-bottom:20px;
    border-bottom:1px solid #d0d0d0;
}

.sim {
    margin-bottom:40px;
}

.page-error {
    font-size:12px;
    background: #ff5d37;
    height:33px;
    line-height:33px;
    display:block;
    float:left;
    padding:0 10px;
    color: white;
    position:relative;
    margin-right:10px;
}

.fright {
    float:right;
}

.page-error i {
    position:absolute;
    right:-6px;
    top:10px;
    width:6px;
    height:12px;
    background: url(../img/err_right_corner.gif) no-repeat top left;
}

.config-table {
    width:100%;
}

.config-table .key {
    background: url(../img/dot.gif) repeat-x 1px bottom;
    width:240px;
    font-size:14px;
    color: black;
}

.config-table .key-help {
    font-size:11px;
    color: #808080;
}

.config-table td {
    padding:15px 0 0;    
}

.config-table .first td {
    padding-top:0;
}

.config-table input,
.config-table select,
.inp-style {
    height:34px;
    line-height:34px;
    border:1px solid #e2e2e2;
    max-width:100%;
    box-sizing: border-box;
}

.config-table input,
.config-table select {
    width:350px;
}

.config-table input[type=checkbox] {
    width:auto;
    height:auto;
    line-height:normal;
}

input.has-error {
    border:1px solid #ff5d37;
}

.field-error {
    vertical-align:top;
    position:relative;
    display:none;    
}

.field-error .text {
    position:absolute;
    top:0;
    left:13px;
    background: #ff5d37;
    width:auto;
    min-width: 270px;
    padding:8px;
    color: white;
    z-index:20;
    font-size:11px;
}

.field-error .text .cor {
    background: url(../img/err_left_corner.png) no-repeat top left;
    position:absolute;
    left:-5px;
    top:7px;
    width:5px;
    height:12px;
}

.top-corner .text{
    left:0;
    top:8px;
}

.top-corner .text .cor {
    background: url(../img/err_top_corner.png) no-repeat top left;
    position:absolute;
    left:7px;
    top:-5px;
    width:12px;
    height:5px;      
}

.field-error .success{
    background: #71B422;
}

.field-error .success .cor {
    background: url(../img/suc_top_corner.png) no-repeat top left;
}

.case .rb {
    float:left;
}

.case label {
    vertical-align:middle;
    font-size:16px;
}

.case p {
    color: #adacac;
    font-size:12px;
    line-height:23px;
    margin:14px 0;
}

.case p a {
    text-decoration:underline;
    color: #adacac;
}

.case p a:hover {
    color: black;
}

.case .more {
    margin-left:23px;
}

.license-field {
    font-size:16px;
    width:300px;
    margin-bottom:4px;
}

.check-license {
    background: #3aacd1;
    display:inline-block;
    padding:0 25px;
    height:34px;
    line-height:34px;
    font-size:16px;
    vertical-align:top;
    color: white;
    text-decoration:none;
    -webkit-border-radius:20px;
    -moz-border-radius:20px;
    border-radius:20px;
}

.check-license:hover {
    color: white;
    background: #71b422;
}

.def-value {
    color: #adacac;
}

.congratulation {
    font-size:20px;
    color: #3aacd1;
    margin-bottom:30px;
}

.authdata {
    background: #efefef;
    padding:15px;
    float:left;
    line-height:25px;
    font-size:16px;
}

.show-password {
    border-bottom:1px dotted #3aacd1;
}

.authdata .key {
    color: #787878;
    font-size:14px;
}

.authdata .value {
    font-weight:bold;
}

.clearboth {
    clear:both;
}

.iprogress-window {
    position:absolute;
}

.ui-widget-overlay {
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background: #ccc;
    opacity: 0.5;
    filter:Alpha(Opacity=50);
    z-index:100;
}

.iprogress-window .ui-dialog-titlebar {
    display:none;
}

.progress-window {
    background: white;
    padding:50px 10%;
    box-shadow:0 0 8px #b2b2b2;
    display:none;
}

.progress-window h2{
    font-weight:normal;
    margin:0;
}

.progress {
    margin-top:90px;
}

.progress .rails {
    height:17px;
    border-radius:10px;
    position:relative;
}

.progress .border {
    border:1px solid #dadada;    
    background: #e2e2e2;    
    border-radius:10px;    
    position:absolute;
    top:0;
    left:0;
    right:0;
    height:15px;
}

.progress .bar {
    position:absolute;
    border-radius:10px;        
    top:0;
    left:0;
    height:17px;
    background:url(../img/progress.gif) repeat-x top left;
}

.progress .bar .percent {
    position:absolute;
    left:100%;
    top:-58px;
    margin-left:-39px;
    width:78px;
    height:44px;
    border:1px solid #3aabd1;
    text-align:center;
    line-height:44px;
    font-size:20px;
    font-weight:bold;
    color: #3aabd1;
}

.progress .bar .percent i {
    position:absolute;
    bottom:-7px;
    left:26px;
    width:23px;
    height:7px;
    background: url(../img/progress_corner.gif) no-repeat top left;
}

.progress .status {
    margin-top:30px;
}

.error-list {
    list-style:none;
    padding:15px 0;
    margin:50px 0 0;
}

.error-list li {
    overflow:hidden;
    margin-bottom:10px;
}

.error-list .field {
    background: #ff5d37;
    position:relative;
    float:left;
    padding:7px 10px;
    color: white;
    margin-right:14px;
}

.error-list .text {
    font-size:12px;
    padding-top:7px;
}

.error-list .field .cor {
    background: url(../img/err_right_corner.gif) no-repeat top left;
    position:absolute;
    right:-5px;
    top:50%;
    width:5px;
    height:12px;
    margin-top:-6px;
}

.progress-window .buttons {
    overflow:hidden;
    margin-top:20px;
}

.progress-window .buttons .button {
    display:block;
    padding:10px 25px;
    background: #e2e2e2;
    float:right;
    color: #3f3f3f;
    -webkit-border-radius:20px;
       -moz-border-radius:20px;
            border-radius:20px;
}

.progress-window .buttons .button:hover {
    background: #c0c0c0;
}

.short-info {
    color: #adacac;
    font-size:12px;
    line-height:23px;
}

.change-admin-section {
    font-size:18px;
    font-family: verdana;
}

#calc-width {
    position:absolute;
    left:-3000px;
    opacity:0;
}

.change-admin-section input {
    border:none;
    border-bottom:1px solid #808080;
    font-size:18px;
    font-family:verdana;
    color: #3aabd1;
    width:230px; 
    padding-left:20px;
}

.p-relative {
    position:relative;
    display:inline-block;
    max-width:100%;
}

.change-admin-section input.has-error {
    border-bottom:1px dotted #ff5d37;
    color: #ff5d37;
}

.top-error {
    color:red;
}

.ui-dialog {
    position:absolute;
    z-index:1000;
}

.rs-group:hover .rs-dropdown {
    display:block;
}

@media(max-width:939px) {
    .steps tr {
        display:block;
    }
    .steps td {
        display:none;
        background:none;
    }

    .install .steps .current {
        display:block;
        width:100%;
        height:60px;
        background:url(../img/step_pattern.png) repeat-x center left;
        text-align:left;
        padding:0 20px;
        -webkit-box-sizing:border-box;
           -moz-box-sizing:border-box;
                box-sizing:border-box;
    }

    .install .steps .current span {
        display:inline;
        line-height:60px;
        font-weight:bold;
        padding:0;
    }

    .install .steps .current .pos {
        margin-right:10px;
    }

    .topline .viewport,
    .footline .viewport {
        padding:0 20px;

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

    .iagree {
        line-height:normal;
        font-size:12px;
    }

    .workzone .corner {
        left:40px;
    }

    .page-error {
        height:auto;
        line-height:normal;
        padding:10px;
        display:block;
        float:none;
        margin:0 0 20px;
    }

    .page-error i {
        display:none;
    }

    .config-table .value {
        position:relative;
    }

    .field-error {
        position:absolute;
        left:0;
        top:100%;
        margin-top:2px;
    }

    .field-error .text {
        left:0;
    }

    .field-error .text .cor {
        display:none;
    }
}

@media(max-width:600px) {
    .config-table,
    .config-table tbody,
    .config-table tr,
    .config-table td,
    .config-table .key {
        display:block;
        background:none;
        padding:0;
    }

    .case .field-error {
        top:auto;
        bottom:80px;
    }

    .field-error .text {
        min-width:240px;
    }

    .config-table .value {
        margin-top:10px;
        margin-bottom:23px;
    }

    .change-admin-section {
        font-size:14px;
    }
}

@media(max-width:480px) {
    .hidden-mobile {
        display:none !important;
    }

    .check-options .conclusion span {
        display:none;
    }

    .check-options .conclusion:not(.no-check):before {
        display:inline-block;
        content:'';
    }

    .phpinfo {
        width:40px;
        background-position:center center;
    }

    .conclusion {
        width:24px;
    }
}