html,
body {
    height: 100%;
    font-family: "OpenSansRegular", sans-serif;
}

/* font-family: "OpenSansRegular"; */
@font-face {
    font-family: "OpenSansRegular";
    src: url("../fonts/OpenSansRegular/OpenSansRegular.eot");
    src: url("../fonts/OpenSansRegular/OpenSansRegular.eot?#iefix")format("embedded-opentype"),
    url("../fonts/OpenSansRegular/OpenSansRegular.woff") format("woff"),
    url("../fonts/OpenSansRegular/OpenSansRegular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}
/* font-family: "OpenSansLight"; */
@font-face {
    font-family: "OpenSansLight";
    src: url("../fonts/OpenSansLight/OpenSansLight.eot");
    src: url("../fonts/OpenSansLight/OpenSansLight.eot?#iefix")format("embedded-opentype"),
    url("../fonts/OpenSansLight/OpenSansLight.woff") format("woff"),
    url("../fonts/OpenSansLight/OpenSansLight.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}
/* font-family: "OpenSansBold"; */
@font-face {
    font-family: "OpenSansBold";
    src: url("../fonts/OpenSansBold/OpenSansBold.eot");
    src: url("../fonts/OpenSansBold/OpenSansBold.eot?#iefix")format("embedded-opentype"),
    url("../fonts/OpenSansBold/OpenSansBold.woff") format("woff"),
    url("../fonts/OpenSansBold/OpenSansBold.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

#yii-debug-toolbar-min {
    left: 0 !important;
}
#yii-debug-toolbar-min #yii-debug-toolbar-logo {
    left: 5px;
    right: 100%;
}

body #yii-debug-toolbar {
    background: rgba(246, 246, 246, 0.3) url(data:image/svg+xml;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAoCAYAAAA/tpB3AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB94BBQwuINct3v0AAAAjSURBVAjXY3j79u1/JgYGBgYkgpGRkYEYMSpKUGLK+/fvGQAaDAb6F86IsAAAAABJRU5ErkJggg==);
    -webkit-transition: background .5s ease-out;
    -moz-transition: background .5s ease-out;
    -o-transition: background .5s ease-out;
    transition: background .5s ease-out;
}

body #yii-debug-toolbar:hover
{
    background: rgba(246,246,246,1) url(data:image/svg+xml;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAoCAYAAAA/tpB3AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAAd0SU1FB94BBQwuINct3v0AAAAjSURBVAjXY3j79u1/JgYGBgYkgpGRkYEYMSpKUGLK+/fvGQAaDAb6F86IsAAAAABJRU5ErkJggg==);
}

.button-call:hover{
    color:white;
}

.fade {
    -webkit-transition: opacity .1s linear;
    -moz-transition: opacity .1s linear;
    -ms-transition: opacity .1s linear;
    -o-transition: opacity .1s linear;
    transition: opacity .1s linear;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

/**.grid-view th {
    white-space: nowrap;
}**/

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

#mainbody .container {
    width: 100%;
}

#language-panel {
    margin-right: 50px;
    margin-top: 5px;
}

#language-panel a {
    margin-left: 10px;
    float: left;
}

.grid-view .summary {
    float: right;
    display: none;
}

.grid-view .table {
    clear: both;
}

.breadcrumb .active {
    margin-left: 5px;
    font-weight: bold;
}

#top-navigation {
    padding-right: 0;
    padding-left: 0;
    margin-top: -42px;
}

#top-navigation .breadcrumb {
    margin-bottom: 15px;
}

/** LOGIN **/

#login-form {
    padding: 40px;
    border: 2px solid #e1e1e8;
    background-color: #f7f7f9;
    border-radius: 4px;
}

#login-logo {
    background: url('/images/logo.png') no-repeat scroll 0 0 transparent;
    background-position: center;
    padding: 40px;
    padding-bottom: 100px;
}

#captcha-refresh-btn {
    background-color: #fff;
    border: 0 none;
    height: 50px;
    vertical-align: middle;
    width: 30px;
}

#mainbody .form-horizontal {
    margin-top: 20px;
}
#mainbody .form-horizontal .control-label {
    text-align: left;
}

