.header .header-static {
  display: flex;
  align-items: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.header .header-static .text-box {
  color: #FFFFFF;
}
.header .carousel .carousel-inner .carousel-item .carousel-image {
  width: 100%;
}
.header .carousel .carousel-inner .carousel-item .carousel-image img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: bottom;
}
.header .carousel .carousel-inner .carousel-item .carousel-caption {
  text-align: left;
  bottom: 0;
  height: 100%;
  left: 0;
  right: 0;
}
.header .carousel .carousel-inner .carousel-item .carousel-caption .btn {
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1607843137);
  color: #FFFFFF;
  padding: 10px 20px;
  margin-top: 20px;
}
.header .carousel .carousel-inner .carousel-item .carousel-caption .btn i {
  margin-left: 20px;
}

@media only screen and (min-width: 320px) {
  .header.header-slider {
    min-height: 240px;
  }
  .header .header-static {
    min-height: 128px;
  }
  .header .carousel .carousel-inner {
    height: 240px;
  }
  .header .carousel .carousel-inner .carousel-item .carousel-image {
    height: 240px;
  }
}
@media only screen and (min-width: 768px) {
  .header.header-slider {
    min-height: 400px;
  }
  .header .header-static {
    min-height: 240px;
  }
  .header .carousel .carousel-inner {
    height: 400px;
  }
  .header .carousel .carousel-inner .carousel-item .carousel-image {
    height: 400px;
  }
}
@media only screen and (min-width: 992px) {
  .header.header-slider {
    min-height: 400px;
  }
  .header .header-static {
    min-height: 400px;
  }
  .header .carousel .carousel-inner {
    height: 400px;
  }
  .header .carousel .carousel-inner .carousel-item .carousel-image {
    height: 400px;
  }
}
@media (min-width: 768px) {
  .alert {
    border-radius: 6px;
    display: table;
    width: 100%;
    position: relative;
    border: 1px solid #e6e6e6;
  }
  .alert .icon {
    text-align: center;
    width: 58px;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    border: 1px solid #bdbdbd;
    padding-top: 15px;
    border-radius: 6px 0 0 6px;
  }
  .alert .icon i {
    font-size: 20px;
    color: #fff;
    left: 21px;
    margin-top: -10px;
    position: absolute;
    top: 50%;
  }

  img {
    max-width: 50%;
  }

  .img-center {
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .img-left {
    display: block;
    margin-left: 0px;
    margin-right: auto;
  }

  .img-right {
    display: block;
    margin-left: auto;
    margin-right: 0px;
  }

  .btn-close {
    font-size: 12px;
  }

  .use-icon {
    padding-left: 78px;
    padding-right: 60px;
  }

  .alert-success .icon,
.alert-success .icon:after {
    border-color: none;
    background: #00986a;
  }

  .alert-info .icon,
.alert-info .icon:after {
    border-color: none;
    background: #00b3c8;
  }

  .alert-warning .icon,
.alert-warning .icon:after {
    border: none;
    background: #f9af2c;
  }

  .alert-danger .icon,
.alert-danger .icon:after {
    border-color: none;
    background: #c82630;
  }
}
.cards h2, .cards .lead {
  text-align: center;
}

.card-with-image {
  background-color: #FFFFFF;
  box-shadow: 0px 3px 30px rgba(0, 34, 146, 0.1019607843);
  width: 100%;
  display: flex;
}
.card-with-image .card-image {
  display: none;
}
.card-with-image .card-image img {
  min-width: 100%;
}
.card-with-image .card-body {
  padding: 20px;
  position: relative;
  flex-grow: 1;
  position: relative;
}
.card-with-image .card-body .card-title {
  font-size: 20px;
  line-height: 28px;
}
.card-with-image .card-body p.card-text {
  width: 100%;
  overflow: hidden;
  text-overflow: clip;
}
.card-with-image .card-body a.btn.btn-card {
  background: transparent linear-gradient(143deg, #429AD8 0%, #227AB8 100%) 0% 0% no-repeat padding-box;
  box-shadow: 0px 3px 30px rgba(0, 34, 146, 0.2);
  border-radius: 0 auto;
  color: #FFFFFF;
  padding: 6px 16px;
  float: right;
  transition: none;
}
.card-with-image .card-body a.btn.btn-card:hover {
  background: #429AD8;
  color: #FFFFFF;
}

.card-with-icon {
  background-color: #FFFFFF;
  box-shadow: 0px 3px 30px rgba(0, 34, 146, 0.1019607843);
  width: 100%;
}
.card-with-icon .card-body {
  padding: 20px;
  position: relative;
}
.card-with-icon .card-body p.card-text {
  width: 100%;
  overflow: hidden;
  text-overflow: clip;
}
.card-with-icon .card-button a.btn.btn-card {
  background: transparent linear-gradient(143deg, #429AD8 0%, #227AB8 100%) 0% 0% no-repeat padding-box;
  box-shadow: 0px 3px 30px rgba(0, 34, 146, 0.2);
  border-radius: 0 auto;
  color: #FFFFFF;
  padding: 6px 16px;
  float: right;
  transition: none;
}
.card-with-icon .card-button a.btn.btn-card:hover {
  background: #429AD8;
  color: #FFFFFF;
}

.card-post {
  background-color: #FFFFFF;
  box-shadow: 0px 3px 30px rgba(0, 34, 146, 0.1019607843);
  width: 100%;
}
.card-post .card-image img {
  min-width: 100%;
}
.card-post .card-body {
  padding: 20px;
  position: relative;
}
.card-post .card-body .card-title {
  font-size: 20px;
  line-height: 28px;
}
.card-post .card-body p.card-text {
  width: 100%;
  overflow: hidden;
  text-overflow: clip;
}
.card-post .card-body a.btn.btn-card {
  background: transparent linear-gradient(143deg, #429AD8 0%, #227AB8 100%) 0% 0% no-repeat padding-box;
  box-shadow: 0px 3px 30px rgba(0, 34, 146, 0.2);
  border-radius: 0 auto;
  color: #FFFFFF;
  padding: 6px 16px;
  float: right;
  transition: none;
}
.card-post .card-body a.btn.btn-card:hover {
  background: #429AD8;
  color: #FFFFFF;
}

@media only screen and (max-width: 768px) {
  .cards {
    margin-top: 20px !important;
    margin-right: 20px !important;
  }

  .card-with-image {
    margin-bottom: 16px;
  }
  .card-with-image .card-body a.btn.btn-card {
    position: absolute;
    top: calc(0% + 14px);
    right: -20px !important;
    bottom: unset !important;
    float: none !important;
    padding: 4px 16px !important;
  }

  .card-post {
    margin-bottom: 16px;
  }
  .card-post .card-body a.btn.btn-card {
    padding: 4px 16px !important;
  }
}
@media only screen and (min-width: 768px) {
  .card-with-image .card-image {
    display: block !important;
  }

  .card-post {
    margin-bottom: 60px;
  }
  .card-post .card-image {
    display: block !important;
  }
}
