@font-face {
    font-family: 'vagrounded_btregular';
    src: url('http://static.uptoten.com/fonts/vagroundedbt-webfont.eot');
    src: url('http://static.uptoten.com/fonts/vagroundedbt-webfont.eot?#iefix') format('embedded-opentype'),
         url('http://static.uptoten.com/fonts/vagroundedbt-webfont.woff2') format('woff2'),
         url('http://static.uptoten.com/fonts/vagroundedbt-webfont.woff') format('woff'),
         url('http://static.uptoten.com/fonts/vagroundedbt-webfont.ttf') format('truetype'),
         url('http://static.uptoten.com/fonts/vagroundedbt-webfont.svg#vagrounded_btregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

a:link img
{
    outline: none;
    border: none;
}

.clear 
{
    clear:both;
}

.wrapper 
{
    width: 100%; 
    height: 100%; 
    margin: 0 auto;
    position: relative;
}

html, body 
{ 
    margin: 0 auto;
    bottom: 0px;
    background-repeat:no-repeat; 
    background-position: top; 
    position:relative; 
    height: 100%; 
    display: block;
    overflow-x: hidden;
}                                      

.banner_grand 
{
    /*To return banner to initial position, remove the position absolute & left:0px*/
    position: absolute;
    left: 0px;
    width:160px; 
    height: 600px; 
    background-color:white; 
    display:block; 
    top: 25px;
    z-index: 10;
}

.game-container
{
    position: relative;
    padding-left: 220px;
    padding-right: 70px;
    width: 100%;
    height: 100%;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

.main 
{   
    margin: 0 auto;
    position: relative;
    width: 100%;
    height: 100%;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    padding-bottom: 115px;
}

.text 
{
    padding-top: 10px;
    position: relative;
    z-index: 2;
    margin-bottom: 1.5em;
}

.text p 
{
    margin: 0 auto;
    font-family: Verdana, Arial, sans-serif;
    font-weight: bold;
    text-align: center; 
    padding-left: 160px; 
    width: 1125px;
}     

.lien p 
{
    text-align: center; 
    padding-left: 180px; 
    width: 1125px;
}  

/* the top menu */
#top-menu
{
    height: 115px;
    background-color: black;
    position: relative;
}

#topmost 
{
    height: 40px;
    background-color: #80A8DB;
}

.kids #topmost
{
	background-color: #BECCF9;
}

#left-menu , #right-menu
{
    float: left;
    height: 75px;  
    position: relative;
}

#left-menu
{
    width: 65%;
}

#right-menu
{
    width: 35%;
}

.kids #left-menu
{
	width: 65%;
}

.kids-menu
{
	list-style: none;
	padding: 0 0;
	margin: 0 0; 
	height: 100%;
	position: relative;
}

.kids-menu li
{
	display: inline-block;
	width: 100px;
    height: 81px;
    vertical-align: top;
    position: relative;
    top: -10px;
    margin-right: 10px;
}

.kids-menu li a
{
	display: block;
	width: 100%;
	height: 100%;
	text-align: center;
	
}

.kids-menu .kids-home
{
	background: url('../images/menu/kids/home.png') no-repeat center top;
}

.kids-menu .kids-cl.fr
{
	background: url('../images/menu/kids/flag_fr.png') no-repeat center top;
}

.kids-menu .kids-cl.en
{
	background: url('../images/menu/kids/flag_en.png') no-repeat center top;
}

.kids-menu .kids-sub , .kids-menu .kids-category
{
    background-repeat: no-repeat;
    background-position: 0 0;
}

.kids-menu .kids-home , .kids-menu .kids-category , .kids-menu .kids-cl.fr , .kids-menu .kids-cl.en , .kids-menu .kids-sub
{
	background-size: 100% auto;
}

.kids-menu .kids-home:hover , .kids-menu .kids-category:hover , .kids-menu .kids-cl.fr:hover , .kids-menu .kids-cl.en:hover , .kids-menu .kids-sub:hover
{
	background-position: 0 100%;
}

.kids #right-menu
{
	width: 35%;
	position: relative;
}

.bk-games #left-menu
{
    background-color: #CCCC00;
}

.kids #left-menu
{
	background-color: #98d800;
}

.bk-games #right-menu
{
    background-color: #FF6600;   
}

.kids #right-menu
{
    background: #ffe000;;
}

.kids #slice
{
	position: absolute;
	height: 100%;
	right: 0;
	top: 0;
}

.kids #random-games
{
	display: inline-block;
}

#games-list
{
    list-style: none;
    height: 100%;
    padding: 0 0;
    margin: 0 0;
}

#games-list li
{
    display: inline-block;
    width: 95px;
    height: 100%;
    position: relative;
    vertical-align: top;
    z-index: 4;
}

#games-list li.activities
{
     width: 80px;
}

.kids #games-list li
{
	width: auto;
	height: 92%;
	-webkit-transform: translateY(-50%);
	    -ms-transform: translateY(-50%);
	     -o-transform: translateY(-50%);
	        transform: translateY(-50%);
    top: 50%;
    margin: 0 2%;
}

#games-list li a
{
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    text-decoration: none;
}

.kids #games-list li a
{
	position: static;
}

#games-list li:first-child
{
    left: -40px;
}

.kids #games-list li:first-child 
{
    left: 0;
}

#games-list li a img
{
   height: 100%;
}

#games-list li:last-child a img, #games-list li.activities a img
{
    height: 65px;
    padding:5px 0;
}

.kids #games-list li:last-child a img, , #games-list li.activities a img
{
	height: 100%;
	padding: 0 0;
}

#top-logo
{
    display: block;
    width: 350px;
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
         -o-transform: translateY(-50%);
            transform: translateY(-50%);
    left: 15%;
}

#top-logo img
{
    width: 100%;
}

#top-home, #top-flag
{
    position: absolute;
    display: block;
    top: 50%;
    margin-top: -22px;
    text-decoration: none;
}

#top-home img, #top-flag img
{
    height: 45px;
}

#top-flag
{
    right: 80px;
}

.kids #top-flag
{
	right: 320px;
}

#top-home
{
    left: 10px;
}

#more-games
{
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 40px;
    border: 3px solid black;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
    background:  #CC2128 url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0OTMuNDIxIiBoZWlnaHQ9IjMwNC4xODkiIHZpZXdCb3g9IjkuMjg5IDE5OC42NCA0OTMuNDIxIDMwNC4xODkiIGVuYWJsZS1iYWNrZ3JvdW5kPSJuZXcgOS4yODkgMTk4LjY0IDQ5My40MjEgMzA0LjE4OSI+PHBhdGggZmlsbD0iI2ZmZiIgc3Ryb2tlPSIjMDAwIiBzdHJva2Utd2lkdGg9IjEwIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik00ODIuMTU1IDIxOS4xOTZjLTIwLjUwOC0yMC41MDgtNTMuNDk0LTIwLjc3My03My42NzItLjU5NUwyNTYgMzcxLjA4NSAxMDMuNTE3IDIxOC42Yy0yMC4xNzgtMjAuMTc3LTUzLjE2NC0xOS45MTItNzMuNjcuNTk2LTIwLjUxIDIwLjUxLTIwLjc3MyA1My40OTItLjU5NiA3My42N2wxOTAgMTkwLjAwMmMxMC4wOTggMTAuMSAyMy40MDUgMTUuMDc2IDM2Ljc1IDE0Ljk2IDEzLjM0NS4xMTYgMjYuNjUyLTQuODYgMzYuNzUtMTQuOTZsMTkwLTE5MGMyMC4xNzctMjAuMTggMTkuOTEzLTUzLjE2My0uNTk1LTczLjY3MnoiLz48L3N2Zz4=) no-repeat center center;
    background-size: 40px auto;
    z-index: 7;
}

/* topmost bar */
#topmost ul
{
    list-style: none;
    padding: 0 0;
    margin: 0 0;
    text-align: right;
}

#topmost li
{
    display: inline-block;
    height: 40px;
    line-height: 40px;
    margin-left: 10px;
}

/*#topmost li.schools
{
    margin-right: 10px;
}*/

#topmost li span
{
    padding: 5px 10px;
    -webkit-border-radius: 15px 15px;
            border-radius: 15px 15px;
}

#topmost li a
{
    display: block;
    width: 100%;
    font-family: 'vagrounded_btregular';
    text-decoration: none;
    text-align: center;
    color: white;
}

#topmost li.search
{
    margin-left: 25px;
}

#topmost li.search img
{
    width: 20px;
    vertical-align: middle;
}

#topmost li.search:hover a
{
    text-decoration: underline;
}

#topmost li.without-ads span
{
    background-color: #CD2129;
}

#topmost li.parents:hover span
{
    background-color: #990066;
}

#topmost li.apps:hover span
{
    background-color: #666699;
}

#topmost li.premium:hover span
{
    background-color: #CC0000;
}

#topmost li.schools:hover span
{
    background-color: #006600;
}

/* without ads */
.premium-promo
{
    display: block;
    height: 40px;
    line-height: 40px;
    position: absolute;
    padding: 0 1em;
    right: 0;
    top: 0;
    font-family: 'vagrounded_btregular';
    background-color: #CD2129;
    color: white;
}

.premium-promo:hover
{
    color: white;
}

/* randomizer */
#randomizer
{
    position: absolute;
    z-index: 12;
    background-color: #eee;
    padding: 0.2em;
    width: 250px;
    top: 50%;
    -webkit-transform: translateY(-50%);
        -ms-transform: translateY(-50%);
         -o-transform: translateY(-50%);
            transform: translateY(-50%);
    right: -257px;
    -webkit-transition: all 0.3s  ease-in-out;
         -o-transition: all 0.3s  ease-in-out;
            transition: all 0.3s  ease-in-out;
}

#randomizer:hover
{
    right: 0;
}

#randomizer p
{
    margin: 0 0;
    font-family: Arial,Verdana,"Trebuchet MS",sans-serif;
}

#randomizer img
{
    width: 100%;
}

#randomizer p:nth-child(2)
{
    font-weight: bold;
}

#randomizer p:nth-child(2) , #randomizer p:nth-child(3)
{
    line-height: 1.3;
}

#randomizer:before
{
    content: "";
    width: 74px;
    height: 140px;
    background: url('http://static.uptoten.com/images/menu/bk_slide.png') no-repeat center center;
    background-size: 100% auto;
    position: absolute;
    top: -3%;
    left: -74px;
    cursor: pointer;
}

@media all and (max-width: 1300px) {
	.kids-menu li
	{
		width: 80px;
    	height: 65px;
    	top: -8px;
	}

	.kids #games-list li
	{
		height: 94%;
	}

	.kids #left-menu, .kids #right-menu
	{
		height: 60px;
	}

	.kids#top-menu
	{
		height: 100px;
	}
}

@media all and (max-width: 1230px) {

	.kids-menu li 
	{
	    width: 55px;
	    height: 44px;
	    top: -5px;
	}

	.kids #left-menu, .kids #right-menu 
	{
    	height: 40px;
	}

	#topmost 
	{
    	height: 30px;
	}

	.kids#top-menu 
	{
    	height: 70px;
	}

	#topmost li
	{
		height: 30px;
		line-height: 30px;
	}

    #games-list li.activities:last-child a img
    {
        display: none;
    }
}


@media all and (min-width: 1580px) {
    #top-menu
    {
        height: 130px;
    }

    .main
    {
        padding-bottom: 130px;
    }

    #left-menu , #right-menu
    {
        height: 90px;
    }

    #top-home img, #top-flag img
    {
        height: 60px;
    }

    #top-home, #top-flag
    {
        margin-top: -30px;
    }

    #top-logo
    {
        width: 450px;
        left: 17%;
    }

    #games-list li:last-child a img , #games-list li.activities a img
    {
        height: 80px;
    }

    #games-list li.activities 
    {
        width: 105px;
    }

    .kids-menu li 
    {
		width: 120px;
    	height: 97px;
    	top: -12px;
    }
}

@media all and (min-width: 1850px) {
    #top-menu
    {
        height: 150px;
    }

    .main
    {
        padding-bottom: 150px;
    }

    #left-menu , #right-menu
    {
        height: 110px;
    }

    #top-home img, #top-flag img
    {
        height: 70px;
    }

    #top-home, #top-flag
    {
        margin-top: -35px;
    }

    #top-logo
    {
        width: 500px;
        left: 20%;
    }

    #games-list li:last-child a img, #games-list li.activities a img
    {
        height: 100px;
    }

    #games-list li:first-child 
    {
        left: -53px;
    }

    .kids #games-list li:first-child 
    {
    	left: 0;
    }

    #top-flag 

    {
        right: 100px;
    }

    #randomizer
    {
        width: 300px;
        right: -307px;
    }

    #randomizer:before
    {
        width: 90px;
        height: 170px;
        left: -90px;
    }

    #games-list li.activities 
    {
        width: 132px;
    }

}


/*! Simple Hint v2.1 | Copyright (c) 2014 Catalin Covic | https://github.com/catc */
[data-hint]:after, [data-hint]:before 
{
  display: inline-block;
  pointer-events: none;
  position: absolute;
  visibility: hidden; 
}

[data-hint]:hover:after, [data-hint]:hover:before 
{
  visibility: visible; 
}

[data-hint]:before 
{
  content: "";
  border: 5px solid transparent;
  z-index: 9998; 
}

[data-hint]:after 
{
  content: attr(data-hint);
  text-align: center;
  padding: 3px 7px;
  -webkit-border-radius: 10px;
          border-radius: 10px;
  z-index: 9999;
  /*color: #3299cc;*/
  color: black;
  font-weight: 400;
  white-space: nowrap;
  font-size: 1rem;
  line-height: 1.5;
  background: #e9f0f0; 
 /* background: #f41971;*/

  font-family: 'vagrounded_btregular';
}

[class*="hint-bottom"]:before 
{
  right: 50%;
  margin-right: -5px; 
}

[class*="hint-bottom"]:after 
{
  left: 50%;
  -webkit-transform: translateX(-50%);
  -ms-transform: translateX(-50%);
  -o-transform: translateX(-50%);
     transform: translateX(-50%); 
}

[class*="hint-bottom"]:before 
{
  border-bottom-color: #e9f0f0;
  /*border-bottom-color: #f41971;*/
  top: 100%; 
}

[class*="hint-bottom"]:after 
{
  margin-top: 10px;
  top: 100%; 
}


/* added to correct positioning of tooltip*/
.bk-games #games-list [class*="hint-bottom"]:before 
{
    right: 50%;
    margin-right: 9px;
}

.bk-games #games-list [class*="hint-bottom"]:after 
{
    left: 36%;
}