﻿:root {
  --primary-color: #9fd89d; /* Primer Color */
  --secondary-color: #6cbe6a; /* Segundo Color */
  --tertiary-color: #49a146; /* Tercer Color */
  --quaternary-color: #368234; /* Color Final */
}

@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap");

html {
  font-family: "DM Sans", sans-serif !important;
}

img {
  max-width: inherit !important;
}

/* Estilos Miga de pan  */

.crumb {
  display: inline-block;
  align-items: center;
  text-decoration: none;
}

.crumb-sep-with-image::before {
  content: url("/SiteAssets/GobernacionCasanare/assets/img/right.svg");
  display: inline-block;
  align-items: center;
  width: 0.4rem; /* Ajusta el ancho de la imagen segÃƒÂºn sea necesario */
  height: 0.4rem; /* Ajusta la altura de la imagen segÃƒÂºn sea necesario */
  margin: 0 5px;
  margin-top: 2px;
}
/* Estilos Miga de pan  */

@font-face {
  font-family: "Ponjoung Medium";
  src: url("/SiteAssets/GobernacionCasanare/assets/fonts/Ponjoung-Medium.woff2")
      format("woff2"),
    url("/SiteAssets/GobernacionCasanare/assets/fonts/Ponjoung-Medium.otf")
      format("opentype");
  font-weight: normal;
  font-style: normal;
}

.bg-gradient-gray {
  background: #828282;
  background: repeating-linear-gradient(to top, #828282 0%, #ffffff 100%);
}

.after-vertical {
  clip-path: polygon(0 93%, 100% 93%, 100% 100%, 0 100%);
}

.enlace__interes:hover .after-vertical {
  clip-path: polygon(0 27%, 100% 27%, 100% 100%, 0 100%);
}

.enlace__servicio:hover {
  color: white;
}

.enlace__servicio:hover .after-vertical {
  clip-path: polygon(0 0%, 100% 0%, 100% 100%, 0 100%);
}

/* Inicio estilos barra de scroll */
#s4-workspace::-webkit-scrollbar {
  width: 6px;
  background: #f2f2f2;
  border-radius: 15px;
}

#s4-workspace::-webkit-scrollbar-thumb {
  background: #008b3f;
}

@media (max-width: 600px) {
  #s4-workspace::-webkit-scrollbar {
    width: 0px;
  }
}

/* Fin estilos barra de scroll */

/* Inicio estilos boton subir arriba  */

html,
#s4-workspace {
  scroll-behavior: smooth;
}

.scrollTop {
  position: fixed;
  bottom: 48px;
  right: 15px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: #008b3f;
  box-shadow: 4px 4px 6px #00000029;
  text-align: center;
  opacity: 0;
  transition: all 300ms;
  transform: scale(0);
  overflow: hidden;
  cursor: pointer;
  z-index: 99;
}

.scrollTop__div {
  background-color: #fff;
  border-radius: 50%;
  width: 36px;
  min-width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 300ms;
  margin-left: 9px;
}

.scrollTop__icon {
  color: #008b3f;
  font-size: 37px;
  font-weight: 700;
  text-align: center;
  transition: all 300ms;
}

.scrollTop__p {
  opacity: 0;
  transition: all 400ms;
  width: 30px;
  text-align: center;
  margin-right: 20px;
  margin-bottom: 0;
}

.scrollTop:hover {
  width: 118px;
  border-radius: 27px 10px 10px 27px;
  background: #085f31 0% 0% no-repeat padding-box;
}

.scrollTop:hover .scrollTop__div {
  margin-left: 0px;
  margin-right: 0px;
}

.scrollTop:hover .scrollTop__p {
  opacity: 1;
  color: #fff;
}

.scrollTop:hover .scrollTop__icon {
  color: #085f31;
}

.scrollTop:focus {
  border: 1px solid #000;
}

/* Fin estilos boton subir arriba  */

