@font-face {
    font-family: 'Scribble';
    src: url('../fonts/scribble-webfont.eot');
    src: url('../fonts/scribble-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/scribble-webfont.woff2') format('woff2'),
         url('../fonts/scribble-webfont.woff') format('woff'),
         url('../fonts/scribble-webfont.ttf') format('truetype'),
         url('../fonts/scribble-webfont.svg#scribbleregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

@font-face {    font-family: 'Prequel'; 
    src: url('../fonts/Prequel.eot');
    src: url('../fonts/Prequel.eot') format('embedded-opentype'),
         url('../fonts/Prequel.woff2') format('woff2'),
         url('../fonts/Prequel.woff') format('woff'),
         url('../fonts/Prequel.ttf') format('truetype'),
         url('../fonts/Prequel.svg#Prequel') format('svg');

}
@font-face {    font-family: 'Ethos'; 
    src: url('../fonts/EthosREG.eot');
    src: url('../fonts/EthosREG.eot') format('embedded-opentype'),
         url('../fonts/EthosREG.woff2') format('woff2'),
         url('../fonts/EthosREG.woff') format('woff'),
         url('../fonts/EthosREG.ttf') format('truetype'),
         url('../fonts/EthosREG.svg#EthosREG') format('svg');
                

}

@font-face {
  font-family: 'Pacifico';
  src: url('../fonts/pacifico-regular-webfont.eot');
  src: url('../fonts/pacifico-regular-webfont.eot?#iefix') format('embedded-opentype'),
       url('../fonts/pacifico-regular-webfont.woff2') format('woff2'),
       url('../fonts/pacifico-regular-webfont.woff') format('woff'),
       url('../fonts/pacifico-regular-webfont.svg#pacificoregular') format('svg');
  font-weight: normal;
  font-style: normal;

}

@font-face {
  font-family: 'Philosopher';
  src: url('../fonts/philosopher-regular-webfont.eot');
  src: url('../fonts/philosopher-regular-webfont.eot?#iefix') format('embedded-opentype'),
       url('../fonts/philosopher-regular-webfont.woff2') format('woff2'),
       url('../fonts/philosopher-regular-webfont.woff') format('woff'),
       url('../fonts/philosopher-regular-webfont.svg#philosopherregular') format('svg');
  font-weight: normal;
  font-style: normal;

}


/* COLOURS */



.Green {color: rgb(73,145,48);}
.Blue {color: rgb(50,110,190);}
.Purple {color: rgb(92,52,152);}
.Red { color: #e22030; }
.Orange { color: #f37a25; }
.Yellow { color: #ff9900; }

.BGGreen {color:#fff; background-color: rgb(73,145,48); padding:10px;}
.BGBlue {color:#fff; background-color: rgb(50,110,190); padding:10px;}
.BGPurple {color:#fff; background-color: rgb(92,52,152); padding:10px;}

.scribble {font-family: 'Scribble'; font-size:38px;}



/*
body, input, select, textarea {
		color: rgba(255, 255, 255, 0.75);
		font-family: 'Ethos' , Helvetica, sans-serif;
		font-size: 16pt;
		line-height: 1.75em;
	}
*/







	
    
    
    
 


/* BASE TYPOGRPHY */


body {
    font-family: 'Philosopher' , Helvetica, sans-serif;
	font-size: 16px;
	line-height: 22px;
 
}
    
  body a { 		
        -moz-transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
		-webkit-transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
		-ms-transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
		transition: border-color 0.2s ease-in-out, color 0.2s ease-in-out;
		border-bottom: dotted 1px;
		color: #325ca6;
		text-decoration: none;
} 
 /* body a:link { -webkit-tap-highlight-color: #325ca6 } /* this sets the highlight color when links are tapped on Safari (browser) on iPhone */


body p {        font-family: 'Philosopher', sans-serif;
		margin: 0 0 2em 0;}

/* HEADERS */
.typography h1,
.typography h2,
.typography h3

{
   
        font-family: 'Pacifico', sans-serif;
		
}
.typography h1 { font-size: 42px; line-height: 50px; margin-bottom: 20px; }
.typography h2 { font-size: 36px; line-height: 42px; margin-bottom: 15px; }
.typography h3 { font-size: 30px; line-height: 36px; margin-bottom: 10px; }
.typography h4 { font-size: 28px; line-height: 34px; margin-bottom: 5px; }
.typography h5 { font-size: 28px; line-height: 34px; margin-bottom: 5px; }
.typography h6 { font-size: 28px; line-height: 34px; margin-bottom: 5px; }
.typography p { font-size: 20px; line-height: 24px; margin: 0 0 20px; }



@media (max-width: 768px) {
    
.typography h1 { font-size: 36px; line-height: 40px; margin-bottom: 20px; }
.typography h2 { font-size: 30px; line-height: 36px; margin-bottom: 15px; }
.typography h3 { font-size: 28px; line-height: 34px; margin-bottom: 10px; }
.typography h4 { font-size: 26px; line-height: 32px; margin-bottom: 5px; }
.typography h5 { font-size: 26px; line-height: 32px; margin-bottom: 5px; }
.typography h6 { font-size: 26px; line-height: 32px; margin-bottom: 5px; }
.typography p { font-size: 18px; line-height: 22px; margin: 0 0 20px; }    
    
}





/* PARAGRAGHS */
.typography .intro {  }
.typography em { font-style: italic; }




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

/* LINKS */
.typography a, 
.typography a.intro {}
.typography a:hover {color: #325ca6; border-bottom-color: transparent; }
.typography a:focus {color: #325ca6; border-bottom-color: transparent; }

.typography p a {
  background:
    linear-gradient(
      to right,
      rgba(255, 204, 0, 0.85),
      rgba(255, 204, 0, 0.85)
  ),
    linear-gradient(
      to right,
      rgba(6, 38, 99, 0.3),
      rgba(50, 92, 166, 0.3),
      rgba(255, 204, 0, 0.85)
    );
  background-size: 100% 1px, 0 1px;
  background-position: 100% 100%, 0 100%;
  background-repeat: no-repeat;
  transition: background-size 600ms;
  border-bottom: none!important;
}

.typography p a:hover {

  background-size: 0 1px, 100% 1px;
  text-shadow: 0px 0px 8px rgba(255, 204, 0, 0.85);
  color: #062663!important;
}



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


/* 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 {
    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.left img {
    margin-right: -10px;
  }
  .typography .captionImage.right img {
    margin-left: -10px;
  }
  .typography .captionImage.right p {
    margin-left: -10px;
    text-align: left;
    margin-left: -10px;
  }
.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;
}


/* BLOCKQUOTES
-------------------------------------------- */
.typography blockquote {
  background: transparent url(../img/blockquote.png) no-repeat 10px 6px;
  font-family: "Scribble", sans-serif, serif;
  color: #325ca6;
  display: block;
  font-style: italic;
  margin: 0 0 10px;
  text-indent: 30px;
  clear: both;
}

.typography blockquote p:after {
    content:"";
    display:inline-block;
    height: 32px;
    width: 20px;
  background: transparent url(../img/blockquote-end.png) no-repeat 0 6px;
    margin-left:99%;
    
}
    
.typography blockquote p {
  font-size: 22px;
  line-height: 32px;
}
.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;
}