
/* ########## Ajouts de polices ########## */

@import url(http://fonts.googleapis.com/css?family=Lato:300,400,700);

/* ########## Base du CSS ########## */

body {
	margin: 0;
	padding: 0;
	background: #F0F2F2;
    font-family: 'Lato', Calibri, Arial, sans-serif;
}

p, h1 {
    margin: 0;
    padding: 0;
}

.small {
    display: inline;
}

.smallAndMedium {
    display: inline;
}

.medium {
    display: none;
}

.mediumAndLarge {
    display: none;
}

.large {
    display: none;
}

/* ########## HEADER ########## */

header {
	width: 100%;
	height: 80px;
	background: #F0F2F2;
    position: fixed;
    top: 0;
    z-index: 1000;
    border-top: 0px;
    border-bottom: 5px solid;
    -webkit-border-image: -webkit-linear-gradient(top, #404dbe, #4552cb) 51% 1;
}

header h1 {
	float: left;
}

header nav {
	float: right;
	margin-top: 12px;
}

header nav.large ul {
    position: relative;
}

header nav li {
	display: inline;
	list-style-type: none;
    margin-left: 20px;
    margin-right: 20px;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    color: #2D3E4E;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    cursor: pointer;
}

header nav span {
    margin-top: 12px;
    margin-left: 35px;
    width: 100px;
    height: 30px;
    background: -webkit-linear-gradient(#4552cb, #404dbe);
    background: -o-linear-gradient(#4552cb, #404dbe);
    background: -moz-linear-gradient(#4552cb, #404dbe);
    background: linear-gradient(#4552cb, #404dbe);
    position: absolute;
    border-radius: 7px;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

#menuButton {
    float: right;
}

/* ########## MENU SLIDE ########## */

.menuSlide {
    background: #3c4abc;
    position: fixed;
    width: 241px;
    height: 100%;
    margin-top: 0px;
    z-index: 1000;
    right: -240px;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    -webkit-transform: translate3d(0,0,0);
}

.menuSlide h3 {
    color: #6e7ef7;
    font-size: 1.9em;
    padding: 22px;
    margin: 0;
    font-weight: 300;
    background: #34409d;
}

.menuSlide ul {
    -webkit-padding-start: 0 !important;
    margin-top: 0px;
    width: 100%;
}

.menuSlide li {
    display: block;
    color: #fff;
    font-size: 1.1em;
    font-weight: 300;
    border-bottom: 1px solid #6e7ef7;
    padding-top: 1em;
    padding-left: 1em;
    padding-bottom: 1em;
    margin-left: 0px;
    margin-right: 0px;
}

.menuSlide li:hover {
    background: #6e7ef7;
}

.menuSlide-open {
    right: 0px;
}

/* ########## BANNER ########## */

#banner {
    width: 100%;
    height: 300px;
    background: url('../images/banner.jpg') center center no-repeat #2E3887;
    color: #FFFFFF;
    text-align: center;
    margin-top: 80px;
}

#centerBanner {
    width: 90%;
    height: 300px;
    position: absolute;
    left: 50%;
    margin-left: -45%;
    margin-top: 20px;
}

#centerBanner p {
    font-style: italic;
    font-weight: 300;
}

#centerBanner strong {
    font-style: normal;
    font-weight: bold;
}

/* ########## PORTFOLIO ########## */

.container { 
    position: relative;
    width: 90%;
    margin: 0 auto; 
    -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease;
}

#portfolioTitle {
    color: #4552cb;
    text-align: center;
    margin-top: 50px;
}
 
#filters {
    margin: 1%;
    margin-top: 4%;
    padding: 0;
    list-style: none;
}

#filters span {
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

#filters li {
    text-align: center;
}

#filters li span {
    display: block;
    padding: 5px 20px;       
    text-decoration: none;
    color: #666;
    cursor: pointer;
}

