/**
 * @package  Directorist - Compare Listing
 */

/**********************************************************
        START Compare button style in grid listings
**********************************************************/

#directorist.atbd_wrapper .atdlc_grid-btn-position{
    position: absolute;
    right: 45px;
    top: 15px;
    border:none;
}

#directorist.atbd_wrapper .atdlc_grid-btn-position.atdlc_details-grid-btn{
    right: 15px;
}

#directorist.atbd_wrapper .atdlc-mark_compare_btn {
    background-color: rgba(0, 0, 0, 0.2);
    color: #ffffff;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    display:flex;
    align-items: center;
    justify-content: center;
    cursor:pointer;
}

#directorist.atbd_wrapper .atdlc_compare-btn-select-mark .atdlc-mark_compare_btn {
    background-color: rgba(0, 0, 0, 0.8);
}

#directorist.atbd_wrapper .atdlc-mark_compare_btn .atdlc-compare-icon{
    font-size: 14px;
    padding: 3px 3px 0 0;
}

.atdlc_single-listing-compare-btn {
    border: 1px solid #e3e6ef;
    padding: 0 11px;
    height: 36px;
    color: #7a82a6;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.atbd_content_active #directorist.atbd_wrapper .slick-slider .atbd_single_listing{
    margin-top:20px;
}

.related_single_carousel:focus{
    outline:none;
}

/**********************************************************
            END Compare button style on grid view
**********************************************************/


/**********************************************************
           START Compare button style on list view
**********************************************************/

#directorist.atbd_wrapper .atdlc_list-btn-position{
    position: absolute;
    right: 55px;
    top: 20px;
}

/**********************************************************
           END Compare button style on list view
**********************************************************/



/**********************************************************
            START Select window style
**********************************************************/

.atdlc_compare-listings-container{
    width: 320px;
    position: fixed;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999999999;
    right: -320px;
}

.atdlc_compare-listings-container .atdlc_collapse-btn-container{
    color: #ffffff;
    position: absolute;
    top: 50%;
    left: -25px;
    transform: translate(-50%, -50%);
}

.atdlc_compare-listings-container .atdlc_compare-listings-count{
    font-size: 14px;
    width: 24px;
    height: 24px;
    background-color: #00C14C;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -10px;
    left: -10px;
    z-index:1;
}

.atdlc_compare-listings-container .atdlc_collapse-btn{
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-color: #323540;
    border-radius: 4px 0 0 4px;
    font-size: 22px;
    position: relative;
    box-shadow: -5px 0px 10px #7A7A7A29;
}

.atdlc_compare-listings-container .atdlc_collapse-btn i{
    padding:4px 4px 0 0;
}

.atdlc_compare-listings-container .atdlc_selected-listings-display-container{
    box-shadow: -20px 0px 30px rgba(162, 162, 162, 0.1607843137254902);
    background-color: #ffffff;
    overflow-y: auto;
    height: 100vh;
    width: 100%;
}

.atdlc_compare-listings-container .atdlc_container-title{
    color: #444752;
    font-size: 16px;
    font-weight: normal;
    padding: 20px 25px;
    border-bottom: 1px solid #EBECF1;
    margin:0;
    background-color: unset;
}

.atdlc_compare-listings-container .atdlc_container-title::after,
.atdlc_compare-listings-container .atdlc_container-title::before{
    display: none;
}

.atdlc_compare-listings-container .atdlc_selected-listings-display{
    padding:25px;
    padding-bottom:0;
}

.atdlc_compare-listings-container .atdlc_listing_title_wrapper{
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
}

.atdlc_listing_title_wrapper .atdlc_listing-title{
    margin:0;
    margin-right: 3px;
    word-break: break-all;
}

.atdlc_compare-listings-container .atdlc_selected-listing{
    margin-bottom: 20px;
    display: flex;
    align-items: center
}

.atdlc_compare-listings-container .atdlc_listing-img{
    margin-right: 15px;
    width: 80px;
    height:70px;
    flex: none;
}

.atdlc_compare-listings-container .atdlc_listing-img img{
    width: 80px;
    height: 70px;
    border-radius:5px;
}

.atdlc_listing-remove-btn{
    color:#9299B8;
    width: 30px;
    height:30px;
    padding: 5px;
    cursor: pointer;
    border-radius: 50%;
    float: right;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    font-size: 15px;
}

.atdlc_listing-remove-btn:hover{
    background-color: #F4F5F7;
    color: #F51957;
}

.atdlc_compare-listings-container .atdlc_compare-redirect-btn{
    text-align: center;
    padding: 5px 25px 30px;
}

.atdlc_compare-listings-container .atdlc_redirect-to{
    text-decoration: none;
    color: white;
    padding: 13px 15px;
    border-radius: 4px;
    background-color: #323540;
    display: block;
    font-size: 14px;
}

.atdlc_compare-listings-container .atdlc_redirect-to:hover{
    color: white;
}

@media (max-width: 340px) {
    .atdlc_compare-listings-container{
        width: 270px;
    }
    .atdlc_compare-listings-container #atdlc_collapse-out {
        left: -50px;
    }
}

/**********************************************************
                    END Select window style
**********************************************************/


/**********************************************************
                    START Tooltip style
**********************************************************/

/* Tooltip container */
.atdlc_tooltip{
    position: relative;
}

