/*
Merlin - Responsive One Page Template
Version: 1.0
By: Hasan Alibegic, hasan461@gmail.com
License: Apache License v2.0
*/

html {
    font-size: 16px;
}

body {
    font-family: "Source Sans Pro", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 300;
    letter-spacing: -.02rem;
}

*,
*:focus {
    outline: none !important;
}

a {
    color: #AE0061;
    cursor: pointer;
}

a:hover,
a:focus {
    color: #AE0061;
    text-decoration: none;
}

.hiding {
    opacity: 0;
}

.showing {
    opacity: 1;
}

.img-rounded {
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
}
.video {
	text-align: center;
	margin-left:auto;
	margin-right:auto;
	margin-top:5px;
	margin-bottom:5px;
}
.btn {
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    transition: all .2s;
}

.btn-blue {
    color: #fff;
    background: #AE0061;
}

.btn-blue:hover,
.btn-blue:focus {
    color: #fff;
    background: #AE0061;
}

.btn-green {
    color: #fff;
    background: #AEA100;
}

.btn-green:hover,
.btn-green:focus {
    color: #fff;
    background: #AE0061;
}

.btn-dark {
    color: #fff;
    background: #AE0061;
	text-align:right;
}

.btn-dark:hover,
.btn-dark:focus {
    color: #fff;
    background: #AE0061;
}

.list-inline-item:not(:last-child) {
    margin-right: 1rem;
}

.loader {
    position: fixed;
    z-index: 999;
    width: 100%;
    height: 100%;
    background: #fff;
}

.loading {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4rem;
    height: 4rem;
    margin: -2rem 0 0 -2rem;
    text-indent: -9999rem;
    border-radius: 50%;
    background: #AE0061;
    background: -moz-linear-gradient(left, #AE0061 10%, rgba(35,59,111, 0) 42%);
    background: -webkit-linear-gradient(left, #AE0061 10%, rgba(35,59,111, 0) 42%);
    background: -o-linear-gradient(left, #AE0061 10%, rgba(35,59,111, 0) 42%);
    background: -ms-linear-gradient(left, #AE0061 10%, rgba(35,59,111, 0) 42%);
    background: linear-gradient(to right, #AE0061 10%, rgba(35,59,111, 0) 42%);
    -webkit-animation: loading 1s infinite linear;
    animation: loading 1s infinite linear;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
}

.loading:before {
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 50%;
    content: "";
    background: #AE0061;
    border-radius: 100% 0 0 0;
}

.loading:after {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    width: 94%;
    height: 94%;
    content: "";
    background: #fff;
    border-radius: 50%;
}

.navbar-light {
    margin-bottom: 0;
    background: #fff;
    -webkit-box-shadow: 0 0 2px 0 rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 0 2px 0 rgba(0, 0, 0, .2);
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, .2);
}

.navbar-light .navbar-brand {
    font-weight: bold;
    color: #666;
    text-transform: uppercase;
}

.navbar-light .navbar-nav .nav-link {
    font-weight: bold;
    text-transform: uppercase;
}

.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .active > .nav-link:hover,
.navbar-light .navbar-nav .active > .nav-link:focus {
    color: #AE0061;
    background: transparent;
}

.navbar-light .navbar-toggler {
    border-color: transparent;
}

.navbar-light.fixed {
    position: fixed;
    top: 0;
    z-index: 99;
    width: 100%;
    border-bottom-color: transparent;
}

.page {
    position: relative;
    overflow: hidden;
}

.page .content {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.page .content.cover {
    margin-top: 8rem;
    margin-bottom: 8rem;
}

.page .border {
    width: 6rem;
    height: 2px;
    margin-left: auto;
    margin-right: auto;
    background: #AEA100;
}

.page.overlay:after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: "";
    background: rgba(0, 0, 0, 0.2);
}

.page.overlay .content {
    position: relative;
    z-index: 1;
}

#home {
    padding: 0;
    color: #fff;
    background-image: url(../img/cover/home.png);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

#home h1 {
    font-size: 4rem;
    line-height: 1;
}
.titre {
    font-size: 5rem;
    line-height: 1;
    font-weight: bold;
    text-shadow: 2px 2px#AE0061;
}

#services {
      padding-top: 45px;
}  
      #services .heading {
        margin-bottom: 3rem;
    }
#services .vignette  {
    font-family: "Source Sans Pro", sans-serif;
        color: #fff;
        font-weight: bold;
    }
    #services .violette {
        background-color:#AE0061;
        color: #fff;
        border-style: solid;
   border-width:0.5rem;
      }
     
      #services .verte {
        background-color:#AEA100;
        color: #fff;
        border-style: solid;
   border-width:0.5rem;
      }
     
      #services .bleu{
        background-color:#00A6AE;
        color: #fff;
        border-style: solid;
   border-width:0.5rem;
      }
     
      #services .grise{
        background-color:#585858;
        color: #fff;
        border-style: solid;
   border-width:0.5rem;
      }
     


