/**
*** SIMPLE GRID
*** (C) ZACH COLE 2016
**/

/* UNIVERSAL */

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  left: 0;
  top: 0;
  font-size: 100%;
}

/* Red border */
hr.type1 {
  border-bottom: 1px solid #000;
  margin: 0.25em auto;
}

hr.type2 {
  border-top: 3px solid #000;
  margin: 0.25em auto;
}

/* ROOT FONT STYLES */

* {
  font-family: Arial, Helvetica, sans serif;
  color: #000;
  font-size: 0.875rem;
  line-height: 1rem;
}

/* TYPOGRAPHY */

h1 {
  font-size: 2.5rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.375rem;
}

h4 {
  font-size: 1.125rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.875rem;
}

p {
  font-size: 1rem;
  line-height: 1.25;
}

.font-light {
  font-weight: 300;
}

.font-regular {
  font-weight: 400;
}

.font-heavy {
  font-weight: 700;
}

/* POSITIONING */

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.justify {
  text-align: justify;
}

/* FORMS */

label {
  display: inline-block;
  padding: 10px 0 10px 0;
  font-size: 0.875rem;
  line-height: 1rem;
}

input[type=text], select, textarea {
  width: 100%;
  padding: 6px 0;
  border: 1px solid #000;
  resize: vertical;
}

input[type=select] {
  width: 100%;
  padding: 6px 0px;
  border: 1px solid #000;
  resize: vertical;
}

input[type=submit] {
  background-color: #000;
  font-size: 0.85rem;
  line-height: 0.85rem;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: left;
}

input[type=submit]:hover {
  background-color: #333;
}

.selectdiv {
  position: relative;
  float: left;
  min-width: 200px;
  margin: 50px 33%;
}

select::-ms-expand {
  display: none;
}

.selectdiv:after {
  content: '\0025BE';
  font-family: Arial, Helvetica, sans serif;
  color: #000;
  font-size: 1.25rem;
  line-height: 1.25;
  right: 12px; 
  top: 6px; 
  position: absolute;
  pointer-events: none;
}

.selectdiv select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-family: Arial, Helvetica, sans serif;
  color: #000;
  font-size: 0.875rem;
  line-height: 1rem;
  font-weight: 700;
  display: block;
  width: 100%;
  height: 35px;
  float: right;
  padding: 0px 12px;
  background-color: #fff;
  background-image: none;
  border: 1px solid #000;
  border-radius: 0;
  -ms-word-break: normal;
  word-break: normal;
}

.sq-radio {
  font-family: Arial, Helvetica, sans serif;
  color: #000;
  font-size: 1rem;
  line-height: 1rem;
  display: block;
  position: relative;
  padding:5px 0 15px 35px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* Hide the browser's default radio button */
.sq-radio input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

/* Create a custom radio button */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: 1px solid #000;
  border-radius: 0;
  background-color: #fff;
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.sq-radio input:checked ~ .checkmark:after {
  display: block;
}

.sq-radio .checkmark:after {
  top: 4px;
  left: 4px;
  width: 12px;
  height: 12px;
  background-color: #000;
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 5px;
 
  position: absolute;
  z-index: 1;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

/* ==== GRID SYSTEM ==== */

.container {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.row {
  position: relative;
  width: 100%;
}

.row [class^="col"] {
  float: left;
  margin: 0.5rem 2%;
  min-height: 0.125rem;
}

.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12 {
  width: 96%;
}

.col-1-sm {
  width: 4.33%;
}

.col-2-sm {
  width: 12.66%;
}

.col-3-sm {
  width: 21%;
}

.col-4-sm {
  width: 29.33%;
}

.col-5-sm {
  width: 37.66%;
}

.col-6-sm {
  width: 46%;
}

.col-7-sm {
  width: 54.33%;
}

.col-8-sm {
  width: 62.66%;
}

.col-9-sm {
  width: 71%;
}

.col-10-sm {
  width: 79.33%;
}

.col-11-sm {
  width: 87.66%;
}

.col-12-sm {
  width: 96%;
}

.row::after {
	content: "";
	display: table;
	clear: both;
}

.hidden-sm {
  display: none;
}

@media only screen and (min-width: 33.75em) {  /* 540px */
  .container {
    width: 80%;
  }
}

@media only screen and (min-width: 45em) {  /* 720px */
  .col-1 {
    width: 4.33%;
  }

  .col-2 {
    width: 12.66%;
  }

  .col-3 {
    width: 21%;
  }

  .col-4 {
    width: 29.33%;
  }

  .col-5 {
    width: 37.66%;
  }

  .col-6 {
    width: 46%;
  }

  .col-7 {
    width: 54.33%;
  }

  .col-8 {
    width: 62.66%;
  }

  .col-9 {
    width: 71%;
  }

  .col-10 {
    width: 79.33%;
  }

  .col-11 {
    width: 87.66%;
  }

  .col-12 {
    width: 96%;
  }

  .hidden-sm {
    display: block;
  }
}

@media only screen and (min-width: 60em) { /* 960px */
  .container {
    width: 75%;
    max-width: 60rem;
  }
}
