/* 
    Document   : custom_style
    Created on : 1 сентября 2017, 09:40:00 PM
    Author     : Вадим Донец
    Description:
        Файл был создан, чтобы добавить некоторые стили
        к вновь созданным элементам, но не нарушать уже имеющиеся стили
*/

@import 'tabs.css';

html {
    box-sizing: border-box;
    overflow-x: hidden;
    overflow-y: scroll;
}

a.admin-area, a.chart-area{
    color: #fff;
    border-radius: 5px;
    background: transparent;
    height: auto;
    padding: 5px 10px;
    border: 1px solid transparent;
}

a.admin-area:hover, a.chart-area:hover{
    background: #fc9648; /* Old browsers */
    background: -moz-linear-gradient(top, #fc9648 0%, #c25a0d 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #fc9648 0%,#c25a0d 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #fc9648 0%,#c25a0d 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fc9648', endColorstr='#c25a0d',GradientType=0 ); /* IE6-9 */
    box-shadow: 0 3px 0 rgba(0,0,0,0.5); /* Параметры тени */
    border-color: #edab3f;
}

i.admin {
    background: url(../img_style/icons/document.png) no-repeat;
    width: 16px;
    height: 16px;
}

i.stat {
    background: url(../img_style/icons/piechart.png) no-repeat;
    width: 16px;
    height: 16px;
}

i.verification {
    background: url(../img_style/icons/certificate-icon.png) no-repeat;
    width: 16px;
    height: 16px;
}

select{
    background-color: #ffffff;
    border: 1px solid #989898;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
    -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
    -o-transition: border linear 0.2s, box-shadow linear 0.2s;
    transition: border linear 0.2s, box-shadow linear 0.2s;
}

select:focus{
    border-color: rgba(82, 168, 236, 0.8);
    outline: 0;
    outline: thin dotted \9;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
    -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(82, 168, 236, 0.6);
}

/* My Bootstrap */

.my_row{
    position:relative;
/*    margin-left:-15px;
    margin-right:-15px;
*/}

.flex{
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    flex-wrap: wrap;
}

.list_fields1, .list_fields2{display: none;}

.col-xs-1, .col-xs-2, .col-xs-3,
.col-xs-4, .col-xs-5, .col-xs-6,
.col-xs-7, .col-xs-8, .col-xs-9,
.col-xs-10, .col-xs-11, .col-xs-12{
    position:relative;
    min-height:1px;
    padding-left:15px;
    padding-right:15px;

    box-sizing: border-box;
}

.col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12{
    float:left;
}

.col-xs-12{float: none;}

.col-xs-12{width:100%}
.col-xs-11{width:91.66666667%}
.col-xs-10{width:83.33333333%}
.col-xs-9{width:75%}
.col-xs-8{width:66.66666667%}
.col-xs-7{width:58.33333333%}
.col-xs-6{width:50%}
.col-xs-5{width:41.66666667%}
.col-xs-4{width:33.33333333%}
.col-xs-3{width:25%}
.col-xs-2{width:16.66666667%}
.col-xs-1{width:8.33333333%}

.clearfix:before,.clearfix:after,.container:before,.container:after,.container-fluid:before,.container-fluid:after,.my_row:before,.my_row:after{
    content:" ";
    display:table
}

.clearfix:after,.container:after,.container-fluid:after,.my_row:after{
    clear:both
}

h3{
    font-size: 16px;
}

/*input[type="file"]{
    margin-bottom: 10px;
}
*/
.col-xs-6 div.my_row{
    padding: 15px;
    border: 1px solid #eee;
}

.col-xs-6{
    margin-bottom: 30px;
}

select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input {
    margin-bottom: 0;
}

.col-xs-5, .col-xs-7{
    margin-bottom: 10px;
}

select {
    width: 210px;
    margin-right: 5px;
}

input, textarea {
    width: 195px;
    margin-right: 5px;
}


.area_add, .locality_add, .itype_add, .iname_add, .ipost_add, .ispec_add, .isubject_add{
    display: none;
    margin-top: 10px;
}

.reg-table{
    width: 100%;
    border: 1px solid #eee;
    table-layout: fixed;
}

.reg-table tr{
    border-bottom: 1px solid #eee;
}

.reg-table td{
    padding: 5px;
}

/*.reg-table td:nth-child(1){
    width: 47%;
}
*/
.hint{
    color:#999;
    font-size: 10px;
}

.data_table{
    width: 100%;
    background-color: #fff;
}

.data_table td{
    border: 1px solid #eee;
    padding: 5px;
}

input[type="radio"], input[type="checkbox"] {
    margin: 0;
}

.no-back{
    background: transparent!important;
}


.sertificate-wrap .sertif-item {
    width: auto;
}


select, textarea, input[type="text"], input[type="password"], input[type="datetime"], input[type="datetime-local"], input[type="date"], input[type="month"], input[type="time"], input[type="week"], input[type="number"], input[type="email"], input[type="url"], input[type="search"], input[type="tel"], input[type="color"], .uneditable-input{
    color: #000;
}

.title-table{
    display:inline-block;
    vertical-align: middle;
    margin-top: 7px;
    table-layout: fixed;
    width: 500px;
}

.title-table td:first-child{
    width: 70px;
}

.title-line1{
    display:inline-block;
    color:#666;
    font-size:26px;
    font-weight:500;
}

.title-line2{
    color:#999;
    font-size:16px;
}

.module-item.active .sub-menu {
    top: 0;
    padding-top: 0;
}

.left-panel #help, .left-panel a{
    color: #fff;
    border-radius: 5px;
    background: transparent;
    height: auto;
    padding: 5px 10px;
    border: 1px solid transparent;    
}