#services .service i {
	color:#fff;
    margin-top: 4rem;
}
#services a {
	color:#fff;
    margin-top: 4rem;
}

#services .service:hover i {
    color: #fff;
}

#work .heading p {
    margin-bottom: 4rem;
}

#portfolio {
    width: 100%;
}


#portfolio .filters {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

#portfolio .filters li a {
    color: #999;
    font-weight: bold;
    text-transform: uppercase;
}

#portfolio .filters li a:hover,
#portfolio .filters li a:focus {
    color: #333;
}

#portfolio .filters li a.active {
    color: #227fe8;
}

#portfolio .items li {
    position: relative;
    float: left;
    width: 100%;
    overflow: hidden;
}

#portfolio .items li a img {
    width: 100%;
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
}

#portfolio .items li a .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    background: rgba(0, 0, 0, .6);
    -webkit-transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    transition: all .3s ease-in-out;
    opacity: 0;
	
}

#portfolio .items li a .overlay span {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    color: #fff;
   
}

#portfolio .items li a:hover .overlay {
    opacity: 1;
	
}

#portfolio .items li a:hover img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}
#portfolio .vignette  {
font-family: "Source Sans Pro", sans-serif;
   border-bottom-color:white;
   border-style: solid;
   border-width:0.5rem;
   position: absolute;
   top: 0;left: 0;
   width: 100%;
   height: 100%;
   color: #fff;
   padding-top: 45px;
   font-weight: bold;
}
#portfolio .violette {
    background-color:#AE0061;
  }
  #portfolio .verte {
    background-color:#AEA100;
  }
    #portfolio .bleu{
    background-color:#00A6AE;
  }
    #portfolio .grise{
    background-color:#585858;
  }
#clients {
    color: #fff;
    background: #AE0061;
}

#testimonials .item {
    margin-bottom: 2rem;
}

#testimonials .quote {
    padding: 0 2rem;
}

#testimonials .quote:before {
    margin-right: 1rem;
    font-family: fontawesome;
    content: "\f10d";
}

#testimonials .client {
    color: #ccc;
}

#testimonials .carousel-indicators {
    bottom: 0;
    margin-bottom: 0;
}

#testimonials .carousel-indicators li {
    width: .8rem;
    max-width: .8rem;
    height: .8rem;
    background: transparent;
    border: 1px solid #a6a6a6;
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    -webkit-transition: all .25s linear;
    -moz-transition: all .25s linear;
    -o-transition: all .25s linear;
    transition: all .25s linear;
}

#testimonials .carousel-indicators li:hover,
#testimonials .carousel-indicators li:focus {
    border-color: #fff;
}

#testimonials .carousel-indicators .active {
    background: #dbf569;
    border-color: #fff;
}

#about .content {
    margin-bottom: 0;
}

#about .teammate {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

#about .teammate .profile-photo {
    overflow: hidden;
}

#about .teammate .profile-photo img {
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

#about .teammate:hover .profile-photo img,
#about .teammate:focus .profile-photo img {
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

#about .teammate .bio .border {
    height: 1px;
}

#about .teammate .bio ul {
    margin-bottom: 0;
}

#about .teammate .bio a {
    color: #666;
}

#about .teammate .bio a:hover,
#about .teammate .bio a:focus {
    color: #222;
}

#contact {
    background-color: #00A6AE;
    
}

#contact,
#contact a,
#contact a:hover,
#contact a:focus {
    color: #fff
}
#clients a{
	color: #fff;
	cursor: pointer;
	text-decoration: underline;}
#clients a:hover,
#client a:focus {
    color: #fff
}

#contact .heading .border {
    background: #fff
}

