﻿

html {
    overflow: -moz-scrollbars-vertical;
    overflow-y: scroll;
    -ms-overflow-style: scrollbar;
    height: 100%;
}

body {
    min-height: 100%;
    font-family: 'Fira Sans', sans-serif;
    font-size: 18px;
    line-height: 1.4;
    color: #575656;
    font-weight: 300;
    /* Used for the sticky footer, see: https://github.com/philipwalton/solved-by-flexbox/blob/master/assets/css/components/site.css */
    display: flex;
    min-height: 100%;
    flex-direction: column;
}


/* Used for the ModernUI IE to work in responsive mode */
@-ms-viewport {
    width: device-width;
}

img, embed, object, video {
    max-width: 100%;
    height: auto !important;
}

.ie6 img.full, .ie6 object.full, .ie6 embed, .ie6 video {
    width: 100%;
}

.ie7 img, .ie7 embed, .ie7 object, .ie7 video {
    width: 100%;
    max-width: inherit;
}

.ie8 img, .ie8 embed, .ie8 object, .ie8 video {
    width: 100%;
    max-width: inherit;
}

/* ckEditor LayoutManager */
.container-fluid div {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.container-fluid {
    /*padding-right: 15px;*/
    padding-left: 20px;
    margin-right: auto;
    margin-left: auto;
    clear: both;
    overflow: hidden;
}

.row {
    margin-right: -20px;
    margin-left: -20px;
}

.col-lg-1,
.col-lg-10,
.col-lg-11,
.col-lg-12,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9 {
    position: relative;
    min-height: 1px;
    padding-right: 20px;
    padding-left: 0;
    float: left;
}

.col-lg-12 {
    width: 100%
}

.col-lg-11 {
    width: 91.66666667%
}

.col-lg-10 {
    width: 83.33333333%
}

.col-lg-9 {
    width: 75%
}

.col-lg-8 {
    width: 66.66666667%
}

.col-lg-7 {
    width: 58.33333333%
}

.col-lg-6 {
    width: 50%
}

.col-lg-5 {
    width: 41.66666667%
}

.col-lg-4 {
    width: 33.33333333%
}

.col-lg-3 {
    width: 25%
}

.col-lg-2 {
    width: 16.66666667%
}

.col-lg-1 {
    width: 8.33333333%
}

@media screen and (max-width: 850px) {
    .col-lg-1,
    .col-lg-10,
    .col-lg-11,
    .col-lg-12,
    .col-lg-2,
    .col-lg-3,
    .col-lg-4,
    .col-lg-5,
    .col-lg-6,
    .col-lg-7,
    .col-lg-8,
    .col-lg-9 {
        float: none;
        width: 100%;
    }
}

/* END ckEditor LayoutManager */



a:focus {
    outline: none;
}

#preContent {
    display: none;
}


h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin: 0;
    padding: 0;
    margin-bottom: 10px;
    line-height: 1.2;
    text-align: left;
}

h1 {
    font-size: 35px;
    margin-bottom: 20px;
}

h1:first-of-type {
    margin-top: 0;
}


h2 {
    margin: 8px 0 20px 0;
    font-size: 23px;
}

ul + h2 {
    margin-top: 40px;
}

h3 {
    font-size: 18px;
}

h4 {
    font-size: 18px;
}


p {
    margin: 0;
    padding: 0 0 25px 0;
}

#content .layoutmanager p {
    -moz-hyphens: auto;
    -o-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
}

#content ul {
    list-style-type: none;
    margin-left: -37px;
    margin-top: 0;
    margin-bottom: 25px;
}

#content ul {
    list-style-type: none;
    margin-left: -37px;
    margin-top: 0;
    margin-bottom: 25px;
}

ol {
    list-style-type: decimal;
    margin-left: 1.618em;
}

nav ul, nav ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

#content ul li {
    margin-bottom: 7px;
}

#content ul li {
    margin-bottom: 8px;
}


b, strong {
    font-weight: 500;
}

i, em {
    font-style: italic;
}

small {
    font-size: 80%;
}

a, a:visited {
    outline: none;
    color: #e63227;
    text-decoration: none;
}

    a:hover {
        outline: none;
        text-decoration: underline;
        color: #e63227;
    }

    a:active, a:focus {
        outline: none;
    }

    a[href^="tel:"] {
        color: #575656;
        text-decoration: none;
        cursor: default;
        font-weight: 300;
    }

