html {
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', sans-serif;
  background-color: #DBE2EF;
}

.font-1 {
  font-family: 'Open Sans', sans-serif;
}

.font-2 {
  font-family: 'Judson', sans-serif;
}

.font-3 {
  font-family: 'Mali', serif;
}

.font-4 {
  font-family: 'Ms Madi', serif;
}


[v-cloak] {
  display: none !important;
}

.z-100 {
  z-index: 100;
}

.no-scrollbar::-webkit-scrollbar {
   display: none;
}

.no-highlight {
  -webkit-tap-highlight-color: transparent;
}

.img-fit-cover {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.container {
  max-width: 1180px;
}
.container-1360 {
  max-width: 1360px;
}

.h-max {
  height: max-content;
}
.h-min {
  height: min-content;
}

.bg-1 {
  background-color: #004C5C;
}
.color-1 {
  color: #004C5C;
}
.hover-color-1:hover {
  color: #004C5C;
  transition: color 100ms;
}
.hover-bg-1-muted:hover {
  background-color: #1b7c92;
  transition: background-color 200ms;
}

.bg-2 {
  background-color: #6D92A2;
}
.color-2 {
  color: #6D92A2;
}
.border-color-2 {
  border-color: #6D92A2;
}
.hover-color-2:hover {
  color: #6D92A2;
  transition: color 100ms;
}
.hover-bg-2:hover {
  background: #6D92A2;
  transition: background 100ms;
}
.color-3 {
  color: #121E38;
}
.bg-3 {
  background-color: #121E38;
}
.border-color-3 {
  border-color: #121E38;
}

.color-4 {
  color: #F9F7F7;
}
.border-color-4 {
  border-color: #F9F7F7;
}
.bg-4 {
  background-color: #F9F7F7;
}

.color-5 {
  color: #FFFAE4;
}
.hover-color-5:hover {
  color: #FFFAE4;
  transition: color 100ms;
}
.bg-5 {
  background-color: #FFFAE4;
}
.hover-bg-5:hover {
  background-color: #FFFAE4;
}

.bg-6 {
  background-color: #ebb40b;
}

.hover-bg-7:hover {
  background-color: #e8c451;
}

.color-8 {
  color: #EFCE4A;
}
.bg-8 {
  background-color: #EFCE4A;
}

.gradient-1 {
  background: linear-gradient(90deg, #7E5600, #C0870B, #B57F09, #7E5600);
}

.text-l {
  font-size: 1.1rem;
}

@media (min-width: 1024px) {
  .lg-text-l {
    font-size: 1.1rem;
  }
  .lg-h-88 {
    height: 21.1rem;
  }
}


.text-35xl {
  font-size: 2.1rem;
  line-height: 2.3rem;
}

.text-2xs {
  font-size: 0.7rem;
  line-height: 1rem;
}


.bg-black-transparent {
  background-color: rgba(0,10,0,0.3);
}

.menu-shadow {
  box-shadow: 0 8px 8px -10px rgba(0, 0, 0, 0.3);
}

.logo {
  width: 6rem;
  transition: width 400ms;
}
@media (min-width: 1024px) {
  .logo {
    width: 7rem;
  }
}

.top-slim {

}
.top-slim .logo {
  width: 4.6rem;
  transition: width 400ms;
}



#menu {
  position: absolute;
  top: 66px;
  right: 0;
  margin-right: calc(-100vw - 130px);
  z-index: -1;
  width: calc(100vw - 130px);
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #ffffff;
  border-top: 1px solid #e2e2e2;
  padding: 16px 8px;
  box-shadow: -10px 10px 20px -15px #939393;
  transition: margin-right 400ms ease-in-out;
}
@media (min-width: 1024px) {
  #menu {
    position: relative;
    top: unset;
    left: unset;
    right: unset;
    margin-left: unset;
    margin-right: unset;
    z-index: unset;
    width: unset;
    display: flex;
    flex-direction: row;
    align-items: start;
    background-color: #F9F7F7;
    border: 0;
    box-shadow: unset;
    padding: 0;
  }
}

