.tabs {
  margin-top: 50px;
  max-width: 1240px;
  margin: 30px auto 0 auto;
}

@media screen and (min-width:1025px) and (max-width:1240px) {
  .tabs {
    margin-top: 50px;
    max-width: 1240px;
    width: 100%;
    margin: 30px auto 0 auto
  }
}

@media screen and (min-width:768px) and (max-width:1024px) {
  .tabs {
    margin-top: 0;
    width: 100%;
    margin: 30px auto 0 auto
  }
}

@media screen and (min-width:320px) and (max-width:767px) {
  .tabs {
    margin-top: 0;
    width: 100%;
    margin: 30px auto 0 auto
  }
}

.tab_item {
  width: 25%;
  height: 100px;
  background-color: #d9d9d9;
  line-height: 100px;
  font-size: 1em;
  color: #fff;
  display: block;
  float: left;
  text-align: center;
  font-size: 2em;
  font-weight: 700;
  transition: all .2s ease
}

/*
.tab_item:hover {
  opacity: .75
}
*/

.tab_item_one {
  width: 100%;
}

.tab_item_two {
  width: 50%;
}

input[name=tab_item] {
  display: none
}

.tab_content,
.tab_content_monday {
  display: none;
  padding: 20px 40px 45px 40px;
  clear: both;
  overflow: hidden;
}

.tab_content_monday {
  background-color: #ffffff
}

.tab_content_tuesday {
  background-color: #ffffff
}

.tab_content_wednesday,
.tab_content_tuesday,
.tab_content_thursday {
  display: none;
  padding: 20px 40px 45px 40px;
  clear: both;
  overflow: hidden
}

.tab_content_wednesday {
  background-color: #ffffff
}

.tab_content_thursday {
  background-color: #ffffff
}

#monday:checked ~ #monday_content,
#tuesday:checked ~ #tuesday_content,
#wednesday:checked ~ #wednesday_content,
#thursday:checked ~ #thursday_content {
  display: block
}

.tabs input:checked + .tab_item {
  background-color: #af191a;
  border-bottom: 3px solid #af191a;
  color: #fff
}

.tabs input:checked + .tab_monday {
  background-color: #af191a;
  border-bottom: 3px solid #af191a;
  color: #fff
}

.tabs input:checked + .tab_tuesday {
  background-color: #af191a;
  border-bottom: 3px solid #af191a;
  color: #fff
}

.tabs input:checked + .tab_wednesday {
  background-color: #af191a;
  border-bottom: 3px solid #af191a;
  color: #fff
}

.tabs input:checked + .tab_thursday {
  background-color: #af191a;
  border-bottom: 3px solid #af191a;
  color: #fff
}

@media screen and (min-width:320px) and (max-width:767px) {
  .tab_item {
    width: 25%;
    height: 80px;
    border-bottom: 3px solid #5ab4bd;
    background-color: #d9d9d9;
    line-height: 80px;
    font-size: 1.2em;
    color: #fff;
    display: block;
    float: left;
    text-align: center;
    font-weight: 700;
    transition: all .2s ease
  }

  .tab_item_one {
    width: 100%;
  }

  .tab_item_two {
    width: 50%;
  }


  .tab_content,
  .tab_content_monday {
    display: none;
    padding: 1em 1em 2em 1em;
    clear: both;
    overflow: hidden;
  }

  .tab_content_wednesday,
  .tab_content_tuesday,
  .tab_content_thursday {
    display: none;
    padding: 1em 1em 2em 1em;
    clear: both;
    overflow: hidden
  }
}

.tab_monday {
  background-color: #c7a23d;
  border-bottom: 3px solid #c7a23d;
}

.tab_tuesday {
  background-color: #d9b143;
  border-bottom: 3px solid #d9b143;
}

.tab_wednesday {
  background-color: #c7a23d;
  border-bottom: 3px solid #c7a23d;
}

.tab_thursday {
  background-color: #d9b143;
  border-bottom: 3px solid #d9b143;
}


