/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 10 mars 2017, 08:24:26
    Author     : macpro
*/

/* DESKTOP */
html {
width: 100%;
height: 100%;
font-family: arial, sans-serif;
position: relative;
overflow-y: scroll;
}
.fb-liketop {
    top: 15px;
    right: 15px;
    float: right;
}
#maincontent {
    background-color: white;
    width: 100%;
    position: absolute;
    min-height: 100px;
    border-style: solid;
    border-color: black;
    box-shadow: 2px 2px 10px black;
    z-index: 100;
    margin-bottom: 90px;
}

.ad {
    border-style: solid;
    border-color: black;
    box-shadow: 2px 2px 10px black;
    background-color: white;

}
#back {
  background: #424242;
  background-image: -webkit-linear-gradient(top, rgba(100,100,100,0.5), rgba(0,0,0,0.5));
  background-image: -moz-linear-gradient(top, rgba(100,100,100,0.5), rgba(0,0,0,0.5));
  background-image: -ms-linear-gradient(top, rgba(100,100,100,0.5), rgba(0,0,0,0.5));
  background-image: -o-linear-gradient(top, rgba(100,100,100,0.5), rgba(0,0,0,0.5));
  background-image: linear-gradient(to bottom, rgba(100,100,100,0.5), rgba(0,0,0,0.5));
  -webkit-box-shadow: 2px 2px 10px #000000;
  -moz-box-shadow: 2px 2px 10px #000000;
  box-shadow: 2px 2px 10px #000000;
  color: #ffffff;
  font-size: 20px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
  position: absolute;
  top: 0;
  display: none;
}

#back:hover {
  background: #3cb0fd;
  background-image: -webkit-linear-gradient(top, rgba(150,150,150,0.5), rgba(50,50,50,0.5));
  background-image: -moz-linear-gradient(top, rgba(150,150,150,0.5), rgba(50,50,50,0.5));
  background-image: -ms-linear-gradient(top, rgba(150,150,150,0.5), rgba(50,50,50,0.5));
  background-image: -o-linear-gradient(top, rgba(150,150,150,0.5), rgba(50,50,50,0.5));
  background-image: linear-gradient(to bottom, rgba(150,150,150,0.5), rgba(50,50,50,0.5));
  text-decoration: none;
}
body {
position: absolute;
top: 0;
margin: 0;
}