#mainbody .submit {
    margin-top: 25px;
    margin-left: 50px;
}

#mainbody .form-control.raw {
    border: 0;
    box-shadow: none;
    font-weight: bold;
    color: #999;
    margin-top: -4px;
}

#mainbody .file-preview-image {
    width: 245px;
}

#mainbody #tracking-form .file-preview-image {
    width: auto;
    height: auto;
}

#mainbody #tracking-form .file-preview-frame {
    border: 0;
    box-shadow: 0 0;
}

#mainbody #tracking-form .file-preview-frame:hover {
    background-color: inherit;
}

#mainbody .form-inline .form-group {
    margin-left: 5px;
}

#mainbody .form-group {
    vertical-align: top;
}

#mainbody .form-group .compact {
    width: 220px;
}

/* переопределяем переопределенный стиль формы "#mainbody .form-inline .form-group" к исходному значени */
#ticket-form .form-inline .form-group {
    margin-left: 0px;
}

/* В карточке клиента табы должны выделяться более жирным бордером, чтобы визуально отделить друг от друга разделы */
#border-card .nav-tabs {
    border-width: 2px;
}

#border-card .ui-widget-header, #border-card .ui-state-default{
    background: inherit;
}


#border-card .nav-tabs > li.active > a,
#border-card .nav-tabs > li.active > a:hover,
#border-card .nav-tabs > li.active > a:focus {
    margin: -1px 0 -1px 0;
    border-width: 2px;
}

/* Для того, чтобы скрыть нижний бордер у активного таба используется вот такой вот приём */
#border-card .nav-tabs > li {
    margin-bottom: -2px;
}

/* Обертка для блоков, содержащая бордер, используется совместно с container */
.border-card-tab {
    border: 2px solid #ddd;
    margin-top: -1px;
    padding-top: 20px;
    margin-bottom: 20px;
}

/* Для блоков, прилегающих к меню навигации не показываем верхний бордер */
.border-card-tab.roof-less {
    border-top: none;
}

/* Растягиваем кнопку в форме логина, чтобы она была под стать полям логина и пароля */
#login-submit {
    width: 50%;
}

/* Блок с кнопками submit, reset у форм, используется совместно с form-group */
#mainbody .buttons {
    margin-left: 0;
    margin-top: 25px;
}

/* Затемняем оверлей в модальных окнах */
#mainbody .ui-widget-overlay {
    opacity: 0.8;
    background: #000000;
}

/* Прелоадер, затемняющий весь экран, отображается на загрузку аякса */
#loader {
    position: absolute;
    opacity: 0.8;
    background: #FFFFFF;
    z-index: 1000;
    height: 100%;
    width: 100%;
    /** Variants: http://www.mytreedb.com/view_blog/a-33-high_quality_ajax_loader_images.html */
    background-image: url('/images/ajax_loader_gray_256.gif');
    background-position: center center;
    background-repeat: no-repeat;
    display: none;
    margin-top: -70px;
}

/* Блок, в котором показываются все ошибки ajax'a */
#ajax-error {
    display: none;
}

/* Необходимо для переопределения стилей yii при отображении ошибки */
#ajax-error pre {
    border: none;
    background-color: inherit;
}

/* Делаем красивый крестик в модальном окне */
#mainbody .ui-dialog .ui-dialog-titlebar-close {
    background-image: url('/images/close.png');
    border-width: 3px;
    width: 22px;
    height: 22px;
}

#mainbody #customer-source_id {
    width: 250px;
}

/* Скрываем горизонтальную прокрутку в диалоговом окне */
#dialog {
    display: none;
    overflow-x: hidden;
    padding-top: 50px;
    padding-bottom: 15px;
    padding-left: 15px;

}

/** Красивый цвет для заголовка модального окна */
.ui-dialog .ui-dialog-titlebar {
    background: #444;
    color: #999;
    margin-top: -4px;
    margin-left: -4px;
    margin-right: -4px;
    border: 1px solid #080808;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0
}

.ticket-comment-form .form-group {
    width: 100%;
    margin-left: 0 !important;
}

.ticket-comment-form .compact {
    width: 100% !important;
}

.ticket-comments .summary {
    display: none;
}

