/*
Theme Name: Snel
Version: 0.1
Author: Renaud Devroye
Author URI: http://www.rench.be
Description: Snel v0.1
*/

/* fonts */

@font-face {
    font-family: "Avenir LT Std";
    src: url("fonts/AvenirLTStd-Book.woff2") format("woff2"), url("fonts/AvenirLTStd-Book.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: "Avenir LT Std";
    src: url("fonts/AvenirLTStd-Heavy.woff2") format("woff2"), url("fonts/AvenirLTStd-Heavy.woff") format("woff");
    font-weight: bold;
    font-style: normal;
}

/* html */

* {
    padding: 0;
    margin: 0;
    border: 0;
}
html {
    font-size: 100%;
}
body {
    background: #f4f1da;
    font: 11px Verdana, Arial, Helvetica, sans-serif;
    color: #666666;
}
a {
    color: #cc0000;
}
a:hover {
    text-decoration: none;
}
input:focus {
    outline-color: transparent;
    outline-style: none;
}
/* page */

#page {
    width: 1000px;
    margin: 10px auto;
    background: #ffffff;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    border: 1px solid #ffffff;
}

/* header */

#header {
    height: 100px;
    padding: 10px;
    border-bottom: 1px solid #ffffff;
}
#header ul {
    display: table;
    float: right;
    margin: 10px;
}
#header ul li {
    display: table-cell;
    padding: 0 5px;
    border-right: 1px solid #cc0000;
}
#header ul li:last-child {
    border-right: 0;
    padding-right: 0;
}
#header ul li a {
    color: #666666;
}
#header ul li a em {
    font-style: normal;
    color: #cc0000;
}
#header img {
    height: 100%;
}

/* main-menu */

#main-menu {
    border-bottom: 1px solid #ffffff;
    padding-left: 220px;
    background: #f1f1f1;
}
#main-menu ul {
    display: table;
}
#main-menu li {
    display: table-cell;
    text-align: center;
    border-left: 1px solid #ffffff;
    text-transform: uppercase;
    font-size: 12px;
    line-height: 25px;
    width: 129px;
}
#main-menu li a {
    display: block;
    text-decoration: none;
    color: #ffffff;
    background: #cc6666;
    transition: 0.5s;
}
#main-menu li a:hover {
    background: #cc0000;
}
#main-menu li#menu-item-251 a {
    background: #bfd09e;
}
#main-menu li#menu-item-251 a:hover {
    background: #94b15e;
}
#main-menu li#menu-item-248 a {
    background: #dadf92;
}
#main-menu li#menu-item-248 a:hover {
    background: #c2c949;
}
#main-menu li#menu-item-249 a {
    background: #f9ea88;
}
#main-menu li#menu-item-249 a:hover {
    background: #f5dc38;
}
#main-menu li#menu-item-250 a {
    background: #bcba93;
}
#main-menu li#menu-item-250 a:hover {
    background: #8f8c4b;
}
#main-menu li#menu-item-252 a {
    background: #e49494;
}
#main-menu li#menu-item-252 a:hover {
    background: #d24d4d;
}
#main-menu li#menu-item-247 a {
    background: #ab6685;
}
#main-menu li#menu-item-247 a:hover {
    background: #730034;
}
#main-menu li.current_page_item > a, #main-menu ul li.current-page-ancestor > a {
    font-weight: bold;
}

/* container */

#container {
    display: table;
    padding-bottom: 11px;
    background: url("images/container_background.png") left bottom repeat-x;
    width: 100%;
    height: 485px;
}
#container > div {
    display: table-cell;
    padding: 10px 10px 20px;
    vertical-align: top;
}

/* secondary-menu */

#secondary-menu {
    width: 200px;
    border-right: 1px solid #ffffff;
}

/* Promo */

