@import url('icon.css');

@font-face {
  font-family: 'samarkan';
  src: url('./samarkan.TTF');
}

@font-face {
  font-family: 'taibaijan';
  src: url('./taibaijan.otf');
}


body {
  overflow: hidden;
  background-color: #EEEEEE;
}

h1 {
  margin-top: 5px;
  margin-bottom: 5px;
  font-family: samarkan;
  font-size: 80px;
  color: #ff5722;
  text-align: center;
}

h3 {
  font-family: taibaijan;
  margin-left: 50px;
  margin-right: 50px;
  font-size: 30px;
  text-align: center;
}

h5 {
  margin-top: 5px;
  font-family: taibaijan;
  color: #ff5722;
  font-size: 40px;
  text-shadow: 1px 1px 2px black;
}

hr {
  background: #000;
  width: 75%;
  height: 5px;
}

md-card-title {
  font-size: 30px;
  font-family: taibaijan;
}

md-card-content {
	text-align: justify;
}

md-card-footer {
  font-style: italic;
  text-align: right;
}

.title {
  margin-left: 10px;
  font-family: samarkan;
}

.subitem {
  margin-left: 40px;
}

.underline {
  border-bottom: 2px solid #ff5722;
  width: 100%;
  display: block;
}

.underline-home {
  border-bottom: 4px solid #999966;
  width: 100%;
  display: block;
}

.underline-deeporange {
  border-bottom: 2px solid #ff5722;
  width: 100%;
  display: block;
}

.underline-orange {
  border-bottom: 2px solid #ffc107;
  width: 100%;
  display: block;
}

.outline {
  outline: none;
  border: 0;
}

.content {
  padding: 24px;
  background-color: #EEEEEE;
}

.footer{
  position: relative;
  bottom: 0px;
  text-align: center;
  vertical-align: middle;
  font-size: 0.8em;
}

.center-title {
  font-family: taibaijan;
  font-size: 40px;
  display: flex;
  justify-content: center; /* align horizontal */
  align-items: center; /* align vertical */
  text-align: center;
}

.center-text {
  text-align: center;
}

.fullsize {
  width: 100%;
  height: 100%;
}

.under {
  margin-top: 30px;
  margin-bottom: 10px;
}

.under-toolbar {
  margin-top: 25px;
  margin-bottom: 5px;
}

.elevation {
  background:#FFF;
  -moz-box-shadow: 0px 0px 20px 0px #656565;
  -webkit-box-shadow: 0px 0px 20px 0px #656565;
  -o-box-shadow: 0px 0px 20px 0px #656565;
  box-shadow: 0px 0px 20px 0px #656565;
  filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=NaN, Strength=20);
}

.image {
  max-width:100%;
  max-height:100%;
}

.card-logo {
  width: 10%;
  height: 10%;
  float: right;
  margin: 0 0 10px 10px;
}

.content-row {
  display: flex;
  justify-content: center;
  align-items: center;
}

.content-row-alternate {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}

.right {
  /*margin-left: 10px;*/
  flex: 1;
}

.left {
  /*margin-right: 10px;*/
  flex: 1;
}

.middle {
  flex: 5;
}

.calendar {
  height: 900px;
}

.date {
  color: #9e9e9e;
  font-style: italic;
}

.red {
  color: #f44336;
}

.grey {
  color: #9e9e9e;
}
.white {
  color: #fff;
}

.italic {
  font-style: italic;
}

.md-body-2 {
  font-size: inherit!important;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.countdown-timer {
  font-size: 30px;
  font-size: center;
}

.fab-bottom {
  top: auto;
  right: 20px;
  bottom: 20px;
  left: auto;
  position: fixed;
}

.fab-top {
  top: auto;
  right: 20px;
  top: 65px;
  left: auto;
  position: fixed;
}

.happy-day {
  color: #ff9800;
}

/* Slider */
*,
*::before,
*::after {
  box-sizing: border-box;
}

.outer-wrapper {
  width: 90%;
  margin: 5px auto;
  padding-top: 20px;
}

.s-wrap {
  width: 100%;
  margin-bottom: 50px;
  padding-bottom: 55%;
  position: relative;
  border: 0px solid #fff;
  background-color: #efefe8;
  /*box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);*/
  -moz-box-shadow: 0px 0px 20px 0px #656565;
  -webkit-box-shadow: 0px 0px 20px 0px #656565;
  -o-box-shadow: 0px 0px 20px 0px #656565;
  box-shadow: 0px 0px 20px 0px #656565;
  filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=NaN, Strength=20);
  overflow: hidden;
}
.s-wrap > input {
  display: none;
}
.s-wrap .s-content {
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 500%;
  height: 100%;
  font-size: 0;
  list-style: none;
  transition: transform 1s;
}
.s-wrap .s-item {
  display: inline-block;
  width: 20%;
  height: 100%;
  background-repeat: no-repeat;
  background-size: cover;
}
.s-wrap .s-item-1 {
  background-image: url("../img/icon.png");
}
.s-wrap .s-item-2 {
  background-image: url("../img/banderole1.jpg");
}
.s-wrap .s-item-3 {
  background-image: url("../img/banderole2.jpg");
}
.s-wrap .s-item-4 {
  background-image: url("../img/banderole3.jpg");
}
.s-wrap .s-item-5 {
  background-image: url("../img/group.jpg");
}

