﻿/*PSAnalyticComboBox*/
.psanalytic {
	width: 200px;
	position: relative;
	min-height: 20px
}

.psanalytic select {
	width: 100%;
	height: 100%;
	min-height: 18px;
	height: 20px;
	font-family: Arial, Helvetica, sans-serif;
}

.psanalytic img {
	visibility: hidden;
	float: left;
	position: absolute;
	left: 1px;
	top: 2px
}

/*PSAnalyticCheckedListBox*/
.psaclb {
	width: 200px;
	position: relative;
	min-height: 20px;
}

.psaclb div {
	width: 100%;
	height: 100%;
	overflow-y: auto;
}

.psaclb img {
	visibility: hidden;
	position: absolute;
	left: 1px;
	top: 1px
}

/*Для всех контролов на основе input*/
.psinnerinput {
	width: 100%;
	/*height: 100%;*/
	height: 20px;
	min-height: 16px;
	padding: 1px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
	font-family: Arial, Helvetica, sans-serif;
}

.psinnertextarea {
	width: 100%;
	height: 100%;
	min-height: 16px;
	padding: 1px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
	resize: vertical;
	font-family: Arial, Helvetica, sans-serif;
}

.psinnerbutton {
    width: 100%;
    height: 100%;
    min-height: 16px;
    padding: 2px 3px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    /*border: 1px solid rgb(160, 160, 160);*/
    border: 1px solid rgb(7, 110, 183) /*rgb(165, 190, 36)*/;
    border-radius: 3px;
    background: rgb(7, 110, 183) /*rgb(165, 190, 36)*/ !important;
    /*background: rgb(220, 220, 220); #d7ba7a */
    cursor: pointer;
    color: #ffffff !important;
    vertical-align: middle;
    font-family: Arial, Helvetica, sans-serif;
}

.psinnerbutton:hover {
	width: 100%;
	height: 100%;
	min-height: 16px;
	padding: 2px 3px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
	/*border: 1px solid rgb(100, 100, 100);*/
	border: 1px solid rgb(151, 174, 38);
	border-radius: 3px;
	background: rgb(151, 174, 38) !important;
	/*background: rgb(220, 220, 220);*/
	cursor:pointer;
	color: #ffffff !important;
	vertical-align: middle;
	font-family: Arial, Helvetica, sans-serif;
}

.psinnerbutton:active {
	width: 100%;
	height: 100%;
	min-height: 16px;
	padding: 2px 3px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
	/*border: 1px solid rgb(60, 60, 60);*/
	border: 1px solid rgb(151, 174, 38);
	border-radius: 3px;
	background: rgb(151, 174, 38) !important;
	/*background: rgb(200, 200, 200);*/
	cursor:pointer;
	color: #ffffff !important;
	vertical-align: middle;
	font-family: Arial, Helvetica, sans-serif;
}

    .psinnerbutton:disabled {
        background-color: #cfdac7 !important;
        cursor: not-allowed;
    }

    /*Для основного div всех контролов*/
    .pscontroldiv {
        display: inline-block;
        width: 200px;
        margin: 1px 0px;
    }

/*div для отображения диалогового окна*/
.psdlgdiv {
	display:none;
}

.ps-wait-overlay {
    background: rgba(160, 160, 160, 0.5);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#7FA0A0A0,endColorstr=#7FA0A0A0);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    z-index: 999999;
}

.ps-wait-img {
	width: 100%;
	height: 100%;
	background: url(/Content/waitingOverlay.png?ver=1.3) no-repeat center center;
}

/*Для стандартных button, чтобы они соответствовали размерам гридбатонов*/
.psbutton {
    min-height: 16px;
    padding: 2px 3px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    /*border: 1px solid rgb(160, 160, 160);*/
    border: 1px solid rgb(7, 110, 183) /*rgb(165, 190, 36)*/;
    border-radius: 3px;
    background: rgb(7, 110, 183) !important;
    /*background: rgb(220, 220, 220);*/
    cursor: pointer;
    color: #ffffff !important;
    vertical-align: middle;
    font-family: Arial, Helvetica, sans-serif;
}

