main{
    display: flex;
    justify-content: center;
    background-image: url("/images/grid.png");
    background-attachment: fixed;
    background-size: cover;
    padding-top: 100px;
}

.blog-wrapper{
    max-width: 1600px;
    width: 100%;
    padding: 20px;
}

.blog-post-wrapper{
    max-width: 1600px;
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.posts-search-bar{
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.posts-search-bar > .icon-input-dark{
    width: calc(100% - 130px);
    min-width: 250px;
}

.posts-search-bar > .blog-pagination{
    display: flex;
}

.posts-search-bar > .blog-pagination > button{
    border: none;
    background-color: #252525;
    padding: 8px;
    border-radius: 5px;
}

.posts-search-bar > .blog-pagination > .prev-page{
    border-radius: 5px 0 0 5px;
}

.posts-search-bar > .blog-pagination > .next-page{
    border-radius: 0 5px 5px 0;
}

.posts-search-bar > .blog-pagination > span{
    padding: 0 10px;
    background-color: #252525;
    line-height: 40px;
}

.posts-search-bar > .blog-pagination > .next-page > img{
    transform: rotate(180deg);
}

.latests-posts-container{
    display: flex;
    justify-content: flex-start;
    /* width: 1100px; */
    margin: 30px 0;
    gap: 20px;
}

.latests-posts-wrapper{
    width: 100%;
    overflow-x: scroll;
}

.latests-posts-wrapper::-webkit-scrollbar {
    width: 10px;
  }
  
  /* Track */
  .latests-posts-wrapper::-webkit-scrollbar-track {
    background: #252525; 
  }
   
  /* Handle */
  .latests-posts-wrapper::-webkit-scrollbar-thumb {
    background: #fa4149; 
  }
  
  /* Handle on hover */
  .latests-posts-wrapper::-webkit-scrollbar-thumb:hover {
    background: #ff656c; 
  }

.post-container{
    width: 250px;
    display: flex;
    flex-direction: column;
}

.post-container > img{
    border-radius: 5px;
    width: 250px;
    height: 200px;
    object-fit: cover;
}

.post-container-horizontal{
    position: relative;
    display: flex;
    gap: 10px;
    width: 600px;
}

.post-container-horizontal > img{
    height: 120px;
    width: 200px;
    object-fit: cover;
    border-radius: 5px;
}

.all-posts-container{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.post-bg{
    display: none;
}

.post-cover{
    display: none;
}

.img-highlight-modal{
    position: fixed;
    z-index: 150;
    width: 100%;
    min-height: 100vh;
    top: 0;
    left: 0;
    background-color: rgb(0, 0, 0);
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 20px;
}

.img-highlight-modal > button{
    background: none;
    border: none;
    padding: 20px;
    cursor: pointer;
    align-self: flex-end;
}

.img-highlight-modal > button > img{
    width: 20px;
    height: 20px;
}

.img-highlight-modal > a{
    width: 60%;
    max-height: 90%;
}

.img-highlight-modal > a > img{
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
    width: 100%;
    height: 100%;
}

.content-container a:hover{
    color: #fa4149;
    text-decoration: underline;
}

.post-highlight{
    width: calc(100% - 20px);
    max-height: 500px;
    object-fit: cover;
    object-position: center;
    align-self: center;
}

.gallery-container{
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.gallery-container > .gallery-item{
    width: 180px;
    height: 180px;
    object-fit: cover;
    object-position: center;
    cursor: pointer;
}

.post-container-horizontal a:hover{
    color: #fa4149;
    text-decoration: underline;
}

.post-container a:hover{
    color: #fa4149;
    text-decoration: underline;
}

.no-salon-container{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    text-align: center;
}

.no-salon-container > img{
    max-width: 300px;
    width: 100%;
    height: 300px;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
}

.shake-horizontal {
	-webkit-animation: shake-horizontal 3s cubic-bezier(0.455, 0.030, 0.515, 0.955) infinite both;
	        animation: shake-horizontal 3s cubic-bezier(0.455, 0.030, 0.515, 0.955) infinite both;
}

.services-modal{
    position: fixed;
    max-width: 600px;
    width: 90%;
    border-radius: 5px;
    background-color: #1C1917;
    z-index: 10;
}

.services-modal > .services-modal-bg{
    position: fixed;
    width: 100%;
    z-index: 9;
    height: 100vh;
    background-color: #000;
    opacity: .9;
}

.salon-page-container{
    display: flex;
    flex-wrap: wrap;
    width: calc(100% - 100px);
    padding: 35px;
    transform: translateY(-150px);
    border-radius: 5px;
}

.salon-page-container > div{
    width: 50%;
    min-width: 300px;
}

.salon-page-background-img{
    width: calc(100% - 20px);
    max-height: 400px;
    object-fit: cover;
    object-position: center;
    align-self: center;
}

.salon-details-container{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.salon-logo{
    width: 130px;
    height: 130px;
    border-radius: 5px;
    object-fit: cover;
}

.salon-page-wrapper{
    max-width: 1600px;
    width: 100%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.salon-handled-types{
    display: flex;
    gap: 20px;
    align-items: center;
}

.salon-handled-types > .vehicle-type{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.salon-handled-types > .vehicle-type > img{
    width: 30px;
}

.salon-details-container b{
    font-size: 21px;
}

.salon-name{
    display: flex;
    gap: 10px;
    align-items: flex-start;
    flex-direction: column;
}

.salon-name > div{
    display: flex;
    gap: 20px;
}

.salon-name > table td{
    padding: 6px 10px;
}

.salon-name > table img{
    width: 23px;
}

.salon-name > table p{
    margin: 0;
}

.salon-page-nav{
    display: flex;
    flex-wrap: wrap;
}

.salon-page-nav > a{
    padding: 10px;
    margin: 0;
    border-bottom: 1px solid #fff;
}

.salon-page-nav > a.active{
    border-bottom-width: 2px;
}

.salon-page-realizations-reviews-spacer{
    height: 140px;
    width: 10px;
}

.salon-services-tab{
    display: flex;
    flex-direction: column;
    margin-top: 20px;
    gap: 10px;
}

.salon-services-tab > .salon-service-item{
    padding: 10px;
    background-color: #252525;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 375px;
}

.salon-service-item > a > button{
    background: none;
    border: none;
}

.salon-service-item > div{
    display: flex;
    align-items: center;
    gap: 15px;
}

.salon-service-count{
    background-color: #fa4149;
    padding: 5px;
    border-radius: 20px;
}

.salon-service-item > a > button > img{
    transform: rotate(180deg);
}

.salon-service-spans-container{
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    max-height: 400px;
    overflow-y: scroll;
    min-height: 40px;
    align-items: flex-start;
}

.salon-service-spans-container::-webkit-scrollbar {
    width: 10px;
  }
  
  /* Track */
  .salon-service-spans-container::-webkit-scrollbar-track {
    background: #252525; 
  }
   
  /* Handle */
  .salon-service-spans-container::-webkit-scrollbar-thumb {
    background: #fa4149; 
  }
  
  /* Handle on hover */
  .salon-service-spans-container::-webkit-scrollbar-thumb:hover {
    background: #ff656c; 
  }

.salon-service-spans-container > .salon-service-span{
    background-color: #5B5B5B;
    padding: 5px;
    border-radius: 5px;
    font-size: 15px;
}

.salon-service-spans-container > .salon-service-span.service-founded{
    border: 1px solid #fa4149;
}

.salon-brands-input-container{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.salon-brands-input-container > div{
    min-width: 170px;
    width: 40%;
}

#map { height: 400px; width: 100%; max-width: 600px; align-self: flex-start;}

@media(max-width:320px){
    .blog-wrapper{
        padding: 10px;
    }
    .blog-post-wrapper{
        padding: 10px;
    }
}

@media (max-width: 660px){
    .post-container-horizontal{
        min-height: 140px;
    }
    .post-container-horizontal > img{
        display: none;
    }
    .post-container-horizontal > div{
        position: relative;
        z-index: 6;
        color: #fff;
        padding: 10px;
    }
    .post-container-horizontal > .post-bg{
        display: block;
        position: absolute;
        z-index: 4;
        width: 100%;
        height: 100%;
        border-radius: 5px;
    }
    .post-container-horizontal > .post-cover{
        display: block;
        z-index: 5;
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        background-color: #000;
        border-radius: 5px;
        opacity: .7;
    }
}

.salon-page-background-img-placeholder{
    display: none;
    width: 100%;
    height: 15%;
}

@media(max-width: 1100px){
    .salon-page-container{
        flex-direction: column;
        width: 100%;
        padding: 0;
    }
    .salon-details-container{
        width: 100% !important;
    }
    .salon-page-realizations-reviews{
        width: 100% !important;
        min-width: 0 !important;
    }
    .salon-page-realizations-reviews-spacer{
        height: 60px;
    }
}

@media(max-width: 460px){
    .salon-page-background-img{
        display: none;
    }
    .salon-page-background-img-placeholder{
        display: block;
    }
}

/* ----------------------------------------------
 * Generated by Animista on 2024-12-5 11:40:40
 * Licensed under FreeBSD License.
 * See http://animista.net/license for more info. 
 * w: http://animista.net, t: @cssanimista
 * ---------------------------------------------- */

/**
 * ----------------------------------------
 * animation shake-horizontal
 * ----------------------------------------
 */
 @-webkit-keyframes shake-horizontal {
    0%,
    100% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
    }
    10%,
    30%,
    50%,
    70% {
      -webkit-transform: translateX(-10px);
              transform: translateX(-10px);
    }
    20%,
    40%,
    60% {
      -webkit-transform: translateX(10px);
              transform: translateX(10px);
    }
    80% {
      -webkit-transform: translateX(8px);
              transform: translateX(8px);
    }
    90% {
      -webkit-transform: translateX(-8px);
              transform: translateX(-8px);
    }
  }
  @keyframes shake-horizontal {
    0%,
    100% {
      -webkit-transform: translateX(0);
              transform: translateX(0);
    }
    10%,
    30%,
    50%,
    70% {
      -webkit-transform: translateX(-10px);
              transform: translateX(-10px);
    }
    20%,
    40%,
    60% {
      -webkit-transform: translateX(10px);
              transform: translateX(10px);
    }
    80% {
      -webkit-transform: translateX(8px);
              transform: translateX(8px);
    }
    90% {
      -webkit-transform: translateX(-8px);
              transform: translateX(-8px);
    }
  }
  