@CHARSET "UTF-8";
#containerCanvas{
	text-align: center;
	background: #fff;
}

canvas{ cursor: pointer; }
canvas:active{ cursor: pointer; }

article#game{ 
	margin-top: 0;
	/* display: flex;
	flex-wrap: wrap; */
	position: relative;
}

#games article#game{ position: static; margin-top: 50px; }

/* ----- START -> COLORING BOOK TOOLS ----- */
ul.coloring_tools{
    width: 590px;
    width: 400px;
    width: 250px;
	/* width: 73vh;
	width: 55vh; */
	/* width: 23.45vh;  */
	/* width: 155px; */
    /* height: 510px; */
    /* margin-left: 20px; */
    /* width: 100%; */
	/* height: 55px; */
    position: absolute;
    display: flex;
	justify-content: space-between;
    /* flex-direction: column; */
    /* top: calc(50%); */
	/* top: 30%; */
	/* top: calc(50% + 30vh); */
	/* top: calc(50% + 315px); */
    /* left: calc(50% + 488px); */
	top: 102%;
	left: 50%;
	/* right: 12.5vh; */
    /* transform: translate(-50%, -50%); */
    transform: translateX(-50%);
    list-style: none;
    padding: 0;
	z-index: 10;
	margin-bottom: 0;
	flex-wrap: wrap;
}
ul.coloring_tools li{ 
	color: #fff; 
	font-size: 12px;
	font-weight: bold;
	cursor: pointer;
	/* margin: 5px; */
	margin-top: 0;
	margin-bottom: 0.8vh;
	display: flex;
    align-items: center;
	/* font-size: 1.8vh; */
	/* padding: 3vh; */
	/* width: calc(50% - 0.4vh); */
	min-width: 46px;
	text-align: center;
}
ul.coloring_tools li p{
	margin-bottom: 0;
	width: 100%;
	text-align: center;
	/* font-size: 1.8vh;
	line-height: 2vh; */
}
ul.coloring_tools li:hover{ color: #ffed00; }
ul.coloring_tools li.active_tools{ color: #ffed00; }

ul.coloring_tools li.tools_btn{
	background: #e00083;
	min-height: 46px;
	/* height: 5vh; */
	height: 46px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px; 
 	border-radius: 10px; 	
}

#descarga{
	padding: 0;
}
#descarga form{
	width:100%;
	height: 100%;
}
#save_img_btn{
	font-family: 'Raleway', sans-serif;
	/* background: #e00083 url("../img/coloring/bg_scarica_disegno.png") no-repeat 0px 0px; */
	background-color: #e00083; 
	background-repeat: no-repeat;
	background-position: center;
	background-image: url("../img/coloring/download.svg");
	background-size: 65% 65%;
	/* height: 46px; */
	/* width: 130px;  */
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px; 
 	border-radius: 10px;
 	border: 0;	
	color: #fff; 
	/* font-size: 12px; */
	font-weight: bold;
	text-align: left;
	cursor: pointer;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}
/* #save_img_btn p{
	width: 45%;
} */
#save_img_btn:hover{ 
	color: #ffed00; 
}

/* #save_img_btn, 
#reset, 
#rubber{ 
	padding-left: 50px; 
} */
/* #reset, #brush_size{ 
	height: 37px; 
	padding-top: 9px;
 } */
#reset{ 
	/* background: #e00083 url("../img/coloring/bg_reset.png") no-repeat -2px 0px; */
	background-color: #e00083; 
	background-repeat: no-repeat;
	background-position: center;
	background-image: url("../img/coloring/reset.svg");
	background-size: 65% 65%;
	/* padding-right: 1vh; */
}
#rubber{ 
	/* width: 58px; */
	/* line-height: 45px; */
	/* padding-right: 1vh; */
	/* background: #e00083 url("../img/coloring/bg_rubber.png") no-repeat -3px 0px; */
	background-color: #e00083; 
	background-repeat: no-repeat;
	background-position: center;
	background-image: url("../img/coloring/gomma.svg");
	background-size: 65% 65%;
}
#brush_size{ 
	width: 95px; 
	/* text-align: center; */
	position: relative;
	z-index: 10;
	justify-content: center;
	margin-bottom: 0;
	/* padding: 0 1vh; */
}

#contieniBrushSize{
	display: flex;
	align-items: center;
	justify-content: center;
}
/* ---------- START -> INSTRUCTIONS ----------- */
div#instructions{ color: #474748; font-size: 13px; position: absolute; top: 50px; }
div#instructions div{ width: 290px; height: 219px; background: url("../img/coloring/bg_instructions_up.png") no-repeat; position: absolute; z-index: 1005; }
#instructions #i_delete_image, #instructions #i_brush_size{ background: url("../img/coloring/bg_instructions_down.png") no-repeat; }