#contact a {
    display: block;
}

#contact i {
    margin: 4rem 0 1rem;
}

#footer {
    padding: 4rem 0;
    color: #ccc;
    text-align: center;
    background: #AE0061;
}

#footer a,
#footer a:hover,
#footer a:focus {
    color: #fff;
}

#footer .social {
    margin-bottom: 1rem;
}

#footer .social li .facebook:hover,
#footer .social li .facebook:focus {
    color: #dbf569
}

#footer .social li .twitter:hover,
#footer .social li .twitter:focus {
    color: #00aced
}

#footer .social li .google-plus:hover,
#footer .social li .google-plus:focus {
    color: #d34836
}

#footer .social li .dribbble:hover,
#footer .social li .dribbble:focus {
    color: #ea4c89
}

#footer .copyright {
    margin-bottom: 0;
}

.work .title {
    color: #222;
}


/* Venobox */

.vbox-container {
    overflow: hidden;
}


/* Animations */

@-webkit-keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes loading {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


/* Responsive style */

@media (min-width: 576px) {
    .page .content.cover {
        margin-top: 12rem;
        margin-bottom: 12rem;
    }
    #portfolio .items li {
        width: 66%;
    }
    #testimonials .quote {
        padding: 0 4rem;
    }
}

@media (min-width: 768px) {
    .page .content.cover {
        margin-top: 16rem;
        margin-bottom: 16rem;
    }
    #portfolio .items li {
        width: 33%;
    }
    #testimonials .quote {
        padding: 0 8rem;
    }
}

@media (min-width: 992px) {
    .page .content.cover {
        margin-top: 20rem;
        margin-bottom: 20rem;
    }
    .navbar-light .navbar-nav .nav-link {
        padding-right: 1rem;
        padding-left: 1rem;
        font-weight: bold;
        text-transform: uppercase;
    }
    #testimonials .quote {
        padding: 0 12rem;
    }
}

.wrapper{ width: 980px; margin: 0 auto;  background-color: #ffff; hoverflow: hidden;}

.panel {
	margin: 0 auto;
	height: 130px;  
	position: relative;
	-webkit-perspective: 600px;
	-moz-perspective: 600px;
}

.panel .front,
.panel .back {
	text-align: center;
}
	
.panel .front {
	height: inherit;
	position: absolute;
	top: 0;
	z-index: 900;
	text-align: center;
	-webkit-transform: rotateX(0deg) rotateY(0deg);
	   -moz-transform: rotateX(0deg) rotateY(0deg);
	-webkit-transform-style: preserve-3d;
	   -moz-transform-style: preserve-3d;
	-webkit-backface-visibility: hidden;
	   -moz-backface-visibility: hidden;
	-webkit-transition: all .4s ease-in-out;
	   -moz-transition: all .4s ease-in-out;
		-ms-transition: all .4s ease-in-out;
		 -o-transition: all .4s ease-in-out;
			transition: all .4s ease-in-out;
}

.panel .back {
	height: inherit;
	position: absolute;
	top: 0;
	z-index: 1000;
	-webkit-transform: rotateY(-180deg);
	   -moz-transform: rotateY(-180deg);
	-webkit-transform-style: preserve-3d;
	   -moz-transform-style: preserve-3d;
	-webkit-backface-visibility: hidden;
	   -moz-backface-visibility: hidden;
	-webkit-transition: all .4s ease-in-out;
	   -moz-transition: all .4s ease-in-out;
		-ms-transition: all .4s ease-in-out;
		 -o-transition: all .4s ease-in-out;
			transition: all .4s ease-in-out;
}
.panel.flip .front {
	z-index: 900;
	-webkit-transform: rotateY(180deg);
	-moz-transform: rotateY(180deg);
}
.panel.flip .back {
	z-index: 1000;
	-webkit-transform: rotateX(0deg) rotateY(0deg);
	-moz-transform: rotateX(0deg) rotateY(0deg);
}
.box1{
	background-color: #AE0061;
	width: 250px;
	height: 150px;
	margin: 0 auto;
	padding: 20px;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;

}
.box2{
	background-color: #dbf569;
	width: 250px;
	height: 150px;
	margin: 0 auto;
	padding: 20px;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
}
.form-control {
    display: block;
    width: 100%;
    padding: .375rem .75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #AE0061;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}
