/* overall style */

/* Extra small devices (phones, 600px and down) */

@media only screen and (max-width: 480px) {
  body {
    font-size: 0.8rem;
  }
}

@media only screen and (max-width: 480px) {
  .form-control {
    font-size: 0.8rem;
  }
}

@media only screen and (max-width: 480px) {
  .row-btn {
    font-size: 0.8rem;
    font-weight: 400;
    /*width: 50px;*/
  }
}

/* Extra small devices (phones, 600px and down) */

@media only screen and (min-width: 480px) {
  body {
    font-size: 0.8rem;
  }
}

@media only screen and (min-width: 480px) {
  .form-control {
    font-size: 0.8rem;
  }
}

@media only screen and (min-width: 480px) {
  .row-btn {
    font-size: 0.8rem;
    font-weight: 400;
    /*width: 60px;*/
  }
}

/* Force table to not be like tables anymore */

@media only screen and (max-width: 600px) {
  .customtable table, .customtable thead, .customtable tbody, .customtable th, .customtable td, .customtable tr {
    display: block;
  }
}

/* Hide table headers (but not display: none;, for accessibility) */

@media only screen and (max-width: 600px) {
  .customtable thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
}

@media only screen and (max-width: 600px) {
  .customtable tr {
    border: 1px solid #ccc;
  }
}

@media only screen and (max-width: 600px) {
  .customtable td {
    border: none;
    border-bottom: 1px solid #e4e3e3;
    position: relative;
    padding-left: 35% !important;
    white-space: normal;
    text-align: left;
  }
}

@media only screen and (max-width: 600px) {
  .customtable td:before {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 45%;
    padding-right: 10px;
    white-space: nowrap;
    text-align: left;
    font-weight: bold;
  }
}

/* Label the data */

@media only screen and (max-width: 600px) {
  .customtable td:before {
    content: attr(data-title);
  }
}

/* Small devices (portrait tablets and large phones, 600px and up) */

@media only screen and (min-width: 768px) {
  body {
    font-size: 0.9rem;
  }
}

@media only screen and (min-width: 768px) {
  .form-control {
    font-size: 0.9rem;
  }
}

@media only screen and (min-width: 768px) {
  .row-btn {
    font-size: 0.9rem;
    font-weight: 400;
    /*width: 70px;*/
  }
}

/* Extra large devices (large laptops and desktops, 1200px and up) */

@media only screen and (min-width: 1200px) {
  body {
    font-size: 1rem;
  }
}

@media only screen and (min-width: 1200px) {
  .form-control {
    font-size: 1rem;
  }
}

@media only screen and (min-width: 1200px) {
  .row-btn {
    font-size: 1rem;
    font-weight: 400;
    /*width: 80px;*/
  }
}

