/* Large desktops and laptops */

@media (min-width: 1200px) {
    visible-lg-custom {
        display: inline-block;
    }

    .calendar .content_art {
        height: 345px;
    }
    .news_home {
        height: 400px;
    }
    .lot-count {
        position: relative;
    }
    .timeLeft {
        position: absolute;
        left: 22px;
    }
	.contact-form-container #buttonSend {
		width: 60%;
	}
}

@media (max-width: 1200px) {

    .form-top-grid-container {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
    }
    .form-top-grid>.form-group {
        margin-top: 10px;
        text-align: start;
    }

	.margin-auto-lg {
		margin: auto;
	}

	.d-block-lg {
		display: block !important;
	}

	.text-center-lg {
		text-align: center;
	}

	/* Margin top */
	.mt-lg-1 {
		margin-top: 1rem;
	}
	.mt-lg-2 {
		margin-top: 2rem;
	}
	.mt-lg-3 {
		margin-top: 3rem;
	}
	.mt-lg-4 {
		margin-top: 4rem;
	}
	.mt-lg-5 {
		margin-top: 5rem;
	}

	/* Margin bottom */
	.mb-lg-1 {
		margin-bottom: 1rem;
	}
	.mb-lg-2 {
		margin-bottom: 2rem;
	}
	.mb-lg-3 {
		margin-bottom: 3rem;
	}
	.mb-lg-4 {
		margin-bottom: 4rem;
	}
	.mb-lg-5 {
		margin-bottom: 5rem;
	}

	/* Margin left */
	.ml-lg-1 {
		margin-left: 1rem;
	}
	.ml-lg-2 {
		margin-left: 2rem;
	}
	.ml-lg-3 {
		margin-left: 3rem;
	}
	.ml-lg-4 {
		margin-left: 4rem;
	}
	.ml-lg-5 {
		margin-left: 5rem;
	}

	/* Margin right */
	.mr-lg-1 {
		margin-right: 1rem;
	}
	.mr-lg-2 {
		margin-right: 2rem;
	}
	.mr-lg-3 {
		margin-right: 3rem;
	}
	.mr-lg-4 {
		margin-right: 4rem;
	}
	.mr-lg-5 {
		margin-right: 5rem;
	}
}


/* Landscape tablets and medium desktops */

@media (min-width: 992px) and (max-width: 1199px) {
    .capaOculta {
        visibility: hidden;
    }
    div.info_contact div.title_contact {
        font-size: 16px;
    }
    .news_home {
        height: 425px;
    }
    .timeLeft {
        text-align: left;
        padding-left: 8px;
    }
    .slid_bg a:nth-child(3) {
        font-size: 12px;
    }
}

@media (min-width: 900px) {
    .form-group-custom {
        margin-bottom: 15px;
        float: left;
        margin-right: 20px;
        width: 46%;
    }
    header ul.items_top_responsive {
        text-align: right;
    }
    .table-responsive>.table>tbody>tr>td {
        max-width: 200px;
    }
    .calendar .content_art {
        height: 345px;
    }
}

@media (max-width: 992px) {
	.item_subasta_item_text {
		margin-bottom: 2rem;
	}

	.margin-auto-md {
		margin: auto;
	}

	.d-block-md {
		display: block !important;
	}

	.text-center-md {
		text-align: center;
	}

	.frmLogin {
		margin-bottom: 4rem;
	}

	.hammer-icon {
		top: 67px;
	}

	/* Margin top */
	.mt-md-1 {
		margin-top: 1rem;
	}
	.mt-md-2 {
		margin-top: 2rem;
	}
	.mt-md-3 {
		margin-top: 3rem;
	}
	.mt-md-4 {
		margin-top: 4rem;
	}
	.mt-md-5 {
		margin-top: 5rem;
	}

	/* Margin bottom */
	.mb-md-1 {
		margin-bottom: 1rem;
	}
	.mb-md-2 {
		margin-bottom: 2rem;
	}
	.mb-md-3 {
		margin-bottom: 3rem;
	}
	.mb-md-4 {
		margin-bottom: 4rem;
	}
	.mb-md-5 {
		margin-bottom: 5rem;
	}

	/* Margin left */
	.ml-md-1 {
		margin-left: 1rem;
	}
	.ml-md-2 {
		margin-left: 2rem;
	}
	.ml-md-3 {
		margin-left: 3rem;
	}
	.ml-md-4 {
		margin-left: 4rem;
	}
	.ml-md-5 {
		margin-left: 5rem;
	}

	/* Margin right */
	.mr-md-1 {
		margin-right: 1rem;
	}
	.mr-md-2 {
		margin-right: 2rem;
	}
	.mr-md-3 {
		margin-right: 3rem;
	}
	.mr-md-4 {
		margin-right: 4rem;
	}
	.mr-md-5 {
		margin-right: 5rem;
	}
}


/* Portrait tablets and small desktops */

