﻿/*
    * Главные определения стилей для сайта
    * Вспомогательные классы
    * Основные вспомогательные окна и стили
    * Основные стили сайта
        * Меню
        * Панели
    * Главная страница и др.
*/



/* Главные определения стилей для сайта
-----------------------------------------------------------*/


select {
    padding: 3px;
}


.bootbox-close-button {
    border: none !important;
}

.btn.active {
    background-color: #c7e1fc;
}

/* Вспомогательные классы 
-----------------------------------------------------------*/

.white-text {
    color: white;
}

.right-margin {
    margin-right: 5px;
}

.left-margin {
    margin-left: 5px;
}

.top-margin {
    margin-top: 5px;
}

.bottom-margin {
    margin-bottom: 5px;
}

.panel-with-top-margin {
    margin-top: 10px;
}

.select-with-placeholder option:first-child {
    display: none;
    /*color: #bbb;
    font-style: italic;*/
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.thin-font {
    font-weight: normal !important;
}

.bootstrap-checkbox {
    margin-top: 3px !important;
    vertical-align: top;
}

/* Свертываемые панели */
.collapsible-panel-header {
    color: #333;
    background-color: #F5F5F5;
    border-color: #DDD;
}

/* Классы для форм вида <Подпись>: <Поле ввода> */
input.form-field {
    vertical-align: middle !important;
    width: 100% !important;
    max-width: none !important;
    padding: 6px 15px !important; /* Выравнивает текст в input одинаково с select*/
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}




/* Формы */

fieldset {
    border: 1px solid #ddd;
    padding: 0 1.4em 1.4em 1.4em;
    margin: 0 0 1.5em 0;
}

legend {
    font-size: 1em;
    border-bottom: none;
    width: auto;
}

textarea {
    min-height: 75px;
}

.editor-label {
    margin: 1em 0 0 0;
}

.editor-field {
    margin: 0.5em 0 0 0;
}


input[type="text"],
input[type="password"],
input[type="number"] {
    max-width: 280px;
    background-color: white;
    padding: 2px;
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
}

input.year-format, .small-width {
    width: 80px;
}

input.month-format, .medium-width {
    width: 120px;
}

.big-width {
    width: 350px !important;
}


.table-filled td {
    background-color: #F9F9F9;
}

.table-autosize {
    width: auto;
}

.small-padding-horizontal {
    padding-left: 5px;
    padding-right: 5px;
}

.small-padding-left {
    padding-left: 5px;
}

.small-padding-right {
    padding-right: 5px;
}

/* Валидация */

.field-validation-error {
    position: absolute;
    background-color: #cc4a48;
    color: black;
    padding: 5px;
    z-index: 700;
}

.image-validation-error {
    background: url('/Images/Icons/validationError.png');
    width: 21px;
    height: 20px;
    display: none;
}

    .image-validation-error + .field-validation-error {
        display: none;
    }

    .image-validation-error:hover + .field-validation-error {
        display: block;
    }


input.input-validation-error {
    border: 2px solid #cc4a48;
}

    input.input-validation-error + .image-validation-error {
        display: inline-block;
        position: absolute;
        top: 5px;
        right: 5px;
    }

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #b94a48;
}

.validation-summary-valid {
    display: none;
}

.error {
    color: red;
}

.hidden {
    display: none;
}



/* Основные вспомогательные окна и стили
-----------------------------------------------------------*/

.error-message {
}

.full-width {
    width: 100%;
}

.full-height {
    height: 100%;
}

.float-left {
    float: left;
}

.inline-block {
    display: inline-block !important;
}

.height-200px {
    height: 200px !important;
}

.height-tablofcoll-header {
    height: 135px !important;
}


.table tr.highlight {
    font-weight: bold;
}


.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Основные стили сайта
-----------------------------------------------------------*/

body {
    padding: 14px 15px 0 15px;
    background-color: #434343;
}

    body.light {
        background-color: #eee;
    }

#wrapper {
    width: auto;
}

