:root {
    /*-- Colors --*/
    --cl-orange: rgb(239,127,27);
    --cl-red: rgb(204,38,38);
    --cl-grey-transparent: rgba(225, 225, 225, .5);
    --cl-grey: rgb(225, 225, 225);
    --cl-wtite-transparent: rgba(255, 255, 255, .75);
}
::selection {background: rgba(239, 127, 27, .5); color: #000000; text-shadow: none;}
.line-gray{border: 1px solid var(--cl-grey); margin: 1em .5em; box-shadow: -1px 0 5px 1px rgba(225, 225, 225, .7), -1px 0 5px 1px rgba(225, 225, 225, .7);}
.line-black{border: 1px solid rgba(0, 0, 0, .2); margin: 1em .5em; box-shadow: -1px 0 5px 1px rgba(0, 0, 0, .1), -1px 0 5px 1px rgba(0, 0, 0, .1);}
.align-l {text-align: left;}
.align-c {text-align: center;}
.align-r {text-align: right;}
.offset10 {margin-top: 10px;}
.offset20 {margin-top: 20px;}
.offset30 {margin-top: 30px;}
.offset40 {margin-top: 40px;}
.offset50 {margin-top: 50px;}
.h1 {display: block; font-size: 2em; margin: 1em 0; font-weight: 600;}
.h2 {display: block; font-size: 1.5em; margin: 1em 0; font-weight: 600;}
.h3 {display: block; font-size: 1.2em; margin: 1em 0; font-weight: 600; border-bottom: 2px dashed; width: max-content;}
.tab::before {content: "   "; white-space: pre-wrap;}
.box {
    background: var(--cl-grey-transparent);
    border-radius: 5px;
    padding: 5px;
    margin-top: 2%;
    margin-bottom: 2%;
}
.box .list {
    display: flex;
    justify-content: space-around;
}
body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5em;
    margin: 0 auto;
    background: url(../img/background.png);
    background-size: 100px 100px;
}
a {
    color: var(--cl-orange);
}
button, input {
    padding: 7px 15px;
    border-radius: 9px;
    outline: none;
    border: 1px solid var(--cl-grey);
}
button {
    background-color: var(--cl-orange);
    color: #ffffff;
    font-weight: 600;
}
button:hover {
    cursor: pointer;
    text-decoration: underline #ffffff;
}
img, table {width: 100%;}
@keyframes flash-tricolor {50% {color: #ffffff; text-shadow: 0 -1px #000000, 0 0 5px #ff0000, 0 0 8px #ffffff;}}
@-webkit-keyframes flash-tricolor {50%{color: #ffffff; text-shadow: 0 -1px #000000, 0 0 5px #ff0000, 0 0 8px #ffffff;}}
@-webkit-keyframes flash-red-orange {0%{color: #ff0000;}50%{color: var(--cl-orange);}100%{color: #ff0000;}}
@keyframes flash-red-orange {0%{color: #ff0000;}50%{color: var(--cl-orange);}100%{color: #ff0000;}}
.active-page {
    background-color: rgba(230, 230, 230, .5);
    box-shadow: 0 0 3px 3px rgba(0, 0, 0, .3);
}

/*-- SlideBar --*/
.menu-btn {
    display: inline-block;
    cursor: pointer;
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 99;
}
.slide-bar {
    display: none;
    background-color: var(--cl-orange);
    position: fixed;
    font-weight: 600;
    color: #ffffff;
    right: 0;
    top: 0;
    width: 25%;
    height: 100%;
    z-index: 97;
}
.bar1, .bar2, .bar3 {
    width: 35px;
    height: 5px;
    background-color: var(--cl-red);
    margin: 6px 0;
    transition: 0.4s;
}
.contact-in-bar {
    position: absolute;
    right: 25px;
    bottom: 60px;
}
.contact-in-bar, .contact-in-bar a {
    color: #ffffff;
    line-height: 150%;
}
.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px) ;
    transform: rotate(-45deg) translate(-9px, 6px) ;
    background-color: #ffffff;
}
.change .bar2 {opacity: 0;}
.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px) ;
    transform: rotate(45deg) translate(-8px, -8px) ;
    background-color: #ffffff;
}
.menu {
    display: block;
    font-size: 18px;
}
.menu li, .menu span {
    list-style: none;
    margin-top: 5px;
    margin-bottom: 5px;
    cursor: pointer;
    max-inline-size: max-content;
    padding: 10px;
    border-radius: 10px;
    text-shadow: 0 0 10px #000000;
}
.menu a {
    text-decoration: none;
    color: #ffffff;
}
.menu li:hover {
    background-color: var(--cl-grey-transparent);
    box-shadow: 0 0 3px 3px rgba(0, 0, 0, .5);
    transition: .4s;
}
.submenu {display: none;}

/*-- ContactText main style--*/
.contact-text {
    color: var(--cl-red);
    font-weight: 600;
    text-align: center;
    float: right;
}

/*-- Header --*/
.header {
    max-width: 1024px;
    margin: 0 auto;
    display: flex;
    padding: 1%;
    justify-content: space-between;
    align-items: center;
    z-index: 98;
}
.logo img {
    width: 45px;
    height: 50px;
}
.header .contact-text {display: block;}

/*-- Page --*/
.wrapper-first-page {
    max-width: 1024px;
    margin: 0 auto;
    display: block;
}
.wrapper {
    max-width: 1024px;
    margin: 0 auto;
    display: grid;
    grid-gap: 1%;
    grid-template-columns: 3fr 1fr;
    grid-template-areas:
            "caption caption"
            "left-content right-content"
            "footer footer";
}

/*-- CaptionPage --*/
.caption {
    grid-area: caption;
    display: block;
    padding: 0 1%;
}
.map-link {
    display: block;
    color: #6e6e6e;
    font-size: 85%;
    font-weight: 600;
}
.caption .contact-text {
    display: none;
}

.i1 {grid-area: i1;}
.i2 {grid-area: i2;}
.i3 {grid-area: i3;}
.i4 {grid-area: i4;}
.i5 {grid-area: i5;}
.i6 {grid-area: i6;}
.i7 {grid-area: i7;}
.i8 {grid-area: i8;}
.t1 {grid-area: t1;}
.t2 {grid-area: t2;}
.t3 {grid-area: t3;}
.t4 {grid-area: t4;}
.t5 {grid-area: t5;}
.t6 {grid-area: t6;}
.t7 {grid-area: t7;}
.t8 {grid-area: t8;}

/*-- LeftContent --*/
.left-content {
    grid-area: left-content;
    grid-column: 1 / 2;
    padding: 1% 1%;
    text-align: justify;
    background-color: var(--cl-wtite-transparent);
    border-radius: 5px;
}
.label-discount {
    display: block;
    font-size: 1.5em;
    line-height: 1.5em;
    margin: 1em 0;
    font-weight: 600;
    white-space: pre;
    text-shadow: 3px 3px 2px #6e6e6e;
    animation: flash-red-orange 2s linear infinite;
    -webkit-animation: flash-red-orange 2s linear infinite;
}
.description-discount {white-space: pre;}
.main-grid {
    text-align: center;
    display: grid;
    grid-template-areas:
            "i1 i2 i3 i4"
            "t1 t2 t3 t4";
}
.main-grid img {
    width: 50px;
    height: 50px;
}
.small-widget {
    background: linear-gradient(to right, rgba(239,127,27,.5), var(--cl-grey-transparent));
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-radius: 15px;
    box-shadow: 0 0 15px 5px #919191;
}
.small-widget span {
    color: #737373;
    padding: 10px 20px;
    border-radius: 10px;
    text-shadow: 3px 3px 5px var(--cl-red);
}
.small-widget .messages {display: none;}
.gallery {display: flex;}
.grid-services {
    display: grid;
    grid-gap: 1%;
    align-items: center;
    grid-template-areas:
            "i1 t1 i2 t2 i3 t3"
            "i4 t4 i5 t5 i6 t6";

}


/*-- RightContent --*/
/*.wrapper-first-page .right-content {display: none;}*/
.right-content {
    grid-area: right-content;
    grid-column: 2 / 3;
    padding: 0 1%;
    background-color: var(--cl-grey-transparent);
    border-radius: 5px;
}
.widget {
    text-align: center;
    font-size: 120%;
    font-weight: 600;
    color: var(--cl-orange);
}
.widget button, .widget input {
    margin-top: 2%;
    width: 85%;
}
.flash-tricolor {
    text-shadow: 0 -1px #ffffff;
    animation: flash-tricolor 1.5s linear infinite;
    -webkit-animation: flash-tricolor 1.5s linear infinite;
}
.small-text {
    color: #000000 !important;
    font-size: 12px !important;
    font-weight: 300 !important;
    line-height: 100% !important;
}

/*-- Footer --*/
.footer {
    grid-area: footer;
    grid-column: 1 / 3;
    display: grid;
    grid-template-areas: "f1 f2 f3 f4";
    background-color: var(--cl-grey-transparent);
    font-size: 85%;
    padding: 1%;
    border-radius: 5px;
}
.f1 span, .f2 span {float: left;}
.f3 span, .f4 span {float: right;}
.f1 {grid-area: f1;}
.f2 {grid-area: f2;}
.f3 {grid-area: f3;}
.f4 {grid-area: f4;}

/*-- Media --*/
@media screen and (max-device-width: 1024px) {
    .slide-bar {
        width: 50%;
        padding-top: 60px;
    }
    .menu-btn {top: 18px;}
    .header {
        width: 1024px;
        position: fixed;
        background-color: var(--cl-grey);
    }
    .header .contact-text {display: none;}
    .wrapper-first-page {padding-top: 65px;}
    .wrapper {padding-top: 80px;}
    .caption .contact-text {display: block;}
}
@media screen and (max-device-width: 812px) {
    .slide-bar {padding-top: 40px;}
    .menu-btn {
        top: 15px;
        right: 5px;
    }
    .bar1, .bar2, .bar3 {
        width: 20px;
        height: 2px;
        margin: 3px 0;
    }
    .change .bar1 {
        -webkit-transform: rotate(-45deg) translate(-4px, 3px) ;
        transform: rotate(-45deg) translate(-4px, 3px) ;
    }
    .change .bar3 {
        -webkit-transform: rotate(45deg) translate(-4px, -4px) ;
        transform: rotate(45deg) translate(-4px, -4px) ;
        background-color: #ffffff;
    }
    .menu li, .menu span {padding: 3px 5px; margin-top: 2px; margin-bottom: 2px;}
    .wrapper-first-page {padding-top: 40px;}
    .wrapper {padding-top: 60px;}
    .logo img {
        width: 118px !important;
        height: 32px !important;
    }
    .gallery {
        display: block;
        margin-bottom: -20vh;
    }
    .right-content {margin: 2% 0;}
    .widget, .small-widget {display: block; text-align: center; font-size: 100%; padding: 5px 0;}
    .small-widget .messages {display: block;}
    .small-widget button, .small-widget input {
        margin-top: 2%;
        width: 85%;
    }
    .grid-services {
        grid-template-areas:
            "i1 t1 i2 t2"
            "i3 t3 i4 t4"
            "i5 t5 i6 t6";
    }
    .footer {border-radius: 0;}
}
@media screen and (max-device-width: 480px) {
    body {line-height: 130%;}
    .slide-bar {
        padding-top: 35px;
        width: 100%;
    }
    .h1 {font-size: 1.3em; margin: .5em 0;}
    .h2 {font-size: 1em; margin: .5em 0;}
    .h3 {font-size: 1em; margin: .5em 0; border-bottom: 1px dashed;}
    .wrapper {display: block;}
    .caption .contact-text {font-size: 12px;}
    .wrapper-first-page .main-grid, .wrapper .main-grid {
        grid-template-areas:
                "i1 t1 t1"
                "t2 t2 i2"
                "i3 t3 t3"
                "t4 t4 i4";
        grid-gap: 1%;
    }
    .wrapper-first-page .main-grid .t1, .wrapper .main-grid .ti1, .wrapper-first-page .main-grid .t3, .wrapper .main-grid .ti3 {text-align: left;}
    .wrapper-first-page .main-grid .i2, .wrapper .main-grid .i2, .wrapper-first-page .main-grid .i4, .wrapper .main-grid .i4 {text-align: left;}
    .wrapper-first-page .main-grid .t2, .wrapper .main-grid .ti2, .wrapper-first-page .main-grid .t4, .wrapper .main-grid .ti4 {text-align: right;}
    .wrapper-first-page .main-grid .i1, .wrapper .main-grid .i1, .wrapper-first-page .main-grid .i3, .wrapper .main-grid .i3 {text-align: right;}
    .wrapper-first-page .main-grid img, .wrapper .main-grid img {
        width: 32px !important;
        height: 32px !important;
    }
    .gallery {margin-bottom: 0;}
    .grid-services {
        grid-template-areas:
                "i1 t1 t1"
                "t2 t2 i2"
                "i3 t3 t3"
                "t4 t4 i4"
                "i5 t5 t5"
                "t6 t6 i6";
        margin-bottom: 5%;
    }
    .grid-services .t1, .grid-services .t3, .grid-services .t5 {text-align: left;}
    .grid-services .i2, .grid-services .i4, .grid-services .i6 {text-align: left;}
    .grid-services .t2, .grid-services .t4, .grid-services .t6 {text-align: right;}
    .grid-services .i1, .grid-services .i3, .grid-services .i5 {text-align: right;}
    .box .list {display: block;}
    .footer {grid-template-areas:
            "f1 f4"
            "f2 f3";}
}