@import '../variables.css';

body a:focus,
body button:focus,
body a:active:focus,
body button:active:focus,
body a.active:focus,
body button.active:focus,
body a.focus,
body button.focus,
body a:active.focus,
body button:active.focus,
body a.active.focus,
body button.active.focus {
  outline: none;
}
body .btn-disabled {
  background-color: #bcbec0;
  border-color: #bcbec0;
  color: #ffffff;
  opacity: 1;
}
body .btn {
  font-size: 1.6rem;
  min-width: 16rem;
  min-height: 3rem;
  padding-left: 2rem;
  padding-right: 2rem;
  padding-top: 6px;
  padding-bottom: 6px;
  border-radius: 1px;
  border-width: 0.5px;
  outline: 0 none;
  white-space: nowrap;

  /* PRIMARY */
  /* CTA */
  /* SECONDARY (back buttons) */
}
body .btn:active {
  box-shadow: none;
  -webkit-box-shadow: none;
}
body .btn:focus,
body .btn:active:focus,
body .btn.active:focus,
body .btn.focus,
body .btn:active.focus,
body .btn.active.focus {
  outline: none;
}
body .btn.btn-primary {
  background-image: linear-gradient(to bottom, var(--ppp-red), var(--ppp-red));
  background-color: var(--ppp-red);
  border-color: var(--ppp-red) !important;
  color: #ffffff !important;
  margin: 0;
  border-radius: 0.3rem;
  font-family: 'Open Sans SemiBold';
  font-weight: normal;
  /* Disabled attribute and/or btn-disabled class (when the element is a link the pseudoclass selector does not work) */
}
body .body-container .btn-primary {
    margin: 1rem auto 0;
}
body .btn.btn-primary:hover,
body .btn.btn-primary:focus {
  background-image: linear-gradient(to bottom, var(--ppp-dark-red), var(--ppp-dark-red)) !important;
  background-color: var(--ppp-dark-red) !important;
  border-color:  var(--ppp-dark-red) !important;
}

body .btn.btn-primary:disabled,
body .btn.btn-primary[disabled],
body .btn.btn-primary.btn-disabled {
  background-color: #bdbcbc !important;
  border-color: #bdbcbc !important;
  color: #ffffff !important;
  opacity: 1;
  background-image: none;
}

body .btn.btn-primary:disabled:hover,
body .btn.btn-primary[disabled]:hover,
body .btn.btn-primary.btn-disabled:hover {
  background-image: none !important;
  cursor: not-allowed;
}

/* WordPress style */
body .btn--wp {
  border-radius: 10px !important;
  padding: 15px !important;
  font-family: Open Sans Regular !important;
  font-style: normal !important;
}

body .btn--full {
  width: 100% !important;
}