#secondary-menu a.esnel, #secondary-menu a.jdc, #secondary-menu a.historien {
    position: relative;
    display: block;
    margin-bottom: 10px;
    width: 200px;
    height: 150px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    transition: 0.5s;
}
#secondary-menu a.esnel:hover, #secondary-menu a.jdc:hover, #secondary-menu a.historien:hover {
    box-shadow: 0 0 1px rgba(0,0,0,0.5);
}
#secondary-menu a.jdc div, #secondary-menu a.historien div {
    padding: 10px;
    width: 180px;
    height: 130px;
    text-align: center;
    font-size: 17px;
    color: #666666;
}
#secondary-menu a.jdc div {
    background: url("images/enseignement_background.jpg") center/100% no-repeat #f1f1f1;
}
#secondary-menu a.historien div {
    background: url("images/historien_background.jpg") center/100% no-repeat #ffffff;
    font-size: 0;
}
#secondary-menu a.jdc div:after, #secondary-menu a.historien div:after {
    position: absolute;
    width: 200px;
    bottom: 10px;
    left: 0;
    font-size: 13px;
    font-weight: bold;
    content: "En savoir plus";
}
#secondary-menu a.esnel div.banner {
    width: 600px;
    animation-name: anim;
    animation-duration: 20s;
    animation-iteration-count: infinite;
    transform: translateX(-200px);
    background: #fafafa;
}
@keyframes anim {
	16% {
		transform: translateX(-200px);
		background: #fafafa;
	}
	17% {
		transform: translateX(-400px);
		background: #434364;
	}
	49% {
		transform: translateX(-400px);
		background: #434364;
	}
	50% {
		transform: translateX(-200px);
		background: #fafafa;
	}
	66% {
		transform: translateX(-200px);
		background: #fafafa;
	}
	67% {
		transform: translateX(0);
		background: #00bcd4;
	}
	99% {
		transform: translateX(0);
		background: #00bcd4;
	}
}
#secondary-menu a.esnel div.banner div {
    display: table-cell;
    width: 200px;
    height: 150px;
    vertical-align: middle;
    font-family: "Avenir LT Std", sans-serif;
    font-size: 0;
    color: #ffffff;
    text-align: center;
    text-shadow: 0 0 5px rgba(0,0,0,0.5);
}
#secondary-menu a.esnel div.banner div.one {
    font-size: 19px;
    line-height: 24px;
}
#secondary-menu a.esnel div.banner div.two {
    background: url(images/esnel_background.png) center/100% no-repeat;
}
#secondary-menu a.esnel div.banner div.tree {
    font-size: 19px;
    line-height: 30px;
}
#secondary-menu a.esnel div.banner div.one:after, #secondary-menu a.esnel div.banner div.tree:after {
    display: block;
    font-size: 13px;
    content: "www.esnel.be";
}
#secondary-menu ul {
    list-style: none;
    margin-bottom: 10px;
}
#secondary-menu li {
    line-height: 25px;
    border-bottom: 1px solid #cccccc;
}
#secondary-menu li a {
    text-decoration: none;
    color: #666666;
}
#secondary-menu li a:hover {
    color: #cc0000;
}
#secondary-menu li.current_page_item > a {
    font-weight: bold;
}
#secondary-menu ul.children {
    margin-bottom: 0;
    border-left: 1px solid #cccccc;
    padding-left: 10px;
}
#secondary-menu ul.children li {
    margin-left: -10px;
    padding-left: 10px;
    border-bottom: 0;
}

/* content */

#content {
    background: #f1f1f1;
}
#content h1 {
    font-size: 14px;
    font-weight: bold;
    margin: 14px 0;
}
#content h1 span {
    font-weight: normal;
}
#content h2 {
    font-size: 13px;
    font-weight: bold;
    margin: 13px 0;
}
#content h3 {
    font-size: 12px;
    font-weight: bold;
    margin: 12px 0;
}
#content p {
    margin: 11px 0;
}
#content p.paypal {
    margin: 0 -10px;
    padding: 11px;
    background: rgba(0,0,0,0.05);
    text-align: center;
}
#content ol, #content ul {
    padding-left: 20px;
}
#content ul {
    list-style: disc;
    margin: 11px 0;
}
#content li {
    margin-bottom: 3px;
}
#content li:last-child {
    margin-bottom: 0;
}

/* wpcf7 */

.wpcf7 input[type=email], .wpcf7 input[type=text], .wpcf7 input[type=file] {
    background: #ffffff;
    padding: 5px;
    font-size: 14px;
    width: 357px;
    color: #333333;
    border: 1px solid #ffffff;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.5) inset;
    transition: 0.5s;
}
.wpcf7 input[type=email]:disabled, .wpcf7 input[type=text]:disabled, .wpcf7 input[type=file]:disabled {
    background: transparent;
}
.wpcf7 input[type=email]:focus, .wpcf7 input[type=text]:focus {
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5) inset;
}
.wpcf7 input[type=submit] {
    padding: 5px;
    background-color: #cc0000;
    color: #ffffff;
    font-weight: bold;
    font-size: 14px;
    border-radius: 3px;
    cursor: pointer;
}
.wpcf7 input.wpcf7-not-valid {
    border-color: #cc0000;
}
.wpcf7 span.wpcf7-not-valid-tip {
    color: #cc0000;
    font-size: 11px;
}
.wpcf7 div.wpcf7-response-output {
    background-color: transparent;
    padding: 5px;
    margin: 11px 0;
    color: #cc0000;
    border: 2px solid #cc0000;
    font-weight: bold;
}

/* footer */

#footer {
    width: 1000px;
    margin: 10px auto;
}
#footer ul {
    display: table;
}
#footer ul li {
    display: table-cell;
    padding: 0 5px;
    border-left: 1px solid #cc0000;
}
#footer ul li:first-child {
    border-left: 0;
    padding-left: 0;
}
#footer ul li a {
    color: #666666;
}

/* article */

.article {
    border-bottom: 1px solid #ffffff;
    margin: 0 0 20px;
    padding: 0 0 10px;
}
.article:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}
.article hr {
    clear: both;
}
.article iframe {
    margin: 11px 0;
}
.article img.alignleft {
    float: left;
    margin: 0 10px 10px 0;
}
.article img.alignright {
    float: right;
    margin: 0 0 10px 10px;
}

/* banner */

#banner {
    width: 369px;
    background: top/100% no-repeat;
    border-left: 1px solid #ffffff;
}
#banner.ID_30 {
    background-image: url("images/banner_brochures_background.jpg");
}
#banner.ID_19 {
    background-image: url("images/banner_cartonne_background.jpg");
}
#banner.ID_22 {
    background-image: url("images/banner_depliant_background.jpg");
}
#banner.ID_28 {
    background-image: url("images/banner_insert_background.jpg");
}
#banner.ID_24 {
    background-image: url("images/banner_integra_background.jpg");
}
#banner.ID_26 {
    background-image: url("images/banner_magazine_background.jpg");
}
