/* Define the container */

@media (min-width: 768.98px) {
  .container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
  }
 }

/* Flexbox layout for the row */
  .row {
    display: flex;
    flex-wrap: wrap;
     /*margin-right: -15px;
    margin-left: -15px;
    */
  }

  @media (max-width: 780px) {
  	.row {
		margin-right: -15px; 
		margin-left: -15px;
	}
  }

/* Columns for all sizes */
  [class*="col-"] {
    /*padding-right: 15px;*/
    /*padding-left: 15px;*/
    flex-basis: 0;
    flex-grow: 1;
    max-width: 100%;
    padding: 0 1em 0 1em;
  }

/* col 4 */
    /* Columns for small devices */
    .col-sm-4 {
      flex: 0 0 33.3333%;
      max-width: 33.3333%;
    }

    /* Columns for medium devices */
    @media (min-width: 768px) {
      .col-md-4 {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
      }
    }

    /* Responsive breakpoints similar to Bootstrap */
    @media (max-width: 767.98px) {
      .col-sm-4 {
        flex: 0 0 100%;
        max-width: 100%;
      }
    }

    @media (min-width: 768px) {
      .col-md-4 {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
      }
    }
/* END col 4 */

/* col 6 */

    /* Base styles for columns, you can put common styles here */
    .col-md-6,
    .col-sm-6 {
      position: relative;
      width: 100%;
      padding-right: 15px;
      padding-left: 15px;
      box-sizing: border-box;
    }

    /* Medium devices (tablets, 768px and up) */
    @media (min-width: 768px) {
        .col-md-6 {
            flex: 0 0 50%;
            max-width: 50%;
        }
    }

    /* Small devices (landscape phones, less than 768px) */
    @media (max-width: 767.98px) {
        .col-sm-6 {
            flex: 0 0 50%;
            max-width: 50%;
        }
    }

    /* For extra small devices, you can use the following */
    /* Extra small devices (portrait phones, less than 576px) */
    @media (max-width: 575.98px) {
        .col-xs-6 {
            flex: 0 0 50%;
            max-width: 50%;
        }
    }
/* END col 6 */

/* col 12 */

    /* Base styles for columns, you can put common styles here */
    .col-md-12,
    .col-sm-12 {
      position: relative;
      width: 100%;
      padding-right: 15px;
      padding-left: 15px;
      box-sizing: border-box;
    }

    /* Medium devices (tablets, 768px and up) */
    @media (min-width: 768px) {
        .col-md-12 {
            flex: 0 0 100%;
            max-width: 100%;
        }
    }

    /* Small devices (landscape phones, less than 768px) */
    @media (max-width: 767.98px) {
        .col-sm-12 {
            flex: 0 0 100%;
            max-width: 100%;
        }
    }

    /* For extra small devices, you can use the following */
    /* Extra small devices (portrait phones, less than 576px) */
    @media (max-width: 575.98px) {
        .col-xs-12 {
            flex: 0 0 100%;
            max-width: 100%;
        }
    }
/* END col 12 */

/* Responsive Tables */

  /* container div */
  .res_table_container {
    overflow-x: auto !important; /* important for this to work */
  }
  /* Table class */
  .res_table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
    border: 1px solid #abb8c3;
    font-size: 12px; /* important for this to work */
  }

/* Responsive Tables */

/* Other BS styles */
  .text-center {
    text-align: center;
  }

  .img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
  }

  .bg-warning {
    background-color: #fcf8e3;
  }

  .text-warning {
   color: #8a6d3b;
  }

  /* hide on breakpoints */
  @media (max-width: 767px) {
    .hidden-xs {
      display: none !important;
    }
  }
  @media (min-width: 768px) and (max-width: 991px) {
    .hidden-sm {
      display: none !important;
    }
  }
  @media (min-width: 992px) and (max-width: 1199px) {
    .hidden-md {
      display: none !important;
    }
  }
  @media (min-width: 1200px) {
    .hidden-lg {
      display: none !important;
    }
  }
  /* end hide on breakpoints */

  /* BS Buttons */
  .btn-default {
	  display: inline-block;
	  font-weight: 400;
	  color: #212529;
	  text-align: center;
	  border: 1px solid transparent;
	  padding: .375rem .75rem;
	  font-size: 1rem;
	  line-height: 1.5;
	  border-radius: .25rem;
	  background-color: #d3d3d3;
    margin: 2%;
    box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  }

  .btn-default:hover {
    opacity: 0.9;
    background-color: #bdbabac2;
    color: #212529;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
  }
  /* BS Buttons */

/* Other BS styles */
