/*******************************CONTAINER*******************************/
.container {
  position: relative;
}

@media screen and (min-width: 1000px) {
  .container {
    margin: 0 auto;
    max-width: 960px;
    width: 960px;
  }

}

@media screen and (min-width: 1192px) {
  .container {
    max-width: 1152px;
    width: 1152px;
  }
}

@media screen and (min-width: 1384px) {
  .container {
    max-width: 1344px;
    width: 1344px;
  }
}

/*******************************GRID & COLUMNS*******************************/

.grid{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}


.grid>*{
  -ms-flex-preferred-size: 100%;
  flex-basis: 100%;
  padding: .512rem 0;
}


.grid__col{
  -ms-flex-preferred-size: 100%;
  flex-basis: 100%;
  padding: .512rem 0;
}


/*This gets applied when the device width is above 768px*/
@media screen and (min-width: 768px){
  .grid {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
  }
  .grid>*{
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding: .512rem;
  }
  .grid__col{
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    padding: .512rem;
  }

}



/*GRID COMPATIBILITY IE10+*/
 @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
 .grid { display:block;}

 /*This gets applied when the device width is above 768px*/
@media screen and (min-width: 768px){
  .grid{display: flex}
   .grid_col{display: inline-block;}
   .grid>*{display: inline-block;}
}
 }



/*******************************GRID LAYOUTS*******************************/

.is-1,.is-2,.is-3,.is-4,.is-5,.is-6,.is-7,.is-8,.is-9,.is-10,.is-11,.is-12,.is-25p,.is-50p,.is-75p,.is-33p,.is-66p,.is-100p,.is-75p--large,.is-50p--large,.is-25p--large,.is-66p--large,.is-33p--large,.is-100p--large,.is-1--large,.is-2--large,.is-3--large,.is-4--large,.is-5--large,.is-6--large,.is-7--large,.is-8--large,.is-9--large,.is-10--large,.is-11--large,.is-12--large,.is-75p--medium,.is-50p--medium,.is-25p--medium,.is-66p--medium,.is-33p--medium,.is-100p--medium,.is-1--medium,.is-2--medium,.is-3--medium,.is-4--medium,.is-5--medium,.is-6--medium,.is-7--medium,.is-8--medium,.is-9--medium,.is-10--medium,.is-11--medium,.is-12--medium,.is-75p--small,.is-50p--small,.is-25p--small,.is-66p--small,.is-33p--small,.is-100p--small,.is-1--small,.is-2--small,.is-3--small,.is-4--small,.is-5--small,.is-6--small,.is-7--small,.is-8--small,.is-9--small,.is-10--small,.is-11--small,.is-12--small{
  -webkit-box-flex: 0;
  -ms-flex: none;
  flex: none;
}

.is-75p{
  width: 75%;
}

.is-50p{
  width: 50%;
}

.is-25p{
  width: 25%;
}

.is-66p{
  width: 66.66666%;
}

.is-33p{
  width: 33.33333%;
}

.is-100p{
  width: 100%;
}

.is-1{
  width: 8.33333%;
}

.is-2{
  width: 16.66666%;
}

.is-3{
  width: 25%;
}

.is-4{
  width: 33.33333%;
}


.is-5{
  width: 41.66666%;
}

.is-6{
  width: 50%;
}

.is-7{
  width: 58.33333%;
}

.is-8{
  width: 66.66666%;
}

.is-9{
  width: 75%;
}

.is-10{
  width: 83.33333%;
}

.is-11{
  width: 91.66666%;
}


.is-12{
  width: 100%;
}




@media (max-width : 768px){

.is-1,.is-2,.is-3,.is-4,.is-5,.is-6,.is-7,.is-8,.is-9,.is-10,.is-11,.is-12,.is-25p,.is-50p,.is-75p,.is-33p,.is-66p,.is-100p{
  width: 100%;
}

}