#activeBackFolio {
    position: absolute;
    z-index: -1;
    width: 100%;
    height: 30px;
    background: -webkit-linear-gradient(#4552cb, #404dbe);
    background: -o-linear-gradient(#4552cb, #404dbe);
    background: -moz-linear-gradient(#4552cb, #404dbe);
    background: linear-gradient(#4552cb, #404dbe);
    border-radius: 7px;
}
 
#portfolioList {
    position: absolute;
    margin-top: 50px;
}

#portfolioList .portfolio {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    width:100%;
    margin:1%;
    display:none;
    float:left;
    overflow:hidden;
}

.portfolio-wrapper {
    overflow:hidden;
    position: relative !important;
    cursor:pointer;
}

.portfolio img {
    max-width:100%;
    position: relative;
}

.portfolio .label {
    position: absolute;
    width: 100%;
    height:40px;
    bottom:-40px;
}

.portfolio .label-bg {
    background: -webkit-linear-gradient(#4552cb, #404dbe);
    background: -o-linear-gradient(#4552cb, #404dbe);
    background: -moz-linear-gradient(#4552cb, #404dbe);
    background: linear-gradient(#4552cb, #404dbe);
    width: 100%;
    height:100%;
    position: absolute;
    top:0;
    left:0;
}

.portfolio .label-text {
    color:#fff;
    position: relative;
    z-index:500;
    padding:5px 8px;
}
    
.portfolio .text-category {
    display:block;
    font-size:9px;
}

/* ########## SERVICE ########## */

#service {
    width: 100%;
    background: url('../images/pattern.jpg');
    color: #FFFFFF;
    text-align: center;
    /* margin-top in portfolio.js */
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

#serviceTitle {
    padding: 50px;
}

#serviceList {
    width: 90%;
    margin: auto;
    margin-top: -30px;
}

.serviceWrapper {
    float: left;
    width: 100%;
    margin: 1%;
    height: 450px;
    border: 2px solid white;
    border-radius: 7px;
}

.serviceWrapper li {
    width: 80%;
    margin: auto;
}

.iconService {
    margin-top: 25px;
    width: 32px;
    height: 32px;
}

.serviceWrapper p {
    margin: auto;
    width: 80%;
}

.listService {
    font-weight: 300;
    text-align: left;
    margin-left: -20px;
    width: 90%;
}

.listService li {
    list-style-type: none;
    background-image: url('../images/check.png');
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 20px;
}

/* ########## CONTACT ########## */

#contact {
    width: 100%;
    background: #F0F2F2;
    color: #4552cb;
    text-align: center;
    /* margin-top in portfolio.js */
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

#contactTitle {
    padding-top: 30px;
    padding-bottom: 20px;
}

#contentContact {
    width: 80%;
    margin: auto;
    margin-bottom: 30px;
    color: #34495e;
}

#formContact {
    width: 90%;
    margin: auto;
}

input[type=radio] {
    visibility: hidden;
}

label.radio {
    cursor: pointer;
    text-indent: 35px;
    overflow: visible;
    display: inline-block;
    position: relative;
    margin-bottom: 15px;
}

label.radio:before {
    background: #4552cb;
    content:'';
    position: absolute;
    top:2px;
    left: 0;
    width: 20px;
    height: 20px;
    border-radius: 100%;
}

label.radio:after {
    opacity: 0;
    content: '';
    position: absolute;
    width: 0.5em;
    height: 0.25em;
    background: transparent;
    top: 7.5px;
    left: 4.5px;
    border: 3px solid #ffffff;
    border-top: none;
    border-right: none;
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
}

input[type=radio]:checked + label:after {
    opacity: 1;
}

input[type=text] {
    width: 200px; 
    height: 45px; 
    -webkit-border-radius: 0px 4px 4px 0px/5px 5px 4px 4px; 
    -moz-border-radius: 0px 4px 4px 0px/0px 0px 4px 4px; 
    border-radius: 0px 4px 4px 0px/5px 5px 4px 4px; 
    background-color: #fff; 
    -webkit-box-shadow: 1px 2px 5px rgba(0,0,0,.09); 
    -moz-box-shadow: 1px 2px 5px rgba(0,0,0,.09); 
    box-shadow: 1px 2px 5px rgba(0,0,0,.09); 
    border: solid 1px #cbc9c9;
    margin-left: -5px;
    margin-top: 19px;
    padding-left: 10px;
    padding-top: 0px;
    padding-bottom: 1px;
    vertical-align: super;
}