/* Tooltip text */
.atdlc_tooltip .atdlc_tooltiptext{
    visibility: hidden;
    min-width: 135px;
    font-size: 15px !important;
    background-color: #000000;
    color: #fff;
    text-align: center;
    padding: 5px;
    border-radius: 3px;
    position: absolute;
    z-index: 9999999999;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    line-height: 1.5;
}

/* Tooltip arrow */
.atdlc_tooltip .atdlc_tooltiptext::after{
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #000 transparent transparent transparent;
}
.slick-list.atbdp_tooltip-fix {
    padding: 12px 0;
}

/* Show the tooltip text when you mouse over the tooltip container */
.atdlc_tooltip:hover .atdlc_tooltiptext{
    visibility: visible;
    opacity: 1;
}

/**********************************************************
                       END Tooltip style
**********************************************************/



/*****************************************************************
            START 'Single listing' page compare button style
*****************************************************************/

.atdlc_single-ct-btn{
    border: 1px solid #E3E6EF;
    padding: 5px 10px;
    border-radius: 4px;
}

.atdlc_single-ct-btn:hover{
    cursor: pointer;
    color: white;
    background-color: #444752;
}

.atdlc_single-listing-selected-listing-btn{
    color: white;
    background-color: #444752;
}

/*****************************************************************
            END 'Single listing' page compare button style
*****************************************************************/



/**********************************************************
                START Compare page table style
**********************************************************/

div tr:nth-child(even){
    background-color: #F4F5F7;
}

div.atdlc_ctc-listing-details{
    width: 200px;
    float: left;
    margin-right: 10px;
}

div.atdlc_ctc-trash-btn{
    width: 20px;
    height: 20px;
    padding: 5px;
    margin: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

div.atdlc_ctc-trash-btn:hover{
    cursor: pointer;
    border-radius: 50%;
    color: rgb(212, 68, 68);
    background-color: #E6E6E6;
}

div.atdlc_ctc-img{
    width: 150px;
    height: 105px;
    overflow: hidden;
    margin: 10px 0;
}

.atdlc_listing__center{
    display: flex;
    align-items: center;
    justify-content: center;
}

.atdlc_ct-table{
    box-shadow: 0px 5px 20px #B9B9B91A;
    border-radius: 6px;
    overflow-x: auto;
}

.atdlc_ct-table-img {
    padding: 10px 0;
    margin: 0;
    margin-right: 0;
    display: flex;
    justify-content: center;
}

.atdlc_ct-table-img img{
    border-radius: 5px;
    width: 180px;
    height: 120px;
    object-fit: cover;
}

.atdlc_ct-table-title h5 a {
    font-size: 15px;
    font-weight: 500;
    color: #444752;
    text-align: left;
    text-decoration: none;
    box-shadow: none;
}

.atdlc_ct-table-title h5{
    margin: 0 !important;
    padding: 0 !important;
}

.atdlc_ct-body-title{
    font-size:14px;
    font-weight:500;
    line-height:20px;
    color:#323540;
    text-transform: capitalize;
    width: 150px;
}

.atdlc_ct-body-text{
    color:#7A82A6;
    font-size:15px;
    line-height: 20px;
}

.atdlc_listing-ct-review{
    font-size:14px;
    color: #F58300;
    display: flex;
    align-items: center;
}

.atdlc_ct-body-check{
    color:#00C14C;
    font-size: 16px;
}

.atdlc_ct-body-uncheck{
    color:#F51957;
    font-size:16px;
}

.atdlc_ct-table{
    max-width:max-content !important;
}

.atdlc_ct-table thead{
    vertical-align: top;
    white-space: initial;
}

.atdlc_ct-table-top{
    width:180px;
}

.atdlc_ct-table thead tr th{
    padding:30px 10px;
    vertical-align: top;
    width: 200px;
}
.atdlc_ct-table tbody td{
    color: #7A82A6;
    font-size: 15px;
    line-height: 20px;
}

.atdlc_ct-table tbody tr:nth-child(odd){
    background-color: #F9F9F9;
}

.atdlc_ct-table tbody tr:nth-child(even){
    background-color: transparent;
}

.atdlc_ct-table tbody tr td:first-child{
    width:280px;
    padding: 14px 30px;
}

.atdlc_ct-table tbody tr td:not(:first-child){
    width:180px !important;
    max-width: max-content !important;
}

.atdlc_ct-table table td, .atdlc_ct-table table th{
    border:none;
}

div.atbd_field_type_color{
    height: 20px;
    width: 20px;
    border-radius: 3px;
}

/**********************************************************
                END Compare page table style
**********************************************************/


/**********************************************************
                START select limit alert style
**********************************************************/
.atdlc_limit-aleart-message{
    top: 200px;
    left: 50%;
    transform: translateX(-50%);
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999999999;
    padding: 40px;
    border: 1px solid #e3e6ef;
    border-radius: 5px;
    background-color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.atdlc_limit-aleart-message p{
    margin: 0;
    padding: 0;
}

.atbd_content_active #directorist.atbd_wrapper .atbd_content_module_title_area .atbd_listing_action_area .atdlc_compare-btn-container{
    margin: 3px;
}

@media (max-width: 575px){
    .atdlc_limit-aleart-message{
        padding: 15px;
    }
}

/**********************************************************
                END select limit alert style
**********************************************************/