.ms-rtestate-field img {
  max-width: 100% !important;
}

#ctl10_PlaceHolderBotones_g_6a7b476e_44d2_47cd_83b8_b077ce0f63b4_ctl00_enlacesInteres
  img {
  max-width: 80% !important;
}

/** BEGIN ACCORDEON **/
.accordion-container {
  width: 100%;
  margin: 0 0 2px;
  clear: both;
}
.accordion-toggle,
.accordion-header {
  position: relative;
  display: block;
  padding: 15px;
  font-size: 1.5em;
  font-weight: 300;
  background: #f3f3f3;
  color: #363b3f;
  text-decoration: none;
}
.accordion-toggle.open,
.accordion-header.active-header {
  background: #123648;
  color: #fff !important;
}
.accordion-toggle:hover,
.accordion-header:hover {
  background: #123648;
  color: #fff !important;
}
.accordion-toggle span.toggle-icon,
.accordion-header span.toggle-icon {
  position: absolute;
  top: 11px;
  right: 20px;
  font-size: 1.5em;
}
.accordion-content {
  display: none;
  padding: 20px;
  overflow: auto;
}
.accordion-content img {
  display: block;
  float: left;
  margin: 0 15px 10px 0;
  max-width: 100%;
  height: auto;
} /* media query for mobile */
@media (max-width: 760px) {
  .content {
    width: auto;
  }
  .accordion-content {
    padding: 10px 0;
    overflow: inherit;
  }
}
/** END ACCORDEON **/

/* estilos para la seccion de tramites  */
.secTramite .splide__slide figure img,
.secTramite .splide__slide figure h3 {
  filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.4));
}

.secTramite .splide__slide:nth-child(4n + 1) figure {
  background-color: var(--primary-color);
}

.secTramite .splide__slide:nth-child(4n + 2) figure {
  background-color: var(--secondary-color);
}

.secTramite .splide__slide:nth-child(4n + 3) figure {
  background-color: var(--tertiary-color);
}

.secTramite .splide__slide:nth-child(4n + 4) figure {
  background-color: var(--quaternary-color);
}

/* estilos para la seccion de tramites  */

.activeTab {
  background-color: var(
    --quaternary-color
  ); /* Reemplaza #yourColor con el color deseado */
  color: white; /* Ajusta el color del texto si es necesario */
}

/*! Estilos para el efecto de sombra en la parte inferior del contenedor de los titulos */

.shadow-center-bottom {
  position: relative;
}

.shadow-center-bottom::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translate(-50%, -20%);
  width: 60%;
  height: 40px;
  box-shadow: 0 26px 20px rgba(0, 0, 0, 0.3); /* más notoria */
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
}

/* From Uiverse.io by adamgiebl */
.cssbuttons-io-button {
  background: #085f31;
  color: white;
  font-family: inherit;
  padding: 0.35em;
  padding-left: 1.2em;
  font-size: 17px;
  font-weight: 500;
  border-radius: 0.9em;
  border: none;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  box-shadow: inset 0 0 1.6em -0.6em #085f31;
  overflow: hidden;
  position: relative;
  height: 2.8em;
  padding-right: 3.3em;
  cursor: pointer;
}

/* Estilos para el boton de las noticias */

.cssbuttons-io-button .icon {
  background: white;
  margin-left: 1em;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.2em;
  width: 2.2em;
  border-radius: 0.7em;
  box-shadow: 0.1em 0.1em 0.6em 0.2em #085f31;
  right: 0.3em;
  transition: all 0.3s;
}

.cssbuttons-io-button:hover .icon {
  width: calc(100% - 0.6em);
}

.cssbuttons-io-button .icon svg {
  width: 1.1em;
  transition: transform 0.3s;
  color: #085f31;
}

.cssbuttons-io-button:hover .icon svg {
  transform: translateX(0.1em);
}

.cssbuttons-io-button:active .icon {
  transform: scale(0.95);
}