@media (min-width: 769px) and (max-width: 991px) {
    footer .logo img {
        margin: 10px auto;
    }
    footer .module_wrapper {
        text-align: center;
    }
    .lot-grid {
        margin-bottom: 20px;
    }
    .lot-grid a {
        color: #707B7C;
        -webkit-transition: .2s color linear;
        -o-transition: .2s color linear;
        transition: .2s color linear;
        text-decoration: none;
    }
    .control {
        display: block;
        opacity: 1;
    }
    .info_single div.pre,
    .precio_minimo_no_alcanzado,
    .precio_minimo_alcanzado,
    .ficha_V .info_single_button {
        width: 200px;
    }
    .capaOculta {
        visibility: hidden;
    }

    ul.list_home {
        margin: 0;
        padding: 40px 15px;
        height: 170px;
    }

    div.info_contact div.title_contact {
        font-size: 13px;
    }
    .calendar .content_art {
        height: 512px;
    }
    .news_home .form-inline .form-control,
    .news_home .form-inline .form-group label {
        display: block;
    }
    .lot-count .timeLeft {
        text-align: left;
        padding-left: 68px;
    }
    .slid_bg {
        text-align: center;
    }
    .slid_bg a {
        width: 50%;
    }
    div.news_home {
        height: 587px;
    }
    #lotes_destacados {
        padding: 0;
    }
}

@media (min-width: 768px) {
    .navbar-nav> li> a {
        padding-top: 5px;
        padding-bottom: 5px;
    }
}


/* Landscape phones and portrait tablets */

@media (max-width: 768px) {

	.next {
		margin-top: 2rem;
		display: flex;
		justify-content: space-between;
	}

    footer .logo img {
        margin: 10px auto;
    }
    .name-data-custom {
        min-width: 300px;
    }
    .img-dat.img-data-customs img {
        min-width: 50px;
    }
    .remat-data-custom,
    .auc-data-custom,
    .auc-data-custom {
        min-width: 150px;
    }
    #lotes_destacados {
        padding: 0;
    }
    footer .module_wrapper {
        text-align: center;
    }
    .lot-grid {
        margin-bottom: 20px;
    }
    .lot-grid a {
        color: #707B7C;
        -webkit-transition: .2s color linear;
        -o-transition: .2s color linear;
        transition: .2s color linear;
        text-decoration: none;
    }
    .slid_bg {
        text-align: center;
    }
    .calendar p {
        height: auto;
    }
    .capaOculta {
        visibility: hidden;
    }
    .navbar-nav>li:nth-child(1) a {
        border-left: none;
    }
    .mt_re {
        margin-top: 35px;
    }
    #pujar_ordenes_w {
        font-size: 15px;
        min-height: 46px;
    }
    #owl-carousel-responsive {
        margin-bottom: 40px;
    }
    .change_row {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        display: table-header-group;
    }
    .left_row {
        -webkit-order: 2;
        -ms-order: 2;
        order: 2;
    }
    .right_row {
        -webkit-order: 1;
        -ms-order: 1;
        order: 1;
    }
    .item_lot_mini {
        position: relative;
    }
    .item_lot_mini .data_container {
        height: 40px;
    }
    .timeLeft {
        font-size: 14px;
        padding-top: 10px;
    }
    h1.titlePage,
    .title-head-grid .lot-count,
    .title-head-grid .lot-grid,
    .lot-detail h1.titlePage {
        padding-bottom: 10px;
        margin-bottom: 10px;
        margin-top: 10px;
        font-size: 30px;
    }

    .it_ro h1.titleSingle {
        font-size: 25px;
    }
    .info_single div.pre,
    .precio_minimo_no_alcanzado,
    .precio_minimo_alcanzado,
    .ficha_V .info_single_button {
        width: 200px;
    }

    div.newsletter input.newsletter-input {
        border-radius: 0;
        border: none;
    }
    div.news_home {
        padding: 22px 0 22px 10px;
        height: auto;
    }
    .module_footer img {
        margin: 0 auto;
    }
    .calendar .content_art {
        height: 420px;
    }
    .item_lot_large .lot-desc,
    .item_lot_large .img_lot {
        flex: none;
    }
    .item_lot_large .lot-desc,
    .item_lot_large .lot-desc .lot-name {
        width: 200px;
    }
    .item_lot_large .lot-desc .lot-name {
        width: 197px;
    }
    .item_lot_large .img_lot {
        width: 80px;
    }
    .item_lot_large {
        height: 100px;
        margin: 2px 0;
    }
    #large_square i,
    #square i {
        font-size: 20px;
    }
    .desc-lot-large {
        overflow: hidden;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        overflow: hidden;
        line-height: 20px;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        height: 57px;
        margin-bottom: 10px;
    }

	.img_lot img {
		margin: auto;
		height: 300px;
	}

	.viewVideo {
		width: 600px;
		height: 450px;
	}

	.home-bottom .slick-next {
		display: none !important;
	}

	.home-bottom .slick-prev {
		display: none !important;
	}

	.account-item-border {
		border: none;
	}

	.margin-auto-sm {
		margin: auto;
	}

	.d-block-sm {
		display: block !important;
	}

	.text-center-sm {
		text-align: center;
	}

	/* Margin top */
	.mt-sm-1 {
		margin-top: 1rem;
	}
	.mt-sm-2 {
		margin-top: 2rem;
	}
	.mt-sm-3 {
		margin-top: 3rem;
	}
	.mt-sm-4 {
		margin-top: 4rem;
	}
	.mt-sm-5 {
		margin-top: 5rem;
	}

	/* Margin bottom */
	.mb-sm-1 {
		margin-bottom: 1rem;
	}
	.mb-sm-2 {
		margin-bottom: 2rem;
	}
	.mb-sm-3 {
		margin-bottom: 3rem;
	}
	.mb-sm-4 {
		margin-bottom: 4rem;
	}
	.mb-sm-5 {
		margin-bottom: 5rem;
	}

	/* Margin left */
	.ml-sm-1 {
		margin-left: 1rem;
	}
	.ml-sm-2 {
		margin-left: 2rem;
	}
	.ml-sm-3 {
		margin-left: 3rem;
	}
	.ml-sm-4 {
		margin-left: 4rem;
	}
	.ml-sm-5 {
		margin-left: 5rem;
	}

	/* Margin right */
	.mr-sm-1 {
		margin-right: 1rem;
	}
	.mr-sm-2 {
		margin-right: 2rem;
	}
	.mr-sm-3 {
		margin-right: 3rem;
	}
	.mr-sm-4 {
		margin-right: 4rem;
	}
	.mr-sm-5 {
		margin-right: 5rem;
	}

}