.highlight td {
    background-color: #DDDDAA !important;
}
/* FOR RESPONSIVE TABLES */

.tablesaw-swipe .filters input, .tablesaw-swipe .filters select {
    width: 100%;
}
.filters input[name$='[id]'], .filters input[name$='[customer_id]'] {
    width: 70px;
}
.filters select[name$='[language]'] {
    width: 100%;
}

.filters select[name$='[sourceCategory]'] {
    width: 100%;
}
.input-group .form-control.translate-live-input {
    height: 20px;
    overflow-y: auto;
}

.tablesaw-bar .upper.tablesaw-advance {
    position: absolute;
    right: 0;
    top: -50px;
}
.tablesaw-bar .upper.tablesaw-advance.minimap {
    position: absolute;
    right: 50px;
    top: -50px;
}


/* ACCESS MODULE */
.dropdown-menu li > a[data-toggle] {
    font-weight: bold;
    color: #000000;
}
a.disabled {
    color: #999;
}

/* TRANSLATION MODULE */

/* making editable div autoresize onchange */
.translate-live-input {
    height: auto;
    min-height: 34px;
}

/* Beautify JSON in Grid values */
.json-beautify {
    white-space: pre;
    display: none;
}

/* Beautify JSON in Grid values */
.xml-beautify {
    white-space: pre;
    display: none;
}


.toggle-next {
    display: block;
    cursor: pointer;
}

/*  PAYMENTS MODULE */
/* makes 3 column checkbox list */
.checkbox-container-30 {
    width: 30%;
    display: inline-block;
}


#compliancerefusereasonform-refuse_reason_id .radio {
    display:block;
}

#compliancerefusereasonform-description, .compliance-refuse-buttons {
    width: 600px !important;
}

.input-group.date {
    width: 300px;
}

table .input-group.date {
    width: 178px;
}

#ticket-form .input-group.date {
    width: 100%;
}

.compliance-refuse-reason {
    color:red;
}

.compliance  > td {
    background-color:#ffcccd !important;
}

button.multiselect{
    min-width: 300px;
}
.multiselect-container li{
    margin-left: 10px;
}

/* MENU */
/* hiding submenus */
.dropdown.dropdown-submenu.open ul {
    display: block !important;
    opacity: 1!important;
}
.dropdown.dropdown-submenu ul {
    display: none !important;
}
.drop-left .dropdown-submenu > a:after {
    border-color: transparent #cccccc transparent transparent;
    border-style: solid;
    border-width: 5px 5px 5px 0;
    content: " ";
    display: block;
    float: left;
    height: 0;
    margin-left: -10px;
    margin-top: 5px;
    width: 0;
}

.drop-left .dropdown-submenu > .dropdown-menu {
    right: 100%;
    left: inherit;
}

#top-navigation #index-buttons {
    right: 15px;
    z-index: 10;
}

#report-tracking th {
    text-align: center;
    vertical-align: middle;
}

#customer-refuse-form label {
    min-width: 100%;
}

#backend_customer_form th {
    text-align: right;
    vertical-align: middle;

    width: 250px;
    padding-right: 20px;
}

#backend_customer_form td {
    padding-left: 10px;
}

#backend-questionnaire-form-left {
    width:48%;
    display:inline-block;
}

#backend-questionnaire-form-left th {
    text-align: left;
    vertical-align: middle;

    width: 414px;
    padding-right: 20px;
    padding-left: 23px;
}

#backend-questionnaire-form-left td {
    padding-left: 10px;
    padding-right: 60px;
}

#backend-questionnaire-form-left .form-group .compact {
    width: 305px;
}

#backend-questionnaire-form-right {
    width:50%;
    float:right;
    display:inline-block;
}

#backend-questionnaire-form-right th {
    text-align: right;
    vertical-align: middle;

    width: 486px;
    padding-right: 20px;
}

#backend-questionnaire-form-right td {
    padding-left: 10px;
    padding-right: 21px;
}

#backend-questionnaire-form-right .form-group .compact {
    width: 305px;
}

#real-customer-form {
   margin-top: -25px;
}

#real-customer-form .help-block {
    display: none;
}