hr {
    border-bottom: 0 none;
    border-top: 1px solid #E5E5E5;
    border-left: none;
    border-right: none;
    height: 1px;
    margin-bottom: 20px;
}


.button {
    background-color: #878786;
    border: none;
    border-radius: 4px;
    padding: 5px 12px 5px 12px;
    color: #fff;
    text-decoration: none;
    display: inline-block;
}

.button:visited {
    text-decoration: none;
    color: #fff;
}

.button:hover {
    text-decoration: none;
    background-color: #c5c6c6;
    color: #fff;
}

#mainForm {
    margin: 0 auto;
    /* Used for the sticky footer */
    flex: 1 0 auto;
    padding: var(--space) var(--space) 0;
    width: 100%;
}

    /* Used for the sticky footer */
    #mainForm::after {
        content: '\00a0'; /* &nbsp; */
        display: block;
        margin-top: var(--space);
        height: 0px;
        visibility: hidden;
    }

@media (--break-lg) {
    #mainForm {
        padding-top: var(--space-lg);
    }

        #mainForm::after {
            margin-top: var(--space-lg);
        }
}

#mainForm--full {
    padding: 0;
}

    #mainForm--full::after {
        content: none;
    }
/* End used for the sticky footer */

#container {
}

#header {
    position: fixed;
    z-index: 99;
    right: 0;
    left: 0;
    top: 0;
    height: 100px;
    background-color: #fff;
}

#headerContentIntro {
    position: absolute;
    left: 0;
    bottom: 0;
    height: 24px;
    background: linear-gradient(to right, #000, #000 350px, #fff);
    width: 35%;
}

#headerContentIntro a {
    text-decoration: none;
    color: #fff;
}

#headerContentIntro a:hover {
    color: #fff;
    text-decoration: underline;
}

#navigationLogo {
    position: fixed;
    display: inline-block;
    margin: 29px 0 0 80px;
    z-index: 9999;
}

#siteLogo > a {
    background: url('../../layout/images/logo_desktop.png') 0 0 no-repeat;
    height: 87px;
    width: 260px;
    display: block;
    text-indent: -9000px;
}

/************************************** RETINA **************************************************************/

@media screen  and (-webkit-min-device-pixel-ratio: 2), screen and (min-resolution: 192dpi) {
    #siteLogo > a {
        background-image: url('../../layout/images/logo_desktop_retina.png');
        background-size: 260px 87px;
    }
}

#contentIntroWrap
{
    margin-top: 100px;
}

#slideHeaderIntroWrap {
    margin: 0 auto;
}


#navigationWrapper {
    position: fixed;
    z-index: 99;
    right: 0;
    left: 0;
    top: 0;
}

#navigationMain {
    position: absolute;
    right: 0;
    left: 0;
    top: 30px;
    margin: 0 auto;
    max-width: 1110px;
    width: 100%;
}

#main-menu
{
    float: right;
}

#menu-icon {
    display: none;
}

#contentTop {
    display: none;
}

#innerContainer {
    background-color: #fff;
    position: relative;
}

/*** Content ***/
#wrap {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 25px 0 25px;
    overflow: hidden;
}

#content {
    overflow: hidden;
    position: relative;
    text-align: left;
    padding: 50px 0 25px 0;
}

/*-------------- Footer-Navigation -------------------------------------------------*/
#footer {
    background-color: #222;
    /* Used for the sticky footer */
    flex: none;
    z-index: 2;
    margin-top: 100px;
}

#footerColorMarker {
    background: linear-gradient(to right, #e63227, #000);
    height: 15px;
}


#footerWrap {
    max-width: 1060px;
    margin: 0 auto;
    position: relative;
    text-align: left;
    padding: 0 25px 0 25px;
}

#footerContent {
    overflow: hidden;
    color: #fff;
    font-size: 18px;
    padding: 25px 0 0 0;
}

#footerContent a {
    color: #fff;
    text-decoration: none;
    font-weight: 300;
}

#footerContent a:hover {
    color: #e63227;
}

#footerContent a[href^="tel:"]:hover {
    color: #fff;
}

#footerContent .svg-inline--fa {
    margin-right: 5px;
    font-size: 20px;
}

#footerContent h3 {
    color: #fff;
    font-size: 19px;
    font-weight: 500;
}

#navigationFooter {
    display: none;
}


