/* ------------------------------ */
/* ------------------------------ */
/* Project: TCM Solutions
/* Author: Thomas Villain & Pierre Miguel
/* Version: 1.0
/* ------------------------------ */
/* ------------------------------ */

/*
	COLORS
	
	Orange		: #8a002c
	Red			: #a22
	Grey		: #555
	Dark Grey	: #3c3c3c
	Silver		: #b8b8b8

*/

/* ------------------------- */
/* = Basics
/* ------------------------- */

html, body, #wrapper, #container {
    width: 100%;
    height: 100%;
}

body {
    text-size-adjust: none;
}

#wrapper {
}

#container {
}

[class^=col-] {
}

/* @Note : gutters padding override */

.inner {
    position: relative;
    max-width: 960px;
    margin: 0 auto;
}

/* ------------------------- */
/* = Header
/* ------------------------- */

#site_head {
    position: relative;
    width: 100%;
    /*height: 150px;*/
    background: rgba(60, 60, 60, 0.85);
    z-index: 999;
}

#site_head h1 {
    margin: 15px 0 0 0;
    color: #fff;
    font-size: 4em;
    line-height: 1em;
}
#site_head h1 a {
    text-decoration: none;
}

#site_head .logo {
    margin: 10px 0;
    width: 120px;
}

.site-title, .site-desc {
    /*display: block;
    text-indent: 180%;
    white-space: nowrap;
    overflow: hidden;*/
}

.site-title {
    /*margin: 0 auto;
    width: 340px;
    height: 128px;
    background: url(img/sprite.svg) 0 -60px no-repeat;*/
}

.site-desc {
    color: #fff;
    line-height: 1em;
    margin-top: 10px;
}


/* ------------------------- */
/* = Typo
/* ------------------------- */

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    font-family: 'Bebas Neue', Helvetica, Verdana, Arial, sans-serif;
}

p, li, address, figcaption, label, input, small {
    font-family: 'Roboto-Regular', Helvetica, Verdana, Arial, sans-serif;
}

p b, p strong {
    font-family: 'Roboto-Regular', Helvetica, Verdana, Arial, sans-serif;
}

/* images */

figure {
}

figure img {
    width: 100%;
    height: auto;
}

a img {
    transition: opacity .2s ease-in-out;
}

a:hover img {
    opacity: .8;
}

h3 {
    line-height: 1em;
    margin: 20px 0;
    font-size: 2em;
    text-align: center;
}
h3:before {
    content: "\25B2";
    margin-right: 10px;
}

h3:after {
    content: "\25B2";
    margin-left: 10px;
}

h4 {
    text-align: center;

    color: #fff;
    margin: 5px 0;
}

p {
    font-size: 0.9em;
}

/* Forms */

/* Customs */

.formfield-radio input[type="radio"] + label:before,
.formfield-checkbox input[type="checkbox"] + label:before {
}

.formfield-radio input[type="radio"] + label:before {
}

.formfield-radio input[type="radio"]:checked + label:before {
}

.formfield-checkbox input[type="checkbox"] + label:before {
}

.formfield-checkbox input[type="checkbox"]:checked + label:before {
}

.formfield-select--container {
}

.formfield-select--container:after {
}

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    font-size: 1em;
    font-family: 'Bebas Neue', Helvetica, Verdana, Arial, sans-serif;
    background-color: #ba5543;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
}


#home_adr {
    background-color: #ba5543;
}

#home_adr h3, #home_adr h4, #home_adr p {
    color: #fff;
}

#home_michel {
    background-color: #fff;
}
#home_michel h3, #home_michel p {
    color: #8b002e;
}

#home_mission {
    background-color: #ba5543;
}
#home_mission h3, #home_mission p {
    color: #fff;
}

ul, ol {
    padding-left: 0;
}


#home_mission ul li {
    list-style: none;
    padding-left: 0.5em;
    color: #fff;
    text-align: center;
    font-size: 0.9em;
    line-height: 1.5em;
}
#home_mission ul li h4 {
    margin: 20px 0;
    font-family: 'Roboto-Regular', Helvetica, Verdana, Arial, sans-serif;
    text-transform: uppercase;
    border-top: 2px;
    border-style: dashed;
    padding: 10px 0 0px 0;
}
#home_reference {
    background-color: #fff;
}
#home_reference h3, #home_reference h4, #home_reference p {
    color: #8b002e;
}

#home_reference h4 {
    font-size: 1.7em;
}

#home_contact {
    background-color: #505050;
    text-align: center;
}
#home_contact h3, #home_contact h4, #home_contact p {
    color: #fff;
}




.home-form {
    margin: 30px 0;
}

.home-form label {
    color: #fff;
}