#page-wrapper {
    margin-left: 50px;
}

.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

div.headr-row {
    color: #eee;
}

header {
}

footer {
}



/* Меню */

.navbar-static-side {
    position: fixed;
    overflow: hidden;
    left: 1px;
    z-index: 10;
    background-color: #434343;
    -ms-opacity: 0.95;
    opacity: 0.95;
    padding-right: 5px;
}

.navbar-static-top {
    border-bottom: 1px solid white;
    margin-bottom: 10px;
    padding-bottom: 5px;
    font-size: 1.5em;
    color: white;
}

nav ul {
    list-style: none;
}

.nav > li {
    background-color: inherit;
}

    .nav > li.selected {
        /*background-color: #2c2d2e;*/
        background-color: #636464;
        -ms-border-radius: 3px;
        border-radius: 3px;
    }

.navbar-static-side li .module-name {
    display: none;
}

/*.navbar-static-side:hover li .module-name {
    display: inline;
}*/


/*.nav > li span {
    margin-left: 10px;
}*/

.nav > li a:hover, .nav > li.selected a {
    color: white;
}

.nav > li img.selected {
    display: none;
}


.nav > li:hover img {
    display: none;
}

    .nav > li:hover img.selected {
        display: inline-block;
    }



.nav > li img {
    /*position: absolute;*/
}




#logoutForm button:hover {
    text-decoration: white underline;
}
#logoutForm button {
    border-width: 0;
    background-color: inherit;
    font-weight: bold;    
    margin-left: 5px;
}


/* Панели */


.panel-default.scae-grey .panel-heading.scae-grey {
    background-color: #9da1a3;
    background-image: none;
    border-bottom: 2px solid #7d8082;
    color: white;
}

.panel-body.scae-grey {
    background-color: white;
    /*    height: 100%;*/
    overflow: auto;
}


/*равная высота*/
.panel-heading.scae-grey + .panel-body.scae-grey {
    height: -moz-calc(100% - 32px);
    height: -webkit-calc(100% - 32px);
    height: calc(100% - 32px);
}

/*.panel-body.scae-grey {
    height: 100%;
}*/

.head-grey {
    background-color: #f5f5f5;
    margin: 0px -15px;
    margin-top: -15px;
    border-bottom: 1px solid #ddd;
    padding: 0px 10px;
    margin-bottom: 10px;
    height: 35px
}

.inner-panel.scae-grey {
    border-bottom: 2px solid #7d8082;
}

    .inner-panel.scae-grey + .inner-panel.scae-grey {
        border-left: 2px solid #7d8082;
    }


.inner-panel.scae-grey {
    padding: 0;
    margin-top: -15px;
}

.panel-scroll {
    overflow: auto;
}


/*Частичные представления */

.account-objects-tree > DIV + DIV {
    margin-top: 10px;
}

/*Индикатор загрузки данных*/
.busy-indicator {
    position: fixed;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.3);
    display: none;
}

    .busy-indicator .busy-content {
        position: absolute;
        top: 50%;
        left: 50%;
        margin-left: -200px;
        margin-top: -50px;
        width: 400px;
        border: solid #555 2px;
        border-radius: 5px;
        padding: 20px;
        box-shadow: 0 0 15px rgba(0,0,0,1);
        background-color: #eee;
    }

        .busy-indicator .busy-content .busy-text {
            float: left;
            padding-left: 40px;
            padding-top: 8px;
            font-size: 1.2em;
            font-weight: 600;
            display: table-cell;
            vertical-align: middle;
        }



/*Главная страница */



/* Страница входа */



/* Страница ошибки */





/* Остальные страницы… */


/* AccountObjectTree */



/*Load Indicator*/
#circularG {
    position: relative;
    width: 128px;
    height: 128px;
}

