﻿@import url("reset.css");
@import url(http://fonts.googleapis.com/css?family=Roboto:400,100,300,700);

/* ***************************** Initial Setup*/

html, body, form {
    height: 100%;
}

#page-outer {
    display: table;
    height: 100%;
    width: 100%;
}


#footer {
    display: table-row;
    height: 1px;
} 



/* ***************************** Main CSS */

body {
    font-family:'Roboto', sans-serif;
    font-weight:300;
    text-rendering:geometricPrecision;
    background-image:url("../image/debut_light.png");
    letter-spacing: 1px;
}

#container {
    width:100%;   
    border-bottom: 8px solid #d82031;
}

#header, #body, #footer {
    width:inherit;
    min-width:1200px;
}

a {
    text-decoration:none;
}

p {
    padding-bottom:5px;
}

h1 {
    margin-bottom:20px;
    font-size:1.4em;
}

h2 {
    font-size:1.2em;
    margin-bottom:20px;
}

.clear {
    clear:both;
}

/* ***************************** Header */

#header {
    background-color:white;
    height:180px;
    border-bottom:10px solid #d82031;
    background-image:url("../image/header_bg.jpg");
    background-repeat:no-repeat;
    background-position:center;
}

.header-content {
    width:1100px;
    margin:0 auto;
}

#logo {
    float:left;
    margin-top:20px;
}

    #logo img {
        width:340px;
    }

#mobile-nav {
    display: none;
}

#nav-container {
    float:right;
    height:180px;
}

.nav-active {
    background-color:#d82031;
}

    .nav-active a {
        background-color:#d82031 !important;
        background:#d82031 !important;
        color:white !important;
        border-left:1px solid #a71523 !important;
border-right:1px solid #a71523 !important;
    }

    .nav-active a :hover {
        background-color:#d82031 !important;
        background:#d82031 !important;
        color:white !important;
    }

    .nav-active ul li:hover a {
        background-color:#f14555 !important;
        background:#f14555 !important;
        color:white !important;
    }


#navMobile {
    display:none;
}

#nav{
    margin-top:100px;
    height:80px;
    background-color:#e9f0f6;
    list-style:none;
    margin-bottom:10px;
    float:left;
    width:100%;
}

#nav li{
    float:left;
    position:relative;
}

#nav a{
    font-size:1em;
    color:#4a4e53;
    line-height:80px;
    display:block;
    padding:0 25px;
    text-decoration:none;

  
}

#nav a:hover{
    background-color:#d0dae5;
    overflow:hidden;

   
}

.menu-header {
    font-weight:bold;
}

#nav ul{
    list-style:none;
    position:absolute;
    left:-9999px; 
}

#nav ul li{
    float:none;
    z-index:100;
}

#nav ul li a{
    border-top: 1px solid #dde6ef;
border-bottom: 1px solid #c3cad4;
border-right: 1px solid #B4BBC5;
    border-left: 1px solid #B4BBC5;
    font-size:0.9em;
}

#nav ul a{
    white-space:nowrap; 
    line-height:40px;
}
#nav li:hover ul{ 
    left:0; 
}
#nav li:hover a{ 
    background-color:#d0dae5;
}
#nav li:hover ul a{ 
    text-decoration:none;
}
#nav li:hover ul li a:hover{ 
    background:#e9f0f6;
}
.nav-active ul{ 
    background-color:#d0dae5 !important;
}

.nav-active ul li a{
    border-top: 1px solid #ef3345 !important;
border-bottom: 1px solid #a71523 !important;
border-left:1px solid #a71523 !important;
border-right:1px solid #a71523 !important;
}

.sub-menu a {
    padding-left:40px !important;
}

#header-info {
    background-color:#74797c;
    line-height:2.6em;
}

    #header-info h1 {
        font-size: 0.9em;
        font-weight:800;
        color:white;
        float:left;
        margin:0;
    }

    #header-info p {
        font-size: 1.2em;
        font-weight:600;
        color:white;
        float:right;
        padding:0;
    }

/* ***************************** Body */

.content {
    width:1100px;
    margin:0 auto;
    font-family:'Roboto', sans-serif;
    padding:20px 0;
}

    .content p {
        font-size:1em;
        margin-bottom:10px;
    }

#content-right {
    float:right;
    width:270px;
}

.content-right-section {
    margin-bottom:20px;
    background-color:white;
    border:thin solid #ddd;
    position:relative;
}