.psbutton:hover {
	min-height: 16px;
	padding: 2px 3px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
	/*border: 1px solid rgb(100, 100, 100);*/
	border: 1px solid rgb(151, 174, 38);
	border-radius: 3px;
	background: rgb(151, 174, 38) !important;
	/*background: rgb(220, 220, 220);*/
	cursor:pointer;
	color: #ffffff !important;
	vertical-align: middle;
	font-family: Arial, Helvetica, sans-serif;
}

.psbutton:active {
	min-height: 16px;
	padding: 2px 3px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
	/*border: 1px solid rgb(60, 60, 60);*/
	border: 1px solid rgb(151, 174, 38);
	border-radius: 3px;
	background: rgb(151, 174, 38) !important;
	/*background: rgb(200, 200, 200);*/
	cursor:pointer;
	color: #ffffff !important;
	vertical-align: middle;
	font-family: Arial, Helvetica, sans-serif;
}

.psdlgbutton {
	height: 26px;
	padding: 2px 6px !important;
}

/*PSClientEdit*/
.psclientedit {
    position: relative;
}

/*.psclientedit input {
    width: 70%;
	height: 100%;
    float: left;
}

.psclientedit button {
    background:darkgrey;  
    width: 10%;  
    position:static;   
}*/
.psclientedit input {
    width: 100%;
	height: 20px;
	/*height: 100%;*/
    padding: 1px 42px 1px 1px;
	box-sizing:border-box;
	font-family: Arial, Helvetica, sans-serif;
}

.psclientedit button {
    background: rgb(220, 220, 220);  
    position: absolute;
    top: 1px;
    padding: 0px 5px;
	border: 0px;
	height: 18px;
	width: 21px;
	cursor:pointer;
}

.psclientedit button:hover {
    background: rgb(210, 210, 210);  
    position: absolute;
    top: 1px;
    padding: 0px 5px;
	border: 0px;
	height: 18px;
	width: 21px;
	cursor:pointer;
}

.psclientedit button:active {
    background: rgb(200, 200, 200);  
    position: absolute;
    top: 1px;
    padding: 0px 5px;
	border: 0px;
	height: 18px;
	width: 21px;
	cursor:pointer;
}

.psclienteditleftbutton {
	right: 22px;
}

.psclienteditrightbutton {
	right: 1px;
}

/*PSAddressEdit*/
.psaddressedit {
    position: relative;
}

.psaddressedit input {
    width: 100%;
	height: 20px;
	/*height: 100%;*/
    /*float: left;*/
	padding: 1px 21px 1px 1px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
	font-family: Arial, Helvetica, sans-serif;
}

.psaddressedit button {
    background: rgb(220, 220, 220);
    position: absolute;
    right: 1px;
    top: 1px;
    border: 0px;
	padding: 0px 5px;
	height: 18px;
	width: 21px;
	cursor:pointer;
}

.psaddressedit button:hover {
    background: rgb(210, 210, 210);
    position: absolute;
    right: 1px;
    top: 1px;
    border: 0px;
	padding: 0px 5px;
	height: 18px;
	width: 21px;
	cursor:pointer;
}

.psaddressedit button:active {
    background: rgb(200, 200, 200);
    position: absolute;
    right: 1px;
    top: 1px;
    border: 0px;
	padding: 0px 5px;
	height: 18px;
	width: 21px;
	cursor:pointer;
}

/*Класс для красивой отрисовки div как панели*/
.pspaneldiv {
	border: 1px solid darkgrey;
	border-radius: 4px;
	-webkit-border-radius: 4px;
    -moz-border-radius: 4px;
}

.pspaneltitle {
	font-weight: bold;
	font-style: italic;
	display: block;
}

/*Класс для отрисовки заголовка сайта/отчета*/
.pspagetitle {
	border-bottom: 1px solid #f2f2f2;
	border-top: 1px solid #f2f2f2;
	text-align: center;
	margin-top: 20px;
}

.pspagetitle label {
	color: #008dd2;
	font-size: large;
	font-style: italic;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	text-transform: uppercase;
}