#main_titleweb {
    top: 0;
    left: 0;
    position: absolute;
    width: auto;
}
#ad_leaderboard {
    width: 728px;
    height: 90px;
    position: absolute;
    left: calc(50% - 364px);
        display: none;

}
#ad_leaderbottom {
    width: 728px;
    height: 90px;
    position: relative;
    left: calc(50% - 364px);
        display: none;

}
#ad_mobiletop {
    position: absolute;
    width: 320px;
    height: 50px;
    left: calc(50% - 160px);

}
#ad_mobilebottom {
    position: relative;
    width: 320px;
    height: 50px;
    left: calc(50% - 160px);

}
#bottom {
    bottom: 15px;
    width: 100%;
    height: auto;
    color: white;
    text-shadow: 2px 2px #000000;
    position: fixed;
    text-align: center;
    left: 0;
    right: 0;
}
#langselect {
    position: absolute;
}
#mainlist {
    width: 100%;
    height: auto;
    top: 5px;
    left: 0;
    right: 0;
    position: relative;
}
.mainlist_element {
    box-shadow: 2px 2px 10px black;
    display: inline-block;
    text-align: center;
    background: linear-gradient(to bottom, white, #d9d9d9);

}
.mainlist_banner {
width: calc(100% - 10px);
top: 5px;
height: auto;
position: relative;
}

.mainlist_ad {
width: calc(100% - 10px);
top: 5px;
height: calc(100% - 10px);
position: relative;    
background-color: gray;
display: block;
left: 5px;
}
.mainlist_button {
  background: #646464;
  background-image: -webkit-linear-gradient(top, #646464, #000000);
  background-image: -moz-linear-gradient(top, #646464, #000000);
  background-image: -ms-linear-gradient(top, #646464, #000000);
  background-image: -o-linear-gradient(top, #646464, #000000);
  background-image: linear-gradient(to bottom, #646464, #000000);
  font-family: Arial;
  color: #ffffff;
  font-size: 20px;
  padding: 10px 20px 10px 20px;
  text-decoration: none;
  box-shadow: 2px 2px 5px black;
}

.mainlist_button:hover {
  background: #969696;
  background-image: -webkit-linear-gradient(top, #969696, #323232);
  background-image: -moz-linear-gradient(top, #969696, #323232);
  background-image: -ms-linear-gradient(top, #969696, #323232);
  background-image: -o-linear-gradient(top, #969696, #323232);
  background-image: linear-gradient(to bottom, #969696, #323232);
  text-decoration: none;
}

#activity {
    position: relative;
    box-shadow: 2px 2px 10px black;
    display: inline-block;
    text-align: center;
    margin-top: 5px;
    margin-left: 5px;
    margin-bottom: 15px;
    background: linear-gradient(to bottom, white, #d9d9d9);
}
.step1_banner {
    margin-top: 5px;
    position: relative;
    width: calc(100% - 20px);
}
#step1 b {
    font-size: x-large;
    vertical-align: super;
}
.r_ads {
    display: none;
}
#extra_ads {
    font-weight: bolder;
    margin-left: 25px;
}
.b_ads_img{
    width: calc(100% - 10px);
    height: auto;
    margin-left: 5px;
    margin-top: 5px;
}
#navlist {
    text-align: center;
}
.waitimg {
    margin-top: 10px;
    width: calc(100% - 20px);
}
.scr_marker {
    font-size: x-large;
    font-weight: bold;
}
#resultimg {
    margin-top: 5px;
}
.mlist_adimg {
    background-image: url('/media/empty_ad.png');
    position: relative;
    width: 300px;
    height: 270px;
    left: calc(50% - 150px);
    top: 15px;
}
#fb_connectyou {
    margin-top: 5px;
    display: none;
}
#fb_welcomeback {
    width: 300px;
    height: 50px;
    border-radius: 10px;
    color: white;
    position: relative;
    left: calc(50% - 150px);
    background: url('/media/fbconA1.png') no-repeat top left, url('/media/fbconA2.png') repeat-x top left;
    cursor : pointer;
    margin-top: 5px;
    display: none;

}
#fb_welcomeback:hover {
    background: url('/media/fbconB1.png') no-repeat top left, url('/media/fbconB2.png') repeat-x top left;
    color: #3b5998;
    
}
#img_welcomeback {
    top: 0;
    right: 0;
    position: absolute;
    width: auto;
    height: 50px;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;

}
#txt_welcomeback {
    font-size: small;
    position: absolute;
    width: 240px;
    height: 30px;
    top: 15px;
    left: 0;
    text-align: right;
}
.prelinker, .pdcom {
    display: none;
}
.janken_card {

    margin: 0;
    position: relative;
    display: inline-flex;
    float: left;
    margin-right: 5px;
    left: 5px;

}
#pubdirecte_ref {
    position: relative;
    bottom: 5px;
    margin-right: calc(50% - 85px);
    margin-top: 15px;
    margin-bottom: 5px;
    float: right;
    border-style: solid;
    border-color: black;
    box-shadow: 2px 2px 10px black;    
}
#r_ad1200 {
    display: none;
}
#special_frame {
    display: none;
    background-color: rgba(0,0,0,0.5);
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0; left: 0; bottom: 0 ; right: 0;
    z-index: 3000;
}
#close_frame {
    position: absolute;
    top: 5px;
    right: 5px;
}
#special_frame iframe {
    width: 90%;
    left: 5%;
    height: 90%;
    top: 5%;
    position: absolute;
    background-color: white;
    border-color: black;
    border-width: 5px;
    border-style: solid;
}
#text_frame{
    border-radius: 50px;
    background-color: black;
    color: white;
    width: 80%;
    left: 10%;
    top: 1%;
    height: 15px;
    position: absolute;
    text-align: center;
    font-weight: bold;
}
@media (min-width: 801px){
    #final_fbshare img {
            margin-top: -25px;
    }    
    
