/* téléphone */

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

*
{
	font-size: 0.9rem;
}

h1, h2, h3, .bloc-text span
{
	font-size: 1.2rem;
}

#container
{
    width: 100%;
    min-width: 320px;
    max-width: 480px;
    height: auto; 
    margin: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
            flex-direction: column;
}


/* Hearder et navigation */
#top
{
	height: 50px;
}

#logo img
{
    width: 150px;
}

nav label
{	
	position: absolute;
	top: 10px;
	right: 30px;
	display: block;
	cursor: pointer;
	text-align: right;
	color: #5cadd3;
}

#menu a
{
	padding-top: 0;
	margin: 10px;
	font-size: 1.2rem;
}

#menu a:hover
{
    border-top: none;
    color: #5cadd3;
}

#menu
{
	display: block;
	background-color: #fff;
	text-align: center;
	width: 100%;
	position: absolute;
	top: 25px;
	right: 0;
	padding-top: 20px;
	padding-bottom: 20px;
	display: none;
}

#menuToggle:checked + #menu
{
	display: block;
}

/* banniere */

#slider
{
	height: 230px;
	margin-top: 50px;
}

#slide
{
	height: 230px;
}

#slide img
{
	width: 150%;
	height: 230px;
	padding-right: 40%;
}

.bloc-text br
{
	display: none;
}

.bloc-text
{
	bottom: 30px;
	margin-left: 2.5%;
	width: 150px;
}

.bloc-text a
{
	font-size: 0.7rem;
	padding: 1px;
}

.reseaux-sociaux i
{
	width: 20px;
	height: 20px;
	font-size: 1.5rem;
	color: #fff;
}

.prev, .next
{
	top: 40%;
	width:20px;
    height:40px;
}

#scroll_slider
{
	top: 226px;
}

header hr
{
	height: 50px;
}

/* nos services */

.titre
{
	width: 90%;
	margin: auto;
}

aside img
{
	display: none;
}

.cercle
{
	width: 40px;
	height: 40px;
}

.fa-circle
{
    font-size: 0.5rem;
}

.dot
{
    margin-top: -30px;
    margin-left: 13px;
}    

.icon .fa-chart-pie, .icon .fa-cubes, .icon .fa-chart-line
{
    font-size: 1.2rem;  
    padding-right: 6px;
}

#services ul
{
    width: 100%;
    margin-top: 10%;
}

/* nos projets */

#menu-portfolio label
{
	width: 70px;
    height: 38px;
    line-height: 38px;
    margin-top: 10px;
    margin-bottom: 10px;
}

#menu-portfolio label:hover
{
    height: 38px;
}

#works:checked ~ #works_btn, #creative:checked ~ #creative_btn, #corporate:checked ~ #corporate_btn, #portfolio:checked ~ #portfolio_btn
{
    height: 38px;
}

#container-portfolio
{
	padding-right: 0;
    padding-left: 0;
}

#container-portfolio figure
{
	width: 100%;
	margin: auto;
}

#container-portfolio figcaption
{
	display: block;
}

.cercle-eye
{
    width: 30px;
    height: 30px;
}

.fa-eye
{
    right: 21px;
}

.deco-fa-eye
{
    bottom: 55px;
}

/* contact */

#contact
{
	display: block;
}

.maps
{
	height: 200px;
}

iframe
{
	height: 200px;
}

form
{
	right: 0;
	width: 100%;
	border: 2px solid #5cadd3;
	-webkit-box-shadow: 5px 5px 2px #468cad;
	        box-shadow: 5px 5px 2px #468cad;
	background-color: #f5f5f5;
	margin-bottom: 50px;
}

fieldset input
{
    width: 100%;
    height: 20px;
    padding-left: 5px;
}

fieldset textarea
{
    width: 100%;
    padding-left: 5px;
    padding-top: 5px;
}

}



/* tablette */

@media screen and (min-width: 600px) and (max-width: 992px)
{


h1, h2, h3, .bloc-text span
{
	font-size: 1.5rem;
}

#container
{
    width: 100%;
    min-width: 600px;
    max-width: 992px;
    height: auto; 
    margin: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
            flex-direction: column;
}


/* Hearder et navigation */
#top
{
	height: 65px;
}

#logo img
{
    width: 200px;
}

nav label
{	
	position: absolute;
	top: 20px;
	right: 30px;
	display: block;
	cursor: pointer;
	text-align: right;
	color: #5cadd3;
}

#menu a
{
	padding-top: 0;
	margin: 10px;
	font-size: 1.2rem;
}

#menu a:hover
{
    border-top: none;
    color: #5cadd3;
}

#menu
{
	display: block;
	background-color: #fff;
	text-align: center;
	width: 100%;
	position: absolute;
	top: 35px;
	right: 0;
	padding-top: 20px;
	padding-bottom: 20px;
	display: none;
}

#menuToggle:checked + #menu
{
	display: block;
}

/* banniere */

#slider
{
	height: 350px;
	margin-top: 50px;
}

#slide
{
	height: 350px;
}

#slide img
{
	width: 150%;
	height: 350px;
	padding-right: 40%;
}

.bloc-text br
{
	display: none;
}

.bloc-text
{
	bottom: 100px;
	margin-left: 3%;
	width: 310px;
}

.bloc-text a
{
	font-size: 0.9rem;
	padding: 1px;
}

.prev, .next
{
	top: 40%;
}

#scroll_slider
{
	top: 345px;
}

header hr
{
	height: 60px;
}

/* nos services */

.titre
{
	width: 90%;
	margin: auto;
}

aside img
{
	display: none;
}

.icon .fa-chart-pie, .icon .fa-cubes, .icon .fa-chart-line
{
    padding-right: 9px;
}

#services ul
{
    width: 95%;
    margin-top: 10%;
}
/* nos projets */


#container-portfolio
{
	padding-right: 0;
    padding-left: 0;
}

#container-portfolio figure
{
	width: 50%;
	margin: auto;
}

#container-portfolio figure img
{
    max-height: 220px;
}

#container-portfolio figcaption
{
	display: block;
}


/* contact */

#contact
{
	display: block;
}

.maps
{
	height: 300px;
}

iframe
{
	height: 300px;
}

form
{
	right: 0;
	width: 100%;
	border: 2px solid #5cadd3;
	-webkit-box-shadow: 5px 5px 2px #468cad;
	        box-shadow: 5px 5px 2px #468cad;
	background-color: #f5f5f5;
}

fieldset input
{
    width: 100%;
    height: 20px;
    padding-left: 5px;
}

fieldset textarea
{
    width: 100%;
    padding-left: 5px;
    padding-top: 5px;
}
}