@media (min-width : 1000px){

.is-75p--large{
  width: 75%;
}

.is-50p--large{
  width: 50%;
}

.is-25p--large{
  width: 25%;
}

.is-66p--large{
  width: 66.66666%;
}

.is-33p--large{
  width: 33.33333%;
}

.is-100p--large{
  width: 100%;
}

.is-1--large{
  width: 8.33333%;
}

.is-2--large{
  width: 16.66666%;
}

.is-3--large{
  width: 25%;
}

.is-4--large{
  width: 33.33333%;
}


.is-5--large{
  width: 41.66666%;
}

.is-6--large{
  width: 50%;
}

.is-7--large{
  width: 58.33333%;
}

.is-8--large{
  width: 66.66666%;
}

.is-9--large{
  width: 75%;
}

.is-10--large{
  width: 83.33333%;
}

.is-11--large{
  width: 91.66666%;
}


.is-12--large{
  width: 100%;
}

}



@media (max-width : 1000px){

.is-75p--medium{
  width: 75%;
}

.is-50p--medium{
  width: 50%;
}

.is-25p--medium{
  width: 25%;
}

.is-66p--medium{
  width: 66.66666%;
}

.is-33p--medium{
  width: 33.33333%;
}

.is-100p--medium{
  width: 100%;
}

.is-1--medium{
  width: 8.33333%;
}

.is-2--medium{
  width: 16.66666%;
}

.is-3--medium{
  width: 25%;
}

.is-4--medium{
  width: 33.33333%;
}


.is-5--medium{
  width: 41.66666%;
}

.is-6--medium{
  width: 50%;
}

.is-7--medium{
  width: 58.33333%;
}

.is-8--medium{
  width: 66.66666%;
}

.is-9--medium{
  width: 75%;
}

.is-10--medium{
  width: 83.33333%;
}

.is-11--medium{
  width: 91.66666%;
}


.is-12--medium{
  width: 100%;
}

}


@media (max-width : 768px){

.is-75p--small{
  width: 75%;
}

.is-50p--small{
  width: 50%;
}

.is-25p--small{
  width: 25%;
}

.is-66p--small{
  width: 66.66666%;
}

.is-33p--small{
  width: 33.33333%;
}

.is-100p--small{
  width: 100%;
}

.is-1--small{
  width: 8.33333%;
}

.is-2--small{
  width: 16.66666%;
}

.is-3--small{
  width: 25%;
}

.is-4--small{
  width: 33.33333%;
}


.is-5--small{
  width: 41.66666%;
}

.is-6--small{
  width: 50%;
}

.is-7--small{
  width: 58.33333%;
}

.is-8--small{
  width: 66.66666%;
}

.is-9--small{
  width: 75%;
}

.is-10--small{
  width: 83.33333%;
}

.is-11--small{
  width: 91.66666%;
}


.is-12--small{
  width: 100%;
}

}

/*******************************GRID OFFSET*******************************/


.is-75p--offset{
  margin-left: 75%;
}

.is-50p--offset{
  margin-left: 50%;
}

.is-25p--offset{
  margin-left: 25%;
}

.is-66p--offset{
  margin-left: 66.66666%;
}

.is-33p--offset{
  margin-left: 33.33333%;
}

.is-100p--offset{
  margin-left: 100%;
}

.is-1--offset{
  margin-left: 8.33333%;
}

.is-2--offset{
  margin-left: 16.66666%;
}

.is-3--offset{
  margin-left: 25%;
}

.is-4--offset{
  margin-left: 33.33333%;
}


.is-5--offset{
  margin-left: 41.66666%;
}

.is-6--offset{
  margin-left: 50%;
}

.is-7--offset{
  margin-left: 58.33333%;
}

.is-8--offset{
  margin-left: 66.66666%;
}

.is-9--offset{
  margin-left: 75%;
}

.is-10--offset{
  margin-left: 83.33333%;
}

.is-11--offset{
  margin-left: 91.66666%;
}


.is-12--offset{
  margin-left: 100%;
}


/*******************************GRID COLUMN COUNT*******************************/