#search-bar {
    border:1px solid #ccc;
    height:30px;
    border-radius:5px;
    overflow:hidden;
    margin-bottom:20px;
    background-color:white;
}

.search-box {
    padding:5px;
    margin:0;
    width:228px;
    border:none;
    float:left;
    outline:none;
    line-height:20px;
    background-image:url("../image/search-watermark.png");
    background-repeat:no-repeat;
    background-position:0px 5px;
}

.search-focused {
    background-position:9999px;
}

.search-button {
    float: right;
    margin:0;
    height:30px;
    width:30px;
    border:none;
    background-color:#d82031;
    background-image:url("../image/search-icon.png");
    background-repeat:no-repeat;
    background-position:center;
    border-left:1px solid #ccc;
}

#content-left {
    float:left;
    width:760px;
}

.content-full {
    background-color:white;
    padding:20px;
    border:thin solid #ddd;
    margin-top:20px;
}

.main-content-section {
    background-color:white;
    border:1px solid #ddd;
    padding:10px;
    margin-bottom:20px;
}

    .main-content-section h2 {
        font-size:1.2em;
        font-weight:500;
        margin-top:10px;
    }

    .main-content-section p {
        line-height:1.5em;
    }

.main-content-title {
    color:black;
    margin:0;
    font-size:1.2em;
    font-weight:500;
}

.image-overlay {
    padding:0 10px;
    height:40px;
    line-height:40px;
    background-color:rgba(48, 48, 48, 0.70);
    color:white;
    position:absolute;
    bottom:0;
    left:5px;
    right:5px;
    font-size:1em;
}

    
    .image-overlay a {
        color:white;
    }

/* ***************************** Footer */

#footer {
    background-color:#282b2e;
    color:#808080;
    padding:30px 0;
    font-size:0.8em;
    
}

    #footer h3 {
        font-size:1.2em;
        margin-bottom:10px;
    }

    #footer p {
        margin-bottom:0;
        font-weight:300 !important;
        line-height:1.1em;
    }


    #footer a {
        color:#9a9a9a;
        text-decoration:underline;
    }


    #footer ul {
        list-style:none;
    }

        #footer ul li {
            display:inline-block;
            margin-right:120px;
            vertical-align:top;
        }

#footer-left {
    float:left;
}

#footer-right {
    float:right;
}

#footer-bottom {
    background-color: #CDCFD6;
    font-size: 0.8em;
    
}

.footer-content {
    text-align:center;
    padding:10px 0 0;
    color: rgb(32, 32, 32);
    border-top: 2px solid #d82031;
}

    .footer-content p {
        line-height:1.4em;
        
    }

    .footer-content a {
        color: rgb(182, 0, 0);
    }


/* ####################### PRODUCTS #######################*/

.product {
    background-color:white;
    border:1px solid #ddd;
    padding:10px;

    text-align:center;
    float:left;
    margin:0 10px 10px 10px;
}

    .product img {
        width:230px;
    }

#productFooter {
    margin-bottom:20px;
}

/* ####################### CONTACT #######################*/

#contact-left {
    width:450px;
    float:left;
    border:thin solid #ccc;
}

#contact-right {
    width:240px;
    float:right;
    margin-right:10px;
}

#form-container p {
    margin:0;
    padding:0;
}

.form-error {
    color:red;
    font-size:0.7em !important;
    margin-bottom:5px !important;
}

#form-container input[type=text] {

    width:240px;
    padding:7px 5px;
    border-radius:3px;
    border:1px solid #bbb;
    outline:none;
    background-position-x:-5px;
    background-position-y:center;
    background-repeat:no-repeat;
}

    

#form-container textarea {
    margin:0;
    width:240px;
    max-width:240px;
    padding:7px 5px;
    min-height:64px;
    border-radius:3px;
    border:1px solid #bbb;
    outline:none;
    background-position-x:-5px;
    background-position-y:0;
    background-repeat:no-repeat;
}

    #form-container input[type=text]:focus {
        border-color:#f14555;
        box-shadow: 0 0 4px #d82031;
        background-position-x:-9999px;
    }

#form-container textarea:focus {
    border-color: #f14555;
    box-shadow: 0 0 4px #d82031;
    background-position-x:-9999px;
}

