.visuallyhidden {
    display: none;
}

.revendedores {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    grid-gap: 30px;
	
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


.revendedores .revendedor {
    display: flex;
    align-items: center;
	flex-direction: column;
    text-align: center;
	flex: 0 0 calc(12% - 20px);
	position: relative;
}

@media only screen and (max-width: 600px) {
    .revendedores {
        display: flex;
        grid-template-columns: 1fr;
        grid-gap: 0;
    }

    .revendedores .revendedor {
        border-bottom: solid 1px rgba(0,0,0,.05);
        padding: 10px;
		flex: 0 0 calc(33% - 20px);
    }
}

/* Dealing with 2 orphan items */

.revendedores .revendedor:last-child:nth-child(3n - 1) {
  grid-column-end: -2;
}

.revendedores .revendedor:nth-last-child(2):nth-child(3n + 1) {
  grid-column-end: 4;
}

/* Dealing with single orphan */

.revendedores .revendedor:last-child:nth-child(3n - 2) {
  grid-column-end: 5;
}


.revendedores .revendedor:hover {
    cursor: pointer;
}

.revendedores .revendedor figure {    
    margin: 0px;
    margin-right: 0 !important;
    padding: 0px;
    border-radius: 100px;
    overflow: hidden;
    height: 100px;
    width: 100px;
    min-width: 100px;
	position: relative;
	transition: all 0.3s ease;
	box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}


.revendedores .revendedor:hover figure {

	transform: scale(1.1);
}

.revendedores .revendedor:hover figure:after {    
  content:'';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgb(237 28 36 / 60%)
}



.revendedores .revendedor figure img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.revendedores .revendedor h2 {
    font-size: 1rem;
    margin: 5px;
    transition: all 0.3s ease;
	
	margin: 0;
	position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 14px;
    text-align: center;
    color: #FFF;
	opacity: 0
}




.revendedores .revendedor:hover h2 {
    
	opacity: 1
}

.revendedores .revendedor h4 {
    display: none;
    opacity: 0;
    transition: all 0.5s ease;
    margin: 0;
    font-size: 16px;
    color: #969696;

}

.revendedores .revendedor:hover h4 {
    
}



#modal-revenda {
    position: fixed;
    top: 0px;
    left: 0px;
    height: 100vh;
    width: 100vw;
    background: #00000075;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}



#modal-revenda .modal {
    background-color: #FFF;
    padding: 35px;
    
}

.revenda-container {
    position: relative;
    min-width: 60vw;
    min-height: 50vh;
}


#modal-revenda .modal .close {
    position: absolute;
    right: 20px;
    top: 17px;
    width: 32px;
    height: 32px;
    opacity: 0.3;
    z-index: 999999;
    background: #CCC;
  }
  #modal-revenda .modal .close:hover {
    opacity: 1;
    cursor: pointer;
  }
  #modal-revenda .modal .close:before, #modal-revenda .modal .close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #333;
  }
  #modal-revenda .modal .close:before {
    transform: rotate(45deg);
  }
  #modal-revenda .modal .close:after {
    transform: rotate(-45deg);
  }

  

  @media only screen and (max-width: 600px) {
    #modal-revenda {
        overflow-y: auto;
        padding-top: 400px;
    }

    #modal-revenda .revenda-container figure {
        height: 120px;
        width: 120px;
    }
    #modal-revenda h1 {
        text-align: center;
        font-size: 28px;
        margin-top: 25px;
    }

    #modal-revenda .modal .close {
        right: 10px !important;
    top: 10px !important;
    }

}




#modal-automovel {
    position: fixed;
    top: 0px;
    left: 0px;
    height: 100vh;
    width: 100vw;
    background: #00000075;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}



#modal-automovel .modal {
    background-color: #FFF;
    padding: 35px;
    
}

#modal-automovel .automovel-container {
    position: relative;
    min-width: 60vw;
    min-height: 50vh;
}


#modal-automovel .modal .close {
    position: absolute;
    right: 20px;
    top: 17px;
    width: 32px;
    height: 32px;
    opacity: 0.3;
    z-index: 999999;
    background: #CCC;
  }
  #modal-automovel .modal .close:hover {
    opacity: 1;
    cursor: pointer;
  }
  #modal-automovel .modal .close:before, #modal-automovel .modal .close:after {
    position: absolute;
    left: 15px;
    content: ' ';
    height: 33px;
    width: 2px;
    background-color: #333;
  }
  #modal-automovel .modal .close:before {
    transform: rotate(45deg);
  }
  #modal-automovel .modal .close:after {
    transform: rotate(-45deg);
  }

  

  @media only screen and (max-width: 600px) {
    #modal-automovel {
        overflow-y: auto;
        padding-top: 100px;
    }

    #modal-automovel .automovel-container figure {
        height: 120px;
        width: 120px;
    }
    #modal-automovel h1 {
        text-align: center;
        font-size: 28px;
        margin-top: 25px;
    }

    #modal-automovel .modal .close {
        right: 10px !important;
    top: 10px !important;
    }

}



