/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */


@font-face {
    font-family: "metron_text_proregular";
    src: url("./font/metrontextpro-webfont.eot");
    src: url("./font/metrontextpro-webfont.eot?#iefix") format("embedded-opentype"),
    url("./font/metrontextpro-webfont.woff2") format("woff2"),
    url("./font/metrontextpro-webfont.woff") format("woff"),
    url("./font/metrontextpro-webfont.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "metron_text_probold";
    src: url("./font/metrontextprobold-webfont.eot");
    src: url("./font/metrontextprobold-webfont.eot?#iefix") format("embedded-opentype"),
    url("./font/metrontextprobold-webfont.woff2") format("woff2"),
    url("./font/metrontextprobold-webfont.woff") format("woff"),
    url("./font/metrontextprobold-webfont.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "metron_text_probold_italic";
    src: url("./font/metrontextprobolditalic-webfont.eot");
    src: url("./font/metrontextprobolditalic-webfont.eot?#iefix") format("embedded-opentype"),
    url("./font/metrontextprobolditalic-webfont.woff2") format("woff2"),
    url("./font/metrontextprobolditalic-webfont.woff") format("woff"),
    url("./font/metrontextprobolditalic-webfont.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "metron_text_proitalic";
    src: url("./font/metrontextproitalic-webfont.eot");
    src: url("./font/metrontextproitalic-webfont.eot?#iefix") format("embedded-opentype"),
    url("./font/metrontextproitalic-webfont.woff2") format("woff2"),
    url("./font/metrontextproitalic-webfont.woff") format("woff"),
    url("./font/metrontextproitalic-webfont.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Flaticon";
    src: url("./font/flaticon.eot");
    src: url("./font/flaticon.eot#iefix") format("embedded-opentype"),
    url("./font/flaticon.woff") format("woff"),
    url("./font/flaticon.ttf") format("truetype"),
    url("./font/flaticon.svg") format("svg");
    font-weight: normal;
    font-style: normal;
}
[class^="flaticon-"]:before, [class*=" flaticon-"]:before,
[class^="flaticon-"]:after, [class*=" flaticon-"]:after {
    font-family: Flaticon;
    font-size: 20px;
    font-style: normal;
}
.flaticon-bars-graphic1:before {
    content: "\e000";
}
.flaticon-big101:before {
    content: "\e001";
}
.flaticon-cleaning19:before {
    content: "\e002";
}
.flaticon-gears4:before {
    content: "\e003";
}
.flaticon-hand271:before {
    content: "\e004";
}
.flaticon-heart288:before {
    content: "\e005";
}
.flaticon-id-card1:before {
    content: "\e006";
}
.flaticon-leaf64:before {
    content: "\e007";
}
.flaticon-menu62:before {
    content: "\e008";
}
.flaticon-mind:before {
    content: "\e009";
}
.flaticon-new48:before {
    content: "\e00a";
}
.flaticon-office38:before {
    content: "\e00b";
}
.flaticon-open7:before {
    content: "\e00c";
}
.flaticon-phone325:before {
    content: "\e00d";
}
.flaticon-ruler2:before {
    content: "\e00e";
}
.flaticon-student70:before {
    content: "\e00f";
}
.flaticon-telephone34:before {
    content: "\e010";
}
.flaticon-thumb42:before {
    content: "\e011";
}
.flaticon-two205:before {
    content: "\e012";
}
.flaticon-user82:before {
    content: "\e013";
}

@-webkit-keyframes blurFadeInOut{
    0%{
        opacity: 0;
        text-shadow: 0 0 40px #fff;
        -webkit-transform: scale(1.3);
    }
    20%,75%{
    opacity: 1;
    text-shadow: 0 0 1px #fff;
    -webkit-transform: scale(1);
}
100%{
    opacity: 0;
    text-shadow: 0 0 50px #fff;
    -webkit-transform: scale(0);
}
    }
@-webkit-keyframes blurFadeIn{
    0%{
        opacity: 0;
        text-shadow: 0 0 40px #fff;
        -webkit-transform: scale(1.3);
    }
    50%{
        opacity: 0.5;
        text-shadow: 0 0 10px #fff;
        -webkit-transform: scale(1.1);
    }
    100%{
        opacity: 1;
        text-shadow: 0 0 1px #fff;
        -webkit-transform: scale(1);
    }
}
@-webkit-keyframes fadeInBack{
    0%{
        opacity: 0;
        -webkit-transform: scale(0);
    }
    50%{
        opacity: 0.4;
        -webkit-transform: scale(2);
    }
    100%{
        opacity: 0.2;
        -webkit-transform: scale(5);
    }
}
@-webkit-keyframes fadeInRotate{
    0%{
        opacity: 0;
        -webkit-transform: scale(0) rotate(360deg);
    }
    100%{
        opacity: 1;
        -webkit-transform: scale(1) rotate(0deg);
    }
}
/**/
@-moz-keyframes blurFadeInOut{
    0%{
        opacity: 0;
        text-shadow: 0 0 40px #fff;
        -moz-transform: scale(1.3);
    }
    20%,75%{
    opacity: 1;
    text-shadow: 0 0 1px #fff;
    -moz-transform: scale(1);
}
100%{
    opacity: 0;
    text-shadow: 0 0 50px #fff;
    -moz-transform: scale(0);
}
    }
@-moz-keyframes blurFadeIn{
    0%{
        opacity: 0;
        text-shadow: 0 0 40px #fff;
        -moz-transform: scale(1.3);
    }
    100%{
        opacity: 1;
        text-shadow: 0 0 1px #fff;
        -moz-transform: scale(1);
    }
}
@-moz-keyframes fadeInBack{
    0%{
        opacity: 0;
        -moz-transform: scale(0);
    }
    50%{
        opacity: 0.4;
        -moz-transform: scale(2);
    }
    100%{
        opacity: 0.2;
        -moz-transform: scale(5);
    }
}
@-moz-keyframes fadeInRotate{
    0%{
        opacity: 0;
        -moz-transform: scale(0) rotate(360deg);
    }
    100%{
        opacity: 1;
        -moz-transform: scale(1) rotate(0deg);
    }
}
/**/
@keyframes blurFadeInOut{
    0%{
        opacity: 0;
        text-shadow: 0 0 40px #fff;
        transform: scale(1.3);
    }
    20%,75%{
    opacity: 1;
    text-shadow: 0 0 1px #fff;
    transform: scale(1);
}
100%{
    opacity: 0;
    text-shadow: 0 0 50px #fff;
    transform: scale(0);
}
    }
@keyframes blurFadeIn{
    0%{
        opacity: 0;
        text-shadow: 0 0 40px #fff;
        transform: scale(1.3);
    }
    50%{
        opacity: 0.5;
        text-shadow: 0 0 10px #fff;
        transform: scale(1.1);
    }
    100%{
        opacity: 1;
        text-shadow: 0 0 1px #fff;
        transform: scale(1);
    }
}
@keyframes fadeInBack{
    0%{
        opacity: 0;
        transform: scale(0);
    }
    50%{
        opacity: 0.4;
        transform: scale(2);
    }
    100%{
        opacity: 0.2;
        transform: scale(5);
    }
}
@keyframes fadeInRotate{
    0%{
        opacity: 0;
        transform: scale(0) rotate(360deg);
    }
    100%{
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}


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

html,
button,
input,
select,
textarea {
    color: #222;
    font-family: "metron_text_proregular", sans-serif;
}
strong {
    font-family: "metron_text_probold", sans-serif;
    font-weight: normal;
}

body {
    font-size: 1em;
    line-height: 1.4;
    /*overflow-x: hidden;*/
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Author"s custom styles
   ========================================================================== */

.vw {
    width: 1200px;
    margin: 0 auto;
}

header {
    height: 100px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: #ffffff;
    z-index: 100;
}
header .logo {
    width: 226px;
    height: 58px;
    background: url("../img/logo.png") 0 0 no-repeat;
    text-indent: -9999px;
    margin: 21px 20px 0 20px;
    float: left;
}
header .logo a {
    display: block;
}
header .toggle-menu {
    display: none;
}
header nav {
    float: right;
    margin: 18px 20px 0 20px;
}
header nav ul {
    margin: 0;
}
header nav li {
    display: inline-block;
    text-transform: uppercase;
    margin-left: 5px;
    font-size: 18px;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
header nav li.active {
    border-top: 2px solid #eaeaea;
}
header nav a {
    color: #231f20;
    text-decoration: none;
    padding: 18px 30px;
    display: block;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}
header nav li.red:hover {
    background: #c41130;
}
header nav li.blue:hover {
	background: #00447b;
}
header nav li.green:hover {
	background: #00583d;
}
header nav li.yellow:hover {
	background: #fcb040;
}
header nav li:hover a {
    color: #ffffff;
}
.main {
	margin-top: 100px;
}
.banner {
    color: #ffffff;
    padding-top: 60px;
    min-height: 250px;
    border-bottom: 1px solid #eaeaea;
}
.banner.red {
    background: url("../img/bg.jpg") 50% 0 no-repeat;
}
.banner.blue {
    background: #00447b;
}
.banner.green {
    background: #00583d;
}
.banner.yellow {
    background: #fcb040;
}
.banner h1 {
    text-align: right;
    font-size: 60px;
    line-height: 1.1;
    margin: 0 0 60px 0;
}
.banner.red h1 {
    -webkit-animation-name: blurFadeIn;
    -moz-animation-name: blurFadeIn;
    -ms-animation-name: blurFadeIn;
    animation-name: blurFadeIn;
    -webkit-animation-duration: 3s;
    -moz-animation-duration: 3s;
    -ms-animation-duration: 3s;
    animation-duration: 3s;
    -webkit-animation-delay: 0.2s;
    -moz-animation-delay: 0.2s;
    -ms-animation-delay: 0.2s;
    animation-delay: 0.2s;
    -webkit-animation-timing-function: ease-in;
    -moz-animation-timing-function: ease-in;
    -ms-animation-timing-function: ease-in;
    animation-timing-function: ease-in;
    -webkit-animation-fill-mode: backwards;
    -moz-animation-fill-mode: backwards;
    -ms-animation-fill-mode: backwards;
    animation-fill-mode: backwards;
    color: #ffffff;
    text-shadow: 0 0 1px #ffffff;
}
.banner h1 strong {
    font-size: 80px;
    display: block;
}
.banner .box {
    background:rgb(196,18,48);
    background: rgba(196,18,48,0.8);
    padding: 20px 0;
    margin-bottom: 60px;
}
.banner .box p {
    font-size: 22px;
}
.banner .squares {
	margin: 0 -25px 0 0;
}
.banner .box.square {
    padding: 20px;
    float: left;
    width: 180px;
    height: 180px;
    margin: 0 25px 80px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}
.banner .box.square:before {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 180px;
    text-align: center;
    font-size: 80px;
}
.banner .box.square h2 {
    font-size: 20px;
    padding-top: 110px;
    text-transform: uppercase;
}
.strip {
	padding: 60px 0;
}
.strip.strip-left {
    background: #eaeaea;
}
.strip.strip-right {
    background: #fafafa;
}
.strip .vw {
    position: relative;
    z-index: 1;
}
.strip .vw:before {
    position: absolute;
    top: 20px;
    font-size: 120px;
}
.strip.strip-left .vw:before {
    left: 0;
}
.strip.strip-right .vw:before {
    right: 0;
}
.strip.strip-left .vw h2,
.strip.strip-left .vw p,
.strip.strip-left .vw ul {
    padding-left: 250px;
}
.strip.strip-right .vw h2,
.strip.strip-right .vw p,
.strip.strip-right .vw ul {
    padding-right: 250px;
}
.strip h2 {
    color: #c41130;
    font-size: 30px;
}
.strip p {
    font-size: 18px;
}
footer {
	background: #232323;
	color: #ffffff;
	padding: 20px 0;
}
footer a {
	color: #ffffff;
}
footer a:hover {
    text-decoration: none;
}
footer .sep {
	padding-left: 20px;
	padding-right: 20px;
	color: #cfcfcf;
}

.parallax-window {
    min-height: 400px;
}
.two-cols strong {
    float: left;
    width: 140px;
    margin-right: 10px;
    text-align: right;
}
.two-cols span {
    float: left;
    width: 300px;
}
.main a {
    color: #c41130;
}
.main a:hover {
    text-decoration: none;
}
#map-canvas {
    height: 400px;
    width: 100%;
}


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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

.fl {
	float: left;
}

.fr {
	float: right;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ("mobile first") styles.
   Modify as content requires.
   ========================================================================== */

@media screen and (max-width: 1280px) {
    .vw {
        width: auto;
        margin: 0 20px;
    }
    header .logo {
        margin-left: 0;
    }
    header nav {
        margin-right: 0;
    }
    .banner {
        min-height: 200px;
    }
    .banner h1 {
        font-size: 40px;
        -webkit-animation: none !important;
        -moz-animation: none !important;
        -ms-animation: none !important;
        animation: none !important;
    }
    .banner h1 strong {
        font-size: 60px;
    }
    .banner .squares {
        margin-right: -20px;
        margin-bottom: 40px;
        text-align: center;
    }
    .banner .box.square {
        width: 150px;
        height: 150px;
        float: none;
        display: inline-block;
        vertical-align: top;
        margin-bottom: 25px;
    }
    .banner .box.square:before {
        font-size: 60px;
        width: 150px;
    }
    .banner .box.square h2 {
        padding-top: 80px;
        font-size: 18px;
    }
    .strip h2 {
        font-size: 25px;
    }
}
@media screen and (max-width: 1120px) {
    header nav li {
        font-size: 16px;
    }
    header nav a {
        padding: 18px;
    }
    footer {
        text-align: center;
    }
    footer .fl,
    footer .fr {
        float: none;
    }
    .strip .vw:before {
        font-size: 100px;
        margin: 0 40px;
    }
}

@media screen and (max-width: 910px) {
    header .toggle-menu {
        display: block;
        float: right;
        font-size: 16px;
        margin-top: 20px;
        padding: 18px;
        cursor: pointer;
    }
    header .toggle-menu a:before  {
        margin-right: 10px;
    }
    header nav {
        position: absolute;
        top: 100px;
        width: 100%;
        float: none;
        margin: 0 -20px;
        background: rgba(255,255,255,0.9);
        display: none;
    }
    header nav ul {
        padding-left: 20px;
    }
    header nav ul li {
        margin: 0;
    }
    .two-cols strong,
    .two-cols span {
        float: none;
        display: block;
        margin-right: 0;
        width: auto;
        text-align: left;
    }
}

@media screen and (max-width: 640px) {
    .strip.strip-left .vw h2,
    .strip.strip-left .vw p,
    .strip.strip-left .vw ul {
        padding-left: 150px;
    }
    .strip.strip-right .vw h2,
    .strip.strip-right .vw p,
    .strip.strip-right .vw ul {
        padding-right: 150px;
    }
    .strip .vw:before {
        font-size: 80px;
        margin: 0;
    }
    header nav ul {
        padding-left: 0;
    }
    header nav ul li {
        float: none;
        display: block;
        border-left: 15px solid rgba(0,0,0,0);
    }
    header nav li.active {
        border-top: none;
        border-left: 15px solid #eaeaea;
    }
    .banner.red {
        background-image: url("../img/bg-small.jpg");
    }
    .banner .squares {
        margin-right: 0;
    }
    .banner .box.square {
        display: block;
        width: auto;
        height: auto;
        margin: 0 0 5px 0;
    }
    .banner .box.square:before {
        font-size: 40px;
        width: 50px;
    }
    .banner .box.square h2 {
        padding: 0 0 0 50px;
    }
}
@media screen and (max-width: 540px) {
    header .logo {
        width: 150px;
        height: 38px;
        background-image: url("../img/logo-small.png");
        margin-top: 31px;
    }
    .strip .vw {
        padding-top: 100px;
    }
    .strip .vw:before {
        font-size: 70px;
        top: 0;
        left: 0 !important;
        right: auto !important;
    }
    .strip.strip-left .vw h2,
    .strip.strip-left .vw p,
    .strip.strip-left .vw ul {
        padding-left: 0;
    }
    .strip.strip-right .vw h2,
    .strip.strip-right .vw p,
    .strip.strip-right .vw ul {
        padding-right: 0;
    }
}

@media screen and (max-width: 420px) {
    header .toggle-menu a {
        width: 20px;
        overflow: hidden;
        display: block;
    }
    .banner {
        min-height: 100px;
    }
    .banner h1 {
        font-size: 20px;
    }
    .banner h1 strong {
        font-size: 30px;
    }
    .banner .squares {
        display: none;
    }
    footer .sep {
        display: block;
        visibility: hidden;
    }
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

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

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

    /*
     * Don"t show links for images, or javascript/internal links
     */


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

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

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

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


    header .logo {
        background: none;
        text-indent: 0;
        width: auto;
        height: auto;
        font-size: 50px;
        font-weight: bold;
        margin: 0 0 20px 0;
    }
    header .logo a {
        text-decoration: none;
    }
    .banner {
        min-height: 0;
    }
    .banner h1,
    .banner h1 strong {
        font-size: 35px;
        display: inline;
    }
    .banner .box {
        padding: 10px 0;
        margin-bottom: 0;
    }
    .strip {
        padding: 10px 0;
    }
    .strip .vw:before {
        display: none;
    }
    .strip.strip-left .vw h2,
    .strip.strip-left .vw p,
    .strip.strip-left .vw ul {
        padding-left: 0;
    }
    .strip.strip-right .vw h2,
    .strip.strip-right .vw p,
    .strip.strip-right .vw ul {
        padding-right: 0;
    }

    header .toggle-menu,
    header nav,
    footer,
    .banner .squares {
        display: none !important;
    }
}
