/*Theme Name: Cramsa V2
Author: Voxel
Author URI: https://voxel.cl
Description: Tema 2026 para Cramsa
Requires PHP: 7.4
Version: 2.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html */
* {
  box-sizing: border-box;
}
@keyframes rebote {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-10px);
  }
}
.elrebote {
  display: inline-block;
  animation: rebote 0.5s infinite alternate;
}
body {
  font-family: "Outfit", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #ffffff;
  color: black;
}
h1,h2,h3,h4,h5 {
  margin-top: 0px;
  color: #003978;
}
p {
  margin: 0;
  margin-bottom: 26px;
}
body.home header {
  background-color: #00397800;
  transition: 0.5s ease;
}
body.home header.minimenu {
  background-color: #003978ff;
  transition: 0.5s ease;
}
header {
  background-color: #003978;
  color: white;
  padding-top: 20px;
  width: 100%;
  position: fixed;
  z-index: 1000;
  height: 140px;
  z-index: 9998;
}
header h1 {
  margin: 0px;
  width: 140px;
  height: 86px;
  background-image: url(img/logocramsa.svg);
  background-repeat: no-repeat;
  position: relative;
  transition: all 0.5s ease;
}
body.home header.minimenu h1 {
    width: 140px;
  height: 86px;
}
body.home header h1 {
    width: 162px;
  height: 100px;
}
header h1 a {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
}
.contenedor {
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  position: relative;
}
.cajaflex {
  display: flex;
  flex-wrap: wrap;
}
nav.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}
nav.site-nav {
  position: absolute;
  top: 40px;
  left: 33.33%;
}
nav.site-nav ul li {
  margin-right: 64px;
}
nav.site-nav ul li a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 3px;
}
.site-nav ul li a:hover {
  color: #00b9ee;
  transition: color 0.5s ease;
}
.site-nav ul li.current-menu-item a, body.category .site-nav ul li.menu-item-25 a, body.single-post .site-nav ul li.menu-item-25 a {
  color: #00b9ee;
}
ul#redestop {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  position: absolute;
  top: 20px;
  right: 0%;
  width: auto;
}
ul#redestop li {
  width: 42px;
  height: 42px;
  margin-left: 30px;
  margin-right: 0px;
}
ul#redestop li img {
  width: 42px;
  height: 42px;
}
ul#redestop li svg  path {
  transition: stroke 0.5s ease; 
    transition: fill 0.5s ease;
}
ul#redestop li:hover svg  path {
  stroke: #00b9ee !important;
  transition: stroke 0.5s ease;
}
ul#redestop li:hover svg .rellenocolor {
  fill: #00b9ee !important;
  transition: fill 0.5s ease;
}
main {
  min-height: 400px;
}
#contentseccion {
  padding-top: 140px;
}
#submenu-noticias {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
  text-align: center;
  margin-bottom: 66px;
}
#submenu-noticias li {
  display: inline-block;
  margin-right: 10px;
  margin-left: 10px;
}
#submenu-noticias li a {
  text-decoration: none;
  color: #003978;
  font-size: 15px;
  display: block;
  width: 170px;
  height: 40px;
  font-weight: 400;
  line-height: 40px;
  border: 1px solid #003978;
  text-transform: uppercase;
  transition: background-color 0.5s, color 0.5s;
  background-color: #ffffff;
  border-radius: 24px;
  letter-spacing: 3px;
}
#submenu-noticias li a:hover, #submenu-noticias li.current-menu-item a {
  text-decoration: none;
  color: #ffffff;
  border: 1px solid #00b9ee;
  transition: background-color 0.5s, color 0.5s;
  background-color: #00b9ee;
}
#noticias-despliegue {
  padding-top: 100px;
  background-image: url(img/fondo_planta.webp);
  background-repeat: no-repeat;
  background-attachment: fixed;
}
#noticias-despliegue h2 {
  text-align: center;
  font-size: 48px;
  margin-bottom: 50px;
}
.noticiaindv {
  width: 30%;
  margin-bottom: 66px;
  margin-right: 5%;
  position: relative;
  padding-bottom: 40px;
}
.noticiaindv.sinmargen {
  margin-right: 0%;
}
.imagennoticia {
  position: relative;
  border: 1px solid #cccccc;
  margin-bottom: 15px;
}
.imagennoticia img {
  width: 100%;
  height: auto;
  display: block;
}
.noticiaindv h3 {
  font-size: 24px;
  margin-bottom: 10px;
  font-family: Aleo, serif;
  font-weight: 900;
  margin-bottom: 24px;
}
.noticiaindv h3 a {
  color: #003978;
  text-decoration: none;
  transition: ease 0.3s;
}
.noticiaindv h3 a:hover {
  color: #00b9ee;
}
.categoria-news {
  position: absolute;
  top: 10px;
  right: 2%;
  background-color: #003978;
  color: white;
  font-size: 14px;
  padding: 6px 18px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.categoria-news a {
  color: white;
  text-decoration: none;
}
.leer-mas {
  position: absolute;
  bottom: 0px;
  left: 0px;
  background-color: #00b9ee;
  color: white;
  font-size: 14px;
  padding: 9px 28px;
  border-radius: 20px;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 2px;
  transition: background-color 0.5s ease;
}
.leer-mas:hover {
  background-color: #003978;
  transition: background-color 0.5s ease;
}
#noticia-completa {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0px 10px;
  line-height: 1.5rem;
  padding-bottom: 100px;
}
#noticia-completa h2 {
  font-size: 36px;
  margin-bottom: 30px;
  font-family: Aleo, serif;
  font-weight: 900;
  line-height: 1.3em;
  text-align: left;
}
#noticia-completa p {
  margin-bottom: 30px;
  font-weight: 300;
  text-align: justify;
}
#noticia-completa p strong {
  font-weight: 700;
}
#noticia-completa img {
  max-width: 1080px;
  width: 100%;
  height: auto;
  margin-bottom: 30px;
}
footer {
  background-image: url(img/footer.webp);
  height: 300px;
  color: #003978;
  font-size: 14px;
}
footer a {
  color: #003978;
  text-decoration: none;
    transition: color 0.5s ease;
}
footer a:hover {
  color: #00b9ee;
  transition: color 0.5s ease;
}
footer #cajafooter {
  display: flex;
  flex-wrap: wrap;
  max-width: 1320px;
  padding-top: 74px;
}
footer .logofooter {
  max-width: 165px;
  text-align: center;
  width: 100%;
}
footer .widget {
  width: 25%;
}
footer .logofooter img {
  width: 100%;
  height: auto;
}
footer p {
  line-height: 1.5rem;
}
footer #redesfooter a {
display: inline-block;
margin-right: 12px;
width: 42px;
height: 42px;
text-decoration: none;
border: none;
transition: 0.5s;
}
footer #redesfooter a:hover {
  background-repeat: no-repeat;
 
}
footer #redesfooter a[title="Instagram"]:hover 
{
  background-image: url(img/iglogocel.svg);
  opacity: 1;
} 
footer #redesfooter a[title="Linkedin"]:hover 
{
  background-image: url(img/logolinkcel.svg);
  opacity: 1;
}
footer #redesfooter img {
  width: 42px;
  height: 42px;
  transition: 0.5s;
}
footer #redesfooter img:hover {
  opacity: 0;
  transition: 0.5s;
} 
#gotasencifras td {
  font-weight: 300;
  font-size: 21px;
  padding-bottom: 26px !important;
}
#gotasencifras strong {
  font-weight: 900;
  color: #003978;
  font-size: 24px;
  font-family: aleo, serif;
}
#metaslider-id-1173 {
  padding: 9px;
  border: 1px solid #c9c9c9;
}
main.elcontacto {
  background-image: url(img/fondo_planta.webp);
  background-repeat: no-repeat;
  padding-bottom: 200px;
  background-attachment: fixed;
}
#form-contacto {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding-top: 100px;
  text-align: center;
  font-weight: 300;
  font-size: 18px;
}
#form-contacto h2 {
  font-size: 48px;
  margin-bottom: 36px;
  font-family: Montserrat;
}
#form-contacto p {
  line-height: 1.8em;
}
#form-contacto .form-row {
  width: 50%;
  text-align: left;
}
#form-contacto label {
  display: block;
  font-weight: 300;
  text-align: left;
  margin-bottom: 10px;
}
#form-contacto input,
#form-contacto select {
  font-family: "Outfit", sans-serif;
  width: 100%;
  max-width: 440px;
  height: 38px;
  font-size: 16px;
  margin-bottom: 22px;
  padding-left: 5px;
  padding-right: 5px;
  border: solid 1px #cccccc;
}
#form-contacto select {
  -webkit-appearance: none; /* Para Safari */
  -moz-appearance: none; /* Para Firefox */
   appearance: none;
  background-image: url('img/flechaselect.svg'); 
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
  padding-right: 40px; 
}
#form-contacto textarea {
  font-family: "Outfit", sans-serif;
  width: 100%;
  max-width: 920px;
  font-size: 16px;
  height: 150px;
  margin-bottom: 22px;
  padding: 5px;
  border: solid 1px #cccccc;
}
#form-contacto .form-group {
  width: 100%;
}
#form-contacto button[type="submit"] {
  background-color: #00b9ee;
  color: white;
  border: none;
  height: 42px;
  width: 170px;
  font-size: 16px;
  cursor: pointer;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: background-color 0.5s ease;
  border-radius: 20px;
  font-family: "Outfit", sans-serif;
}
#form-contacto button[type="submit"]:hover {
  background-color: #003978;
  transition: background-color 0.5s ease;
}
.paddingform {
  padding-left: 20px;
}
.required-asterisk {
  color:#00b9ee;}
#btnampliar {
  background-color: #00397899;
  color: white;
  border: solid 1px #ffffff;
  height: 36px;
  width: 180px;
  font-size: 15px;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: background-color 0.5s ease;
  border-radius: 20px;
  position: absolute;
  left: 45%;
  bottom: 10%;
}
#btnampliar:hover {
  background-color: #00b9ee;
  transition: background-color 0.5s ease;
}
#videos-cramsa .elementor-custom-embed-image-overlay img {
    transition: 0.5s;
}
#videos-cramsa .elementor-custom-embed-image-overlay:hover img {
    transform: scale(1.3,1.3);
    transition: 0.5s;
}
#videos-cramsa .elementor-custom-embed-image-overlay:hover .elementor-custom-embed-play svg {
    opacity: 1 !important;
}
#listadonoticias article small {
  margin-bottom: 12px;
  display: block;
}
#datafecha {
  font-size: 14px;
  font-weight: 300;
  display: flex;
  margin-bottom: 10px;
  width: 100%;
}
#datafecha span {
display: block;
min-height: 15px;
}
#datafecha a {
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
}
#datafecha a:hover {
  color: #00b9ee;
}
span.estafecha {
  padding-left: 18px;
  background-image: url(img/date.svg);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 14px; 
}
span.estacategoria {
  margin-left: 20px;
  padding-left: 22px;
  background-image: url(img/tag.svg);
  background-repeat: no-repeat;
  background-position: left center;
  background-size: auto 14px; 
}
.dialog-type-lightbox {
    z-index: 2219999 !important;
}
.single-post #fancybox-overlay {
    z-index: 9999999 !important;
}
.single-post #fancybox-wrap {
    z-index: 19999999 !important;
}
@media screen and (max-width: 1600px) {
  .contenedor {
    padding: 0px 10px;
  }
  ul#redestop {
    right: 10px;
}
#videos-cramsa, .el100porciento {
  width: 100% !important;
  padding-left: 20px !important   ;
  padding-right: 20px !important;
}
}
@media screen and (max-width: 1080px) {
  .contenedor {
    padding: 0px 10px;
  }
  ul#redestop {
    right: 100px;
  }
