/*
Theme Name: Boletín
Theme URI: https://redcapital.org/themes/boletin
Author: Jose Peñate
Author URI: https://redcapital.org/
Description: Una plataforma informativa para promover la inversión social y debatir sobre responsabilidad social corporativa
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 1.0
Text Domain: boletin
/*

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

*{
margin: 0;
padding: 0;
box-sizing: border-box;
text-decoration: none;
list-style: none;
}
body {
     overflow-y: hidden;
     color: white;
	 font-family:'Poppins', sans-serif;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body.admin-bar #custom-admin-bar {
    top: 32px; /* altura estándar de la admin bar */
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

footer {
    margin: 0;
    padding: 0;
}	

.cinta-top {
	background-color: #0c9499;
	background-repeat: no-repeat;
	background-size: cover;
        position: relative;
	margin: 5px;
	height: 10px;
}

.cinta-base {
	background-color: #0c9499;
height: 40px;
}

.p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 10px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

.container {
	max-width: 1100px;
	margin: 0 auto;
	box-sizing: border-box;
}

.contenidos {
	max-width: 900px;
	margin: 0 auto;
	box-sizing: border-box;
}	

.foot {
  background-color: #0c9499;;
  color: #ffffff;
  text-align: center;
  font-size: 12px;
  padding: 15px;
}
	
img {
  width: 100%;
  height: auto;
}

.buddypress img {
    width: auto;
    max-width: 300px;
    height: auto; 
    display: block;
}

.buddypress .foto{
	width: 33px;
  height: 35px;
	float: right;
	margin-right: 10px;
	padding: 1px 5px 8px 5px;
}

.row:after {
  content: "";
  clear: both;
  display: table;
}

[class*="col-"] {
  float: left;
  padding: 15px;
  width: 100%;
  align-items: center;  
}

@media only screen and (min-width: 600px) {
  .col-s-1 {width: 8.33%;}
  .col-s-2 {width: 16.66%;}
  .col-s-3 {width: 25%;}
  .col-s-4 {width: 33.33%;}
  .col-s-5 {width: 41.66%;}
  .col-s-6 {width: 50%;}
  .col-s-7 {width: 58.33%;}
  .col-s-8 {width: 66.66%;}
  .col-s-9 {width: 75%;}
  .col-s-10 {width: 83.33%;}
  .col-s-11 {width: 91.66%;}
  .col-s-12 {width: 100%;}
}

@media only screen and (min-width: 768px) {
  .col-1 {width: 8.33%;}
  .col-2 {width: 16.66%;}
  .col-3 {width: 25%;}
  .col-4 {width: 33.33%;}
  .col-5 {width: 41.66%;}
  .col-6 {width: 50%;}
  .col-7 {width: 58.33%;}
  .col-8 {width: 66.66%;}
  .col-9 {width: 75%;}
  .col-10 {width: 83.33%;}
  .col-11 {width: 91.66%;}
  .col-12 {width: 100%;}
}

.header {
	background-color: #0c9499;
	background-position: bottom;
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 10vh;
	display: flex;
	flex-direction: column;
	align-items: left;
}

.menu {
	position: absolute;
	top: 10px;
	left: 0;
	right: 0;
	display: flex;
	align-items: left;
}

.navbar {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	background-color: #18293A;
}

.navbar ul li {
	position: relative;
	float: left;
}

.navbar ul li a{
	font-size: 14px;
	padding: 2px;
	color: #E03C40;
	display: inline-block;
	font-weight: 600;
}

.navbar ul li a:hover{
color:#FFFDFC;
}


.ulnav {
  margin-top: 0px;
  margin-bottom: 10px;
  margin-right: 600px;
  margin-left: 10px;
  }

.navbar .chequi {
  display: none;
}

@media screen and (max-width: 600px) {
  .navbar a:not(:first-child) {display: none;}
  .navbar a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .navbar.responsive {position: absolute;}
  .navbar.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
	padding: 2px;
  }
  .navbar.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}

.topnav {
	position: absolute;
	top: 100%;
	left: 10px;
	right: 0;
	background-color: #18293A;
	padding: 10px;
}	

.topnav a {
    font-size: 14px;
	padding: 5px;
	color: #E03C40;
	display: inline-block;
	font-weight: 600;
}	

.topnav a:hover {
  color:#FFFDFC;
}

.topnav a.active {
  background-color: #04AA6D;
  color: white;
}

.topnav .icon {
  display: none;
}

.chequi {
   display:  none;
}

@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}


@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
	padding-left: 15px
  }
}

.grafa {
 width: 900px;
  height: 900px;
}

.lema {
    background-color: #0c9499;
	text-align: center;
	font-size: 20px;
	padding: 10px 10px 0px 130px;
	color: white;
	font-weight: 600;
	
}

@media screen and (max-width: 600px) {
  .lema {
    float: right;
	font-size: 14px;
	padding: 5px 1px 1px 1px;
    display: block;
  }
}