#print-but{
    border-radius: 5px;
    border: 1px solid transparent;
    height: 30px;
}

.left-panel a.active, .left-panel a:hover, .left-panel span#help.active, .left-panel span#help:hover, .print.active #print-but, #print-but:hover{
    background-position: 0 0 !important;
    background: #fc9648;
    background: -moz-linear-gradient(top, #fc9648 0%, #c25a0d 100%);
    background: -webkit-linear-gradient(top, #fc9648 0%,#c25a0d 100%);
    background: linear-gradient(to bottom, #fc9648 0%,#c25a0d 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fc9648', endColorstr='#c25a0d',GradientType=0 );
    box-shadow: 0 3px 0 rgba(0,0,0,0.5);
    border-color: #edab3f;
}

#top-navigation-wrap{
    background: #2b67b0 url(../img_style/top-menu-bg.png) repeat-x;
}

/*.profile-wrap #gender{
    width: 250px;
}
*/
/* Popup */

.b-popup{
    display: none;
    width:100%;
    min-height:100%;
    background-color: rgba(0,0,0,0.5);
    overflow:hidden;
    position:fixed;
    top:0px;
    z-index: 100;
}
.b-popup .b-popup-content{
    margin: 100px auto 0 auto;
    width:300px;
    height: 200px;
    padding:30px;
    background-color: #eee;
    border-radius:3px;
    box-shadow: 0px 0px 10px #000;
}

.b-popup-content a{
    display: block;
    text-align: center;
}


#content-tab2 #chart_area_users .flot-x-axis .flot-tick-label,
#content-tab2 #chart_area_half .flot-x-axis .flot-tick-label,
#content-tab2 #chart_area_sert .flot-x-axis .flot-tick-label,
#content-tab4 #chart_users .flot-x-axis .flot-tick-label,
#content-tab4 #chart_half .flot-x-axis .flot-tick-label,
#content-tab4 #chart_sert .flot-x-axis .flot-tick-label,
#content-tab4 #chart_users_2 .flot-x-axis .flot-tick-label,
#content-tab4 #chart_sert_2 .flot-x-axis .flot-tick-label,
#content-tab2 #chart_area_users_2 .flot-x-axis .flot-tick-label,
#content-tab2 #chart_area_sert_2 .flot-x-axis .flot-tick-label
{
    white-space: nowrap;
    -webkit-transform: translate(0, 0) rotate(-90deg);
    -moz-transform: translate(0, 0) rotate(-90deg);
    -o-transform: translate(0, 0) rotate(-90deg);
    -ms-transform: translate(0, 0) rotate(-90deg);
    transform: translate(0, 0) rotate(-90deg);

    text-indent: -100%;

    text-align: right !important;
    margin-right: 1px;
}

#content-tab4 #chart_dinamic .flot-x-axis .flot-tick-label{
    white-space: nowrap;
    font-size: 10px;
}