div#instructions h3{ width: 190px; font-size: 14px; font-weight: bold; color: #fff; margin-top: 53px; margin-left: 50px; margin-bottom: 0px;}
div#instructions span{ display: block; width: 190px; margin-left: 50px;}

#instructions #i_delete_image h3, #instructions #i_brush_size h3{ margin-top: 80px; }

#i_select_image{ top: 370px; margin-left: -30px; }
div#instructions #i_select_image h3{ margin-top: 66px; margin-left: 60px; }
div#instructions #i_select_image span{ margin-left: 60px; }
#i_freehands_draw{ top: 615px; margin-left: 90px; }
div#instructions #i_freehands_draw h3{ margin-top: 66px; margin-left: 60px; }
div#instructions #i_freehands_draw span{ margin-left: 60px; }

#i_download_image{ top: 110px; margin-left: 350px; }
#i_delete_image{ top: 285px; margin-left: 400px; }
div#instructions #i_delete_image h3{ margin-top: 95px; margin-left: 50px; }
div#instructions #i_delete_image span{ margin-left: 50px; }

#i_rubber{ top: 110px; margin-left: 620px; }
div#instructions #i_rubber h3{ margin-top: 66px; margin-left: 60px; }
div#instructions #i_rubber span{ margin-left: 60px; }

#i_brush_size{ top: 285px; margin-left: 650px; }
div#instructions #i_brush_size h3{ margin-top: 95px; margin-left: 50px; }
div#instructions #i_brush_size span{ margin-left: 50px; }

#i_brush_colors{ top: 120px; margin-left: 830px; }
div#instructions #i_brush_colors h3{ margin-top: 60px; }


/* ---------- END -> INSTRUCTIONS ----------- */

#istruciones{ display: inline-block; float: left; margin-top: 17px; text-align: center; }
#istruciones{
	text-transform: uppercase;
	background: #004899;
	width: 110px;
	-webkit-border-top-right-radius: 10px;
	-moz-border-top-right-radius: 10px; 
 	border-top-right-radius: 10px;	
	-webkit-border-top-left-radius: 10px;
	-moz-border-top-left-radius: 10px; 
 	border-top-left-radius: 10px;
 	font-size: 12px;
 	height: 50px;
 	line-height: 30px;
 	font-weight: bold;
}
#istruciones:hover{ color: #ffed00; }

/* ----- Box Brush size ----- */
#brush_size_box{
    background: #fff;
   /*  width: 130px; */
	width: calc(100% - 2vh);
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
	box-shadow: 0vh 0vh 0.7vh rgb(0 0 0 / 30%);
	position: absolute;
	bottom: 100%;
	left: 1vh;
	
}
#brush_size_box ul{ 
	margin:0;
	padding: 0;
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
#brush_size_box li{ 
	border: 2px solid #ccc; 
	cursor: pointer;
	width: 50px;
	height: 50px;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px; 
 	border-radius: 15px;	
 	text-align: center;
 	margin: 7px;
	 display: flex;
	 align-items: center;
	 justify-content: center;
}

/* DIMENSIONE TRATTO */
#brush_size_box li span{ border: 2px solid #ccc; display: inline-block; background: #dedede; }
li#five span{ min-width: 5px; height: 5px; -webkit-border-radius: 5px; -moz-border-radius: 5px; border-radius: 5px;}
li#ten span{ min-width: 13px; height: 13px; -webkit-border-radius: 13px; -moz-border-radius: 13px; border-radius: 13px; }
li#twenty span{ min-width: 20px; height: 20px; -webkit-border-radius: 20px; -moz-border-radius: 20px; border-radius: 20px; }
li#thirty span{ min-width: 30px; height: 30px; -webkit-border-radius: 30px; -moz-border-radius: 30px; border-radius: 30px;}

li.selected_size{ border: 2px solid #000 !important;}

/* ----- END -> COLORING BOOK TOOLS ----- */

#sketchpad{
	/* margin-left: 20px;
	margin-right: 5px; */
 	/* margin-bottom: 20px;	
 	margin-top: -10px; */
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px; 
 	border-radius: 15px;
 	touch-action: none;
	box-shadow: 0vh 0vh 0.7vh rgb(0 0 0 / 30%);
  /* width: 350px;
  height: 302px; */
/* 	position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); */
	/* width: 73vh;
	height: 63.614vh; */
}

