/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 *                                                         *
 *     UBL                                                 *
 *     https://ubl.com.ru                                  *
 *     Copyright 2019 ООО „Уралбизнеслогистика“            *
 *                                                         *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */

html {
    font-size: 0.9375em;
}

body {
    font-family: 'Montserrat';
    font-weight: 400;
    letter-spacing: 0.0200em;
    color: #000;
    background-color: #fff;
    /* Fix Modal zoom out */
    padding-right: 0px !important;
}

h1,
h2,
h3,
h4,
h5 {
    letter-spacing: +.0250em;
}

h6 {
    letter-spacing: +.0125em;
}

.overflow-x-hidden {
    overflow-x: hidden;
}

.btn {
    letter-spacing: +.0300em;
}

.nav-link {
    font-weight: 500;
    letter-spacing: +.0250em;
}

.dropdown-item,
.nav-contact-email,
.nav-contact-email-sm {
    font-family: 'Montserrat';
}

.dropdown-menu {
    min-width: 0rem;
}

.font-weight-normal {
    font-weight: 400;
    letter-spacing: +.0125em;
}

.font-weight-medium {
    font-weight: 500;
    letter-spacing: +.0125em;
}

.font-variant-numeric {
    font-feature-settings: "tnum";
}

.font-variant-alternate {
    font-feature-settings: "aalt" 1;
    /*Alternates – "aalt" 1; Stylistic Sets – "ss01*/
    -webkit-font-feature-settings: "aalt" 1;
    -moz-font-feature-settings: "aalt" 1;
}

.font-reset {
    font-family: 'Montserrat';
}

/* Remove the gap on the bottom of containers */
audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

video {
    height: 100%;
    width: 177.77777778vh;
    /* 100 * 16 / 9 */
    min-width: 100%;
    min-height: 56.25vw;
    /* 100 * 9 / 16 */
    left: 50%;
    /* % of surrounding element */
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: -1000;
}

.rounded-50 {
    border-radius: 0.5rem !important;
}

.motto-mark {
    /* background-color: rgba(0, 123, 255, 0.75); */
    /* background-color: rgba(108, 117, 125, 0.025);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); */
    text-shadow: 0px 1px #6c757d;
}

