html, body {
    min-height: 100vh;
    /*overflow-x: hidden;*/
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
}

footer.footer {
    padding: 10px;
    font-size: 0.75rem;
    background: #e2e6ea;
    color: rgba(0,0,0,0.7);
}

footer.footer a {
    text-decoration: none;
    color: rgba(0,0,0,0.7);

}

footer.footer a:hover {
    color: rgba(0,0,0,1);
}


footer.footer i {
    color: #ff6b3b;
}
.contact {
    margin: 4rem 0;
    color: #ff6b3b !important;
    font-size: 1rem;
}
footer.footer .contact a:hover {
    margin: 4rem 0;
    color: #343a40;
    font-size: 1rem;
}

.is-invalid .invalid-feedback-phone {
    display: block !important;
    width: 100%;
    margin-top: .25rem;
    font-size: 80%;
    color: #e3342f;
}


.md_menu {
    /*justify-content: center !important;*/
}

.md_menu ul li {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    align-content: center;
    margin: 0 10px !important;
}

.md_menu ul li.md_logo {
    min-width: 100px;
}

.md_menu ul li a.btn {
    border-radius: 0 !important;
    border: 1px solid #e2e6ea;
}

.md_menu ul li a.md_active {
    background-color: #e2e6ea;
}

@media (max-width: 768px) {
    .md_menu ul li {
        margin: 2px 0 !important;
    }

    .md_menu ul li a {
        display: block;
        width: 100%;
    }

    .md_menu ul li.md_logo {
        margin: 0 auto;
        max-width: 40%;
    }

}

.dropdown-menu a.btn {
    border-radius: 0 !important;
    border: none !important;
}

.dropdown-menu a.btn:hover {
    background-color: #e2e6ea;
}

button.md_btn {
    color: rgba(0,0,0,0.7);
}
button.md_btn:hover {
    color: rgba(0,0,0,1);
}

a.md_app_name {
    font-size: 1.5rem;
}

.md_index_icons i {
    margin: 4rem 0;
    color: #ff6b3b;
    font-size: 5rem;
}

.md_index_icons div div div {
    background-color: #f4f5f6;
    margin: 25px 5px;
    border: 1px solid #ff6b3b;
    border-radius: 0.5rem;
}

.md_index_icons div div div:hover {
    background-color: #e2e6ea;
    transition: all 500ms;
}

.m_page_service .accordion button {
    text-decoration: none;
}

.md_cabinet_index .card {
    margin: 10px;
}

.md_cabinet_index .md_icon i {
    margin: 0 10px;
    padding: 15px;
    border: 1px solid #ff6b3b;
    border-radius: 4px;
    color: #ff6b3b;
}

.md_cabinet_index .md_icon i:hover {
    background-color: #e2e6ea;
    transition: all 400ms;
}

span.md_count {
    font-size: 4rem;
}

.md_big_table {
    font-size: small;
}

.md_big_table th {
    font-size: small;
}

.md_big_table td {
    padding: 6px !important;
}

#loader1 {
    display: none;
}

.loader {

    background: rgba(224, 230, 234, 0.75);

    bottom: 0;
    left: 0;
    overflow: hidden;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 99999;
    height: 100%;
    width: 100%
}

.loader .l_main {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 172px;
    height: 128px;
    margin: 0;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%)
}

@media (max-width: 550px) {
    .loader {
        -webkit-transform: scale(0.75);
        transform: scale(0.75)
    }
}

@media (max-width: 440px) {
    .loader {
        -webkit-transform: scale(0.5);
        transform: scale(0.5)
    }
}

.l_square {
    position: relative
}

.l_square:nth-child(1) {
    margin-left: 0px
}

.l_square:nth-child(2) {
    margin-left: 44px
}

.l_square:nth-child(3) {
    margin-left: 88px
}

.l_square:nth-child(4) {
    margin-left: 132px
}

.l_square span {
    position: absolute;
    top: 0px;
    left: 20px;
    height: 36px;
    width: 36px;
    border-radius: 2px;
    background-color: #ff6b3b
}

.l_square span:nth-child(1) {
    top: 0px
}

.l_square span:nth-child(2) {
    top: 44px
}

.l_square span:nth-child(3) {
    top: 88px
}

.l_square:nth-child(1) span {
    -webkit-animation: animsquare1 2s infinite ease-in;
    animation: animsquare1 2s infinite ease-in
}

.l_square:nth-child(2) span {
    -webkit-animation: animsquare2 2s infinite ease-in;
    animation: animsquare2 2s infinite ease-in
}

.l_square:nth-child(3) span {
    -webkit-animation: animsquare3 2s infinite ease-in;
    animation: animsquare3 2s infinite ease-in
}

