/*** Base rules ***/
* {
  font-size: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
}

html, body, form, ul {
  margin: 0;
  padding: 0;
}

table {
  border-collapse: collapse;
  border: none;
}

body {
  font-family: Ubuntu, sans-serif;
  color: white;
  background: linear-gradient(to bottom, #373f43, #ffffff);
}

a {
  color: #333;
  text-decoration: underline;
}

a:hover {
  color: black;
  text-decoration: underline;
}
/*** END of Base rules */

#layout {
    background: linear-gradient(to bottom, #373f43, #ffffff);
}

#menu {
  margin-left: 0em;
  width: 16em;
  padding-top: 1em;
  height: 100%;
  color: red;
  background-color: white;
  border-left: 2px solid red;
  overflow: auto;
}

#main {
  min-height: 30em;
  width: 40em;
  padding: 1em;
}

#main h1 {
  font-size: 1.6em;
  margin: 1em 1em 1em 1em;

}
#main h2 {
  font-size: 1.4em;
  margin: 2em 1em 1em 1em;

}

#main h1 small {
  font-size: 0.75em;
}

#main p {
  margin: 1em 1.6em 2em 1.6em;
  line-height: 1.8em;
}

/* green: #42DF84 */
/* blue:  #538FE6 */
/* gray:  #373F43 */
/* END OF structure */

#topmenu .menu {
  background-color: #112277;
  background: #42DF84;
  font-size: 0.9em;
  padding-left: 0.5em;
  padding-right: 0.5em;
  border-bottom: 0.2em solid #20fc8f;
}

#topmenu .menu li {
  list-style-type: none;
  display: inline-block;
  padding: 0;
  margin: 0;
}

#topmenu .menu li a {
  border-top: 3px solid #42DF84;
  line-height: 2em;
  color: #373F43;
  display: block;
  padding: 0 1em 0 1em;
  text-decoration: none;
}

#topmenu .menu li a:hover {
  color: white;
}

#topmenu .menu li.active a {
  background-color: #373F43;
  background-color: #20fc8f;
/*  color: white;*/
}

#logoset {
  width: 60em;
  display: block;
  padding-left: 20em;
}

#logo {
  padding-top: 1em;
  padding-bottom: 1em;
}

#logo p {
  margin: 0;
  font-size: 1.2em;
  color: #555566;
  font-family: Ubuntu;
}

#topdetails {
  background: linear-gradient(to bottom, #37afdd, #297cb8);
  background: linear-gradient(to bottom, #112478, #1c4f97);
  background: linear-gradient(to bottom, #1c4f97, #112478);
  height: 6em;
  border-bottom: 1px solid white;
  display: none;
}

#topdetails img {
  margin-left: 1.5em;
  margin-top: 0.3em;
  width: 5em;
  height: 5em;
  border: 2px solid white;
}

#header {
  -webkit-user-select: none;  /* Chrome all / Safari all */
  -moz-user-select: none;     /* Firefox all */
  -ms-user-select: none;      /* IE 10+ */
  user-select: none;          /* Likely future */
}


#svgsologo {
    width: 40em;
/*    height: 12em; */
    width: 100%;
    max-width: 58em;
    max-height: 10em;
/*    height: 24%; */
}

#hamburger {
    display: none;
}

#sidebar {
background-color: red;
float: right;
height: 40em;
}

@media screen and (max-width: 48em) {
  #topmenu .menu {
    font-size: 0.8em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
    letter-spacing: 0.2em;
  }
  
  #topmenu .menu li:first-child a {
    border-top: none;
  }

  #topdetails {
    display: none;
  }

  #topmenu .menu li {
    display: block;
  }

  #topmenu .menu li a {
    border-top: 1px solid #373F43;
    border-bottom: none;
    padding: 0 0.2em 0 0.2em;
    text-align: left;
    margin-left: 0.6em;
    margin-right: 0.6em;
    border-color: #73CA98;
  }

  #topmenu .menu li a:hover {
    text-decoration: none;
/*
    background-color: #eef8fc;
    color: #112277;


color: #538FE6;
*/
    transition: background-color 0.3s 0.0s ease-out;

  }

  #logoset {
    width: 100%;
    min-width: 22em;
    padding-left: 0;
  }

  #main {