#dialog .table > thead > tr > th,
#dialog .table > tbody > tr > th,
#dialog .table > tfoot > tr > th,
#dialog .table > thead > tr > td,
#dialog .table > tbody > tr > td,
#dialog .table > tfoot > tr > td {
    padding-top: 10px;
    padding-bottom: 10px
}


/** REPORT SEARCH **/
.report-search.form label {
    margin-top: 7px;
    margin-bottom: 7px;
    vertical-align: bottom;
    width: 50px;
}

/** COMPETITION MANAGEMENT **/
.competition-management.form label {
    margin-top: 7px;
    margin-bottom: 15px;
    vertical-align: bottom;
    width: 100px;
}

.competition-management label.competition-name {
    margin-right: 0px;
    width: 335px;
}

.competition-management .btn {
    margin-bottom: 10px;
}

/** WITHDRAWAL VIEW **/
.navigation-buttons {
    margin-top: -3px;
}

.field-item-formula label{
    display: none;
}
.highslide-credits{
    display: none !important;
}

.navbar-inverse .navbar-nav>li>a.callback-count, .navbar-inverse .navbar-nav>li>a.callback-count:focus {
    position: absolute;
    z-index: 1000;
    top: 15px;
    background-color: #d2322d;
    color: #fff;
    border-radius: 10px;
    text-align: center;
    padding: 4px 7px;
    font: 12px Verdana;
    font-weight: bold;
}

.navbar-inverse .navbar-nav>li>a.callback-count:hover {
    background-color: #ae2d2d;
}

.navbar-inverse .navbar-nav>li>a.bond-count, .navbar-inverse .navbar-nav>li>a.bond-count:focus {
    position: absolute;
    z-index: 1000;
    top: 15px;
    background-color: #428bca;
    color: #fff;
    border-radius: 10px;
    text-align: center;
    padding: 4px 7px;
    font: 12px Verdana;
    font-weight: bold;
}

.navbar-inverse .navbar-nav>li>a.bond-count:hover {
    background-color: #3d7bb5;
}

/* AJAX LOADED CONTENT */
.ajaxLoadedContent tr.filters {
    display: none;
}


/* SELECT2 DROPDOWN caret */
.select2-selection__rendered li:last-child::after {
    color: #555;
    content: "▼";
    font-size: 0.7em;
    height: 32px;
    padding: 9px 12px 4px 3px;
    position: absolute;
    right: 1px;
    top: 1px;
    width: 0;
    cursor:pointer;
}

.input-group.input-group-empty {
    display: block;
}
.input-group.input-group-empty .select2-container--krajee {
    display: block !important;
}
.preallocate-button{
    width:100%;
    height:30px;
}
.btn-margin
{margin-left:10px;
 margin-right:14px;}
 
 /* Стили для модальных всплывающих окон, можно менять по желанию */
.popupbox {
	width:500px;
	height:280px;
	background-color:#F9F9F9;
	background-repeat:no-repeat;
	display: none; /* Скрыто по умолчанию */
	float: left;
	position: fixed;
	top: 50%; left: 50%;
	z-index: 99999;
        border:1px solid;
}
.comment-to-otmena
{width:100%;
 height:100px;}

#fade { 
	display: none; /* Скрыто по умолчанию */
	background: #000;
	position: fixed; left: 0; top: 0;
	width: 100%; height: 100%;
	opacity: .60;
	z-index: 9999;
}
.cont
{padding:10px;}
#otmena
{float:right;
 margin-top:12px;}
 
 .right_but
{ text-align: right;
  margin:0px 10px 10px;
}

.field-customerindividual-passport_issue_date
{margin-right:100px;}

#repeat-withdrawal
{
    margin-right: 5px;
}

input.hide-border
{
    border: none;
    outline: none;
    background-color: transparent;
}


.top_menu{
   /* margin-top:84px; */
    
}

.top_menu nav {
	width: 100%;
	height: 50px;
	background: #323946;
}

.top_menu ul {	
        padding:0px;      
}

