/* =====================
	GENERAL ELEMENTS
   ===================== */

/* basic */
@font-face {
    font-family:TypewriterSerial;
    src:url(TypewriterSerial-Regular.ttf);
}
* {margin:0; padding:0; font-style:normal; font-weight:normal;}
html {width:100%; height:100%;}
body {width:100%; height:100%; color:#444982; background-color:#ededed; font-family:TypewriterSerial, "Courier New", Courier, monospace; font-size:31px; text-align:center;}
p {margin:0 0 1.2em; clear:both;}
strong {font-weight: bold;}
em {font-weight: bold; font-style:italic;}
img {border:0px; max-width:100%; width:auto; height:auto; display:block;}


/* link */
a:link {color:#444982; text-decoration:none;}
a:visited {color:#444982; text-decoration:none;}
a:active {color:#2f68a0; text-decoration:none;}
a:hover {color:#2f68a0; text-decoration:underline;}


/* =====================
	CONTAINER ELEMENTS
   ===================== */  

/* container */
.box_outer {width:2556px; height:1440px; text-align:center; margin:auto; max-width:2556px; max-height:1440px;}
.box {width:85%; height:85%; margin:auto;}

/* different background for each sections */
.bg_home {width:100%; height:100%; background-image:url(images/bg/bg_home.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}
.bg_characters {width:100%; height:100%; background-image:url(images/bg/bg_characters.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}
.bg_clips {width:100%; height:100%; background-image:url(images/bg/bg_clips.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}
.bg_games {width:100%; height:100%; background-image:url(images/bg/bg_games.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}
.bg_fanlab {width:100%; height:100%; background-image:url(images/bg/bg_fanlab.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}
.bg_bottomlinks {width:100%; height:100%; background-image:url(images/bg/bg_bottomlinks.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}


/* =====================
	HEADER ELEMENTS
   ===================== */
   
.header {width:100%; height:24.16666666666667%; float:left; clear:both;}
.logo {width:22.1875%; float:left; position:relative; left:1.3265306122449%;}

.top_menu {width:5.5%; height:auto; float:right; padding:0.5% 0.8%; position:relative; left:0; top:18%;}
.top_menu li {float:left; list-style:none; width:100%;}
   

/* =====================
	MENU ELEMENTS
   ===================== */
   
.menu {width:64.453125%; height:auto; position:relative; left:7.14285714285714%; top:0; float:left;}
.menu li {float:left; list-style:none; width:20%;}

/* menu rollover */
.menu li a.menurollover {
  display:block;
  text-align:center;
  width:100%;
  height:auto;
}
.menu li a.menurollover:hover img {
  transform:scale(1.05,1.05);
}


/* =====================
	MAIN ELEMENTS
   ===================== */

/* main area below menu above footer (different for each page) */ 

/* HOME BG */
.main_home {width:100%;margin-top:20px; height:73.33333333333333%; float:left; clear:both; background-image:url(images/home/main_home.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}


/* CHARACTERS BG */
.main_lili {width:100%; height:73.33333333333333%; float:left; clear:both; background-image:url(images/characters/main_lili.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}
.main_lola {width:100%; height:73.33333333333333%; float:left; clear:both; background-image:url(images/characters/main_lola.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}
.main_papa {width:100%; height:73.33333333333333%; float:left; clear:both; background-image:url(images/characters/main_papa.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}
.main_khaleh {width:100%; height:73.33333333333333%; float:left; clear:both; background-image:url(images/characters/main_khaleh.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}
.main_mrsoldstein {width:100%; height:73.33333333333333%; float:left; clear:both; background-image:url(images/characters/main_mrsoldstein.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}
.main_ivan {width:100%; height:73.33333333333333%; float:left; clear:both; background-image:url(images/characters/main_ivan.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}
.main_baba {width:100%; height:73.33333333333333%; float:left; clear:both; background-image:url(images/characters/main_baba.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}
.main_kensington {width:100%; height:73.33333333333333%; float:left; clear:both; background-image:url(images/characters/main_kensington.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}
.main_mama {width:100%; height:73.33333333333333%; float:left; clear:both; background-image:url(images/characters/main_mama.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}


/* CLIPS BG */
.main_clips {width:100%; height:73.33333333333333%; float:left; clear:both; background-image:url(images/clips/main_clips.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}


/* FAN LAB BG */
.main_fanlab {width:100%; height:73.33333333333333%; float:left; clear:both; background-image:url(images/fanlab/main_fanlab.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}
.main_fanlab_submit {width:100%; height:73.33333333333333%; float:left; clear:both; background-image:url(images/fanlab/main_fanlab_submit.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}
.main_wallpapers {width:100%; height:73.33333333333333%; float:left; clear:both; background-image:url(images/fanlab/main_wallpapers.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}
.main_bookmarks {width:100%; height:73.33333333333333%; float:left; clear:both; background-image:url(images/fanlab/main_bookmarks.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}
.main_fanlab_coloring {width:100%; height:73.33333333333333%; float:left; clear:both; background-image:url(images/fanlab/main_fanlab_coloring.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}
.main_fanlab_alphabet {width:100%; height:73.33333333333333%; float:left; clear:both; background-image:url(images/fanlab/main_fanlab_alphabet.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}


/* GAMES BG */
.main_games {width:100%; height:73.33333333333333%; float:left; clear:both; background-image:url(images/games/main_games.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}
.main_colouring {width:100%; height:73.33333333333333%; float:left; clear:both; background-image:url(images/games/main_colouring.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}
.main_memorising {width:100%; height:73.33333333333333%; float:left; clear:both; background-image:url(images/games/main_memorising.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}
.main_quiz {width:100%; height:73.33333333333333%; float:left; clear:both; background-image:url(images/games/main_quiz.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}


/* BOTTOM LINKS BG */
.main_privacy {width:100%; height:73.33333333333333%; float:left; clear:both; background-image:url(images/bottomlinks/main_privacy.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}
.main_termsofuse {width:100%; height:73.33333333333333%; float:left; clear:both; background-image:url(images/bottomlinks/main_termsofuse.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}
.main_contactus {width:100%; height:73.33333333333333%; float:left; clear:both; background-image:url(images/bottomlinks/main_contactus.png); background-repeat:no-repeat; -webkit-background-size: 100% auto; -moz-background-size:100% auto; -o-background-size:100% auto; background-size:100% auto;}



/* =====================
	CONTENTS ELEMENTS
   ===================== */

/* contents area */ 
.contents {width:71.953125%; height:82.1969696969697%; margin:3.6% 0 0 15.2%; padding:0; float:left; clear:both; text-align:left; display:block; overflow:hidden; scrollbar-face-color:#2b6cc3; scrollbar-track-color:#3e88d2; scrollbar-arrow-color:#3e88d2; scrollbar-highlight-color:#2b6cc3; scrollbar-shadow-color:#2b6cc3; scrollbar-3dlight-color:#2b6cc3; scrollbar-darkshadow-color:#2b6cc3;}
.contents_clips {width:71.953125%; height:82.1969696969697%; margin:1.5% 0 0 20.5%; padding:0; float:left; clear:both; text-align:left; display:block; overflow:auto; scrollbar-face-color:#2b6cc3; scrollbar-track-color:#3e88d2; scrollbar-arrow-color:#3e88d2; scrollbar-highlight-color:#2b6cc3; scrollbar-shadow-color:#2b6cc3; scrollbar-3dlight-color:#2b6cc3; scrollbar-darkshadow-color:#2b6cc3;}

.requiredfield {color:#444982;}


/* =====================
	ROLLOVER ELEMENTS
   ===================== */

/* characters thumbnail rollover */
li a.rollover {
  display:block;
  text-align:center;
  width:100%;
  height:auto;
}
li a.rollover:hover img {
  opacity:0.8;
}


/* =====================
	CHARACTERS ELEMENTS
   ===================== */

.text_characters {width:100%; height:100%; line-height:1.3em;}

.characters_thumbnail_column {width: 8%;
       width: 8%;
    height: 100%;
    float: left;
    margin-left: 3%;
    overflow-y: scroll;
    padding-right: 15px;
    scrollbar-color: #a7030300 #3e88d2;}
.characters_thumbnail_column ul li {float:left; clear:both; list-style:none; width:100%; margin-bottom:18%; background-color:#fff;}
.characters_thumbnail_column ul .last{float:left; clear:both; list-style:none; width:100%; margin-bottom:0;}

.characters_title {width:57.7209797657082%; float:left; clear:both;}

.characters_text_left {width:55%; height:100%; float:left; text-align:left; padding-left:7%;}
.characters_text_left img {margin:5% 0 3% 0;}

.characters_text_right {width:55%; height:100%; float:right; text-align:right; padding-right:6%;}
.characters_text_right img {margin:5% 0 3% 42%;}


/* =====================
	CLIPS ELEMENTS
   ===================== */

.text_clips {width:100%; height:100%;}

.clips_thumbnail_column {width:24.9728555917481%; height:auto; float:left; margin:8% 0 0 0;}
.clips_thumbnail_column ul li {float:left; list-style:none; width:43.47826086956522%; margin:0 6.52173913043478% 6.52173913043478% 0; background-color:#fff;}

.clips_showcase {width:61.5%; height:auto; float:left; text-align:center; margin:8% 0 0 2%;}
.clips_showcase .clips_container {
	margin:0;
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 2%;
	height: 0;
}
.clips_showcase .clips_container iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.tv_times {width:15.47231270358306%; height:auto; float:right;}


/* =====================
	GAMES ELEMENTS
   ===================== */

.text_games {width:100%; height:100%;}

.games_thumbnail {width:92.29098805646037%; height:auto; float:left; margin:10% 0 0 5%;}
.games_thumbnail ul li {float:left; list-style:none; width:28.82352941176471%; margin:0 4% 0 0; background-color:#fff;}

.games_swf_colouring {width:70%; height:100%; margin:0 auto; position: relative;}
.games_swf_colouring object {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


/* =====================
	FAN LAB ELEMENTS
   ===================== */

.text_fanlab {width:100%; height:100%;}

.fanlab_left {width:50%; height:auto; float:left; margin:12% 0 0 0; text-align:center;}
.fanlab_left ul li {float:left; clear:both; list-style:none; width:100%; margin:0 0 4% 0; font-size:110%;}

.fanlab_right {width:48%; height:auto; float:right; margin:10% 0 0 2%; text-align:center; line-height:1.3em;}
.fanlab_right img {width:65.36816681069822%; height:auto; clear:both; margin:5% auto 0;}

/* fan lab - submit */
.fanlab_right_submit {width:44%; height:78%; float:right; margin:3% 2% 0 0; text-align:left; line-height:1.8em; background-color:#74a9df; padding:2%; color:#fff; font-size:90%;}
.fanlab_right_submit .formrow {width:100%; float:left; clear:both; margin-bottom:2%;}
.fanlab_right_submit .formrow_submit {width:100%; float:left; clear:both; margin-bottom:2%; text-align:center;}
.fanlab_right_submit .formname {width:28%; float:left;}
.fanlab_right_submit .forminput {width:72%; float:right;}
.fanlab_right_submit .forminput input {width:100%;}
.fanlab_right_submit .forminput .firstname {width:56%;}
.fanlab_right_submit .forminput .age {width:23%;}

/* fanlab - alphabet */
.fanlab_alphabet_thumbnail_top {width:92.29098805646037%; height:auto; float:left; margin:3% 0 0 7%; text-align:center;}
.fanlab_alphabet_thumbnail_top img {width:47%; margin:0 auto 0; background-color:#fff;}

.fanlab_alphabet_thumbnail {width:92.29098805646037%; height:auto; float:left; margin:3% 0 0 7%;}
.fanlab_alphabet_thumbnail ul li {float:right; list-style:none; width:22%; margin:0 3% 3% 0; background-color:#fff;}

.fanlab_alphabet_thumbnail_bottom {width:92.29098805646037%; height:auto; float:left; margin:0% 0 0 7%; text-align:center;}
.fanlab_alphabet_thumbnail_bottom img {width:47%; margin:0 auto 3%; background-color:#fff;}

/* fan lab - wallpaper */
.fanlab_wallpaper_thumbnail {width:92.29098805646037%; height:auto; float:left; margin:1% 0 0 6%;}
.fanlab_wallpaper_thumbnail ul li {float:left; list-style:none; width:42.11764705882353%; margin:0 6% 3% 0; background-color:#fff;}


/* fanlab - colouring */
.fanlab_colouring_thumbnail {width:92.29098805646037%; height:auto; float:left; margin:5% 0 0 7%;}
.fanlab_colouring_thumbnail ul li {float:left; list-style:none; width:22%; margin:0 3% 3% 0; background-color:#fff;}
.fanlab_colouring_thumbnail img {
    border: 0px;
    max-width: 100%;
    width: 100%;
    height: 130px;
    display: block;
    object-fit: contain;
}

/* fan lab - bookmarks */
.fanlab_bookmarks_thumbnail {width:92.29098805646037%; height:auto; float:left; margin:6% 0 0 4%;}
.fanlab_bookmarks_thumbnail ul li {float:left; list-style:none; width:11%; margin:0 0 1% 1%; background-color:#fff; border:1px #999999 solid;}


/* =====================
	BOTTOM LINKS ELEMENTS
   ===================== */

/* bottom links title */
.bottomlinks_title {width:58%; float:left; clear:both; margin:4% 0 3%;}
.bottomlinks_title_contactus {width:42%; float:left; clear:both; margin:3% 0 1%;}

/* privacy policy, terms of use */
.text_bottomlinks {width:61%; height:100%; color:#3e88d2; padding:0 27% 0 12%; font-size:65%;}

/* conactus */
.text_contactus {width:84%; height:100%; color:#3e88d2; padding:0 4% 0 12%;}
.contactform_row {width:100%; float:left; clear:both; margin:0.5% 0;}
.contactformfield {width:15%; float:left;}
.contactforminput {float:left; margin-right:1%;}
.contactformsubmit {width:100%; text-align:center;}
.contactformsubmitbutton {padding:0.5% 2% 1%; border:none; margin:1% auto 1%; background-color:#3e88d2; color:#fff; font-weight:bold;} 



/* =====================
	FORM ELEMENTS
   ===================== */

input, select, textarea {background-color:#fff; border:1px solid #fff; color:#444982; font-size:90%; font-family:TypewriterSerial, "Courier New", Courier, monospace;}
.submitbutton {padding:1% 4% 2%; border:none; margin:0 auto; background-color:#3e88d2; color:#fff; font-weight:bold;} 

/* =====================
	FOOTER ELEMENTS
   ===================== */
   
/* footer */
.footer {width:100%; margin:0; padding:0; float:left; clear:both; text-align:center; font-size:92%;}
  
/* textlink */
.textlinks {float:left; position:relative; left:50%;}
.textlinks li {float:left; position:relative; left:-50%; list-style:none; color:#2f68a0;}
.textlinks a:link {color:#2f68a0; text-decoration:none;}
.textlinks a:visited {color:#2f68a0; text-decoration:underline;}
.textlinks a:active {color:#444982; text-decoration:underline;}
.textlinks a:hover {color:#444982; text-decoration:underline;}

/* credit */
.credit {width:100%; margin:0.8% 0 0; padding:0; float:left; clear:both; text-align:center; color:#2f68a0; font-size:60%;}

/* footer cfm logo */
.footer_cfm_logo {width:100%; margin:0 auto 0; padding:0; float:left; clear:both;}
.footer_cfm_logo img {width:7%; margin:0.5% auto 0;}


/* =====================
	RESPONSIVE DESIGN ELEMENTS
   ===================== */
   
/* === WIDTH AND HEIGHT SETTINGS FOR BREAKPOINTS === */
@media screen and (max-width:2559px) {
.box_outer {width:2048px; height:1152px; text-align:center; margin:auto; max-width:2048px; max-height:1152px; font-size:80%;}
}
@media screen and (max-width:2047px) {
.box_outer {width:1920px; height:1080px; text-align:center; margin:auto; max-width:1920px; max-height:1080px; font-size:75%;}
}
@media screen and (max-width:1919px) {
.box_outer {width:1680px; height:945px; text-align:center; margin:auto; max-width:1680px; max-height:945px; font-size:65.625%;}
}
@media screen and (max-width:1679px) {
.box_outer {width:1600px; height:900px; text-align:center; margin:auto; max-width:1600px; max-height:900px; font-size:62.5%;}
}
@media screen and (max-width:1599px) {
.box_outer {width:1440px; height:810px; text-align:center; margin:auto; max-width:1440px; max-height:810px; font-size:56.25%;}
}
@media screen and (max-width:1439px) {
.box_outer {width:1366px; height:765px; text-align:center; margin:auto; max-width:1366px; max-height:765px; font-size:53.359375%;}
}
@media screen and (max-width:1365px) {
.box_outer {width:1280px; height:720px; text-align:center; margin:auto; max-width:1280px; max-height:720px; font-size:50%;}
}
@media screen and (max-width:1279px) {
.box_outer {width:1024px; height:576px; text-align:center; margin:auto; max-width:1024px; max-height:576px; font-size:40%;}
}
@media screen and (max-width:1023px) {
.box_outer {width:960px; height:540px; text-align:center; margin:auto; max-width:960px; max-height:540px; font-size:37.5%;}
}
@media screen and (max-width:959px) {
.box_outer {width:854px; height:480px; text-align:center; margin:auto; max-width:854px; max-height:480px; font-size:33.359375%;}
}
@media screen and (max-width:853px) {
.box_outer {width:800px; height:450px; text-align:center; margin:auto; max-width:800px; max-height:450px; font-size:31.25%;}
}
@media screen and (max-width:799px) {
.box_outer {width:720px; height:405px; text-align:center; margin:auto; max-width:720px; max-height:405px; font-size:28.125%;}
}
@media screen and (max-width:719px) {
.box_outer {width:640px; height:360px; text-align:center; margin:auto; max-width:640px; max-height:360px; font-size:25%;}
}


/* =====================
	UTILITIES
   ===================== */
   
/* colour

Dark Blue (text color)		#444982
Blue (footer link color) 	#2f68a0

*/
.new_games_thumbnail{
	width:80%;
	margin:0 auto;
}

.new_games_thumbnail ul{
	width:100%;
	list-style:none;
}

.new_games_thumbnail ul li{
	width:20%;
	margin-left: 5%;
	float:left;
}

/** for scrollbar thumbnail**/

.fanlab_colouring_thumbnail ul {
	scrollbar-color: transparent #3e88d2;
}
.fanlab_colouring_thumbnail ul::-webkit-scrollbar {
	width: 12px;
}
.fanlab_colouring_thumbnail ul::-webkit-scrollbar-track-piece {
	background-color: transparent;
}
.fanlab_colouring_thumbnail ul::-webkit-scrollbar-thumb:vertical {
    height: 30px;
    background-color: #3e88d2;
}