#ad_mobiletop {
display: none;
}  
#ad_mobilebottom {
display: none;
} 
body {
width: 800px;
height: 100%;
left: calc(50% - 400px);

} 
.font-scale {
        font-size: x-large;

}

#main_titleweb {
    height: 50px;
}
#maincontent {
    top: 170px;
}
#ad_leaderboard {
    top: 60px;
        display: block;

}
#ad_leaderbottom {
        display: inline-block;

}
#back {
    display: block;
    right: 120px;
}
#langselect {
    top: 25px;
    right: 250px;
}
.mainlist_element {
    width: 390px;
    margin-left: 5px;
    margin-bottom: 15px;
    height: 350px;
}
#activity {
    width: 590px;
    height: 480px;
}
#r_ad800 {
    position: absolute;
    width: 160px;
    height: 600px;
    display: inline-block;
    right: 15px;
    top: 10px;
}
.b_ad800 {
    display: inline-block;
    width: 600px;
    height: auto;
    margin-left: 10px;
    background: linear-gradient(to bottom, white, #d9d9d9);
    margin-top: 10px;
    margin-bottom: 10px;
    box-shadow: 2px 2px 10px black;

}
#resultimg {
        width: 420px;
}
#friendselect, #janken {
width: calc(100% - 10px);
    height: calc(100% - 10px);
    top: 5px;
    left: 5px;
    position: absolute;
    background: url('/media/pages/1/wall.png'),linear-gradient(to bottom, green, black);
    border-radius: 25px;
}
#friendselect h2, #janken h2, #janken h3 {
    color: white;
    text-shadow: 2px 2px 1px black;
    z-index: 10;
    float: left;
    margin-left: 5%;
}
#b_friendlist {
    position: absolute;
    width: 100%;
    bottom: 15px;
    z-index: 20;
}
#r_friendlist, #r_janken {
    position: absolute;
    width: 35%;
    height: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 8;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
}
#current_friendimg {
    width: 180px;
    height: 180px;
    top: 25px;
    position: absolute;
    left: calc(50% - 90px);
    border-radius: 25px;
}
#current_friendname {
    top: 250px;
    left: 5px;
    width: calc(100% - 10px);
    height: auto;
    position: absolute;
    color: white;
    text-shadow: 1px 1px 5px black;
    font-weight: bolder;

}
#friendlist {
    position: absolute;
    top: 15%;
    left: 2%;
    width: 60%;
    height: 70%;
    background-color: rgba(255,255,255,0.7);
    overflow-y: scroll;
    border-style: ridge;
}
#janken_comment {
    color: white;
    text-shadow: 2px 2px 1px black;
    font-weight: bolder;
    font-size: larger;
    top: 60%;
    position: absolute;
    width: 100%;
    left: 0;
}
#janken_enemy {
    width: 80%;
    position: absolute;
    left: 10%;
    top: 5%;
    z-index: 10;
}
.janken_card {
    width: 19%;
    height: auto;
    top: 50%;
    left: 10px;
    position: relative;
    margin-left: 5px;
    border-style: dashed;
    border-width: 4px;
    border-color: transparent;
}
.janken_card:hover {
    top: 45%;
}
.janken_score {
    width: 30%;
    top: 70%;
    position: relative;
    display: none;
}
#janken_epic {
    z-index: 15;
    position: absolute;
    width: 40%;
    right: 5%;
    top: 2%;
    border-radius: 50%;
}
.friendpic {
float: left;
    width: 22%;
    height: auto;
    position: relative;
    border-radius: 10px;
    margin-top: 1%;
    margin-left: 1%;
    border-style: solid;
    border-width: 2px;
    border-color: transparent;
    
}
.friendpic:hover {
    border-color: white;
}
#SC_TBlock_299184 {
    display: none;
}
.coupes {
    width: 80px;
    position: relative;
    border-width: 2px;
    border-style: solid;
    border-color: white;
    border-radius: 15px;
    /* margin-top: 25px; */
    box-shadow: 1px 1px 2px black;
}

