/* Notebooks and small desktops  */

@media only screen and (min-width: 1280px) {
  .thumbs {
    display: flex;
    justify-content: flex-start;
    margin: 0 -5px;
    flex-wrap: wrap;
  }

  .thumb {
    display: block;
    width: 116px;
    height: 90px;
    margin: 8px 4px 0 4px;
    overflow: hidden;
    border: 4px solid #eee;
    background-size: cover;
    background-position: center;
    cursor: pointer;
  }
}

@media only screen and (min-width: 992px) {
  body.home header h1 a:after {
    width: 260px;

    height: 129px;

    top: 59%;

    left: 33px;

    background-size: contain;

    /* background: url(images/Fernando-25-Anos.png) no-repeat; */
  }
}

/* Mobile devices  */

@media only screen and (min-width: 992px) and (max-width: 1279px) {
  header {
    background: #fff;
  }

  header nav {
    padding: 0;
  }

  header nav .contact {
    display: none;
  }

  #home h2 {
    width: 310px;
  }

  #filter h3 {
    font-size: 11px;
  }

  #filter select {
    font-size: 11px;
  }

  #filter #searchsubmit {
    padding: 7px;
    font-size: 12px;
    min-width: 69px;
  }

  #list .item {
    min-height: 461px;
  }

  .thumbs {
    display: flex;
    justify-content: flex-start;
    margin: 0 -5px;
    flex-wrap: wrap;
  }

  .thumb {
    display: block;
    width: 116px;
    height: 90px;
    margin: 8px 4px 0 4px;
    overflow: hidden;
    border: 4px solid #eee;
    background-size: cover;
    background-position: center;
    cursor: pointer;
  }

  .map {
    height: 470px;
  }

  .contact-info,
  .contact-info-2 {
    margin-left: 120px;
  }

  footer {
    padding: 55px 0;
  }
}

/* Mobile devices  */

@media only screen and (max-width: 991px) {
  body.home header h1 a {
    left: 0;
  }

  header h1 a {
    top: 0;
    left: 0px;
    right: 0;
    bottom: 0;
    position: absolute;
    z-index: 100;
    background: url(images/logo.png) no-repeat;
    background-size: contain;
  }

  .container {
    width: 100%;
  }

  header {
    background: #fff;
  }

  header nav {
    padding: 0;
  }

  header nav .contact {
    display: none;
  }

  header nav ul {
    padding: 0 20px 0 0;
  }

  #home {
    background: url(images/pattern01.png) #ee5b25;
    padding: 50px 0 20px 0;
    height: auto;
  }

  #home .container {
    display: none;
  }

  #filter h3 {
    margin-bottom: 20px;
  }

  #filter .select {
    clear: both;
    margin-bottom: 4px;
  }

  #filter .price-select {
    clear: both;
    margin: 12px 0 30px 0;
  }

  #list .item {
    min-height: auto;
    margin-bottom: 15px;
  }

  /* #list .item .meta .title {min-height: auto;} */

  #list .item .meta .more {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    top: auto;
  }

  #single .form {
    margin-top: 40px;
  }

  .thumbs {
    display: flex;
    justify-content: center;
    margin: 0 -5px;
    flex-wrap: wrap;
  }

  .thumb {
    display: block;
    width: 23%;
    padding-bottom: 15%;
    margin: 8px 4px 0 4px;
    overflow: hidden;
    border: 4px solid #eee;
    background-size: cover;
    background-position: center;
    cursor: pointer;
  }

  a.talk-whats {
    margin: 0 auto;
  }

  .map {
    height: 470px;
  }

  .contact-info,
  .contact-info-2 {
    position: static;
    margin-left: 0;
    width: 100%;
    padding: 24px 30px;
    -webkit-box-shadow: none;
    box-shadow: none;
  }

  .vehicle-social {
    position: relative;
    top: 0;
    margin: 10px 0 20px 0;
  }

  .vehicle-social .social-buttons {
    position: static;
    margin-top: 10px;
  }

  .vehicle-social .social-buttons a {
    display: block;
    margin-bottom: 10px;
    text-align: center;
  }

  .social-buttons input {
    display: none;
  }
}

