* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

body {
  background: #efeeea;
  font-family: "proxima-nova", Arial, sans-serif;
  color: #333;
  font-size: 15px;
  padding-bottom: 100px;
  border-top: solid 5px #611171;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  letter-spacing: .5px;
  text-transform: uppercase;
}

h1 {
  font-size: 50px;
  margin-bottom: 40px;
}

h2 {
  font-size: 30px;
  margin-top: 0;
  margin-bottom: 10px;
}

p {
  font-size: 15px;
  margin-bottom: 1em;
  line-height: 1.75em;
}

p.fineprint {
  font-size: 12px;
  color: #8f8e8c;
}

sup {
  text-transform: none;
  font-size: .75em;
  position: relative;
  top: -.3em;
}

a.btn {
  display: inline-block;
  padding: 0 20px;
  color: #fff;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: .5px;
  height: 40px;
  line-height: 40px;
  text-decoration: none;
}

/**********************/
/**** Custom Fonts ****/
/**********************/

@font-face {
	font-family: 'OI-icons';
	src:url('../../fonts/OI-icons.eot?un57ba');
	src:url('../../fonts/OI-icons.eot?#iefixun57ba') format('embedded-opentype'),
		url('../../fonts/OI-icons.woff?un57ba') format('woff'),
		url('../../fonts/OI-icons.ttf?un57ba') format('truetype'),
		url('../../fonts/OI-icons.svg?un57ba#OI-icons') format('svg');
	font-weight: normal;
	font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
	font-family: 'OI-icons';
	speak: none;
	font-style: normal;
	font-weight: normal;
	font-variant: normal;
	text-transform: none;
	line-height: 1;

	/* Better Font Rendering =========== */
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.icon-email:before {
	content: "\e617";
}
.icon-menu-icon:before {
	content: "\e616";
}
.icon-addThis:before {
	content: "\e614";
}
.icon-user:before {
	content: "\e609";
}
.icon-earth:before {
	content: "\e615";
}
.icon-checkmark:before {
	content: "\e607";
}
.icon-cross:before {
	content: "\e608";
}
.icon-plus:before {
	content: "\e613";
}
.icon-play:before {
	content: "\e60a";
}
.icon-arrow-left2:before {
	content: "\e60e";
}
.icon-arrow-down2:before {
	content: "\e610";
}
.icon-arrow-up2:before {
	content: "\e611";
}
.icon-arrow-right2:before {
	content: "\e612";
}
.icon-arrow-left:before {
	content: "\e60d";
}
.icon-arrow-down:before {
	content: "\e60f";
}
.icon-arrow-up:before {
	content: "\e60b";
}
.icon-arrow-right:before {
	content: "\e60c";
}
.icon-vimeo:before {
	content: "\e606";
}
.icon-twitter:before {
	content: "\e600";
}
.icon-facebook:before {
	content: "\e601";
}
.icon-googleplus:before {
	content: "\e602";
}
.icon-pinterest:before {
	content: "\e603";
}
.icon-tumblr:before {
	content: "\e604";
}
.icon-linkedin:before {
	content: "\e605";
}


/****************/
/**** Colors ****/
/****************/

.brand-pink-bg {
	background: #ed027e;
	color: #fff;
}
		
.brand-orange-bg {
	background: #f15b22;
	color: #fff;
}

.brand-teal-bg {
	background: #15adab;
	color: #fff;
}

.brand-purple-bg {
	background: #611171;
	color: #fff;
}

.brand-green-bg {
	background: #7bc557;
	color: #fff;
}

.brand-gray-bg {
	background: #8f8e8c;
	color: #fff;
}

.brand-offwhite-bg {
  background: #efeeea;
  color: #333;
}

.brand-pink {
  color: #ed027e;
}

.brand-orange {
  color: #f15b22;
}

.brand-teal {
  color: #15adab;
}

.brand-purple {
  color: #611171;
}

.brand-green {
  color: #7bc557;
}

.brand-gray {
  color: #8f8e8c;
}

.brand-offwhite {
  color: #efeeea;
}

.btn.brand-gray-bg {
	box-shadow: inset 0 100px 0 0 #8f8e8c;
}
.btn.brand-gray-bg:hover{
  box-shadow: 0 0 0 0 #666 inset;
}

.btn.brand-green-bg {
	box-shadow: inset 0 100px 0 0 #7bc557;
}
.btn.brand-green-bg:hover{
  box-shadow: 0 0 0 0 #6fbc49 inset;
}

.btn.brand-orange-bg {
	box-shadow: inset 0 100px 0 0 #f15b22;
}
.btn.brand-orange-bg:hover{
	box-shadow: 0 0 0 0 #f27444 inset;
}

.btn.brand-teal-bg {
		box-shadow: inset 0 100px 0 0 #15adab;
}
.btn.brand-teal-bg:hover{
	box-shadow: 0 0 0 0 #009090 inset;
}

.btn.brand-pink-bg {
	box-shadow: inset 0 100px 0 0 #ed027e;
}
.btn.brand-pink-bg:hover{
	box-shadow: 0 0px 0 0 #ca066d inset;
}

.btn.brand-purple-bg {
	box-shadow: inset 0 100px 0 0 #611171;
}
.btn.brand-purple-bg:hover{
	box-shadow: 0 0 0 0 #703386 inset;
}

/************************/
/**** Grid 12 system ****/
/************************/

.row {
  margin-left: -10px;
  margin-right: -10px;
  margin-bottom: 15px;
}

.row:before,
.row:after {
  content: " ";
  display: table;
}

.row:after {
  clear: both;
}

.col {
	display: block;
	float:left;
	padding-left: 10px;
	padding-right: 10px;
}

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

.col.col-11 {
  width: 91.6666%;
}

.col.col-10 {
  width: 83.3333%;
}

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

.col.col-8 {
  width: 66.6666%;
}

.col.col-7 {
  width: 58.3333%;
}

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

.col.col-5 {
  width: 41.66666%;
}

.col.col-4 {
  width: 33.3333%;
}

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

.col.col-2 {
  width: 16.6666%;
}

.col.col-1 {
  width: 8.3333%
}

/***************/
/**** Forms ****/
/***************/

::-webkit-input-placeholder {
   color: #8f8e8c;
   font-family: "Times New Roman", serif;
   font-style: italic;
}

:-moz-placeholder { /* Firefox 18- */
   color: #8f8e8c;
   font-family: "Times New Roman", serif;
   font-style: italic;
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #8f8e8c;
   font-family: "Times New Roman", serif;
   font-style: italic;
}

:-ms-input-placeholder {  
   color: #8f8e8c;
   font-family: "Times New Roman", serif;
   font-style: italic;
}

input[type='text'], input[type='number'], input[type='email'], input[type='password'], textarea {
  display: block;
  width: 100%;
  height: 40px;
  border: solid 1px #8f8e8c;
  padding: 10px;
  font-size: 14px;
  color: #333;
  outline: none;
  transition: border-color .2s;
  -webkit-transition: border-color .2s;
  -moz-transition: border-color .2s;
  font-family: "proxima-nova", Arial, sans-serif;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 0;
  box-shadow: none;
}

input[type='text']:focus, input[type='number']:focus, input[type='email']:focus, input[type='password']:focus, textarea:focus {
  border-color: #555;
}

textarea {
  height: 100px;
  max-width: 100%;
}

input[type='submit'] {
  display: block;
  width: 100%;
  border: none;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 0;
}

input[type='submit']:disabled {
  background-color: #efeeea;
  box-shadow: none;
}

input[type='submit'].error-animate {
  -webkit-animation: button-error .2s;
  animation: button-error .2s;
}

@-webkit-keyframes button-error {
  0% {
    transform: translate(0px);
    -webkit-transform: translate(0px);
  }
  25% {
    transform: translate(5px);
    -webkit-transform: translate(5px);
  }
  50% {
    transform: translate(0px);
    -webkit-transform: translate(0px);
  }
  75% {
    transform: translate(-5px);
    -webkit-transform: translate(-5px);
  }
  100% {
    transform: translate(0px);
    -webkit-transform: translate(0px);
  }
}

@keyframes button-error {
  0% {
    transform: translate(0px);
    -webkit-transform: translate(0px);
  }
  12.5% {
    transform: translate(5px);
    -webkit-transform: translate(5px);
  }
  25% {
    transform: translate(0px);
    -webkit-transform: translate(0px);
  }
  37.5% {
    transform: translate(-5px);
    -webkit-transform: translate(-5px);
  }
  50% {
    transform: translate(0px);
    -webkit-transform: translate(0px);
  }
}

.btn {
  display: block;
  text-align: center;
  color: #fff;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: bold;
  height: 40px;
  box-shadow: none;
	-moz-transition: -moz-box-shadow 0.6s ease-out 0s;
 	-webkit-transition: -webkit-box-shadow 0.6s ease-out 0s;
  -o-transition:  -o-box-shadow 0.6s ease-out 0s;
  transition: box-shadow 0.6s ease-out 0s;
  line-height: 40px;
  cursor: pointer;
  padding: 0 20px;
  border: none;
  outline: none;
}

.btn.loading {
  background-image: url('/assets/img/ajax-loader.gif');
  background-repeat: no-repeat;
  background-position: center center;
  background-color: #efeeea;
  background-size: 30px;
  cursor: default;
  color: #efeeea;
  box-shadow: none;
}

.select select {
  background: transparent;
  border: none;
  border-radius: 0;
  color: #333;
  font-size: 14px;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  width: 135%;
  outline: none;
}

.select {
  display: block;
  border: solid 1px #8f8e8c;
  padding: 10px 10px;
  line-height: 16px;
  height: 40px;
  float: left;
  background: #fff url('/images/oi-select-arrow.png') no-repeat 83% center;
  overflow: hidden;
  width: 100%;
  text-align: left;
}

select.select-placeholder {
  font-family: "Times New Roman", serif;
  font-style: italic;
  color: #8f8e8c;
}

input[type='radio'] {
  position: absolute;
  left: -10000px;
}

/************************/
/**** General styles ****/
/************************/

.contained {
  width: 660px;
  margin: 0 auto;
}

.clear {
  clear: both;
}

#logo {
 float: left;
}