.s-type-1 .s-control {
  position: absolute;
  bottom: 18px;
  left: 50%;
  text-align: center;
  transform: translateX(-50%);
  transition-timing-function: ease-out;
}
.s-type-1 .s-control > label[class^="s-c-"] {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 10px;
  border-radius: 50%;
  border: 1px solid #999;
  background-color: #efefe8;
  cursor: pointer;
}
.s-type-1 .s-nav label {
  display: none;
  position: absolute;
  top: 50%;
  padding: 5px 10px;
  transform: translateY(-50%);
  cursor: pointer;
}
.s-type-1 .s-nav label::before, .s-type-1 .s-nav label::after {
  content: "";
  display: block;
  width: 8px;
  height: 24px;
  background-color: #fff;
}
.s-type-1 .s-nav label::before {
  margin-bottom: -12px;
}
.s-type-1 .s-nav label.left {
  left: 20px;
}
.s-type-1 .s-nav label.left::before {
  transform: rotate(45deg);
}
.s-type-1 .s-nav label.left::after {
  transform: rotate(-45deg);
}
.s-type-1 .s-nav label.right {
  right: 20px;
}
.s-type-1 .s-nav label.right::before {
  transform: rotate(-45deg);
}
.s-type-1 .s-nav label.right::after {
  transform: rotate(45deg);
}
.s-type-1 #s-1:checked ~ .s-content {
  transform: translateX(0%);
}
.s-type-1 #s-1:checked ~ .s-control .s-c-1 {
  background-color: #333;
}
.s-type-1 #s-1:checked ~ .s-nav .s-nav-1 {
  display: block;
}
.s-type-1 #s-2:checked ~ .s-content {
  transform: translateX(-20%);
}
.s-type-1 #s-2:checked ~ .s-control .s-c-2 {
  background-color: #333;
}
.s-type-1 #s-2:checked ~ .s-nav .s-nav-2 {
  display: block;
}
.s-type-1 #s-3:checked ~ .s-content {
  transform: translateX(-40%);
}
.s-type-1 #s-3:checked ~ .s-control .s-c-3 {
  background-color: #333;
}
.s-type-1 #s-3:checked ~ .s-nav .s-nav-3 {
  display: block;
}
.s-type-1 #s-4:checked ~ .s-content {
  transform: translateX(-60%);
}
.s-type-1 #s-4:checked ~ .s-control .s-c-4 {
  background-color: #333;
}
.s-type-1 #s-4:checked ~ .s-nav .s-nav-4 {
  display: block;
}
.s-type-1 #s-5:checked ~ .s-content {
  transform: translateX(-80%);
}
.s-type-1 #s-5:checked ~ .s-control .s-c-5 {
  background-color: #333;
}
.s-type-1 #s-5:checked ~ .s-nav .s-nav-5 {
  display: block;
}


.s-type-2 .s-content {
  animation: slider-animation 50s ease-in-out infinite;
}
/*.s-type-2 .s-content:hover {
  animation-play-state: paused;
}*/

@keyframes slider-animation {
  0%,
    7% {
    transform: translateX(0%);
  }
  12.5%,
    19.5% {
    transform: translateX(-20%);
  }
  25%,
    32% {
    transform: translateX(-40%);
  }
  37.5%,
    44.5% {
    transform: translateX(-60%);
  }
  50%,
    57% {
    transform: translateX(-80%);
  }
  62.5%,
    69.5% {
    transform: translateX(-60%);
  }
  75%,
    82% {
    transform: translateX(-40%);
  }
  87.5%,
    94.5% {
    transform: translateX(-20%);
  }
}


/** RESPONSIVE **/
@media screen and (max-width: 600px) {
  md-card-content {
  	text-align: left;
  }

  .under {
    margin-top: 2px;
    margin-bottom: 10px;
  }

  .center-title {
    text-align: center;
    font-size: 25px;
  }

  .content-row {
    display: flex;
    flex-direction: column;
  }

  .right {
    margin-left: 0px;
  }

  .left {
    margin-right: 0px;
  }

  .countdown-timer {
    font-size: 20px;
    text-align: center;
  }

  .card-footer {
    flex-direction: column;
    justify-content: center;
  }
}
