/*region commons*/

.ts-container-fluid {
    padding-right: 20px;
    padding-left: 20px;
}
.ts-container {
    padding-right: 20px;
    padding-left: 20px;
}
.ts-container {
    padding-right: 20px;
    padding-left: 20px;
}

input::-ms-clear {
    display: none !important;
}
input[type=password]::-ms-reveal{
    display: none;
}

/*clear padding*/
.clr-p {
    padding: 0 !important;
}
/*clear vertical padding*/
.clr-vp {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
/*clear side padding*/
.clr-sp {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
/*clear left padding*/
.clr-lp {
    padding-left: 0 !important;
}
/*clear right padding*/
.clr-rp {
    padding-right: 0 !important;
}
/*clear top padding*/
.clr-tp {
    padding-top: 0 !important;
}
/*clear bottom padding*/
.clr-bp {
    padding-bottom: 0 !important;
}
.no-gutters > div {
    padding-left: 0;
    padding-right: 0;
}
/*clear left margin*/
.clr-lm {
    margin-left: 0 !important;
}

/*tooltip content inside target node for Tooltipster*/
.content-for-tooltip {
    display: none;
}

/* Ещё один уровень скрытия/отображения элементов разметки. */
.visible-mobile-block,
.visible-mobile-inline,
.visible-mobile-inline-block {
    display: none;
}

/*endregion*/
/*region tooltips*/

.has-error .tooltip.right .tooltip-inner {
    background-color:#a94442;
}
.has-error .tooltip.right .tooltip-arrow {
    border-right-color:#a94442;
}

.has-success .tooltip.right .tooltip-inner {
    background-color:green;
}
.has-success .tooltip.right .tooltip-arrow {
    border-right-color:green;
}

.tooltip-inner {
    max-width:500px;
    white-space: nowrap;
}

/*endregion*/
/*region cols and rows */

.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    padding-right: 20px;
    padding-left: 20px;
}

.ts-row {
    margin-left: -20px;
    margin-right: -20px;
}

/*endregion*/
/*region fields*/

textarea {
    max-width: 100%;
    min-width: 100%;
}

/* select2 bootstrap fix */
.select2-container .select2-choice > .select2-chosen {
    padding-top: 7px;
    padding-right: 0;
}
.select2-container .select2-choice .select2-arrow b, .select2-container .select2-choice div b {
    background-position: 0 4px;
}

/*endregion*/
/*region buttons */

.btn {
    border-radius: 3px ;
}

.btn-lg {
    padding: 11px 31px 10px;
    font-size: 16px;
    font-weight: bold;
}

.btn-default {
    border: 1px solid #c9d1df;
    background-color: #dde5ef;
    color: #929eb5;
    max-width: 1000px;
    text-align: left;
    word-break: break-word;
}
.btn-default[disabled],
.btn-default[disabled]:hover,
.btn-default[disabled]:focus,
.btn-default:hover,
.btn-default:focus {
    border-color: #c9d1df;
    background-color: #E6EBF0;
    color: #B3B9C3;
}

.btn-primary.btn-bold {
    font-weight: bold !important;
}

.btn-primary {
    border: 1px solid #2cb76c;
    background-color: #33d27b;
}
.btn-primary[disabled],
.btn-primary[disabled]:hover,
.btn-primary[disabled]:focus,
.btn-primary:hover,
.btn-primary:focus,
.open > .dropdown-toggle.btn-primary {
    border-color: #69c892;
    background-color: #63db98;
}

.btn-zakupay {
    border: 1px solid #2cb76c !important;
    background-color: #33d27b !important;
}
.btn-zakupay[disabled],
.btn-zakupay[disabled]:hover,
.btn-zakupay[disabled]:focus,
.btn-zakupay:hover,
.btn-zakupay:focus,
.open > .dropdown-toggle.btn-zakupay {
    border-color: #69c892 !important;
    background-color: #63db98 !important;
}

.btn-prodavay {
    border-color: #328cc2;
    background-color: #3da2e0;
}
.btn-prodavay[disabled],
.btn-prodavay[disabled]:hover,
.btn-prodavay[disabled]:focus,
.btn-prodavay:hover,
.btn-prodavay:focus,
.open > .dropdown-toggle.btn-prodavay {
    border-color: #4fa7db;
    background-color: #68b6e6;
}

.btn-info {
    background: #3da2e0;
    border: 1px solid #328cc2;
    color: #ffffff;
}
.btn-info[disabled],
.btn-info[disabled]:hover,
.btn-info[disabled]:focus,
.btn-info:hover,
.btn-info:focus,
.open > .dropdown-toggle.btn-info {
    border-color: #4fa7db;
    background-color: #68b6e6;
}

.dropdown-menu.dropdown-menu-correction.override-right {
    left: unset;
    right: 15px;
}

.dropdown-menu.dropdown-offer-menu-correction.override-right {
    left: unset;
    top: 30px;
    right: 15px;
}

.dropdown-menu.dropdown-menu-correction.left-panel {
    left: 100%;
    top: -60%;
}

.btn-danger {
    border: 1px solid #c64435;
    background-color: #eb5645;
    color: #ffffff;
}
.btn-danger[disabled],
.btn-danger[disabled]:hover,
.btn-danger[disabled]:focus,
.btn-danger:hover,
.btn-danger:focus {
    border-color: #c9a1a1;
    background-color: #cd9f9f;
}

/*endregion*/
/*region Адаптивность*/

/* Мобильная ширина. */
@media (max-width: 600px) {

    /* Ещё один уровень скрытия/отображения элементов разметки. */
    .visible-mobile-block {
        display: block;
    }
    .visible-mobile-inline {
        display: inline;
    }
    .visible-mobile-inline-block {
        display: inline-block;
    }
    .hidden-mobile {
        display: none;
    }
}

/*endregion*/

/* From Cynteka */
.label-danger,
.badge-danger {
  background-color: #da4f49;
}

.badge:hover {
  color: #ffffff;
  text-decoration: none;
  cursor: pointer;
}
.badge-error {
  background-color: #b94a48;
}
.badge-error:hover {
  background-color: #953b39;
}
.badge-warning {
  background-color: #f89406;
}
.badge-warning:hover {
  background-color: #c67605;
}
.badge-success {
  background-color: #468847;
}
.badge-success:hover {
  background-color: #356635;
}
.badge-info {
  background-color: #3a87ad;
}
.badge-info:hover {
  background-color: #2d6987;
}
.badge-inverse {
  background-color: #333333;
}
.badge-inverse:hover {
  background-color: #1a1a1a;
}

.right-space {
	padding-right:20px;
}
/*
 * End from Cynteka
  */

#search-by .select2-arrow b {
    background-position: 0px 9px;
}

#search-by .select2-choice {
    height: 45px;
    line-height: 30px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-right: none;
}

.no-border {
    border: 0;
}