#form-container input[type=submit] {
    margin:0;
    padding:0;
    width:254px;
    height:40px;
    float:right;
    margin-right:-13px;
    background-color:#eb2a3c;
    color:white;
    font-size:1em;
    border:1px solid #97121f;
    outline:none;
    border-radius:3px;
}

    #form-container input[type=submit]:hover {
        border:thin solid #97121f;
        background-color:#d82031;
    }

    #form-container input[type=submit]:active {
        position:relative;
        top:1px;
    }

#MainContent_contactName {
    background-image:url(../image/contact-name.png);
}

#MainContent_contactEmail {
    background-image:url(../image/contact-email.png);
}

#MainContent_contactPhone {
    background-image:url(../image/contact-phone.png);
}

#MainContent_contactAddress {
    background-image:url(../image/contact-address.png);
}

#MainContent_contactMessage {
    background-image:url(../image/contact-message.png);
}

.box-focused {
    background-position-x:-9999px !important;
}

.box-valid:focus {
    border-color: #a3e416 !important;
    box-shadow: 0 0 4px #c2fb47!important;
}

.message-sent {
    border:thin solid #a3e416 !important;
    background-color:#c2fb47 !important;
    color:green !important;
}

.message-sent:hover {
    border:thin solid #a3e416 !important;
    background-color:#c2fb47 !important;
}

.contact-details {
    padding:20px 0 0 40px;
    font-weight:bold;
}
    .contact-details div {
        padding-left: 40px;
        width: 210px;
        background-color: #eb2a3c !important;
        color: white;
        font-size: 1em;
        border: 1px solid #97121f;
        border-radius:4px;
    }

        .contact-details div p {
           padding: 10px 0 8px;
            margin: 0;
        }
            
            .contact-details div p a {
                color:white;
            }

    .contact-details .phone {
        background:url(../image/icon-phone.png) 5px 50% no-repeat;
        margin-bottom:20px
    }

    .contact-details .email {
        background:url(../image/icon-email.png) 4px 50% no-repeat;
    }

    .content-right-section img {
        width: 258px;
    }

#contact-left iframe {
    width:450px;
    height:420px;
}

#mobile-search {
    display: none;
}

#backToTop {
    width: 45px;
    height: 45px;
    position: fixed;
    right: 10px;
    top: 50px;

    background-image: url(../image/backToTop.png);
    background-position:center;
    background-repeat: no-repeat;

}

    #mobile-details {
        text-align:right;
        padding: 5px 20px 0;
        color: white;
        text-shadow: black 2px 2px 2px;
        font-weight: 500;
        display:none;
        background: rgba(0,0,0,0.4);
    }

        #mobile-details a {
            color:white;
            text-decoration:none;
        }

        #mobile-details .small {
            font-size:0.9em;
        }

@media screen and (min-width:800px) and (max-width:1099px) {
    body,html,#header-info {
        width: 100%;
    }
    #header, #body, #footer {
        min-width:100%;
        max-width:100%;
        width:100%;
    }

    #header {
        height: auto;
    }
    
    .header-content {
        width: 100%;
    }

    #header-info .header-content {
        width:100%;
        padding:0 20px;
        box-sizing:border-box;
    }

    #logo {
        margin:0 auto;
        float:none;
        text-align:center;
    }

        #logo img {
            margin:10px 0;
            width:340px;
        }

    #body {
            padding: 0 20px;
        box-sizing: border-box;
    }

    #mobile-search {
        display: block;
        border: 1px solid #ccc;
        height: 30px;
        border-radius: 5px;
        overflow: hidden;
        margin-bottom: 20px;
        background-color: white;
    }

    #MainContent_mobsearchBox {
        width:80%;
    }

    .content {
        width: 100%;
    }

    #content-left {
        width: auto;
        margin-right:0;
    }

    #content-right {
        width:0px;
        display:none;
    }

    .content-right-section img {
        width: 100% !important;
    }

    .content-full img {
        width: 100%;
    }

    #nav-container {
        height: auto;
        float:none;
    }
    #nav {
        width: 100%;
        height: 50px;
        margin-top: 0px;
        margin-bottom: 0;
        float: right;
        
    }

    #nav > li > a {
        height:50px;
        line-height:50px;
    }

    .flex-viewport img {
        width:inherit;
    }

    #footer .content {
        padding:40px 20px 20px 20px;
        box-sizing:border-box;
    }

    #footer ul li {
        margin-right: 50px;

    }

    .product {
        width: 31%;
        box-sizing: border-box;
        margin: 0 8px 8px 8px;
    }

    .product img {
        width:100%;
    }

    #contact-left {
    width:auto;
    float:none;
    border:thin solid #ccc;
}

    #contact-right {
        width:auto;
        float:none;
        margin:20px 0 0 0;
    }

    #contact-left iframe {
        width:100%;
        height:420px;
    }

    #form-container input[type=text], #form-container textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    #form-container input[type=submit] {
        float:none;
        width:100%;
        margin-right:0;
    }
}