#coloring {
    position: absolute;
    width: 200px;
    height: 160px;
    top: 220px;
    left: 0;
        z-index: 100;

}

.colors {
    display: inline-block;
    width: 50px;
    height: 50px;
    position: relative;
    border-width: 2px;
    border-style: solid;
    border-color: white;
    border-radius: 15px;
    margin-top: 10px;
    box-shadow: 1px 1px 2px black;
}

#frimousse {
    position: absolute;
    right: 0;
    top: 0;
    width: 320px;
    height: 350px;
}

#fbphoto {
    position: absolute;
    width: 300px;
    height: auto;
    top: 40px;
    right: 5px;
    border-color: white;
    border-width: 5px;
    border-style: solid;
    border-bottom-width: 25px;
    box-shadow: 1px 1px 2px black;
    z-index: 15;
}

#moustache {
    z-index: 25;
    position: absolute;
#fbphoto {
    position: absolute;
    width: 300px;
    height: auto;
    top: 40px;
    right: 5px;
    border-color: white;
    border-width: 5px;
    border-style: solid;
    border-bottom-width: 25px;
    box-shadow: 1px 1px 2px black; }
    top: 4;
    right: 5px;
    top: 40px;
}

#abs {
    z-index: 100;
    position: absolute;
    top: 33px;
    width: 300px;
    /* height: 25px; */
    right: 8px;
    /* background-color: rgba(0,0,0,0.5); */
}

#ord {
    z-index: 100;
    position: absolute;
    top: 186px;
    width: 300px;
    /* height: 25px; */
    right: 161px;
    transform: rotate(90deg);
}

#cutting {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 10px;
    left: 0;
    z-index: 100;
}
#finished {
    bottom: 10px;
    position: absolute;
    width: 100px;
    left: calc(50% - 50px);
}
}

@media (min-width: 1200px){
body {
width: 1200px;
height: 100%;
left: calc(50% - 600px);
} 
#main_titleweb {
    height: 70px;
}
#maincontent {
    top: 190px;
}
#ad_leaderboard {
    top: 80px;
    display: block;
}
#ad_leaderbottom {
        display: inline-block;

}
#back {
    display: block;
    right: 120px;
}
#langselect {
    top: 25px;
    right: 250px;
}
.mainlist_element {
    width: 390px;
    margin-left: 5px;
    margin-bottom: 15px;
    height: 350px;

}
#activity {
    width: 780px;
    height: 635px;
}
#r_ad1200 {
    display: block;
}
#r_ad1200a {
    position: absolute;
    width: 300px;
    height: 600px;
    right: 30px;
    top: 15px;
    
}
#r_ad1200i {
    position: absolute;
    width: 160px;
    height: 600px;
    display: inline-block;
    right: 200px;
    top: 10px;
}
#r_ad1200d {
    position: absolute;
    width: 160px;
    height: 600px;
    display: inline-block;
    right: 15px;
    top: 10px;
}

#r_ad800 {
    display: none;
}
.b_ad1200 {
    display: inline-block;
    width: 1180px;
    height: auto;
    margin-left: 5px;
    background: linear-gradient(to bottom, white, #d9d9d9);
    margin-bottom: 10px;
    margin-top: 10px;
    box-shadow: 2px 2px 10px black;

}
.b_ad800 {
    display: none;
}
#resultimg {
        width: 640px;
}