.intro {
    background-color: #0c9499;
	text-align: justify;
	font-size: 14px;
	padding: 15px 70px 0px 70px;
	color: white;
	font-weight: 600;
	
}

@media screen and (max-width: 600px) {
  .intro {
    float: right;
	padding: 50px 8px 5px 8px;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .intro.responsive {position: relative;}
  padding: 50px;
    right: 0;
    top: 10;
  }

        #chart {
           width: 100%;
           height: auto;
        }

.cuadro p{
	
	position: relative;
    top: 0;
	left:0;
	right:0;
}

.iframe-container {
    position: relative;
    overflow: hidden;
    padding-top: 1%;
	padding-bottom: 1%;
}
.iframe-container iframe {
    position: relative;
    top: 0;
	left:0;
	right:0;
    border: 0;
    width: 580px;
    height: 520px;
}

.nota {
	margin-left: 5px;
	margin-right: 6px;
	padding: 10px 20px 10px;
	box-shadow: 0 1px 18px rgba(0,0,0,0.12), 0 1px 18px rgba(0,0,0,0.24);
}


.mapa-social {
	background-position: bottom;
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 40vh;
	display: flex;
	align-items: center;
	flex-direction: column;
}

.mapa-content {
	position: top;
	display: flex;
	align-items: center;
	
}
h4.posicion {
  border: 1px solid black;
  margin-top: 80px;
  margin-bottom: 10px;
  margin-right: 150px;
  margin-left: 80px;
  background-color: lightblue;
}

.agenda {
    background-position: bottom;
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 40vh;
	display: flex;
	flex-direction: column;
}
	
.agenda-content {
	position: top;
	display: flex;
	flex-direction: column;
}

.noticias {
	background-position: bottom;
	background-repeat: no-repeat;
	background-size: cover;
	min-height: 40vh;
	display: flex;
	flex-direction: column
}

.noticia-completa {
    margin: 40px auto;
    max-width: 800px;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #ffffff;
}

.noticia-completa h1 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #333;
}

.noticia-completa p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #444;
}


.general-content {
	background-color: white;
	display: flex;
	justify-content: space-between
	margin-top: 55px;
	flex-direction: column;
	}

.general-1 {
	background-color: white;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 7px 5px;
	display: flex;
	text-align: justify;
	flex-direction: column;
}

.general-2 {
	background-color: white;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 7px 5px;
	display: flex;
	text-align: justify;
	flex-direction: column;
}

.general-3 {
	background-color: white;
	background-position: center center;
	background-repeat: no-repeat;
	background-size: cover;
	padding: 7px 5px;
	display: grid;
	grid-template-columns: repeat(1, 1fr);
	gap: 10px;
}

.itemo {
	margin-left: 5px;
	margin-right: 6px;
	padding: 10px 20px 10px;
	text-align:justify;
	transition: transform 0.3s ease;
}

.itemo:hover{
	transform: scale(1.05);
}

.parraf {
	margin-left: 10px;
	margin-right: 10px;
	padding: 10px 20px 10px;
	box-shadow: 0 1px 18px rgba(0,0,0,0.12), 0 1px 18px rgba(0,0,0,0.24);
}

@media (max-width: 900px) {
	.general-3 {
		grid-template-column: repeat(1, 1fr);
	}
}

@media (max-width: 600px) {
	.general-3 {
		grid-template-column: repeat(1,1fr);
	}
}

.practica {
	background-color: white;
  padding: 15px;
  color: #ffffff;
  text-align: justify;
  font-size: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
.aside {
  background-color: white;
  padding: 15px 10px;
  color: #ffffff;
  text-align: justify;
  font-size: 14px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

 select {
            padding: 10px;
            font-size: 16px;
            margin-bottom: 20px;
        }

.footer {
  background-color: #0099cc;
  color: #ffffff;
  position: relative;
  bottom:0;
  left:0;
  width: 100%;
  height: 10px; 
  margin: 0;
  padding: 0;
  text-align: center;
  font-size: 12px;
  padding: 15px;
  display: flex;
}

#suscripcion-form {
    display: flex;
    justify-content: center;
    gap: 10px;
}

#suscripcion-form input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#suscripcion-form button {
    padding: 10px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#suscripcion-form button:hover {
    background-color: #005177;
}
.redes {
    position: left;
	background-color: #18293A;
	text-align: right;
	font-size: 14px;
	padding: 5px;
	color: white;
	font-weight: 600;
}

.foto {
	width: 23px;
  height: 26px;
}

.foot {
  background-color: #0c9499;
  color: #0c9499;
  text-align: center;
  font-size: 12px;
  padding: 25px;
}	

.enlace-largo {
    display: inline-block;
    max-width: 650px; 
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-decoration: none; 
}
.enlace-largo:hover {
    text-decoration: underline; 
}	

.chart-container {
            width: 90%;
            max-width: 1000px;
            margin: auto;
        }
  
 .chart-container svg  {
            width: 100%;
            height: auto;
        }