/*Вспомогательная всплывающая панелька грида*/
    .gridOverTools {
	    width: auto;
	    height: 25px;
	    position: absolute;
	    z-index: 998;
	    border: 1px solid darkgray;
	    background: gray;
	    padding-left: 10px;
	    display: none;
	    border-top-left-radius: 3px;
	    -moz-border-radius-topleft: 3px;
	    -webkit-border-top-left-radius: 3px;
    }
    #grd {
        position: relative;
    }
    #grd .gridOverTools {
        position: initial;        
        background: none;
        border: none;
        display: block !important;
    }

    #grd .gridOverTools {
        text-align: right;        
    }

    #grd ul .gridOverTools {
        float: right;
    }

    #grd .gridOverToolsArray {
        display: none;
    }

.gridOverTools button {
    width: 25px;
    height: 25px;
    padding: 0px;
    border-width: 2px;
}

.gridOverTools button img {
    width: 100%;
    height: 100%;
}

.gridOverToolsArray {
	width: 9px;
	height: 9px;
	position: absolute;
	z-index: 999;
	font-size: xx-small;
}
/*Шапка грида выбора объектов (название колонок)*/
#divForSelectForm table tbody tr:first-child {
    background: rgb(7, 110, 183) /*#8CC832*/;
}
.ps-help-item {
    display: inline-block;
}
.ps-help-item select {
    font-family: Arial, Helvetica, sans-serif;
}
.ps-help-item label {
    display: inline-block;
    width: 150px;
    text-align: left;
    overflow: hidden;
}
#settingsContainer {
    z-index: 999999;
    margin-top: 10px;
    position: absolute;
    right: 14px;
}
#printSettingsForm {
    text-align: left;
    background-color: rgb(219, 219, 219);
    padding: 10px;
    border-radius: 15px;
}
#settingsContainer .btn-group-container {
    text-align: right;
    margin-top: 10px;
}
.settings-item {
    cursor: pointer;
    background-image: url(images/print_settings.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 21px;
    height: 21px;
    display: inline-block;
}
.bl-hide {
    display: none !important;
}
.rules-container {
    position: absolute;
    width: 90%;
    height: 90%;
    z-index: 99999;
    left: 5%;
    top: 40px;
}

.rules-container #ruleFrame {
    width: 100%;
    height: 100%;
    border: 0;

}
    .rules-container .close-frame {
        background-image: url(images/close-white.png);
        background-repeat: no-repeat; 
        width: 40px;
        height: 40px;    
        background-size: contain; 
        display: inline-block;
        cursor: pointer;  
    }

.close-frame-container {
    text-align: right;
}
.owerlay-container {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #101010aa;
    z-index: 9999;
    margin-top: -20px;
}

.insCharacteristic {
    margin-bottom: 5px;
    border-bottom: 1px solid #c1c1c1;
    padding-bottom: 5px;
}
.char-container {
    margin-bottom: 5px;
}

.cb-for-input input {
    vertical-align: middle;
    height: 16px;
    margin-top: 28px;
    width: 16px;
}

.no-padding-left {
    padding-left: 0 !important;
}

#notificationContainer {
    position: absolute;
    right: 20px;
    bottom: 50px;
    z-index: 9999;
    max-height: 80%;
    overflow: auto;
    padding-right: 25px;
    /*overflow-y: scroll;*/
}

    #notificationContainer .remember-item {
        text-align: center;
        background-color: #908e8e4f;
        border-radius: 15px;
        margin-top: 20px;
        border: 1px solid rgb(165, 190, 36) !important;        
        width: 205px;
    }

    #notificationContainer .remember-header {
        padding: 15px;
    }

    #notificationContainer .show-btn {
        margin-bottom: 15px;
    }

    #notificationContainer .close-btn-container {
        position: relative;
        padding-top: 15px;
    }

    #notificationContainer .close-btn {
        position: absolute;
        cursor: pointer;
        right: 10px;
        top: 4px;
    }

    #header {
        padding: 40px 0px 35px 5px;
        position: relative;
        margin: 0 20px;
        min-height: 135px;
        z-index: 1001;
        border-bottom: 2px solid #f5f5f5;
    }

    #header:after {
        display: block;
        content: "";
        clear: both;
    }

    .field_top-label {
        display: block;
        line-height: 20px;
        font-size: 13px;
        color: #555;
        margin-bottom: 1px;
    }

    .container_table-wrap {
        position: relative;
        clear: both;
        padding: 10px 20px 0;
    }

    @media (max-width:1024px) {
        .wrapper {
            max-width: none;
        }

        #header {
            padding: 20px 0;
            margin-bottom: 0;
            text-align: center;
        }

        .top-header {
            height: auto;
            padding-top: 5px;
            padding-bottom: 5px;
        }

        .logo {
            display: block;
            float: none;
            text-align: center;
            margin: 0 auto 10px;
        }

            .logo img {
                margin: 0 auto;
            }

        .header_right {
            float: none;
            display: inline-block;
            vertical-align: top;
            clear: both;
        }

        .skype-box {
            float: left;
            margin: 0;
        }

        .header-phone {
            float: none;
            display: inline-block;
            vertical-align: top;
            padding: 3px 30px 0 0;
        }

        .skype-box a span {
            font-size: 11px;
        }

        .header-phone .header-phone-1 {
            font-size: 18px;
            line-height: 24px;
            font-weight: bold;
        }
    }

