#formDiv {
	border-radius: 5px;
	background-color: #f2f2f2;
	padding: 20px;
	max-width: 100px;
	float:right;
}
#form1, input[type=text]{
	width:100%;
	margin:8px 0;
	display: inline-block;
	border-radius: 4px;
}
#creaza,#reset{
	width:100%;
	background-color: magenta;
	color:white;
	border-radius: 4px;
	cursor: pointer;
} 
.dimensiune{
	width: 100%;
}
body{
	background-image: url("fundal1.jpg");

}
#matrici{
	float:left;
}
table{

	border-left:2px black solid;
	border-right:2px black solid;
	border-radius: 4px;
	background-color: white;
	text-align: center;
	padding: 10px;
}
td{
	padding: 5px;
}
.cadruTabel{
	float:left;
	display: inline-block;
	padding: 4px;
	border: 1px solid black;
	border-radius: 5px;
	background-color: white;
	margin-top: 0px;
}
.inmultire, .egal{
	margin:8% 1px;
	float:left;
	display: inline-block;
	padding: 4px;
	border: 1px solid black;
	border-radius: 5px;
	background-color: white;
}
p{
	text-align: center;
	margin:0;
	padding: 1px;
	border:0;
}

 /* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
	border-radius: 5px;
    background-color: #fefefe;
    margin: 15% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: red;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
} 


/* tooltip */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltipText {
    visibility: hidden;
    width: 20px;
    background-color: black;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
}

.tooltip:hover .tooltipText {
    visibility: visible;
}
/*end of tooltip */