/* start10.css */

body {
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    }

h2 {
    margin: 0 auto;
    font-size: 35px;
    margin: 10px;
}
h4 {
    margin-top: 10px;
    margin-bottom: 5px;
}
h5 {
    margin-top: 10px;
    margin-bottom: 5px;
}
.topDiv {
/*    padding:0.01em 16px; */
    padding:0.01em;
    color:#000!important;
    background-color:#ff9800!important;
    text-align:center;
}
.menuIcon {
    border:none;
    padding:4px 16px;
    vertical-align:middle;
    overflow:hidden;
    text-decoration:none;
    color:inherit;
    background-color:inherit;
    text-align:center;
    cursor:pointer;
    white-space:nowrap;
    font-size:24px;
    float:left;
}
.menu {
    height:100%;
    position:fixed!important;
    overflow:auto;
    box-shadow:0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
    z-index: 200;
    display:none;
    width:40%;
    min-width:300px;
    font-size:16px;
    animation:animateleft 0.4s;
}
@keyframes animateleft{from{left:-300px;opacity:0} to{left:0;opacity:1}}
.menuItem {
    width:100%;
    text-align:left;
    padding:8px 16px;
    background-color:#ccc;
    color:#000;
    display:block;
    border:none;
    float:none;
    outline:0;
    cursor: pointer;
}
.flagIcon {
    border:none;
    padding:10px 10px;
    vertical-align:middle;
    overflow:hidden;
    text-decoration:none;
    color:inherit;
    background-color:inherit;
    text-align:center;
    cursor:pointer;
    white-space:nowrap;
    font-size:24px;
    float:right;
    width: 20px;
}
.container {
    text-align: center;
    padding-bottom: 5px;
    border: #000;
    background-color: lightpink;
}
.containerItem {
    width:100%;
    text-align:center;
    padding:3px 0px;
    color:#000;
    display:block;
    border:none;
    float:none;
    outline:0;
    font-size: 15px;
}

.flex-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex-column {
    height: 100%;
    width: 100%;
    flex-direction: column;
}

/*
.flex-wrap {
    flex-wrap: wrap;
    height: 432x;
    width: 432px;
}
    
.square {
    border: 1px solid rgba(0, 0, 0, .75);
    height: 28px;
    width: 258x;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
*/

/* storlek för i-phone */
.flex-wrap {
    flex-wrap: wrap;
    height: 388x;
    width: 340px;
}
    
.square {
    border: 1px solid rgba(0, 0, 0, .75);
    height: 100px;
    width: 100px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
	margin: 5px;
}
#reset-button
/*, #saveButton */
 {
    text-align: center;
    font-size: 20px;
    border: 1px solid black;
    height: 55px;
    width: 100px;
    margin: 10px;
}
.searchInput
{
	position: relative;
	width: 90%;
	padding: 12px 20px;
    margin: 8px 0;
    box-sizing: border-box;
}
.close-icon {
	position: relative;
	padding: 10px;
	border:1px solid transparent;
	background-color: transparent;
	display: inline-block;
	vertical-align: middle;
  outline: 0;
  cursor: pointer;
}
.btnSearch:enabled
{
	width: 90%;
    background-color: #4CAF50;
    border: none;
    color: white;
	margin-top: 15px;
    padding: 10px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    cursor: pointer;
}
.btnSearch:disabled
{
	width: 90%;
/*    background-color: #4CAF50; */
    background-color: rgba(60, 179, 113, 0.5);
	
    border: none;
    color: white;
	margin-top: 15px;
    padding: 10px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
}
.btnPlay:enabled
{
	width: 65%;
    background-color: #4CAF50;
    border: none;
    color: white;
	margin-top: 10px;
	margin-left: 5px;
    padding: 7px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    cursor: pointer;
}
.btnPlay:disabled
{
	width: 65%;
/*    background-color: #4CAF50; */
    background-color: rgba(60, 179, 113, 0.5);
	
    border: none;
    color: white;
	margin-top: 10px;
    padding: 10px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
}