.slide-in {
  margin-right: 0 !important;
  transition: margin-right 400ms ease-in-out;
}

#menu a {
  font-size: 1.2rem;
  -webkit-tap-highlight-color: transparent;
  padding: 1rem 1.8rem;
}
@media (min-width: 1024px) {
  #menu a {
    margin-left: 0.25rem;
    padding: 0.8rem 1.5rem;
  }
}

.top-slim #menu {
  top: 50px;
}
@media (min-width: 1024px) {
  .top-slim #menu {
    top: unset;
  }
}

#app {
  margin-top: 4.4rem;
}
@media (min-width: 1024px) {
  #app {
    margin-top: 5rem;
  }
}

.triangle {
  display: none;
}
@media (min-width: 1024px) {
  .triangle {
    display: block;
    width: 0px;
    height: 0px;
    border-style: solid;
    border-width: 0 0px 630px 150px;
    border-color: transparent transparent #ffffff transparent;
  }
}

.hero-index {
  position: relative;
  min-height: 430px;
  background: url('../img/bg_index_m.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
}

@media (min-width: 1024px) {
  .hero-index {
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    min-height: 500px;
    /*max-width: 1600px;*/
    /*margin-left: auto;*/
    /*margin-right: auto;*/
    background: url('../img/bg_index_d.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
  }
}


.hero-bg {
  background-color: #588316;
}

.hero-page {
  position: relative;
  min-height: 110px;
  background: url('../img/page_bg_m.webp');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}
@media (min-width: 1024px) {
  .hero-page {
    min-height: 125px;
    background: url('../img/page_bg_d.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }
}




.txt-shadow {
  text-shadow: 3px 2px 10px rgba(0,0,0,0.4);
}


.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background-color: rgba(0,0,0,0.01); */
}

.h1 {
  font-size: 1.3rem;
  line-height: 1.3rem;
  text-align: center;
}
@media (min-width: 1024px) {
  .h1 {
    font-size: 2.3rem;
    line-height: 1.2;
    text-align: left;
  }
}

.rectangle {
  display: none;
}
@media (min-width: 1024px) {
  .rectangle {
    margin-top: 5rem;
    margin-left: -0.4rem;
    display: block;
  }
  .rectangle:before {
    content: '';
    background: url(/img/rectangle.svg);
    position: absolute;
    width: 600px;
    height: 250px;
    box-sizing: border-box;
    z-index: 5;
  }
}

.p-index {
  font-size: 1.1rem;
  line-height: 1.6rem;
}
@media (min-width: 1024px) {
  .p-index {
    font-size: 1.4rem;
    line-height: 2.2rem;
  }
}

.h2c {
  font-size: 1.35rem;
  line-height: 1.75rem;
}

.triple-wide {
  width: 100%;
  overflow-x: auto;
}


.special-line-height {
  line-height: 3rem;
}
@media (min-width: 1024px) {
  .special-line-height {
    line-height: 5rem;
  }
}


.tns-nav {
  display: none;
}



.loader {
  overflow: hidden;
  width: 100%;
  height: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-start;
  z-index: 100000;
}

.loader__element {
  height: 4px;
  width: 100%;
  background: #b268ff;

}

.loader__element:before {
  content: '';
  display: block;
  background-color: #078207;
  height: 4px;
  width: 0;
  animation: getWidth 1s ease-in infinite;
}

@keyframes getWidth {
  100% { width: 100%; }
}


.full-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  background-color: rgba(0,0,0,0.4);
  z-index: 9999;
}
.full-overlay .m-container {
  position: relative;
  width: 100%;
  background-color: #fff;
  overflow-y: scroll;
  padding: 2rem;
  border-radius: 8px;
  max-height: 90vh;
}

@media (min-width: 1025px) {
  .full-overlay .m-container {
    padding: 2rem;
    width: unset;
    max-width: 400px;
    overflow: unset;
  }
}

.full-overlay .m-container .close-me {
  position: absolute;
  top: 0;
  right: 0;
  cursor: pointer;
  font-size: 1.6rem;
  font-weight: bold;
  padding: 0 0.5rem;
  line-height: 1.25;
}

.phone {
    display: block;
    color: #fff;
    border-radius: 200px;
    box-shadow: 0 0 0 0 rgba(0, 197, 35, 0.8);
    animation: n-pulse 2s infinite;
}
@media (min-width: 1025px) {
  /*.phone {*/
  /*  display: none;*/
  /*}*/
}

@keyframes n-pulse {
  70% {
    box-shadow: 0 0 0 10px rgba(253, 107, 10, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(253, 107, 10, 0);
  }
}

.go-to-top {
    background-color: #078207;
    padding: 10px 14px;
    opacity: 90%;
    color: #fff;
    border-radius: 500px;
}
.gone-up {
  bottom: 0;
  transition: bottom 1200ms ease-in-out;
}
.gone-under {
  bottom: -60px;
  transition: bottom 1200ms ease-in-out;
}



.page-text h2 {
   font-size: 1.6rem;
   font-weight: 600;
  margin-bottom: 1.25rem;
}
.page-text p {
  margin-bottom: 1rem;
}
.page-text a {
  color: #0a2ea1;
}


#map {
    width: 100%;
    height: 500px;
    color: #333;
}
@media (min-width: 1025px) {
    #map {
        height: 600px;
    }
}


/*Fancybox*/

.fancybox-thumbs {
  background-color: #000000 !important;
}
.fancybox-close-small {
  color: #ffffff !important;
  background-color: rgba(0,0,0,0.9) !important;
  position: fixed !important;
  top: 0.4rem !important;
  right: 0.4rem !important;
}
.fancybox-slide--html {
  padding: 0 !important;
}
@media (min-width: 1024px) {
  .fancybox-slide--html {
    padding: 0 6rem !important;
    overflow: hidden !important;
  }
}
.fancybox-content {
  background-color: #000000 !important;
  padding: 0 !important;
}

/*TNS SLIDER*/
.t-slider, .p-slider {
  position: relative;
  width: 100%;
}
.t-slides, .p-slides  {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
}
.tns-controls {
  margin: 0;
  padding: 0;
  list-style: none;
  position: absolute;
  left: 0;
  /*background: #ead7d7;*/
  width: 100%;
  top: 46%;
  transform: translatey(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 9;
}
@media (min-width: 1025px) {
  .tns-controls {
    top: 50%;
  }
}
.prev, .next {
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.prev {
  transform: rotate(180deg);
}


.footer-shadow {
  box-shadow: 0 -8px 8px -10px rgba(0, 0, 0, 0.3);
}

/*ANIMATIONS*/


.animation-slide-up {
  animation: slide-up 1s none;
}
@keyframes slide-up {
  0% {
    bottom: -500px;
  }
  100% {
    bottom: 0;
  }
}


.animation-slide-down {
  animation: slide-down 800ms none;
}
@keyframes slide-down {
  0% {
    bottom: 0;
  }
  100% {
    bottom: -800px;
  }
}


.animation-fade-in-bg {
  animation: fade-in-bg 800ms;
}
@keyframes fade-in-bg {
  0% {
    background-color: rgba(0,0,0,0);
  }
  100% {
    background-color: rgba(0,0,0,0.3);
  }
}

/* Masonry Grid */
@media (min-width: 1024px) {
  .masonry {
    display: grid !important;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    grid-auto-rows: 0;
  }
  .masonry-item {
    grid-row-end: span 1;
  }
}

.masonry-content {
  width: 100%;
}

@media (max-width: 1023px) {
  .masonry-item {
    margin-bottom: 1rem;
  }
}