/** ----------------------------------------------------------
 *
 * Contains the generic theme typography styles
 *
 *    Include your notes or table of contents here
 *
 *    Include color hex's or values of your grid
 *      #333333             - body
 *      #B80000             - links, headings
 *      #D80000             - links on hover
 *      5px Vertical grid   - based on multiples of 5px, eg 10px, 15px, 20px, 25px...
 *
 *    @author Your Name <email@gmail.com>
 *
 * ------------------------------------------------------- */


@font-face {
  font-family: 'FontAwesome';
  src: url('../webfonts/fontawesome-webfont.eot?v=4.6.3');
  src: url('../webfonts/fontawesome-webfont.eot?#iefix&v=4.6.3') format('embedded-opentype'), url('../webfonts/fontawesome-webfont.woff2?v=4.6.3') format('woff2'), url('../webfonts/fontawesome-webfont.woff?v=4.6.3') format('woff'), url('../webfonts/fontawesome-webfont.ttf?v=4.6.3') format('truetype'), url('../webfonts/fontawesome-webfont.svg?v=4.6.3#fontawesomeregular') format('svg');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'icomoon';
  src:  url('../webfonts/icomoon.eot?xf5p5e');
  src:  url('../webfonts/icomoon.eot?xf5p5e#iefix') format('embedded-opentype'),
    url('../webfonts/icomoon.ttf?xf5p5e') format('truetype'),
    url('../webfonts/icomoon.woff?xf5p5e') format('woff'),
    url('../webfonts/icomoon.svg?xf5p5e#icomoon') format('svg');
  font-weight: normal;
  font-style: normal;
}
[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  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-teeball:before {
  content: "\e91e";
}

.icon-afl:before,
.icon-aussie-rules:before{
  content: "\e900";
}
.icon-afl9s:before {
  content: "\e901";
}
.icon-personal-training:before,
.icon-athletics:before {
  content: "\e902";
}
.icon-badminton:before {
  content: "\e903";
}
.icon-baseball:before {
  content: "\e904";
}
.icon-basketball:before {
  content: "\e90c";
}
.icon-beachvolleyball:before {
  content: "\e90d";
}
.icon-cricket:before {
  content: "\e90e";
}
.icon-crosscountry:before {
  content: "\e90f";
}
.icon-diving:before {
  content: "\e910";
}
.icon-futsal:before {
  content: "\e911";
}
.icon-handball:before {
  content: "\e912";
}
.icon-hockey:before {
  content: "\e913";
}
.icon-netball:before {
  content: "\e914";
}
.icon-rowing:before {
  content: "\e915";
}
.icon-rugby-union:before,
.icon-rugby-league:before,
.icon-rugby-league-:before,
.icon-rugby:before {
  content: "\e916";
}
.icon-soccer:before {
  content: "\e917";
}

.icon-softball:before {
  content: "\e918";
}
.icon-swimming:before {
  content: "\e919";
}
.icon-tennis:before {
  content: "\e91a";
}
.icon-touch-rugby:before,
.icon-touch:before {
  content: "\e91b";
}
.icon-volleyball:before {
  content: "\e91c";
}
.icon-waterpolo:before {
  content: "\e91d";
}





/* BASE TYPOGRPHY */

/* These are the default styles for the Simple theme */
body {
    font-size: 18px; /* This overrides the browsers default font size */
    line-height: 24px; /* If you change the font-size make sure you change the line-height value as well - the usual ratio is around 1.5 (font-size x 1.5 = line-height) */
    margin-bottom: 20px;
    color: #444;
    font-family: 'Open Sans', sans-serif;
}
  body a { text-decoration: none; } /* this removes the underline from all links */
  body a:link { -webkit-tap-highlight-color: #b80000 } /* this sets the highlight color when links are tapped on Safari (browser) on iPhone */


/* HEADERS */
.typography h1,
.typography h2,
.typography h3,
.typography h4,
.typography h5,
.typography h6 {
    font-weight: normal;
    margin-bottom: 10px;
    font-family: 'Oswald', sans-serif;
}
.typography h1 {
  font-size: 48px;
  line-height: 45px;
  margin: 30px 0 30px 0;
}
.typography h2 { font-size: 28px; line-height: 35px; margin-bottom: 15px; }
.typography h3 { font-size: 22px; line-height: 30px; margin-bottom: 10px; }
.typography h4 { font-size: 18px; line-height: 25px; margin-bottom: 5px; }
.typography h5 { font-size: 16px; line-height: 20px; margin-bottom: 5px; }
.typography h6 { font-size: 14px; line-height: 20px; font-weight: bold; margin-bottom: 5px; }


/* PARAGRAGHS */
.typography  p {  margin: 0 0 20px; }
  .typography .intro {
      font-size: 22px;
      line-height: 32px;
      margin-bottom: 20px;
  }
.typography em { font-style: italic; }

::selection,
::-moz-selection { /* Applies style to highlighted portion of a page */
    background: #b80000;
    color: #fff;
    text-shadow: none;
}

/* LINKS */
a,
a.intro {
    color: #00adef;
    text-decoration: none;
}
  a:hover,
  a:focus {
    color: #93c849;
  }
  .typography a:focus { }


/* LIST STYLES
-------------------------------------------- */
.typography ul,
.typography ol,
.typography dl { margin: 0 0 20px 25px; }
.typography ul li { list-style-type: disc; } /* adds disc style bullet to the list */
  .typography li { margin-bottom: 5px; }


/* TABLE STYLES
-------------------------------------------- */
.typography table {
    border-collapse: collapse; /* borders are collapsed into a single border when possible */
    border: 1px solid #d4d4d4;
    border-spacing: 0; /* The border-spacing property sets the distance between the borders of adjacent cells - acts as a backup to border-collapse: collapse */
    margin: 0 0 10px;
    text-align: left;
}
  .typography table tr:nth-child(even) {
      background-color: #ededed
  }
  .typography table tr.even,
  .typography table th,
  .typography thead td {
      background-color: #ededed
  }
  .typography table td,
  .typography table th {
      padding: 2px 5px;
      border: 1px solid #d4d4d4;
      vertical-align: top;
  }
  .typography table th {
      font-weight: bold;
  }


/* WYSIWYG EDITOR ALIGNMENT CLASSES
-------------------------------------------- */
.typography .left {
    text-align: left
}
.typography .center {
    text-align: center
}
.typography .right {
    text-align: right
}


/* IMAGES
-------------------------------------------- */
.typography img {
    /*border: 5px solid #d7d7d7;*/
    max-width: 100%;
    height: auto; /* resets the image height so that it maintains its aspect ratio when width is set */
}
.typography img.left {
    float: left;
    max-width: 50%;
    margin: 5px 20px 10px 0;
}
.typography img.right {
    float: right;
    max-width: 50%; /* Responsive width */
    margin: 5px 0 10px 20px;
}
.typography img.leftAlone {
    float: left;
    margin-right: 100%;
    margin-bottom: 10px;
    clear: both;
}
.typography img.center {
    float: none;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 10px;
    clear: both;
}
.typography .captionImage { width: 100%; margin-top: 5px; }
.typography .captionImage img { margin: 0; }
  .typography .captionImage.left {
    float: left;
    margin: 5px 30px 20px 0px;
  }
  .typography .captionImage.right{
    float: right;
    margin: 5px 0 20px 30px;
  }
  .typography .captionImage.left[style],
  .typography .captionImage.right[style] {
    max-width: 50%; /* Overides core width to make responsive */
  }
  .typography .captionImage.left img,
  .typography .captionImage.right img {
    float: none;
    max-width: none;
    width: 100%;
  }
.typography .captionImage.leftAlone{
  float:none;
  margin: 0 20px 20px 0px;
}
.typography .captionImage.center{
  margin: 0 auto 20px;
}
.typography .captionImage p {
  clear: both;
  margin: 5px 0;
  font-style: italic;
  color: #888;
    text-align: center;
  font-size: 14px;
}


/* BLOCKQUOTES
-------------------------------------------- */
.typography blockquote {
  background: transparent url(../images/blockquote.png) no-repeat 0px 6px;
  color: #777;
  display: block;
  font-style: italic;
  margin: 0 0 20px;
  float: right;
  text-indent: 30px;
  width: 50%;
  margin-left: 5%;
  clear: both;
}
.typography blockquote p {
  font-size: 17px;
  line-height: 25px;
}
.typography pre {
  background: #F7F7F7;
  border: 1px solid #E4E4E4;
  font-family: Courier, monospace;
  margin: 0 0 20px 0;
  padding: 15px;
  clear: both;
}

/* ADDRESS
-------------------------------------------- */
address {
  display: block;
  margin-bottom: 20px;
}


.documents:after {
  content: "";
  clear: both;
  display: block;
}

.document {
  width: 250px;
  text-align: center;
  float: left;
  height: 150px;
}
.document:before {
  content: "\f016";
  font-family: "FontAwesome";
  line-height: 100px;
  display: block;
  font-size: 70px;
}

.document.pdf:before {
  content: "\f1c1";
}
.document.doc:before,
.document.docx:before {
  content: "\f1c2";
}
.document.xls:before,
.document.xlsx:before {
  content: "\f1c3";
}
.document.ppt:before,
.document.pptx:before,
.document.pps:before,
.document.ppsx:before {
  content: "\f1c4";
}
.document.gif:before,
.document.png:before,
.document.jpeg:before,
.document.jpg:before {
  content: "\f1c5";
}
.document.zip:before {
  content: "\f1c6";
}
