/*! HTML5 Boilerplate v5.2.0 | MIT License | https://html5boilerplate.com/ */


/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

body
{
	font-family: 'Glegoo', serif;
	font-size: 16px;
	background: #fff;
}

::-moz-selection {
	background-color: rgba(0, 0, 0, 0.1) !important;
    text-shadow: none;
}

::selection {
	background-color: rgba(0, 0, 0, 0.1) !important;
    text-shadow: none;
}

html {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale; 	
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ddd;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}


a {
	color: #c41817;
	-webkit-transition: all 0.2s ease-in-out;
	-moz-transition: all 0.2s ease-in-out;
	-ms-transition: all 0.2s ease-in-out;
	transition: all 0.2s ease-in-out;
	outline: 0;
}
a:hover {
	color: #c41817;
	text-decoration: underline;
}

.button {
	font-family: 'Rambla', sans-serif !important;
	font-weight: 700 !important;
	letter-spacing: 1px !important;
	padding-top: 0.8em !important;
	padding-bottom: 0.8em !important;
	margin-bottom: 0;
	letter-spacing: 0px !important;
}
.button:hover, .button:focus {
	outline: 0;

}
.button i {
	margin-left: 3px;
}

img {
	-ms-interpolation-mode:bicubic;
}



h1, h2, h3, h4, h5, h6 {	
	font-family: 'Rambla', sans-serif;
	font-weight: 700;
	font-style: normal;
	text-rendering: optimizeLegibility;
	margin-top: 0.2rem;
	margin-bottom: 0.5rem;
	line-height: 1.1;

 }
h1 small, h2 small, h3 small, h4 small, h5 small, h6 small {
	font-size: 80%;
	line-height: 0;
	color: #5d7785;
	font-family: 'Glegoo', serif;
	font-weight: 500;
}

p {
	font-family: inherit;
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.9;
	margin-bottom: 1.25rem;

}

.on-dark,
.on-dark p {
	color: #fff !important;
}

.serif {
	font-family: 'Glegoo', serif !important;
}
.my-font {
	font-family: 'Rambla', sans-serif !important;
}

ul, ol, dl {
	font-weight: normal;
}

.padding-small {
	padding: 1em;
}
.padding-medium {
	padding: 2em 0;
}
.padding-large {
	padding: 6em 6em !important;
}

strong {
	font-weight: 700 !important;
}

.no-border-left {
	border-left: 0 !important;
}
.no-border {
	border: 0 !important;
}

.rel {
	position: relative;
}
.lowercase {
	text-transform: none !important;
}

.italic {
	font-style: italic !important;
}
.thin {
	font-weight: 100 !important;
}
.light {
	font-weight: 300 !important;
}
.regular {
	font-weight: 400 !important;
}
.semibold {
	font-weight: 600 !important;
}
.bold {
	font-weight: 700 !important;
}
.black {
	font-weight: 900 !important;
}

.center {
	text-align: center !important;
}
.uppercase {
	text-transform: uppercase;
}
.radius {
	border-radius: 5px !important;
	-webkit-border-radius: 5px !important;
}
.fw {
	width: 100% !important;
}
.no-margin {
	margin: 0 !important;
}
.no-padding {
	padding: 0 !important;
}



/* 
-----------------------------
BACKGROUND COLORS
-----------------------------
*/
/* Light Blue */
.bg-primary {
	background-color: #14508e !important;
}
.bg-primary.opac {
	background: rgba(20, 82, 143, 0.93) !important;
}

/* Red */
.bg-secondary {
	background-color: #c41817 !important;
}
.bg-secondary.opac {
	background: rgba(197, 24, 24, 0.95) !important;
}

/* Gold */
.bg-gold {
	background-color: #b6a47b !important;
}
.bg-gold.opac {
	background: rgba(182, 164, 123, 0.8) !important;
}
/* Light Green */
.bg-color3 {
	background-color: #8cb63c !important;
}
.bg-color3.opac {
	background-color: rgba(118, 184, 42, 0.92) !important;
}

/* Light Blue */
.bg-color4 {
	background-color: #4e72b5 !important;
}
.bg-color4.opac {
	background: rgba(78, 114, 181, 0.91) !important;
}

/* Yellowe */
.bg-color5 {
	background-color: #ffdd00 !important;
}
.bg-color5.opac {
	background: rgba(245, 245, 14) !important;
}
/* Orange */
.bg-color6 {
	background-color: #ffa700 !important;
}
.bg-color6.opac {
	background: rgba(255, 167, 0, 0.88) !important;
}

/* Dark */
.bg-dark {
	background-color: #0a0c0d !important;
}
.bg-dark.opac {
	background-color: rgba(9, 11, 12, 0.95) !important;
}


