/* This is a custom height */
.height-custom {
    height: 400px;
}
html {
    background-color: #f9f9f9;
}
/* Height 100-Custom subtract px from 100%  */
.height-100-custom {
    height: calc(100vh - 400px);
}
.cursor-off {
    cursor: default !important;
    filter:initial !important;
}

.grifone-image-home {
    width: 100vw;
    background-size: cover;
    object-fit: cover;
    background-position: center;
    position: relative;
    background-image: url("../../images/grifone-home.gif");
}
.grifone-image-chi-siamo {
    width: 100vw;
    background-size: cover;
    object-fit: cover;
    background-position: center;
    position: relative;
    background-image: url("../../images/grifone-chi-siamo.jpg");
}
.grifone-image-servizi {
    width: 100vw;
    background-size: cover;
    object-fit: cover;
    background-position: center;
    position: relative;
    background-image: url("../../images/grifone-servizi.jpg");
}
.grifone-image-passioni {
    width: 100vw;
    background-size: cover;
    object-fit: cover;
    background-position: center;
    position: relative;
    background-image: url("../../images/grifone-passioni.jpg");
 }

.grifone-logo {
    height: auto;
    z-index: 1;
    display: flex;
}
.grifone-logo img {
    width: 100%;
}
.grifone-header {
    background: rgba(255, 255, 255, 0.98);
    position: fixed;
    display: flex;
    z-index: 10;
    top: 0;
    flex-wrap: nowrap;
    justify-content: space-between;
    height: 130px;
    padding: 0 40px;
    border-bottom: 5px solid #000;
    border-top: 5px solid #FFD500;
    box-shadow: 0px 5px 15px 0px rgb(0 0 0 / 10%);
}

.menu-mobile {
    color: #fff;
    position: relative;
    margin: 0 !important;
    display: none !important;
    cursor: pointer;
    text-transform: uppercase;
}
.grifone-menu-mobile {
    background-color: #FFD500;
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 999;
    text-align: right;
    padding-right: 50px;
    display: none;
}
.grifone-menu-mobile ul {
    position: relative;
    top: 12vh;
    list-style:none ;
}
.grifone-menu-mobile li {
    padding: 10px 0;
    margin: 5px 0;
}
.grifone-menu-mobile a {
    color: #000;
    text-transform: uppercase;
    font-size: 22px;
    font-weight: 700;
    padding: 10px;
    border-radius: 5px;
}
.grifone-menu-mobile a:not(.no-hover):hover {
    background-color: #000;
    color: #fff;
}

.no-hover {
    cursor: default;
}

.grifone-menu-mobile .sub-menu {
    margin-top: 10px;
    padding-right: 10px;
    margin-right: 10px;
    border-right: 3px solid #000;
    display: flex;
    align-items: flex-end;
    flex-direction: column;
}

.grifone-menu-mobile .sub-menu p {
    width: min-content;
}

.grifone-menu-mobile .sub-menu a {
    display: block;
}

.menu-mobile-close {
    color: #fff;
    position: fixed;
    top: 20px;
    right: 50px;
    font-size: 26px !important;
    cursor: pointer;
    padding: 10px;
}

.kisch-menu-a {
    position: relative;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    height: fit-content;
    text-transform: uppercase;
}
.kisch-menu-a li {
    margin: 0;
    margin-right: 8px;
    padding: 0;
}
.kisch-menu-a li a {
    padding: 0px 15px;
    color: #000;
    padding: 8px;
    border-radius: 5px;
}
.kisch-menu-a li a:hover {
    background-color: #FFD500;
    color: #000;
    padding: 8px;
}

.menu-on a:not(.menu-off) {
    background-color: #000 !important;
    color: #FFD500 !important;
    cursor: default;
}

