
/* -------------------------------- 

Modules - reusable parts of our design

-------------------------------- */


/* -------------------------------- 

Main components 

-------------------------------- */
#cd-table {
  position: relative;
  width: 90%;
  max-width: 1170px;
  margin: 1em auto;
  font-size: 14px;
  font-size: 0.875rem;
}
#cd-table::after {
  /* clearfix */
  content: '';
  display: table;
  clear: both;
}
#cd-table::before {
  /* White color gradient on the right */
  content: '';
  position: absolute;
  top: 0;
  right: -1px;
  height: 100%;
  width: 35px;

  z-index: 5;
  pointer-events: none;
}
.no-cssgradients #cd-table::before {
  /* remove the gradient using modernizr if css gradients are not supported */
  display: none;
}
#cd-table.table-end::before {
  /* the gradient disappears when user is at the end of the table */
  display: none;
}
#cd-table .cd-table-container {
  position: relative;
  width: 100%;
  overflow-x: auto;
  /* smooth scrolling on touch devices */
  -webkit-overflow-scrolling: touch;
}
#cd-table .cd-table-wrapper {
  width:1050px;
  padding-left: 300px;
}
#cd-table .cd-table-column {
  width:250px;
  float: left;
  
  margin-left: -1px;
}
#cd-table .cd-table-column:last-child {
  border-right: none;
}
#cd-table ul > li {
    border-bottom: 1px solid #544f8b;
    color: #545353;
    font-size: 15px;
    font-weight: 600;
    min-height: 90px;
    padding: 20px 20px;
    position: relative;
    text-align: center;
}
#cd-table ul.light-purpleBg > li {
    border-bottom: 1px solid #645f9c;   
}

#cd-table ul > li:last-child {
  border-bottom: none;
}
#cd-table .cd-unchecked span, #cd-table .cd-checked span {
  position: absolute; 
  left: 50%;
  top: 50%;
  padding:10px;
  bottom: auto;
  right: auto;
  -webkit-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -ms-transform: translateX(-50%) translateY(-50%);
  -o-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  width: 100%;
}
.cd-table-column svg path {
    fill: #ff5e71;
}

.cd-table-column .light-purpleBg svg path {
    fill: #42c3d3;
}
.cd-table-column .purpleBg.ylow-tick svg path {
    fill: #e89823;
}
.cd-table-column span svg {
    display: block;
    margin: 0 auto;
}
#cd-table .cd-select {
  display: block;
  height: 100%;
  width: 100%;
  font-weight: bold;
}
#cd-table header.cd-table-column {
  position: absolute;
  width:300px;
  height: 100%;
  left: 0;
  top: 0;
  z-index: 10;
  margin-left: 0;
  border-color: #6b758d;
  pointer-events: none;
}
 #cd-table header.cd-table-column li {
  text-align: left;
  
}
#cd-table header.cd-table-column h2 {
  color: #edeef1;
}
#cd-table header.cd-table-column li:nth-child(odd) {
  
}
#cd-table header.cd-table-column li:last-child {

}
#cd-table .cd-scroll-right {
  /* small right arrow that indicates it's possible to scroll right */
  display: block;
  width:32px;
  height:32px;
  position: absolute;
  right: 0;
  top: 50%;
  margin-top: -8px;
  background: url("../img2/user-experience/small-arrow.svg") no-repeat center center;
  background-color:#fff;
  z-index: 6;
  -webkit-animation: cd-scroll-right 1.5s infinite;
  -moz-animation: cd-scroll-right 1.5s infinite;
  animation: cd-scroll-right 1.5s infinite;
  padding:2px;
  cursor:pointer;
}
@media only screen and (min-width: 870px) {
  #cd-table {
    margin: 2em auto;
    border-right: none;
  }
  #cd-table::before {
    display: none;
  }
  #cd-table .cd-table-wrapper {
    width: 100%;
    padding-left:309px;
  }
  #cd-table .cd-table-column {
    width:33.3%;
    float: left;
    padding: 0 2px;
  }
  
  #cd-table header.cd-table-column {
    width:309px;
    float: left;
    box-shadow: none;
    pointer-events: auto;
  }
  #cd-table .cd-scroll-right {
    display: none;
  }
}
@media only screen and (min-width: 1170px) {
  #cd-table {
    margin: 4em auto;
  }
}

@-webkit-keyframes cd-scroll-right {
  0%, 100% {
    -webkit-transform: translateX(0);
  }

  50% {
    -webkit-transform: translateX(3px);
  }
}
@-moz-keyframes cd-scroll-right {
  0%, 100% {
    -moz-transform: translateX(0);
  }

  50% {
    -moz-transform: translateX(3px);
  }
}
@keyframes cd-scroll-right {
  0%, 100% {
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -ms-transform: translateX(0);
    -o-transform: translateX(0);
    transform: translateX(0);
  }

  50% {
    -webkit-transform: translateX(3px);
    -moz-transform: translateX(3px);
    -ms-transform: translateX(3px);
    -o-transform: translateX(3px);
    transform: translateX(3px);
  }
}
