﻿body {
    background: url('/img/bg-htm.png') repeat-x;
    padding: 0 !important;    
}

html {
    background: url('/img/textured_paper.jpg') repeat;
}

.bgrnd-carbon {
      background: url('/img/panel.png') repeat;
}

.bgrnd-white-wall {
     background: url('/img/snow.png') repeat;
}

table { border-collapse: separate; }

.gridCss .x-column-header-inner {
    text-align: center;
    word-break: break-all;
    word-wrap: break-word;
}

footer {
    margin-bottom: 0px!important;
    padding-right: 20px;
}

.body-content {
    padding-top: 50px;
}

.container-main { height: calc(100vh - 160px); }

.container-table { height: calc(100% - 80px); }

.active td {
    background-color: #2b8b81!important;
    color: white;
}

input:required:invalid {
    border: 1px solid red;
    box-shadow: 0 0 0.5em rgb(255, 150, 150);
}

select:required:invalid {
    border: 1px solid red;
    box-shadow: 0 0 0.5em rgb(255, 150, 150);
}

.titan-table { width: 100% }

.titan-table th, td {
    padding-left: 4px;
    padding-right: 4px;
    word-break: break-all;
    word-wrap: break-word;
}

.titan-table th {
    /*background-color: #428bca;*/
    color: black;
    text-align: center;
}