#logo img {
  height: 50px;
  width: auto;
  display: block;
}

#content {
  padding-top: 45px;
}

#content .contained {
  background-color: #fff;
  padding: 30px;
  position: relative;
}

#content p {
  font-size: 15px;
  line-height: 22px;
  color: #333;
  margin: 0 0 1em;
}

#content p a {
  color: #7bc557;
}

#media img {
  display: block;
  width: 100%;
}

#description {
  padding-top: 20px;
}

#fixed-social {
  position: absolute;
  width: 50px;
  right: -50px;
  top: 30px;
}

#fixed-social .social.fixed {
  position: fixed;
  top: 30px;
}

#fixed-social .social a span {
  transition: width .3s;
}

#fixed-social .social a:hover span {
  width: 60px;
}

#social-bar {
  padding: 0px 40px;
  text-align: center;
  color: #8f8e8c;
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: rgba(255,255,255,.9);
  height: 70px;
}

#social-bar > div {
  position: absolute; 
}

#social-bar #logo {
  left: 0;
  padding: 10px 20px;
}

#social-bar .social {
  width: 350px;
  left: 50%;
  margin-left: -175px;
  padding: 10px 20px;
}

#social-bar .social > span {
  float: left;
  display: block;
  height: 50px;
  line-height: 50px;
  padding-right: 10px;
}

