/*
    font-weight: 400; - font-family: sai;
    font-weight: 500; - font-family: saime;
    font-weight: 600; - font-family: saisemi;
    font-weight: 700; - font-family: saib;

    font-weight: 400; - font-family: mu;
    font-weight: 500; - font-family: mume;
    font-weight: 500; - font-family: musemi;
    font-weight: 700; - font-family: mub;
    font-weight: 800; - font-family: muextra;
*/
@font-face {
  src: url(../fonts/font-web/BarlowCondensed-Regular.ttf);
  font-family: "Barlow";
  font-weight: 400;
  font-display: swap;
}
@font-face {
  src: url(../fonts/font-web/BarlowCondensed-Medium.ttf);
  font-family: "Barlow";
  font-weight: 500;
  font-display: swap;
}
@font-face {
  src: url(../fonts/font-web/BarlowCondensed-SemiBold.ttf);
  font-family: "Barlow";
  font-weight: 600;
  font-display: swap;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::before,
::after {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

a {
  color: inherit;
  transition: all 0.3s;
}

a:hover {
  color: #FF7D44;
}

.container-fluid {
  position: relative;
  max-width: 1440px;
  padding: 0;
}

.the-content {
  font-family: "sai";
  font-size: 16px;
  line-height: 1.5;
  color: #000000;
}
.the-content p:not(:first-child) {
  margin-top: 20px;
}
.the-content strong {
  font-family: "saime";
  color: #6e6e6e;
}
.the-content img.aligncenter {
  margin: auto;
  display: block;
}
.the-content ul {
  margin-top: 12px;
  padding-left: 30px;
}
.the-content hr {
  margin-top: 36px;
  margin-bottom: 36px;
}

.pagenavi-template {
  text-align: center;
}
.pagenavi-template .pagenavi {
  margin-top: 24px;
}
.pagenavi-template .pagenavi .page-numbers {
  border-radius: 0;
}
.pagenavi-template .pagenavi .page-numbers.current {
  background: #ff7d44;
}
.pagenavi-template .pagenavi a.page-numbers:hover {
  color: #ff7d44;
}

.acf-form .acf-notice.-dismiss {
  display: none;
}
.acf-form .acf-fields .acf-field .acf-input input,
.acf-form .acf-fields .acf-field .acf-input select,
.acf-form .acf-fields .acf-field .acf-input textarea {
  outline: none;
  transition: all 0.3s;
}
.acf-form .acf-fields .acf-field .acf-input input:focus,
.acf-form .acf-fields .acf-field .acf-input select:focus,
.acf-form .acf-fields .acf-field .acf-input textarea:focus {
  border-color: #ff7d44 !important;
}
.acf-form .acf-fields .acf-field .acf-input input::-webkit-inner-spin-button,
.acf-form .acf-fields .acf-field .acf-input input::-webkit-outer-spin-button {
  display: none;
}
.acf-form .acf-fields .acf-field .acf-notice.-error p {
  margin: 0;
}
.acf-form .acf-fields > .acf-field {
  padding: 0;
  border-top: none;
}
.acf-form .acf-field .acf-label label {
  font-weight: normal;
  margin-bottom: 0;
}
.acf-form .acf-field .acf-label {
  margin-bottom: 0;
}
.acf-form .acf-field input[type=text],
.acf-form .acf-field input[type=password],
.acf-form .acf-field input[type=date],
.acf-form .acf-field input[type=datetime],
.acf-form .acf-field input[type=datetime-local],
.acf-form .acf-field input[type=email],
.acf-form .acf-field input[type=month],
.acf-form .acf-field input[type=number],
.acf-form .acf-field input[type=search],
.acf-form .acf-field input[type=tel],
.acf-form .acf-field input[type=time],
.acf-form .acf-field input[type=url],
.acf-form .acf-field input[type=week],
.acf-form .acf-field textarea,
.acf-form .acf-field select {
  padding: 0;
  font-size: unset;
  line-height: unset;
}
.acf-form .af-submit {
  padding: 0;
}

select {
  -moz-appearance: none;
  /* Firefox */
  -webkit-appearance: none;
  /* Safari and Chrome */
  appearance: none;
  background: url(/wp-content/themes/epal-theme/images/web/icon-arrow-down.svg) no-repeat;
  background-size: 14px;
  background-position-x: calc(100% - 12px);
  background-position-y: center;
}

button {
  border: none;
  transition: all 0.3s;
}

#back-to-top {
  position: fixed;
  z-index: 99;
  right: 16px;
  bottom: 40px;
}
#back-to-top .item-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #FF7D44;
  border-radius: 50%;
  cursor: pointer;
}
#back-to-top .item-icon svg {
  width: 24px;
  height: 24px;
}

form.af-form.show {
  position: fixed !important;
  z-index: 9999 !important;
  top: 0 !important;
  left: 0 !important;
  height: 100% !important;
  width: 100% !important;
  background: rgba(3, 60, 76, 0.6) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
form.af-form.show .af-success {
  max-width: 515px !important;
  margin: 24px !important;
  padding: 24px !important;
  font-family: "saib" !important;
  font-size: 24px !important;
  color: #ff7d44 !important;
  text-align: center;
  background: #fff !important;
}

html.overflow,
body.overflow {
  overflow: hidden;
}
