/*home*/

@media (min-width: 480px) and (max-width:768px) {
    .copydx {
        right: 30px;
        width: 200px;
    }
    .copysx {
        left: 30px;
    }
}

@media (max-width:479px) {
    .copysx, .copydx {
        position: relative;
        bottom: 0px;
    }
    .copydx {
        right: 0px;
        width: auto;
    }
    .copysx {
        left: 15px;
    }
}

@media (max-width:991px) {
    nav.navigation {
        display: none;
    }
    .navbar-header {
        width: 100%;
    }
}

@media (min-width:990px) {
    .resp-menu {
        display: none;
    }
}

@media (max-width:1100px) {
    .borderfull {
        margin: 25px;
        float: left;
    }
}

@media (max-width:550px) {
    .borderfull {
        margin: 0px;
        float: left;
    }
}

@media (max-width:620px) {
    .bg-header h2 {
        font-size: 30px;
    }
    .bg-header p {
        line-height: 18px;
        width: 300px;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        display: block;
    }
    .titlehome {
        top: 40%;
    }
}


/*aboutus*/

@media (min-width:700px) and (max-width:990px) {
    .div-about .sezione1, .div-about .sezione2, .div-about .sezione3, .div-about .sezione4 {
        height: 1000px;
    }
    .div-about .sezione2 .img {
        width: 100%;
    }
}

@media (max-width:699px) {
    .div-about .sezione1, .div-about .sezione2, .div-about .sezione3 {
        height: 850px;
    }
    .div-about .sezione1 .relativo.height-500, .div-about .sezione2 .relativo.height-500, .div-about .sezione3 .relativo.height-500 {
        height: 350px;
    }
    .div-about .sezione1 .img, .div-about .sezione2 .img, .div-about .sezione3 .img {
        height: 350px;
    }
    .div-about .sezione2 .img {
        width: 100%;
    }
}

@media (max-width:500px) {
    .div-about .sezione1, .div-about .sezione2 {
        height: 1200px;
    }
    .div-about .sezione1 .relativo.height-500, .div-about .sezione2 .relativo.height-500 {
        height: 350px;
    }
    .div-about .sezione1 .img, .div-about .sezione2 .img, .div-about .sezione3 .img {
        height: 350px;
    }
    .div-about .sezione2 .img {
        width: 100%;
    }
    .div-about .sezione1 .txt .height-500, .div-about .sezione2 .txt .height-500 {
        height: 850px;
    }
}


/*history*/

@media (max-width:1290px) {
    .history .titolitxt {
        font-size: 17px;
    }
}

@media (min-width:990px) and (max-width:1222px) {
    .history .height-500 {
        height: 600px;
    }
}

@media (min-width:700px) and (max-width:990px) {
    .history .sezione1, .history .sezione2, .history .sezione3, .history .sezione4 {
        height: 1000px;
    }
    .history .sezione2 .img {
        width: 100%;
    }
}

@media (max-width:699px) {
    .history .sezione1, .history .sezione2, .history .sezione3, .history .sezione4 {
        height: 850px;
    }
    .history .sezione1 .relativo.height-500, .history .sezione2 .relativo.height-500, .history .sezione3 .relativo.height-500, .history .sezione4 .relativo.height-500 {
        height: 350px;
    }
    .history .sezione1 .img, .history .sezione2 .img, .history .sezione3 .img, .history .sezione4 .img {
        height: 350px;
    }
    .history .sezione2 .img {
        width: 100%;
    }
}

@media (max-width:645px) {
    .history .sezione2, .history .sezione3, .history .sezione4 {
        height: 1000px;
    }
    .history .relativo.height-500, .history .sezione2 .relativo.height-500, .history .sezione3 .relativo.height-500, .history .sezione4 .relativo.height-500 {
        height: 350px;
    }
    .history .sezione2 .img, .history .sezione3 .img, .history .sezione4 .img {
        height: 350px;
    }
    .history .sezione2 .img {
        width: 100%;
    }
    .history .sezione3 .txt .height-500, .history .sezione4 .txt .height-500, .history .sezione2 .txt .height-500 {
        height: 650px;
    }
}

@media (max-width:500px) {
    .history .sezione2, .history .sezione3, .history .sezione4 {
        height: 1200px;
    }
    .history .relativo.height-500, .history .sezione2 .relativo.height-500, .history .sezione3 .relativo.height-500, .history .sezione4 .relativo.height-500 {
        height: 350px;
    }
    .history .sezione2 .img, .history .sezione3 .img, .history .sezione4 .img {
        height: 350px;
    }
    .history .sezione2 .img {
        width: 100%;
    }
    .history .sezione3 .txt .height-500, .history .sezione4 .txt .height-500, .history .sezione2 .txt .height-500 {
        height: 850px;
    }
}

/*key-people*/

@media (min-width:992px) and (max-width:1065px) {
    .timeline__content-title {
        font-size: 11px;
    }
}

/*f4*/

@media (min-width:991px) and (max-width:1500px) {
    .nompil h3 {
        font-size: 15px;
    }
}

@media (max-width:990px) {
    #piloti {
        height: inherit;
    }
    #piloti .pilota {
        overflow: hidden;
    }
    .infop h1{
        margin-top: 220px;
    }
    .macchinabg .height-600{
      height: 1550px;
    }
}