nav.site-nav {
    display: none;
  }
  #rmp-menu-wrap-140 .rmp-menu-item-link {
    padding-right: 0px !important;
  }
  .fancybox-container.fancybox-is-open {
    z-index: 9999999 !important;
}
}
@media screen and (max-width: 780px) {
footer .widget {
  width: 50%;
  padding: 0 20px;
}
footer {
  background-size: cover;
  background-repeat: repeat;
  min-height: 400px;
}
.noticiaindv {
  width: 50%;
  margin-bottom: 44px;
  margin-right: 0%;
  position: relative;
  padding-bottom: 40px;
  padding-left: 5px;
  padding-right: 5px;
}
.noticiaindv.sinmargen {
  margin-right: 0%;
}
#form-contacto {
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    padding-top: 60px;
    text-align: center;
    padding-left: 20px;
    padding-right: 20px;
    font-weight: 300;
    font-size: 16px;
}
#rmp-menu-additional-content-140 {
  line-height: 1.5em !important;
}
}
@media screen and (max-width: 565px) {
header {
  background-color: #003978;
  color: white;
  padding-top: 20px;
  width: 100%;
  position: fixed;
  z-index: 1000;
  height: 86px;
  z-index: 99999;
}
header h1 {
  margin: 0px;
  width: 82px;
  height: 50px;
  background-image: url(img/logocramsa.svg);
  background-repeat: no-repeat;
  position: relative;
  transition: all 0.5s ease;
}
body.home header.minimenu h1 {
    width: 82px;
  height: 50px;
}
body.home header h1 {
    width: 82px;
  height: 50px;
}
ul#redestop li {
  width: 30px;
  height: 30px;
  margin-left: 14px;
  margin-right: 0px;
}
ul#redestop li img {
  width: 30px;
  height: 30px;
}
  .contenedor {
    padding: 0px 20px;
  }
  #rmp_menu_trigger-140 {
    right: 20px !important;
}
button.rmp_menu_trigger {
    z-index: 1999999 !important;
}
#contentseccion {
    padding-top: 80px;
}
ul#redestop {
  top: 10px;
}
footer .widget {
  width: 100%;
  padding: 0px;
}
footer {
  background-size: cover;
  background-repeat: repeat;
  min-height: 400px;
  height: auto;
  text-align: center;
  font-size: 12px;
  background-image: url('img/F_MOVIL_03.webp');
}
footer .logofooter {
    max-width: 135px;
    text-align: center;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
footer p {
    line-height: 1.2rem;
}
#pcifras {
  font-size: 40px !important;
  line-height: 1.4em !important;
}
#btnampliar {
  background-color: #00397899;
  color: white;
  border: solid 1px #ffffff;
  height: 36px;
  width: 40%;
  font-size: 14px;
  line-height: 36px;
  text-align: center;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: background-color 0.5s ease;
  border-radius: 20px;
  margin: 0 auto;
  display: block;
  left: 30%;
}
.rmp-menu-additional-content a {
  color: #ffffff;
  text-decoration: none;
}
.rmp-menu-additional-content a:hover {
  color: #00b9ee;
  text-decoration: none;
}
.noticiaindv {
  width: 100%;
  margin-bottom: 44px;
  margin-right: 0%;
  position: relative;
  padding-bottom: 40px;
  padding-left: 0px;
  padding-right: 0px;
}
#submenu-noticias {
  margin: 0px;
  padding: 0px;
  list-style-type: none;
  text-align: center;
  margin-bottom: 33px;
}
#submenu-noticias li {
  display: inline-block;
  margin-right: 5px;
  margin-left: 5px;
  margin-bottom: 10px;
}
#submenu-noticias li a {
  text-decoration: none;
  color: #003978;
  font-size: 12px;
  display: block;
  width: 140px;
  height: 30px;
  font-weight: 400;
  line-height: 30px;
  border: 1px solid #003978;
  text-transform: uppercase;
  transition: background-color 0.5s, color 0.5s;
  background-color: #ffffff;
  border-radius: 24px;
  letter-spacing: 3px;
}
#noticias-despliegue {
    padding-top: 60px;

}
#noticias-despliegue h2 {
    text-align: center;
    font-size: 40px;
    margin-bottom: 30px;
}
#form-contacto h2 {
    font-size: 40px;
    margin-bottom: 30px;
}
#noticia-completa {
padding-left: 20px;
padding-right: 20px;
}
#noticia-completa h2 {
    font-size: 32px;
    text-align: left;
}
#noticia-completa p {
    margin-bottom: 26px;
    font-weight: 300;
    text-align: justify;
}
#form-contacto .form-row {
    width: 100%;
    text-align: left;
}
.paddingform {
    padding-left: 0px;
}
#form-contacto input, #form-contacto select {
    width: 100%;
    max-width: 480px;
    height: 34px;
    font-size: 15px;
    margin-bottom: 20px;
    padding-left: 5px;
    padding-right: 5px;
}
}