/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

.tra_cuu{
	margin: 20px 0
}
button.button.btn-submit.mb-0 {
    padding: 0 10px;
    text-transform: none;
    border-radius: 10px;
    margin: 0 auto;
    display: block;
    width: 100%;
}
.form_tra_cuu input {
    border-radius: 10px;
    box-shadow: none;
}
/*************** ADD CUSTOM CSS HERE.   ***************/
[for="billing_email"] .optional{
	display: none
}
.c-gap-20{
	row-gap: 20px
}
/* Table responsive on mobile */
.table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.table th,
.table td {
    padding: 8px;
    text-align: left;
    border: 1px solid #ddd;
}

.table thead {
    position: sticky;
    top: 0;
    left: 0;
    background-color: #f8f9fa;
    z-index: 2;
}
/* Sticky header */
.table thead th {
    position: sticky;
    top: 0;
    background-color: #e3f2fd;
    z-index: 1; 
    text-transform: none;
}

.result_tra_cuu.active{
	margin-top: 20px;
	/* overflow-x: scroll; */
	border: 1px solid;
	/* padding: 20px !important; */!i;!;
	width: 100%;
}
/* For mobile devices */
@media (max-width: 1200px) {
	main .tra_cuu .row{
		align-items: start !important;
		justify-content: start !important;
		vertical-align: start !important;
	}
	main .tra_cuu .col.large-2.pb-0{
		flex-basis: 100%;
		max-width:100%
	}
}
@media (max-width: 700px) {
	
	.result_tra_cuu.active{
		overflow-x: scroll;
		display: flex;
	}
    .table {
        display: flex;
        /* overflow-x: auto; */
        font-size: 14px;
        width: max-content;
        flex: 1;
    }

    .table thead tr {
        display: flex;
        flex-direction: column;
    }

    .table tr {
        display: block;
        margin-bottom: 10px;
        width: 100%;
    }

    .table td {
        display: flex;
        justify-content: space-between;
        padding: 10px 5px;
        border-bottom: 1px solid #ddd;
        position: relative;
        white-space: normal;
        height: 50px;
        display: flex;
        align-items: center;
    }

    .table td::before {
        content: attr(data-label);
        position: absolute;
        left: 10px;
        font-weight: bold;
        text-transform: uppercase;
    }
	.table thead th {
		height: 50px;
		display: flex;
		align-items: center;
	}
	.form_tra_cuu .row{
		max-width: 100% !important;
		/* margin:  0 -15px !important; */
	}
	.form_tra_cuu .row .col{
		padding: 0 !important;
	}
	tbody {
	    flex: 1;
	    display: flex;
	    /* overflow: scroll; */
	    width: max-content;
	}
}


@media(min-width: 992px) {
    .header .header-inner.flex-row {
        height: 100%;
        padding: 0 25px;
    }
    .container {
        padding-left: 5vw;
        padding-right: 5vw;
    }
    .row {
        padding-left: 4vw;
        padding-right: 4vw;
    }
}

select.orderby option[value="popularity"] {
    display: none;
}

@media only screen and (max-width: 48em) {
    /*************** ADD MOBILE ONLY CSS HERE  ***************/
    .mobile-sidebar-levels-2 .nav-slide>li>.sub-menu>li:not(.nav-slide-header)>a,
    .mobile-sidebar-levels-2 .nav-slide>li>ul.children>li:not(.nav-slide-header)>a {
        font-weight: 500;
        color: #333;
    }
}

.product_sku {
    height: 20px;
    margin-bottom: 10px;
}

.product-info.product-summary .variations,
.product-info.product-summary .variations tbody {
    display: block;
}

.product-info.product-summary .variations,
.product-info.product-summary .variations tbody {
    display: block;
}

.product-info.product-summary .variations tbody>tr td {
    display: block;
    overflow: hidden;
    padding: 0 20px;
    position: relative;
}

.product-info.product-summary .variations tbody>tr {
    display: flex;
    align-items: center;
}

.product-info.product-summary .variations th.label {
    width: 65px;
    min-width: 65px;
}

.product-info.product-summary .variations td.value .ux-swatches {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    padding: 0;
    margin: 0;
    margin: 0px 12px;
    text-align: center;
    flex-wrap: nowrap;
}

.product-info.product-summary .variations td.value .ux-swatches::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.product-info.product-summary .variations td.value .ux-swatches::-webkit-scrollbar-track {
    -webkit-box-shadow: none;
    -webkit-border-radius: 0;
    border-radius: 0;
    height: 0;
}

.product-info.product-summary .variations td.value .ux-swatches .ux-swatch {
    min-width: 54px;
    height: 100%;
    box-shadow: none;
    border: 1px solid #ccc;
}

@media(max-width: 1400px) {
    .product-info.product-summary .variations td.value .ux-swatches .ux-swatch {
        min-width: 45px;
    }
}

.product-info.product-summary .variations td.value .ux-swatches .ux-swatch.selected {
    box-shadow: none;
    border: 2px solid #000;
}

.product-info.product-summary .variations td.value .ux-swatches .button {
    position: absolute;
    top: 50%;
    z-index: 3;
    cursor: pointer;
    margin: 0;
    transform: translate(0, -50%);
    min-width: 15px;
    min-height: 15px;
    background: #ccc;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 7px;
}

