@media screen and (min-width: 1140px) {
    html {
        zoom: 1.2;
    }
}

.content {
    flex: 1 1 auto;
    padding-top: 110px;
    width: 100%;
}

body, .tingle-content-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.page-footer {
    display: flex;
    min-height: 50px;
    text-align: center;
    font-size: 14px;
}

header {
    position: fixed;
    display: flex;
    width: 100%;
    min-height: 80px;
    background-color: white;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.15);
    font-size: 14px;
    transition: 0.2s;
    padding: 0 calc(0.4rem + 4.2%);
    z-index: 101;
}


/************************************************

                   Z-index

************************************************/

.hamburger {
    z-index: 412;
}

.tingle-modal {
    z-index: 413;
}

.tingle-modal.nav-opened {
    z-index: 411;
}

.navbar { /* Верхнее меню */
    z-index: 390;
}


/************************************************

           Navbar + fullscreen

************************************************/

@media (max-width: 700px) {
    .hamburger {
        display: block;
    }

    .main-nav {
        display: none;
    }
}


.tingle-modal.nav-opened {
    z-index: 11;
}

.navbar-section.main-nav-container:not(:first-child):last-child {
    justify-content: space-between;
    flex: 1 0 auto;
    min-height: 80px;
}

.main-nav {
    line-height: normal;
}

.main-nav ul:first-child {
    list-style-type: none;
    margin: 0;
    line-height: 1.2rem;
}

.main-nav ul:first-child li {
    display: inline-flex;
    padding: 0 20px 0 0;
    margin: 0;
    font-size: 0.7rem;
    /*letter-spacing: 1px;*/
}

.main-nav ul li:last-child {
    padding-right: 0;
}

.main-nav a {
    display: block;
    color: black;
    font-weight: 600;
    text-decoration: none;
    transition: all 200ms ease;
}

.main-nav a.is-active,
.main-nav a:hover,
.navbar:not(.nav-opened) .parent:hover > a {
    color: #1e7fec;
}

.main-nav ul ul {
    display: none;
}

.main-nav ul ul a:hover {
    color: #2cbe64;
    opacity: 1;
}

.main-content .btn {
    margin-bottom: 20px;
}

/* Выпадающее меню */

.navbar .parent {
    position: relative;
}

.navbar:not(.nav-opened) .parent:hover ul,
.navbar:not(.nav-opened) .parent.is-active ul {
    position: absolute;
    display: block;
    background-color: white;
    padding: 30px;
    width: 250px;
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.15);
    border-radius: 10px;
    margin: 0;
    top: 20px;
    left: -30px;
    animation-duration: 200ms;
    animation-name: kukuMenu;
}

@keyframes kukuMenu {
    from {
        opacity: 0;
        top: 0;
    }
    to {
        opacity: 1;
        top: 20px;
    }
}

.navbar:not(.nav-opened) .parent:hover ul li,
.navbar:not(.nav-opened) .parent.is-active ul li {
    display: block;
}

.navbar:not(.nav-opened) .parent:hover ul li a,
.navbar:not(.nav-opened) .parent.is-active ul li a {
    display: block;
    padding: 5px 0;
    text-transform: inherit;
    font-weight: normal;
}

/***********  Мобильное меню  ***********/

.nav-opened .tingle-modal-box {
    background: transparent;
}

.nav-opened {
    justify-content: space-between;
}

.nav-opened .main-nav-container {
    display: flex;
    flex-direction: column-reverse;
    width: 100%;
    height: 100%;
    background: transparent;
}

.nav-opened .phone,
.nav-opened .main-nav {
    width: 100%;
    display: block;
}

/*****************  Блок телефона в открытом меню  ****************/

.nav-opened .phone {
    margin-bottom: 30px;
}

.nav-opened .phone a {
    color: white;
    font-size: 1.2rem;
    font-weight: normal;
}

.nav-opened .phone .phone-title {
    font-size: .6rem;
    letter-spacing: 1px;
    font-weight: normal;
    text-transform: none;
    display: block;
    color: white;
}

/*****************  Оформление пунктов  ****************/

.nav-opened a {
    color: white;
}

.nav-opened .main-nav {
    width: 70%;
    margin: 0 auto;
}

.nav-opened .main-nav ul {
    line-height: normal;
}

.nav-opened .main-nav ul li {
    display: block;
    font-size: 1.4rem;
    line-height: 3rem;
}

.nav-opened .main-nav a {
    text-transform: none;
    font-weight: normal;
}

/*****************  Родители  ****************/

.nav-opened .parent > a:after {
    content: '\25bc';
    font-size: 17px;
    color: #3bc670;
    margin-left: 10px;
}

.nav-opened .parent ul {
    display: none;
}

.nav-opened .parent.is-active ul {
    display: block;
    margin: 0;
    padding-left: 40px;
}

.nav-opened .parent.is-active li {
    font-size: .9rem;
    position: relative;
}

.nav-opened .parent.is-active li a:before {
    content: '';
    background-color: #3bc670;
    width: 15px;
    height: 2px;
    display: block;
    position: absolute;
    left: -30px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-opened a:hover,
.nav-opened ul li > a:active,
.nav-opened ul li > a:focus,
.nav-opened .parent.is-active > a,
.nav-opened .is-active a:active,
.nav-opened .parent.is-active li a:active,
.nav-opened .parent.is-active li a:focus {
    color: #3bc670;
    opacity: 1;
}


/*********** Пункты только для мобил ***********/
.main-nav ul:first-child li.display-for-phones,
.main-nav ul:first-child li:hover li.display-for-phones,
.display-for-phones {
    display: none;
}


/************************************************

                   Show hide box

************************************************/

.show-hide-box-container {
    margin-top: 20px;
}

.show-hide-box-activator {
    cursor: pointer;
    user-select: none;
}

.show-hide-box-activator-icon {
    font-size: 12px;
}

.show-hide-box-content {
    margin-top: 20px;
}

.show-hide-box-content.hide {
    display: none;
}


/************************************************

                   Icons

************************************************/


.good-item {
    position: relative;
}

#goods_line_first .icon--delete-row {
    display: none;
}

