﻿/* 	Set Typography */
.cms-content,
body {
    font-size: 16px;
}
.typography * {
}
a {
    color: #0a5cb0;
    transition: 0.4s all;
}
a:focus {
    outline: dotted 1px;
}
.typography .slide-heading1,
.typography .slide-heading2,
.typography .slide-heading3,
.typography .slide-heading4,
.typography .slide-heading5
{
	font-weight:900;
	line-height:1.3;
	text-transform:uppercase;
	margin-bottom:10px;
	padding:0;
}
.typography .slide-heading1{
	font-family: 'Khand', sans-serif;
	font-size:4.75rem;
}
.typography .slide-paragraph{
	font-size:1.25rem;
}

/* The typing effect */
@keyframes typing {
  from { width: 0 }
  to { width: 100% }
}

/* The typewriter cursor effect */
@keyframes blink-caret {
  from, to { border-color: transparent }
  50% { border-color: orange; }
}

span.break-on-desktop{
	display:block;
	height:0;
	clear:both;
}
hr {
    border-color: #bebebe;
    border-style: solid;
    border-width: 1px 0 0;
    clear: both;
    height: 0;
    margin: 0;
}
.typography h1.headline,
.typography h2.headline,
.typography h3.headline,
.typography h4.headline,
.typography h5.headline,
.typography h6.headline 
{
    color: #444;
    font-weight:bold;
    padding: 0 0 6px;
    margin: 10px 0;
}
.typography h1.headline-light,
.typography h2.headline-light,
.typography h3.headline-light,
.typography h4.headline-light,
.typography h5.headline-light,
.typography h6.headline-light {
    color: #fff;
    font-weight:bold;
    padding: 0;
    margin: 0;
}
.typography h1.headline, 
.typography h1.headline-light 
{
    font-size:2.375rem;
}
.typography h2.headline, 
.typography h2.headline-light 
{
    font-size:2.125rem;
}
.typography h3.headline, 
.typography h3.headline-light 
{
    font-size:1.875rem;
}
.typography h4.headline, 
.typography h4.headline-light 
{
    font-size:1.625rem;
}
.typography h5.headline, 
.typography h5.headline-light 
{
    font-size:1.375rem;
}
.typography h6.headline, 
.typography h6.headline-light 
{
    font-size:1.125rem;
}
/*	Common Capline For Headers 
	.headline class provides a common capline for headers.
	The adjustment is dirty and needs to be redone on base font-size change.
 */
.typography h2.headline, .WidgetHolder h2:first-child { padding-top:3px!important; text-transform:capitalize; }
.typography h3.headline, .WidgetHolder h3:first-child { padding-top:4px!important; text-transform:capitalize; }
.typography h4.headline, .WidgetHolder h4:first-child { padding-top:4px!important; text-transform:capitalize; }
.typography h5.headline, .WidgetHolder h5:first-child { padding-top:6px!important; text-transform:capitalize; }
.typography h6.headline, .WidgetHolder h6:first-child { padding-top:6px!important; text-transform:capitalize; }

