@font-face {
      font-family: "Ubuntu-Regular";
      src: url("Ubuntu-Regular.ttf");
}

* {
 font-family: "Ubuntu-Regular";
}

/* KaiOS portrait devices (240x320) */
@media only screen and (orientation : portrait) {

 body {
  background-image: url("port.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-color: #000000;
  color: #FFFFFF;
  margin: 0;
}

#dur {
	width: 220px;
	color: #FFFFFF;
	background-color: transparent;
	border: 0;
}
  

}

/* KaiOS landscape devices (320x240) */
@media screen and (orientation: landscape) {

  body {
  background-image: url("land.jpg");
  background-repeat: no-repeat;
  background-attachment: fixed; 
  background-color: #000000;
  color: #FFFFFF;  
  margin: 0;
}

#dur {
	width: 300px;
	color: #FFFFFF;
	background-color: transparent;
	border: 0;
}
  

}



.items:focus {
  background-color: rgba(255, 255, 255, 0.9);
}

.okkey {
  font-size: 14px;
}

.othkey {
  font-size: 14px;
}


footer {
    background-color: rgba(0, 0, 0, 1);
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    color: white;
    text-align: center;
}

header { 
  display:block;
  position: fixed;
  background-color: rgba(0, 0, 0, 1);
  left: 0;
  top: 0;
  width: 100%;
  text-align: center;
  color: #ffffff;
}

.footertable {
  width: 100%;
}

.footerth {
  width: 33%;
}

.mtable {
  text-align: center;
  width: 100%;
}

 button {
  border-radius: 20px;
  border-style: inset;
  font-size: 17px;
  text-align: center;
  font-weight: bold;
  width: 90%;
  background-color: rgba(0, 0, 0, 0.5);
  margin: 3px;
  padding: 10px;
  color: #FFFFFF;
 }
 
button:focus {
  border-radius: 20px;
  border-style: inset;
  color: #000000;
  font-size: 17px;
  text-align: center;
  font-weight: bold;
  width: 90%;
  background-color: rgba(255, 255, 255, 0.9);
  margin: 3px;
  padding: 10px;
 }
 
  
.jus {
 text-align: justify;
 margin-right: 5px;
 margin-left: 5px;
 color: #000000;
 background-color: rgba(255, 255, 255, 0.9);
}

.reverse {unicode-bidi: bidi-override; direction: rtl;}

#contentfull {
  text-align: center;
  position: fixed;
  left: 0px;
  right: 0px;
  top: 21px;
  bottom: 26px;
  overflow-x: hidden;
  overflow-y: hidden;
  margin: 1px;
}

a {
text-decoration: none;
color: #FFFFFF;
}

.cc {
  border-radius: 10px;
  color: #ffffff;
  width: 90%;
  font-size: 14px;
  background-color: rgba(0, 0, 0, 0.9);
}

.sname {
  margin:5px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 22px;
  border-radius: 5px;
  width: 90%;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.9);
}

.sauthor {
  margin:5px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 14px;
  border-radius: 5px;
  width: 90%;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.9);
}

.stime {
  margin:5px;
  padding-top: 5px;
  padding-bottom: 5px;
  font-size: 16px;
  border-radius: 5px;
  width: 70%;
  color: #ffffff;
  background-color: rgba(0, 0, 0, 0.9);
}

#loading {
  text-align: center;
  position: fixed;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 30px;
  padding-bottom: 30px;
  border: 2px solid white;
  color: #FFFFFF;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);	
  font-size: 22px;
  border-radius: 5px;
  width: 70%;
  background-color: rgba(0, 0, 0, 0.9);
  opacity:0; 
  transition: .5s; 
  animation: show 4s 1; 
  animation-fill-mode: none; 
  animation-delay: 0s; 
}

@keyframes show{
 0%{ opacity:0; }
 50% { opacity:1; }
 100%{ opacity:0; }
}

#load {
  position: fixed;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);	
  z-index: 100;
}