.home-form small {
    display: block;
    color: #fff;
}

.g-recaptcha > div > div {
    margin: 0 auto;
    margin-bottom: 15px;
    width: 302px;
    height: 76px;
    border-radius: 4px;
    border: #fff 2px solid;
}

/* ------------------------- */
/* = Content
/* ------------------------- */

#content {
}

#home_adr, #home_michel, #home_mission, #home_reference {
    text-align: center;
}

.section-title {
    color: #ba5543;
}

.section-title:before, .section-title:after {
    content: "";
    margin: 0 10px;
    display: inline-block;
    width: 42px;
    height: 11px;
    background: url(img/sprite.svg) -120px -45px no-repeat;
    vertical-align: middle;
}

#home_contact .section-title {
    color: #fff;
}

/*#home_contact .section-title:before, #home_contact .section-title:after {
    background-position: -170px -45px;
}*/

/* --- Slider + Home Blocks --- */

#home_slider {
    position: relative;
    /*height: 650px;*/
}

#darniau-slider {
    position: absolute;
}

#darniau-slider, .slider-item {
    height: 650px;
    width: 100%;
}

.slider-item {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

#home_blocks {
    padding-top: 0;
}

#home_blocks2, #home_blocks3 {
    padding-top: 10px;
}

.gamme-figure {
    width: 55px;
    display: inline-block;
}

.home-block {
    padding: 15px 25px;
    text-align: center;
    background: rgba(255, 255, 255, .85);
}

.home-block--title {
    max-width: 220px;
    margin: 0 auto;
    text-transform: uppercase;
    color: #ba5543;
    margin-bottom: 5px;
}

.home-block--caption {
    color: #666;
    line-height: 1.2;
    font-size: .95em;
    margin-bottom: 0;
}

.home-block--title:before {
    content: "";
    display: block;
    width: 36px;
    height: 36px;
    margin: 0 auto 10px auto;
    background: url(img/sprite.svg) -120px 0 no-repeat;
}

.home-block--title.block-fabrication:before {
    background-position: -156px 0;
}

.home-block--title.block-audit:before {
    background-position: -192px 0;
}


/* --- References --- */
.reference {
    display: block;
    padding: 40px 0;
    background: #3c3c3c;
    text-transform: uppercase;
    color: #fff;

}

/* --- Services --- */

.service-block {
    min-height: 200px;
    position: relative;

}
.service-block img {
    position: absolute;
    left: 50%;
    margin-left: -60px;
    margin-top: 10px;
}

.service-title {
    display: block;
    padding: 140px 0 0 0;
    background: #3c3c3c;
    text-transform: uppercase;
    color: #fff;
    text-align: center;
    min-height: 200px;
}

.service-title:before {
}

.service-title.service-formation:before {
    background-position: -264px 0;
}

.service-title.service-audit:before {
    background-position: -300px 0;
}

/* ------------------------- */
/* = Footer
/* ------------------------- */

#site_foot {
}

.darniau-address {
    color: #fff;
    font-style: normal;
    font-size: 1.2em;
}

.darniau-address strong {
    text-transform: uppercase;
    color: #ba5543;
}

.darniau-address em {
    font-style: normal;
    font-family: 'Roboto-Regular', Helvetica, Verdana, Arial, sans-serif;
}

/*
.footer-nav, .footer-copyright {
	display: inline-block; vertical-align: baseline;
}

.footer-menu {margin: 0;}
.footer-menu li {display: inline;}
*/

#map {
    padding: 0;
}

/* ------------------------- */
/* = Misc
/* ------------------------- */

.clearfix {
    clear: both;
    float: none;
}

.floatl {
    float: left;
}

.floatr {
    float: right;
}

.txtr {
    text-align: right;
}

.txtl {
    text-align: left;
}

.txtc {
    text-align: center;
}

/* ------------------------- */
/* = Fonts
/* ------------------------- */