textarea {
    width: 200px;
    height: 130px;
    -webkit-border-radius: 0px 4px 4px 0px/5px 5px 4px 4px; 
    -moz-border-radius: 0px 4px 4px 0px/0px 0px 4px 4px; 
    border-radius: 0px 4px 4px 0px/5px 5px 4px 4px; 
    background-color: #fff; 
    -webkit-box-shadow: 1px 2px 5px rgba(0,0,0,.09); 
    -moz-box-shadow: 1px 2px 5px rgba(0,0,0,.09); 
    box-shadow: 1px 2px 5px rgba(0,0,0,.09); 
    border: solid 1px #cbc9c9;
    margin-left: -5px;
    margin-top: 19px;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 0px;
    line-height: 10px;
    resize: none;
    font-family: 'Lato', Calibri, Arial, sans-serif;
}

input:focus, input:active, textarea:focus, textarea:active {
    outline: none;
}

.icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: #4552cb;
    padding: 3px 10px 14px 10px;
    margin-right: 2px;
    -webkit-border-radius: 4px 0px 0px 4px; 
    -moz-border-radius: 4px 0px 0px 4px; 
    border-radius: 4px 0px 0px 4px;
    color: white;
    -webkit-box-shadow: 1px 2px 5px rgba(0,0,0,.09);
    -moz-box-shadow: 1px 2px 5px rgba(0,0,0,.09); 
    box-shadow: 1px 2px 5px rgba(0,0,0,.09); 
    border: solid 0px #cbc9c9;
}

.iconTextarea {
    display: inline-block;
    width: 30px;
    height: 30px;
    background-color: #4552cb;
    padding: 112px 10px 0px 10px;
    margin-right: 2px;
    -webkit-border-radius: 4px 0px 0px 4px; 
    -moz-border-radius: 4px 0px 0px 4px; 
    border-radius: 4px 0px 0px 4px;
    color: white;
    -webkit-box-shadow: 1px 2px 5px rgba(0,0,0,.09);
    -moz-box-shadow: 1px 2px 5px rgba(0,0,0,.09); 
    box-shadow: 1px 2px 5px rgba(0,0,0,.09); 
    border: solid 0px #cbc9c9;
}

.icon img, .iconTextarea img {
    width: 20px;
    height: 30px;
}

.iconTextarea img {
    position: absolute;
    margin-top: -110px;
    margin-left: -10px;
}

span.button {
    color: white;
    display: inline-block;
    text-decoration: none;
    padding-top: 12px;
    width: 260px;
    height: 30px; 
    -webkit-border-radius: 5px; 
    -moz-border-radius: 5px; 
    border-radius: 5px; 
    background-color: #4552cb; 
    -webkit-box-shadow: 0 3px rgba(58,87,175,.75); 
    -moz-box-shadow: 0 3px rgba(58,87,175,.75); 
    box-shadow: 0 3px rgba(58,87,175,.75);
    transition: all 0.1s linear 0s; 
    top: 20px;
    position: relative;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

span.button:hover {
    top: 23px;
    background-color:#2e458b;
    -webkit-box-shadow: none; 
    -moz-box-shadow: none; 
    box-shadow: none;
}

.warning::-webkit-input-placeholder { /* WebKit browsers */
    color: #e74c3c;
}

.warning:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color: #e74c3c;
    opacity:  1;
}

.warning::-moz-placeholder { /* Mozilla Firefox 19+ */
    color: #e74c3c;
    opacity:  1;
}

.warning:-ms-input-placeholder { /* Internet Explorer 10+ */
    color: #e74c3c;
}

#shadow {
    position: absolute;
    width: 100%;
    height: 200%;
    background: #000;
    z-index: 10000;
    opacity:0.7;
    filter: alpha(opacity=70);
    display: none;
}

#wellSend {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -60px;
    margin-left: -145px;
    display: none;
    z-index: 10001;
    -webkit-transition: 0.5s;
    -moz-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
}

#wellSend p {
    color: white;
    background: #4552cb;
    border-radius: 7px;
    padding: 10px 30px 10px 30px;
}

#spinner {
    position: absolute;
    margin-top: 40px;
    margin-left: 142px;
}

/* ########## FOOTER ########## */
footer {
    width: 100%;
    height: 40px;
    background-color: #2D3E4E;
    color: white;
    font-size: 14px;
    font-weight: 300;
    text-align: center;
    padding-top: 19px;
}

@media screen and (min-width: 300px) {
    
    /* ########## SERVICE ########## */

    .serviceWrapper {
        height: 380px;
    }

}