.titan-table tbody tr:nth-child(odd) { background: #fff; }

.titan-table tbody tr:nth-child(even) { background: #f2f6f8; }

.table-property {
    margin: 4px;
    width: 100%;
}

.table-property td {
    height: 25px;
    padding-left: 4px;
    padding-right: 4px;
    width: 50%;
}

.table-property th {
    font-weight: normal;
    text-align: right;
}

.left-header th { text-align: left; }

.link { color: #2b8b81 }

.link:hover {
    color: rgb(31,100,93);
    cursor: pointer;
    text-decoration: none;
}

.white-link {
    background-color: #2b8b81;
    color: white
}

.white-link:hover {
    background-color: rgb(31,100,93);
    color: white;
    cursor: pointer;
    text-decoration: none;
}


.silver-link {
    color: rgb(157, 157, 157);
}

.silver-link:hover {
    color: white;
    cursor: pointer;
    text-decoration: none;
}

.red-link { color: #d13330 }

.red-link:hover {
    color: #a94442;
    cursor: pointer;
    text-decoration: none;
}



.border {
    border: #2b8b81 solid 2px;
    border-radius: 5px;
}

.border-silver {
    border: silver solid 1px;
    border-radius: 5px;
    padding: 5px;
}

/*.modal-backdrop.in {
    opacity: 0 !important;
}*/

@media only screen and (min-device-width: 736px) {
    .titan-modal {
         background: url('/img/textured_paper_bright.jpg') repeat;
        background-color: white;
        bottom: auto;
        height: auto;
        margin: 10% calc((100vw - 450px) / 2);
        width: 450px;
        max-height: 70%;
        overflow: auto;
    }

    .modal-big {
        margin: 5% calc((100vw - 60%) / 2) !important;
        width: 60% !important;
    }
}

@media only screen and (max-device-width: 736px) {
    .titan-modal {
        background: url('/img/textured_paper_bright.jpg') repeat;
        background-color: white;
        height: 100vh;
        margin: 0;
        width: 100vw;
        overflow: auto;
    }

    .modal-big { }
}

.sup-index {
    color: brown;
    font-size: 10px;
    font-weight: bold;
    margin-top: 0;
    padding-top: 0;
}


.editor input[type=text], .editor input[type=password], .editor span {

    font-size: 14px;
    height: 24px;
}

.editor input[type=number], input[type=date], .editor select {
    font-size: 14px;
    height: 24px;
    padding-bottom: 1px;
    padding-top: 1px;
}

.editor input[type=checkbox] {
    font-size: 14px;
    padding-bottom: 1px;
    padding-top: 1px;
}

.editor label {
    margin-bottom: 1px;
    margin-top: 2px;
    opacity: 0.7;
}

.editor button {
    font-size: 14px;
    margin: 0 0;
    padding: 1px 2px;
}

.editor-group {
    border: silver solid 1px;
    border-radius: 5px;
    padding: 5px;
    margin: 5px;
    padding: 10px;
    display: inline-block;
    width: calc(100% - 10px);
}

.btn-success {
    background: url('/img/bg-menu.png') repeat-x;
    color: black !important;
}
/*
.editor-group {
    color: #2D6CA2
}
    */

.editor .editor-title {
    font-size: 12pt;
    /*color: #2D6CA2*/
}

.flip-horizontal {
    -moz-transform: scale(-1, 1);
    -ms-filter: "FlipH";
    -o-transform: scale(-1, 1);
    -webkit-transform: scale(-1, 1);
    filter: FlipH;
    transform: scale(-1, 1);
}

.sort-desc { background-position: 4px 7px !important; }

.sort-asc { background-position: 4px 7px !important; }

.column {
    -moz-column-count: 2;
    -moz-column-gap: 10px;
    -moz-column-rule: 1px solid #ccc;
    -moz-column-width: 200px;
    -webkit-column-count: 2;
    -webkit-column-gap: 10px;
    -webkit-column-rule: 1px solid #ccc;
    -webkit-column-width: 200px;
    column-count: 2;
    column-fill: balance;
    column-gap: 10px;
    column-rule: 1px solid #ccc;
    column-width: 200px;
}

tr { -webkit-column-break-inside: avoid; }

.listView {
    list-style: none;
    padding: 2px;
}

.listView li {
    display: inline-block;
    float: left;
    padding: 2px;
    vertical-align: top;
    width: 49%;
}

.panel-blear { border-color: #f0f0f0; }

.panel-blear > .panel-heading {
    background-color: #f0f0f0;
    border-color: #f0f0f0;
    color: silver;
}

.panel-blear > .panel-heading + .panel-collapse > .panel-body {
    border-top-color: #f0f0f0;
    opacity: 0.7;
}

.panel-blear > .panel-heading .badge {
    background-color: silver;
    color: #f0f0f0;
}

.element { cursor: pointer !important; }

.card { width: 70px !important; }

/*.form-control {
    max-width: calc(100% - 10px) !important;
}*/

.row { padding-bottom: 10px; }

.titan-btn { min-width: 100px; }

.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}


.money-header { width: 75px; }
.contract-header { width: 300px; }
.date-header { width: 115px;}
.number-contract-header { width: 100px;}
.contract-body { overflow: visible;}

.red {
    color: red;
    font-weight: bold;
}

.green {
    color: green;
    font-weight: bold;
}

.modal .panel { margin-bottom: 0; }

.navbar-inverse p { color: #9d9d9d; }

@media only screen and (min-device-width: 736px) {
    .scroll-panel {
        overflow-y: auto;
        max-height: 300px;
        min-height: 60px;
    }
}

@media only screen and (max-device-width: 736px) {
    .scroll-panel { min-height: 60px; }
}

.image-btn {
    font-size: large;
    /*font-weight: bold;*/
    padding-left: 5px;
    vertical-align: middle;
    text-align: center;
}

.center {
    vertical-align: middle;
    text-align: center;
}

.right { text-align: right; }

.left { text-align: left; }


.row-table {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
}

.col-table {
    display: flex;
    flex-direction: column;
    /*margin-left: 5px;*/
}

.well-sized { min-height: 38px; }

.loading {
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -50px; /* half width of the spinner gif */
    margin-top: -50px; /* half height of the spinner gif */
    text-align: center;
    z-index: 1234;
    overflow: auto;
    width: 100px; /* width of the spinner gif */
    height: 102px; /*hight of the spinner gif +2px to fix IE8 issue */
}

.spinner {
    position: fixed;
    z-index: 1233;
    opacity: 0.2; /* Значение прозрачности */
    filter: alpha(Opacity=10);
    background-color: #333333;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: none;
}

.help-img {
    width:800px;
    height: 600px;
    border: 2px solid #2b8b81;
    margin-bottom: 15px;
    /*transition:width 0.5s ease;*/
}

.page-center {
    /*margin-left: calc(50% - 300px);*/
	width: 800px; 
	
   }
/*.help-img:hover  
{ 
    width:1280px; 
    height: 1024px; 
}*/ 
    
.jumbotron-titan {
    background: url('/img/background.jpg') no-repeat;
     background-size: 100%;
    -moz-background-size: 100%; /* Firefox 3.6+ */
    -webkit-background-size: 100%; /* Safari 3.1+ и Chrome 4.0+ */
    -o-background-size: 100%; /* Opera 9.6+ */
    color: white
}



.panel-blear > .panel-footer + .panel-collapse > .panel-body { border-bottom-color: #f0f0f0; }

.panel-blear .panel-body span { opacity: 0.7; }

.dropdown-submenu { position: relative; }

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu { display: block; }

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #cccccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover > a:after { border-left-color: #ffffff; }

.dropdown-submenu.pull-left { float: none; }

.dropdown-submenu.pull-left > .dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

a.easypay
{
    background: url(../img/easypay.png) no-repeat 100%;
     display: block;
    width: 100%;
     height: 100%;
     text-indent: -9999px; /* hides the link text */
}