.grid-1>*,.grid-2>*,.grid-3>*,.grid-4>*,.grid-5>*,.grid-6>*,.grid-7>*,.grid-8>*,.grid-9>*,.grid-10>*,.grid-11>*,.grid-12>*,.grid-1--large>*,.grid-2--large>*,.grid-3--large>*,.grid-4--large>*,.grid-5--large>*,.grid-6--large>*,.grid-7--large>*,.grid-8--large>*,.grid-9--large>*,.grid-10--large>*,.grid-11--large>*,.grid-12--large>*,.grid-1--medium>*,.grid-2--medium>*,.grid-3--medium>*,.grid-4--medium>*,.grid-5--medium>*,.grid-6--medium>*,.grid-7--medium>*,.grid-8--medium>*,.grid-9--medium>*,.grid-10--medium>*,.grid-11--medium>*,.grid-12--medium>*,.grid-1--small>*,.grid-2--small>*,.grid-3--small>*,.grid-4--small>*,.grid-5--small>*,.grid-6--small>*,.grid-7--small>*,.grid-8--small>*,.grid-9--small>*,.grid-10--small>*,.grid-11--small>*,.grid-12--small>*{
  -webkit-box-flex: 0;
	-ms-flex: none;
  flex: none;
}

.grid-1>*{
  width: 100%;
}

.grid-2>*{
  width: 50%;
}

.grid-3>*{
  width: 33.33333%;
}

.grid-4>*{
  width: 25%;
}

.grid-5>*{
  width: 20%;
}

.grid-6>*{
  width: 16.66666%;
}

.grid-7>*{
  width: 14.28571%;
}

.grid-8>*{
  width: 12.5%;
}

.grid-9>*{
  width: 11.11111%;
}

.grid-10>*{
  width: 10%;
}

.grid-11>*{
  width: 9.09090%;
}

.grid-12>*{
  width: 8.33333%;
}


@media (max-width : 768px){

.grid-1>*,.grid-2>*,.grid-3>*,.grid-4>*,.grid-5>*,.grid-6>*,.grid-7>*,.grid-8>*,.grid-9>*,.grid-10>*,.grid-11>*,.grid-12>*{
  width: 100%;
}

}



@media (min-width : 1000px){

.grid-1--large>*{
  width: 100%;
}

.grid-2--large>*{
  width: 50%;
}

.grid-3--large>*{
  width: 33.33333%;
}

.grid-4--large>*{
  width: 25%;
}

.grid-5--large>*{
  width: 20%;
}

.grid-6--large>*{
  width: 16.66666%;
}

.grid-7--large>*{
  width: 14.28571%;
}

.grid-8--large>*{
  width: 12.5%;
}

.grid-9--large>*{
  width: 11.11111%;
}

.grid-10--large>*{
  width: 10%;
}

.grid-11--large>*{
  width: 9.09090%;
}

.grid-12>*{
  width: 8.33333%;
}

}


@media (max-width : 1000px){

.grid-1--medium>*{
  width: 100%;
}

.grid-2--medium>*{
  width: 50%;
}

.grid-3--medium>*{
  width: 33.33333%;
}

.grid-4--medium>*{
  width: 25%;
}

.grid-5--medium>*{
  width: 20%;
}

.grid-6--medium>*{
  width: 16.66666%;
}

.grid-7--medium>*{
  width: 14.28571%;
}

.grid-8--medium>*{
  width: 12.5%;
}

.grid-9--medium>*{
  width: 11.11111%;
}

.grid-10--medium>*{
  width: 10%;
}

.grid-11--medium>*{
  width: 9.09090%;
}

.grid-12--medium>*{
  width: 8.33333%;
}

}


@media (max-width : 768px){

.grid-1--small,.grid-2--small,.grid-3--small,.grid-4--small,.grid-5--small,.grid-6--small,.grid-7--small,.grid-8--small,.grid-9--small,.grid-10--small,.grid-11--small,.grid-12--small{
  -webkit-box-orient: horizontal;
	-webkit-box-direction: normal;
	-ms-flex-direction: row;
  flex-direction: row;
}

.grid-1--small>*,.grid-2--small>*,.grid-3--small>*,.grid-4--small>*,.grid-5--small>*,.grid-6--small>*,.grid-7--small>*,.grid-8--small>*,.grid-9--small>*,.grid-10--small>*,.grid-11--small>*,.grid-12--small>*{
  padding: .512rem;
}

.grid-1--small>*{
  width: 100%;
}

.grid-2--small>*{
  width: 50%;
}

.grid-3--small>*{
  width: 33.33333%;
}

.grid-4--small>*{
  width: 25%;
}

.grid-5--small>*{
  width: 20%;
}

.grid-6--small>*{
  width: 16.66666%;
}

.grid-7--small>*{
  width: 14.28571%;
}

.grid-8--small>*{
  width: 12.5%;
}

.grid-9--small>*{
  width: 11.11111%;
}

.grid-10--small>*{
  width: 10%;
}

.grid-11--small>*{
  width: 9.09090%;
}

.grid-12--small>*{
  width: 8.33333%;
}

}


