@media screen and (max-width:999px) {
    html, body {
        background-color: #000 !important;
    }
    #wrapper {
        width: 100%;
        max-width: 100vw;
        min-height: 100vh;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        position: relative;
        background-color: #000;
    }
    #header {
        position: relative;
        z-index: 10;
        width: 100vw;
        max-width: 100vw;
        padding: 20px 2.5vw;
        background-color: var(--i-bg-dark);
        display: flex;
        justify-content: space-between;
        align-items: flex-start;    
    }
    #branding {
        width: auto;
        max-width: none;
    }
    .site-logo {
        width: 30vw !important;
        max-width: 30vw !important;
        height: auto !important;
    }
    #site-description {
        margin-top: 20px;
        text-transform: uppercase;
        color: var(--i-text-dark);
        font-size: .8rem;
    }
    #header_contacts {
        width: auto;
        max-width: none;
    }
    .cont-data {
        display: block;
        margin-bottom: 10px;
        font-weight: bold;
        font-size: .8rem;
    }
    .cont-data:hover {
        color: var(--i-color-accent);
    }
    .cont-city {
        font-size: .8rem;
        margin-top: 10px;
        font-weight: bold;  
        color: var(--i-text-light);
    }
    #menu {
        display: none;
    }
    #menu-main {
        display: none;
    }
    #menu-main li {
        margin-top: 10px;
    }
    #menu-main li a {
        font-size: .75rem;
        font-weight: bold;
        text-transform: uppercase;
        border-bottom: 2px solid rgba(255, 196, 0, 0);
    }
    #menu-main li a:hover {
        color: var(--i-color-accent);
        border-bottom: 2px solid rgba(255, 196, 0, 1);
    }
    
    #container {
        margin: 0 auto;
        flex-grow: 1;
        width: 100vw;
        max-width: 100vw;
        padding-bottom: 20px;
        background-color: var(--i-page-bg);
    }
    .header {
        width: 100%;
        max-width: 100%;   
        height: 110px;
        min-height: 110px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 20px;
        background-color: var(--i-bg-dark);
        color: var(--i-text-light);
    }
    .entry-title {
        text-transform: uppercase;
        font-weight: bold;
        font-size: 1.5rem;
        text-align: center;
        color: #fff;
    }
    .entry-content {
        width: 100vw;
        max-width: 100vw;
        margin: 0 auto;
    }
    .mp-section {
        padding: 40px 0 0 0;
        position: relative;
    }
    .section-fullwidth {
        width: 100%;
        max-width: 100%;
    }
    .section-narrow {
        margin: 0 auto;
        width: 90%;
        max-width: 90%;
    }
    .section-inside {
        position: relative;
        z-index: 5;
    }
    .mp-section:before {
        content:'';
        position: absolute;
        width: 120%;
        max-width: 120%;
        height: 20vh;
        min-height: 20vh;
        left: -10%;
        top: 70px;
        z-index: 1;
        background-color: var(--i-bg-dark);
    }
    .section-header {
            
    }
    .section-title {
        position: relative;
        font-weight: bold;
        font-size: 1.5rem;
        color: #fff;
    }
    .section-title:after {
        content:'';
        position: absolute;
        bottom: -10px;
        lefT: 0;
        width: 50px;
        height: 3px;
        min-height: 3px;
        background-color: var(--i-color-accent);
    }
    .section-content {
        margin-top: 60px;
    }
    .section-services {
        padding-top: 0;
        padding-bottom: 60px;
    } 
    .section-services .section-inside {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: flex-start;
    }
    .block-service {
        width: 100%;
        max-width: 100%;
        height: 250px;
        min-height: 250px;
        padding: 20px;
        position: relative;
        flex-grow: 1;
        background-position: center;
        background-size: cover;
        background-repeat: no-repeat;    
        filter: grayscale(100%);
    }
    .block-service:hover {
        padding: 20px 60px;
        flex-grow: 2;
        filter: none;
        opacity: 1;
    }
    .servise-title {
        padding: 10px;
        text-transform: uppercase;
        font-size: 1.5rem;
        color: var(--i-text-light);
        background-color: var(--i-page-bg);
    }
    .block-service:hover .servise-title {
        background-color: var(--i-color-accent);
        color: #000;
    }
    .items-wrapper {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        flex-wrap: wrap;
    }
    .item {
        margin-bottom: 2px;
        width: 100%;
        max-width: 100%;
        border: 1px solid var(--i-text-dark);
    }
    .item-img-container {
        display: block;
        width: 100%;
        max-width: 100%;
        min-height: 250px;
        height: 250px;
        overflow: hidden;
    }
    .item-img-container:hover {
        opacity: 1;
    }
    .item-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .item:hover .item-img {
        transform: scale(1.07,1.07);
    }
    .item-info-container {
        
    }
    .item-title {
        padding: 16px;
        font-size: 20px;
        font-weight: bold;
        color: var(--i-text-light);
    }
    .item-descr {
        padding: 16px;
        color: var(--i-text-dark);
    }
    
    #footer {
        flex-grow: 0;
        width: 100%;
        max-width: 100%;
        padding: 60px 0;   
        background-color: var(--i-bg-dark);
    }
    #copyright {
        margin-left: 2.5vw;
        color: var(--i-text-light);
    }
    .totop-container {
        width: 60px;
        max-width: 60px;
        min-height: 60px;
        height: 60px;
        position: fixed;
        right: 20px;
        bottom: -100px;
        opacity: 0;
        z-index: 5;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        background-color: var(--i-color-accent);
        cursor: pointer;
    }
    .totop-container:hover {
        width: 65px;
        max-width: 65px;
        min-height: 65px;
        height: 65px;  
        right: 18.5px;
        bottom: 18.5px;
    }
    .totop-visible {
        bottom: 20px;
        opacity: 1;
    }
    .totop-container:after {
        content:'';
        width: 20px;
        max-width: 20px;
        min-width: 20px;
        height: 20px;
        min-height: 20px;
        border-right: 2px solid var(--i-bg-dark);
        border-top: 2px solid var(--i-bg-dark);
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
}