.home-main-image {
    background-color:#ccc;
}
.tagline-box {
    height: auto;
}
.tagline h1 {
    font-size: 46px;
    line-height: 1.1;
    font-weight: 500;
}
.tagline button {
    background-color: #FFD500;
    border: none;
    padding: 15px 20px;
    font-size: 36px;
    font-weight: 500;
    line-height: 1;
    margin-top: 30px;
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 3px 3px 5px 0px rgb(0 0 0 / 10%);
}
.tagline button:hover {
    background-color: #CCAA00;
    box-shadow: none;
}
.grifone-yellow-box {
    background-color: #FFD500;
    height: 400px;
    position: relative;
    top: -80px;
    border-radius: 5px;
    background-size:contain;
    object-fit: cover;
    background-position: center;
    background-image: url(../../images/grifone-icon.png);
    background-repeat: no-repeat;
}
.flow-box {
    background-color: #CCAA00;
    width: 100px;
    height: 100px;
    border-radius: 5px;
    position: relative;
    top: -30px;
    left: 30px;
}
.page-block-grid {
    text-align: center;
}
.page-block-grid-2 {
    align-items: stretch;
}
.page-block {
    text-align: center;
}
.page-block h2 {
    font-size: 46px;
    font-weight: 700;
}
.page-block h3 {
    font-size: 32px;
    font-weight: 200;
    margin-bottom: 20px;
}
.page-block-2 h1 {
    font-size: 46px;
    font-weight: 700;
}
.page-block-2 h2 {
    font-size: 32px;
    font-weight: 200;
    margin-bottom: 20px;
}
.page-block-2 h3 {
    font-size: 30px;
    margin-bottom: 10px;
}
.page-block-2 p {
    font-size: 26px;
}
.servizi-grid {
    height: auto;
    width: 200px;
}
.hover-servizi {
    cursor: pointer;
}
.hover-servizi:hover {
    filter: brightness(.8);
}
.servizi-grid h4 {
    font-size: 20px;
    font-weight: 200;
}
.about-grid {
    height: auto;
    width: 400px;
    margin-bottom: 20px;
    margin-left: 5px;
    margin-right: 5px;
    border-radius: 5px;
}
.about-grid h4 {
    font-size: 20px;
    font-weight: 200;
}
.about-grid h5 {
    font-size: 80px;
    font-weight: 700;
}
.about-grid p {
    font-size: 20px;
}
.grid-box {
    background-color: #EFEFEF;
    padding: 20px;
}
.grid-box-color-1 {
    background-color: #FFD500;
}
.grid-box-color-2 {
    background-color: #CCAA00;
}
.grid-box-color-3 {
    background-color: #000000;
    color: #fff;
}
.grid-box-color-4 {
    background-color: #A70000;
    color: #fff;
}
.grid-box img {
    margin-top: 20px;
    border-radius: 5px;
}
.servizi-list-grid {
    height: auto;
    width: 630px;
    margin-bottom: 20px;
    margin-left: 5px;
    margin-right: 5px;
    border-radius: 5px;
    text-align: left;
}
.servizi-list-grid img {
    display: block;
    border-radius: 5px 5px 0 0;
}
.servizi-list-grid h3 {
    font-size: 26px;
    margin-bottom: 20px;
}
.servizi-list-grid ul {
    list-style: none;
    list-style-type: none;
}
.servizi-list-grid li {
    padding: 6px 0;
    border-bottom: 1px solid #ccc;
    font-size: 20px;
}
.list-format {
    padding: 20px;
    background-color: #EFEFEF;
    border-radius: 0 0 5px 5px;
}


.section-bottom-margin {
        margin-bottom: 100px;
}
.section-top-margin {
    margin-top: 100px;
}
.section-top-margin-half {
    margin-top: 50px;
}
.section-top-margin-page {
    margin-top: 100px;
}
.banner-grid {
    height: auto;
    border: 5px solid #f9f9f9;
}
.banner-grid img {
    object-fit: contain;
height: 100%;
/*height: -webkit-fill-available;*/
width: 100%;
cursor: pointer;
border-radius: 5px;
}
.banner-media {
    display: none;
  }
  .banner-off {
    display: block;
  }
  .banner-suzuki-mobile {
    display: none;
  }
  .yellow-band {
    width: 50%;
    height: 70px;
    background-color: #ffd500;
    border-radius: 5px;
    position: absolute;
    top: -35px;
}
.yellow-band-2 {
    width: 50%;
    height: 70px;
    background-color: #ffd500;
    border-radius: 5px;
    position: absolute;
    top: -5px;
}
.contact-block {
    position: relative;
    margin-top: 20px;
}
.contact-block a {
    font-size: 24px;
    color: #ffd500;
    background-color: #000000;
    padding: 4px 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}
.contact-block span {
    font-size: 24px;
    color: #000;
    background-color: #CCAA00;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
    display: block;
}
.contact-block a:hover {
    background-color: #CCAA00;
    color: #000;
}
.passioni-block img {
    border-radius: 5px;
}
.banner-passione {
    margin-top: 20px;
    cursor: pointer;
}
.tagline p {
    font-size: 30px;
    margin-top: 10px;
}

.grifone-space-padding {
    padding: 15px 50px;
}