/*******************************GRID COLUMN COUNT REMAINDERS*******************************/

.grid-grow>*{
  -webkit-box-flex: 1;
  -ms-flex-positive: 1;
  flex-grow: 1;
}

.grid-center{
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.grid-gapless>*{
  padding: 0 !important;
}


/*******************************BUTTONS*******************************/

.btn, .btn--ghost,.btn--sharp,.btn--ghost--sharp{
    -moz-appearance: none;
    -webkit-appearance: none;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    box-shadow: none;
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    height: 2.25em;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    line-height: 1.5;
    padding-bottom: calc(0.375em - 1px);
    padding-left: calc(0.625em - 1px);
    padding-right: calc(0.625em - 1px);
    padding-top: calc(0.375em - 1px);
    position: relative;
    vertical-align: top;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #363636;
    cursor: pointer;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding-left: 0.75em;
    padding-right: 0.75em;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;
    font-size: 1em;
}

.btn{
  background-color: gainsboro;
  border: none;
  border-radius: 3px;
}

.btn--ghost{
    border: solid 2px gainsboro;
    background-color: transparent;
    border-radius: 3px;

}

.btn--sharp{
  background-color: gainsboro;
  border-radius: 0;
  border: none;
}

.btn--ghost--sharp{
  border: solid 2px gainsboro;
  background-color: transparent;
  border-radius: 0;
}

/*******************************HELPERS*******************************/

.text-center{
  text-align: center;
}

.text-left{
  text-align: left;
}

.text-right{
  text-align: right;
}

.text-justify{
  text-align: justify;
}

.text-lowercase{
  text-transform: lowercase;
}

.text-uppercase{
  text-transform: uppercase;
}

.text-capitalize{
  text-transform: capitalize;
}

.text-normal{
  font-weight: normal;
}

.text-bold{
  font-weight: bold;
}

.text-italic{
  font-style: italic;
}

.vertically-center{
  display:-webkit-box;
	display:-ms-flexbox;
  display:flex;
  -webkit-box-pack: center;
	-ms-flex-pack: center;
  justify-content:center;
  -webkit-box-align: center;
	-ms-flex-align: center;
	-ms-grid-row-align: center;
  align-items:center;
}

.float-left{
  float: left;
}

.float-right{
  float: right;
}

.no-margin{
  margin: 0 !important;
}

.no-padding{
  margin: 0 !important;
}

.block{
  display: block;
}

.inline-block{
  display: inline-block;
}

.inline{
  display: inline;
}

.show{
  display: block !important;
}

.hide{
  display: none !important;
}

.screen-reader{
  border: 0;
  clip: rect(1px,1px,1px,1px);
  clip-path: inset( 50% );
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal;
}

.content-buffer{
  padding: 40px 0;
}


@media (max-width : 600px){
  .content-buffer{
    padding: 20px 3%;
  }
}

/*******************************FORMS*******************************/

input:not([type=submit]):not([type=button]),textarea,select{
  box-sizing: border-box;
  /*-moz-appearance: none;*/
  /*-webkit-appearance: none;*/
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  border: 1px solid transparent;
  /*border-radius: 3px;*/
  box-shadow: none;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  height: 2.25em;
  -webkit-box-pack: start;
  -ms-flex-pack: start;
  justify-content: flex-start;
  line-height: 1.5;
  padding-bottom: calc(0.375em - 1px);
  padding-left: calc(0.625em - 1px);
  padding-right: calc(0.625em - 1px);
  padding-top: calc(0.375em - 1px);
  position: relative;
  vertical-align: top;
  background-color: white;
  border-color: #dbdbdb;
  color: #363636;
  box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1);
  max-width: 100%;
  width: 100%;
  /*margin-bottom: .5rem;*/
}

textarea{
    display: block;
    max-height: 600px;
    max-width: 100%;
    min-height: 150px;
    min-width: 100%;
    padding: 0.625em;
    resize: vertical;
}

label{
  display: block;
  max-width: 100%;
  /*margin-bottom: .5rem;*/
}
