@charset "UTF-8";
/*
Theme Name: 東新運輸
Version: 1.0
Template: lightning
*/

.fit-section {
  margin-left: 15px !important;
  margin-right: 15px !important;
}
@media screen and (min-width: 992px) {
  .fit-section {
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

.drivers-control-area {
  background: #f0f0f0;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.drivers-name {
  margin-bottom: 0.5em;
}

.drivers-control-buttons {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  list-style: none;
  padding: 0;
  margin-bottom: 0;
}
.drivers-control-buttons li {
  width: 100%;
  margin-bottom: 0.5em;
}
@media screen and (min-width: 992px) {
  .drivers-control-buttons li {
    width: auto;
    margin-bottom: 0;
  }
}
.drivers-control-buttons li:last-child {
  margin-bottom: 0;
}
@media screen and (min-width: 992px) {
  .drivers-control-buttons {
    -ms-flex-direction: row;
        flex-direction: row;
  }
}
.drivers-control-buttons__link {
  display: block;
  color: #333;
  text-decoration: none !important;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 0.4em 0.8em;
  background: #fff;
}
.drivers-control-buttons__link:hover {
  color: #333;
  text-decoration: none;
  background: #eee;
}
@media screen and (min-width: 992px) {
  .drivers-control-buttons__link {
    margin-right: 0.5em;
  }
}


.tab-radio {
  display: none;
}

.tab-menu {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: justify;
      justify-content: space-between;
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}
.tab-menu__item {
  box-sizing: border-box;
  list-style: none !important;
  -ms-flex: 1;
      flex: 1;
}
.tab-menu__item:last-of-type .tab-trigger {
  border-right: 1px solid #e0e0e0;
}

.tab-trigger {
  text-align: center;
  cursor: pointer;
  display: block;
  padding: 0.5rem 0;
  border: 1px solid #e0e0e0;
  border-right: none;
  color: #26468d;
  font-size: 1rem !important;
}
.tab-trigger:hover {
  background: #f0f0f0;
}

#tab1:checked ~ .tab-menu #tabTrigger1,
#tab2:checked ~ .tab-menu #tabTrigger2,
#tab3:checked ~ .tab-menu #tabTrigger3 {
  background: #26468d;
  border-color: #26468d;
  color: #fff;
}
#tab1:checked ~ .tab-menu #tabTrigger1:hover,
#tab2:checked ~ .tab-menu #tabTrigger2:hover,
#tab3:checked ~ .tab-menu #tabTrigger3:hover {
  background: #26468d;
}

.tab-news {
  margin-bottom: 4rem;
}
.tab-news__item {
  box-sizing: border-box;
  display: none;
}

#tab1:checked ~ .tab-news #tabTarget1,
#tab2:checked ~ .tab-news #tabTarget2,
#tab3:checked ~ .tab-news #tabTarget3 {
  display: block;
  -webkit-animation: fade 0.5s ease;
          animation: fade 0.5s ease;
}

.news-box-wrapper {
  margin: 0 !important;
  font-size: 0;
  list-style: none;
  padding: 0 !important;
}
.news-box-wrapper li {
  padding-bottom: 0;
  border-bottom: 1px dotted #ccc;
  overflow: hidden;
}
.news-box-wrapper li:first-child {
  border-top: 1px dotted #ccc;
}

.news-box {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
      flex-direction: column;
  text-decoration: none !important;
  padding: 10px 0;
  position: relative;
}
.news-box:hover {
  background: #f0f0f0;
  text-decoration: none !important;
}
@media screen and (min-width: 992px) {
  .news-box {
    -ms-flex-direction: row;
        flex-direction: row;
    padding: 20px 0;
  }
}
.news-box__head {
  font-size: 1rem;
  margin-bottom: 0.5em;
}
@media screen and (min-width: 992px) {
  .news-box__head {
    width: 20em;
    margin-bottom: 0;
  }
}
.news-box__text {
  font-size: 1rem;
  width: 100%;
  font-weight: bold;
}
@media screen and (min-width: 992px) {
  .news-box__text {
    width: 0;
    min-width: 0;
    -ms-flex-positive: 1;
        flex-grow: 1;
    padding-left: 1em;
  }
}
.news-box__date {
  color: #999;
  margin-right: 1em;
  vertical-align: middle;
}
.news-box__category {
  font-size: 0.95rem;
  display: inline-block;
  background: #005bad;
  text-align: center;
  width: 9em;
  color: #fff;
  vertical-align: middle;
  padding: 0 1em;
  overflow: hidden;
  border-radius: 1px;
}
.news-box__arrow {
  position: absolute;
  top: 50%;
  right: 10px;
  -ms-transform: translateY(-50%);
      transform: translateY(-50%);
  font-size: 1.5rem !important;
  color: #777;
}