@media screen and (min-width:660px) and (max-width:799px) {
    body,html,#header-info {
        width: 100%;
    }
    #header, #body, #footer {
        min-width:100%;
        max-width:100%;
        width:100%;
    }

    #header {
        height: auto;
    }
    
    .header-content {
        width: 100%;
    }

    #header-info .header-content {
        width:100%;
        padding:0 20px;
        box-sizing:border-box;
    }

     #logo {
        margin:0 auto;
        float:none;
        text-align:center;
    }

        #logo img {
            margin:10px 0;
            width:340px;
        }


    #body {
            padding: 0 20px;
        box-sizing: border-box;
    }

    #mobile-search {
        display: block;
        border: 1px solid #ccc;
        height: 30px;
        border-radius: 5px;
        overflow: hidden;
        margin-bottom: 20px;
        background-color: white;
    }

    #MainContent_mobsearchBox {
        width:80%;
    }

    .content {
        width: 100%;
    }

    #content-left {
        width: auto;
        margin-right:0px;
    }

    #content-right {
        width:0px;
        display:none;
    }

    .content-right-section img {
        width: 100% !important;
    }

    .content-full img {
        width: 100%;
    }

    #nav-container {
        height: auto;
        float:none;
    }
    #nav {
        width: 100%;
        height: 50px;
        margin-top: 0px;
        margin-bottom: 0;
        float: right;
        
    }

    #nav > li > a {
        height:50px;
        line-height:50px;
    }

    .flex-viewport img {
        width:inherit;
    }

    #footer .content {
        padding:40px 20px 20px 20px;
        box-sizing:border-box;
    }

     #footer ul li {
        margin-right: 50px;

    }

    #footer-right {
        display:none;
    }

    .product {
        width: 47%;
        box-sizing: border-box;
        margin: 0 8px 8px 8px;
    }

    .product img {
        width:100%;
    }
    
     #contact-left {
    width:auto;
    float:none;
    border:thin solid #ccc;
}

    #contact-right {
        width:auto;
        float:none;
        margin:20px 0 0 0;
    }

    #contact-left iframe {
        width:100%;
        height:420px;
    }

    #form-container input[type=text], #form-container textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    #form-container input[type=submit] {
        float:none;
        width:100%;
        margin-right:0;
    }
}

@media screen and (min-width:461px) and (max-width:659px) {
    body,html,#header-info {
        width: 100%;
    }
    #header, #body, #footer {
        min-width:100%;
        max-width:100%;
        width:100%;
    }

    #header {
        height: auto;
    }
    
    .header-content {
        width: 100%;
    }

    #header-info .header-content {
        width:100%;
        padding:0 20px;
        box-sizing:border-box;
    }

    #mobile-details {
        display:block;
    }

     #logo {
        margin:0 auto;
        float:none;
        text-align:center;
    }

        #logo img {
            width:300px;
            margin:10px 0;
        }


    #body {
            padding: 0 20px;
        box-sizing: border-box;
    }

    #mobile-search {
        display: block;
        border: 1px solid #ccc;
        height: 30px;
        border-radius: 5px;
        overflow: hidden;
        margin-bottom: 20px;
        background-color: white;
    }

    #MainContent_mobsearchBox {
        width:80%;
    }

    .content {
        width: 100%;
    }

    #content-left {
        width: auto;
        margin-right:0px;
    }

    #content-right {
        width:0px;
        display:none;
    }

    .content-right-section img {
        width: 100% !important;
    }

    .content-full img {
        width: 100%;
    }

    

    #nav > li > a {
        height:50px;
        line-height:50px;
    }

    .flex-viewport img {
        width:inherit;
    }

    #footer .content {
        padding:40px 20px 20px 20px;
        box-sizing:border-box;
    }

    #footer ul li {
        margin-right: 40px;

    }
    #footer-right {
        display:none;
    }

    .product {
        width: 46%;
        box-sizing: border-box;
        margin: 0 8px 8px 8px;
    }

    .product img {
        width:100%;
    }
    
     #contact-left {
    width:auto;
    float:none;
    border:thin solid #ccc;
}

    #contact-right {
        width:auto;
        float:none;
        margin:20px 0 0 0;
    }

    #contact-left iframe {
        width:100%;
        height:420px;
    }

    #form-container input[type=text], #form-container textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    #form-container input[type=submit] {
        float:none;
        width:100%;
        margin-right:0;
    }

    #header-info {
        display:none;
    }

    
   
}

