body {
    font-family: "Raleway", sans-serif;;
    font-weight: 400;
    font-size: 14px;
    line-height: 21px;
}

b, strong {
    font-weight: bold;
}

h1 {
    font-weight: 700;
    font-size: 28px;
    margin-bottom: 30px;
}

h3 {
    margin-top: 25px;
    font-size: 22px;
    font-weight: 500;
}

a { color: #be3c27; }
a:hover { color: #7f281a; }


header .row {
    margin: 0;
}

.container {
    /*max-width: 960px;*/
}

.slogan {
    color: #fff;
    padding: 15px 20px 10px 0px;
    font-size: 24px;
    font-weight: 300;
    line-height: 1.2;
}

#home-banner {
    background-color: #be3c27;
    margin: 0 0 30px 0;
}
#home-banner-alt {
    background-color: #be3c27;
    margin: 0 0 30px 0;
    padding: 0 15px;
}

@media (min-width: 992px) {
    #home-banner { display: flex; }
    #home-banner-alt { display: none; }
}
@media (max-width: 991px) {
    #home-banner { display: none; }
    #home-banner-alt { display: block; }
}


#signalisation-wrapper{
    text-align: right;
    font-size: 1.3em;
    padding-top: 1.2em;
}

#signalisation-left{
    font-weight: bold;
}

#signalisation-right{
    
}


/* --- Menu --- */
/* The menu is built up as a nav-tag (access) and inside a div-tag (menu) */

div.menu { height: 87px; }
#access {
    /*background: #cbcbd5;*/
    display: block;
}
#access .menu-header,
div.menu {
    font-size: 16px;
    font-weight: 700;
    font-family: 'BenchNine', sans-serif;
    margin-left: 0;
    float: right;
}
#access .menu-header ul,
div.menu ul {
    margin: 0;
    list-style: none;
}
#access .menu-header li,
div.menu li {
    float: left;
    position: relative;
    margin: 0px;
}
#access a {
    /*color: #172983;*/
    color: black;
    display: block;
    line-height: 28px;
    margin-top: 0px;
    /*padding: 52px 15px 5px 15px;*/
    padding: 52px 6px 5px 6px;
    text-decoration: none;
}
#access ul ul {
    box-shadow: 0px 5px 5px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 5px 5px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0px 5px 5px rgba(0,0,0,0.2);
    background-color: #eaeaea;
    font-weight: normal;
    margin: 36px 0;
    padding: 0;
    display: none;
    position: absolute;
    top: 32px;
    left: 0;
    float: left;
    width: 180px;
    z-index: 99999;
}
#access ul ul li {
    min-width: 180px;
}
#access ul ul ul {
    left: 100%;
    top: 0;
}
#access ul ul a {
    color: black;
    font-size: 14px;
    padding: 5px 10px 5px 10px;
    line-height: 16px;
    width: 160px;
    height: auto;
    text-align: left;
}
#access li:hover > a {
    color: #000;
    background-color: #ccc;
}
#access ul li:hover > ul {
    display: block;
}


#access ul li.current_page_item > a,
#access ul li.current-menu-ancestor > a,
#access ul li.current-menu-item > a,
#access ul li.current-menu-parent > a {
    /*background-color: #49579e;*/
    border-bottom: 2px solid #be3c27;
    color: #000;
    /*font-weight: bold;*/
}

#access ul.children li.current_page_item > a {
    background-color: #fff;
    border-bottom: none;
}
#access ul.children li.current_page_item > a:hover {
    background-color: #ccc;
}


.sidemenu li.active {
    font-weight: bold;
}
.sidemenu p {
    font-weight: bold;
}

@media (min-width: 768px) {
    #access .menu { display: block; }
    .alt-menu     { display: none; }
    #menu {
        height: 87px;
        background: url('../images/signaxis_logo_small.png') no-repeat #f0f0f0;
        background-position: 10px 40px; 
        text-align: right;
        margin-bottom: 3em;
    }
}
@media (max-width: 767px) {

    header {
        margin-bottom: 20px;
    }

    #access .menu { display: none; }

    #menu {
        height: 60px;
        margin-bottom: 0;
        background: url('../images/signaxis_logo_small.png') no-repeat #f0f0f0;
        background-position: 50% 20px; 
    }

    .alt-menu{
        display: block;
        background-color: #f0f0f0;
        font-size: 16px;
        font-weight: 700;
        font-family: 'BenchNine', sans-serif;
        text-align: center;
        margin-bottom: 10px;
        padding-top: 5px;
    }

    .alt-menu ul {
        margin: 0;
        list-style: none;
    }

    .alt-menu li {
        display: inline-block;
        padding: 3px 7px 3px 7px;
        margin-top: 2px;
    }

    .alt-menu li:hover {
        background-color: #ccc;
    }

    .alt-menu li.current_page_item {
        border-bottom: 2px solid #be3c27;
    }

    .alt-menu li a {
        color: #000;
    }

    .alt-menu li a:hover {
        text-decoration: none;
    }

    .col-right {
        margin-top: 30px;
    }

}


footer {
    margin-bottom: 20px;
}

#footer,#footer-alt{
    margin-top:4em;
    margin-bottom: 10px;
    background-image: url('../images/footer.png');
    background-size: 100% 100%;
    width: 100%;
    height: 116px;
}
#footer-alt { 
    background-image: url('../images/footer-600px.png');
}

@media (min-width: 768px) {
    #footer { display: block; }
    #footer-alt { display: none; }
}
@media (max-width: 767px) {
    #footer { display: none; }
    #footer-alt { display: block; }
}



#footer-address{
    color: #be3c27;
    text-align: center;
}

#footer-address a:link, #footer-address a:visited, #footer-address a:hover  {
    color: #be3c27;
}
 

#contact-form{
    margin-top:4em;
}




#login {
    display: inline;
    float: right; 
    font-size: 9px;
    margin-right: -15px;
}

#login > a {
    /*color: #ccc;*/
}


label {
    display: block;
    font-weight: bold;
    margin: 10px 0 5px 0;
}

textarea {
    width: 90%;
    height: 150px;
}

textarea.html {
    height: 250px;
}


.main-content img {
    max-width: 100%;
}

.main-content td {
    vertical-align: top;
    padding-right: 25px;
    padding-bottom: 15px;
}

.main-content td ul {
    padding-left: 15px;
}


.carousel-item {
    overflow: hidden;
    height: 130px;
}

.carousel-item img {
    min-width: 100%;
    min-height: 130px;
    vertical-align: middle;
}

.popover {
    z-index: 99999;
}