.product-info.product-summary .variations td.value .ux-swatches .button i {
    margin: 0;
}

.product-info.product-summary .variations td.value .ux-swatches .button.prev {
    left: -4px;
}

.product-info.product-summary .variations td.value .ux-swatches .button.next {
    right: 0;
}

.variations .reset_variations {
    display: none;
}

.dvls_maps_wrap,
.dvls_maps_wrap * {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.dvls_maps_wrap option {
    text-transform: capitalize;
}

.dvls_maps_col .btn {
    border: 0;
    background: #4c4c4c;
    height: 35px;
    padding: 0 15px;
    border-radius: 3px;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 0 10px 0 rgb(0 0 0 / 10%);
}

.dvls_maps_wrap {
    overflow: hidden;
    box-shadow: 0 0 10px 0 rgb(0 0 0 / 10%);
    padding: 10px;
}

.dvls_maps_wrap:after,
.dvls_maps_row:after,
.dvls_maps_col:after,
.dvls_maps_3col:after {
    content: '';
    display: table;
    clear: both;
}

.dvls_maps_header_left {
    float: left;
    overflow: hidden;
    font-size: 20px;
    line-height: 35px;
    text-transform: none;
    font-weight: 300;
}

.dvls_maps_header_right {
    overflow: hidden;
}

.dvls_maps_header {
    background: #cbcbcb;
    padding: 15px;
    margin: 0;
    border-top-right-radius: 3px;
    -moz-border-top-right-radius: 3px;
    -webkit-border-top-right-radius: 3px;
    border-top-left-radius: 3px;
    -moz-border-top-left-radius: 3px;
    -webkit-border-top-left-radius: 3px;
}

.dvls_maps_wrap select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAkAAAAGCAYAAAARx7TFAAAAVklEQVQImX3KQQ3AIBBE0bkjBTHIwUF9sBI2+4VgAwscyqUH0tD+ZC6TJ6AD98+63D0D4wMMd8+SJKAA8wUmULQXEXVHEVF1CmgPakcgSWaWgMvM0v4v8Btn7NLEpSUAAAAASUVORK5CYII=") right 10px center no-repeat #FFF !important;
    border: 1px solid #d9d9d9;
    background: #fff;
    border-radius: 3px;
    padding: 0 10px;
    height: 35px;
    width: 100%;
}

.dvls_maps_col {
    padding: 0 5px;
    width: 100%;
}

.dvls_maps_3col {
    margin: 0 -5px;
}

.dvls_maps_header_right {
    padding-left: 15px;
}

.dvls_maps_3col .dvls_maps_col {
    width: 33.333%;
    float: left;
}

.dvls_maps_wrap input.dvls-submit {
    border: 0;
    background: #4f1c78;
    height: 35px;
    padding: 0 15px;
    border-radius: 3px;
    color: #fff;
}

.dvls_maps_wrap .dvls_near_you {
    margin: 10px 0 0;
    display: inline-block;
}

.dvls_maps_sidebar {
    background: #cbcbcb;
    float: left;
    width: 350px;
    position: absolute;
    top: 0;
    left: 0;
    height: 98.5%;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 2;
}

.dvls_maps_main {
    overflow: hidden;
    padding-left: 350px;
    position: relative;
    width: 100%;
    z-index: 1;
}

.dvls_maps_body {
    position: relative;
}

div#dvls_maps {
    width: 100%;
    height: 500px;
}

.dvls_result_thumb {
    width: 80px;
    float: left;
    margin: 0 10px 0 0;
}

.dvls_result_infor {
    overflow: hidden;
}

.dvls_maps_wrap .dvls_result_infor h3 {
    margin: 0 0 5px;
    font-size: 14px;
    line-height: 18px;
    font-weight: 700;
}

.dvls_result_infor p {
    margin: 0 0 5px;
}

.dvls_result_item {
    overflow: hidden;
    padding: 10px;
    border-bottom: 1px solid #cbcbcb;
    cursor: pointer;
    background: #cbcbcb;
}

.dvls_result_wrap .dvls_result_item:hover,
.dvls_result_wrap .dvls_result_item.bg-active {
    background: #000;
}

.dvls_result_wrap .dvls_result_item:hover *,
.dvls_result_wrap .dvls_result_item.bg-active * {
    color: #fff;
}

.dvls_result_status {
    display: none;
    padding: 5px 10px;
}

.dvls_result_status.show {
    display: block;
}

.dvls_maps_body.devvn_loading:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, .5);
    z-index: 10;
}

.dvls_maps_main iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    height: 350px !important;
}

.d-none {
    display: none !important;
}


/*************** ------------------------ Mobile   --------------------------  ***************/

@media screen and (max-width: 549px) {
    .dvls_maps_3col .dvls_maps_col,
    .dvls_maps_header_left {
        float: none;
        width: 100%;
    }
    .dvls_maps_sidebar {
        position: relative;
        width: 100%;
    }
    .dvls_maps_main,
    .dvls_maps_header_right {
        padding: 0;
    }
}