/*!
Theme Name: Fundación Emilia 23
Theme URI: https://them.es/starter
Author: La Firma
Author URI: https://www.lafirma.cl
Description: Sitio web de la Fundación Emilia dedicada a ayudar y acompañar a las víctimas de delitos viales.
Version: 3.4.1
Requires at least: 5.0
Tested up to: 6.2
Requires PHP: 7.2
License: GPL version 2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0
Tags: custom-background, custom-colors, featured-images, flexible-header, microformats, post-formats, rtl-language-support, theme-options, translation-ready, accessibility-ready
Text Domain: fundac-emilia-23
*/

/* Don't overwrite this file. Compile "/assets/main.scss" to "/assets/dist/main.css" */

/* From http://codex.wordpress.org/CSS */

.alignnone {
	margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin: 5px auto 5px auto;
}

.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.alignright {
	float: right;
	margin: 5px 0 20px 20px;
}

a img.alignnone {
	margin: 5px 20px 20px 0;
}

a img.alignleft {
	float: left;
	margin: 5px 20px 20px 0;
}

a img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	max-width: 96%; /* Image does not overflow the content area */
	padding: 5px 3px 10px;
	text-align: center;
}
.wp-caption.alignnone {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin: 5px 20px 20px 0;
}
.wp-caption.alignright {
	margin: 5px 0 20px 20px;
}
.wp-caption img {
	border: 0 none;
	height: auto;
	margin: 0;
	max-width: 98.5%;
	padding: 0;
	width: auto;
}
.wp-caption p.wp-caption-text {
	font-size: 11px;
	line-height: 17px;
	margin: 0;
	padding: 0 4px 5px;
}

.gallery-item {
	display: inline-block;
	text-align: left;
	vertical-align: top;
	width: 50%;
}

.gallery-item a,
.gallery-item a:hover,
.gallery-item a:focus {
	-webkit-box-shadow: none;
	box-shadow: none;
	background: none;
	display: inline-block;
	max-width: 100%;
}

.gallery-item a img {
	display: block;
	-webkit-transition: -webkit-filter 0.2s ease-in;
	transition: -webkit-filter 0.2s ease-in;
	transition: filter 0.2s ease-in;
	transition: filter 0.2s ease-in, -webkit-filter 0.2s ease-in;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}

.gallery-item a:hover img,
.gallery-item a:focus img {
	-webkit-filter: opacity(60%);
	filter: opacity(60%);
}

.gallery-caption {
	display: block;
	text-align: left;
	padding: 0 10px 0 0;
	margin-bottom: 0;
}

.gallery-columns-1 .gallery-item {
	max-width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-columns-6 .gallery-caption,
.gallery-columns-7 .gallery-caption,
.gallery-columns-8 .gallery-caption,
.gallery-columns-9 .gallery-caption {
	display: none;
}

.bypostauthor {
	font-weight: bold;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	color: #21759b;
	display: block;
	font-size: 14px;
	font-size: 0.875rem;
	font-weight: bold;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000; /* Above WP toolbar. */
}


/* CUSTOM -----------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------- */

.headerhome {
	background-image: url("img/bg-head-home.jpg");
	background-color: #666666; 
  	min-height: 560px;
	background-position: center;
 	background-repeat: no-repeat;
  	background-size: cover; 
}
.headerinterior {
	background-image: url("img/bg-head-home.jpg");
	background-color: #666666; 
  	min-height: 260px;
	background-position: center;
 	background-repeat: no-repeat;
  	background-size: cover; 
}
.navbar {
	background-image: none!important;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,1);

    }

.llamado {
     	margin-top: 50px;
    	color: #ffffff;
    }

.rrssimg {
    	display: inline-block;
    	width: 40px;
    	margin-top: -10px;
    }

.menuppal {
    	margin-top: -10px;
    }
.cuerpoppal {
	margin-top: 60px;
}
.ttlnews {
	color:#ba007c;
	font-weight: bold;
	font-size: 2.2em;
} 
.ttlayuda {
	color:#ba007c;
	font-weight: bold;
	font-size: 2em;
}
.ttltaller {
	color:#019cde;
	font-weight: bold;
	font-size: 2.2em;
} 
.ttldonativos {
	color:#000000;
	font-weight: bold;
	font-size: 2.2em;
} 
.txtdonativos{
	color: #666666;
}
.outline {
  color: #ba007c;
  -webkit-text-fill-color: white; 
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #ba007c;
}
.outlinetaller {
  color: #019cde;
  -webkit-text-fill-color: white; 
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #019cde;
}
.outlinedonativos {
  color: #0000000;
  -webkit-text-fill-color: white; 
  -webkit-text-stroke-width: 1px;
  -webkit-text-stroke-color: #000000;
}
.noticiawrap {
	width: 90%;
	height: 90%;
	border-radius: 40px;
	background-color: white;
	overflow: hidden;
	box-shadow:
       inset 0 -3em 3em rgba(0,0,0,0.1),
             0 0  0 2px rgb(255,255,255),
             0.3em 0.3em 1em rgba(0,0,0,0.3);
}
.imgnews {
	width: 100%;
	height: 100%;
}
.vermasNoticias {
	display: inline-block;
	background-color: #ba007c;
	color: #ffffff;
	padding: 4px 20px;
	border-radius: 20px;
	text-decoration: none;
	margin-right: 20px;

}
.vermasNoticias:hover {
	color: #ffffff;
}
.vermasTalleres {
	display: inline-block;
	background-color: #019cde;
	color: #ffffff;
	padding: 4px 20px;
	border-radius: 20px;
	text-decoration: none;
	margin-right: 20px;

}
.vermasTalleres:hover {
	color: #ffffff;
}
.cajatextonewsportada {
	padding-left: 30px;
	padding-right: 30px;
	padding-top: 20px;

}