#social-bar .social a {
  float: right;
  text-decoration: none;
  text-align: center;
}

#social-bar .social a span {
  transition: height .3s, margin-top .3s;
}

#social-bar .social a:hover span {
  height: 60px;
  margin-top: -10px;
}

#social-bar #email {
  right: 0;
  padding: 15px 20px;
}

#email input {
  float: left;
  width: 120px;
}

#email input[type="text"] {
  height: 40px;
  border: solid 1px #8f8e8c;
  background-color: transparent;
  padding: 0 20px;
  outline: none;
  font-size: 13px;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  border-radius: 0;
  box-shadow: none;
  margin-right: 10px;
  transition: border-color .3s;
  -moz-transition: border-color .3s;
  -webkit-transition: border-color .3s;
}

#email input[type="text"]:focus {
  border-color: #333;
}

#email button {
  width: auto;
  padding: 0 20px;
  display: block;
  height: 40px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  text-transform: uppercase;
  font-family: "proxima-nova", Arial, sans-serif;
  letter-spacing: .5px;
  outline: none;
}

#footer {
  margin-top: 20px;
}

#footer .contained {
  text-align: center;
}

#footer p {
  font-size: 12px;
  margin: 0;
}

#footer a {
  color: #8f8e8c;
}

#content .social {
  text-align: center;
}

#content .social a {
  display: block;
  text-decoration: none;
}

.social > span {
  text-transform: uppercase;
  color: #8f8e8c;
  font-weight: bold;
  display: inline-block;
  margin-right: 5px;
}

