@charset "UTF-8";
#history .header {
  background-image: url(/abudhabi/img/history/mainimg.jpg);
  position: relative;
  height: 50%;
}

#history .header.adma {
  background-image: url(/abudhabi/img/admahistory.jpg);
}

.section.historycol {
  display: table;
  width: 100%;
}

.historybox {
  float: left;
  width: 25%;
}

.historybox .bordercircle {
  width: 100%;
  height: 0px;
  border-top: 5px solid #debf93;
  border-bottom: 5px solid #debf93;
  margin-top: 40px;
}

.historybox .bordercircle .fa-circle {
  text-align: center;
  font-size: 2.4rem;
  display: block;
  margin-top: -1.2rem;
}

.historybox p {
  text-align: center;
  padding: 5px 15px 30px 15px;
  font-size: 1.4rem;
}

.historybox p.year {
  font-weight: bold;
  font-size: 2rem;
  margin-top: 20px;
  padding-bottom: 10px;
}

.section.bgglay {
  background-color: #666;
}

.section.bgglay .historybox .bordercircle {
  border-top: 5px solid #b3b3b3;
  border-bottom: 5px solid #b3b3b3;
}

.section.bglightglay {
  background-color: #999;
  padding: 10px;
}

#c {
  position: fixed;
  bottom: 0;
  z-index: 5;
  opacity: 1;
  width: 100%;
  -webkit-transition: all 3s;
  transition: all 3s;
}

#c.active {
  opacity: 0;
}

.admahistory {
  background-color: #1a383b;
  background-image: url(/abudhabi/img/admahistory01.png);
  background-position: bottom right;
  background-repeat: no-repeat;
  padding: 30px 0 0 0;
}

/*タイムライン*/
.cbp_tmtimeline {
  margin: 30px 0 0 0;
  padding: 0;
  list-style: none;
  position: relative;
  font-size: 14px;
}

/* The line */
.cbp_tmtimeline:before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: #fff;
  left: 20%;
}

.cbp_tmtimeline > li {
  position: relative;
  margin-bottom: 40px;
  opacity: 0;
  -webkit-animation-duration: 1s;
          animation-duration: 1s;
}

.cbp_tmtimeline > li.active {
  animation-name: divfadein;
  -webkit-animation-name: divfadein;
  animation-timing-function: ease-out;
  -webkit-animation-timing-function: ease-out;
  opacity: 1;
}

@-webkit-keyframes divfadein {
  0% {
    -webkit-transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes divfadein {
  0% {
    -webkit-transform: translateY(50px);
            transform: translateY(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0px);
            transform: translateY(0px);
    opacity: 1;
  }
}

/* The date/time */
.cbp_tmtimeline > li .cbp_tmtime {
  display: block;
  width: 18%;
  padding-right: 100px;
  position: absolute;
}

.cbp_tmtimeline > li .cbp_tmtime span {
  display: block;
  text-align: right;
}

.cbp_tmtimeline > li .cbp_tmtime span:first-child {
  color: #fff;
}

/* Right content */
.cbp_tmtimeline > li .cbp_tmlabel {
  margin: 0 0 15px 22%;
  color: #fff;
  position: relative;
  border-radius: 5px;
}

.cbp_tmlabel p {
  font-size: 14px;
  line-height: 20px;
}

/* The icons */
.cbp_tmtimeline > li .cbp_tmicon {
  width: 10px;
  height: 10px;
  line-height: 10px;
  position: absolute;
  color: #fff;
  background: #fff;
  border-radius: 50%;
  text-align: center;
  left: 20%;
  top: 5px;
  margin-left: -5px;
}

/* Example Media Queries */
@media screen and (max-width: 47.2em) {
  .cbp_tmtimeline:before {
    display: none;
  }
  .cbp_tmtimeline > li .cbp_tmtime {
    width: 100%;
    position: relative;
    padding: 1em 0 0.5em 1em;
    font-size: 14px;
  }
  .cbp_tmtimeline > li .cbp_tmtime span {
    text-align: left;
  }
  .cbp_tmtimeline > li .cbp_tmlabel {
    margin: 0 0 20px 0;
    padding: 0em 1em;
    font-size: 14px;
  }
  .cbp_tmtimeline > li .cbp_tmlabel:after {
    right: auto;
    left: 20px;
    border-right-color: transparent;
    border-bottom-color: #3594cb;
    top: -20px;
  }
  .cbp_tmtimeline > li:nth-child(odd) .cbp_tmlabel:after {
    border-right-color: transparent;
    border-bottom-color: #6cbfee;
  }
  .cbp_tmtimeline > li .cbp_tmicon {
    display: none;
  }
}

/*タイムラインend*/
@media only screen and (max-width: 979px) {
  #history .header {
    height: 100%;
  }
  .section.historycol {
    display: block;
  }
  .historybox {
    float: none;
    width: 100%;
  }
  .historybox .bordercircle .fa-circle {
    margin-top: -0.9rem;
  }
}
