:root {
    --danger: #990033;
    --danger-light: #b90c3f;
    --gray: #e0e6e7;
    --blue: #00608c;
    --darkblue: #004088;
    --tan: #948a54;
}

html, body {
    height: 100vh;
    background: #fff;
}

body {
    color: #000;
    overflow-x: hidden !important;
    overflow-y: scroll !important;
    font-family: "Roboto", sans-serif;
}
.modal-open {
    padding-right: 0 !important;
}
a {
    -webkit-transition: all .2s ease-out;
    transition: all .2s ease-out;
    color: var(--darkblue);
    text-decoration: underline;
}
a:hover {
    color: var(--danger);
}
.text-vinous {
    color: var(--danger);
}
.text-tan {
    color: var(--tan);
}
.link-vinous {
    color: var(--danger);
}
.link-vinous:hover {
    color: #6e0023;
}
.border-vinous {
    border: 1px solid var(--danger);
}
.bg-vinous {
    background: var(--danger);
}
.bg-vinous-light {
    background: var(--danger);
}
.bg-vinous-top {
    background: linear-gradient(to bottom,  var(--danger) 50px, var(--danger) 50px, #ffffff 50px, #ffffff 100%);
}
.bg-gray {
    background: var(--gray);
}
.bg-gray-gradient {
    background: linear-gradient(to bottom,  var(--gray) 0%, #eff2f4 50%, var(--gray) 100%);
}
.bg-gray-gradient-2 {
    background: linear-gradient(to bottom, #ffffff 0%, #ffffff 100px, var(--gray) 100px, #eff2f4 60%, var(--gray) 92%, #ffffff 92%, #ffffff 100%) !important;
}
.bg-white-gray-gradient-h {
    background: linear-gradient(to right,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%);
}
.bg-white-gray-gradient-45 {
    background: linear-gradient(45deg, rgba(227, 164, 164, 0.25) 0%, rgba(255,255,255,1) 50%, rgba(227, 164, 164, 0.25) 100%);
}
.bg-white-gray-gradient-v {
    background: linear-gradient(to bottom,  rgba(255,255,255,1) 0%,rgba(229,229,229,1) 100%);
}
.bg-v1-45 {
    background: linear-gradient(45deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 70%, rgba(227, 164, 164, 0.25) 100%);
}
.bg-gray-gradient-3 {
    background: linear-gradient(to right, rgba(255,255,255,1) 20%, rgba(0,0,0,.05) 100%);
}

.headerbar {
    display: block;
    height: 55px;
    background: #ffffff;
    position: relative;
    z-index: 2;
    padding: 0 15px;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}
header {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    /*background: var(--gray);*/
    height: 72px;
}
header [class*="col"] {
    height: 72px;
    /*overflow: hidden;*/
}
footer {
    padding: 20px;
    background: var(--danger);
    color: #ffffff;
}
footer .socials a {
    display: inline-block;
}
footer .socials a:hover img {
    transform: scale(1.1);
}
.main {
    clear: both;
    padding: 0 20px 0 20px !important;
}
.logo {
    text-decoration: none;
    margin: 0;
    padding: 4px 23px 4px 8px;
    font-size: 1.4rem;
    display: inline-block;
    background: linear-gradient(115deg,  #ffffff 0%, #ffffff 61.7px, #990033 62.3px, #990033 100%);
}
.slogan {
    color: #ffffff;
    font-size: .65rem;
    width: 100%;
    max-width: 100%;
    text-transform: uppercase;
    letter-spacing: .037rem;
    margin: 0;
    padding: 4px 10px 4px 10px;
    background: var(--danger);
    text-shadow: 2px 2px 3px rgba(0,0,0,.5);
}
.headerbar-menu .nav-item {

}
.headerbar-menu .nav-link {
    color: var(--tan);
    font-weight: 400;
    font-size: .85rem;
    text-transform: uppercase;
    padding: .5rem .5rem;
}

.border-bottom-dashed {
    border-bottom-width: 1px;
    border-bottom-style: dashed;
}

.has-megamenu {
    position: static !important;
}

.megamenu {
    left: 0;
    right: 0;
    width: 100%;
    transform: translate(0, 60px) !important;
    margin: 10px 0 0 0 !important;
    padding: 0;
    border: none;
    /*border-radius: 16px !important;*/
    border-bottom-left-radius: 16px !important;
    border-bottom-right-radius: 16px !important;
    z-index: auto;
    min-height: 350px;
    position: relative;
    z-index: 6;
}
.megamenu-button-group .dropdown-toggle.show {
    background: #ffffff !important;
    color: #000000;
    position: relative;
    z-index: 5;
}
.megamenu #megamenutab button:not(.accordion-button) {
    font-size: .8rem;
}
.megamenu .accordion-item,
.megamenu .accordion-header,
.megamenu .accordion-collapse,
.megamenu .accordion-button {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.header-menu-block {
    position: relative;
    z-index: 1;
}
.header-menu-block a {
    color: #ffffff;
    text-decoration: none;
}
.header-menu-block a:hover {
    color: #e097ac;
}
.header-menu-block > div > svg {
    fill: #ffedb5;
    transition: all .3s ease;
}

.top-buttons a {
    /*background: linear-gradient(to bottom,  rgba(255,255,255,0) 0%,rgba(255,255,255,0.09) 30%,rgba(255,255,255,0.3) 100%);*/
    height: 40px;
    line-height: 30px;
    padding-top: 0;
    padding-bottom: 0;
    transition: .3s linear;
}
.top-buttons a:hover {
    background: linear-gradient(to bottom,  rgba(255,255,255,.15) 0%,rgba(255,255,255,0.15) 100%);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

/*!**** carousel vertical ****!*/
/*.vert .carousel-item-next.carousel-item-left,*/
/*.vert .carousel-item-prev.carousel-item-right {*/
/*    -webkit-transform: translate3d(0, 0, 0);*/
/*    transform: translate3d(0, 0, 0);*/
/*}*/
/*.vert .carousel-item-next,*/
/*.vert .active.carousel-item-right {*/
/*    -webkit-transform: translate3d(0, 100%, 0);*/
/*    transform: translate3d(0, 100% 0);*/
/*}*/
/*.vert .carousel-item-prev,*/
/*.vert .active.carousel-item-left {*/
/*    -webkit-transform: translate3d(0,-100%, 0);*/
/*    transform: translate3d(0,-100%, 0);*/
/*}*/
/*!**** carousel vertical ****!*/

/*.text-danger {color: #990033;}*/
/*.text-info {color: #1792a8;}*/
/*.text-info-dark {color: #16657a;}*/
/*.text-blue-dark {colorcolor: #004088;}*/
/*.text-gray {color: #b2bcc4;}*/
.text-violet {
    color: rgb(64, 32, 94);
}
.text-violet-2 {
    color: rgb(83, 26, 134);
}
.bg-violet {
    /*background: linear-gradient(to bottom,  #ebe9f9 0%,#d8d0ef 50%,#cec7ec 51%,#c1bfea 100%);*/
    /*background: linear-gradient(45deg,  #ebe9f9 0%,#d8d0ef 50%,#cec7ec 51%,#c1bfea 100%);*/
    background: linear-gradient(45deg,  rgba(235,233,249,1) 0%,rgba(193,191,234,0.75) 100%);
}
.btn-hover-vinous:hover {
    background: var(--danger);
    color: #ffffff;
}

.fs-08 {font-size: 8px;}
.fs-09 {font-size: 9px;}
.fs-10 {font-size: 10px;}
.fs-11 {font-size: 11px;}
.fs-12 {font-size: 12px;}
.fs-13 {font-size: 13px;}
.fs-14 {font-size: 14px;}
.fs-15 {font-size: 15px;}
.fs-16 {font-size: 16px;}
.fs-17 {font-size: 17px;}
.fs-18 {font-size: 18px;}
.fs-19 {font-size: 19px;}
.fs-20 {font-size: 20px;}
.fs-22 {font-size: 22px;}
.fs-24 {font-size: 24px;}
.fs-26 {font-size: 26px;}
.fs-28 {font-size: 28px;}
.fs-30 {font-size: 30px;}
.fs-32 {font-size: 32px;}
.fs-34 {font-size: 34px;}
.fs-36 {font-size: 36px;}
.fs-38 {font-size: 38px;}
.fs-40 {font-size: 40px;}
.fs-42 {font-size: 42px;}
.fs-44 {font-size: 44px;}
.fs-46 {font-size: 46px;}

.lh06 {line-height: 0.6em;}
.lh07 {line-height: 0.7em;}
.lh08 {line-height: 0.8em;}
.lh09 {line-height: 0.9em;}
.lh1 {line-height: 1em;}
.lh11 {line-height: 1.1em;}
.lh12 {line-height: 1.2em;}

.fw-bold {font-weight: bold;}
.fw-bolder {font-weight: bolder;}
.fw-normal {font-weight: normal;}

.flipH {
    -moz-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    transform: scaleX(-1);
    -ms-filter: flipH(); /*IE*/
    filter: flipH(); /*IE*/
}
.flipV {
    -moz-transform: scaleY(-1);
    -webkit-transform: scaleY(-1);
    -o-transform: scaleY(-1);
    transform: scaleY(-1);
    -ms-filter: flipV(); /*IE*/
    filter: flipV(); /*IE*/
}
.grayscale {
    filter: gray; /* IE6-9 */
    -webkit-filter: grayscale(1); /* Google Chrome, Safari 6+ & Opera 15+ */
    filter: grayscale(1); /* Microsoft Edge and Firefox 35+ */
}
.skewBox {
    height: 60px;
}
.skewXE {
    -moz-transform: skewX(-15deg);
    -webkit-transform: skewX(-15deg);
    -o-transform: skewX(-15deg);
    transform: skewX(-15deg);
}
.skewXE-remove {
    -moz-transform: skewX(15deg);
    -webkit-transform: skewX(15deg);
    -o-transform: skewX(15deg);
    transform: skewX(15deg);
}

/*.brd-top-default {border-top: 1px solid #d9d9d9;}*/
/*.brd-right-default {border-right: 1px solid #d9d9d9;}*/
/*.brd-bot-default {border-bottom: 1px solid #d9d9d9;}*/
/*.brd-left-default {border-left: 1px solid #d9d9d9;}*/

/*a:active, a:focus { outline: none; }*/
/*input, textarea {outline:none;}*/
/*input:active, textarea:active {outline:none;}*/
/*:focus {outline:none;}*/
/*textarea {resize:none;}*/
/*textarea {resize:vertical;}*/
/*textarea {resize:horizontal;}*/
/*button:active, button:focus {outline: none;}*/
/*button::-moz-focus-inner {border: 0;}*/
/*.align-left {text-align: left;}*/
/*.align-center {text-align: center;}*/
/*.align-right {text-align: right;}*/
/*.va-top {vertical-align: top;}*/
/*.va-middle {vertical-align: middle;}*/
/*.va-bottom {vertical-align: bottom;}*/

body.modal-open > .container, 
body.modal-open > .container-lg {
    filter: blur(4px) !important;
}


#megamenutab .accordion-item {
    background: transparent;
}
#megamenutab > button {
    background: transparent;
    border-radius: 6px;
    color: #000000;
}
#megamenutab .accordion-collapse button:hover,
#megamenutab .accordion-collapse button.active {
    background: linear-gradient(to right, rgba(255,255,255,1) 20%, rgba(0,0,0,.12) 100%);
}

.atr-card {
    height: 100%;
    box-shadow: 0 5px 5px -6px rgba(0,0,0,0.7);
    border-top: none !important;
}
.atr-card > .carousel {
    position: relative;
}
.atr-card > .carousel > .carousel-indicators {
    bottom: -40px !important;
}
.atr-card > .carousel > .carousel-indicators > button {
    height: 7px;
}
.atr-card > .carousel > .carousel-inner {
    overflow: hidden !important;
    height: 220px;
    max-height: 220px;
    width: 100%;
    max-width: 100%;
}
.atr-card > .carousel > .carousel-inner > img {
    width: 100%;
    max-width: 100%;
    height: auto;
}
.atr-card > .carousel > .carousel-header {
    position: absolute;
    width: 100%;
    top: 0;
    /*background: rgba(64,5,11,0.6);*/
    background: rgba(66, 39, 91, 0.85);
}

.card-atr-megamenu {
    position: relative;
    height: 70px;
    background: linear-gradient(45deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 70%, rgb(225, 224, 234) 100%);
}
.card-atr-megamenu .card-body a {
    font-size: .9rem;
    display: inline-block;
    line-height: 1.2rem;
}
.card-atr-megamenu .card-footer {
    padding: 0;
    background: none;
    border: none;
    height: 0;
}
.card-atr-megamenu .card-footer img {
    position: absolute;
    bottom: -10px;
    left: 10px;
}




.card-atr {
    position: relative;
    height: 180px;
    background: linear-gradient(27deg,  rgba(255,255,255,1) 0%, rgba(255,255,255,1) 74%, rgb(144, 208, 217) 84%, rgb(135, 192, 208) 90%, rgba(255,255,255,1) 91%);
}
.card-atr:after {
    position: absolute;
    z-index: 1;
    right: -36px;
    top: 24px;
    content: "dispatchera.ru";
    text-shadow: 0 1px 2px rgba(0,0,0,.5);
    color: #ffffff;
    font-family: "Roboto";
    font-weight: 900;
    font-size: 12px;
    width: 150px;
    height: 150px;
    transform: rotate(28deg);
    opacity: 1;
}
.card-atr-gray {
    height: 160px;
    /*background: rgb(245, 245, 245) !important;*/
    background: rgb(250, 250, 250) !important;
    /*background: #eef5f6 !important;*/
    /*background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(250,250,250,1) 30%, rgba(240,244,245,1) 70%, rgba(255,255,255,1) 100%);*/
    /* rgb(233, 242, 245) */
}
.card-atr-gray:after {
    content: "";
    opacity: 0;
}
.card-atr .card-header {
    background: none;
    border: none;
    position: relative;
    z-index: 2;
}
.card-atr .card-header {
    padding-bottom: 0px;
}
.card-atr .card-header h4 {
    color: var(--danger);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 14px !important;
    text-align: center;
    margin-bottom: 0;
    text-shadow: 0px 0px 5px #FFFFFF, 0px 0px 5px #FFFFFF, 0px 0px 5px #FFFFFF;
}
.card-atr-gray .card-header h4 {
    color: var(--tan);
}
.card-atr .card-body {
    margin-bottom: 2px;
}
.card-atr .card-body ul.nav {
    margin-bottom: 10px;
    position: relative;
    z-index: 2;
}
.card-atr .card-body ul li {
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    text-decoration: underline;
    color: var(--darkblue);
}
.card-atr-gray .card-body ul li a.link-vinous {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}
.card-atr .card-footer {
    padding: 0;
    background: none;
    border: none;
    height: 0;
}
.card-atr .card-footer img {
    position: absolute;
    bottom: -22px;
    left: 10px;
}

.card-hover-1:hover {
    background: linear-gradient(45deg, rgb(255, 255, 255) 0%, rgb(255, 255, 255) 70%, rgba(227, 164, 164, 0.25) 100%);
}


.atblock {
    height: 107px;
    overflow: scroll;
}
.atlist {
    padding: 0;
    margin: 0;
    list-style: none;
}
.atlist li.active a, .atlist li a:hover {
    color: var(--danger);
    background: #ededed;
}
.atlist li a {
    display: block;
    text-decoration: none;
    text-align: start;
    padding: 5px 15px;
    margin: 0;
    border-bottom: 1px solid var(--gray);
    color: #595959;
}

/*.card-atr .card-header h4*/

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {

}
/* Small devices (landscape phones, 576px only) */
@media (min-width: 576px) and (max-width: 767.98px) {

}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {

}
/* Medium devices (tablets, 768px only) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .card-atr .card-header h4 {font-size: .75rem !important;}
    .card-atr .card-body ul {margin-bottom: 15px !important;}
    .card-atr .card-body ul li {line-height: 1rem !important;font-size: .55rem !important;}
    .card-atr .card-footer img {transform: scale(.7);left: -20px;}
    .logo img {transform: scale(.9);padding: 4px 0 4px 5px !important;}
    .slogan {font-size: .45rem !important; margin-top: 3px !important;}
    .skewBox, .skewBox a {line-height: 1.2rem !important; font-size: .9rem !important;}
    .skewBox img {transform: scale(.8);}
    .atlist a {font-size: .9rem !important;}
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {

}
/* Large devices (desktops, 992px only) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .card-atr .card-header h4 {font-size: .8rem !important;}
    .card-atr .card-body ul {margin-bottom: 15px !important;}
    .card-atr .card-body ul li {line-height: 1rem !important;font-size: .6rem !important;}
    .card-atr .card-footer img {transform: scale(.8);left: -15px;}
    .container, .container-lg, .container-md, .container-sm {max-width: 1050px !important;}
    .skewBox, .skewBox a {line-height: 1.2rem !important;}
    .skewBox img {transform: scale(.8);}
    .atlist a {font-size: .9rem !important;}
}

/* X-Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

}
/* X-Large devices (large desktops, 1200px only) */
@media (min-width: 1200px) and (max-width: 1399.98px) {
    .card-atr .card-header h4 {font-size: .85rem !important;}
    .card-atr .card-body ul li {line-height: 1rem !important;font-size: .65rem !important;}
    .card-atr .card-footer img {transform: scale(.9);left: 0px;}
}

/* XX-Large devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {

}