.contact-home {
    background-color: rgb(255 213 0);
}
.home-map {
    border: 4px solid #ccaa00;
    border-radius: 10px;
    overflow: hidden;
}
.contact-block p {
    margin-bottom: 15px;
}
.contact-block i {
    font-style: normal;
    width: 180px;
    display: inline-block;
}
.contact-image img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    border: 4px solid rgb(255 213 0);
    border-radius: 10px;
    overflow: hidden;
}
.banner-large-off {
    display: block;
  }
  .banner-grid img:hover {
    filter: brightness(.8);
    cursor: pointer;
  }

  .page-block p {
    font-size: 22px;
    margin-bottom: 10px;
}

.button-fordgrifone {
    position: absolute;
    top: 140px;
    right: 10px;
    background-color: #2861A4;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 24px;
    color: #fff;
    text-align: center;
    box-shadow: 3px 3px 5px 0px rgb(0 0 0 / 10%);
    cursor: pointer;
    border: 2px solid #fff;
}
.button-fordgrifone:hover {
    background-color: #102B4E;
    box-shadow: none;
}

.button-menu {
    position: relative;
}

.button-menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #EFEFEF;
    border-radius: 5px;
}

.button-menu .sub-menu a {
    display: block;
    width: 100%;
}

.button-menu .sub-menu p:first-child a {
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}

.button-menu .sub-menu p:last-child a {
    border-top-right-radius: 0;
    border-top-left-radius: 0;
}

.button-menu:hover .sub-menu {
    display: block;
}

.margin-header {
    margin-top: 130px; /* choose height of page header if present */
}

.privacy-policy p {
    margin-bottom: 20px;
}

.privacy-policy a {
    color: #ccaa00;
}

.footer-link {
}

#carmarket-frame iframe {
    margin-top: 130px; /* choose height of page header if present */
}

.cky-banner-element {
    cursor: pointer;
    font-size: 24px;
    color: #ffd500 !important;
    background-color: #000000;
    padding: 4px 10px;
    border-radius: 5px;
}

.ul-terms-of-use {
    padding-left: 15px;
}

.terms-of-use-index {
    padding-left: 15px;
    margin-bottom: 25px;
}

.terms-of-use-index a {
    font-size: 20px;
}
.photo-landscape img {
        object-fit: contain;
        width: 100%;
        border-radius: 5px;
}
.about-grid img {
    object-fit: contain;
    border-radius: 5px;
}
.privacy-block {
    border-top: #000 5px solid;
    margin-top: 20px;
    display: flex;
    justify-content: flex-end;
}
.privacy-link a {
    background-color: transparent;
    color: #000;
    font-size: 16px;
}
.banner-contact {
    background-color: #ffd500;
    padding: 30px;
    text-align: center;
}
.banner-contact p {
    font-size: 35px;
    font-weight: 700;
}
.banner-contact:hover {
    cursor: pointer;
    transition: all .2s ease-in-out;
    filter: brightness(.8);
}
.banner-contact-home {
    background-color: #000;
}
.banner-contact-home p {
    color: #fff;
}
.banner-contact-home:hover {
    opacity: .8;
}

.fixed{
    position: fixed;
    bottom: 0;
}
.bottom-page {
    margin-bottom: 200px;
}

/* Banner Animation Text */
#animation {
    animation:ease-out;
}

#animation:after {
	content: "";
	animation: spin 10s infinite;
}

@keyframes spin {
  0% { content:"Vuoi acquistare un'auto nuova?"; }
  40% { content:"Fissa un appuntamento allo 091 972 25 16"; }
  80% { content:"Problemi con la tua auto?"; }
  100% { content:"Fissa un appuntamento allo 091 972 25 16"; }
}
.menu-margin-right{
        margin-right: 0;
}
.logo-mobile {
    height: auto;
    z-index: 1;
    display: none;
}
.logo-mobile img {
    width: 70%;
}

/* CSS media */
@media (max-width: 1600px) {
    .grifone-logo img {
    width: 85%;
}

}
@media (max-width: 1440px) {
    .servizi-list-grid {
        width: 500px;
    }
        .kisch-menu-a {
        margin: 0px;
    }

    .button-menu {
        display: none !important;
    }

    .menu-mobile {
        display: block !important;
    }
    .grifone-menu-mobile {
        display: block;
    }
    .grifone-logo img {
    width: 100%;
}
}
@media (max-width: 1280px) {
    .grifone-header {
        padding: 0 40px
    }

    .grifone-yellow-box {
        height: 400px;
        width: 400px;
    }
    .tagline {
        width: calc(100% - 400px);
    }
    .tagline h1 {
        font-size: 40px;
    }
    .servizi-grid {
        width: 170px;
    }
    .servizi-list-grid {
        width: 460px;
    }

}


