

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

@font-face {
    font-family: openSansRegular;
    src: url(../fonts/OpenSans-Regular.ttf);
}

@font-face {
    font-family: openSansSemibold;
    src: url(../fonts/OpenSans-Semibold.ttf);
}

@font-face {
    font-family: openSansLight;
    src: url(../fonts/OpenSans-Light.ttf);
}

@font-face {
    font-family: effraCorpLight;
    src: url(../fonts/Effra_Corp_Lt.ttf);
}

@font-face {
    font-family: effraCorpRegular;
    src: url(../fonts/Effra_Corp_Rg.ttf);
}

body
{
  position: relative;
  font-size: 16px;
  line-height: 150%;
}

.main
{
  padding-bottom: 30px;
  background: #FFFFFF; /* Old browsers */
  background: -moz-linear-gradient(top, #FFFFFF 95%, #D0D0D0 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(95%,#FFFFFF), color-stop(100%,#D0D0D0)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #FFFFFF 95%,#D0D0D0 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #FFFFFF 95%,#D0D0D0 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #FFFFFF 95%,#D0D0D0 100%); /* IE10+ */
  background: linear-gradient(to bottom, #FFFFFF 95%,#D0D0D0 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#FFFFFF', endColorstr='#D0D0D0',GradientType=0 ); /* IE6-9 */
}

h2
{
  font-size: 40px !important;
  border-bottom: 1px solid lightGray;
  padding-left: 10px;
}

h1, h2
{
  font-family: effraCorpLight;
}

h3, h4, h5, h6
{
  font-family: openSansSemibold;
}

p
{
  font-family: openSansRegular;
}

.col-md-5
{
  padding-left: 25px;
  padding-right: 25px;
}

.jumbotron
{
  background: #164c60; /* Old browsers */
  background: -moz-linear-gradient(top, #164c60 0%, #7F9AA8 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#164c60), color-stop(100%,#7F9AA8)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #164c60 0%,#7F9AA8 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #164c60 0%,#7F9AA8 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #164c60 0%,#7F9AA8 100%); /* IE10+ */
  background: linear-gradient(to bottom, #164c60 0%,#7F9AA8 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#164c60', endColorstr='#7F9AA8',GradientType=0 ); /* IE6-9 */
  color: white;
  margin-bottom: 10px;
  border-bottom: 1px solid #164c60;
}

.jumbotron h1
{
  font-size: 75px !important;
  padding-left: 10px;
}

.jumbotron p
{
  padding-left: 10px;
  font-family: openSansLight;
}

.jumbotron .buttons, footer .buttons
{
  padding-left: 10px;
}

footer
{
  padding: 30px 0;
  background: #7F9AA8; /* Old browsers */
  background: -moz-linear-gradient(top, #7F9AA8 0%, #164c60 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#7F9AA8), color-stop(100%,#164c60)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #7F9AA8 0%,#164c60 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #7F9AA8 0%,#164c60 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #7F9AA8 0%,#164c60 100%); /* IE10+ */
  background: linear-gradient(to bottom, #7F9AA8 0%,#164c60 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7F9AA8', endColorstr='#164c60',GradientType=0 ); /* IE6-9 */
  top: 1px solid #164c60;
}

a
{
  margin-bottom: 5px;
}

.img-container, .videowrapper
{
  margin-bottom: 5px;
}

img
{
  max-width: calc(50% - 5px);
  display: inline-block;
  border: 1px solid #F0F0F0;
  margin-bottom: 5px;
}

img.full
{
  max-width: 100%;
}

.videowrapper
{
    float: none;
    clear: both;
    width: 100%;
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
}

.videowrapper iframe
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


@media all and (max-width: 570px)
{
  .jumbotron
  {
    padding: 20px 10px;
  }
  
  .jumbotron h1
  {
    font-size: 65px !important;
  }
  
  .jumbotron p
  {
    font-size: 16px !important;
  }
  
  .jumbotron a, footer a
  {
    font-size: 12px !important;
  }
  
  .jumbotron a i, footer a i
  {
    display: inline-block;
  }
}

@media all and (max-width: 505px)
{
  .jumbotron a, footer a
  {
    font-size: 12px !important;
  }
  
  .jumbotron a i, footer a i
  {
    display: none;
  }
  
  .jumbotron h1
  {
    padding-left: 0;
  }
  
  .jumbotron p
  {
    padding-left: 0;
  }
  
  .jumbotron .buttons, footer .buttons
  {
    padding-left: 0;
  }
}


@media all and (max-width: 450px)
{
  .jumbotron
  {
    padding: 10px 4px;
  }
  
  .jumbotron h1
  {
    font-size: 50px !important;
  }
  
  .jumbotron p
  {
    font-size: 14px !important;
  }
  
  .jumbotron a, footer a
  {
    font-size: 12px !important;
    padding: 5px 10px !important;
  }
}