#content-tab4 #chart_dinamic .flot-x-axis .flot-tick-label:nth-child(odd){
    display: none;
}

.dinamic.btn.active{
    background-color: hsl(34, 96%, 35%) !important;
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ae6403", endColorstr="#fa9614");
    background-image: -khtml-gradient(linear, left top, left bottom, from(#ae6403), to(#fa9614));
    background-image: -moz-linear-gradient(top, #ae6403, #fa9614);
    background-image: -ms-linear-gradient(top, #ae6403, #fa9614);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #ae6403), color-stop(100%, #fa9614));
    background-image: -webkit-linear-gradient(top, #ae6403, #fa9614);
    background-image: -o-linear-gradient(top, #ae6403, #fa9614);
    background-image: linear-gradient(#ae6403, #fa9614);
    border-color: #D98626 #F9E780 hsl(34, 96%, 30.5%);
    color: #fff !important;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.29);
    -webkit-font-smoothing: antialiased;
}

    #chart_users, #chart_half, #chart_half_pers, #chart_sert, #chart_area_users, #chart_area_sert,
    #chart_users_2, #chart_sert_2, #chart_area_users_2, #chart_area_sert_2{
        width: 100%;
        height: 500px;
        margin-bottom: 150px;
    }

    #chart_dinamic{
        width: 100%;
        height: 300px;
        margin-bottom: 150px;
    }

    #chart_map, #chart_sert_pers{
        width: 100%;
        height: 600px;
    }

    #chart_gender, #chart_gender2, #chart_gender3, #chart_roles, #chart_roles2, #chart_roles3, #chart_ipost, #chart_ipost2, #chart_ipost3{
        width: 100%;
        height: 300px;
    }
    .chart{
        width: 100%;
        height: 300px;
    }

.text-center, .text-center td{
    text-align: center;
}

.data_table thead{background: #eff0f1;}

h2{
    background: #228BB3;
    color: #fff;
    text-align: center;
    padding: 15px;
}
h3{
    margin: 30px 0;
    text-align: center;
}

.legend table td{
    padding: 2px 5px;
}

#chart_map{
    background: url(/public_html/img_style/ua.png);
    position: relative;
}
#chart_map div{
    position: absolute;
    text-align: center;
    font-size: 30px;
    width: 75px;
}

#chart_map #reg26, #chart_map #reg27{
    font-size: 20px;
    width: 50px;
}

.card{
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: .25rem;
    margin-bottom: 15px;
}
.card-header{
    border-radius: calc(.25rem - 1px) calc(.25rem - 1px) 0 0;
    padding: .75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0,0,0,.03);
    border-bottom: 1px solid rgba(0,0,0,.125);
}
.card-block{
    padding: 15px 0 15px;
}
.card-block .col-xs-6{
    margin-bottom: 0;
}
.toggle-header{
    cursor: pointer;
}

#export-container{
    border: 1px solid #eee;
    z-index: 1001;
    top:200px;
    left: 30%;
    position: absolute;
    height: 270px;
    width: 40%;
    margin: 0 auto;
    background: #eee;
    -webkit-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
    box-shadow: 10px 10px 5px 0px rgba(0,0,0,0.75);
}

::-webkit-progress-bar {
    background: #fff;
}
::-webkit-progress-value {
    background: #87f456;
}
::-moz-progress-bar {
    background: #87f456;
}
progress {
    /*display: block;*/
    color: red;
    background: yellow;
    border: 1px solid #c5c5c5;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 300px;
    height: 25px;
    line-height: 21px;
    font-size: 15px;
    font-family: sans-serif;
    text-align: center;
}

/*Всплывающее окно*/

.static-instruction-window {
    z-index: 1000;
    position: fixed;
    box-sizing: border-box;
    right: 10px;
    bottom: 65px;
    width: 200px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.9);
    text-align: center;
    border: solid 1px black;
    display: inline-block;
    padding-top: 16px;
}

.static-instruction-window a {
    text-decoration: none;
    vertical-align: middle;
    display: inline-block;
}

.static-close-window {
    position: absolute;
    top: 0px;
    right: 0px;
}

.static-close-window:hover {
    cursor: pointer;
}

.contant-wrapper{
    margin-bottom: 30px;
}