.social .icon {
  display: block;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 50px;
  color: #fff;
  font-size: 20px;
}

.social .icon-facebook {
  background-color: #285b91;
}

.social .icon-twitter {
  background-color: #319ac8;
}

.social .icon-pinterest {
  background-color: #d02821;
}

.social .icon-email {
  background-color: #7bc557;
}

#email-form .confirmation {
  display: none;
}

/***************/
/**** Modal ****/
/***************/

#modal {}

#modal .overlay {
  position: fixed;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,.5);
  opacity: 0;
  transition: opacity .5s;
  -moz-transition: opacity .5s;
  -webkit-transition: opacity .5s;
  z-index: -1;
}

#modal.show .overlay {
  opacity: 1;
  z-index: 1;
}

#modal.hiding .overlay {
  z-index: 1;
}

.modal-container {
  position: fixed;
  width: 450px;
  top: 0%;
  left: 50%;
  opacity: 0;
  margin-left: -225px;
  background-color: #fff;
  padding: 40px;
  transition: opacity .5s, top .5s;
  -moz-transition: opacity .5s, top .5s;
  -webkit-transition: opacity .5s, top .5s;
  z-index: -2;
  overflow: auto;
}

#modal.show .modal-container {
  top: 50%;
  opacity: 1;
  z-index: 2;
}

#modal.hiding .modal-container {
  z-index: 1;
}

#modal .modal-container > .close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  color: #8f8e8c;
  width: 30px;
  height: 30px;
  text-align: center;
  line-height: 30px;
  cursor: pointer;
  font-size: 30px;
}

#modal .modal-container > .close:hover {
  color: #333;
}

#modal .modal-container > .close:before {
  content: '×';
}

#modal .modal-container h2 {
  text-align: center;
  margin-bottom: 20px;
}

/**********************/
/**** Alert styles ****/
/**********************/

#alert {
  position: fixed;
  top: -50px;
  left: 0;
  right: 0;
  padding: 20px 40px;
  color: #fff;
  background-color: #f15d25;
  font-size: 14px;
  z-index: -1;
  text-align: center;
  filter: alpha(opacity=0);
  opacity: 0;
  transition: top .5s, opacity .5s;
  -moz-transition: top .5s, opacity .5s;
  -webkit-transition: top .5s, opacity .5s;
}

#alert.show {
  top: 0;
  filter: alpha(opacity=100);
  opacity: 1;
  z-index: 100;
}

#alert.hiding {
  top: -50px;
  z-index: 100;
}

/****************************/
/**** Video embed styles ****/
/****************************/

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 35px;
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
}

/***************************/
/**** Responsive styles ****/
/***************************/

@media (max-width: 760px) {
  #content {
    margin-top: 70px;
    padding-top: 0;
  }
  
  #social-bar {
    height: 0;
    position: static;
  }
  
  #logo {
    top: 5px;
  }
  
  #fixed-social {
    display: none;
  }
  
  #email {
    top: 5px;
  }
  
  #social-bar .social {
    position: fixed;
    bottom: 10px;
    padding: 0;
    width: 305px;
  }
  
  #social-bar .social:before {
    content: '';
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: rgba(255,255,255,.9);
    z-index: -1;
  }
}

@media (max-width: 680px) {
  #content {
    padding: 0 10px 10px 10px;
  }
  
  #content .contained {
    width: 100%;
  }
  
  #social-bar #logo {
    padding-left: 10px;
  }
  
  #social-bar #email {
    padding-right: 10px;
  }
  
  #footer .contained {
    width: 100%;
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  
  #content .contained {
    padding: 20px;
  }
  
  #social-bar .social {
    width: 100%;
    right: 0;
    left: auto;
    bottom: 0;
  }
  
  #social-bar .social:before {
    background-color: #611171;
    height: 50px;
  }
  
  #social-bar .social > span {
    float: left;
    padding-left: 15px;
    padding-right: 0;
    margin-right: 0;
    color: #fff;
  }
  
  #modal .overlay {
    display: none;
  }
  
  #modal .modal-container {
    top: 0;
    left: -100%;
    margin: auto !important;
    width: 100%;
    height: 100% !important;
    transition: left .3s;
    opacity: 0;
    padding: 30px;
  }
  
  #modal.show .modal-container {
    top: 0;
    left: 0;
    opacity: 1;
  }
  
  #modal.hiding .modal-container {
    top: 0;
    opacity: 1;
  }
}