@media (max-width:490px) {
    .nompil h3 {
        font-size: 16px;
    }
}

@media (min-width:991px) and (max-width:1268px) {
    .f4 .col-sm-8.col-xs-12 {
        padding: 0px;
    }
    .f4 .col-sm-4.col-xs-12 {
        padding: 0px;
    }
    .right-circuit.cv-1.height-200 {
        margin-right: auto;
        margin-left: 70px;
    }
    #intr-camp .height-500 {
        height: 600px;
    }
}
@media (min-width:991px) and (max-width:1330px) {
  .rooky {
      right: 40%;
  }
}
@media (min-width:550px) and(max-width:660px) {
  .rooky {
      right: 37%;
  }
}
@media (max-width:549px) {
  .rooky {
      right: 47%;
  }
}
@media (max-width:770px) {
    #intr-camp .premessa, #intr-camp .relativo {
        height: 1400px;
    }
    #intr-camp .txt .cv-1, #intr-camp .img .cv-1 {
        height: 700px;
    }
    .circuit {
        float: left;
        width: 100%;
    }
}

@media (max-width:620px) {
    #intr-camp .premessa .titolitxt {
        font-size: 20px;
    }
    #intr-camp .premessa, #intr-camp .relativo {
        height: 1200px;
    }
    #intr-camp .txt .cv-1 {
        height: 800px;
    }
    #intr-camp .img .cv-1 {
        height: 400px;
    }
    .infop {
        position: absolute;
        height: 200px;
        background: #000;
        padding: 20px;
        bottom: 0px;
        margin-left: -15px;
    }
    .infop h1 {
        margin-top: 0px;
    }
    h1.no-margin{
      border-bottom: none;
      width: auto;
    }
    .infop h5{
      width: auto;
    }
    .macchinabg .height-600{
      height: 1100px;
    }


}

@media (max-width:430px) {
    #intr-camp .premessa, #intr-camp .relativo {
        height: 1400px;
    }
    #intr-camp .txt .cv-1 {
        height: 1000px;
    }
    #intr-camp .img .cv-1 {
        height: 400px;
    }
}
/*gallery*/
@media (min-width:991px) and (max-width:1218px) {
  .titolitxt {
    font-size: 20px;
  }
}
@media (min-width:551px) and (max-width:1100px) {
  .anno2016 .fotoanno {
      margin-bottom: 25px;
  }
}
@media (min-width:1101px)  {
  .anno2016 .fotoanno {
      margin-bottom: 50px;
  }
}
@media (max-width:1100px) {
  .borderfull.gallery {
      float: none;
  }
}

@media (max-width:990px) {
  .anno2018 {
      display: flex;
      display: -webkit-flex;
      flex-direction: column;
      -webkit-flex-direction: column;
  }
  .anno2017 {
      display: flex;
      display: -webkit-flex;
      flex-direction: column;
      -webkit-flex-direction: column;
  }
  .anno2017 .testoanno {
      order: 1;
      -webkit-order: 1;
  }

  .anno2017  .fotoanno {
    order: 2;
    -webkit-order: 2;
}
  .anno2016 {
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    -webkit-flex-direction: column;
}
.gallery .titolitxt.nbig {
    font-size: 50px;
}


}


/*training*/

@media (min-width:991px) and (max-width:1268px) {
    #fitness, #fitness .cv-1, #fitness .img, #fitness .relativo {
        height: 600px;
    }
}

@media (max-width:990px) {
    .driver-accademy .sezione1, .driver-accademy .sezione2, .driver-accademy .sezione3, .driver-accademy .sezione4 {
        height: 1000px;
    }
    .driver-accademy .img {
        width: 100%;
    }
}

@media (max-width:690px) {
    #simulatore .height-400 {
        height: 600px;
    }
}

@media (max-width:600px) {
    #fitness .titolitxt {
        font-size: 20px;
    }
    #fitness {
        height: 950px;
    }
    #fitness .height-500 {
        height: 350px;
    }
    #fitness .cv-1 {
        height: 600px;
    }
}

@media (max-width:479px) {
    .titolitxt {
        font-size: 20px;
    }
    #fitness {
        height: 1200px;
    }
    #fitness .height-500 {
        height: 350px;
    }
    #fitness .cv-1 {
        height: 850px;
    }
}


/*news letter*/

@media (max-width:570px) {
    .acymailing_introtext {
        font-size: 26px;
    }
}


/*footer*/
@media (min-width:770px) {
  #sponsor img {
    display: inline;
  }
  .tecnici p {
    margin-left: 15px;
  }
}

@media (max-width:770px) {
    #copy .copyright-right p {
        text-align: left;
    }
    .logosocial img {
        margin-left: 0;
    }
    #sponsor img {
        width: 200px;
        margin-bottom: 10px;
        margin-top: 10px;
    }
    .txtcontcc.col-sm-12.col-md-4.cv-1.height-500 {
        margin-left: auto;
        margin-right: auto;
        height: 300px;
    }
    .sponsor-inside p {
        text-align: center;
    }
    .sponsor-inside .height-300.cv-1 {
        padding: 60px 0;
    }
    .bimecc img {
        width: 260px!important;
        padding-bottom: 40px;
    }
}
