body{font: 1.0em "Trebuchet MS", Verdana, Helvetica, Arial, "sans-serif" ; background: #fff; line-height: 1.2em; color:#2c3437; height:100%; margin:0; padding:0; min-width: 320px;}
html{height:100%;}

@font-face {
    font-family: 'teenregular';
    src: url('fonts/teen-webfont.eot');
    src: url('fonts/teen-webfont.eot?#iefix') format('embedded-opentype'),
         url('fonts/teen-webfont.woff') format('woff'),
         url('fonts/teen-webfont.ttf') format('truetype'),
         url('fonts/teen-webfont.svg#teenregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

h1, h2, h3, h4 {font-family:'teenregular', Verdana, Helvetica, sans-serif; font-weight: bold; background-color:transparent; line-height:1.1em; padding: 0; }
h1{font-size:3.0em; color:#fdc53e; margin: 0 0 0.25em; text-shadow: 0px 1px 1px #9999cc;}
h1 a{color:#2daecb;} 
h1 a:hover{color:#2c3437; text-decoration:none;}
h2{font-size:2.0em; color:#2daecb; margin: 0.5em 0 0.25em; }
h2 a{color:#2daecb;} 
h2 a:hover{color:#2c3437; text-decoration:none;}
h3{font-size:1.4em; color:#fdc53e; margin: 0; }
h3 a{color:#2daecb;} 
h3 a:hover{color:#2c3437; text-decoration:none;}
h4{font-size:1.2em; color:#2daecb; margin: 0; }
h4 a{color:#2daecb;}
h4 a:hover{color:#2c3437; text-decoration:none;}
h1 span {font: 0.7em "Open Sans Condensed", Verdana, Helvetica, Arial, "sans-serif" ; color:#ccc; font-weight: normal; margin: 0 10px; text-shadow: none;}
img{padding: 10px; margin: 0; max-width: 100%; height: auto; border: none}
p {margin: 0.5em 0}
ul {list-style: none; margin: 0.5em 0; padding: 0}
a {color: #0099cc; text-decoration: none; transition: all 0.2s ease 0s;}
a:hover{color: #6ccfe6; text-decoration: none;}

.center {text-align: center}
.spacer {clear: both}

.bouton, .bouton-gris, .bouton-orange, .bouton-vert {display: inline-block; color: #fff; font-weight: bold; font-family: 'teenregular', Verdana, Helvetica, sans-serif; width: auto; height: auto; min-height: 25px; padding: 5px 10px; margin: 10px 0; text-align: center; line-height: 1.4em;  border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;}
.bouton {background-color:#2daecb; }
.bouton-gris {background-color:#88979a }
.bouton-orange {background-color:#ff9900; }
.bouton-vert{background-color:#66cc00; }
.bouton:hover, .bouton-gris:hover, .bouton-orange:hover, .bouton-vert:hover{background-color:#2c3437; color: #fff; transition: all 0.2s ease 0s;}
.bouton a, .bouton-gris a, .bouton-orange a, .bouton-vert a{color: #fff; font-weight: bold; transition: all 0.2s ease 0s;}
.bouton a:hover, .bouton-gris a:hover, .bouton-orange a:hover, .bouton-vert a:hover{color: #fff; text-decoration: none;}

header{width:100%; height: 100px; background: #2c3437; margin: 0;  padding: 0; border-bottom: 6px solid #fdc53e; z-index: 99999999;}
#header-content{width: 80%; height: 100px; margin: 0 auto; padding: 0; }
#logo{float: left; width: 170px; height: auto; max-width: 80%; padding: 0; margin: 0; border: none; position: relative; z-index: 1;}
#logo img{float: left; position: relative; min-width: 170px; height: auto; padding: 0; }

#menu-double{float: none;}
nav {float: left; font-family:"teenregular", sans-serif; width: auto; height: 40px; padding: 0; margin: 60px 0 0 20px; }
nav ul {margin: 0; padding: 0; list-style: none;}
nav li {display: inline-block; font-size: 1.6em; padding: 5px 20px 7px; }
nav a {color: #fff; text-decoration: none; opacity: 0.5; transition: all 0.3s ease 0s;}
nav a:hover {color: #fff; text-decoration:none; opacity: 1.0; }

/* menu pour mobile */
#menu-icon {display: hidden; width: 40px; height: 40px; background: transparent url(img/menu-icon.png) center; }
a#menu-icon {transition: all 0.3s ease 0s; opacity: 0.5;}
a:hover#menu-icon {background: transparent url(img/menu-icon.png) center; opacity: 1.0; }
/* fin menu pour mobile */

/* réseaux pour mobile */
#reseaux-icon {display: hidden; width: 40px; height: 40px; background: transparent url(img/reseaux-icon.png) no-repeat center; }
a#reseaux-icon {transition: all 0.3s ease 0s; opacity: 0.5;}
a:hover#reseaux-icon {background: transparent url(img/reseaux-icon.png) no-repeat center; opacity: 1.0; }
/* fin réseaux pour mobile */

#reseaux{float: right; width: 280px; height: 80px; background: url(img/crazycrab-saut.png) no-repeat; margin: 20px 0; }
#reseaux p {color: #fff; padding-left: 100px; margin: 0;}
#reseaux ul {margin: 20px 0 0 100px; padding: 0; list-style: none; }
#reseaux li {float: left; margin: 10px 5px; padding: 0; }
#reseaux img {padding: 0}
#googleplus {display:inline-block; width: 32px; height: 32px; background: url(img/reseauxsociaux.png) no-repeat 0 0; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; opacity: 0.5 }
#googleplus  span{text-indent: -5000px; display:inline-block;}
#facebook {display:inline-block; width: 32px; height: 32px; background: url(img/reseauxsociaux.png) no-repeat -32px 0; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; opacity: 0.5}
#facebook  span{text-indent: -5000px; display:inline-block;}
#twitter{display:inline-block; width: 32px; height: 32px; background: url(img/reseauxsociaux.png) no-repeat -64px 0; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; opacity: 0.5}
#twitter span{text-indent: -5000px; display:inline-block;}
#youtube {display:inline-block; width: 32px; height: 32px; background: url(img/reseauxsociaux.png) no-repeat -96px 0; border-radius: 4px; -moz-border-radius: 4px; -webkit-border-radius: 4px; opacity: 0.5}
#youtube span{text-indent: -5000px; display:inline-block;}
#googleplus:hover, #facebook:hover, #twitter:hover, #youtube:hover {opacity: 1.0}

#bg-bluesky {width: 100%; height: 200px; padding: 0; margin: 0; background: url(img/bkgs/bg-ccbluesky-200.png) no-repeat center top; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover;}
#bg-studio {width: 100%; height: 200px; padding: 0; margin: 0; background: url(img/bkgs/bg-studio.png) no-repeat center top; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }
#bg-games {width: 100%; height: 200px; padding: 0; margin: 0; background: url(img/bkgs/bg-electro.png) no-repeat center top; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background-size: cover; }
.bg-white {width: 100%; height: auto; padding: 0; margin: 0; background: #fff; }
.bg-black {width: 100%; height: auto; padding: 0; margin: 0; background: #1e2325; color: #fff}
#bg-black a:hover{color:#fff}

#intro{width: 100%; height: auto; min-height: 300px; text-align: center; margin: 0 auto; padding: 120px 0 50px; background: #fff url(img/bkgs/bg-ccbluesky-home.jpg) no-repeat center top; -webkit-background-size: 100% auto; -moz-background-size: 100% auto; -o-background-size: 100% auto; background-size: 100% auto; }
#main_content{width: 100%; height: auto; min-height: 650px; background: transparent; margin: -30px auto 0; padding: 0; text-align: center}
.center_content {padding: 0 100px; margin: 0 auto; text-align: center; }

.containerhome{width: 80%; padding: 20px 20px 30px; margin: 0 auto; text-align: center; }
.containerhome article {background: url(img/bkgs/opacity-white.png) repeat; width: 40%; text-align: center; display: inline-block; margin: 1%; padding: 10px 40px 25px; border-radius: 50px; -moz-border-radius: 50px; -webkit-border-radius: 50px;}
.containerhome aside {text-align: center; margin: 0 auto; padding: 0 40px 25px;}

.container {width: 80%; padding: 0 20px; margin: 0 auto; text-align: center; }
.game-desc {width: 75%; height: auto; padding: 10px 20px; margin: 0 auto; }
.webgame-play {width: auto; max-width: 480px; height: auto; margin: 20px auto; padding: 10px; border: 1px solid #ddd; text-align: center; box-shadow:0 4px 4px -4px #999;}
.resp-cont-133{position: relative; height: 0; overflow: hidden; padding-top: 133.33%; }
.resp-cont-100{position: relative; height: 0; overflow: hidden; padding-top: 100%; }
.resp-cont-133 iframe, .resp-cont-133 object, .resp-cont-100 iframe, .resp-cont-100 object{width: 100%; height: 100%; position: absolute; left: 0; top: 0; border: none}
.webgame-plus{width: 90%; padding: 20px; margin: 20px auto; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; text-align: center; background-color: #282828}
.advergame-plus{width: 90%; padding: 20px; min-height: 280px; margin: 20px auto; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; text-align: center; background: #282828 url(img/bkgs/bkgd-advertgame.png) no-repeat top center;}
.advergame-plus p{font-family: 'Amatic SC', cursive; font-size: 2.2em; line-height: 1.2em; color:#fff}
.webgame-plus p{font-family: 'Amatic SC', cursive; font-size: 2.2em; line-height: 1.2em; color:#fff }
iframe.jaime {float: right; margin-right: 100px; border:none; overflow:hidden; width:160px; height:60px;}
.partager {float: right; width:125px; height:16px; margin-right: 100px; border:none; }

ul.sousnav {width: 100%; height: auto; margin: 0 auto; padding: 0 }
ul.sousnav li {display: inline-block; padding: 5px 10px;}
ul.sousnav li  a:hover{text-decoration: none}

.main-center {text-align: center;}
.main-left {float: left; width: 62%; height: auto; min-height: 200px; padding: 10px 20px 20px; margin: 0; text-align: left; border-right: 1px dashed #ccc}
.main-right, .main-rightportfolio {width: 30%; height: auto; min-height: 200px; padding: 10px 20px 20px; margin-left: 66%;}
.main-left2 {float: left; width: 360px; height: auto; min-height: 200px; padding: 10px 20px 20px; margin: 0 0 20px; text-align: left;}
.main-left2 ul{list-style: square; margin-left: 40px}
.main-rightportfolio{text-align: left}
.main-rightportfolio ul{list-style: square; list-style-position: inside;}

#jeuxmobile, #jeuxweb, #jeuxpc {padding: 20px 0}
#jeuxmobile article, #jeuxweb article, #jeuxpc article {display: inline-block; height: auto; text-align: center; margin: 1%; padding: 0 10px; vertical-align: top}
#jeuxmobile article {width: 25%;}
#jeuxweb article {width: 12%;}
#jeuxpc article {width: 45%;}
.bouton-appstore {width: auto; height: 40px; padding: 0 0 20px;}
.bouton-appstore img{padding: 0; }
#jeuxmobile img, #jeuxweb img, #jeuxpc img {margin-bottom: 10px; padding: 10px;}
#jeuxweb img {background-color: #fff; border-radius: 8px; -moz-border-radius: 8px; -webkit-border-radius: 8px;}
#jeuxpc img {padding: 10px 0; box-shadow:0 4px 4px -4px #999}
ul.config {height: auto; padding: 10px 0; margin: 0 auto; text-align: left}
ul.config li img{padding: 4px 2px 0}

#portail {width: 100%; height: auto; background-color: #ccc; color: #fff; text-align: center; padding: 20px 0; margin: 0}
#portail h2{color: #88979a; }

#formcontainer{width:60%; margin:10px auto 40px; padding:0; background: tranparent;  }
form{width:80%; margin:0 auto; }
input[type=text], textarea {width:100%; font: 1.0em "Trebuchet MS", Verdana, Helvetica, Arial, "sans-serif" ; background-color: #2c3437; color: #fff; padding: 15px; margin-top:10px; margin-bottom:20px; border: 3px solid #2daecb; border-radius:5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; box-sizing: border-box; -webkit-box-sizing:border-box; -moz-box-sizing:border-box;}
textarea{resize:none;}
input[type=text]:focus,textarea:focus{border-color:#fdc53e;}
input[type=submit]{color: #fff; background-color: #2daecb; margin-bottom:20px; width:30%; padding:15px; border: none; font: 1.0em "Trebuchet MS", Verdana, Helvetica, Arial, "sans-serif" ; font-weight: bold; border-radius:5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;}
input[type=submit]:hover{background-color:#2c3437; transition: all 0.2s ease 0s; cursor: pointer;}

#parisbretagne {height: 140px; margin-top: -180px; background: url(img/bkgs/bkg-parisbretagne.png) no-repeat center bottom; background-size: 100% auto;}
#apropos {width: 100%; height: auto; min-height: 140px; margin: 0 auto; color: #fff; background-color: #fdc53e; padding: 20px 0; }
#apropos h1{color: #fff; text-shadow: 0px 1px 2px #ecab10; margin: 0.25em 0; padding: 0}
#apropos p {font: 1.2em "teenregular", Verdana, Helvetica, Arial, "sans-serif" ; padding: 10px; text-shadow: 1px 1px 0px #ecab10;}

footer {font-family:"teenregular", sans-serif; width: 100%; height: auto; min-height: 140px; color: #999; font-size: 1.0em; line-height: 1.2em; margin: 0; padding: 20px 0 0; text-align: center; background: url(img/bkgs/blackpix.png) repeat; border-top: 25px solid #2daecb; border-bottom: 10px solid #fdc53e;}
footer li{display: inline-block; padding: 0 8px 0 10px; line-height: 1.4em; }
footer a{color:#2daecb; }
footer a:hover{color:#6ccfe6; text-decoration: none}
#top-icon, a #top-icon, a:active#top-icon, a:link#top-icon, a:visited#top-icon , a:focus #top-icon {display: block; width: 32px; height: 32px; margin: 20px auto; background: #2daecb url(img/top-icon.png) center; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px;}
a:hover#top-icon{background-color: #6ccfe6; }

/* Portfolio sliding legend */
.portfolio {font-size: 0.9em; width: 70%; margin: 0 auto; padding: 0 0 50px;}
.portfolio li {display: inline-block; width: 200px;  margin: 8px;  padding: 6px 0; border: 1px solid #ddd; box-shadow:0 4px 4px -4px #999;   } 
.portfolio a{color: #fff; text-decoration: none}
.portfolio figure {position: relative; display: inline-block; width: 200px; height: 200px; margin: 0; text-align: center; overflow: hidden; }  
.portfolio figcaption {position: absolute; left: 0; bottom: -1em; width: 200px; height: 2.6em; line-height: 1.5em; text-align: center; color: #fff; background: rgba(45,174,203,1.0); overflow: hidden; transition: all 0.7s; }  
.portfolio figcaption span { display: block; padding: 0 5px;}  
.portfolio figure:hover figcaption, .portfolio figure:focus figcaption {height: 104%; background: rgba(0,0,0,0.8); }  

/* Grands écrans */
@media screen and (max-width: 1600px) {  }

@media screen and (max-width: 1310px) { 
#header-content{width: 90%;}
.containerhome article {width: 35%; vertical-align: top; }
 }
 
/* Tablettes paysage & écran classique -------------------------------- */
@media screen and (max-width: 1024px) { 

nav li {font-size: 1.5em; padding: 5px 14px 7px; }
#reseaux{width: 180px; background: transparent url(img/crazycrab-saut.png) no-repeat; }
#reseaux ul {margin: -10px 0 0 100px;}
#reseaux li { margin: 4px; }
#intro{-webkit-background-size: auto 30%;-moz-background-size: auto 30%;-o-background-size: auto 30%;background-size: auto 30%;}
.containerhome article {width: 80%; vertical-align: top; }
#jeuxmobile article {display: block; width: 92%; height: auto; min-height: 220px; text-align: left; margin: 20px auto; padding: 20px 0; border-bottom: 2px dashed #666; }
#jeuxmobile img {float: left; margin: 0 20px 0 0; padding: 0; }
.bouton-appstore {float: left; padding: 0; margin: 10px 0 0}
#jeuxweb article {display: block; width: 92%; text-align: left; margin: 20px auto; padding: 10px 0; border-bottom: 2px dashed #666; }
#jeuxweb img {float: left; margin-right: 20px;}
#formcontainer{width:70%;}
form{width:90%;}
.game-desc {width: 80%;}
.main-left {float: none; width: 95%; border-right: none; padding: 10px 10px 20px;}
.main-right, .main-rightportfolio{width: 95%; padding: 10px 10px 20px; margin-left: 0;}
footer p{padding: 0 20px 0}
 }
 
/* Smartphones paysage & tablettes ----------------------------------- */
@media screen and (max-width: 780px) { 
h1{font-size: 2.5em; }
h2{font-size: 1.6em; }
header{height: 70px; background: #2c3437; }
#logo{width: 120px; max-width: 80%; }
#logo img{min-width: 120px; }

nav {margin: 30px 0 0 20px}
/* réseaux pour mobile */
#reseaux-icon {display: inline-block}
#reseaux{width: 40px; background-image: none; height: 50px; }
#reseaux ul, #reseaux:active ul{
		display: none; 
		position: absolute;
		padding: 10px 0; 
		background: #2c3437;
		border-left: 6px solid #fdc53e; border-bottom: 6px solid #fdc53e;
		right: 0;
		top: 80px;
		width: 80px;
		text-align: center;
		border-bottom-left-radius: 20px; -moz-border-bottom-left-radius: 20px; -webkit-border-bottom-left-radius: 20px; 
		z-index: 1}
#reseaux  li {display: inline-block; width: 100%; padding: 5px 0; border: none; margin: 0;}
#reseaux:hover ul{display: block}
/* fin réseaux pour mobile */

#intro{padding:90px 0 50px;}
.containerhome article {width: 70%; vertical-align: top; }
.container {padding: 10px 0 0 ; }
#bg-bluesky {height: 140px; margin: 0 0 -40px;}
#bg-games {height: 140px; margin: 0 0 -40px; }
#bg-studio {height: 140px; margin: 0 0 -40px; }
.jeuxmobile-desc {margin-left: 200px}
#jeuxmobile p {min-height: 100px; }
#jeuxpc article {width: 92%; padding: 20px 0; border-bottom: 2px dashed #666;}
.bouton-appstore {float: none; margin: 0 0 10px 20px}
#formcontainer{width:80%;}
form{width:90%;}
.partager {float: right; width:125px; height:16px; margin-right: 0; border:none; }
footer li{padding: 0 10px; line-height: 2.0em; }
}
	
/* Smartphones ------------------------------------ */
@media screen and (max-width: 580px) { 

header{height: 70px; background: #2c3437; }

/* menu pour mobile */
#menu-icon {display: inline-block}
#menu-double{float: right; }
nav{float: left; margin: 20px 10px 0; height: 50px;}
nav ul, nav:active ul {
		display: none;
		position: absolute;
		padding: 10px 0; 
		background: #2c3437;
		border-left: 6px solid #fdc53e; border-bottom: 6px solid #fdc53e;
		right: 0;
		top: 70px;
		width: 160px;		
		border-bottom-left-radius: 20px; -moz-border-bottom-left-radius: 20px; -webkit-border-bottom-left-radius: 20px; 
		z-index: 1}
nav li {display: inline-block; text-align: center; width: 100%; padding: 10px 0; border: none; margin: 0;}
nav:hover ul{display: block}
/* fin menu pour mobile */

.containerhome{width: 90%; padding: 20px 0 30px; }
.containerhome article {width: 70%; }
#jeuxmobile article{text-align: center; }
#jeuxmobile img {float: none; margin: 0}
.jeuxmobile-desc {margin: 10px 0 0; }
#jeuxmobile p {min-height: 20px; }
.bouton-appstore {margin: 0 0 10px 0}
#formcontainer{width:90%;}
form{width:100%;}
input[type=submit]{width:50%;}
.main-left {float: none; width: 95%; border-right: none; padding: 10px 0 20px;}
.main-right, .main-rightportfolio{padding: 10px 0 20px;}
.resp-cont-133{display: none}
}