.coupes {
    width: 80px;
    position: relative;
    border-width: 2px;
    border-style: solid;
    border-color: white;
    border-radius: 15px;
    margin-top: 25px;
    box-shadow: 1px 1px 2px black;
}

#coloring {
    position: absolute;
    width: 360px;
    height: 160px;
    top: 220px;
    left: 0;
}

.colors {
    display: inline-block;
    width: 50px;
    height: 50px;
    position: relative;
    border-width: 2px;
    border-style: solid;
    border-color: white;
    border-radius: 15px;
    margin-top: 25px;
    box-shadow: 1px 1px 2px black;
}

#frimousse {
    position: absolute;
    right: 0;
    top: 0;
    width: 320px;
    height: 350px;
}

#fbphoto {
    position: absolute;
    width: 300px;
    height: auto;
    top: 40px;
    right: 5px;
    border-color: white;
    border-width: 5px;
    border-style: solid;
    border-bottom-width: 25px;
    box-shadow: 1px 1px 2px black;
    z-index: 15;
}

#moustache {
    z-index: 25;
    position: absolute;
#fbphoto {
    position: absolute;
    width: 300px;
    height: auto;
    top: 40px;
    right: 5px;
    border-color: white;
    border-width: 5px;
    border-style: solid;
    border-bottom-width: 25px;
    box-shadow: 1px 1px 2px black; }
    top: 4;
    right: 5px;
    top: 40px;
}

#abs {
    z-index: 100;
    position: absolute;
    top: 33px;
    width: 300px;
    /* height: 25px; */
    right: 8px;
    /* background-color: rgba(0,0,0,0.5); */
}

#ord {
    z-index: 100;
    position: absolute;
    top: 186px;
    width: 300px;
    /* height: 25px; */
    right: 161px;
    transform: rotate(90deg);
}
#cutting {
    width: 360px;
    
}

}

/* MOBILE */
@media (max-width: 800px){
body {
width: 100%;
height: 100%;
left: 0;
}

.font-scale {
        font-size: large;
}

.act_step {
    height: 450px;
}
#main_titleweb {
    height: 40px;
}
#maincontent {
    top: 140px;
        width: calc(100% - 10px);
}
#bottom {
    font-size: small;
}
#langselect {
    top: 45px;
    left: 15px;
}
#ad_mobiletop {
    top: 80px;
    display: block;
}
#ad_mobilebottom {
    display: inline-block;
}
.mainlist_element {
    width: calc(100% - 15px);
    left: 5px;
    position: relative;
    margin-bottom: 15px;
    
}
#activity {
    width: calc(100% - 10px);
    height: auto;
}
#step1 b {
display: none;
}
#resultimg {
    width: calc(100% - 10px);
    height: auto;
}
#SC_TBlock_299184 {
    display: block;
    position: fixed;
    z-index: 3000;
    bottom: 0;
    left: 0;
}
#friendselect, #janken {
width: calc(100% - 10px);
    height: calc(100% - 10px);
    top: 5px;
    left: 5px;
    position: absolute;
    background: url('/media/pages/1/wall.png'),linear-gradient(to bottom, green, black);
    border-radius: 25px;
}
#friendselect h2, #janken h2, #janken h3 {
    color: white;
    text-shadow: 2px 2px 1px black;
    z-index: 10;
    float: left;
    font-size: larger;
    text-align: center;
    width: 100%;
    left: 0;
    margin-left: 0;
}
#friendlist {
    position: absolute;
    top: 10%;
    left: calc(5% - 3px);
    width: 90%;
    height: 50%;
    margin-left: 0;
    background-color: rgba(255,255,255,0.7);
    overflow-y: scroll;
    border-style: ridge;
}
.friendpic {
    float: left;
    width: 31%;
    height: auto;
    position: relative;
    border-radius: 10px;
    margin-top: 1%;
    margin-left: 1%;
    border-style: solid;
    border-width: 2px;
    border-color: transparent;
}
#r_friendlist {
    width: 90%;
    height: 21%;
    bottom: 15%;
    left: 5%;
    position: absolute;
    border-radius: 100px;
    background-color: rgba(0,0,0,0.5);
    text-align: left;
}
#current_friendimg {
    width: auto;
    height: 100%;
    position: absolute;
    border-radius: 50%;
}
#current_friendname {
    font-size: larger;
    color: white;
    font-weight: bold;
    float: right;
    margin-right: 10px;
    margin-top: 11%;
    text-shadow: 2px 2px 1px black;

}
#b_friendlist {
    bottom: 0;
    position: absolute;
    transform: scale(0.6, 0.6);
    width: 200%;
    left: -50%;
    bottom: 5%;
    text-align: center;
}
    .janken_card {
    width: 28%;
    margin-top: 75%;
    margin-left: 1%;
    border-style: dashed;
    border-width: 3px;
    border-color: transparent;
    }
    #r_janken {
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    height: 40%;
    background-color: rgba(0,0,0,0.5);
    }
    #janken_epic {
    top: 5px;
    left: 5px;
    width: auto;
    height: 50%;
    position: absolute;
    border-radius: 50%;
    }
    #janken_enemy {
    width: auto;
    height: 90%;
    position: absolute;
    top: 5%;
    right: 5px;
    }
    #janken_comment {
    color: white;
    font-size: larger;
    font-weight: bold;
    text-shadow: 1px 1px 10px black;
    top: 18%;
    left: 35%;
    position: absolute;
    }
    .janken_score {
    position: relative;
    width: 50px;
    height: 50px;
    margin-top: 35%;
    margin-left: 2%;
    float: left;
        display: none;

}
.coupes {
    width: 20%;
    position: relative;
    border-width: 2px;
    border-style: solid;
    border-color: white;
    border-radius: 15px;
    /* margin-top: 25px; */
    box-shadow: 1px 1px 2px black;
}

