
@media (max-width: 991.98px) {

    .theme {
        --desktop: 0;
        --web-wrapper-width: 100%;
    }

    dot-content {
        display: block;
        width: 100%;
        overflow-x: hidden;
    }

    dot-content.index {
        background-image: url('./img/bg.webp');
        background-position: 85% -60px;
        background-repeat: no-repeat;
    }

    dot-content.bg {
        background-image: url('./img/bg2.webp');
        background-position: 85% -60px;
        background-repeat: no-repeat;
    }

    /*
        MEGAMENU priamo pre moj web :)
    */

    .theme dot-element[eid="dotmenu"] .megamenu-wrapper dot-grid.dotsystems-megamenu {
        color: black;
    }

    .theme dot-element[eid="dotmenu"] .megamenu-wrapper dot-grid.dotsystems-megamenu > dot-col {
        color: var(--web-secondary);
        border-bottom: 1px solid;
        border-color: var(--web-divider-color);
        padding-bottom: 15px;
        padding-top: 10px;
    }

    .theme dot-element[eid="dotmenu"] .megamenu-wrapper dot-grid.dotsystems-megamenu > dot-col:last-of-type {
        border-bottom: 0px;
    }

    .theme dot-element[eid="dotmenu"] .megamenu-wrapper dot-grid.dotsystems-megamenu > dot-col .megamenu-icon {
        display: inline-block;
        min-width: 50px;
        width: 25%;
        max-width: 65px;
        text-align: left;
        height:60px;
        line-height:60px;
        overflow: hidden;
    }

    .theme dot-element[eid="dotmenu"] .megamenu-wrapper dot-grid.dotsystems-megamenu > HR {
        display: none;
    }

    .theme dot-element[eid="dotmenu"] .megamenu-wrapper dot-grid.dotsystems-megamenu > dot-col .megamenu-icon I {
        color: var(--web-primary);
        font-size: 3rem;
    }

    .theme dot-element[eid="dotmenu"] .megamenu-wrapper dot-grid.dotsystems-megamenu > dot-col .megamenu-icon IMG {
        height: 54px;
        position: relative;
        vertical-align: unset;
        display: inline-block;
        margin-top: 3px;
    }

    .theme dot-element[eid="dotmenu"] .megamenu-wrapper dot-grid.dotsystems-megamenu > dot-col H3 {
        margin: 0 !important;
        padding: 0 !important;
        font-size: clamp(1rem, 0.679rem + 1.2841vw, 1.5rem);
        display: inline-block;
        min-width: 50px;
        width: 70%;
        text-align: left;
        height:60px;
        line-height:60px;
        overflow: hidden;
    }

    .theme dot-element[eid="dotmenu"] .megamenu-wrapper dot-grid.dotsystems-megamenu > dot-col UL {
        display: block;
    }

    .theme dot-element[eid="dotmenu"] .megamenu-wrapper dot-grid.dotsystems-megamenu > dot-col UL > LI {
        min-width: 80%;
        margin-top: 10px;
    }

    .theme dot-element[eid="dotmenu"] .megamenu-wrapper dot-grid.dotsystems-megamenu > dot-col UL > LI > A {
        font-size: clamp(0.9rem, 0.7074rem + 0.7705vw, 1.2rem);
        color: var(--web-primary);
        font-weight: 300;
    }

    .theme H1.indexh1 {
        z-index: 10;
      font-size: clamp(2.2rem, 1.6864rem + 2.0546vw, 3rem);
      font-weight: bold;
      color: var(--web-secondary);
      text-align: center;
      display: block;
      width: 100%;
      padding: 15px 20px 15px 20px;
      color: var(--web-secondary);
      background-color: rgb(255,255,255,0.45);
      position: relative;
    }
  
    .theme h-top.indexh1 {
        top: 8px;
        z-index:11;
        position: relative;
      font-size: clamp(2.2rem, 1.6864rem + 2.0546vw, 3rem);
      font-weight: bold;
      color: var(--web-primary);
      text-align: center;
      display: block;
      width: 90%;
      max-width: 450px;
      background-color: var(--web-primary);
      color: white;
      margin: auto;
     }
  
    .theme .novdbulg {
      position: relative;
      max-width: 95%;
      max-height: 60vh;
      transition: transform 1s cubic-bezier(0.03, 0.98, 0.52, 0.99); /* Smooth transition */
      transform-style: preserve-3d;
      overflow: hidden;
    }

    section#intro {
        /*background-color: rgb(255,255,255,0.8);*/
        padding: 35px;
        font-size: 1.1rem;
        width: 100%;
        position: relative;
    }

    section#intro I:first-of-type {
        display: block;
        text-align: center;
        font-size: 5rem;
        font-weight: bold;
        color: var(--web-primary);
        padding: 15px;
    }

    section#intro H2 {
        max-width: 80%;
        margin: auto;
        position: relative;
        display: block;
        text-align: center;
        font-size: 2.7rem;
        font-weight: bold;
        margin-bottom: 50px;
    }

    section#intro dot-col:nth-of-type(2) {
        text-align: center;
        width: 100%;
    }

    section#intro dot-col:nth-of-type(2) IMG {
        width: 90%;
    }

    section#intro .cta {
        display: block;
        width: 250px;
        text-align: center;
        margin: auto;
        margin-top: 50px;
        margin-bottom: 50px;
        --button-font-size: 1.5rem;
    }

    section#intro dot-col:last-of-type {
        padding-bottom: 50px;
    }

    section#whydotsystems {
        position: relative;
        z-index: 2;
        background-color: var(--web-primary);
        color: white;
        background-image: url("./img/fleky_nad_pozadi2_2.webp");
        width: 100%;
        padding: 35px;
    }

    section#whydotsystems > section-wrapper {
        width: var(--web-wrapper-width);
        margin: auto;
    }

    section#whydotsystems .icon {
        display: block;
        margin: auto;
        text-align: center;
        padding: 0px;
        height: 5rem;
        margin-bottom: 30px;
    }

    section#whydotsystems H3 {
        margin: auto;
        position: relative;
        display: block;
        text-align: center;
        font-size: 2.7rem;
        font-weight: bold;
        margin-bottom: 50px;
    }

    section#whydotsystems UL {
        display: inline-block;
        padding: 20px;
        background-color: rgb(255,255,255,0.9);
        color: var(--web-primary);
        list-style: none;
        border-radius: 10px;
        font-size: 1.1rem;
    }

    section#whydotsystems UL > LI > I {
        display: inline-block;
        color: var(--web-primary);
    }

    section#whydotsystems .cta {
        display: block;
        width: 250px;
        text-align: center;
        margin: auto;
        margin-top: 50px;
        margin-bottom: 50px;
        --button-font-size: 1.5rem;
    }

    section#services {
        position: relative;
        z-index: 1;
        background-color: var(--web-primary-hover);
        color: white;
        padding: 35px;
        font-size: 1.25rem;
        width: 100%;
        padding-bottom: 100px;
    }

    section#services .stkmobil {
        width: unset;
        height: 90vh;
    }

    section#services > section-wrapper > I:first-of-type {
        display: block;
        margin: auto;
        text-align: center;
        font-size: 6rem;
        font-weight: bold;
        color: white;
        padding: 0px;
        margin-top: 40px;
    }

    section#services H4 {
        color: white;
        font-size: 3rem;
        position: relative;
        display: block;
        text-align: center;
        font-weight: bold;
        margin-bottom: 50px;
    }

    section#services > section-wrapper {
        width: var(--web-wrapper-width);
        margin: auto;
    }

    section#services UL {
        display: inline-block;
        padding: 20px;
        background-color: rgb(255,255,255,1);
        color: var(--web-secondary);
        list-style: none;
        border-radius: 10px;
        font-size: 1.25rem;
    }

    section#services UL > LI {
        padding-bottom: 15px;
    }

    section#services UL > LI > I {
        display: inline-block;
        color: var(--web-secondary);
        font-size: 1.25rem;
    }

    section#services .cta {
        display: block;
        width: 250px;
        text-align: center;
        margin: auto;
        margin-top: 50px;
        margin-bottom: 50px;
        --button-font-size: 1.5rem;
    }

    section#blognews {
        position: relative;
        z-index: 1;
        background-color: white;
        color: var(--web-primary);
        padding: 35px;
        padding-top: 0px;
        font-size: 1.25rem;
        width: 100%;
        padding-bottom: 150px;
    }

    section#blognews > section-wrapper > I:first-child {
        display: block;
        margin: auto;
        text-align: center;
        font-size: 6rem;
        font-weight: bold;
        color: var(--web-primary);
        padding: 0px;
    }

    section#blognews H4 {
        color: var(--web-primary);
        font-size: 3rem;
        position: relative;
        display: block;
        text-align: center;
        font-weight: bold;
        margin-bottom: 50px;
    }

    section#blognews > section-wrapper {
        width: var(--web-wrapper-width);
        margin: auto;
    }

    dot-blog {
        position: relative;
        z-index: 1;
        --blog-img-height: 250px;
        display: block;
        padding: 15px;
    }

    dot-blog > A:first-of-type {
        display: block;
        position: relative;
        z-index: 1;
        width: 100%;
        height: var(--blog-img-height);
        overflow: hidden;
        border-radius: 25px;
    }

    dot-blog > A:first-of-type > IMG {
        position: relative;
        top: 0px;
        zoom: 1;
        -webkit-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        background-color: var(--web-primary);
    }

    dot-blog:focus > A:first-of-type > IMG {
        transform:scale(1.2);
        -webkit-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        opacity: 0.3;
        top: -5px;
    }

    dot-blog > A:first-of-type > SMALL {
        font-size: 0.9rem;
        -webkit-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        display: inline-block;
        width: calc(100% - 40px);
        text-wrap: nowrap;
        word-break: keep-all;
        text-align: center;
        position: absolute;
        z-index: 2;
        bottom: 15px;
        left: 20px;
        padding: 5px 8px;
        border-radius: 15px;
        background-color: var(--web-primary);
        color: white;
        border: 2px solid white;
    }

    dot-blog:focus > A:first-of-type > SMALL {
        -webkit-transition: .5s ease-in-out;
        transition: .5s ease-in-out;
        bottom: 15px;
        left: 20px;
        width: calc(100% - 40px);
    }

    dot-blog > A:nth-of-type(2) {
        transition: .3s ease-in-out;
        display: block;
        font-weight: bold;
        color: var(--web-primary);
        font-size: 1.7rem;
        width: 100%;
        padding: 15px;
        padding-bottom: 0px;
    }

    dot-blog > A:nth-of-type(2):hover {
        transition: .3s ease-in-out;
        color: var(--web-primary-hover);
    }

    dot-blog > SMALL {
        display: block;
        width: 100%;
        padding: 20px 15px 20px 15px;
    }

    dot-blog > SMALL, dot-blog > SMALL > I {
        font-size: 0.95rem;
        color: var(--web-light-text-color);
    }

    dot-blog > SMALL > I:nth-of-type(2) {
        padding-left: 20px;
    }

    dot-blog > DIV {
        color: var(--web-secondary);
        width: 100%;
        padding: 0px 15px 15px 15px;
    }

    footer, footer-bottomline {
        display: block;
        width: 100%;
        padding: 35px;
    }

    footer > footer-wrapper, footer-bototmline > footer-wrapper {
        width: var(--web-wrapper-width);
        margin: auto;
    }

    footer::before {
        background-color: unset !important;
        background-image: linear-gradient(180deg, var(--web-primary) 30px, rgb(255,255,255,0) 50px);
        background-size: 100% 100%;
        background-repeat: no-repeat;
    }

    footer {
        color: white;
        padding-top: 0px;
        background-image: linear-gradient(180deg, var(--web-primary), var(--web-primary-gradient));
        font-size: 1.3rem;
    }

    footer H5 {
        color: white;
        font-size: 1.6rem;
        padding-bottom: 15px;
    }

    footer .logo {
        margin-bottom: 50px;
    }

    footer dot-grid:first-of-type > dot-col:nth-of-type(2) SPAN {
        font-size: .95rem;
        display: block;
        margin-bottom: 8px;
    }

    footer dot-grid:first-of-type > dot-col:nth-of-type(2) SPAN I {
        display: inline-block;
        width: 22px;
    }

    footer .social {
        list-style: none;
        padding: 0px;
        margin: 0px;
    }

    footer .social LI A I {
        font-size: 2.5rem;
    }

    footer .links {
        display: block;
        list-style: none;
        padding: 0px;
        margin: 0px;
    }

    footer .links LI {
        display: block;
        list-style: none;
        padding: 0px;
        margin: 8px 0px 4px 0px;
        font-size: 1rem;
    }

    footer .links LI A {
        min-width: 70%;
        width: 70%;
        max-width: 95%;
        overflow: hidden;
        display: inline-block;
        padding: 0px;
        padding-bottom:4px;
        border-bottom: 1px solid var(--web-primary-hover);
    }

    footer .links LI A:hover {
        border-bottom: 1px solid white;;
    }

    footer .newsletter INPUT {
        height: 60px;
        line-height: 60px;
        margin: 15px 0px;
        border-radius: 15px;
    }

    footer .newsletter INPUT:focus {
        outline: none;
    }

    footer-bottomline {
        padding: 25px 25px;
        color: white;
        text-align: center;
        font-size: 0.85rem;
    }


    H2 {
        color: var(--web-primary);
    }

    section-wrapper {
        display: block;
        width: var(--web-wrapper-width);
        margin: auto;
    }

    footer-wrapper {
        display: block;
        width: var(--web-wrapper-width);
        margin: auto;
    }
}


