/**
 * The style of the woocommerce compare products
 */

/* ###############
FIXED COLUMNS
##############*/

table.DTFC_Cloned thead, table.DTFC_Cloned tfoot{
    background-color:white;
}
div.DTFC_Blocker{
    background-color:white;
}
div.DTFC_LeftWrapper table.dataTable,
div.DTFC_RightWrapper table.dataTable{
    margin-bottom:0;
    z-index:2;
}
div.DTFC_LeftWrapper table.dataTable.no-footer,
div.DTFC_RightWrapper table.dataTable.no-footer{
    border-bottom:none;
}

/*############################
 * COMPARE
#############################*/

body {
    font-family: 'Open Sans', san-serif;
    font-size: 13px;
    line-height: 1.51em;
    color: #747373;
    background: none !important;
    margin: 0;
}

body h1 {
    background: #4F4F4F;
    color: #fff;
    font-weight: 800;
    padding: 10px;
    border-bottom: 2px solid #fff;
    display: block;
    text-transform: uppercase;
    font-size: 1.076em;
    margin: 0;
    text-align: center;
}

body #yith-woocompare {
    padding: 10px;
}

table.dataTable.compare-list tr {
    display: table-row;
}

table.dataTable.compare-list thead th,
table.dataTable.compare-list thead td,
table.dataTable.compare-list tfoot td,
table.dataTable.compare-list tfoot th {
    border: 0;
    vertical-align: middle;
}
.DTFC_LeftFootWrapper table.compare-list,
.DTFC_LeftHeadWrapper table.compare-list {
    border: 0;
}
table.compare-list>tbody>tr>td, 
table.compare-list>tbody>tr>th, 
table.compare-list>tfoot>tr>td, 
table.compare-list>tfoot>tr>th, 
table.compare-list>thead>tr>td, 
table.compare-list>thead>tr>th {
    padding: 8px !important;
    line-height: 1.42857143;
    vertical-align: top;
    border-top: 1px solid #ddd;
}
table.compare-list {
    width: 100%;
    margin: 0;
    table-layout: auto;
    border: 1px solid #ddd !important;    
}

table.compare-list td {
    width: 220px;
    max-width: 220px;
    min-width: 220px;
    text-align: left;
    vertical-align: middle;
    font-size: 14px;
}
table.compare-list tbody th {
    width: 150px;
    max-width: 150px;
    min-width: 150px;
    overflow: hidden;
    text-align: left;
    line-height: 20px;
    color: #666;    
    background-color: transparent;
    font-size: 14px;
    font-weight: normal;
}
table.compare-list tbody tr .image-wrap{
    text-align: center;
}
table.compare-list tbody tr .image-wrap img{
    margin-bottom: 0;
}


.rtl table.compare-list tbody th {
    text-align: right;
}

table.dataTable.compare-list tbody th,
table.dataTable.compare-list tbody td {
    border-right: 1px solid #e7e7e7;
    border-top: 1px solid #e7e7e7;
    border-bottom: none;
    border-left: none;
    padding: 10px;
    vertical-align: middle;
}
table.dataTable.compare-list tbody tr:last-child th,
table.dataTable.compare-list tbody tr:last-child td {
    border-bottom: 1px solid #e7e7e7;
}
table.compare-list tbody td.last-column {
    width: auto;
    border-right: 0;
}

#yith-woocompare-table_wrapper {
    margin: 10px 0;
}

table.dataTable.compare-list tbody .product_info td {
    vertical-align: top;
}

table.compare-list thead th a.close, h1 a.close {
    float: right;
    margin-right: 10px;
    font-weight: 600;
    font-size: 0.9em;
    color: #fff;
    text-decoration: none;
}

table.compare-list .remove td{
    text-align: center;
}
table.compare-list .remove td a {
    color: #747373;
    text-decoration: none;
}

table.compare-list .remove td a:hover {
    color: #333333;
}

table.compare-list .remove td a .remove {
    border-radius: 100% 100% 100% 100%;
    color: red;
    display: inline-block;
    font-size: 1em;
    font-weight: 600;
    height: 1em;
    line-height: 0.81em;
    text-align: center;
    text-decoration: none;
    width: 1em;
}
table.dataTable.compare-list tr.title td,
table.dataTable.compare-list tr.title td a{
    font-weight: bold;
    color: #000000;
    font-size: 14px;
    text-align: center;
}
table.dataTable.compare-list tr.title td a:hover{
    color: #faf005;
    text-decoration: underline;
}
table.dataTable.compare-list tr.price .amount,
table.dataTable.compare-list tr.price ins{
    text-decoration: none !important;
    font-weight: bold;
    color: #676767;
}
table.dataTable.compare-list tr.price del .amount{
    margin-right: 10px;
    color: #c2c2c2;
    font-weight: normal;
}
table.dataTable.compare-list tr.description .feature-list{
    padding-left: 20px;
}
table.dataTable.compare-list tr.description .feature-list li{
    margin-bottom: 5px;
}
.yith-woocompare-widget ul.products-list a.remove {
    float: left;
}

table.compare-list .remove td a:hover .remove {
    background-color: red;
    color: #ffffff;
}

table.compare-list .add-to-cart td a:not(.unstyled_button) {
    display: block;
    margin: 10px 0;
    text-align: center;
    background-color: #e6dc00;
    border-color: #e6dc00;
    border: 0 none;
    color: #000;
    font-weight: normal;
    line-height: normal;
    padding: 10px 20px;
    text-decoration: none;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 10px;
}

table.compare-list .add-to-cart td a:not(.unstyled_button):hover {
    background: #ffffff;
    color: #000;
    border: 1px solid #cccccc;
    border-radius: 10px;
}

table.compare-list .stock td span {
    color: #000;
}

table.compare-list .stock td span.out-of-stock {
    color: #990000;
}

/*table.compare-list .price td {
    text-decoration: underline;
}*/

table.compare-list td {
    background: #fff;
}

/*table.compare-list td.even {
    background: #fff;
}*/

table.compare-list td img {
    background: none repeat scroll 0 0 #FFFFFF;
    border: 1px solid #DADADA;
    height: auto;
    max-width: 100%;
    padding: 3px;
    margin-bottom: 20px;
    max-width: none;
}
table.compare-list tfoot,
.dataTables_scrollFoot,
.DTFC_LeftWrapper{
    display: none;
}
@media only screen and (max-width:767px) {
    body #yith-woocompare{
        overflow-x: scroll !important;
    }
    table.compare-list tbody th{
        padding: 8px 10px !important;
    }
}