@-webkit-keyframes bounceDelay {

  0%,
  80%,
  100% {
    -webkit-transform: scale(0);
  }

  40% {
    -webkit-transform: scale(1);
  }
}

@keyframes bounceDelay {

  0%,
  80%,
  100% {
    transform: scale(0);
    -webkit-transform: scale(0);
  }

  40% {
    transform: scale(1);
    -webkit-transform: scale(1);
  }
}

.fa {
  font-size: medium;
}

th {
  vertical-align: middle;
}

a {
  cursor: pointer;
}


.page-spinner-bar>div,
.block-spinner-bar>div {
  background: #FB935A;
}

.page-spinner-bar {
  position: fixed;
  z-index: 10051;
  width: 100px;
  top: 40%;
  left: 50%;
  margin-left: -55px;
  text-align: center;
}

.page-spinner-bar>div {
  margin: 0 5px;
  width: 18px;
  height: 18px;
  background: #FB935A;
  border-radius: 100% !important;
  display: inline-block;
  -webkit-animation: bounceDelay 1.4s infinite ease-in-out;
  animation: bounceDelay 1.4s infinite ease-in-out;
  /* Prevent first frame from flickering when animation starts */
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.page-spinner-bar .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.page-spinner-bar .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

.block-spinner-bar {
  display: inline-block;
  width: 80px;
  text-align: center;
}

.block-spinner-bar>div {
  margin: 0 2px;
  width: 15px;
  height: 15px;
  background: #eee;
  border-radius: 100% !important;
  display: inline-block;
  -webkit-animation: bounceDelay 1.4s infinite ease-in-out;
  animation: bounceDelay 1.4s infinite ease-in-out;
  /* Prevent first frame from flickering when animation starts */
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
}

.block-spinner-bar .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.block-spinner-bar .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

// Fade-in
@-webkit-keyframes fadeInUp {
  0% {
    opacity: 0;
    -webkit-transform: translateY(15px);
  }

  100% {
    opacity: 1;
    -webkit-transform: translateY(0);
  }
}

@-moz-keyframes fadeInUp {
  0% {
    opacity: 0;
    -moz-transform: translateY(15px);
  }

  100% {
    opacity: 1;
    -moz-transform: translateY(0);
  }
}

@-o-keyframes fadeInUp {
  0% {
    opacity: 0;
    -o-transform: translateY(15px);
  }

  100% {
    opacity: 1;
    -o-transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(15px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

[ui-view].fade-in-up {
  -webkit-animation: fadeInUp 1s;
  animation: fadeInUp 1s;
}

.h3 {
  font-size: 28px;
  color: #7e0000;
  line-height: 38px;
}


.item-wrapper a {
  display: inline !important;
}

.item-wrapper {
  //display: inline;
  //position: relative;
}

.item-wrapper form {
  position: absolute;
  top: -65px;
  background: #FFF;
  border: 1px solid #AAA;
  border-radius: 5px;
  padding: 7px;
  width: 350px;
  display: inline-block;
  left: 50%;
  margin-left: -180px;
  z-index: 101;
}

.item-wrapper form:before {
  content: "";
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #AAA;
  position: absolute;
  bottom: -10px;
  left: 170px;
}

.item-wrapper form:after {
  content: "";
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid #FFF;
  position: absolute;
  bottom: -9px;
  left: 171px;
}

.item-wrapper-url a {
  display: inline !important;
}

.item-wrapper-url {
  //display: inline;
  //position: relative;
}

.item-wrapper-url form {
  position: absolute;
  top: 40px;
  background: #FFF;
  border: 1px solid #AAA;
  border-radius: 5px;
  padding: 7px;
  width: 350px;
  display: inline-block;
  left: 50%;
  margin-left: -180px;
  z-index: 101;
}

.item-wrapper-url form:before {
  content: "";
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #AAA;
  position: absolute;
  bottom: -10px;
  left: 170px;
}

.item-wrapper-url form:after {
  content: "";
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid #FFF;
  position: absolute;
  bottom: -9px;
  left: 171px;
}


.item-wrapper-textarea {
  //display: inline;
  //position: relative;
}

.item-wrapper-textarea form {
  position: absolute;
  top: -70px;
  background: #FFF;
  border: 1px solid #AAA;
  border-radius: 5px;
  padding: 7px;
  width: 450px;
  display: inline-block;
  left: 50%;
  margin-left: -222px;
  z-index: 101;
}

.item-wrapper-textarea form:before {
  content: "";
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #AAA;
  position: absolute;
  bottom: -10px;
  left: 225px;
}

.item-wrapper-textarea form:after {
  content: "";
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid #FFF;
  position: absolute;
  bottom: -9px;
  left: 226px;
}

.item-wrapper-time {
  //display: inline;
  //position: relative;
}

.item-wrapper-time form {
  position: absolute;
  top: -92px;
  background: #FFF;
  border: 1px solid #AAA;
  border-radius: 5px;
  padding: 7px;
  width: 250px;
  display: inline-block;
  left: 50%;
  margin-left: -122px;
  z-index: 101;
}

.item-wrapper-time form:before {
  content: "";
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-top: 10px solid #AAA;
  position: absolute;
  bottom: -10px;
  left: 122px;
}

.item-wrapper-time form:after {
  content: "";
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 9px solid #FFF;
  position: absolute;
  bottom: -9px;
  left: 123px;
}

.editable-input {
  width: 214px !important;
  font-size: 18px;
  padding-left: 3px;
  padding-right: 3px;
}



select.editable-input {
  width: 114px;
}


.icon-edit-inline {
  font-size: 12px;
}

.a-edit-inline {
  color: #428bca !important;
  text-decoration: none !important;
}

.editable-click,
a.editable-click {
  border-bottom: 0px !important;
}

.image-container {
  padding: 10px;
  background: url(../images/background-yellow-repeatable.png) repeat;
  display: inline-block;
  -webkit-transition: background linear .2s;
  -moz-transition: background linear .2s;
  -o-transition: background linear .2s;
}

.image-container:hover {
  background: url(../images/background-orange-repeatable.png) repeat;
}

.image-container img {
  display: block;
}

.nav-justified {
  margin-top: 0px !important;
}

.btn {
  white-space: normal;
}

.button-main {
  display: inline-block;
  padding: 8px 20px;
  background: url(../images/background-orange-repeatable.png) repeat;
  color: #333333;
  text-decoration: none;
  position: relative;
  margin-top: 10px;
  -webkit-transition: background linear .2s;
  -moz-transition: background linear .2s;
  -o-transition: background linear .2s;
  border: 0px;
}

.button-main span {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: url(../images/background-orange-repeatable.png) repeat;
  -webkit-transition: background linear .2s;
  -moz-transition: background linear .2s;
  -o-transition: background linear .2s;
}

.button-main:hover {
  text-decoration: none;
  color: #333333;
  background: url(../images/background-red-repeatable.png) repeat;
}

.button-main:hover span {
  background: url(../images/background-red-repeatable.png) repeat;
}

.presente_indisponivel {
  background-color: #F1F1F1;
}

.presente_disponivel {}

.presente_escolhido {
  background-color: rgb(246, 252, 255);
}

@media only screen and (max-width: 480px) {

  .date .container,
  .ceremony .container {
    width: calc(100% - 30px) !important;
  }
}

.modal {
  z-index: 10500;
}

/* CUSTOMIZE CONTROLLER */

.customize-controller #donation-message .actions-message {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

@media only screen and (max-width: 768px) {
  .customize-controller #donation-message .actions-message {
    display: block;
    margin-bottom: 10px;
  }
}

.customize-controller #ads-message .actions-message {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
}

@media only screen and (max-width: 768px) {
  .customize-controller #ads-message .actions-message {
    display: block;
    margin-bottom: 10px;
  }
}

.customize-controller .navbar-fixed-bottom {
  padding: 15px 0;
}

.customize-controller .navbar-fixed-bottom>.container {
  width: 100%;
  max-width: 100%;
  padding-left: 15px;
  padding-right: 15px;
}

.customize-controller .footer-flex {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
}

.customize-controller .navbar-text {
  color: #ffffff;
  font-size: 14px;
  line-height: 20px;
  margin: 0 10px 0 0;
  text-align: right;
}

.customize-controller .btn-group-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.customize-controller .btn-group-footer .btn {
  font-size: 15px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 6px !important;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

@media (max-width: 767px) {
  .customize-controller .footer-flex {
    flex-direction: column;
    text-align: center;
  }

  .customize-controller .navbar-text {
    margin: 0 0 5px;
    text-align: center;
  }

  .customize-controller .btn-group-footer {
    flex-wrap: nowrap;
  }

  .customize-controller .btn-group-footer .btn {
    flex: 1;
    font-size: 14px;
    padding: 9px 12px;
  }
}

/* EXIT CUSTOMIZE CONTROLLER */

/* VIEW CONTROLLER */
.view-controller .navbar-fixed-bottom {
  padding: 15px 0;
}

.view-controller .admin-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  text-align: center;
}

.view-controller .admin-bar .btn {
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 5px;
  white-space: nowrap;
}

.view-controller .admin-text {
  margin: 0;
  color: #eee;
  font-size: 15px;
  line-height: 18px;
}

.view-controller .admin-text strong {
  color: #fff;
}

@media (min-width: 768px) {
  .view-controller .admin-bar {
    justify-content: center;
    gap: 15px;
  }

  .view-controller .admin-text {
    text-align: left;
    font-size: 15px;
    line-height: 20px;
  }
}

/* END VIEW CONTROLLER */