/* Light Gray */
.bg-lightgray {
	background-color: #b9bdc5 !important;
}
.bg-lightgray.opac {
	background-color: rgba(185, 189, 197, 0.95) !important;
}

/* Light */
.bg-light {
	background-color: #f3f3f3 !important;
}

/* Light */
.bg-lighter {
	background-color: #f5f5f2 !important;
}

/* White */
.bg-white {
	background: #fff !important;
}
.bg-white.opac {
	background: rgba(255, 255, 255, 0.2) !important;
}

.bg-none {
	background: none !important;
}
.inner-shadow {
	-webkit-box-shadow: inset 0 -2px 0 0px rgba(0, 0, 0, 0.06), 0 1px 20px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 -2px 0 0px rgba(0, 0, 0, 0.06), 0 1px 20px rgba(0, 0, 0, 0.1) ;
}
.inner-shadow-dark {
	-webkit-box-shadow: inset 0 -3px 0 0px rgba(0, 0, 0, 0.06), 0 2px 20px rgba(0, 0, 0, 0.7);
    box-shadow: inset 0 -3px 0 0px rgba(0, 0, 0, 0.06), 0 2px 20px rgba(0, 0, 0, 0.7) ;
}
.shadow {
	-webkit-box-shadow:  0 1px 10px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.1) ;
}
.large-shadow {
	-webkit-box-shadow:  0 1px 20px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.1) ;
}

.dark-shadow {
	-webkit-box-shadow: inset 0 -3px 0 0px rgba(0, 0, 0, 0.1), 0 1px 20px rgba(0, 0, 0, 0.1);
    box-shadow: inset 0 -3px 0 0px rgba(0, 0, 0, 0.1), 0 1px 20px rgba(0, 0, 0, 0.1) ;
}

.huge-shadow {
	-webkit-box-shadow:  0 1px 60px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 60px rgba(0, 0, 0, 0.1) ;
}

.bg-shade {
	
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzAwMDAwMCIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMwMDAwMDAiIHN0b3Atb3BhY2l0eT0iMC42NSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(top,  rgba(0,0,0,0) 0%, rgba(0,0,0,0.65) 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0,0)), color-stop(100%,rgba(0,0,0,0.65)));
	background: -webkit-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
	background: -o-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
	background: -ms-linear-gradient(top,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
	background: linear-gradient(to bottom,  rgba(0,0,0,0) 0%,rgba(0,0,0,0.65) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00000000', endColorstr='#a6000000',GradientType=0 );
}
.bg-shade-40 {
	background-color: rgba(9, 11, 12, 0.15) !important;
}

.my-gradient {
	background: rgb(39,47,78);
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzI3MmY0ZSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjMxJSIgc3RvcC1jb2xvcj0iIzQ0NDY4NSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjcwJSIgc3RvcC1jb2xvcj0iIzE5YjFjMiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM4NWJlODMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(left,  rgba(39,47,78,1) 0%, rgba(68,70,133,1) 31%, rgba(25,177,194,1) 70%, rgba(133,190,131,1) 100%);
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(39,47,78,1)), color-stop(31%,rgba(68,70,133,1)), color-stop(70%,rgba(25,177,194,1)), color-stop(100%,rgba(133,190,131,1)));
	background: -webkit-linear-gradient(left,  rgba(39,47,78,1) 0%,rgba(68,70,133,1) 31%,rgba(25,177,194,1) 70%,rgba(133,190,131,1) 100%);
	background: -o-linear-gradient(left,  rgba(39,47,78,1) 0%,rgba(68,70,133,1) 31%,rgba(25,177,194,1) 70%,rgba(133,190,131,1) 100%);
	background: -ms-linear-gradient(left,  rgba(39,47,78,1) 0%,rgba(68,70,133,1) 31%,rgba(25,177,194,1) 70%,rgba(133,190,131,1) 100%);
	background: linear-gradient(to right,  rgba(39,47,78,1) 0%,rgba(68,70,133,1) 31%,rgba(25,177,194,1) 70%,rgba(133,190,131,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#272f4e', endColorstr='#85be83',GradientType=1 );
	
}
.my-gradient.inverted {
	background: rgb(133,190,131);
	background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIxMDAlIiB5Mj0iMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzg1YmU4MyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjMwJSIgc3RvcC1jb2xvcj0iIzE5YjFjMiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjY5JSIgc3RvcC1jb2xvcj0iIzQ0NDY4NSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiMyNzJmNGUiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
	background: -moz-linear-gradient(left,  rgba(133,190,131,1) 0%, rgba(25,177,194,1) 30%, rgba(68,70,133,1) 69%, rgba(39,47,78,1) 100%);
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(133,190,131,1)), color-stop(30%,rgba(25,177,194,1)), color-stop(69%,rgba(68,70,133,1)), color-stop(100%,rgba(39,47,78,1)));
	background: -webkit-linear-gradient(left,  rgba(133,190,131,1) 0%,rgba(25,177,194,1) 30%,rgba(68,70,133,1) 69%,rgba(39,47,78,1) 100%);
	background: -o-linear-gradient(left,  rgba(133,190,131,1) 0%,rgba(25,177,194,1) 30%,rgba(68,70,133,1) 69%,rgba(39,47,78,1) 100%);
	background: -ms-linear-gradient(left,  rgba(133,190,131,1) 0%,rgba(25,177,194,1) 30%,rgba(68,70,133,1) 69%,rgba(39,47,78,1) 100%);
	background: linear-gradient(to right,  rgba(133,190,131,1) 0%,rgba(25,177,194,1) 30%,rgba(68,70,133,1) 69%,rgba(39,47,78,1) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#85be83', endColorstr='#272f4e',GradientType=1 );


}

