/***** Gallery ******/
.c-gallery{
    width: 100%;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

.c-gallery__main{
    position: relative;
    cursor: pointer;
}

.c-gallery__figure{
    margin: 0 -15px;
}

.c-gallery__figure img{
    width: 100%;
}

.c-gallery__arrows{
    position: absolute;
    transform: translate(-50%, -50%);
    width: 100%;
    left: 50%;
    top: 50%;
    height: 45px;
}

.c-gallery__arrows:before,
.c-gallery__arrows:after{
    content:"";
    width: 45px;
    height:45px;
    position:absolute;
    background-repeat: no-repeat;
    background-position: center;
}

.c-gallery__arrows:before{
    left: 0;
    background-image: url("img/flecha_izquierda9.png");
}

.c-gallery__arrows:after{
    right: 0;
    background-image: url("img/flecha_derecha9.png");
}

.c-gallery__overlay{
    position: absolute;
    bottom: 5px;
    transform: translateX(-50%);
    left: 50%;
    background: rgba(0,0,0,0.5);
    padding: 5px 20px;
    font-size: 14px;
    line-height: 14px;
    color: white;
    border-radius: 6px;
}

.c-gallery__thumbnails{
    display: none;
}

@media screen and (min-width: 768px) {

    .c-gallery__arrows{
        /*display: none;*/
        transition: all 200ms ease-in;
    }

    .c-gallery__main:hover > .c-gallery__arrows{
        display: block;
    }

    .c-gallery__arrows:before,
    .c-gallery__arrows:after{
        transition: all 200ms ease-in;
        width: 60px;
        height: 60px;
    }

    .c-gallery__arrows:before{
        left: 5px;
    }

    .c-gallery__arrows:after{
        right: 5px;
    }

    .c-gallery__figure{
        margin: 0;
    }

    .c-gallery__thumbnails{
        display: block;
        position: relative;
    }

    .c-thumbnails{
        display: flex;
        padding: 10px 0;
    }

    .c-thumbnails__item:not(:last-child) {
        margin-right: 10px;
    }

    .c-thumbnails__figure {
        margin: 0;
        position: relative;
        cursor: pointer;
    }

    .c-thumbnails__figure--selected:before{
        position: absolute;
        content:"";
        top:0;
        bottom:0;
        left: 0;
        right:0;
        border: 4px solid #5562eb;
    }

    .c-thumbnails__figure img {
        width: 95px;
        height: 71px;
        object-fit: cover;
    }
}



/***** Car information Layout *****/
.c-info {
    margin: 10px 0 20px;
    width: 100%;
    font-size: 16px;
    line-height: 18px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    color: #333;
}

.c-info__row{
    display: flex;
    margin-bottom: 10px;
}

.c-info__price{
    flex: 1 1 0;
}

.c-info__price span{
    display: block;
}

.c-info__detail:not(:last-child) {
    margin-right: 10px;
    position: relative;
}

.c-info__detail:not(:last-child):before {
    position: absolute;
    content: "";
    right: -5px;
    top: 0;
    bottom: 0;
    background-color: #a1a1a1;
    width: 1px;
}

.c-info__title{
    display: block;
    margin: 20px 0 10px;
    font-size: 16px;
    line-height: 18px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    color: #333;
    font-weight: bold;
}

.c-info__text{
    display: block;
    font-size: 14px;
    line-height: 20px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    color: #333;
    margin-bottom: 10px;
}

@media screen and (min-width: 768px) {

    .c-info__row{
        margin-bottom: 15px;
    }

    .c-info__price{
        flex: unset;
        width: 25%;
    }

    .c-info__text{
        font-size: 16px;
    }

}


/***** Action buttons and modals *****/
.action-btns{
    display: flex;
    border-top: 1px solid #5562eb;
    border-bottom: 1px solid #5562eb;
    margin: 10px -15px;
}

.action-btns__input{
    display: none;
}

.action-btns__btn {
    color: #5562eb;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 13px;
    font-weight: bold;
    flex: 1 1 0;
    text-align: center;
    padding: 15px;
}

.action-btns__label{
    padding-left: 25px;
    position: relative;
    margin: 0;
    cursor: pointer;
}

.action-btns__label:before{
    position: absolute;
    width: 20px;
    height: 20px;
    content: "";
    left: 0;
    transform: translateY(-50%);
    top: 50%;
}

.action-btns__label.share:before{
    background-image:url("../img/share-icon.svg");
    filter: invert(46%) sepia(45%) saturate(7440%) hue-rotate(224deg) brightness(95%) contrast(94%);
}

.action-btns__label.report:before{
    background-image:url("/img/denunciar.svg");
    filter: invert(46%) sepia(45%) saturate(7440%) hue-rotate(224deg) brightness(95%) contrast(94%);
}

.modal-share{
    display: none;
}

.modal-share:before{
    position: absolute;
    width: 15px;
    height: 15px;
    background: #edf2f7;
    content: "";
    top: -6px;
    transform: translateX(-50%) rotate(45deg);
    left: 50%;
}

.modal-share__item{
    padding-left: 40px;
    margin: 20px 0;
    position: relative;
    cursor: pointer;
}

.modal-share__item:before{
    position: absolute;
    content: "";
    background-size: 30px;
    background-position: center;
    background-repeat: no-repeat;
    width: 30px;
    height: 30px;
    transform: translateY(-50%);
    top: 50%;
    left: 0;
}

.modal-share__item.facebook:before{
    background-image: url("../img/facebook-icon.svg");
}

.modal-share__item.twitter:before{
    background-image: url("../img/twitter-icon.svg");
}

.action-btns__input:checked ~ .action-btns__btn .modal-share {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #edf2f7;
    position: absolute;
    min-width: 160px;
    transform: translateX(-50%);
    left: 50%;
    top: 25px;
    border-radius: 6px;
    height:auto;
    width: auto;
    padding: 10px 20px;
}

.report-form{
    padding: 20px;
}

@media screen and (min-width: 768px) {

    .action-btns{
        margin: 10px 0;
    }

    .action-btns__btn{
        padding: 20px;
    }

    .modal--report .modal__overlay{
        display: none;
    }

    .modal--report .modal__close{
        display: block;
        margin: unset;
        width: 450px;
    }

    .report-form{
        width: 450px;
        background: #fff;
    }

    .modal--report .modal__close{
        padding: 20px;
    }

    .modal__input:checked ~ .modal__overlay {
        opacity: 1;
        z-index: 800;
        height: 100%;
        position: fixed;
        padding: 20px 0;
        display: flex;
        background: rgba(0,0,0,0.4);
        margin: auto;
        align-items: center;
        justify-content: center;
    }
}


/***** Table *****/
.c-table{
    margin-bottom: 15px;
}

.c-table__list{
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    overflow: hidden;
    padding: 0;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 14px;
    line-height: 16px;
}

.c-table__item{
    border-bottom: 1px solid #efefef;
    padding: 10px;
    width: 50%;
}

.c-table__item:nth-child(2n){
    box-shadow: -9px 0 0 -8px #efefef;
}

@media screen and (min-width: 768px) {

    .c-table__list{
        font-size: 16px;
    }

}


/***** Advertiser board *****/
.advertiser-board{
    padding: 15px;
    background: #edf2f7;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 15px;
    line-height: 18px;
    border-radius: 6px;
    position: relative;
    margin: 20px 0;
}

.advertiser-board__name{
    font-size: 18px;
    line-height: 20px;
    font-weight: bold;
}

.advertiser-board__address{
    display: flex;
    flex-direction: column;
    padding-left: 25px;
    margin: 10px 0;
    position: relative;
}

.advertiser-board__address:before{
    position: absolute;
    content: "";
    width: 18px;
    height: 18px;
    left: 0;
    top: 2px;
    background-size: 18px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(/img/i_provincia.svg);
    filter: brightness(40%) saturate(40%);
}

.advertiser-board__phone{
    padding-left: 25px;
    position: relative;
    color: #5562eb;
    font-weight: bold;
    cursor: pointer;
}

.advertiser-board__phone:before{
    position: absolute;
    content: "";
    width: 18px;
    height: 18px;
    left: 0;
    top: 2px;
    background-size: 16px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("../img/phone-icon.svg");
    filter: invert(37%) sepia(94%) saturate(3271%) hue-rotate(225deg) brightness(95%) contrast(93%);
}

.advertiser-board__link{
    display: block;
    font-size: 14px;
    line-height: 16px;
    color: #5562eb;
    cursor: pointer;
    font-weight: bold;
    margin-top: 20px;
    position: relative;
    padding-left: 25px;
}

.advertiser-board__link:before{
    position: absolute;
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #5562eb;
    border-bottom: 2px solid #5562eb;
    transform: rotate(315deg) translateY(-50%);
    left: 0;
    top: 50%;
}

.advertiser-board__link:after{
    position: absolute;
    content: "";
    width: 8px;
    height: 8px;
    border-right: 2px solid #5562eb;
    border-bottom: 2px solid #5562eb;
    transform: rotate(315deg) translateY(-50%);
    left: 6px;
    top: 50%;
}

@media screen and (min-width: 768px) {

    .advertiser-board__link{
        position: absolute;
        bottom: 0;
        right: 15px;
        margin-bottom: 15px;
    }

}


/***** Contact Form *****/
.contact-form{
    margin-bottom: 30px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 15px;
    line-height: 18px;
}

.contact-form__item{
    margin-bottom: 15px;
}

.contact-form__title{
    font-size: 18px;
    line-height: 20px;
    margin-bottom: 10px;
}

.contact-form__phone,
.contact-form__submit{
    display: block;
    padding: 10px 15px;
    background: #5562eb;
    border-radius: 6px;
    width: 100%;
    margin: 0 auto;
    color: #fff;
    text-align: center;
    font-weight: bold;
    margin-bottom: 15px;
    border: none;
    font-size: 16px;
    width:100%;
}

.contact-form__phone span{
    position: relative;
    padding-left: 20px;
}

.contact-form__phone:hover{
    color: #fff !important;
}

.contact-form__phone span:before {
    position: absolute;
    content: "";
    width: 18px;
    height: 18px;
    left: 0;
    top: 2px;
    background-size: 16px;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url("../img/phone-icon.svg");
    filter: invert(100%) sepia(60%) saturate(1390%) hue-rotate(180deg) brightness(108%) contrast(100%);
}


/***** Components: Input *****/
.contact-form__input{
    position: relative;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    height: 40px;
    line-height: 40px;
    padding: 0 40px 0 10px;
    color: #212531;
    border: 1px solid #eaede2;
    font-size: 16px;
    cursor: pointer;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

.contact-form__input:focus-visible{
    outline:none;
}

.contact-form__textarea{
    position: relative;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    height: 100px;
    padding: 10px;
    color: #212531;
    border: 1px solid #eaede2;
    font-size: 16px;
    line-height: 20px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

.contact-form__textarea:focus-visible{
    outline:none;
}

.contact-form__label{
    font-family: 'TiemposText';
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 5px;
    color: #343a40;
}

.f-checkbox.privacy .f-checkbox__label{
    font-size: 13px;
    line-height: 14px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 400;
}

.f-checkbox.privacy .f-checkbox__label:before{
    transform: none;
    top: 0;
}

.f-checkbox.privacy a{
    color: #f1553c;
}

.f-checkbox__input:checked ~ .f-checkbox__label a{
    color: #5562eb;
}

@media screen and (min-width: 768px) {

    .contact-form{
        padding: 10px;
        background: #edf2f7;
        border-radius: 6px;
    }

}
