/*!
 * Bootstrap 3 Grid System (Minimal Extract)
 * Only includes: container, row, col-xs/sm/md/lg, text utilities, responsive visibility
 */

/* === Reset === */
body {
  margin: 0;
}

html,
body {
  overflow-x: hidden;
}

/* === Box Sizing === */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* === Clearfix === */
.container::before,
.container::after,
.row::before,
.row::after {
  content: " ";
  display: table;
}
.container::after,
.row::after {
  clear: both;
}

/* === Container === */
.container {
  margin-right: auto;
  margin-left: auto;
  padding-left: 15px;
  padding-right: 15px;
}

@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}

@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}

/* === Row === */
.row {
  margin-left: -15px;
  margin-right: -15px;
}

/* === Columns — shared properties === */
.col-xs-6,
.col-xs-12,
.col-sm-6,
.col-sm-12,
.col-md-2,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-md-9,
.col-md-10,
.col-md-12,
.col-lg-4,
.col-lg-6 {
  position: relative;
  min-height: 1px;
  padding-left: 15px;
  padding-right: 15px;
}

/* === XS columns (default, no media query) === */
.col-xs-6,
.col-xs-12 {
  float: left;
}

.col-xs-6 {
  width: 50%;
}

.col-xs-12 {
  width: 100%;
}

/* === SM columns (>= 768px) === */
@media (min-width: 768px) {
  .col-sm-6,
  .col-sm-12 {
    float: left;
  }

  .col-sm-6 {
    width: 50%;
  }

  .col-sm-12 {
    width: 100%;
  }
}

/* === MD columns (>= 992px) === */
@media (min-width: 992px) {
  .col-md-2,
  .col-md-3,
  .col-md-4,
  .col-md-5,
  .col-md-6,
  .col-md-7,
  .col-md-8,
  .col-md-9,
  .col-md-10,
  .col-md-12 {
    float: left;
  }

  .col-md-2 {
    width: 16.66666667%;
  }

  .col-md-3 {
    width: 25%;
  }

  .col-md-4 {
    width: 33.33333333%;
  }

  .col-md-5 {
    width: 41.66666667%;
  }

  .col-md-6 {
    width: 50%;
  }

  .col-md-7 {
    width: 58.33333333%;
  }

  .col-md-8 {
    width: 66.66666667%;
  }

  .col-md-9 {
    width: 75%;
  }

  .col-md-10 {
    width: 83.33333333%;
  }

  .col-md-12 {
    width: 100%;
  }
}

/* === LG columns (>= 1200px) === */
@media (min-width: 1200px) {
  .col-lg-4,
  .col-lg-6 {
    float: left;
  }

  .col-lg-4 {
    width: 33.33333333%;
  }

  .col-lg-6 {
    width: 50%;
  }
}

/* === Text Utilities === */
.text-center {
  text-align: center;
}

.text-uppercase {
  text-transform: uppercase;
}

.text-capitalize {
  text-transform: capitalize;
}

/* === Responsive Visibility === */

/* hidden-xs: hidden below 768px, visible at 768px+ */
@media (max-width: 767px) {
  .hidden-xs {
    display: none !important;
  }
}

/* visible-xs: visible below 768px, hidden at 768px+ */
.visible-xs {
  display: none !important;
}

@media (max-width: 767px) {
  .visible-xs {
    display: block !important;
  }
}