.circularG {
    position: absolute;
    background-color: #61ADFF;
    width: 29px;
    height: 29px;
    -moz-border-radius: 19px;
    -moz-animation-name: bounce_circularG;
    -moz-animation-duration: 0.88s;
    -moz-animation-iteration-count: infinite;
    /* ReSharper disable InvalidValue */
    -moz-animation-direction: linear;
    -webkit-border-radius: 19px;
    -webkit-animation-name: bounce_circularG;
    -webkit-animation-duration: 0.88s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-direction: linear;
    -ms-border-radius: 19px;
    -ms-animation-name: bounce_circularG;
    -ms-animation-duration: 0.88s;
    -ms-animation-iteration-count: infinite;
    -ms-animation-direction: linear;
    -o-border-radius: 19px;
    -o-animation-name: bounce_circularG;
    -o-animation-duration: 0.88s;
    -o-animation-iteration-count: infinite;
    -o-animation-direction: linear;
    border-radius: 19px;
    animation-name: bounce_circularG;
    animation-duration: 0.88s;
    animation-iteration-count: infinite;
    animation-direction: linear;
    /* ReSharper restore InvalidValue */
}

#circularG_1 {
    left: 0;
    top: 50px;
    -moz-animation-delay: 0.33s;
    -webkit-animation-delay: 0.33s;
    -ms-animation-delay: 0.33s;
    -o-animation-delay: 0.33s;
    animation-delay: 0.33s;
}

#circularG_2 {
    left: 14px;
    top: 14px;
    -moz-animation-delay: 0.44s;
    -webkit-animation-delay: 0.44s;
    -ms-animation-delay: 0.44s;
    -o-animation-delay: 0.44s;
    animation-delay: 0.44s;
}

#circularG_3 {
    top: 0;
    left: 50px;
    -moz-animation-delay: 0.55s;
    -webkit-animation-delay: 0.55s;
    -ms-animation-delay: 0.55s;
    -o-animation-delay: 0.55s;
    animation-delay: 0.55s;
}

#circularG_4 {
    right: 14px;
    top: 14px;
    -moz-animation-delay: 0.66s;
    -webkit-animation-delay: 0.66s;
    -ms-animation-delay: 0.66s;
    -o-animation-delay: 0.66s;
    animation-delay: 0.66s;
}

#circularG_5 {
    right: 0;
    top: 50px;
    -moz-animation-delay: 0.77s;
    -webkit-animation-delay: 0.77s;
    -ms-animation-delay: 0.77s;
    -o-animation-delay: 0.77s;
    animation-delay: 0.77s;
}

#circularG_6 {
    right: 14px;
    bottom: 14px;
    -moz-animation-delay: 0.88s;
    -webkit-animation-delay: 0.88s;
    -ms-animation-delay: 0.88s;
    -o-animation-delay: 0.88s;
    animation-delay: 0.88s;
}

#circularG_7 {
    left: 50px;
    bottom: 0;
    -moz-animation-delay: 0.99s;
    -webkit-animation-delay: 0.99s;
    -ms-animation-delay: 0.99s;
    -o-animation-delay: 0.99s;
    animation-delay: 0.99s;
}

#circularG_8 {
    left: 14px;
    bottom: 14px;
    -moz-animation-delay: 1.1s;
    -webkit-animation-delay: 1.1s;
    -ms-animation-delay: 1.1s;
    -o-animation-delay: 1.1s;
    animation-delay: 1.1s;
}

@-moz-keyframes bounce_circularG {
    0% {
        -moz-transform: scale(1);
    }

    100% {
        -moz-transform: scale(.3);
    }
}

@-webkit-keyframes bounce_circularG {
    0% {
        -webkit-transform: scale(1);
    }

    100% {
        -webkit-transform: scale(.3);
    }
}

@-ms-keyframes bounce_circularG {
    0% {
        -ms-transform: scale(1);
    }

    100% {
        -ms-transform: scale(.3);
    }
}

@-o-keyframes bounce_circularG {
    0% {
        -o-transform: scale(1);
    }

    100% {
        -o-transform: scale(.3);
    }
}

@keyframes bounce_circularG {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(.3);
    }
}


.inline-value {
    margin: 0 30px 0 6px;
    font-weight: bold;
}
