/*--------------------------------------------------------------------------------------------------
  SECTION: BASE STYLES 
----------------------------------------------------------------------------------------------------*/
html, body {
    margin: 0; 
    padding: 0; 
    border: 0;
}

body {
  position: relative;
  cursor: default;
  color: #ffffff;
  font-size: 15px;
  line-height: 23px;
  font-weight: 300;
  font-style: normal;
  /*font-family: "Georgia", serif;*/
  font-family: 'Open Sans', sans-serif;
  overflow-x: hidden;
}


/* HTML5 Elements 
----------------------------------------------------------------------*/
header, footer, aside, nav, section, div, article, blockquote, figure { 
  display: block; 
}

img,
object,
iframe,
embed {
  max-width: 100%; 
  border: none;
}

img {
  height: auto !important; 
}

object,
iframe
embed {
  height: 100%; 
}

img {
  /*-ms-interpolation-mode: bicubic; */
  image-rendering:optimizeQuality; 
    -ms-interpolation-mode:bicubic;
  display: inline-block;
  vertical-align: middle;
}

figure {
  margin: 0;
}


/* TYPOGRAPHY 
----------------------------------------------------------------------*/
  /* Typography resets */
  h1,h2,h3,h4,h5,h6,
  p,
  div {
    margin: 0;
    padding: 0;
    direction: ltr; 
  }

  /* Helpful Typography Defaults */
  em, i {
    font-style: italic;
    line-height: inherit; 
  }

  strong, b {
    font-weight: bold;
    line-height: inherit; 
  }

  small {
    font-size: 60%;
    line-height: inherit; 
  }

h1,h2,h3,h4,h5,h6 { 
  text-rendering: optimizeLegibility;
  font-weight: normal;
  font-family: inherit;
}

h1 {
  font-size: 21px; 
  line-height: 26px; 
  text-align: center;
}

h2 {
  font-size: 21px; 
  line-height: 26px;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 40px;
  font-weight: 700;
}

h3 {
  font-size: 17px;
  line-height: 22px;
  font-weight: bold;
}

h4 {
  font-size: 15px;
  line-height: 21px;
  font-weight: bold;
}

p { 
  font-family: inherit;
  text-rendering: optimizeLegibility;
  margin: 0 0 20px 0; 
  clear: both;
  text-align: left;
}


/* LINKS 
----------------------------------------------------------------------*/
a, 
a:hover,
a:focus,
a:active, a.active {
  text-decoration: none;
  outline: none;
  cursor: pointer;
  line-height: inherit;
  padding: 0;
}

a {
  color: #ffffff;
  cursor: pointer;
}

a:hover,
a:focus {
  color: #70659A;
}

.pink a,
.pink a:hover,
.pink a:focus {
  color: #ffcb08;
}

.purple a,
.purple a:hover,
.purple a:focus {
  color: #ffcb08;
}

p a {
  /*border-bottom: 1px solid #ffffff;*/
}

/* LISTS 
----------------------------------------------------------------------*/
ul, ol, li {
  margin: 0;
  padding: 0;
  direction: ltr;
  text-align: left;
}

ul {
  list-style-position: outside;
}

ul.no-bullet,
ol.no-bullet {
  list-style: none; 
}

ol li {
  margin-left: 20px;
  margin-bottom: 20px;
  line-height: 19px;
  font-size: 14px;
}


/* BUTTONS 
----------------------------------------------------------------------*/
button,
.button {
  cursor: pointer;
  border: none;
  text-decoration: none;
  font-family: inherit;
  font-size: inherit;
  font-weight: normal;
  line-height: normal;
  text-align: center;
  color: #ffffff;
  /* color: rgb(112,101,54); */
  /* background: url(images/facebook-icon.png) no-repeat scroll center center rgb(255,203,5); */
  padding: 0;
  margin: 0;
  display: inline-block;
  position: relative;
  -webkit-appearance: textearea;
  -moz-appearance: textarea;
  -webkit-transition: background-color 300ms ease-out;
  -moz-transition: background-color 300ms ease-out;
  transition: background-color 300ms ease-out;
}

button:hover, button:focus, 
.button:hover, .button:focus {
  border: none;
  color: #ffcb08;
  padding: 0;
  margin: 0;
}


/* -------------------------------------------------------------------------------------------------
    SECTION: UTILITY CLASSES 
---------------------------------------------------------------------------------------------------- */

/*  Display property 
----------------------------------------------------------------------*/
.block { 
  display: block; 
}

.inline-block { 
  display: inline-block; 
  vertical-align: middle;
  /* Necessary for inline-block in IE */
  zoom: 1;
  *display: inline;
}

.inline { 
  display: inline; 
  zoom: 1;
  *display: inline;
}

.hidden {
  display: none;
}