.l_square:nth-child(4) span {
    -webkit-animation: animsquare4 2s infinite ease-in;
    animation: animsquare4 2s infinite ease-in
}

.l_square span:nth-child(1) {
    -webkit-animation-delay: 0.00s;
    animation-delay: 0.00s
}

.l_square span:nth-child(2) {
    -webkit-animation-delay: 0.15s;
    animation-delay: 0.15s
}

.l_square span:nth-child(3) {
    -webkit-animation-delay: 0.30s;
    animation-delay: 0.30s
}

@-webkit-keyframes animsquare1 {
    0%, 5%, 95%, 100% {
        -webkit-transform: translate(0px, 0px) rotate(0deg);
        transform: translate(0px, 0px) rotate(0deg)
    }
    30%, 70% {
        -webkit-transform: translate(-40px, 0px) rotate(-90deg);
        transform: translate(-40px, 0px) rotate(-90deg)
    }
}

@keyframes animsquare1 {
    0%, 5%, 95%, 100% {
        -webkit-transform: translate(0px, 0px) rotate(0deg);
        transform: translate(0px, 0px) rotate(0deg)
    }
    30%, 70% {
        -webkit-transform: translate(-40px, 0px) rotate(-90deg);
        transform: translate(-40px, 0px) rotate(-90deg)
    }
}

@-webkit-keyframes animsquare2 {
    0%, 10%, 90%, 100% {
        -webkit-transform: translate(0px, 0px) rotate(0deg);
        transform: translate(0px, 0px) rotate(0deg)
    }
    35%, 65% {
        -webkit-transform: translate(-40px, 0px) rotate(-90deg);
        transform: translate(-40px, 0px) rotate(-90deg)
    }
}

@keyframes animsquare2 {
    0%, 10%, 90%, 100% {
        -webkit-transform: translate(0px, 0px) rotate(0deg);
        transform: translate(0px, 0px) rotate(0deg)
    }
    35%, 65% {
        -webkit-transform: translate(-40px, 0px) rotate(-90deg);
        transform: translate(-40px, 0px) rotate(-90deg)
    }
}

@-webkit-keyframes animsquare3 {
    0%, 15%, 85%, 100% {
        -webkit-transform: translate(0px, 0px) rotate(0deg);
        transform: translate(0px, 0px) rotate(0deg)
    }
    40%, 60% {
        -webkit-transform: translate(-40px, 0px) rotate(-90deg);
        transform: translate(-40px, 0px) rotate(-90deg)
    }
}

@keyframes animsquare3 {
    0%, 15%, 85%, 100% {
        -webkit-transform: translate(0px, 0px) rotate(0deg);
        transform: translate(0px, 0px) rotate(0deg)
    }
    40%, 60% {
        -webkit-transform: translate(-40px, 0px) rotate(-90deg);
        transform: translate(-40px, 0px) rotate(-90deg)
    }
}

@-webkit-keyframes animsquare4 {
    0%, 20%, 80%, 100% {
        -webkit-transform: translate(0px, 0px) rotate(0deg);
        transform: translate(0px, 0px) rotate(0deg)
    }
    45%, 55% {
        -webkit-transform: translate(-40px, 0px) rotate(-90deg);
        transform: translate(-40px, 0px) rotate(-90deg)
    }
}

@keyframes animsquare4 {
    0%, 20%, 80%, 100% {
        -webkit-transform: translate(0px, 0px) rotate(0deg);
        transform: translate(0px, 0px) rotate(0deg)
    }
    45%, 55% {
        -webkit-transform: translate(-40px, 0px) rotate(-90deg);
        transform: translate(-40px, 0px) rotate(-90deg)
    }
}


#delivery_paginate {
    text-align: center;
}

#delivery_paginate a.paginate_button,
#delivery_paginate a#delivery_previous,
#delivery_paginate a#delivery_next {
    cursor: pointer;
    margin: 0 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid #343a40;
    line-height: 1.5;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    color: #343a40;
    background-color: transparent;
    background-image: none;
    padding: 0.25rem 0.5rem;
    font-size: 0.875rem;
    border-radius: 0.2rem;
}

#delivery_paginate a.current {
    color: #fff;
    background-color: #343a40;
    border-color: #343a40;
}

#delivery_paginate a.paginate_button:hover,
#delivery_paginate a#delivery_previous:hover,
#delivery_paginate a#delivery_next:hover {
    color: #fff;
    background-color: #343a40;
    border-color: #343a40;
}

#delivery_paginate a.disabled:hover {
    background-color: transparent !important;
    background-image: none !important;
    color: #343a40 !important;
}
