/* nullib veebisite css*/

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
a {
    text-decoration: none;
}
.p-1 {
    padding: 1rem;
}
html, body {
	font-family: 'Segoe UI', 'Tahoma', 'Verdana', sans-serif;
	line-height: 1.7em;
	background-color: #252525;
}
.container {
    margin: auto;
    max-width: 1100px;
    padding: 0 20px;
    overflow: auto;
}
.text-orange {
	font-size: 1.1em;
    color: #ff7e05;
}
/*Ülemine navibar (pealehel)*/
#navibar {
	background: #ff7e05;
	overflow: auto;
	padding-left: 200px;
	padding-right: 200px;
	z-index: 1;
}
h1 {
	padding-bottom: 20px;
}
#navibar i{
	color: #fff;
}
#navibar a{
	color: #fff;
}
#navibar ul{
	float: left;
	list-style: none;
	margin-left: 200px;
}
#navibar ul li {
	float: left;
}
#navibar ul li a{
	display: block;
	padding: 20px;
	text-align: center;
}
#navibar .nonlogo a:hover,
#navibar .nonlogo a.current{ 
	background: #252525;
	color: #ff7e05;
	border-radius: 10px;
}
#navibar h1 {
	padding-top: 20px;
	float:left;
}
/*Ülemine navibar (teised lehed)*/
#navibar2 {
	background: #ff7e05;
	overflow: auto;
	padding-left: 200px;
	padding-right: 200px;
	position: sticky;
	top: 0;
}
h1 {
	padding-bottom: 20px;
}
#navibar2 .text-primary {
	color: #fff;
}
#navibar2 i{
	color: #fff;
}
#navibar2 a{
	color: #fff;
}
#navibar2 ul{
	float: left;
	list-style: none;
	margin-left: 200px;
}
#navibar2 ul li {
	float: left;
}
#navibar2 ul li a{
	display: block;
	padding: 20px;
	text-align: center;
}
#navibar2 .nonlogo a:hover,
#navibar2 .nonlogo a.current{ 
	background: #252525;
	color: #ff7e05;
	border-radius: 10px;
}
#navibar2 h1 {
	padding-top: 20px;
	float:left;
}
/*Äärmine navibar*/
#sidebar {
	height: 100%;
	width: 200px;
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	background-color: #ff7e05;
	overflow-x: hidden;
	padding-top: 20px;
}
#sidebarin {
	overflow:auto;
}
#sidebar a {
	color: #fff;
}  
#sidebar ul {
	list-style: none;
	padding-bottom: 20%;
}
#sidebar a:hover
#sidebar a.current{
	background: #252525;
	color: #ffffff;
}
#sidebar li a{
	margin-top: 10%;
}
#sidebar a, .dropdown-btn {
	padding: 6px 8px 6px 16px;
	text-decoration: none;
	font-size: 20px;
	color: #fff;
	display: block;
	border: none;
	background: none;
	width: 100%;
	text-align: left;
	cursor: pointer;
	outline: none;
}
  
  /* On mouse-over */
#sidebar a:hover, .dropdown-btn:hover {
	border-radius: 10px;
	background-color: #252525;
	color: #ff7e05;
}
.active {
	background-color: rgb(0, 0, 0);
	color: white;
	border-radius: 10px;
}
.dropdown-container {
	display: none;
	background-color: #262626;
	padding-left: 8px;
	border-radius: 10px;
}
/*Avalehe kahe värviline osa*/
.color-main {
    position: relative;
    overflow: hidden;
    display: flex; 
    align-items: center;
}

#main-info {
    background: transparent;
}
/*Avalehe värvi poolte ühine suurus */
.color-box {
    width: 50%;
    height: 1000px; 
}
/*Avalehe vasak ehk oranz pool*/
.left-box {
    background-color: #ff7e05;
}
.left-box .img-bnt {
	margin-left: 30%;
	
}
.left-box .img-bnt img {
	height: 400px;
	padding-top: 40px;
}
/*Avalehe parem ehk tume pool*/
.right-box {
    background-color: #252525;
	display: flex;
	flex-direction: column;
	text-align: left;
	padding-top: 10%;
	padding-left: 10%;
	padding-right: 10%;
	color: #ffffff;
	font-size: 1.2em;
}
.right-box h1 {
	padding-left: 10%;
	text-align: center;
}
/*Avalehe vasaku poole nupp ja tekst*/
.btn {
    display: inline-block;
    padding: 0.5rem 2rem;
    border: none;
    border-radius: 5px;
}
.btn-primary {
    background: #252525;
    color: #fff;
	margin: 10% 20% 20% 130px;
}
.btn-primary:hover {
    background: #5e2e01;
}
.btn-dark {
    background: #333;
    color: #fff;
}
.btn-dark:hover {
    background: #000000;
}
.items {
	text-align: center;
	color: #fff;
    display: flex;
	margin-bottom: 10%;
	padding: 5px;
}
.items a{
	color: #fff;
}
/* See teeb läbipaistva kasti info peale*/
.overlay {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100%;
	width: 100%;
	opacity: 0;
	transition: .5s ease;
	background-color: rgba(255, 126, 5, 0.616);
	display: flex;
	justify-content: space-around;
	align-items: flex-end;
	border-radius: 10px;
	padding: 10px;
}
.info-gar:hover .overlay {
  opacity: 1;
}
.over-text {
	color: white;
	font-size: 1.5em;
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	text-align: center;
}
.items .info-gar {
	border-radius: 10px;
	margin-left: 2%;
    flex: 1;
	background-color: #252525;
	padding-top: 5px;
	position: relative;
}
.items .info-gar i {
    margin-bottom: 1rem;
	color: #fff;
	padding-left: 10%;
}
.mirage-sisu {
	color: #fff;
	display: flex;
  	justify-content: center;
  	align-items: center;
	margin-bottom: 20px;
}
footer {
	position: static;
	bottom: 0;
	text-align: center;
	padding: 20px;
	background: #444;
	color: #ffff;
	width: 100%;
}