/* Floating elements 
----------------------------------------------------------------------*/
.left { 
  float: left; 
}

.right { 
  float: right !important; 
}

.none { 
  float: none; 
}



/*  Clear Floating Elements 
----------------------------------------------------------------------*/
.clear {
  width: 100%;
  *zoom: 1;
}

.clear:after, 
.clear:before { 
  content: '\0020';
  display: block;
  overflow: hidden;
  visibility: hidden;
  width: 0;
  height: 0;
}

.clear:after {
  clear: both; 
}



/* Spacing 
----------------------------------------------------------------------*/
.noMargin-left { 
  margin-left: 0 !important; 
}

.noMargin-right { 
  margin-right: 0 !important; 
}


/* Alignment 
----------------------------------------------------------------------*/
.text-center {
  text-align: center;
}

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

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

.center {
  display: block;
  margin: 0 auto;
}


/* Coloring 
----------------------------------------------------------------------*/
.green {
  background-color: #44aeac;
}

.pink {
  background-color: #eb7472;
}

.purple {
  background-color: #70659a;
}


/* Images 
----------------------------------------------------------------------*/
img.small { 
  display: none; 
}




/* -------------------------------------------------------------------------------------------------
    SECTION: GRID SYSTEM
---------------------------------------------------------------------------------------------------- */
#wrapper {  
  margin: 0 auto; 
  padding: 0; 
  display: block; 
}

.maincontainer {
  margin: 0 auto;
  width: 960px;
}

.span1, .span2, .span3, .span4, .span5, .span6, 
.span7, .span8, .span9, .span10, .span11, .span12 {
  position: relative;
  display: block; 
  float: left; 
  margin: 0 15px; 
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -ms-box-sizing: border-box;
}

.offset1, .offset2, .offset3, .offset4, .offset5, .offset6, 
.offset7, .offset8, .offset9, .offset10, .offset11, .offset12 {
  position: relative;
  display: block; 
  margin-right: 15px;
}

.span1 { width: 50px; }
.span2 { width: 130px; }
.span3 { width: 210px; }
.span4 { width: 290px; }
.span5 { width: 370px; }
.span6 { width: 450px; }
.span7 { width: 530px; }
.span8 { width: 610px; }
.span9 { width: 690px; }
.span10 { width: 770px; }
.span11 { width: 850px; }
.span12 { width: 930px; }

.offset1 { margin-left: 95px; }
.offset2 { margin-left: 160px; }
.offset3 { margin-left: 240px; }
.offset4 { margin-left: 320px; }
.offset5 { margin-left: 400px; }
.offset6 { margin-left: 480px; }
.offset7 { margin-left: 560px; }
.offset8 { margin-left: 640px; }
.offset9 { margin-left: 720px; }
.offset10 { margin-left: 800px; }
.offset11 { margin-left: 880px; }




/* -------------------------------------------------------------------------------------------------
    SECTION: Page Styling
---------------------------------------------------------------------------------------------------- */
.frame {
  margin-left: 40px;
}





/* -------------------------------------------------------------------------------------------------
    SECTION: MEDIA QUERIES
---------------------------------------------------------------------------------------------------- */

/* Styles for screens that are between 768px and 959px wide
----------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 768px) and (max-width: 959px) {

  .maincontainer { width: 768px; }

  .span1 { width: 34px; }
  .span2 { width: 98px; }
  .span3 { width: 162px; }
  .span4 { width: 226px; }
  .span5 { width: 290px; }
  .span6 { width: 354px; }
  .span7 { width: 418px; }
  .span8 { width: 482px; }
  .span9 { width: 546px; }
  .span10 { width: 610px; }
  .span11 { width: 674px; }
  .span12 { width: 738px; }

  .offset1 { margin-left: 79px; }
  .offset2 { margin-left: 128px; }
  .offset3 { margin-left: 192px; }
  .offset4 { margin-left: 256px; }
  .offset5 { margin-left: 420px; }
  .offset6 { margin-left: 384px; }
  .offset7 { margin-left: 448px; }
  .offset8 { margin-left: 512px; }
  .offset9 { padding-left: 576px; }
  .offset10 { margin-left: 640px; }
  .offset11 { margin-left: 704px; }

  /* SECTION: FUNCTIONS */
  /* END OF SECTION: FUNCTIONS */
  .frame {
    margin-left: 0;
  }

}