/* 
-----------------------------
TEXT COLORS
-----------------------------
*/

/* Light Blue */
.c-primary {
	color: #14508e !important;	
}

/* Red */
.c-secondary {
	color: #c41817 !important;
}
/* Gold */
.c-gold {
	color: #b6a47b !important;
}
/* Light Green */
.c-color3 {
	color: #76B82A !important;
}

/* Light Blue */
.c-color4 {
	color: #4e72b5 !important;
}

/* Dark */
.c-dark {
	color: #0a0c0d !important;
}


.c-lightgrey {
	color: #b9bcc4 !important;
}
.c-darkgrey {
	color: #7a7d87 !important;
}
.c-white {
	color: #fff !important;
}
.c-black {
	color: #000 !important;
}

/* 
-----------------------------
IMAGE GRAYSCALE
-----------------------------
*/

.grayscale {
  /* Firefox 10+, Firefox on Android */
  filter: url("data:image/svg+xml;utf8,<svg xmlns='https://www.w3.org/2000/svg'><filter id='grayscale'><feColorMatrix type='matrix' values='0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0'/></filter></svg>#grayscale");

  /* IE 6-9 */
  filter: gray;

  /*
    Chrome 19+,
    Safari 6+,
    Safari 6+ iOS,
    Opera 15+
  */
  -webkit-filter: grayscale(100%);
}

.grayscale.grayscale-fade {
  -webkit-transition: -webkit-filter .5s;
}

.grayscale.grayscale-fade:hover {
  -webkit-filter: grayscale(0%);
  filter: none;
}

.grayscale-replaced.grayscale-fade svg {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transition: opacity .5s ease;
  transition: opacity .5s ease;
}

.grayscale-replaced.grayscale-fade:hover svg {
  opacity: 0;
  filter: alpha(opacity=0);
}


/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}
.clearfix {
  *zoom: 1;
}
.clearfix:before,
.clearfix:after {
  display: table;
  line-height: 0;
  content: "";
}

.clearfix:after {
  clear: both;
}

.clearer {
	height: 0px;
	font-size: 0px;
	line-height: 0px;
	padding: 0px 0px 0px 0px;
	margin: 0px 0px 0px 0px;
	clear: both;
}
.clearer.line {
	height:1px;
	margin: 10px auto;
	background: #eee;
	position: relative;
}

.clearer.h5 {
	height: 5px;
}
.clearer.h10 {
	height: 10px;
}
.clearer.h15 {
	height: 15px;
}
.clearer.h20 {
	height: 20px;
}
.clearer.h25 {
	height: 25px;
}
.clearer.h30 {
	height: 30px;
}
.clearer.h35 {
	height: 35px;
}
.clearer.h40 {
	height: 40px;
}
.clearer.h45 {
	height: 45px;
}
.clearer.h50 {
	height: 50px;
}
.clearer.h55 {
	height: 55px;
}
.clearer.h60 {
	height: 60px;
}
.clearer.h65 {
	height: 65px;
}
.clearer.h70 {
	height: 70px;
}
.clearer.h75 {
	height: 75px;
}
.clearer.h80 {
	height: 80px;
}
.clearer.h85 {
	height: 85px;
}
.clearer.h90 {
	height: 90px;
}
.clearer.h95 {
	height: 95px;
}
.clearer.h100 {
	height: 100px;
}
.clearer.h120 {
	height: 120px;
}
.clearer.h150 {
	height: 150px;
}
.clearer.h200 {
	height: 200px;
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

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

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

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

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

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

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