a.icon--delete-row {
    position: absolute;
    left: 80px;
    top: 2px;
    font-size: .7rem;
    color: red;
}

.icon--delete-row:hover {
    opacity: .6;
    transition: 300ms ease opacity;
}

option span {
    display: none !important;
}


body {
    counter-reset: section;
}

#goods_container .form-group::before {
    counter-increment: section;
    content: "Позиция " counter(section);
    font-size: .7rem;
    color: #888888;
    margin-bottom: .4rem;
    display: inline-block;
}

.link-blue,
.link-blue:visited,
.link-blue:active,
.link-blue:focus {
    color: #1e7fec;
}



@media (max-width: 600px) {

    .mb-sm-4 {
        margin-bottom: .4rem;
    }

    .mb-sm-8 {
        margin-bottom: 1rem !important;
    }

}


/************************************************

                   Custom

************************************************/

.online .status {
    color: #32c96c;
}

.online {
    background-color: #edf5ef;
}

.btn-save-lg {
    width: 60px !important;
    height: 60px !important;
    padding: 0 !important;
    border-radius: 60px !important;
    position: fixed;
    bottom: 40px;
    right: 40px;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTE5LjUuOGMtLjYtLjUtMS4yLS44LTEuOS0uOEgyLjdDMS4yIDAgMCAxLjIgMCAyLjd2MTguN0MwIDIyLjggMS4yIDI0IDIuNyAyNGgxOC43YzEuNSAwIDIuNy0xLjIgMi43LTIuN1Y2LjRjMC0uNy0uMy0xLjQtLjgtMS45LS4xLjEtMy44LTMuNy0zLjgtMy43ek0xMiAyMS4zYy0yLjIgMC00LTEuOC00LTRzMS44LTQgNC00IDQgMS44IDQgNC0xLjggNC00IDR6TTEzLjMgOGgtOEMzLjkgOCAyLjcgNi44IDIuNyA1LjNzMS4yLTIuNyAyLjctMi43aDhjMS41IDAgMi43IDEuMiAyLjcgMi43UzE0LjggOCAxMy4zIDh6Ii8+PC9zdmc+Cg==') !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: 24px !important;
    box-shadow: 4px 4px 6px rgba(0, 0, 0, .2);
}

.orders-list-item:hover,
.orders-list-item:nth-child(even):hover{
    background-color: #e8f4ed;
    transition: background-color 400ms ease;
}

.orders-list-item {
    /*border-top: .05rem solid #dadee4;*/
    padding: .9rem .5rem;
}

.orders-list-item:last-child {
    border-bottom: .05rem solid #dadee4;
}

.orders-list-item:nth-child(even) {
    background-color: #f7f8f9;
}

.orders-list--date {
    line-height: 1;
    font-size: .6rem;
    color: gray;
    padding-top: .3rem;
}


.orders-list--goods,
.orders-list--delivery,
.orders-list--type,
.orders-list--status {
    font-size: .9em;
}

.orders-list--no-docs,
.orders-list--no-pay,
.orders-list--status-3 {
    color: #e41313;
}


.orders-list--docs,
.orders-list--pay,
.orders-list--status-2 {
    color: #32c96c;
}

.dd-relative-container {
    position: relative;
}

.dd-btn {
    position: relative;
    z-index: 9;
}

.show .dd-select-hover {
    display: block;
}

.dd-select-hover {
    position: absolute;
    z-index: 10;
    left: -30px;
    top: auto;
    background: #fff;
    padding: 20px;
    width: 170px;
    box-shadow: 0 5px 10px 0 rgb(0 0 0 / 15%);
    border-radius: 7px;
    list-style: none;
    margin: 0;
    display: none;
}

.dd-select-hover.bottom-position {
    top: auto;
    bottom: 20px;
}


.dd-select-hover li {
    margin: .5rem .4rem;
}


.menu-hover-title {
    margin-top: 0;
    font-size: .6rem;
    font-weight: bold;
}

.btn-round {
    padding: .25rem;
}


/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.85); /* Black w/ opacity */
    -webkit-overflow-scrolling: touch;
}

/* Modal Content/Box */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 90%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.modal-close {
    color: #aaa;
    position: absolute;
    right: 20px;
    top: 10px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}

.modal-modal:hover,
.modal-close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.blur {
    filter: blur(5px);
}

.goods_item_price_label {
    position: relative;
    display: block;
}

.goods_item_price_label input {
    /*padding-left: 30px;*/
}

.goods_item_price_label .clear_icon {
    position: absolute;
    top: -20px;
    right: 5px;
    height: 20px;
    display: block;
    font-size: .6rem;
}

.upload-file-icon {
    display: inline-block;
    vertical-align: top;
}


/* tabs */

.tab .tab-item a {
    padding: .4rem .8rem .3rem .8rem;
}

.tab-content {
    display: none;
}


.tab-content {
    animation: fadeEffect 500ms; /* Fading effect takes 1 second */
}

/* Go from zero to full opacity */
@keyframes fadeEffect {
    from {opacity: 0;}
    to {opacity: 1;}
}




#bar_blank {
    border: solid 1px #000;
    height: 20px;
    width: 300px;
}

#bar_color {
    background-color: #006666;
    height: 20px;
    width: 0px;
}

#bar_blank, #hidden_iframe {
    display: none;
}


#modalMsg .modal-content{
    max-width: 600px;

}