@media only screen and (max-width: 767px) {
  header {
    position: relative;
    height: auto;
  }

  header nav {
    float: none;
  }

  header nav .toggle-menu {
    background: #000;
    display: block;
    z-index: 1001;
    cursor: pointer;
    right: 15px;
    top: 15px;
    position: absolute;
    width: 50px;
    height: 44px;
    font-weight: 600;
    font-size: 18px;
    color: white;
    z-index: 100;
    padding: 10px;
  }

  header nav.active .toggle-menu {
    z-index: 1000;
  }

  header nav .toggle-menu span {
    width: 100%;
    height: 4px;
    background: #fff;
    display: block;
    margin-bottom: 6px;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
  }

  header nav.active .toggle-menu span.tm1 {
    margin-top: 10px;
    margin-bottom: 0;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }

  header nav.active .toggle-menu span.tm2 {
    margin-top: -4px;
    margin-bottom: 0;
    -moz-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
  }

  header nav.active .toggle-menu span.tm3 {
    display: none;
  }

  header nav ul {
    margin-top: 0;
    background-color: #141414;
    position: fixed;
    width: 90%;
    right: -100%;
    top: 0;
    bottom: 0;
    padding: 70px 25px 0 30px;
    overflow: hidden;
    -webkit-transition: 0.3s;
    transition: 0.3s;
    z-index: 100;
    height: auto;
  }

  header nav ul li {
    width: 100%;
    display: block;
    float: none;
  }

  header nav ul li a {
    line-height: 40px;
    padding: 0;
    font-size: 18px;
    color: #fff;
    display: block;
    width: 100%;
  }

  header nav ul li a:hover {
    background: none;
    color: #fff;
  }

  header nav.active ul {
    opacity: 1;
    padding: 70px 25px 20px 30px;
    right: 0;
  }

  header nav.active ul li {
    width: 100%;
    display: block;
    float: none;
  }

  header nav.active ul li a {
    padding: 0;
    font-size: 18px;
    color: #fff;
    display: block;
  }

  #filter {
    padding: 33px 0 15px 0;
  }

  #page-header {
    padding: 120px 0 20px 0;
  }

  #page-header {
    padding: 120px 0 20px 0;
  }

  #single .single-title {
    font-size: 18px;
  }

  #single .brand {
    margin: 0 0 8px 0;
    float: none;
  }

  #single .options ul li {
    width: 50%;
  }

  .map {
    height: 470px;
  }

  .contact-info,
  .contact-info-2 {
    position: static;
    margin-left: 0;
    width: 100%;
    padding: 24px 30px;
    -webkit-box-shadow: none;
    box-shadow: none;
  }

  footer {
    padding: 35px 0;
  }

  footer .call {
    display: none;
  }

  footer h6 a {
    float: none;
    display: block;
    text-align: center;
    margin: 0;
  }

  footer address {
    margin-top: 10px;
    width: 100%;
    text-align: center;
    display: block;
    float: none;
  }

  footer .contact {
    margin: 30px 0 30px 0;
    float: none;
    clear: both;
    background: none;
    width: 100%;
    text-align: center;
    padding: 0;
    display: block;
  }

  footer .atendimento {
    text-align: center;
  }

  footer .flex {
    flex-direction: column;
  }
}

/* Smartphones (landscape) and Small tablets (portait)  */

@media only screen and (min-width: 480px) and (max-width: 767px) {
  header h1 {
    width: 155px;
    height: 100px;
    display: block;
    text-indent: -9999px;
    background: #ee5b25;
    position: absolute;
    z-index: 100;
  }

  header h1:after {
    width: 170px;
    left: 30px;
  }

  header h1 a {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    z-index: 100;
    background: url(images/logo.png) no-repeat center/contain;
  }
}

/* Smartphones (portrait)  */

@media only screen and (max-width: 479px) {
  header h1 {
    width: 125px;
    height: 80px;
    display: block;
    text-indent: -9999px;
    background: #ee5b25;
    position: absolute;
    z-index: 100;
  }

  header h1:after {
    width: 170px;
    left: 0;
  }

  header h1 a {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    position: absolute;
    z-index: 100;
    background: url(images/logo.png) no-repeat center/contain;
  }

  header h1 a:after {
    width: 100px;

    top: 35%;

    left: 90%;

    height: 62px;
  }

  #filter {
    padding: 13px 0 15px 0;
  }

  #page-header {
    padding: 100px 0 20px 0;
  }

  #single .options ul li {
    width: 100%;
  }

  #single .meta .meta-table .item strong {
    width: 49%;
  }

  #single .meta .meta-table .item.obs em {
    width: 50%;
    padding: 5px 0;
  }

  .thumbs {
    display: flex;
    justify-content: center;
    margin: 0 -5px;
    flex-wrap: wrap;
  }

  .thumb {
    display: block;
    width: 22%;
    padding-bottom: 15%;
    margin: 8px 4px 0 4px;
    overflow: hidden;
    border: 4px solid #eee;
    background-size: cover;
    background-position: center;
    cursor: pointer;
  }

  #single .contact h4 {
    font-size: 16px;
    line-height: 18px;
  }

  .visible-mobile {
    display: block;
  }
}