#brush_color{ 
	width: 77px;
	height: 510px;
	min-width: 70px;
	/* width: 6.5vh;
	height: 63.614vh; */
	background: #fff;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	box-shadow: 0vh 0vh 0.7vh rgb(0 0 0 / 30%);
	position: fixed;
	top: 50%;
	top: calc(50% - 4px);
	/* left: calc(50% + 35vh); */
	left: calc(50% + 240px);
	transform: translate(100%, -50%);
}
#brush_color form{ 
	height: calc(100% - 70px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
}
div.brush_color_panel{ width: 100%; height: 60px;
	/* background: #e00083 url("../img/coloring/brush_color.png") no-repeat bottom; */
	background-color: #e00083; 
	background-repeat: no-repeat;
	background-position: 50% 20%;
	background-image: url("../img/coloring/pennello.svg");
	background-size: 55% 55%;
	-webkit-border-top-left-radius: 15px;
	-moz-border-top-left-radius: 15px; 
 	border-top-left-radius: 15px;
 	-webkit-border-top-right-radius: 15px;
	-moz-border-top-right-radius: 15px; 
 	border-top-right-radius: 15px;
 	margin-bottom: 7px;	
	 color: White;
	 font-weight: 700;
	 font-size: 13px;
	 padding-bottom: 0px;
	 display: flex;
	 align-items: flex-end;
	 justify-content: center;
	 text-align: center;
}

#position{ height: 22px; }

.impostazioni{ padding-left: 30px; }
.impostazioni h3{ margin: 0; padding: 0; }
.impostazioni div{ margin-bottom: 10px; }

/* ----- #SIDEBAR - COLORING BOOK PAGE ----- */
#sidebar{ height: auto; padding-bottom: 20px;}
#games #sidebar{ height: auto; padding-bottom: 20px;}

/* COLORI */

span.color_choice{ 
	min-width: 50px; 
	min-height: 50px; 
	/* width: 5vh;
	height: 5vh; */
	display: block;
	cursor: pointer;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px; 
 	border-radius: 15px;
 	/* margin: 5px 0 5px 10px; */
	border: 3px solid #fff;
}
span#pink	{ background: #ff92bf; }
span#yellow	{ background: #ffcc00; }
span#red	{ background: #e30613; }
span#brown	{ background: #844700; }
span#beige	{ background: #cbbb9d; }
span#green	{ background: #12953a; }
span#light_blue	{ background: #49ccff; }
span#black	{ background: #000; }

span.selected_color{ border: 3px solid #979797 !important; }

/* IMAGE GALLERY */
div#gallery_coloring{ 
	/* position: fixed;
	left: 50%;
	transform: translateX(-45%);
	width: 590px;
	top: calc(50% + 262px); */
	position: fixed;
    /* left: calc(50% + 70vh); */
	right: 12.5vh;
    /* transform: translate(-50%, -50%); */
	transform: translateY(-50%);
    width: 25vh;
    top: 50%;
}
div#gallery_coloring form{ 
	display: flex;
	justify-content: space-between;
	/* flex-direction: column; */
	flex-wrap: wrap;
}
div#gallery_coloring span{ 
	cursor: pointer;  
	/* width: calc(100% / 6 - 14px);
	padding-top:  calc(100% / 6 - 14px); */
	/* width: 90px;
	height: 90px; */
	width: 12vh;
	height: 12vh;
	margin-bottom: 1vh;
	display: flex;
	text-align: center; 
	-moz-border-radius: 10px;
	border-radius: 10px;
	border: 0.3vh solid #fff;
	background-color: #fff;
	background-size: cover;
	box-shadow: 0vh 0vh 0.7vh rgb(0 0 0 / 30%);
}

/* div#gallery_coloring #emptyTable{ 
	position: absolute; margin-top: 8px;
 } */
span#emptyTable{
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	font-weight: bold;
	background: none;
	border: none;
	padding: 0;
	color: #e00083;
	margin: 0;
}

#image_01{ background: url("../img/coloring/animals/balena_piccola.png") no-repeat; }
#image_02{ background: url("../img/coloring/animals/cane_piccolo.png") no-repeat; }
#image_03{ background: url("../img/coloring/animals/cavallo_marino_piccolo.png") no-repeat; }
#image_04{ background: url("../img/coloring/animals/leone_piccolo.png") no-repeat; }
#image_05{ background: url("../img/coloring/animals/scoiattolo_piccolo.png") no-repeat; }

span.selected_image{ border: 0.3vh solid #e00083 !important; }

/* TOOLS */
div#tools{ width: 250px; height: 80px; float: left; padding-right: 15px; margin-right: 15px; }
span#reset{ 
	cursor: pointer;
	display: inline-block;
	text-decoration: none;
	-moz-border-radius: 5px;
	border-radius: 5px;
	background: #2ECC71;
	width: 120px;
	text-align: center;
	font-size: 18px;
	height: 30px;
	color: #fff;
	line-height: 30px;
	border-bottom: 3px solid #27AE60;
	
}
