/* --------------------------------------------------------
Style Sheet for Baylor United Theme

UI Buttons:
  version: 3.5
  last modified: 10/07/2020 by Michael Bell
  author: Baylor University
----------------------------------------------------------*/

/* Button Container */

.uiButton-container {
  margin: 20px 0 0 0;
  display: flex;
  align-items: center;
}

.uiButton-container[data-align="center"]  {
  justify-content: center;
}

.uiButton-container .baylor-button__secondary {
  margin-right: 20px;
}

.uiButton-container .baylor-button__explore {
  margin-right: 50px;
}

/* ----
 * Baylor Buttons
 *  - baylor-button(default style)
 *     - data-color: gold(default), white, green
 *     - data-size: regular(default), small
 *     - data-align: center, right
 *
 *  - baylor-button__secondary
 *     - data-color: green(default), gold, white
 *     - data-size: default(18px)

 *  - baylor-button__explore
 *     - data-color: data-color: gold(default), white, green
 *     - data-size: default(18px)
 ----*/
.baylor-button, .baylor-button__input-submit,
.box_link a, .event-description a.onlineRegistration {
  display: inline-block;
  border: 3px solid #ffb81c;
  padding: 12px 20px 13px 20px;
  position: relative;
  background: 0;
  overflow: hidden;
  transition: all .25s;
  color: #154734;
  /*margin-right: 20px;*/
  z-index: 1;
  text-transform: uppercase;
  font: 700 16px/1.2em bio-sans, Arial, sans-serif;
  vertical-align: center;
  text-decoration: none !important;
  cursor: pointer;
}

.section__background--gold .uiBandHeader h2+.baylor-button {
  border-color: #1c5944;
  color: #1c5944;
}
.section__background--gold .uiBandHeader h2+.baylor-button:before {
  background: #1c5944;
}
.section__background--gold .uiBandHeader h2+.baylor-button:hover {
  color: #fff !important;
}

.baylor-button__input-submit {
  border: none;
  padding: 0px;
}
.baylor-button[data-color="white"] {
  color: #fff;
}

.baylor-button[data-color="green"] {
  border-color: #1c5944;
  color: #1c5944;
}

.baylor-button[data-size="small"] {
  font-size: 14px;
  line-height:1.35em;
  padding: 10px 16px;
}

[data-align="center"] {
  text-align: center;
}

[data-align="center"] .baylor-button {
  margin: 0 10px;
}

[data-align="right"] {
  text-align: right;
}

[data-align="right"] .baylor-button {
  margin: 0 0 0 20px;
}

.baylor-button:hover, .baylor-button__input-submit:hover,
.box_link a:hover, .event-description a.onlineRegistration:hover {
  color: #0a2d21;
  text-decoration: none !important;
}

.baylor-button::before, .baylor-button__input-submit::before, .event-description a.onlineRegistration::before {
  background: #ffb81c;
  content: "";
  top: 0;
  left: -2px;
  right: -2px;
  bottom: -1px;
  position: absolute;
  z-index: -1;
  transition: all .25s;
  transform: translateX(-105%);
}

.baylor-button[data-color="green"]::before {
  background-color: #1c5944;
}

.baylor-button:hover::before, .baylor-button__input-submit:hover::before, .event-description a.onlineRegistration:hover::before {
  transform: translateX(0);
}

.baylor-button[data-color="green"]:hover {
  color: #fff;
}

.content__middle .event-description a.baylor-button__secondary {
  text-decoration: none;
}

.content__middle .event-description a.baylor-button__secondary:hover {
  text-decoration: none;
  background: none;
}