.affair-items-wrapper:after {
    content: "";
    display: block;
    clear: both;
}

.timeline-wrapper {
    margin: 0 auto;
    width: 80%;
    max-width: 1200px;
    margin-top: 20px;
    padding: 15px 0px;
}

    .timeline-wrapper .right-item {
        margin-left: calc(50% - 1px);
        border-left: 1px solid;
    }
        .timeline-wrapper .right-item .timeline-date-wrapper span {
            margin-left: 5px;
        }

        .timeline-wrapper .right-item .timeline-date-wrapper:before {
            content: "• ";
            position: absolute;
            left: -3px;
        }

        .timeline-wrapper .left-item .timeline-date-wrapper {
            text-align: right;            
        }

        .timeline-wrapper .left-item .timeline-date-wrapper span {                
            margin-right: 5px;
        }

        .timeline-wrapper .left-item .timeline-date-wrapper:after {
            content: "• ";
            position: absolute;
            right: -3px;
        }

        .timeline-wrapper .left-item {
            margin-right: 50%;
            border-right: 1px solid;
        }

.timeline-date-wrapper {
    display: inline-block;
    width: 30%;
    vertical-align: top;
    position: relative;
}
.timeline-detail {
    display: inline-block;
    width: calc(70% - 4px);
}

    .timeline-detail .type {
        display: block;
        font-weight: bold;
    }

    .timeline-detail .info {        
        font-size: 13px;
    }

.timeline-info {
    border: 1px solid;
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 10px;
}
.timeline-detail-wrapper {
    padding-bottom: 15px;
}

@media (max-width:767px) {
    body {
            padding: 0;
        }

        #header {
            margin: 0 10px;
        }

        .logo img {
            max-width: 100%;
            height: auto;
        }

        .top-header {
            padding-bottom: 0;
        }

        .phone {
            float: none;
        }

        .header-phone {
            display: block;
            text-align: center;
            padding: 1px 0px 5px;
        }

            .header-phone .header-phone-1 {
                font-size: 22px;
                line-height: 28px;
            }

        .user_block {
            float: none;
        }

        .content_inner {
            padding-top: 5px;
        }

        .user_info_btn_container {
            margin: auto;
            text-align: center;
            max-width: 300px;
        }

        .user_name {
            display: inline-block;
            vertical-align: top;
            margin: 15px 0 5px;
            max-width: 300px;
            text-overflow: ellipsis;
            overflow: hidden;
            white-space: nowrap;
        }
        .timeline-wrapper {
            width: 100%;
        }
    }

@media (max-width:600px) {
    .timeline-detail-wrapper.left-item {
        display: flex;
        flex-direction: row-reverse;
        margin-left: 0;
        margin-right: 0;
        border-right: 0;
        border-left: 1px solid;
    }
    .timeline-wrapper .left-item .timeline-date-wrapper {
        text-align: left;
    }

    .timeline-wrapper .left-item .timeline-date-wrapper:after {
        content: unset;
    }

    .timeline-wrapper .left-item .timeline-date-wrapper:before {
        content: "• ";
        position: absolute;
        left: -7px;
    }
    .timeline-wrapper .right-item {
        margin-left: 0;
    }
}