.swiper-slide {
    text-align: center;
    font-size: 16px!important;
    line-height: 16px!important;
}

/* calipso #019cde  */


  /* Video responsive */

.video-responsive {
	height: 0;
	overflow: hidden;
	padding-bottom: 56.25%;
	padding-top: 30px;
	position: relative;
	}
.video-responsive iframe, .video-responsive object, .video-responsive embed {
	height: 100%;
	left: 0;
	position: absolute;
	top: 0;
	width: 100%;
	}
.footer {
    width: 100%;
    text-align: center;
    position: relative;
    margin: 0 auto;
    padding-top: 100px;
    height: 50px;
}

/*       SWIPER       */
    .swiper {
      width: 100%;
      height: 100%;
      min-height: 400px;
    }

    .swiper-slide {
      text-align: center;
      font-size: 18px;
      background: #fff;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .swiper-slide img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

.excerpthome {
	font-size: 14px;
	 margin-left: 10px; margin-right: 10px;
}
.titulonews, .titulotalleres{
	 font-weight: bold; 
	 font-size: 16px;
	 margin-left: 10px; margin-right: 10px;
}
.titulotalleres{
	 color: #019cde;
}
.titulonews{
	 color: #ba007c;
}
.news-box  {

	display: inline-block;

	margin: 0 .8%;

	vertical-align: top;

}

.news-box h3  {

	font-size: 1.9em;

}

.news-box .index-box {

	border-bottom: 5px solid #eee701;

	padding: 0;

	margin: 0 0 20px;

}

.news-box .index-inner-top {

    vertical-align: top;

	padding: 0;

}

.news-box .index-inner-bottom {

    vertical-align: bottom;

}

.news-box img {

    display: block;

	width: 100%;

}

.news-box .news-info {

    display: block;

	width: 100%;

	padding: 3px 10px 5px;

}

.btn-news {

	font-size: 1.5em;

	font-weight: 700;	

	color: #fff;

	background-color:  #00bbf2;

	border-radius: 8px;

	padding: 2px 14px;

	margin: 10px 0;

	display: inline-block;

	vertical-align: bottom;

}

.btn-news:hover, .btn-news:focus {

	color: #fff;

	background-color:  #fa1a8a;

}

.news-box .btn-news {

	margin: 5px 0 20px;

}
.news-single {

	background-color: #fff;

	padding: 20px;

}

.news-single p {

	font-size: 1em;

}

.news-single .comments h4 {

	font-size: 1.5em;

	margin: 20px 0 10px;

	color: #00bbf2;

	font-weight: 700;

}

.news-single .comments textarea {

	width: 100%;

	min-height: 120px;

}



/* Buscador */

.search-form .form-group {

  float: right !important;

  transition: all 0.35s, border-radius 0s;

  width: 32px;

  height: 40px;

  background-color: #fff;

  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;

  border-radius: 25px;

  border: 1px solid #949494;

  margin-bottom: 10px;

}

.search-form .form-group input.form-control {

  padding-right: 20px;

  border: 0 none;

  background: transparent;

  box-shadow: none;

  display:block;

  height: 40px;

}

.search-form .form-group input.form-control::-webkit-input-placeholder {

  display: none;

}

.search-form .form-group input.form-control:-moz-placeholder {

  /* Firefox 18- */

  display: none;

}

.search-form .form-group input.form-control::-moz-placeholder {

  /* Firefox 19+ */

  display: none;

}

.search-form .form-group input.form-control:-ms-input-placeholder {

  display: none;

}

.search-form .form-group:hover,

.search-form .form-group.hover {

  width: 315px;

  border-radius: 1.5px 25px 25px 1.5px;

}

.search-form .form-group span.form-control-feedback {

  position: absolute;

  top: -1px;

  right: -2px;

  z-index: 2;

  display: block;

  width: 40px;

  height: 40px;

  line-height: 40px;

  text-align: center;

  color: #fff;

  background-color: #fa1a8a; 

  left: initial;

  font-size: 16px;

  border-radius: 50%;

}

/* Paginación */

.pagination {

	font-size: 1.2em;

}

.pagination>li:first-child>a, .pagination>li:first-child>span, .pagination>li:last-child>a, .pagination>li:last-child>span {

    border-radius: 1px;

	background-color: #dadad9;

}

.pagination>li>a:focus, .pagination>li>a:hover, .pagination>li>span:focus, .pagination>li>span:hover {

    z-index: 2;

    color: #fff;

    background-color: #005596;

    border-color: transparent;

}

.pagination>li>a, .pagination>li>span {

    background-color: #fff;

    border: none;

}

.pagination {

    display: inline-block;

    padding-left: 0;

    margin: 15px 0 20px;

    border-radius: 1px;

}



/* Noticias */

.noticias-container {

	display: block;

	width: 100%;

	text-align: center;

}

.noticia-block {

	display: inline-block;

	width: 20%;

	min-height: 200px;

	margin: 0 1.1% 25px;

	background-color: rgb(249,249,249);

	vertical-align: top;

	overflow: hidden;

	border-radius: 1.5px;

}

.noticia-block .img {

	background-repeat: no-repeat;

    background-position: 50% 50%;

	background-attachment: scroll;

    background-size: cover;

    box-sizing: border-box;

	position:  absolute;

	top: 0;

	left: 0;

	bottom: 0;

	right: 0;

}

.noticia-block .box {

	display: block;

	position: relative;

	width: 100%;

}

.noticia-block .box:before{

	content: "";

	display: block;

	padding-top: 100%; 	/* initial ratio of 1:1*/

}



.noticia-block .texto {

    padding: 10px;

}

.noticia-block .fecha {

    font-size: 10px;

}

.noticia-block h4 {

    margin-bottom: 15px;

}

.btn-mas {

    display: inline-block;

    margin-bottom: 0;

    text-align: center;

    vertical-align: middle;

    cursor: pointer;

    background-image: none;

    color: #FFF;

    background-color: #58B9DA;

    border: 1px solid transparent;

    box-sizing: border-box;

    word-wrap: break-word;

    -webkit-user-select: none;

    -moz-user-select: none;

    -ms-user-select: none;

    user-select: none;

    position: relative;

    top: 0;

    -webkit-transition: all .2s ease-in-out;

    transition: all .2s ease-in-out;

    line-height: normal;

    font-size: 14px;

    padding: 10px 20px;

	border-radius: 5px;

}

.btn-mas:active {

    color: #f2f2f2;

    background-color: #37abd3;

}

.btn-mas:hover {

    color: #f7f7f7;

    background-color: #3fafd4;

}

.btn-mas2 {

    background-color: #fa1a8a;

}

.btn-mas2:active {

    color: #f2f2f2;

    background-color: #eee701;

}

.btn-mas2:hover {

    color: #f7f7f7;

    background-color: #1bc9fe;

}

.btn-doc {

	background-color: #fa1a8a;

	border-radius: .25em;

	font-size: 1.2em;

	color: #fff !important;

	padding: .5em;

	display: inline-block;

	margin: .25em;

}

.btn-doc:hover {

	background-color: #eee701;

}

.page-numbers {

    position: relative;

    display: block;

    padding: .3rem .75rem;

    line-height: 1.2;

    color: #000 !important;

    background-color: #fff;

    border: none;

    height: 1.8em;

    width: 1.8em;

    text-align: center;

    border-radius: 50%;

}

.page-numbers img {

    width: .5em;

    height: auto;

    margin: -.35em 0 0 -.15em;

    position: absolute;

    top: 50%;

    left: 50%;

}

.page-numbers:hover {

    background-color: #009bdb;
    color: #ffffff !important;

}

.page-item:first-child .page-numbers,

.page-item:last-child .page-numbers {

	border-radius: 50%;

}

.page-item .current, .page-item .current:hover {

	cursor: default;

	pointer-events: none;

	background-color:  #ffffff !important;

	color: #000000 !important;

}

.current, .current:hover {

	cursor: default;

	pointer-events: none;

	background-color:  #000000 !important;

	color: #fff !important;

}


.entry-title {text-align: center; color: #019cde; font-weight: bold; margin-bottom: 30px; }

@media screen and (max-width: 1300px) {

	.noticia-block {

		display: inline-block;

		width: 30.8%;

		margin: 0 1.1% 25px;

	}

}

@media screen and (max-width: 1200px) {
.ttlnews, .ttltaller, .ttldonativos {

	font-weight: bold;
	font-size: 1.6em;
} 
}
@media screen and (max-width: 900px) {
.ttlnews, .ttltaller, .ttldonativos {

	font-weight: bold;
	font-size: 1.4em;

} 
		.noticia-block {

		display: inline-block;

		width: 44%;

		margin: 0 1.5% 25px;

	}

}

@media screen and (max-width: 768px) {
		.noticia-block {

		display: inline-block;

		width: 90%;

		margin: 0 1.5% 25px;

	}
	.rrssimg {
    	margin-bottom: -20px;
    }

	}