/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 .dataring-table-header{
     display: flex;
     flex-direction: row;
     align-items: center;
     justify-content: space-between;
     margin-top: 20px;
 }

 .dataring-table-header h3{
     margin:0;
 }

 #dataring-table-template1,  #dataring-table-template2{
    width: 100%;
    border: 0;
}


.dataring-table-container{
  width: 100%;
  padding: 0;
  position: relative;
  margin: 20px 0;
  overflow-x: auto;
}
.dataring-table-scroller{
    overflow-x: scroll;
    overflow-y: visible;
    padding-bottom: 5px;
    width: calc(100% - 35%);
    margin-left: 35%;
}
.dataring-table-container table{
    border-collapse: collapse;
    width: 100%;
    border: none;
    border-right: solid 1px #DDEFEF;
    border-collapse: separate;
    border-spacing: 0;
    margin:0;
}
.dataring-table-container table td{
    margin: 0;
    border-bottom: 1px solid #CFD3DE !important;
    border-right: 1px solid #CFD3DE !important;

    white-space: nowrap;
    min-width: 90px;
    height: 50px;
}
.dataring-table-container table td:first-child{
    border-left: 0;
    border-right: solid 1px #DDEFEF;
    left: 0;
    position: absolute;
    top: auto;
    width: 35%;
}
.dataring-table-container table td:first-child span, .dataring-table-container table .vc_table_content {
    top: 50%;
    position: absolute;
    transform: translateY(-50%);
}
.dataring-table-container table td:not(:first-child) .vc_table_content{
    left:0;
    margin: 0 auto;
    right: 0;
}
.dataring-table-container table tr td:not(:first-child), .dataring-table-container table tr td:not(:first-child) span {
    text-align:center;
}
.dataring-table-container table img{
    margin: 0 auto;
}
.dataring-table-container table td:not(:first-child){
    border-left:0 !important;
}
#dataring-table-template2{

}

@media only screen and (max-width: 767px) {
    .dataring-table-container table td:first-child{
        width: 45%;
    }
    .dataring-table-scroller{
        margin-left: 45%;
    }
    .dataring-table-header{
        flex-direction: column;
        align-items: baseline;
    }
    .dataring-table-header h3{
        margin-bottom: 10px;
    }
    #dataring_search_table{
        margin-top: 10px
    }
}

.dataring-table-header h3{
    color: black;
    font-weight: bold !important;
    margin: 0 !important;
    font-size: 28px;
}

#dataring_search_table{
    max-width: 340px;
    background: #F5F7FA;
    border-radius: 16px;
    height: 40px;
    border: 0;
    color: #1D5294;
    background-image: url(../../vc-elements/img/search-icon.svg);
    background-repeat: no-repeat;
    background-position: 22px center;
    padding-left: 60px;
}
#dataring_search_table::placeholder{
    color: #88A3C4;
    font-size: 16px;

}
.dataring-table-container.template1{
    overflow: hidden;
}
#dataring-table-template1 tr td:first-child {
    margin-top:0px;
    padding-bottom: 40px;
}
#dataring-table-template1 tr:first-child td{
    cursor: pointer;
    font-weight: bold;
    background: #1D5294;
	color: white;
}

#dataring-table-template1 tr:first-child td:first-child {
	border-top-left-radius: 16px;
}

#dataring-table-template1 tr:first-child td:last-child {
	border-top-right-radius: 16px;
}

#dataring-table-template1 .dataring-arrow-table{
    display: block;
    width: 20px;
    height: 20px;
    background-image: url(../../vc-elements/img/arrow.svg);
    background-position: center;
    background-repeat: no-repeat;
    float: left;
    margin-left: 4px;
}
#dataring-table-template1 td.on .dataring-arrow-table{
    transform: rotate(180deg);
}
#dataring-table-template1 .vc_table_content{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}
#dataring-table-template1 tr:not(:first-child){
    background: #F5F7FA;
}
.dataring-table-container tr .vc_table_cell{
    position: relative;
}



.dataring-table-header.template2{
  
}
.dataring-table-header.template2 h3{
    color: white;
    background: #1D5294;
    font-size: 16px;
    width: 100%;
    padding: 12px;
}
.dataring-table-container.template2{
    margin-top:0;
}

#dataring-table-template1 tr td:first-child{
    padding-left: 20px;
 
}
#dataring-table-template2 tr td:first-child{

}
#dataring-table-template2 td{
    border-left: 0 !important;
    border-right: 1px solid #1D5294 !important;
    border-bottom: 1px solid #1D5294 !important;
    font-size: 15px;
}
#dataring-table-template2 tr td:not(:first-child) {
    top: -1px;
}
#dataring-table-template1 tr td:last-child, #dataring-table-template2 tr td:last-child{
    border-right: 0 !important;
}

#dataring-table-template2 [data-header-group] td{
    border-right: 0 !important;
    cursor: pointer;

}
#dataring-table-template2 [data-header-group] td:first-child{
    position: absolute;
    background: white;
}
#dataring-table-template2 [data-header-group] td:first-child:after{
    background-image: url(../../vc-elements/img/arrow.svg);
    background-position: center;
    background-repeat: no-repeat;
    width: 15px;
    height:15px;
    display: block;
    content: '';
    position: absolute;
    top:50%;
    transform: translateY(-50%) rotate(180deg);
    right: 20px;
}
#dataring-table-template2 [data-header-group].on td:first-child:after{
    transform:translateY(-50%);
}
#dataring-table-template1 tr:not(:first-child) td{
    background: #F5F7FA;
    font-size: 15px;
}

#dataring-table-template2 [data-group] td{
    background: #E9F0FA;

}


#dataring-table-template1 img{
    margin: 0;
}

.dataring-table-scroller::-webkit-scrollbar {
    display: none;
  }
  
.dataring-table-scroller {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
  }



#dataring-table-template1 tr:not(:first-child) td {
	border-bottom: none !important;
}

#dataring-table-template1 tr:not(:first-child):nth-child(odd) td {
	background: #E9F0FA;
}

#dataring-table-template1 tr:last-child td:first-child {
	border-bottom-left-radius: 16px;
}

#dataring-table-template1 tr:last-child td:last-child {
	border-bottom-right-radius: 16px;
}


