html { box-sizing: border-box; }
*, *:before, *:after { box-sizing: inherit; }

.pull-right { float: right !important; }
.pull-left { float: left !important; }
.hide { display: none !important; }
.show { display: block !important; }

fieldset { margin: 0; padding: 0; border: none; }

.clearfix:before,
.clearfix:after,
.container:before,
.container:after,
.row:before,
.row:after {
  content: " ";
  display: table;
}
.clearfix:after,
.container:after,
.container-fluid:after,
.row:after {
    clear: both;
  }

.container {
  margin-right: auto;
  margin-left: auto;
  padding-left: 15px;
  padding-right: 15px;
}
.container {
  margin-right: auto;
  margin-left: auto;
  padding-left: 95px;
  padding-right: 15px;
}
@media (min-width: 768px) {
  .container {
    width: 630px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 830px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1000px;
  }
}

ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: 100; font-family: 'dublinregular'; text-transform: uppercase; margin: 0 0 2rem; }
h1 { font-size: 8.5rem; }
h2 { font-size: 5.5rem; margin-bottom: 1.5rem; }
h4 em,
h1 em {
  display: block;
  font-size: 2.6rem;
  letter-spacing: 0.4rem;
  text-transform: none;
  font-family: 'Appleton';
}
h4 i,
h1 i {
  font-size: 2rem;
  text-transform: none;
  font-family: 'Appleton';
}
h3 { font-size: 2.9rem; margin-bottom: 1.4rem; }
h4 { font-size: 2rem; margin-bottom: 0.5rem; }
h5 { font-size: 1.8rem; margin-bottom: 0.5rem; }
h6 { font-size: 1.6rem; margin-bottom: 0.5rem; }
section p { font-size: 1.3rem; line-height: 2.1rem; margin-bottom: 3rem; }

.stylized { text-transform: none; font-family: 'libre_baskervilleitalic'; font-weight: 100; }
.stylized-alt { text-transform: none; font-family: 'Appleton'; font-weight: 100; }
.sub-title { font-family: 'libre_baskervilleregular'; text-transform: uppercase; font-size: 1.4rem; line-height: 2.2rem; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.block-center { margin-left: auto; margin-right: auto; }

.full-height { min-height: 100vh; }

.fluid-img { width: 100% !important; height: auto !important; }

.valign > * {
  display: inline-block;
  vertical-align: middle;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.callout-btn {
  padding: 10px 20px;
  margin: 0 5px;
  color: white;
  display: inline-block;
  text-decoration: none;
  border: 1px solid white;
  border-radius: 5px;
  font-size: 1.4rem;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  -o-transition: all 0.2s;
  transition: all 0.2s;
}
.callout-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

.woodgrain { background: url(../img/wood-bg.jpg); background-repeat: repeat-y; background-size: 100% auto; }

.paper { background: white; padding: 5rem; color: #222; }

/* Various different types of rules. */
hr.black {
  border: 0;
  height: 2px;
  margin: 0;
  width:100%;
  background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.90), rgba(0,0,0,0)); 
  background-image:    -moz-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.90), rgba(0,0,0,0)); 
  background-image:     -ms-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.90), rgba(0,0,0,0)); 
  background-image:      -o-linear-gradient(left, rgba(0,0,0,0), rgba(0,0,0,0.90), rgba(0,0,0,0)); 
}
hr.white {
  border: 0;
  height: 2px;
  margin: 0;
  background-image: -webkit-linear-gradient(left, rgba(0,0,0,0), rgba(255,255,255,0.35), rgba(0,0,0,0)); 
  background-image:    -moz-linear-gradient(left, rgba(0,0,0,0), rgba(255,255,255,0.35), rgba(0,0,0,0)); 
  background-image:     -ms-linear-gradient(left, rgba(0,0,0,0), rgba(255,255,255,0.35), rgba(0,0,0,0)); 
  background-image:      -o-linear-gradient(left, rgba(0,0,0,0), rgba(255,255,255,0.35), rgba(0,0,0,0)); 
}

/* Fancy checkboxes. */
.check {
  width: 15px;
  margin: 0 auto;
  margin-right: 2px;
  position: relative;
  display: inline-block;
}
.check input[type=checkbox] { z-index: 5; position: relative; visibility: hidden; }
.check label {
  cursor: pointer;
  position: absolute;
  width: 15px;
  height: 15px;
  top: 0;
  left: 0;
  border-radius: 4px;
  border: 0;

  -webkit-box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,.4);
  -moz-box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,.4);
  box-shadow: inset 0px 1px 1px rgba(0,0,0,0.5), 0px 1px 0px rgba(255,255,255,.4);

  background: -webkit-linear-gradient(top, #000 0%, #222 100%);
  background: -moz-linear-gradient(top, #000 0%, #222 100%);
  background: -o-linear-gradient(top, #000 0%, #222 100%);
  background: -ms-linear-gradient(top, #000 0%, #222 100%);
  background: linear-gradient(top, #000 0%, #222 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='rgb(34,34,34)');
}

.check label:after {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
  filter: alpha(opacity=0);
  opacity: 0;
  content: '';
  position: absolute;
  width: 9px;
  height: 5px;
  background: transparent;
  top: 4px;
  left: 4px;
  border: 3px solid #fcfff4;
  border-top: none;
  border-right: none;

  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.check label:hover::after {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
  filter: alpha(opacity=30);
  opacity: 0.3;
}

.check input[type=checkbox]:checked + label:after {
  -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=100);
  opacity: 1;
}