.top_menu ul li {
	font: 13px Verdana, 'Lucida Grande';
	cursor: pointer;
	-webkit-transition: padding .05s linear;
	-moz-transition: padding .05s linear;
	-ms-transition: padding .05s linear;
	-o-transition: padding .05s linear;
	transition: padding .05s linear;
}
.top_menu ul li.drop {
	position: relative;
        
}
 .top_menu ul li.drop
{border-top: 3px solid transparent;}
.top_menu ul li.drop:hover {	
border-top: 3px solid red;
}
.top_menu ul > li {
	display: inline-block;
}
.top_menu ul li a {
	line-height: 50px;
	padding: 0 20px;
	height: 50px;
	color: #fff;
	-webkit-transition: all .1s ease-out;
	-moz-transition: all .1s ease-out;
	-ms-transition: all .1s ease-out;
	-o-transition: all .1s ease-out;
	transition: all .1s ease-out;
          text-decoration: none;

}
.trio{
    width:7px; 
    height:5px;
    margin-left: 5px;}
.polosa{
        position: absolute;
    content: "";
    width: 1px;
    height: 30px;
  /*  right: -20px; */
    top: calc(50% - 15px);
    border-radius: 50%;
    background: #fff;
    opacity: 0.15;
}
.dropOut ul li a {
	line-height: 0px;
	padding: 18px 0 0 9px;
	height: 0px;
	color: #fff!important;
	-webkit-transition: all .1s ease-out;
	-moz-transition: all .1s ease-out;
	-ms-transition: all .1s ease-out;
	-o-transition: all .1s ease-out;
	transition: all .1s ease-out;
        text-decoration: none;
        height: 37px;
        width: 180px;
         height: 37px;
        display: block; 
}


.top_menu ul li a:hover {
	/*color: #eee;*/
}

.top_menu .dropOut .triangle {
	width: 0;
	height: 0;
	position: absolute;
	border-left: 8px solid transparent;
	border-right: 8px solid transparent;
	border-bottom: 8px solid rgba(40,40,40,0.72);
	top: -8px;
	left: 50%;
	margin-left: -8px;
}
.top_menu .dropdownContain {
	width: 180px;
	position: absolute;
	z-index: 20;
	left: 50%;
	margin-left: -80px; /* half of width */
	top: -400px; 
}
.top_menu .dropOut {
	width: 100%;
	background: rgba(40,40,40,0.72);
	float: left;
	position: relative;
	margin-top: 0px;
	opacity: 1;
        
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-box-shadow: 0 1px 6px rgba(0,0,0,.15);
	-moz-box-shadow: 0 1px 6px rgba(0,0,0,.15);
	box-shadow: 0 1px 6px rgba(0,0,0,.15);
	-webkit-transition: all .1s ease-out;
	-moz-transition: all .1s ease-out;
	-ms-transition: all .1s ease-out;
	-o-transition: all .1s ease-out;
	transition: all .1s ease-out;
        
       
}

.top_menu .dropOut ul {
	float: left;
	padding: 10px 0;
}
.top_menu .dropOut ul li {
	text-align: left;
	float: left;
	color: #fff;
        
        
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
	-webkit-transition: background .1s ease-out;
	-moz-transition: background .1s ease-out;
	-ms-transition: background .1s ease-out;
	-o-transition: background .1s ease-out;
	transition: background .1s ease-out;
}

.top_menu .dropOut ul li:hover {
	background: rgba(256,256,256,0.22);
}

.top_menu  ul li:hover  a { /*color: white;*/ }
.top_menu ul li:hover .dropdownContain { top: 50px; }
/*.top_menu ul li:hover .underline { border-bottom-color: rgba(40,40,40,0.72); }*/
.top_menu ul li:hover .dropOut { opacity: 1; margin-top: 12px; }

.alert {
    margin-top: -50px;
    margin-bottom: 56px;
}

.form {
    width: 50%;
}

.form textarea{
    height: 200px;
}

.divider {
    height: 1px;
    margin: 9px 0;
    overflow: hidden;
    background-color: #e5e5e5;
    margin: 20px 0;
}

.table-striped > tbody > tr.blue-row {
    background-color: #E9FBFF;
}

.red-color {
    color: red;
}

.red-color a {
    text-decoration: none;
    color: red;
}

.table-change-vps .input-group.date {
    width: 100%;
}