/* Basic Headers */
.typography h1,
.typography h2,
.typography h3,
.typography h4,
.typography h5,
.typography h6 {
    font-weight: bold;
}
.typography strong,
.typography table th {
    font-weight: 800;
}
.typography h1 {
    font-size:2.375rem;
    line-height: 1.5;
    margin-bottom: 10px;
}
.typography h2 {
    font-size:2.125rem;
    line-height: 1.5;
    margin-bottom: 10px;
}
.typography h3 {
    font-size:1.875rem;
    line-height: 1.5;
    margin-bottom: 10px;
}
.typography h4 {
    font-size:1.625rem;
    line-height: 1.5;
    margin-bottom: 10px;
}
.typography h5 {
    font-size:1.375rem;
    line-height: 1.5;
    margin-bottom: 10px;
}
.typography h6 {
    font-size:1.125rem;
    line-height: 1.5;
    margin-bottom: 10px;
}
::-moz-selection,
::selection {
    background: #b80000;
    color: #fff;
    text-shadow: none;
}
.typography p {
    line-height: 1.8;
    padding: 2px 2px 14px;
    margin: 0;
}
.typography .intro {
	font-family: "CamboRegular", Georgia, "Times New Roman", Times, serif;
	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;
}
.typography blockquote {
    background: url(../images/blockquote.png) 0 6px no-repeat;
    color: #777;
    display: block;
    font-style: italic;
    margin: 0 0 20px 5%;
    float: right;
    text-indent: 30px;
    width: 50%;
    clear: both;
}
.typography blockquote p {
    line-height: 25px;
}
.typography pre {
    background: #F7F7F7;
    border: 1px solid #E4E4E4;
    margin: 0 0 20px;
    padding: 15px;
    clear: both;
}
address {
    display: block;
    margin-bottom: 20px;
}
.inherit {
    color: inherit;
    text-decoration: none;
}
ul {
    margin: 0 0 0 20px;
}
ol li,
ul li {
    font-size: 1rem;
    line-height: 2;
}
.typography table {
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0 0 10px;
}
.typography table td,
.typography table th {
    padding: 5px;
    vertical-align: top;
}
.typography .left {
    text-align: left;
}
.typography .center {
    text-align: center;
}
.typography .right {
    text-align: right;
}
.typography img {
    height: auto; /* resets the image height so that it maintains its aspect ratio when width is set */
}
.typography img.left, 
.typography div.left, 
.typography iframe.left 
{
    float: left;
    max-width: 50%;
    margin: 5px 15px 0 0;
}
.typography img.right, 
.typography div.right, 
.typography iframe.right 
{
    float: right;
    max-width: 50%;
    margin: 5px 0 0 15px;
}
.typography img.leftAlone {
    display: block;
    margin: 0 auto 10px 0; /* auto on right pushes it left */
    text-align: left;
}
.typography img.rightAlone {
    display: block;
    margin: 0 0 10px auto; /* auto on left pushes it right */
    text-align: right;
}
.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 0;
}
.typography .captionImage.right {
    float: right;
    margin: 5px 0 20px 30px;
}
.typography .captionImage.left[style],
.typography .captionImage.right[style] {
    max-width: 50%;
}
.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 {
    text-align: left;
    margin-left: -10px;
}
.captionImage.leftAlone { display:block; margin:0 auto 20px 0; float:none; }
.captionImage.rightAlone { display:block; margin:0 0 20px auto; float:none; }
.typography .captionImage.center {
    margin: 0 auto 20px;
}
.typography .captionImage p {
    clear: both;
    margin: 5px 0;
    font-style: italic;
    color: #888;
}

/* Breadcrumbs */

#bread-crumbs {
	display:inline-block;
    margin-bottom: 20px;
	color:#000;
	font-size: 0.875rem;
}
#bread-crumbs a {
    color: #1779ba;
    text-decoration: none;
}
#bread-crumbs a:hover {
    text-decoration: underline;
}

/* Components */
.grid,
.grid figure,
.grid figure img {
    position: relative;
}
.grid figure h2,
.grid figure h2 span
{
    font-weight: 700;
}
.clearfix::after { content:""; display:block; clear:both; }

/* Media Queries */

@media only screen and (max-width: 1280px) {
	.typography .slide-heading1{
		font-size:3.875rem;
	}	
}
@media only screen and (max-width: 768px) {
	span.break-on-desktop{
		display:inline;
		clear:none;		
	}
	.typography .slide-heading1{
		font-size:3rem;
	}
	.typography .slide-paragraph{
		font-size:1.125rem;
	}
	.typography h1 {
	    font-size: 1.625rem;
	}
	.typography h2 {
	    font-size: 1.5rem;
	}
	.typography h3 {
	    font-size: 1.375rem;
	}
	.typography h4 {
	    font-size: 1.25rem;
	}
	.typography h5 {
	    font-size: 1.125rem;
	}
	.typography h6 {
	    font-size: 1rem;
	}	
    .typography h1.headline, 
    .typography h1.headline-light 
    {
        font-size: 1.625rem;
    }
    .typography h2.headline, 
    .typography h2.headline-light 
    {
        font-size: 1.5rem;
    }
    .typography h3.headline, 
    .typography h3.headline-light 
    {
        font-size: 1.375rem;
    }
    .typography h4.headline, 
    .typography h4.headline-light 
    {
        font-size: 1.25rem;
    }
    .typography h5.headline, 
    .typography h5.headline-light 
    {
        font-size: 1.125rem;
    }
    .typography h6.headline, 
    .typography h6.headline-light 
    {
        font-size: 1rem;
    }    						
}
@media only screen and (max-width: 640px) {
	.typography img.clear-on-mobile, 
	.typography div.clear-on-mobile,
	.typography iframe.clear-on-mobile
	{
		float: none !important;
		max-width: 100%;
		margin: 0 0 10px 0;
		display: block;
	}
	.typography p {
	    line-height: 1.5;
	}
	.typography .slide-heading1{
		font-size:2.875rem;
	}
	.typography .slide-paragraph{
		font-size:1rem;
	}					
}