.imgPlay
{
    margin-top: 10px;
}
.imgDivPlay
{
    float:left; 
    width:60px
}
.btnFinished:enabled
{
/*	width: 90%; */
    background-color: #4CAF50;
    border: none;
    color: white;
	margin-top: 15px;
    padding: 10px 50px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
    cursor: pointer;
}
.btnFinished:disabled
{
/*	width: 90%;
    background-color: #4CAF50; */
    background-color: rgba(60, 179, 113, 0.5);
	
    border: none;
    color: white;
	margin-top: 15px;
    padding: 10px 50px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 15px;
}
.PageHeader
{
/*        padding: 8px 0px 0px 0px;*/
	margin: 0 0 0 0;
    height:36px;
	width:100%;
    font-weight:bold;
	text-align: center;
    background-color:lightgrey;
}
.PageHeader h4
{
        padding: 8px 0px 0px 0px;
}
/* The Close Button */
.close {
  color: red;
  float: right;
  font-size: 56px;
  font-weight: bold;
  cursor: pointer;
}
.closeGame {
  position:absolute;
  top:1px;
  left:300px;
  color: red;
  font-size: 56px;
  font-weight: bold;
  cursor: pointer;
}
.NewButtonFixed
{
	float: left;
	padding: 2px 2px 0px 0px;
	vertical-align: top;
}
.TableHeader
{
	width: 150px;
	padding: 0 8px 0 8px;
    font-weight:bold;
}	
.btnSave
{
	margin: 0 0 0 20px;
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 10px 50px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    cursor: pointer;
}
.btnDelete
{
	margin: 0 0 0 20px;
    background-color: red;
    border: none;
    color: white;
    padding: 10px 50px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    cursor: pointer;
}
.playerDiv
{	position:absolute;
    display: none;
}
.player
{
	margin-bottom:10px;
	position:relative;
    padding:10px;
    border:2px;
	float:left;
	width: 25%;
	height: 51px;
}
.playerName
{
	text-align:left;
	font-size:14px;
	margin:3px;
}
.playerResult
{
	text-align:center;
	font-size:14px;
	margin:3px;
}