@media (max-width:600px) {
    header ul.items_top_responsive {
        text-align: center;
    }
    div.logo {
        text-align: center;
        width: 100%;
        margin: auto;
        min-height: 90px;
    }
    .tabs-custom ul li {
        margin-bottom: 15px;
        flex-basis: 100%;
    }

    .button-follow-responsive {
        opacity: 1;
        background: transparent;
        z-index: 100;
        display: flex;
        align-items: center;
        top: -20px;
        left: -3px;
    }

    div.module_footer {
        text-align: center;
    }
    .save_orders span.text-uppercase {
        font-size: 30px;
    }
    .group-pujar-custom {
        display: block;
    }
    .group-pujar-custom .input-group-btn #pujar_ordenes_w,
    .group-pujar-custom #bid_modal_pujar {
        border-radius: 0;
    }

	.viewVideo {
		width: 480px;
		height: 360px;
	}

}


/* Portrait phones and smaller */

@media (max-width: 480px) {
    div.form-group-custom label {
        padding-bottom: 8px;
    }
    div.newsletter {
        min-height: 260px;
    }
    footer {
        padding-bottom: 70px;
    }
    #owl-carousel div.owl-prev {
        left: 0;
        position: absolute;
        top: 30px;
    }
    #owl-carousel div.owl-next {
        right: 0;
        position: absolute;
        top: 30px;
    }
    #owl-carousel div.owl-prev,
    #owl-carousel div.owl-next {
        font-size: 40px;
        border-radius: 0;
        background-color: transparent;
    }
    div.module_footer {
        margin-bottom: 80px;
    }
    .btn-registro {
        width: 100%
    }
    .sub-o {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .content_item_mini a .retired {
        font-size: 10px;
        right: 14px;
    }
    .save_orders {
        width: 100vh;
    }

	.img_lot img {
		margin: auto;
		height: 200px;
	}

	.viewVideo {
		width: 320px;
		height: 240px;
	}

	.account-item-border {
		border: none;
	}

	.margin-auto-xs {
		margin: auto;
	}

	.d-block-xs {
		display: block !important;
	}

	.text-center-xs {
		text-align: center;
	}

	/* Margin top */
	.mt-xs-1 {
		margin-top: 1rem;
	}
	.mt-xs-2 {
		margin-top: 2rem;
	}
	.mt-xs-3 {
		margin-top: 3rem;
	}
	.mt-xs-4 {
		margin-top: 4rem;
	}
	.mt-xs-5 {
		margin-top: 5rem;
	}

	/* Margin bottom */
	.mb-xs-1 {
		margin-bottom: 1rem;
	}
	.mb-xs-2 {
		margin-bottom: 2rem;
	}
	.mb-xs-3 {
		margin-bottom: 3rem;
	}
	.mb-xs-4 {
		margin-bottom: 4rem;
	}
	.mb-xs-5 {
		margin-bottom: 5rem;
	}

	/* Margin left */
	.ml-xs-1 {
		margin-left: 1rem;
	}
	.ml-xs-2 {
		margin-left: 2rem;
	}
	.ml-xs-3 {
		margin-left: 3rem;
	}
	.ml-xs-4 {
		margin-left: 4rem;
	}
	.ml-xs-5 {
		margin-left: 5rem;
	}

	/* Margin right */
	.mr-xs-1 {
		margin-right: 1rem;
	}
	.mr-xs-2 {
		margin-right: 2rem;
	}
	.mr-xs-3 {
		margin-right: 3rem;
	}
	.mr-xs-4 {
		margin-right: 4rem;
	}
	.mr-xs-5 {
		margin-right: 5rem;
	}

}