body .btn.btn-primary.btn-primary--blue {
  background-image: linear-gradient(to bottom, #1C75BC, #1C75BC);
  background-color: #1C75BC;
  border-color: #1C75BC !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

body .btn.btn-primary.btn-primary--blue:hover,
body .btn.btn-primary.btn-primary--blue:focus {
  background-image: linear-gradient(to bottom, #1C75BC, #1C75BC) !important;
  background-color: #1C75BC !important;
  border-color: #1C75BC !important;
}

body .btn.btn-second {
  background-color: var(--ppp-blue);
  border-color: var(--ppp-blue);
  color: #ffffff;
  background-image: none;
  text-shadow:  none;
  /* Disabled attribute and/or btn-disabled class (when the element is a link the pseudoclass selector does not work) */
}
body .btn.btn-second:hover,
body .btn.btn-second:focus {
  background-color: var(--ppp-dark-blue);
  border-color: var(--ppp-dark-blue);
  font-weight: 700;
}
body .btn.btn-second:disabled,
body .btn.btn-second[disabled],
body .btn.btn-second.btn-disabled {
  background-color: #bcbec0;
  border-color: #bcbec0;
  color: #ffffff;
  opacity: 1;
}
body .btn.btn-grey {
    background: transparent;
    border-color: #6d6e71;
    color: #6d6e71;
    font-family: 'Open Sans SemiBold';
    font-weight: normal;
    border-radius: 0.3rem;
}
body .btn.btn-grey:hover {
  background-color: transparent;
  border-color: #ed1c24;
  color: #ed1c24;
}
body .btn.btn-grey:active {
  background-color: transparent;
  border-color: #ed1c24;
  color: #ed1c24;
}
body .btn.btn-grey:disabled {
  background-color: #bcbec0;
  border-color: #bcbec0;
  color: #ffffff;
  opacity: 1;
}
body .btn.btn-third {
  background-color: #003858;
  border-color: #003858;
  color: #ffffff;
}
body .btn.btn-third:hover,
body .btn.btn-third:focus {
  background-color: transparent;
  border-color: #003858;
  color: #003858;
}
body .btn.btn-center {
  left: 50%;
  position: relative;
  -webkit-transform: translate(-50%, 0);
  -moz-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  -o-transform: translate(-50%, 0);
  transform: translate(-50%, 0);
}
body .btn.btn-light {
  background: transparent;
  margin: 0;
  color: var(--ppp-dark-grey);
  border: 0.5px solid var(--ppp-medium-grey);
  font-family: 'Open Sans SemiBold';
  font-weight: normal;
  border-radius: 0.3rem;
}
body .btn.btn-light:hover,
body .btn.btn-light:focus {
    color: var(--ppp-red);
    border: 0.5px solid var(--ppp-red);
}

body .btn.btn-light-green {
  color: #006600;
  background: transparent;
  border: 0 none;
  font-size: 1.5rem;
  margin: 0;
  -webkit-transition: color 0.4s ease;
  -moz-transition: color 0.4s ease;
  -ms-transition: color 0.4s ease;
  -o-transition: color 0.4s ease;
  transition: color 0.4s ease;
  border: 2px solid #006600;;
}
body .btn.btn-light-green:hover,
body .btn.btn-light-green:focus {
  color: #006600;
}

body .btn.btn-block {
    min-width: auto;
    background-color: lightgray;
    background-image: none;
    border: none;
    color: white;
    width: 5rem;
    padding-left: 0;
    padding-right: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-left: 0;
    margin-right: 0;
}

body .btn.btn-green,
body .btn.btn-success {
  background-color: #36B449;
  border-color: #36B449;
  color: #ffffff;
}
body .btn.btn-success:hover,
body .btn.btn-success:focus,
body .btn.btn-green:hover,
body .btn.btn-green:focus {
  background-color: #006600;
  border-color: #006600;
  background-image: linear-gradient(to bottom, #006600, #006600);
}
body .btn.btn-red {
  background-color: #EE1C25;
  border-color: #EE1C25;
  color: #ffffff;
}
body .btn.btn-red:hover,
body .btn.btn-red:focus {
  background-color: transparent;
  border-color: #EE1C25;
  color: #EE1C25;
}
body .btn.btn-danger {
  background-color: #EE1C25;
  border-color: #EE1C25;
  color: #ffffff;
}
body .btn.btn-danger:hover,
body .btn.btn-danger:focus {
  background-color: transparent;
  border-color: #EE1C25;
  color: #EE1C25;
}


body .btn-tertiary,
body .btn.btn-link {
  color: var(--ppp-red);
  text-decoration: none;
  font-weight: normal;
  background: none;
  border: none;
  padding: 0;
  text-align: left;
  background: transparent;
  box-shadow: none;
  font-family: 'Open Sans Regular';
}

body .btn-tertiary--bold {
  font-family: Open Sans SemiBold !important;
  font-weight: normal;
}

body .btn-tertiary.disabled,
body .btn-tertiary[disabled],
body .btn-link.disabled,
body .btn-link[disabled]{
  color: var(--ppp-medium-grey) !important;
  background-color: transparent !important;
  text-decoration: none !important;
}
body .btn-tertiary.disabled:hover ,
body .btn-tertiary[disabled]:hover,
body .btn-link.disabled:hover ,
body .btn-link[disabled]:hover{
  text-decoration: none;
  color: var(--ppp-medium-grey);
}
body .btn-tertiary:hover,
body .btn-link:hover,
body .btn-tertiary:focus,
body .btn-link:focus{
  color: var(--ppp-red);
  text-decoration: underline;
  background-color: transparent;
}

body table .btn {
  margin-top: 0;
}

.delete-documents {
    float: left;
    position: relative;
    top: 0.4rem;
}

.dataTables_add_new {
    position: relative;
    top: 1.1rem;
}

.tooltip--black {
    color: black;
}

a[data-toggle="tooltip"]:hover,
a[data-toggle="tooltip"]:focus {
  text-decoration: none;
  cursor: pointer;
}