@media (max-width: 1080px) {
  .banner-media {
    display: block;
  }
  .banner-off {
    display: none;
  }
  .servizi-grid {
    width: 140px;
    }
  
}

@media (max-width: 1024px) {
    .servizi-list-grid {
        width: 400px;
    }
    .passioni-block img {
        width: 100%;
    }
    .passioni-block {
        padding: 0;
        width: 100%;
        margin-bottom: 30px;
        margin-top: 30px;
    }
    .home-map {
        margin-top: 50px;
        height: 350px;
    }
    .contact-image img {
        margin-top: 50px;
        height: 350px;
    }
    .privacy-block {
    width: 80%;
}
  .banner-contact p {
        font-size: 24px;
    }
}


@media (max-width: 980px) {
    .grifone-yellow-box {
        width: 300px;
    }
    .tagline {
        width: calc(100% - 300px);
    }
    .tagline h1 {
        font-size: 36px;
    }
    .tagline p {
        font-size: 28px;
    }
    .page-block h2 {
        font-size: 36px;
    }
    .page-block h3 {
        font-size: 28px;
    }
    .page-block-2 h1 {
        font-size: 36px;
    }
    .page-block-2 h2 {
        font-size: 28px;
    }
    .page-block-2 p {
        font-size: 22px;
    }
    .about-grid h5 {
        font-size: 60px;
    }
    .tagline button {
        font-size: 28px;
    }
    .servizi-grid {
        width: 33%;
        margin-bottom: 30px;
    }
    .page-block-grid {
        flex-wrap: wrap;
        justify-content: center;
    }
    .about-grid {
        width: 350px;
    }
    .servizi-list-grid {
        width: 70%;
        margin-bottom: 100px;
    }
    
   
}
@media (max-width: 768px) {
    .tagline-box {
        width: 100%;
        flex-wrap: wrap;
    }
    .grifone-yellow-box {
        width: 100%;
        height: 80px;
        top: 0;
    }
    .tagline {
        width: 100%;
    }
    .tagline h1 {
        font-size: 32px;
    }
    .tagline p {
        font-size: 26px;
    }
    .tagline button {
        font-size: 28px;
        width: 100%;
    }
    .servizi-grid img {
        width: 70%;
    }
    .section-top-margin {
        margin-top: 0;
    }
    .about-grid {
        width: 280px;
    }
    .servizi-list-grid {
        margin-bottom: 100px;
    }
     .banner-contact p {
        font-size: 20px;
    }
    .grifone-logo img {
    width: 80%;
}
    
}
@media (max-width: 640px) {
    .grifone-menu-mobile {
        padding-right: 20px;
    }
    .menu-mobile-close {
        top: 20px;
        right: 20px;
    }
    .servizi-list-grid {
        width: 100%;
    }
    .space-50 {
        width: 90%;
    }
    .privacy-block {
        width: 90%;
        justify-content: center;
    }
      .banner-contact p {
        font-size: 18px;
    }
    .grifone-logo {
    display: none;
    }
    .logo-mobile {
    display: flex;
    }
    
}
@media (max-width: 480px) {
    .grifone-logo img {
        width: 65%;
    }
    .grifone-header {
        padding: 0 20px;
    }
    .tagline h1 {
        font-size: 28px;
    }
    .tagline p {
        font-size: 22px;
    }
    .tagline button {
        font-size: 26px;
    }
    .page-block h2 {
        font-size: 28px;
    }
    .page-block h3 {
        font-size: 24px;
    }
    .page-block-2 h1 {
        font-size: 28px;
    }
    .page-block-2 h2 {
        font-size: 24px;
    }
    .page-block-2 p {
        font-size: 20px;
    }
    .about-grid h5 {
        font-size: 50px;
    }
    .servizi-grid {
        width: 50%;
    }
    .banner-media {
        display: none;
      }
      .banner-off {
        display: block;
      }
      .banner-large-off {
        display: none;
      }
      .banner-suzuki-mobile {
        display: block;
      }
      .grifone-image-home {
        height: 40vh;
    }
    .yellow-band {
        width: 90%;
        left: 0;
        right: 0;
        margin: auto;
    }
    .yellow-band-2 {
        width: 90%;
        left: 0;
        right: 0;
        margin: auto;
        top: -30px;
    }
    .about-grid {
        width: 100%;
    }
    .contact-block a {
        margin-left: 0;
        display: block;
        text-align: center;
    }
    .button-fordgrifone {
        font-size: 16px;
    }
   
}
@media (max-width: 360px) {
    .servizi-grid {
        width: 100%;
    }
    .servizi-grid img {
        width: 60%;
    }

   
}
@media (max-width: 280px) {
   
    
}