.row {
  border-radius: 5px;
}

a {
  display: block;
  text-decoration: none;
  font-size: 20px;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 10px;
  padding-right: 10px;
  height: 25px; 
  transition: 0.1s linear;
}

.horisontal_line {
  border: 1px solid white; 
  margin-top: 2px; 
  margin-bottom: 0; 
  width: 53%;
  float: left;
}

.home a{
  display: block;
  text-decoration: none;
  font-size: 25px;
  padding: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

h2 {
  text-align: left;
  padding: 20px;
  border-radius: 10px;
}

.border_bottom_right {
  border-bottom-right-radius: 10px;
  border-bottom-left-radius: 10px;
}

.calendar {
  margin-top: -15px;
}

.calendar h4 {
  margin-bottom: 0px;
  padding-bottom: 10px; 
  padding-top: 15px; 
  padding-left: 10px; 
  border-top-right-radius: 10px; 
  border-top-left-radius: 10px;
}

.calendar a {
  width: 10px;
  height: 10px;
  margin: -3px;
  border: 1px solid #aaa;
  font-size: 12px;
}

.calendar table {
  background-color: #aaa;
}

#skip, #nonpc, #repeat_1, #repeat_2, #remove_last{
  background-color: rgba(211, 211, 211, 0.7);
  border: 3px solid rgb(211, 211, 211, 0.1);
  height: 27px;
  margin-top: 5px;
  cursor: pointer;
  border-radius: 5px;
  transition: 0.1s linear;
}

#timer_till_end {
  margin: 0;
  padding-left: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}
/*------------------------------------------------------------*/

li {
  list-style-type: none;
  font-size: 16px;
}

p {
  margin-left: 15px;
}

.part {
  margin-right: 35px;
  margin-top: 25px;
  border-radius: 10px; 
}

.topnav {
  float: left;
  margin-left: 15px;
  width: 100%;
}

#Search {
  width: 300px;
  height: 30px;
  padding: 5px;
  border: none;
  margin-left: 10px;
  margin-top: 10px;
  font-size: 17px;
  border-radius: 5px;
}

#Search_none, #Cycle_button{
  background-color: white;
  border: 3px solid #aaa; 
  height: 40px;
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
  margin-right: 30px;
  margin-top: 10px;
  font-size: 17px;
  cursor: pointer;
  border-radius: 7px;
  transition: 0.1s linear;
}

#down {
  display: none; 
  position: fixed; 
  left: 90%;
  bottom: 55px;
  z-index: 99;
  width: 150px;
  border: none;  
  outline: none;  
  background-color: white;
  color: rgb(7, 31, 30);
  cursor: pointer;
  padding: 15px;
  border-radius: 10px;
}
#down:hover {
  background-color: #aaa;
}

#toggle_mode {
  background-image: url(../img/icon_bg.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 40px;
  height: 40px;
  position: absolute;
  top: 36px;
  border-radius: 10px;
}

#calendar_show {
  display: none;
}

#Search_none:hover, #dwn-btn:hover, #Cycle_button:hover, #skip:hover, #nonpc:hover, #repeat_1:hover, #repeat_2:hover, #remove_last:hover, #calendar_show:hover {
  border: 3px solid white;
}

.name {
  font-size: 20px;
}

label {
  font-size: 16px;
}

#marv_med {
  all: initial;
}
#marv_med_a {
  all: initial;
  font-style: italic;
  cursor: pointer;
}

@media only screen and (max-width: 1300px) {
  .box, label, .name, h4 {
    font-size: 20px;
  }
  .home {
    padding-left: 270px;
    width: 509px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }

  .border_top_left {
    border-top-left-radius: 10px;
    margin-bottom: -1px;
  }
  .border_top_right {
    border-top-right-radius: 10px;
    margin-left: 3px;
    margin-bottom: -1px;
  }
  .border_bottom_left {
    border-bottom-left-radius: 10px;
  }
  .border_bottom_right {
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 0;
    margin-left: 3px;
  }
  .border_top, .border_bottom {
    margin-left: 4px;
  }
  .border_top {
    margin-bottom: -1px;
  }
  
  .border_bottom_left, .border_bottom, .border_bottom_right {
    margin-top: -4px;
  }

  a {
    width: 95%;
  }
  
  h2 {
    position: absolute;
    left: 0px;
    top: -20px;
    border: 2px solid;
    width: 225px;
    height: 15px;
    padding-top: 10px;
    padding-bottom: 20px;
  }
  #down {
    display: none; 
    position: fixed; 
    left: 72%;
    bottom: 30px;
    z-index: 99;
    width: 210px;
    border: none;  
    outline: none;  
    background-color: white;
    color: rgb(7, 31, 30);
    cursor: pointer;
    padding: 15px;
    border-radius: 10px;
  }
  #Search {
    margin-left: -5px;
    width: 175px;
    font-size: 15px;
  }
  #Search_none {
    font-size: 15px;
  }
  #buttons {
    position: absolute;
    width: 230px;
    margin-top: -50%;
    margin-left: 48%;
  }
  .calendar { /* for phones */
    display: none;
    z-index: 99;
    position: fixed;
    left: 0;
    bottom: 0;
    margin-left: 10%;
    margin-bottom: 8.5%;
    border: 1px solid white;
    padding-right: 250px;
    padding-left: 5px;
    padding-bottom: 10px;
    padding-top: -20px;
    border-radius: 10px;
  }
  .horisontal_line {
    display: none;
  }
  #timer_till_end {
    padding-right: 110px;
  }
  #calendar_show {
    display: block;
    position: fixed;
    left: 50px;
    bottom: 30px;
    z-index: 300;
    width: 210px;
    height: 40px;
    background-color: white;
    padding: 5px;
    padding-left: 10px;
    padding-right: 10px;
    border: none;
    margin-right: 10px;
    margin-top: 10px;
    font-size: 17px;
    cursor: pointer;
    border-radius: 5px;
  }

  #toggle_mode {
    position: absolute;
    left: 28%;
    top: 3%;
  }

  #skip, #nonpc, #repeat_1, #repeat_2, #remove_last {
    height: 40px;
    width: 100%;
  }
  #Search_none:hover, #dwn-btn:hover, #Cycle_button:hover, #skip:hover, #nonpc:hover, #repeat_1:hover, #repeat_2:hover, #remove_last:hover, #calendar_show:hover {
    border: 4px solid white;
  }
}
@media only screen and (min-width: 1301px) {
  .home a, a{
    width: 150px;
  }
  h2 {
    width: 130px;
  }
  #toggle_mode {
    left: 180px;
    top: 36px;
  }
} 
@media only screen and (min-width: 1600px) {
  .home a, a{
    width: 200px;
  }
  h2 {
    width: 180px;
  }
  #toggle_mode {
    left: 180px;
  }
}