/* ------------  scroll-to-top  ----------------------- */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 45px;
    font-size: 65px;
    color: #e63227;
}

.scroll-to-top:hover {
    color: #878786;
}

#moveToContentContainer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
}

#moveToContentContainer a {
    background: url('../../layout/images/arrow-desktop.png') 0 0 no-repeat;
    height: 75px;
    width: 150px;
    display: block;
    text-indent: -9000px;
    margin: 0 auto;
    opacity: 0.8;
    -webkit-transition: all 0.5s; /* Safari */
    transition: all 0.5s;
}

 .scrolled  #moveToContentContainer a {
     display: none;
    }

#moveToContentContainer a:hover {
    opacity: 1;
}

.bottomVisible #moveToContentContainer a,
.sliderSmallerThanScreen #moveToContentContainer a {
    opacity: 0;
}

@media screen and (max-width: 1279px) {
    #headerContentIntro {
        background: linear-gradient(to right, #000, #000 330px, #fff 540px);
        width: 100%;
    }
}


/**************************************************************************************************************************/
@media screen and (max-width: 1023px) {
    #header {
        height: 77px;
    }

    #contentIntroWrap {
        margin-top: 77px;
    }

    #navigationWrapper {
        left: 0;
        position: fixed;
        right: 0;
        top: 0;
        padding: 0;
    }

    #headerWrap {
        padding-left: 15px;
    }

    #headerContentIntro {
        height: 20px;
        background: linear-gradient(to right, #000, #000 220px, #fff 550px);
        width: 100%;
    }

    #navigationLogo {
        margin: 20px 0 0 30px;
        height: 69px;
        width: 205px;
        z-index: 999;
    }

    #siteLogo > a {
        background: url('../../layout/images/logo_mobile.png') 0 0 no-repeat;
        height: 69px;
        width: 205px;
    }

    #navigationMain {
        float: none;
        z-index: 1;
        position: relative;
        top: 0;
    }

    #menu-icon {
        float: right;
        display: block;
        text-decoration: none;
        position: relative;
        margin: 17px 35px 0 0;
        font-size: 32px;
        color: #e63227;
    }

    #main-menu.hideNavigation {
        display: none;
    }

    #main-menu {
        top: 77px;
        float: none;
    }

    .showNavigation {
        display: inherit;
    }

    #navigationSubMain,
    #navigationSub {
        display: none;
    }

    #content {
        padding: 30px 0 20px 0;
    }

    #moveToContentContainer a {
        background: url('../../layout/images/arrow-mobile.png') 0 0 no-repeat;
        height: 55px;
        width: 109px;
        opacity: 1;
    }

    body {
        font-size: 17px;
    }

    h1 {
        font-size: 25px;
        margin-bottom: 20px;
    }

    h2 {
        font-size: 21px;
    }

    h3 {
        font-size: 18px;
    }

    h4 {
        font-size: 17px;
    }
}
/* end media query */


/************************************** RETINA **************************************************************/

@media screen and (max-width: 1023px) and (-webkit-min-device-pixel-ratio: 2), screen and (max-width: 1023px) and (min-resolution: 192dpi) {
    #siteLogo > a {
        background-image: url('../../layout/images/logo_mobile_retina.png');
        background-size: 205px 69px;
    }
}

@media screen and (max-width: 767px) {

    #headerContentIntro {
        height: 20px;
        background: linear-gradient(to right, #000, #000 225px, #fff 360px);
        width: 100%;
    }
}

    @media screen and (max-width: 500px) {

        /* Force table to not be like tables anymore */
        table, thead, tbody, th, td, tr {
            display: block;
            height: inherit !important;
        }

            /* Hide table headers (but not display: none;, for accessibility) */
            thead tr {
                position: absolute;
                top: -9999px;
                left: -9999px;
            }

        tr {
            margin-bottom: 10px;
        }

        td {
            /* Behave  like a "row" */
            border: none;
            position: relative;
            width: 100% !important;
        }

            td:before {
                /* Now like a table header */
                position: absolute;
                /* Top/left values mimic padding */
                top: 6px;
                left: 6px;
                width: 45%;
                padding-right: 10px;
                white-space: nowrap;
            }

        #content img {
            max-width: 100%;
            height: auto !important;
            float: none !important;
            display: block;
        }
    }


    /**************************************************************************************************************************/
    @media screen and (max-width: 380px) {

        #menu-icon {
            margin: 17px 15px 0 0;
        }
    }