@media screen and (max-width:460px) {
    body,html,#header-info {
        width: 100%;
    }
    #header, #body, #footer {
        min-width:100%;
        max-width:100%;
        width:100%;
    }

    #header {
        height: auto;
    }
    
    .header-content {
        width: 100%;
    }

    #header-info .header-content {
        width:100%;
        padding:0 20px;
        box-sizing:border-box;
    }

    #mobile-details {
        display:block;
    }

    #logo {
        margin:0 auto;
        float:none;
        text-align:center;
    }

        #logo img {
            width: 70%;
            margin: 15px 0;
        }

    #body {
            padding: 0 20px;
        box-sizing: border-box;
    }

    .content {
        width: 100%;
    }

    #content-left {
        width: auto;
        margin-right:0px;
        display:none;
    }

    #content-right {
        width:100%;
        display:block;
    }

    .content-right-section img {
        width: 100% !important;
    }

    .content-full img {
        width: 100%;
    }

    

    #nav > li > a {
        height:50px;
        line-height:50px;
    }

    .flex-viewport img {
        width:inherit;
    }

    #footer .content {
        padding:40px 20px 20px 20px;
        box-sizing:border-box;
    }

    #footer ul li {
        margin-right: 0;
        width: 100%;
        margin-bottom: 20px;

    }
    #footer-right {
        display:none;
    }

    .product {
        width: 100%;
        box-sizing: border-box;
        margin: 0 0 8px 0;
    }

    .product img {
        width:100%;
    }
    
     #contact-left {
    width:auto;
    float:none;
    border:thin solid #ccc;
}

    #contact-right {
        width:auto;
        float:none;
        margin:20px 0 0 0;
    }

    #contact-left iframe {
        width:100%;
        height:250px;
    }

    .contact-details {
        padding:0;
    }

    #form-container input[type=text], #form-container textarea {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    #form-container input[type=submit] {
        float:none;
        width:100%;
        margin-right:0;
    }

    #header-info {
        display:none;
    }

    #nav > li > a {
        width: 70px !important;
    }
   
    .footer-content p {
        padding: 0 30px 5px;
    }

    .contact-details div {
        width: auto;
    }

    .content-full {
        display:none;
    }
}

@media screen and (max-width:1099px) {
    body {
        letter-spacing: normal;
    }

     #mobile-nav {
        display: block;
        height: 36px;
        background: #d82031 url(../image/mobile-menu-button.png) 5px 50% no-repeat;
        border-bottom: 1px solid #B61F2D;
    }

        #mobile-nav p {
            color: white;
            font-weight: normal;
            line-height: 40px;
            margin-left: 46px;
            font-size: 1.3em;
        }

    #nav-container {
        height: auto;
        float:none;
    }
    #nav {
        display: none;
    }

    #navMobile {
        display:block;
        background: #DAE1F0;
        color:black;
        z-index:100;
        
    }


    #header {
        background-position:top center;
        background-size: 165%;
        border-bottom: 10px solid #a71523;
        border-top: 5px solid #d82031;
    }

    #navMobile > li {
        border-bottom:1px solid #CFD5E2;
    }

    #navMobile ul > li {
        border-top: 1px solid #CFD5E2;
    }

    #navMobile a {
        color:black;
    }

    .menu-parent {
        background-image:url(../image/menu-parent-2.png);
        background-position:right top;
        background-repeat:no-repeat;
    }

    .menu-parent-collapsed {
        background-image:url(../image/menu-parent-up-2.png);
    }

    .menu-parent p {
        padding:15px 20px;
    }

    .menu-parent ul {
        background:#DFE5F6;
        border-left: 3px solid #d82031;

        overflow:hidden;
    }


    .menu-parent li a {
        padding: 15px 40px;
        width:100%;
        box-sizing:border-box;
        display:block;
        font-size: 0.9em;
    }

    #navMobile > li > a {
        padding:15px 20px;
        width:100%;
        box-sizing:border-box;
        display:block;
    }


    #backToTop {
        right: 10px;
        bottom: 10px;
        top:auto;
    }
}