#mainMenu {
    border: none;
    box-shadow: none;
}

    #mainMenu ul li {
        border: 1px solid #c1c1c1;
        margin-bottom: 5px;
    }

#mainMenu ul li.active {
    color: #ffffff !important;
    border-color: #316293 #316293 #29547E !important;
    text-decoration: none;
    background-color: #0081c2;
    background-repeat: repeat-x;
    outline: 0;
    text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
    /*background: #2f7eb6;*/ /* Old browsers */
    background: #007EBD;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    background-position: 0 0;
}

.table-scroll_info {
    position: absolute;
    top: 0px;
    width: 100px;
    min-height: 100px;
    background: rgba(153, 204, 51, 0.5);
    cursor: pointer;
    z-index: 999;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

    .table-scroll_info:hover {
        background: rgba(153, 204, 51, 0.8);
    }

    .table-scroll_info.right-bl {
        right: 0px;        
    }

    .table-scroll_info.left-bl {
        left: 0px;        
    }

    .table-scroll_info:before {
        content: "";
        position: absolute;
        left: 50%;
        top: 50%;
        width: 46px;
        height: 34px;
        margin: -36px 0 0 -23px;
        background-repeat: no-repeat;
        background-position: center;
    }

    .table-scroll_info.right-bl:before {
        background-image: url(images/table-arrows_r.png);
    }

    .table-scroll_info.left-bl:before {
        background-image: url(images/table-arrows_l.png);
    }

    .table-scroll_info:after {
        content: "";
        position: absolute;
        left: 5px;
        right: 5px;
        top: 50%;
        margin: 5px 0 0 0;
        font: bold 14px/16px "Open Sans", Arial;
        color: #fff;
        text-shadow: 1px 1px 2px #609000;
        text-align: center;
    }

    .table-scroll_info.right-bl:after {
        content: "Показать еще";
    }

    .table-scroll_info.left-bl:after {
        content: "Назад";
    }

@media (max-width:1110px) {
    .table-scroll_info {
        width: 80px;
    }

        .table-scroll_info:after {
            font: bold 13px/14px "Open Sans", Arial;
        }
}

@media (max-width:1024px) {
    .table-scroll_info {
        width: 60px;
    }

        .table-scroll_info:before {
            margin-top: -17px;
        }

        .table-scroll_info:after {
            display: none;
        }
}

@media (max-width:767px) {
    .table-scroll_info {
        width: 34px;
    }

        .table-scroll_info:before {
            margin-top: -17px;
            margin-left: -15px;
            width: 30px;
            background-size: contain;
        }

        .table-scroll_info:after {
            display: none;
        }
}

.paragraph-30 {
    text-indent: 30px
}

.t-bold {
    font-weight: bold;
}

.t-justify {
    text-align: justify;
}

.t-underline {
    text-decoration: underline;
}

.btn-disabled {
    background-color: #cfdac7 !important;
    cursor: not-allowed;
}

    .btn-disabled:hover {
        background-color: #cfdac7 !important;
    }

.user_info_btn_container a {
    display: block;
}


.jqx-fill-state-pressed.jqx-grid-cell-selected {
    background: var(--brand-row-active-color) !important;
    font-weight: bold;
}

.jqx-grid-cell-hover {
    background: var(--brand-row-hover-color) !important;
}

.brand-bg,
#popup_ok {
    background: var(--brand-color-btn) !important;
}

a.brand-bg:hover,
#popup_ok:hover {
    background: var(--brand-color-btn-hover) !important;
}

.btn-accept {
    color: var(--brand-btn-text-color) !important;
    background: var(--brand-color-btn) !important;
}

    .btn-accept:hover,
    .btn-accept:focus,
    .btn-accept:active {
        background: var(--brand-color-btn-hover) !important;
        border: none !important;
        color: var(--brand-btn-text-color-hover) !important;
    }

.ui-widget-header {
    background: var(--brand-color) !important;
}

.jqx-grid .jqx-checkbox {
    left: calc(50% - 15px) !important;
    top: calc(50% - 11px) !important;
}