#header {
  background-color: #fff;
  display: block;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.05);
  padding: 0px;
  position: relative;
  z-index: 101;
  border-bottom: var(--arno-header-bg-color) !important;
}

#header .container {
  max-width: 100%;
  padding: 0;
  margin-left: auto;
  margin-right: auto;
  clear: both;

}

.top-row {
  background-color: rgb(var(--arno-main-bg-color));
  display: block;
  height: 40px;

}

.top-row-link {
  float: none;
  margin: 0;
}
.logo{
	text-align:left;
}
.arno-header-user-title {
  font-weight: 500;
  padding-left: 15px;
  padding-bottom: 8px;
  margin-bottom: 0px;
  font-size: 0.85em;
  border-bottom: solid 1px #ddd;
  margin-bottom: 3px;
}

ul.menu_options_list li.arno-header-user-title:hover {
  background-color: transparent !important;
  cursor: default;
  color: #333 !important;
}

.user-settings {
  margin-top: 3px;
  border-top: solid 1px #ddd;
  padding-left: 20px !important;
}

a.vaeg_link,
a.vaeg_link_a,
a.vaeg_link:hover {
  color: #fff;
  text-decoration: none;
  font-size: .9em;
  font-style: normal;
  line-height: 2.8em;
  margin-left: 20px;
}
a.aeg {
	 font-size: .9em;
  	 font-style: normal;
  	 line-height: 2.8em;
	 float: right;
	 margin-right: 20px;
	 color: #fff;
	 
}
.menu {
  text-align: right;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  height: 90px;
  width: 100%;
}

.header-images {
  display: flex;
  margin-left: 20px;

}

.site-logo {
  max-width: 220px;
  margin-right: 30px;
  justify-content: center;
  display: inline-grid;
}

#header .submenu {
  display: none;
}

.logo {
  background-image: none !important;
  width: 223px;
  margin: 0;
  padding: 0px;
  height: auto;
  padding-top: 20px;

}

.logo-image {
  margin-left: 20px;
  display: flex;
  justify-content: center;
  align-items: center;

}

.logo-image img {
  max-width: 180px;
  vertical-align: middle;
  max-height: 65px;
}

.name {
  font-size: 12px;
  font-style: italic;
  text-align: left;
  padding-top: 0px;
  line-height: 1;
  margin-top: -15px;


}

.c_right {
  float: right;
  width: auto;
  text-align: right;
  margin-right: 20px;
 /* margin-top: 20px;*/
}

#header .btn,
#header .btn:hover,
#header .btn:focus,
#header btn:active {
  margin-top:25px!important;
}


.right.oppeaasta {
  margin-top: 5px;

}

.right.oppeaasta .select2 {
  height: 32px;
  border-radius: 5px !important;
  margin-right: 20px;

}

.right.oppeaasta .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 30px !important;
}

.right.oppeaasta .select2-container--default .select2-selection--single {
  border-radius: 6px !important;
  border: 1px solid #ddd !important;
}

.top-nav {
  display: none;
}

.right .time {
  border: 0px !important;
  font-size: 0.9em;
  margin-right: 10px;
  padding: 3px 5px 3px 5px;
  border-radius: 0px;
  font-weight: 400;
  color: #fff;
  background-color: transparent;
  line-height: 2.5em;
}

/*user dropdown*/
.user ul {
  display: none;
  position: absolute;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border: 1px solid #e3e3e3;
  border-radius: 8px;
  padding-top: 3px;
  padding-bottom: 10px;
  z-index: 9999;
  text-align: left;
  top: 115px;
  left: auto !important;
  right: 18px !important;
}

.user ul {
  list-style: none;

}

.user:hover ul {
  display: block;
}
.user-icon{
	margin-right:10px; 
	align-self: center; 
	border: solid 2px var(--arno-header-link-color); 
	border-radius: 50%; 
	width: 28px; 
	height: 28px;
}
.user-icon i{
   justify-content: center;
   align-self: center;
   display: flex;
    margin-top: 5px;
	
	
}
.user-icon .fa.fa-user{
   	font-weight: 400;
}
.menu_options_list {
  width: 250px !important;

}

.user ul li {
  display: block;
  cursor: pointer;
  padding: 5px 10px 5px 20px;
  font-size: 14px;
  position: relative;
  line-height: 1.3;
}
.user-settings-content {
  margin-top: 5px;
  font-size: 14px;
}
.refresh_roles {
  cursor: pointer;
  height: 20px;
  margin: -3px 10px 0 5px;
}
.arno-header-user-title {
	padding: 8px 10px 8px 10px!important;
}


li.menu_role.selected {
  color: var(--arno-link-color);
}

li.menu_role.selected:before {
  color: var(--arno-link-color);
  content: "• ";
  margin-left: -12px;
  padding-right: 2px;
}

ul.menu_options_list li:hover {
  background-color: #f8f9fa;
  color: var(--arno-hover-color);
}

ul.menu_options_list li i {
  width: 23px !important;
}

.user .pais_kasutaja {
  color: var(--arno-header-link-color);
  font-size: 15px;
  font-family: var(--arno-font-family);
  font-weight: 400;
  line-height: 1.2;
  display:flex;
  justify-content: center;
  align-self: center;
  padding: 25px 0px 20px;
  margin-top: 4px;
}

.user .pais_kasutaja span {
  display: block;
  font-size:.9em;
}
.pais_kasutaja span:first-child {
  font-weight:500;
}
.header-debug {
  margin-top: 10px !important;

}

.header-debug span {
  color: #cc1925 !important;
}


@media (max-width: 767.98px) {
  .top-nav {
    float: right;
    margin-right: 0px;
    color: #000;
    display: block;
    margin-top: -3px;
  }

  .menu {
    height: 70px;

  }

  .header-images {
    display: flex;
    margin-left: 15px;

  }

  .name {
    display: none;

  }

  .logo {
    width: 100px;

  }

  .logo img {
    width: 80px;
  }

  .logo-image img {
    width: 100px;
  }

  .site-logo {
    margin-right: 5px;
  }

  .logo-image {
    margin-left: 0px;
    /*	margin-top: 3px;*/

  }

  .c_right {
    float: right;
    width: auto !important;
    margin-top: 15px;

  }

  a.vaeg_link,
  a.vaeg_link_a,
  a.vaeg_link:hover {
    font-size: 0.9em !important;

  }

  #header .btn,
  #header .btn:hover,
  #header .btn:focus,
  #header btn:active {
    padding: 0px !important;
    background: transparent !important;
    border: 0px !important;
    box-shadow: none !important;
    color: #000 !important;
    font-weight: 400 !important;
    font-size: 14px !important;
    margin-right: 15px;
    border-radius: 0px !important;
	margin-top:4px!important;
  }

  #header .btn:before {
    content: "\f2f6";
    display: block;
    font-size: 18px;
    color: #000;
    font-weight: 600;
    font-family: "Font Awesome 5 Free" !important;
    margin-top: -6px;
    margin-bottom: 4px;
    height: 20px;
  }

  .header-debug {
    display: none !important;
  }
.user .pais_kasutaja {
  display:none;
  visibility: hidden;
}
 #header .right {
  display: flex;
 }

}

@media only screen and (min-width: 768px) and (max-width: 830px) {
  .c_right {
    width: auto !important;
  }
 
}

@media (max-width: 460px) {
  .logo {
    width: 80px;


  }

  .logo img {
    width: 70px;

  }

  .c_right {
    margin-right: 5px;

  }

  .top-nav {
    margin-left: 5px;
  }

}