/**
 * Button Components
 * SOKUDAN Top Theme
 */

/* ==========================================================================
   Base Button Styles
   ========================================================================== */

a.btn-register,
a.btn-outlined {
  font-weight: 700;
  text-decoration: none;
}

/* Register Button */
a.btn-register,
a.btn-register:active {
  background: #ed9c00;
  color: #fff;
}

a.btn-register:hover,
a.btn-register:focus,
a.btn-register:active:hover,
a.btn-register:active:focus {
  background: #eba82c;
}

/* Outlined Button */
a.btn-outlined {
  border: solid 2px;
  color: #3b3b3b;
}

a.btn-outlined:hover,
a.btn-outlined:focus {
  color: #a1a1a1;
}

a.btn-outlined:focus {
  box-shadow: 0 0 0 0.2rem rgba(204, 204, 204, 0.5);
}

a.btn-outlined,
a.btn-outlined:active {
  background: #fff;
}

/* ==========================================================================
   CTA Buttons
   ========================================================================== */

a.btn-cta {
  width: 280px;
  white-space: nowrap;
  display: block;
  border-radius: 9999px;
  outline: 0;
  padding: 12px 40px;
  text-align: center;
  font-weight: 700;
  font-size: 1.125rem;
  background-image: linear-gradient(135deg, #fff 50%, transparent 50%);
  background-position: 100%;
  background-size: 300%;
  color: white;
  text-decoration: none;
  transition: background 0 ease-in-out;
  box-shadow: 5px 0px 10px 0px rgba(0, 0, 0, 0.2);
}

a.btn-cta.btn-green {
  border: 2px solid #00b312;
  background-color: #00b312;
  color: #fff;
}

a.btn-cta.btn-green:hover {
  background-position: 0;
  color: #00b312;
  transition: all 0.7s ease-in-out;
}

a.btn-cta.btn-green:hover svg path {
  stroke: #00b312;
  transition: all 0.7s ease-in-out;
}

a.btn-cta.btn-orange {
  border: 2px solid #f18500;
  background-color: #f18500;
  color: #fff;
}

a.btn-cta.btn-orange:hover {
  background-position: 0;
  color: #f18500;
  transition: all 0.7s ease-in-out;
}

a.btn-cta.btn-orange:hover svg path {
  stroke: #f18500;
  transition: all 0.7s ease-in-out;
}

/* ==========================================================================
   Button Groups
   ========================================================================== */

.button-group {
  margin: 40px auto;
}

@media (min-width: 768px) {
  .button-group {
    margin-bottom: 90px;
    width: 620px;
    height: 60px;
  }

  .button-group a.btn-register,
  .button-group a.btn-outlined {
    float: left;
    margin: 0 15px;
  }
}

@media (max-width: 767.98px) {
  a.btn-register,
  a.btn-outlined {
    margin: 3vw auto;
  }
}

/* ==========================================================================
   Document Request Button (Fixed Position)
   ========================================================================== */

.button__document-request {
  position: fixed;
  display: none;
  z-index: 9999;
  width: 100%;
  right: auto;
  top: auto;
  bottom: 0;
  transform: none;
  background: rgba(255, 255, 255, 0.85);
  padding: 20px 10px;
}

@media (min-width: 768px) {
  .button__document-request {
    display: none;
  }
}

.button__document-request.show {
  display: block;
  animation: slidein 1s;
  bottom: 0;
  right: auto;
}

@media (min-width: 768px) {
  .button__document-request.show {
    display: none;
  }
}

.button__document-request.hide {
  display: block;
  animation: slideout 1s;
  bottom: -100px;
}

@media (min-width: 768px) {
  .button__document-request.hide {
    display: none;
  }
}

.button__document-request .cta-buttons {
  margin: 0;
  padding: 0 10px;
}

.button__document-request .cta-buttons li {
  width: 100%;
}

.button__document-request .cta-buttons a.btn-green,
.button__document-request .cta-buttons a.btn-orange {
  width: 100%;
  border-radius: 9999px;
  padding: 2vw 3vw;
  font-size: 4vw;
}

.button__document-request .cta-buttons a.btn-green svg,
.button__document-request .cta-buttons a.btn-orange svg {
  width: 5vw;
  height: auto;
}