.baylor-button__secondary {
  text-decoration: none;
  color: #154734;
  overflow: visible;
  font: 700 14px/1em bio-sans, Arial, sans-serif;
  text-transform: uppercase;
  position: relative;
  background-image: linear-gradient(#154734,#154734);
  background-position: 0% 100%;
  background-repeat: no-repeat;
  background-size: 0 2px;
  transition: all 0.3s;
  line-height: 1.1em;
  vertical-align: middle;
  display: inline;
}

.baylor-button__secondary[data-color="white"] {
  background-image: linear-gradient(#fff,#fff);
  color: #fff;
}

.baylor-button__secondary[data-color="white"]:hover,
.baylor-button__secondary[data-color="white"]:hover::after {
  color:#fff;
}

.baylor-button__secondary[data-color="gold"] {
  background-image: linear-gradient(#ffb81c,#ffb81c);
  color: #ffb81c;
}

.baylor-button__secondary[data-color="gold"]:hover,
.baylor-button__secondary[data-color="gold"]:hover::after {
  color: #ffb81c;
}

.baylor-button__secondary::after {
  font: normal normal 300 16px/1 Font Awesome\ 5 Pro;
  content: "\f105";
  display: inline-block;
  padding-left: 4px;
  transform: translate3d(11px,1px,0px);
  margin-left: -11px;
  transition: all .2s;
}

.baylor-button__secondary:hover {
  text-decoration: none;
  background-size: 100% 2px;
  color: #154734;
}

@keyframes uiButtonSecondary {
  0% { transform: translate3d(11px,1px,0px) scale(1) }
  50% {transform: translate3d(14px,1px,0px) scale(1.14) }
  100% { transform: translate3d(11px,1px,0px) scale(1) }
}

.baylor-button__secondary:hover::after {
  animation-name: uiButtonSecondary;
  animation-duration: 1s;
  animation-iteration-count: 1;
  animation-timing-function: ease-out;
}

.baylor-button__explore {
  text-decoration: none;
  color: #ffb81c;
  border: 0;
  background: 0;
  cursor: pointer;
  box-sizing: border-box;
  vertical-align: text-top;
  padding: 14px 0 3px 0;
  overflow: visible;
  transform: scale(1) translate3d(0,0,0);
  -webkit-backface-visibility: hidden;
  text-transform: uppercase;
  margin-right: 40px;
  position: relative;
  display: inline-block;
  font: 700 18px/1em bio-sans
}

.baylor-button__explore[data-color="green"] {
  color: #1c5944;
}

.baylor-button__explore[data-color="white"] {
  color: #fff;
}


.baylor-button__explore::before {
  position: absolute;
  font: normal normal normal 16px/1 Font Awesome\ 5 Pro;
  bottom: 1px;
  transition: all .5s ease;
  content: "\f0ab";
  font-weight: 300;
  font-size: 26px;
  line-height: 1em;
  right: -34px;
}


.baylor-button__explore::after {
  opacity: 1;
  top: auto;
  height: 2px;
  background: #ffb81c;
  transform: scale(0, 1);
  transition: all .3s ease-out;
  transform-origin: 0 100%;
  left: 0;
  right: 0;
  bottom: 0;
  content: "";
  position: absolute;
}

.baylor-button__explore[data-color="green"]::after {
  background: #1c5944;
}

.baylor-button__explore[data-color="white"]::after {
  background: #fff;
}


.baylor-button__explore:hover {
  text-decoration: none;
}

.baylor-button__explore:hover::after {
  transform: scale(1, 1)
}

@keyframes uiButtonExplore {
  0% { transform: translateY(0) }
  50% {transform: translateY(4px) }
  100% { transform: translateY(0px) }
}

.baylor-button__explore:hover::before {
  animation-name: uiButtonExplore;
  animation-duration: .7s;
  animation-iteration-count: 1;
  animation-timing-function: ease-out;
}

/* Social Media Buttons */

.uiSocialMediaList {
  text-align: center;
  margin: 30px 0;
}

.socialButton {
  display: inline-block;
  min-width: 150px;
  max-width: 250px;
  margin: .68em;
  padding: 1em 2em;
  border: none;
  background: none;
  color: inherit;
  vertical-align: middle;
  position: relative;
  z-index: 1;
  -webkit-backface-visibility: hidden;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
}

/*.socialButton:focus {
    outline: none;
}*/
.socialButton > span {
  vertical-align: middle;
}

/* Typography and Roundedness */
.socialButton--text-upper {
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* default */
.socialButton {
  width: 100px; /* assumes large size */
  height: 100px;
  min-width: 0;
  padding: 0;
  color: #fff;
  -webkit-transition: color 0.3s;
  transition: color 0.3s;
}

.socialButton--gray_icon {
  color: #7f7f7f;
}

.socialButton--size-s {
  width: 40px;
  height: 40px;
}

.socialButton--size-m {
  width: 64px;
  height: 64px;
}

.socialButton--size-l {
  width: 96px;
  height: 96px;
}

.socialButton--size-xl {
  width: 120px;
  height: 120px;
}

.socialButton--round {
  border-radius: 50%;
}

.socialButton--square {

}

.socialButton--rounded_square {
  border-radius: 20%;
}

.socialButton::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  z-index: -1;
  box-shadow: inset 0 0 0 60px #bdbdbd;
  -webkit-transform: scale3d(0.9, 0.9, 1);
  transform: scale3d(0.9, 0.9, 1);
  -webkit-transition: box-shadow 0.3s, -webkit-transform 0.3;
  transition: box-shadow 0.3s, transform 0.3s;
}

.socialButton--color_icon::before,
.socialButton.socialButton--gray_icon::before {
  box-shadow: inset 0 0 0 60px #fff;
}


.socialButton i {
  font-size: 36px;
  top: 50%;
  margin-top: -180px;
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
}

/* Sizes */
.socialButton--size-s i {
  font-size: 18px;
  margin-top: -9px;
  line-height: 1em;
}
.socialButton--size-m i {
  font-size: 24px;
  margin-top: -12px;
  line-height: 1em;
}
.socialButton--size-l i {
  font-size: 36px;
  margin-top: -18px;
  line-height: 1em;
}


.socialButton:hover {
  color: #7f7f7f;
}

.socialButton:hover::before {
  box-shadow: inset 0 0 0 2px #7f7f7f;
  -webkit-transform: scale3d(1, 1, 1);
  transform: scale3d(1, 1, 1);
}

/* Social Media Brand Colors */

.socialButton--color_icon.socialButton--facebook,
.socialButton--facebook:hover {
  color: #3b5999;
}

.socialButton--facebook:hover::before {
  box-shadow: inset 0 0 0 2px #3b5999;
}

.socialButton--color_icon.socialButton--instagram,
.socialButton--instagram:hover {
  color: #125687;
}

.socialButton--instagram:hover::before {
  box-shadow: inset 0 0 0 2px #125687;
}

.socialButton--color_icon.socialButton--linkedin,
.socialButton--linkedin:hover {
  color: #0077b5;
}

.socialButton--linkedin:hover::before {
  box-shadow: inset 0 0 0 2px #0077b5;
}

.socialButton--color_icon.socialButton--pinterest,
.socialButton--pinterest:hover {
  color: #bd081c;
}

.socialButton--pinterest:hover::before {
  box-shadow: inset 0 0 0 2px #bd081c;
}

.socialButton--color_icon.socialButton--twitter,
.socialButton--twitter:hover {
  color: #55acee;
}

.socialButton--twitter:hover::before {
  box-shadow: inset 0 0 0 2px #55acee;
}

.socialButton--color_icon.socialButton--youtube,
.socialButton--youtube:hover {
  color: #cd201f;
}

.socialButton--youtube:hover::before {
  box-shadow: inset 0 0 0 2px #cd201f;
}
