body {
    background-color: #ebf0fa;
}

a.klik {
	text-decoration: none;
	color: #000000;
}

a.klik:active {
	colod: #fff;
}

a.klik:hover {
	text-decoration: underline;
	colod: #3399ff;
}

a.klik2 {
	text-decoration: none;
	color: #000000;
}

a.klik2:hover {
	text-decoration: underline;
	colod: #3399ff;
}

#content {
		border-radius: 5px 5px 10px 10px;
		display: block;
		margin: auto;
		max-width: 680px;
		background-color: #ddc;
		-moz-box-shadow: 0 0 5px 3px #9d9d9d;
		-webkit-box-shadow: 0 0 3px 5px #9d9d9d;
		box-shadow: 1px 3px 8px 2px #9d9d9d;
}

.empty {
	color: #ff0000;
}

.index {
		margin: 10px 20px 0px 20px;
		text-align: justify;
}

p.index {
		text-align: left;
		border-top:1px solid #000;
		border-bottom:1px solid #000;

}

.enterdata {
		margin: 1px 20px 0px 20px;
		text-align: justify;
}

p.enterdata {
		text-align: left;
		border-top:1px solid #000;
		border-bottom:1px solid #000;

}

#showresults {
		margin: 10px 20px 10px 20px;
	
		display: block;
		max-width: 100%;
		height: auto;
}

.footer {
		margin: 10px 20px 10px 20px;
		border-top:1px solid #000;
		text-align: center;
}

p.footer {
		padding-top: 5px;
		padding-bottom: 5px;
		font: bold 10pt;
}

.h1 {
		font: bold 14pt Arial, Helvetica, geneva;
		text-align: center;
}

.h2 {
		font: bold 10pt Arial, Helvetica, geneva;
}

.h3{
		font: bold 20pt Arial, Helvetica, geneva;
		color: #FFFFFF;
}

ul.menu {
    border-radius: 5px 5px 5px 5px;
    list-style-type: none;
    display: block;
    margin: auto;
    padding: 2px ;
    overflow: hidden;
    background-color: #333;
    max-width: 680px;

}


ul.menu li {
	margin: 0 15px 0 0;
	float: left;
}


ul.menu li a {
    display: inline-block;
    color: #f2f2f2;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    transition: 0.3s;
    font-size: 17px;
}

ul.menu li.active a {
	background-color: #555555;
	color: #ffffff;
}	

ul.menu li a:hover {
	background-color: #555555;
}

/* Domyslnie ukryj ikonke rozwiniecia */
ul.menu li.icon {
	display: none;
}


@media screen and (max-width:700px) {
  ul.menu li:not(:first-child) {
	display: none;
	}
  ul.menu li.icon {
    float: right;
    display: inline-block;
  }
}


@media screen and (max-width:700px) {
  ul.menu.responsive {
		position: relative;
	}
  ul.menu.responsive li.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  ul.menu.responsive li {
    float: none;
    display: inline;
  }
  ul.menu.responsive li a {
    display: block;
    text-align: left;
  }
}

/* MODAL1 */
#graph {
		border-radius: 5px;
		cursor: pointer;
		transition: 0.3s;
		margin: 10px 0px 0px 0px;
}

#graph:hover {opacity: 0.7;}


/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content, #caption {    
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

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

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}

/* MODAL2 */
#graph2 {
		margin: 10px 0px 0px 0px;
		border-radius: 5px;
		cursor: pointer;
		transition: 0.3s;
}

#graph2:hover {opacity: 0.7;}


/* The Modal (background) */
.modal2 {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal2-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

/* Caption of Modal Image */
#caption2 {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content, #caption {    
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)} 
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* The Close Button */
.close2 {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close2:hover,
.close2:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}

.tooltip {
    position: relative;
    display: inline-block;
    color: #000000;
    
}

.tooltip:a {
	color: #000000;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 150px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 1s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

#submit-icon {
  background-image: url("images/rysuj.png"); /* Change url to wanted image */
  background-size: cover;
  border: none;
  width: 100px;
  height: 24px;
  cursor: pointer;
  color: transparent;
}