/* Styles for screens that are between 600px and 767px wide 
----------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 600px) and (max-width: 767px) {

  .maincontainer { width: 600px; }

  .span1 { width: 20px; }
  .span2 { width: 70px; }
  .span3 { width: 120px; }
  .span4 { width: 170px; }
  /* .span5 { width: 220px; } overwrited - 2column layouts will now be reformed to 1*/
  .span5 { width: 100%; }
  .span6 { width: 270px; }
  .span7 { width: 320px; }
  .span8 { width: 370px; }
  .span9 { width: 420px; }
  .span10 { width: 470px; }
  .span11 { width: 520px; }
  .span12 { width: 570px; }

  .offset1 { margin-left: 65px; }
  .offset2 { margin-left: 100px; }
  .offset3 { margin-left: 150px; }
  .offset4 { margin-left: 200px; }
  .offset5 { margin-left: 250px; }
  .offset6 { margin-left: 300px; }
  .offset7 { margin-left: 350px; }
  .offset8 { margin-left: 400px; }
  .offset9 { margin-left: 450px; }
  .offset10 { margin-left: 500px; }
  .offset11 { margin-left: 550px; }

  img.big { 
    display: none; 
  }

  img.small { 
    display: block; 
  }

  /* SECTION: FUNCTIONS */
  /* END OF SECTION: FUNCTIONS */

  .frame {
    margin-left: 0;
  }

}


/* Styles for screens that are between 480px and 599px wide   
----------------------------------------------------------------------------------------------------*/
@media only screen and (min-width: 480px) and (max-width: 599px) {

  .maincontainer { width: 480px; }

  .span1 { width: 10px; }
  .span2 { width: 50px; }
  .span3 { width: 90px; }
  .span4 { width: 130px; }
  /* .span5 { width: 170px; } overwrited - 2column layouts will now be reformed to 1*/
  .span5 { width: 370px; }
  
  .span6 { width: 210px; }
  .span7 { width: 250px; }
  .span8 { width: 290px; }
  .span9 { width: 330px; }
  .span10 { width: 370px; }
  .span11 { width: 410px; }
  .span12 { width: 450px; }

  .offset1 { margin-left: 55px; }
  .offset2 { margin-left: 80px; }
  .offset3 { margin-left: 120px; }
  .offset4 { margin-left: 160px; }
  .offset5 { margin-left: 200px; }
  .offset6 { margin-left: 240px; }
  .offset7 { margin-left: 280px; }
  .offset8 { margin-left: 320px; }
  .offset9 { margin-left: 360px; }
  .offset10 { margin-left: 400px; }
  .offset11 { margin-left: 440px; }


  .noMargin-left,
  .noMargin-right { 
    margin-left: 0 !important; 
    margin-right: 0 !important;
  }

  .span5 img {
    padding-bottom: 20px;
  }

  /* SECTION: FUNCTIONS */
  /* END OF SECTION: FUNCTIONS */

  .frame {
    margin-left: 0;
  }

}


/* Styles for screens that are as wide as 479px   
----------------------------------------------------------------------------------------------------*/
@media only screen and (max-width: 479px) {

  .maincontainer { width: 320px; }

  .span1, .span2, .span3, .span4, .span5, .span6, 
  .span7, .span8, .span9, .span10, .span11, .span12 { 
    width: 290px;
    margin-left: 0;
    margin-right: 0;
  }

  .span10, .span12 {
    margin-right: 15px !important;
    margin-left: 15px !important;
  }

  .offset1, .offset2, .offset3, .offset4, .offset5, .offset6, 
  .offset7, .offset8, .offset9, .offset10, .offset11 {
    margin-left: 0;
  }

  .wide { 
    display: none; 
  }

  .mobile { 
    display: block; 
  }

  .span5 img {
    padding-bottom: 20px;
  }

  /* SECTION: FUNCTIONS */
  /* END OF SECTION: FUNCTIONS */

  .frame {
    margin-left: 0;
  }

}


/* PRINT STYLES
----------------------------------------------------------------------*/
/*
Credit to Paul Irish and HTML5 Boilerplate 
(html5boilerplate.com)
*/

@media print {
  * {
    background: transparent !important;
    color: black !important;    /* Black prints faster: h5bp.com/s */
    box-shadow: none !important;
    text-shadow: none !important; 
  }

  a,
  a:visited {
    text-decoration: underline; 
  }

  a[href]:after {
    content: " (" attr(href) ")"; 
  }

  abbr[title]:after {
    content: " (" attr(title) ")"; 
  }

  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: ""; 
  }

  pre,
  blockquote {
    border: 1px solid #999999;
    page-break-inside: avoid; 
  }

  thead {
    display: table-header-group;
    /* h5bp.com/t */ 
  }

  tr,
  img {
    page-break-inside: avoid; 
  }

  img {
    max-width: 100% !important; 
  }

  @page {
    margin: 0.5cm; 
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3; 
  }

  h2,
  h3 {
    page-break-after: avoid; 
  }

  .hide-on-print,
  .hide-for-print {
    display: none !important; 
  }

  .print-only {
    display: block !important; 
  }

  .show-for-print {
    display: inherit !important; 
  } 
}