/*    position: static;*/
    top: auto;
    min-width: 20em;
    width: auto;
    /* font-size: 0.8em; */
    display: block;
  }

  #sidebar {
    position: static;
    top: auto;
  }

  #layout {
    overflow: auto;
  }
}


/** theme **/
#main {
  overflow: auto;
  color: #373f43;
  background-color: white;
}

#sidebar {
  display: none;
}

#logo img.logo.part1 {
    height: 90px;
}

#logo img.logo.part2 {
    height: 38px;
    margin-bottom: 1em;
}


#header {
    width: 100%;
    /* height: 10em; */
    background: #373f43;
  background: linear-gradient(to bottom, #373f43, #919CA0);
  background: linear-gradient(to bottom, #373f43, #6C7477);
}

.sticky {
    position: fixed;
    top: 0;
    width: 100%;
}

#topmenu.sticky {
    -webkit-box-shadow: 0px 2px 2px 0px rgba(66,223,132,0.4);
    -moz-box-shadow: 0px 2px 2px 0px rgba(66,223,132,0.4);
    box-shadow: 0px 2px 2px 0px rgba(66,223,132,0.4);
}

#main.sticky {
    padding-top: 10em;
}

img.foto {
    padding: 0.4em;
    border: 1px solid #ccc;
    width: 20em;
    float: right;
    margin: 0.5em;
}

img.foto:first-of-type {
    margin-top: 3em;
}

@media screen and (max-width: 48em) {
  #logo {
    text-align: center;
  }
  #logo img.logo.part1 {
    height: 90px;
    margin-left: 1em;
    margin-bottom: 1em;
  }

  #logo img.logo.part2 {
    margin-bottom: 0;
  }

  #topmenu.sticky ul {
    padding: 0;
  }

  #topmenu.sticky li {
    display: none;
  }

  #topmenu.sticky li.active {
    display: block;
  }

  img.foto {
    float: none;
  }

  #main {
    width: 36em;
  }
}

/** Theme ende **/



@media print {

}

/**
// Log im Menü
#topmenu .menu {
    background-image: url('../img/so_logo-1.png');
    background-size: 32px 27px;
    background-repeat: no-repeat;
    background-position: 5px 5px;
}
*/


/* Test mit user

form {
  margin-top: 1em;
  padding-left: 1.5em;
}

form input, form select {
    border: 2px solid transparent;
    height: 2em;
    padding-left: 0.5em;
    padding-right: 0.5em;
    border-radius: 0.3em;
    width: 20em;
    box-sizing: border-box;
}

form input[type=text], select {
    background-color: #d0d0ee;
    border-color: #d0d0ee;
}

form input[type=submit] {
    margin-top: 1em;
    background-color: #102080;
    border-color: #102080;
    color: white;
    font-weight: bold;
    width: 20em;
}

form dt {
    padding: 0.5em 0 0 0;
    margin: 0;
}

form dd {
    padding: 0 0 0.5em 0;
    margin: 0;
}

form label {
   padding-left: 0.5em;
}

form input:focus, select:focus {
    outline: none;
}

form input[type=text]:focus, form select:focus {
    border-color: #102080;
}

form input[type=submit]:focus {
    border-color: #d0d0ee;
}

img.avatar {
    border-radius: 50%;
    height: 128px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    float: right;
}

select {
    -webkit-appearance: button;
    -moz-appearance: button;
    -webkit-user-select: none;
    -moz-user-select: none;
    -webkit-padding-end: 20px;
    -moz-padding-end: 20px;
    -webkit-padding-start: 2px;
    -moz-padding-start: 2px;
    font-size: inherit;
    box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
    text-overflow: ellipsis;
text-indent: 0.01px; text-overflow: ""; 
    white-space: nowrap;
}

select#f1-user option {
    background-repeat: no-repeat;
    background-size: 2.4em 2.4em;
    background-position: 0.3em 0.3em;
    padding-left: 3.5em;
    padding-top: 0.8em;
    height: 3em;
    box-sizing: border-box;
}
select#f1-user option[value="coskun"]   { background-image:url(../img/coskun_small.png);   }
select#f1-user option[value="norbert"] { background-image:url(../img/norbert_small.png); }

*/