/*
    CSS för BallSort
*/
.containerBall{
    background-color: black;
    background-image: url('./images/background-image.png');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: white;
    min-height:100vh;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.box{
    padding: 20px 0 20px 0;
    background-color: rgb(131, 131, 131);
    box-shadow: 0px 0px 34px 0px rgba(0, 0, 0, 0.75);
    max-width: 700px;
    min-height: 200px;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: center;
    border-radius: 20px;
    margin: 0 5px;
    margin-bottom: 5px;
}

.win-box{
    position: relative;
    max-height: 400px;
    width: 200px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: rgb(175, 175, 175);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0px 0px 34px 0px rgba(0, 0, 0, 0.75);
    z-index:5;
}

.level-box{
    position: relative;
    width: 330px;
    text-align: center;
    display: flex;
    background-color: rgb(175, 175, 175);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0px 0px 34px 0px rgba(0, 0, 0, 0.75);
    flex-wrap: wrap;    
    justify-content: center;
}

.options{
    background-color: rgb(131, 131, 131);
    max-width: 700px;
    min-height: 50px;
    padding: 20px;
    box-shadow: 0px 0px 34px 0px rgba(0, 0, 0, 0.75);
    border-radius: 20px;
}
.score-btn{
    width: 100%;
    height: 50px;
    box-shadow: none;
    font-size: 18px;
    font-weight: normal;
    padding: 7px;
    margin-bottom: 20px;
    border-radius: 20px;
    font-family: 'Indie Flower',
    cursive;
    letter-spacing: 2px;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
    transition: border 0.3s ease-in-out;
    line-height: 35px;
    background-color: rgb(104, 104, 104);
    color: white;
    border: white 2px solid;
}
.reload-btn{
    height: 40px;
    border: 2px solid rgb(85, 85, 85);
    color: rgb(85, 85, 85);
    background-color: transparent;
    padding: 7px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 15px;
    transition: background-color 0.3s ease-in-out,
    border .3s ease-in-out,
    color .2s ease-in-out;
    background-color:rgb(104, 104, 104);
    color: white;
    border: white 2px solid;
}

.body-overlay{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom:0;
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    display: none;
    justify-content: center;
    align-items: center;
}

.menu-btn{
    width: 100%;
    height: 50px;
    box-shadow: none;
    font-size: 18px;
    font-weight: normal;
    padding: 7px;
    margin-bottom: 20px;
    border-radius: 20px;
    font-family: 'Indie Flower',
    cursive;
    letter-spacing: 2px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease-in-out;
    transition: border 0.3s ease-in-out;
    line-height: 35px;
    background-color: rgb(104, 104, 104);
    color: white;
    border: white 2px solid;
}

.levelOpen{
    border-radius: 5px;
    border: 2px solid black;
    width:250px;
    height:40px;
    background-color: chartreuse;
    cursor: pointer;
    text-align: center;
    color: black;
    justify-content: center;
    font-size: 1.2em;
    padding-top: 5px;
    padding-bottom: 5px;
}
.levelClosed{
    border-radius: 5px;
    border: 2px solid black;
    width:250px;
    height:40px;
    background-color: gray;
    text-align: center;
    color: white;
    justify-content: center;
    font-size: 1.2em;
    padding-top: 5px;
    padding-bottom: 5px;
}

.rectangle{
    width: 35px;
    height: 95px;
    background-color: transparent;
    border: 2px rgb(201, 201, 201) solid;
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 40px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 3px;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    position: relative;
    cursor: pointer;
}

.rectangle::before{
    position: absolute;
    content: '';
    height:5px;
    width: 46px;
    border: 2px solid rgb(201, 201, 201);
    top: -9px;
    left: -5px;
    border-radius: 5px;
}
.rectangle::after{
    position: absolute;
    content: '';
    height: 6px;
    width: 31px;
    background-color: rgb(131, 131, 131);
    top: -3px;
    left: 2px;
}
.hat {
    position: absolute;
    content: '';
    height:10px;
    width: 46px;
    border: 2px solid rgb(201, 201, 201);
    border-radius: 5px;
}

.ball{
    height: 25px;
    width: 25px;
    border-radius: 40px;
    cursor: pointer;
    margin-bottom: 2px;
    text-align: center;
    padding-top: 5px;
    color:black;
    position: absolute;
}

.ball-active{
    transform: scale(1.1);
    border: 2px solid white;
}

.ball-error{
    animation-name: shake;
    animation-duration: 0.5s;
}

.back-icon {
	position: relative;
	float: left;
	padding: 10px;
	border:1px solid transparent;
	background-color: transparent;
	display: inline-block;
	vertical-align: middle;
  	outline: 0;
  	cursor: pointer;
}
.back-icon:after {
	content: "<";
	display: block;
	width: 15px;
	height: 15px;
	position: absolute;
	background-color: orange;
	z-index:1;
	left: 5px;
	top: 2px;
	bottom: 0;
	margin: auto;
	padding: 2px;
	border-radius: 50%;
	text-align: center;
	color: blackback-icoHelp;
	font-weight: normal;
	font-size: 12px;
	box-shadow: 0 0 2px #E50F0F;
	cursor: pointer;
}
.resultTable
{
	max-width: 100%;
	margin: 0 0 0 0;
}

/*.TableHeader*/
.resultTable th
{
    padding: 0 8px 0 8px;
    height:28px;
    font-weight:bold;
	text-align: center;
    background-color:silver;
	border-bottom: 1px solid white;
}

.resultTable tr:nth-child(even)
{
    padding: 0 8px 0 8px;
    height:28px;
	background-color: white;
}
.resultTable tr:nth-child(odd)
{
    padding: 0 8px 0 8px;
    height:28px;
	background-color: lightgrey;
}
.colDatum
{
	width: 70px;
	text-align: left;
	padding: 0 0 0 5px;
}
.colComment
{
	max-width: 500px;
	text-align: left;
	padding: 0 0 0 5px;
}
.colTemp
{
	width: 70px;
	text-align: center;
}
.item {
	position: relative;
	margin: 1px 0;
    padding-top: 10px;
}
.item span {
	color: red;
}
.btn-block {
	margin-top: 10px;
	text-align: center;
}
.barBorder{
    border:1px solid #ccc!important;
/*    width: 200px; */
    width: 100%;;
    height:24px;
    text-align: right;
    padding-top: 3px;
}
.scoreBar {
    color:#000!important;
    background-color:#9e9e9e!important;
    height:24px;
	text-align: center;
    padding-top: 3px;
}
.w3-modal{z-index:30;display:none;padding-top:100px;position:fixed;left:0;top:0;width:100%;height:100%;overflow:auto;background-color:rgb(0,0,0);background-color:rgba(0,0,0,0.4)}
.w3-modal-content{margin:auto;background-color:#fff;position:relative;padding:0;outline:0;width:600px}
