html {
  position: relative;
  min-height: 100%;
}
body {
    font-family: "Open Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    /* font-size: 0.875rem; */  /* customized directly in bootstrap */
    line-height: 1.6;   /* customized directly in bootstrap */
    margin-bottom: 40px;
}

h2 {
    font-size: 20px;
    font-weight: 700;
    padding: 15px 0 5px 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #DBDDDE;
    line-height: 1.5;
}
.card-h2 {
    font-size: 18px;
    font-weight: bold;
    padding: 0;
    margin-bottom: 0;
    border-bottom: 0;
}
h5 {
    font-size: 15px;
    font-weight: 600;
}

.font-14 {font-size: 14px;}
.font-16 {font-size: 16px;}
.font-18 {font-size: 18px;}
.font-20 {font-size: 20px;}
.font-24 {font-size: 24px;}
.font-30 {font-size: 30px;}

.center {text-align: center;}

.col-centered {
    float: none;
    margin: 0 auto;
}

.hidden {display: none;}

.include-link {display: inline;}

.back-link {float: right;}

.text-custom {color: #337ab7;}

.bg-light-grey {background-color: #F8F8F8;}

.bg-custom {background-color: #57c5a5;}

.bg-custom-light {background-color: #d3ede4;}

.bg-cta {background-color: #f6921e;}

.form-check-label {
  margin-bottom: .5rem;
}

.extra-form-check-label-margin .form-check-label {
  margin-top: .5rem;
}

.whatsapp-help-button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  opacity: 0.8;
}

.chat-icon-wrapper {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: #57c5a5; /* Green background */
  border-radius: 50%; /* Makes the div circular */
  width: 50px; /* Width of the circle */
  height: 50px; /* Height of the circle */
  text-align: center;
}
.chat-icon-wrapper .fa {
  color: white;
}

.yellow {
  color: #FFC400;
}

.mt-n2 {
  margin-top: -0.5rem !important;
}

/** Loading indicator for htmx */
.loading-indicator {
    display: none;
}
.htmx-request .loading-indicator {
    display: inline-block;
}
.htmx-indicator {
    display:none;
}
.htmx-request.htmx-indicator {
    display: inline-block !important;
}

/* --  ckeditor -------------------------------------- */
/* format the h3/h4 tags in the description for the 'Update / Create' pages */
.ck h3 {
    font-size: 1.3rem;
    font-weight: 700;
    padding: 0;
    margin-bottom: 1.5rem;
    border-bottom: none;
}
.ck h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    border-bottom: none;
}
/* format the h3/h4 tags in the description for the 'Edit your website' page */
.ck-description h3 {
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0;
    border-bottom: none;
}
.ck-description h4 {
    font-size: 0.8rem;
    font-weight: 600;
    border-bottom: none;
}


/* -- back to top button -------------------------- */
.back-to-top {
  display: none;
  position: fixed;
  bottom: 123px;  /* 20px + wa button 50 px + 10px + 36px */
  right: 27px; /* 20px +(50 - 36)/2 px */ 
}

.go-to-bottom {
  display: none;
  position: fixed;
  bottom: 80px;  /* 20px + wa button 50 px + 10px */
  right: 27px; /* 20px +(50 - 36)/2 px */
}

.go-to-nav a, a:hover, a:focus {
  text-decoration: none;
  outline: none;
}

.go-to-nav i {
  display: block;
  width: 36px;
  height: 36px;
  line-height: 36px;
  color: #fff;
  font-size: 14px;
  text-align: center;
  border-radius: 4px;
  background-color: #999999;
  opacity: 0.8;
  -webkit-transition: all 0.2s linear;
  -moz-transition: all 0.2s linear;
  -o-transition: all 0.2s linear;
  transition: all 0.2s linear;
}


/* -- fix regression in crispy forms -------------------------- */
.help-block {
    display: block;
    margin-top: 5px;
    margin-bottom: 10px;
    color: #a94442;
}
.invalid-feedback {
  display: block;
}

/* --  navbar -------------------------------------- */
.primary-nav {
    background-color: #57c5a5;
}
.primary-admin-nav {
    background-color: #6F9190;
}

.navbar {
    padding: .1rem 0rem;
}

.navbar .navbar-nav .nav-link {
    color: white;
}

/* -- create account page ------------------------------ */
.page-header {
    border-bottom: none;
    margin-top: 20px;
    margin-bottom: 0px;
}

.page-header h1 {
    line-height: 1.5;
    font-size: 30px;
    font-weight: 600;
    letter-spacing: -0.024em;
    margin-bottom: 24px;
}

.page-header .logo a {
    background-image: url("../img/logo.524751c6da5b.png");
    background-size: 60px;
    background-position: center;
    background-repeat: no-repeat;
    line-height: 3em;
    margin: 0 auto 20px;
    text-indent: -9999px;
    outline: 0;
    display: block;
    font-size: 20px;
}

.site-expired-cta h1 {
    text-align:center;
    line-height: 1.5em;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: -0.024em;
    margin-bottom: 0px;
}

.page-footer {
    text-align:center;
    margin-top: 36px;
}
.btn {
    margin-top: 20px;
    padding: 7px 40px;
}
.btn-link {
    margin-top: 0px;
    padding: 0px;
}
.btn-low-margin {
    padding: 7px 25px;
}
.btn-no-margin {
    margin-top: 5px;
    padding: 5px 12px;
}
.btn-whatsapp {
    color: #ffffff;
    background-color: #00E676;
    border-color: #00E676;
}
.btn-custom,
.btn-custom:hover,
.btn-custom:focus {
    color: #ffffff;
    background-color: #57c5a5;
    border-color: #57c5a5;
}
.btn-dark,
.btn-dark:hover,
.btn-dark:focus {
    color: #fff;
    background-color: #23272b;
    border-color: #1d2124;
}
.btn-cta,
.btn-cta:hover,
.btn-cta:focus {
    color: #ffffff;
    background-color: #f6921e;
    border-color: #f6921e;
}
.btn-outline-cta,
.btn-outline-cta:focus {
    color: #f6921e;
    background-color: #ffffff;
    border-color: #f6921e;
}
.btn-outline-cta:hover {
    color: #ffffff;
    background-color: #f6921e;
    border-color: #f6921e;
}
.btn-cancel {
    display: inline-block;
}

.middle-line {
    width: 100%; 
    text-align: center; 
    border-bottom: 1px solid #000;
    line-height: 0.1em;
    margin: 10px 0 20px;
    font-weight: normal;
} 
.middle-line span { 
    background:#fff;
    padding:0 10px; 
}

/* -- forms  ------------------------------------- */
.form .control-label {
    font-weight: normal;
    padding-bottom: 5px;
}

/* -- login page -------------------------------------- */
.login-hear-link {
    margin: 36px 0 18px;
}
.login-hear-link a {
    color: #57c5a5 !important;
    font-size: 24px;
    letter-spacing: .06em;
    line-height: 46px;
    font-weight: 700;
    text-decoration: none;
}

/* -- ajax loader animation for forms ------------------ */
.ajax-loader {
    display: none;
    padding-left: 20px;
}

/* -- parsley message --------------------------------- */
.parsley-maxFileSize {
    color: #a94442;
    padding: 10px;
    margin: 5px;
    border: 1px solid #ebccd1;;
    background-color: #f2dede;
    border-radius: 4px;
    box-sizing: border-box;
}

/* -- facebook connect --------------------------------- */
#fb-connect {
    background-image: url("../img/facebook_login_button.cdbce77d96b5.png");
    background-size: 100%;
    background-position: center;
    background-repeat: no-repeat;
    line-height: 4em;
    text-indent: -1999px;
    outline: 0;
    display: block;
    font-size: 20px;
    margin: 0px 40px;
}

/* -- parsley  ------------------------------------------- */
input.parsley-success,
select.parsley-success,
textarea.parsley-success {
  color: #468847;
  background-color: #DFF0D8;
  border: 1px solid #D6E9C6;
}

input.parsley-error,
select.parsley-error,
textarea.parsley-error {
  color: #B94A48;
  background-color: #F2DEDE;
  border: 1px solid #EED3D7;
}

.parsley-errors-list {
  margin: 2px 0 3px;
  padding: 0;
  list-style-type: none;
  font-size: 0.9em;
  line-height: 0.9em;
  opacity: 0;
  color: #B94A48;

  transition: all .3s ease-in;
  -o-transition: all .3s ease-in;
  -moz-transition: all .3s ease-in;
  -webkit-transition: all .3s ease-in;
}

.parsley-errors-list.filled {
  opacity: 1;
}

/* -- editors manager --------------------------------- */
.subscription-management h2 {
    padding: 0;
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 700;
    border-bottom: none;
}


/* ==========================================================================
   Responsive
 ========================================================================== */


/* mobile */
@media (max-width: 767px) {
  #fb-connect {
    margin: 0 auto 0;
  }
  .whatsapp-help-button {
    right: 15px;
    bottom: 15px;
  }
}