#coloring {
    position: relative;
    width: 100%;
    height: auto;
    margin-top: 10px;
    left: 0;
        z-index: 100;

}

.colors {
    display: inline-block;
    width: 15%;
    height: 25px;
    position: relative;
    border-width: 2px;
    border-style: solid;
    border-color: white;
    border-radius: 15px;
    margin-top: 10px;
    box-shadow: 1px 1px 2px black;
}

#frimousse {
position: relative;
    left: 30px;
    /* bottom: calc(50% - 125px); */
    width: 100%;
    height: 250px;
    /* transform: scale(0.7); */
    /* top: -50px; */
    /* margin-bottom: 100px; */
}

#fbphoto {
    position: absolute;
    width: 300px;
    height: auto;
    top: 40px;
    right: 5px;
    border-color: white;
    border-width: 5px;
    border-style: solid;
    border-bottom-width: 25px;
    box-shadow: 1px 1px 2px black;
    z-index: 15;
}

#moustache {
    z-index: 25;
    position: absolute;
#fbphoto {
    position: absolute;
    width: 300px;
    height: auto;
    top: 40px;
    right: 5px;
    border-color: white;
    border-width: 5px;
    border-style: solid;
    border-bottom-width: 25px;
    box-shadow: 1px 1px 2px black; }
    top: 4;
    right: 5px;
    top: 40px;
}

#abs {
    z-index: 100;
    position: absolute;
    top: 33px;
    width: 300px;
    /* height: 25px; */
    right: 8px;
    /* background-color: rgba(0,0,0,0.5); */
}

#ord {
    z-index: 100;
    position: absolute;
    top: 186px;
    width: 300px;
    /* height: 25px; */
    right: 161px;
    transform: rotate(90deg);
}

#cutting {
    position: relative;
    width: 100%;
    height: auto;
    top: 10px;
    left: 0;
        z-index: 100;

}
#finished {
       bottom: 20px;
    position: absolute;
    width: 100px;
    left: calc(50% - 50px);
}
.act_step_s2 {
    height: 650px;
}
}