.revenda-container {
    font-family: "Montserrat", Sans-serif;
}

.revenda-container-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -120px;
    margin-bottom: 30px;
}


.revenda-container figure {    
    margin: 0px;
    padding: 0px;
    border-radius: 100px;
    overflow: hidden;
    height: 160px;
    width: 160px;
}
.revenda-container figure img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

ul.links {
    list-style: none;
    margin: 0px;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 25px;
}

@media only screen and (max-width: 600px) {
    ul.links {
        list-style: none;
        margin: 0px;
        padding: 0;
        display: grid;
        grid-template-columns: 1fr;
        grid-gap: 25px;
    }
}

ul.links li {
    
}



ul.links li a {
    display: flex;
    align-items: center;
    color: #000;
    border-radius: 6px;
    padding: 15px;
}

ul.links li a:hover {
    background-color: #F0F3F5;
}

ul.links li a .text {
    font-size: 20px;
    
    font-weight: 500;
    word-wrap: break-word;
    max-width: 250px;
}

ul.links li a .text span {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    color: #999;
    font-weight: 600;
    letter-spacing: 1px;
}

ul.links li a .text sub {
    display: block;
    margin-top: 5px;
    height: 8px;
    font-size: 12px;
}

ul.links li a .icon {
    margin-right: 20px;
}

ul.links li a .icon svg{
    max-width: 42px;
    max-height: 42px;
    margin: 0px;
}

.link_whatsapp svg{
    fill: #25D366;
}

.link_email svg{
    fill: #0489c9;
}

.link_facebook svg{
    fill: #3b5998;
}

.link_instagram svg{
    fill: #E1306C;
}

.link_instagram svg{
    fill: #E1306C;
}

.link_youtube svg{
    fill: #FF0000;
}

.link_twitter svg{
    fill: #1DA1F2;
}

.link_olx svg{
}

#icon-olx .st0{fill:#6E0AD6 !important;}
#icon-olx .st1{fill:#8CE563;}
#icon-olx .st2{fill:#F28000;}

.link_meuCarroNovo svg{
}

#icon-meuCarroNovo .st0{fill:#3C3C3B;}
#icon-meuCarroNovo .st1{fill:#575756;}
#icon-meuCarroNovo .st2{fill:#FE7F00;}
#icon-meuCarroNovo .st3{fill:#FE8C19;}


#icon-loocalizei .st0{fill:#D32523;}

#icon-mobiauto .st0{fill:#4BADA9;}

#icon-webseminovos .st0{fill:#A0CA3A;}
#icon-webseminovos .st1{fill:#136C92;}

#icon-clicarros .st0{fill:#2E2825;}
#icon-clicarros .st1{fill:#F1BA2C;}


#icon-site .cls-1{fill:none;stroke:#078cd6;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;}

.link_autoline svg{
    fill: #cc092f;
}


.link_webmotors svg {
    fill: #ec0829 !important;
}


.link_icarros svg{
    fill: #1f8af1;
}












/********** LOADING **************/

.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #ed1c24;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #ed1c24 transparent transparent transparent;
  }
  .lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
  }
  .lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
  }
  .lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
  }
  @keyframes lds-ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  


  @media only screen and (max-width: 600px) {

    .revendedores .revendedor figure {
        height: 80px;
        width: 80px;
        min-width: 60px;
        max-width: 80px;
    }

    .revendedores .revendedor h2 {
        font-size: .7em;
    }

    #modal-revenda {
        padding-top: 100px;
        align-items: baseline;
        
    }
    ul.links {
        grid-gap: 0px;
    }
    .revenda-container-head {
        margin-top: -105px;
    }
    #modal-revenda .modal {
        padding: 20px;
        margin-bottom: 60px;
        margin-left: 20px;
        margin-right: 20px;
        padding-bottom: 40px;
        width: 100%;
    }
    ul.links li a .icon svg {
        max-width: 30px;
        max-height: 30px;
    }
    ul.links li a .text {
        font-size: 15px;
    }

}