/*
Theme Name: SAS Mecajet
Author: Double-y
Version: 1.0
*/

html {font-size:62.5%;}
#all {width:100%;max-width:1920px;min-width:300px;margin:0 auto;}
.inside, .homme ul, #homenews ul, #wysija-2, #breadcrumbs, #news {width:100%;max-width:1000px;min-width:300px;margin:0 auto;background:white;position:relative;}
body {background:white;padding:0;margin:0;cursor:default;}
h1, .homme h2 {color:#0051a0;font:normal 35px CenturyGothic-Bold;font-size:3.5rem;text-align:center;text-transform:uppercase;margin:40px 0;}
.inside h2 {color:#d20019;font:normal 25px CenturyGothic-Bold;font-size:2.5rem;text-transform:uppercase;}
header {background:url('images/header.jpg')repeat-y;}
header img {display:block;}
header .logo {position:relative;max-width:500px;}
header .logo a.certifs {position:absolute;top:53%;left:40%;width:58%;height:34.48%;display:block;}
header .logo img {width:100%;height:auto;}
header img.ligne {position:absolute;right:0;top:0;}
header img.piece {position:absolute;right:90px;top:0;z-index:20;}
header #lgs {z-index:30;text-align:right;position:absolute;right:35px;top:25px;color:#0051a0;font:normal 13px CenturyGothic-Bold;font-size:1.3rem;text-transform:uppercase;}
header #lgs a {display:inline-block;margin-left:8px;}
#site-header-menu, #site-header-menu .inside {background:#d00018;z-index:30;}
#site-header-menu ul {margin:0;padding:0;list-style:none;text-align:center;font-size:0;}
#site-header-menu ul li {display:inline-block;position:relative;vertical-align:top;}
#site-header-menu ul li a {padding:10px 20px;display:block;position:relative;font:normal 17px CenturyGothic-Bold;font-size:1.7rem;color:white;text-decoration:none;text-transform:uppercase;}
#site-header-menu ul li.current-menu-item a, #site-header-menu ul li a:hover {background:#0051a0;}
#site-header-menu ul li ul {display:none;position:absolute;z-index:9999;background:#0051a0;text-align:left;padding:7px 0;}
#site-header-menu ul li ul li a {padding:7px 18px;width:230px;font:normal 14px CenturyGothic-Bold;font-size:1.4rem;}
#site-header-menu ul li ul li a:hover {background:#d00018;}
.bloc {background:#f7f7f7;color:#404040;font-size:0;margin:15px 0;}
.bloc h2 {color:black;font:normal 18px CenturyGothic-Bold;font-size:1.8rem;text-transform:uppercase;}
.bloc .text {display:inline-block;vertical-align:top;width:46%;padding:0 2%;font:normal 14px CenturyGothic-Regular;font-size:1.4rem;}
.bloc .text strong {color:#0051a0;}
.bloc .text p {margin:10px 0;}
.bloc .text a {color:#404040;}
.bloc .text a:hover {text-decoration:none;}
.bloc .text a.blue, .col a.blue {display:inline-block;color:white;text-decoration:none;background:#0051a0;padding:5px 15px;margin-right:10px;}
.bloc .text a.blue:hover, .col a.blue:hover {background:#d00018;}
.bloc .illu {display:inline-block;vertical-align:top;width:50%;position:relative;}
.bloc .illu img {width:100%;height:auto;}
.homme .menu-sous-traitance-fr-container, .homme .menu-sous-traitance-en-container, .homme .menu-sous-traitance-de-container {overflow:hidden;background:url('images/vitruve.jpg') no-repeat center center;font-size:0;}
.homme h2 {margin:20px 0;}
.homme ul {background:none;margin:0px auto;text-align:center;list-style:none;padding:25px 0;}
.homme ul li {display:inline-block;width:50%;vertical-align:top;text-align:left;}
.homme ul li:nth-child(even) {text-align:right;}
.homme ul li a, #sidebarleft ul li a {color:white;text-decoration:none;text-align:center;display:inline-block;margin-top:17px;margin-bottom:17px;width:300px;padding:10px 0;font:normal 15px CenturyGothic-Bold;font-size:1.5rem;text-transform:uppercase;box-shadow:0 5px 6px #380603;}
#sidebarleft ul li a {margin-top:8px;margin-bottom:8px;width:100%;}
.homme ul li:nth-child(1) a, #sidebarleft ul li:nth-child(1) a {background:#f7c588;}
.homme ul li:nth-child(2) a, #sidebarleft ul li:nth-child(2) a {background:#f29400;}
.homme ul li:nth-child(3) a, #sidebarleft ul li:nth-child(3) a {background:#7a9e21;}
.homme ul li:nth-child(4) a, #sidebarleft ul li:nth-child(4) a {background:#9b141e;}
.homme ul li:nth-child(5) a, #sidebarleft ul li:nth-child(5) a {background:#9e7743;}
.homme ul li:nth-child(6) a, #sidebarleft ul li:nth-child(6) a {background:#5a5099;}
.homme ul li:nth-child(7) a, #sidebarleft ul li:nth-child(7) a {background:#1885a9;}
.homme ul li:nth-child(8) a, #sidebarleft ul li:nth-child(8) a {background:#08696c;}
.homme ul li:nth-child(9) a, #sidebarleft ul li:nth-child(9) a {background:#fecc00;}
.homme ul li:nth-child(10) a, #sidebarleft ul li:nth-child(10) a {background:#e2007a;}
.homme ul li:nth-child(11) a, #sidebarleft ul li:nth-child(11) a {background:#d71820;}
.homme ul li:nth-child(12) a, #sidebarleft ul li:nth-child(12) a {background:#8a2bb6;}
.homme ul li a:hover {background:#0051a0;box-shadow:none;}
#sidebarleft ul li a:hover, #sidebarleft ul li.current_page_item a {background:#e9e9e9;color:#0051a0;box-shadow:none;}
#sidebarleft ul li.current_page_item a {cursor:default;}
.citation {margin:30px 0;text-align:center;font:normal 17px CenturyGothic-Regular;font-size:1.7rem;color:#404040;padding:0 4%;}
.citation .name {font:normal 16px CenturyGothic-Regular;font-size:1.6rem;color:#0051a0;font-style:italic;}
#homenews {margin-top:60px;padding-bottom:25px;overflow:hidden;background:url('images/homenews.jpg') no-repeat center top;font-size:0;}
#homenews p {color:white;font-size:12px;text-align:center;}
#homenews p.wysija-paragraph {margin:0;}
#homenews h2 {color:white;font:normal 35px CenturyGothic-Bold;font-size:3.5rem;text-align:center;text-transform:uppercase;}
#homenews ul {margin:0 auto 20px auto;padding:0;list-style:none;background:none;text-align:center;}
#homenews ul li {text-align:left;background:white;font:normal 14px CenturyGothic-Regular;font-size:1.4rem;width:45%;display:inline-block;vertical-align:top;overflow:hidden;padding:0.5%;margin:0 2%;}
#homenews ul li img {float:left;margin-right:2%;}
#homenews ul li a, .post a {text-decoration:none;color:black;}
#homenews ul li a h3, .post h3 {font:normal 19px CenturyGothic-Bold;font-size:1.9rem;text-transform:uppercase;}
#homenews ul li a.red, a.retour, .post a.savoir {color:white;background:#d20019;padding:5px 15px;display:inline-block;}
#homenews ul li a.red:hover, a.retour:hover, .post a.savoir:hover {background:#0051a0;}
#wysija-2 {background:none;text-align:center;}
#homenews #wysija-2 h2 {padding:10px 40px;font:normal 16px CenturyGothic-Bold;font-size:1.6rem;color:black;background:white;display:inline-block;vertical-align:top;}
.widget_wysija_cont {display:inline-block;vertical-align:top;margin:13px 0 0 15px;}
.widget_wysija_cont input[type="text"] {width:300px;text-align:left;text-transform:uppercase;padding:10px;font:normal 16px CenturyGothic-Bold;font-size:1.6rem;color:black;background:white;border:none;}
.widget_wysija_cont p {margin-right:15px;}
.widget_wysija_cont p, .widget_wysija_cont input[type="submit"] {display:inline-block;vertical-align:top;}
.widget_wysija_cont input[type="submit"] {background:#d20019;color:white;border:none;cursor:pointer;padding:10px 35px;font:normal 16px CenturyGothic-Bold;font-size:1.6rem;}
.widget_wysija_cont input[type="submit"]:hover {color:#d20019;background:white;}
.widget_wysija_cont .wysija-submit {margin:0;}
#bande {height:8px;background:#d00018;}
#bottom {margin:30px 0;text-align:center;color:#404040;font:normal 13px CenturyGothic-Regular;font-size:1.3rem;}
#bottom a {color:#404040;}
#bottom a:hover {text-decoration:none;}
#contenu {overflow:hidden;font:normal 15px CenturyGothic-Regular;font-size:1.5rem;color:#404040;}
#sidebarleft {width:100%;text-align:center;margin-bottom:20px;}
#sidebarleft h2 {color:#d00018;font:normal 20px CenturyGothic-Bold;font-size:2.0rem;text-transform:uppercase;margin-top:0;}
#sidebarleft h2 a {color: white;text-decoration: none;cursor: pointer;background: #0051a0;padding: 10px 25px;display: inline-block;}
#sidebarleft h2 a:hover {background:#d00018;}
#sidebarleft ul {margin:0;padding:0;list-style:none;}
#sidebar {display:none;}
.formulaire {text-align:center;font:normal 16px CenturyGothic-Bold;font-size:1.6rem;color:#0051a0;}
.formulaire .oblig {color:#d20019;font:normal 13px CenturyGothic-Regular;font-size:1.3rem;}
.formulaire input[type="text"], .formulaire input[type="email"] {width:50%;height:30px;padding:0 5px;line-height:30px;}
.formulaire textarea {width:50%;height:120px;padding:5px;}
.formulaire input[type="submit"] {text-transform:uppercase;background:#d20019;color:white;border:none;cursor:pointer;padding:10px 35px;font:normal 16px CenturyGothic-Bold;font-size:1.6rem;}
.formulaire input[type="submit"]:hover {background:#0051a0;}
.formulaire a {color:#0051a0;}
.blocleft, .blocright {width:49%;display:inline-block;vertical-align:top;}
#breadcrumbs {color:#0051a0;font:normal 12px CenturyGothic-Regular;font-size:1.2rem;margin-top:15px;}
#breadcrumbs a {color:#0051a0;}
#breadcrumbs a:hover {text-decoration:none;}
.col {width:100%;}
#news, #error {font:normal 14px CenturyGothic-Regular;font-size:1.4rem;color:#404040;}
.imagenews {text-align:center;}
.imagenews img {width:100%;height:auto;max-width:400px;}
a.retour {margin-bottom:15px;}
.newsindex {text-align:center;padding-bottom:30px;}
.post {background:#f7f7f7;width:280px;display:inline-block;vertical-align:top;padding:5px;margin:5px;}
.aligncenter, div.aligncenter {display: block;margin: 5px auto 5px auto;}
.alignright {float:right;margin: 5px 0 20px 20px;}
.alignleft {float: left;margin: 5px 20px 20px 0;}
.bloc .gmapsiframe {width:100%;height:276px;} 
.gmapsiframe iframe {width:100%;height:100%;}
.location  {width:100%;height:400px;}

@media screen and (max-width: 900px)
{
   header img.piece {position:absolute;right:85px;top:50px;z-index:20;width:300px;} 
}

@media screen and (max-width: 800px)
{
   
    .slicknav_menu {font-family:CenturyGothic-Bold;position:relative;z-index:10;}
}

@media screen and (max-width: 800px)
{
    header img.piece {display:none;}   
}

@media screen and (max-width: 767px)
{

    .bloc .text, .bloc .illu {display:block;width:96%;padding:2%;}
    #homenews ul li {width:80%;display:block;padding:0.5%;margin:2% auto;}
    #breadcrumbs {text-align:center;}
}

@media screen and (max-width: 650px)
{
    .inside {position:inherit;}
    header .logo {width:100%;height:auto;max-width:inherit;}
    header img.ligne {top:54px;z-index:5;}
    header #lgs {position:absolute;top:15px;left:0;right:inherit;}
    header #lgs p {display:none;}
    .formulaire input[type="text"], .formulaire input[type="email"] {width:80%;height:30px;padding:0 5px;line-height:30px;}
    .formulaire textarea {width:80%;height:120px;padding:5px;}
    .blocleft, .blocright {width:100%;display:block;}
}

@media screen and (max-width: 600px)
{
    .homme ul li {display:block;width:100%;vertical-align:top;text-align:center;}
    .homme ul li:nth-child(even) {text-align:center;}
}

@media screen and (max-width: 500px)
{
    #homenews {background:url('images/homenews.jpg') no-repeat center top;background-size:cover;}
    #homenews ul li {text-align:center;}
    #homenews ul li img {float:inherit;margin-right:0;}
    .widget_wysija_cont {margin:13px 0 0 0;}
    .widget_wysija_cont p {margin-right:0;}
}