@font-face {
	font-family: 'Bebas Neue Book';
	src: url('fonts/BebasNeueBook.eot');
	src: url('fonts/BebasNeueBook.eot?#iefix') format('embedded-opentype'),
		url('fonts/BebasNeueBook.woff') format('woff'),
		url('fonts/BebasNeueBook.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
	font-family: 'Bebas Neue';
	src: url('fonts/BebasNeue-Thin.eot');
	src: url('fonts/BebasNeue-Thin.eot?#iefix') format('embedded-opentype'),
		url('fonts/BebasNeue-Thin.woff') format('woff'),
		url('fonts/BebasNeue-Thin.ttf') format('truetype');
	font-weight: 100;
	font-style: normal;
}

@font-face {
	font-family: 'Bebas Neue';
	src: url('fonts/BebasNeueBold.eot');
	src: url('fonts/BebasNeueBold.eot?#iefix') format('embedded-opentype'),
		url('fonts/BebasNeueBold.woff') format('woff'),
		url('fonts/BebasNeueBold.ttf') format('truetype');
	font-weight: bold;
	font-style: normal;
}

@font-face {
	font-family: 'Bebas Neue';
	src: url('fonts/BebasNeueLight.eot');
	src: url('fonts/BebasNeueLight.eot?#iefix') format('embedded-opentype'),
		url('fonts/BebasNeueLight.woff') format('woff'),
		url('fonts/BebasNeueLight.ttf') format('truetype');
	font-weight: 300;
	font-style: normal;
}

@font-face {
	font-family: 'Bebas Neue';
	src: url('fonts/BebasNeueRegular.eot');
	src: url('fonts/BebasNeueRegular.eot?#iefix') format('embedded-opentype'),
		url('fonts/BebasNeueRegular.woff') format('woff'),
		url('fonts/BebasNeueRegular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face {
    font-family: 'Roboto-Regular';
    src: url("fonts/Roboto-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'Roboto-Italic';
    src: url("fonts/Roboto-Italic.woff") format("woff");
    font-weight: normal;
    font-style: normal
}

@font-face {
    font-family: 'Roboto-Bold';
    src: url("fonts/Roboto-Bold.woff") format("woff");
    font-weight: normal;
    font-style: normal
}


/* ------------------------- */
/* = Responsive elements
/* ------------------------- */

/* Wide screens */

@media only screen and (min-width: 1280px) {

}

/* Tablets portrait and less */

@media only screen and (max-width: 768px) {
    #site_head {
        position: relative;
    }

    #site_head .logo {
        width: 120px;
    }
    #site_head .desc {
        width: 75%;
    }
    #home_reference [class^=col-] {
        width:100%;
    }

    .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11 {
        width: 25%;
    }

    /* Hamburger Menu */
    /*
        #trigger {
            display: block; height: 30px; width: 30px;
            position: relative;
            text-indent: 60px; white-space: nowrap; overflow: hidden;
            cursor: pointer;
        }
        #trigger span {
            position: absolute; top: 12px; right: 0;
        }
        #trigger span, #trigger span:after, #trigger span:before {
            display: block;
            width: 30px; height: 6px;
            background-color: #000;
            transition: all .3s linear;
        }
        #trigger span:after, #trigger span:before {
            position: absolute;
            content: "";
        }
        #trigger span:after {bottom: -12px; left: 0;}
        #trigger span:before {top: -12px; left: 0;}

        #trigger.menu-opened span {background-color: transparent; height: 1px;}

        #trigger.menu-opened span:after {
            top: 0;
            -webkit-transform: rotate(45deg);
            transform: rotate(45deg);
            background-color: #c00;
        }
        #trigger.menu-opened span:before {
            top: 0;
            -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
            background-color: #c00;
        }

        .main-menu {
            display: none;
        }
    */
    #home_slider {
        height: auto;
    }

    #darniau-slider {
        position: relative;
        margin-bottom: 0;
    }

    #darniau-slider, .slider-item {
        height: 500px;
    }

    .slider-item {
        background-position: center top;
    }

    #home_blocks {
        padding-top: 0;
        margin-top: 0;
    }

    .home-block {
        border-bottom: #ccc 1px solid;
    }

    .home-block--title {
        max-width: none;
    }
}

/* Smartphones landscape and less */

@media only screen and (max-width: 480px) {

    #site_head {
        position: relative;
    }

    #site_head .logo {
        margin: 0;
    }

    #site_head h1 {
        margin: 0;
        font-size: 2em;
        height: auto;
    }

    .site-desc {
        margin-top: 0;
        font-size: 1em;
    }

    #darniau-slider, .slider-item {
        height: 400px;
    }

    #home_blocks {
        margin-top: 0;
    }

    .home-section {
        padding: 10px 0;
    }

    .section-title {
        color: #fff;
        background-color: #f9b759;
        padding: 10px;
        line-height: 1.2;
    }

    .section-title:before, .section-title:after {
        display: none;
    }

    #home_contact .section-title {
        background-color: transparent;
        padding: 0;
    }

}

/* Smartphones portrait */
@media only screen and (max-width: 360px) {

    #site_head {
        position: relative;
        /*height: 130px;*/
    }

    #darniau-slider, .slider-item {
        height: 250px;
    }

    .site-title {
        width: 300px;
        height: 118px;
        background-size: 441px 441px;
        background-position: 0 -50px;
    }
}

/* ------------------------- */
/* = Print with style
/* ------------------------- */
@media print {

}
