﻿.fullscreen-popup__toggle{
  display: none;
}

.fullscreen-popup__navigation{
  display: none;
}

.fullscreen-popup-small{
  display: none;
}

.fullscreen-popup.desktop-popup .fullscreen-popup__content {
    width: auto;
    min-height: auto;
    background: #fff;
    margin: 0;
    padding: 20px;
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 101;
    overflow-y: auto;
    border-radius: 10px;
}

.fullscreen-popup.desktop-popup .mask {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.animRightToLeft {
    left: 100vw;
    animation: rigthToLeft .5s ease forwards;
}

.animLeftToRight {
    left: 100vw;
    animation: leftToRigth .5s ease forwards;
}

@keyframes rigthToLeft {
    from {
        left: 100vw;
    }

    to {
        left: 0;
    }
}

@keyframes leftToRigth {
    from {
        left: 0vw;
    }

    to {
        left: 100vw;
    }
}

.desktop-popup .fullscreen-popup__toggle {
    display: block;
}

.desktop-popup .fullscreen-popup-small__content {
    background: #fff;
    padding: 30px 20px;
    width: 90%;
}

.desktop-popup .fullscreen-popup-small__content p {
    font-size: 15px;
    margin-bottom: 15px;
}

.desktop-popup .fullscreen-popup-small__content-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.fullscreen-popup.desktop-popup .fullscreen-popup__navigation {
    display: block;
}

.fullscreen-popup.desktop-popup .navigation ul.breadcrumbs {
    margin: 0 0 20px 0;
    background: none;
    border: none;
    display: flex;
    align-items: center;
    padding: 0;
}

.fullscreen-popup.desktop-popup .navigation .breadcrumbs li {
    display: none;
}

.fullscreen-popup.desktop-popup .navigation .breadcrumbs li:before {
    display: none;
}

.fullscreen-popup.desktop-popup .navigation .breadcrumbs li:nth-last-child(1) {
    display: block;
    font-size: 16px;
    text-align: center;
    font-weight: bold;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

@media (max-width: 768px){
  .fullscreen-hidden{
    display: none;
  }
  
  .fullscreen-page{
    width: 100vw;
    min-height: 100vh;
    margin: 0;
    padding: 20px 20px 80px 20px;
  }
  
  .fullscreen-page .navigation h1{
    display: none;
  }
    .fullscreen-page .navigation ul.breadcrumbs {
        margin: 0 0 20px 0;
        background: none;
        border: none;
        display: flex;
        align-items: center;
        padding: 0;
    }
  .fullscreen-page .navigation .breadcrumbs li{
    display: none;
  }
  
  .fullscreen-page .navigation .breadcrumbs li:nth-last-child(-n+2){
    display: inline-block;
  }

  .fullscreen-page .navigation .breadcrumbs li:nth-last-child(1){
    font-size: 22px;
    font-weight: bold;
    color: #000;
      justify-content: flex-start!important;
  }

  .fullscreen-page .navigation .breadcrumbs li:nth-last-child(2) a{
    position: relative;
    width: 25px;
    height: 25px;
    display: block;
    margin-right: 15px;
  }

  .fullscreen-page .navigation .breadcrumbs li:nth-last-child(2) a:before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("images/icons/arrow-back.svg");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
  }

  .fullscreen-page .navigation .breadcrumbs li:nth-last-child(2) a span{
    display: none;
  }
  
  .fullscreen-page .navigation ul.breadcrumbs li:before{
    display: none;
  }

  .fullscreen-popup__navigation{
    display: block;
  }
  
  .fullscreen-body #chat24{
    display: none;
  }
  
  .fullscreen-body .back-top{
    display: none!important;
  }

    .fullscreen-popup, .fullscreen-popup.desktop-popup .fullscreen-popup__content {
        width: 100vw;
        min-height: 100vh;
        border-radius: 0;
        background: #fff;
        margin: 0;
        padding: 20px 20px 80px 20px;
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        z-index: 1015;
        max-height: 100vh;
        overflow-y: auto;
        transform: translate(0, 0);
    }
  
  .animRightToLeft{
    left: 100vw;
    animation: rigthToLeft .5s ease forwards;
  }

  .animLeftToRight{
    left: 100vw;
    animation: leftToRigth .5s ease forwards;
  }
  
  @keyframes rigthToLeft {
    from{
      left: 100vw;
    }
    to{
      left: 0;
    }
  }

  @keyframes leftToRigth {
    from{
      left: 0vw;
    }
    to{
      left: 100vw;
    }
  }
  
  .fullscreen-popup__toggle{
    display: block;
  }

    .fullscreen-popup-small {
        position: absolute;
        top: 0;
        left: 0;
        display: grid;
        place-items: center;
        width: 100vw;
        height: 100vh;
        z-index: 1020;
        background: rgba(0,0,0,.6);
    }
  
  .fullscreen-popup-small__content{
    background: #fff;
    padding: 30px 20px;
    width: 90%;
  }

  .fullscreen-popup-small__content p{
    font-size: 15px;
    margin-bottom: 15px;
  }
  
  .fullscreen-popup-small__content-buttons{
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }
  
}

@media (max-width: 350px) {
    .fullscreen-page {
        padding: 20px 10px 80px 10px;
    }
}