.page-not-found {
    background: url(../assets/image/poster/englishbay.jpg) center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.navbar-light .nav-contact-tel-sm {
    color: rgba(0, 0, 0, 0.75);
}

.navbar-dark .nav-contact-tel-sm {
    color: rgba(255, 255, 255, 1.0);
}

.navbar-light .nav-contact-email-sm {
    color: rgba(0, 0, 0, 0.5);
}

.navbar-dark .nav-contact-email-sm {
    color: rgba(255, 255, 255, 0.5);
}

.navbar-light .nav-contact-email {
    color: #343a40;
}

.navbar-dark .nav-contact-email {
    color: #fff;
}

.form-control-name {
    letter-spacing: +.0500em;
}

.form-control-tel {
    letter-spacing: +.1000em;
}

/* .navbar-light .nav-contact-tel {
    color: rgba(0, 0, 0, 0.75);
} */

.navbar-dark .nav-contact-tel {
    color: rgba(255, 255, 255, 1.0);
}

/* Fix moving Modal background
   https://stackoverflow.com/questions/25070144 */
.modal-open {
    overflow: hidden;
    overflow-y: scroll;
    padding-right: 0 !important;
}

/*
.card-img-overlay {
    background-color: rgba(0, 0, 0, 0.5) !important;
}
*/

.chevron::before {
    border-style: solid;
    border-width: 0.25em 0.25em 0 0;
    content: '';
    display: inline-block;
    height: 20px;
    position: relative;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    vertical-align: top;
    width: 20px;
}

.chevron.right:before {
    left: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.chevron.bottom:before {
    top: 0;
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
}

.chevron.left:before {
    left: 0.25em;
    -webkit-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

.chevron {
    margin-top: 20px;
    display: block;
    -webkit-animation: pulse 2s infinite;
    animation: pulse 2s infinite;
    color: #fff;
}

@-webkit-keyframes pulse {
    0% {
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
    }

    50% {
        -webkit-transform: translate(0, 10px);
        transform: translate(0, 10px);
    }

    100% {
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
    }
}

@keyframes pulse {
    0% {
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
    }

    50% {
        -webkit-transform: translate(0, 10px);
        transform: translate(0, 10px);
    }

    100% {
        -webkit-transform: translate(0, 0);
        transform: translate(0, 0);
    }
}

.card-img-overlay:hover {
    background-color: rgba(0, 0, 0, 0.35) !important;
    border-radius: inherit;
}

.card:hover {
    transform: scale(1.0125);
    transition: all 0.25s;
}

/*
button:hover {
    transform: scale(1.025);
    transition: all 0.25s;
}
*/

.btn-pop:hover {
    transform: scale(1.025);
    transition: all 0.25s;
}

/* https://stackoverflow.com/questions/34140793 */
@media (min-width: 576px) {
    .card-columns {
        column-count: 2;
    }

    .card-columns-cases {
        column-count: 2;
    }
}

@media (min-width: 768px) {
    .card-columns {
        column-count: 2;
    }

    .card-columns-cases {
        column-count: 2;
    }
}

@media (min-width: 992px) {
    .card-columns {
        column-count: 4;
    }

    .card-columns-cases {
        column-count: 4;
    }
}

@media (min-width: 1200px) {
    .card-columns {
        column-count: 4;
    }

    .card-columns-cases {
        column-count: 4;
    }
}

.bg-dark-30 {
    background-color: rgba(52, 58, 64, 0.3) !important;
    border-radius: inherit;
}

.bg-light-65 {
    background-color: rgba(248, 249, 250, 0.45) !important;
}

.bg-primary-65 {
    background-color: rgba(0, 123, 255, 0.65) !important;
}

.bg-blur {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.vh-75 {
    height: 75vh;
}

.vh-max-75 {
    max-height: 75vh;
}

.vh-min-25 {
    min-height: 25vh;
}

.vh-min-75 {
    min-height: 75vh;
}

.vh-min-100 {
    min-height: 100vh;
}

.svg-logotype-path-sign {
    fill: #007ec0;
}

.svg-logotype-path-sign-light {
    fill: #f8f9fa;
}

.svg-logotype-path-name {
    fill: #000;
    fill-rule: nonzero;
}

.svg-logotype-path-name-light {
    fill: #fff;
    fill-rule: nonzero;
}

.svg-logotype {
    width: 264px;
    height: 102px;
}

.svg-logotype-path {
    fill: #fff;
    stroke: #fff;
    stroke-width: 2;
    fill-rule: evenodd;
    clip-rule: evenodd;
    stroke-linejoin: miter;
    stroke-miterlimit: 3;
    stroke-dasharray: 1200;
    opacity: 1;
    animation: svg-logotype-animation 1.1s cubic-bezier(0, 0.23, 1, .1);
    animation-fill-mode: forwards;
}

@keyframes svg-logotype-animation {
    0% {
        opacity: 0;
        fill: none;
        stroke-dashoffset: 1200;
    }

    30% {
        opacity: 1;
        fill: none;
        stroke-dashoffset: 1200;
    }

    90% {
        fill: rgba(255, 255, 255, 0)
    }

    100% {
        opacity: 1;
        fill: rgba(255, 255, 255, 0.1);
        stroke-dashoffset: 0;
    }
}

.custom-file-label::after {
    content: "📂";
}

/* Fix Navbar overlapping „Заявка на поставку товара“
   on clicking button „Составить“
   https://stackoverflow.com/a/39526874
*/
.request-goods-anchor {
    margin-top: -6rem;
    margin-bottom: 6rem;
}

.section-anchor {
    margin-top: -5.25rem;
    margin-bottom: 5.25rem;
}