#lm-disp, #lm-disp-label,
#tm-disp, #tm-disp-label,
#tm-line, #top-menu {
  display:none;
}

#main {
	/*padding:10px;*/
	padding-bottom:40px;   /* Height of the footer element */
}

#foot {
	/*padding-bottom:5px;
  padding-top:5px;
  margin-top:15px;
  height:30px;*/
	box-sizing: border-box;
  height:40px; /*30 + paddings*/
  width:100%;
  position:absolute;
	bottom:0;
	left:0;
}

/*Zrusit podtrzeni nadpisu*/
#main h1 {
  border-bottom:0;
}

/*Clearfix: #main nebude nizsi nez obtekane menu*/
#main:after {
  content:"";
  display:table;
  clear:both;
}

#menu p.menuitem, #menu a {
  border-left:0;
  border-right:0;
  background-color: transparent;
}

#menu #no_js {
  height: 50px;
  overflow-y: scroll;
  margin-top: 4px;
  padding-top: 2px;
  padding-bottom: 2px;
}

#menu #no_js p.menuitem {
  width:auto;
  height:auto;
  padding-top:0px;
  padding-bottom:0px;
}


/*Leve menu*/
.readers_nopad {
  padding-bottom:0 !important;
}


#main h1, .article h2 {
  font-style: normal;
}

.article p {
  text-align: justify;
}

.article h2 {
  margin-bottom:0;
  margin-top:30px;
}

.article {
  padding-bottom:1em;
}


h4.feature_art {
  font-weight:bold;
  margin: 0px 0px -8px 0px;
}
h3.feature_art {
  margin: 15px 0px 6px 0px;
}
h3.feature_art:nth-of-type(2n) {
   margin-top:25px;
}
h2.feature_art {
  margin-top: 45px;
}
h2.feature_art:first-of-type {
  margin-top: 30px;
}


/**********************************************************************/

@media screen and (max-width: 800px) {
  #new_header h1, #new_header h2{
    text-align:center;
  }
  .logged, .new_issn {
    display:none !important;
  }
}

@media screen and (max-width: 630px) {
  #new_header h1{
    font-size:9.25vw;
    text-align:left;
    margin-bottom:5px;
  }
  #new_header h2 {
    font-size:2.8vw;
    text-align:left;
  }
  #foot, #menu, .new_login, .new_horizontal {
    display:none;
  }
  #main {
    padding-bottom:0;
    padding-left:25px;
  }

  #lm-disp-label {
    display:inline;
    float:left;
    margin:0;
    padding:0;
    margin-top:15px;
    height:80px;
    width:20px;
    font-weight:bold;
    background-color: #151A88;
    color: #FFFFFF;
    overflow:hidden;
    font-size:19px;
    text-align:center;
    cursor:pointer;
    
    background: -webkit-linear-gradient(#151A88 25%, #151A88 10%, #FFFFFF); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(#151A88 25%, #151A88 10%, #FFFFFF); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(#151A88 25%, #151A88 10%, #FFFFFF); /* For Firefox 3.6 to 15 */
    background: linear-gradient(#151A88 25%, #151A88 10%, #FFFFFF); /* Standard syntax */
  }
  #lm-disp:checked ~ #menu {
    display: block;
    padding-left:1px;
  }
  #lm-disp:checked ~ #main {
    padding-left:206px;
  }

  
  #tm-line{
    width:100%;
    background-color:#151A88;
  }
  #tm-line{
    display:block;
    height:2px;
  }
  #top-menu {
    width:100%;
    background-color:#151A88;
    color:#ffffff;
    text-align:center;
    padding-top:10px;
    padding-bottom:15px;
  }
  #top-menu a, #top-menu a:active, #top-menu a:hover {
    color:#ffffff;
    font-weight:bold;
    text-decoration:none;
    font-size:12pt;
    width:100%;
  }
  #top-menu div:hover {
    background-color: #101544;
  }
  #tm-disp-label {
    display:inline;
    position:absolute;
    right:2px;
    top:2px;
    width:70px;
    height:70px;
    background-color:#151A88;
    cursor:pointer;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    color:#ffffff;
    font-size:50px;
    text-align:center;
    padding-top:6px;

    box-sizing:border-box;
    -moz-box-sizing:border-box;
    -webkit-box-sizing:border-box
  }
  #tm-disp:checked ~ #top-menu {
    display:block;
  }  
}


@media screen and (max-width: 500px) {
  #new_header h2 {
    display:none;
  }
  #new_header h1 {
    font-size:9vw;
    margin-bottom:0;    
  } 
  .new_head_wrap {
    height:60px;
  }
  #tm-disp-label {
    height:60px;
    width:60px;
    font-size:45px;
    padding-top:5px;
  }
}

@media screen and (max-width: 430px) {
  #new_header h1 {
    display:none;
  }
  #new_header #alt {
    font-size: 35pt;    
    display:block;
  }
}

@media screen and (max-width: 330px) {
  #new_header #alt {
    font-size: 14vw;
  }
}