/*
Theme Name: spdiariodigital
Theme URI: http://www.spiralweb.com.ar
Author: Spiral
Author URI: http://www.spiralweb.com.ar
Description: Tema para spdiariodigital
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: spdiariodigital
*/

:root{
	--sp-web-primary: #00ac59;
	--sp-web-primary-rgb: 0, 172, 89;
	--sp-web-secondary: #0257b3;
	--sp-web-secondary-rgb: 2, 87, 179;
}

@font-face {
  font-family: 'Nunito-BlackItalic';
  src: url(fonts/Nunito/Nunito-Black.ttf) format('truetype');
}
@font-face {
  font-family: 'Nunito-Black-Italic';
  src: url(fonts/Nunito/Nunito-BlackItalic.ttf) format('truetype');
}
@font-face {
  font-family: 'Nunito-Bold';
  src: url(fonts/Nunito/Nunito-Bold.ttf) format('truetype');
}
@font-face {
  font-family: 'Nunito-Bold-Italic';
  src: url(fonts/Nunito/Nunito-BoldItalic.ttf) format('truetype');
}
@font-face {
  font-family: 'Nunito';
  src: url(fonts/Nunito/Nunito-Regular.ttf) format('truetype');
}
@font-face {
  font-family: 'Nunito-Italic';
  src: url(fonts/Nunito/Nunito-Italic.ttf) format('truetype');
}
@font-face {
  font-family: 'Nunito-Light';
  src: url(fonts/Nunito/Nunito-Light.ttf) format('truetype');
}
@font-face {
  font-family: 'Nunito-Light-Italic';
  src: url(fonts/Nunito/Nunito-LightItalic.ttf) format('truetype');
}
@font-face {
  font-family: 'OpenSans-Bold';
  src: url(fonts/OpenSans/OpenSans-Bold.ttf) format('truetype');
}
@font-face {
  font-family: 'OpenSans-BoldItalic';
  src: url(fonts/OpenSans/OpenSans-BoldItalic.ttf) format('truetype');
}
@font-face {
  font-family: 'OpenSans';
  src: url(fonts/OpenSans/OpenSans-Regular.ttf) format('truetype');
}
@font-face {
  font-family: 'OpenSans-Italic';
  src: url(fonts/OpenSans/OpenSans-Italic.ttf) format('truetype');
}



html{  
	position: relative;
    min-height: 100%;
}

body {
  font-family: "Roboto Serif", serif;
  font-optical-sizing: auto;
  font-weight: 400;
  font-style: normal;
  font-size:1.1rem;
  padding-top: 0rem;
  padding-bottom: 0rem;
  height: 100%;
}
a{
	color: var(--sp-web-secondary);
}

a:hover, a:focus{
	text-decoration:none;
}
h1,h2,h3,h4,h,h6{
  font-family: "Roboto Serif", serif;
  font-optical-sizing: auto;
  font-weight: 500;
  font-style: normal;
}
.container-principal{
	margin-top: 3.5rem;
}
.text-header{
	font-size:4rem;
	font-family: "Roboto Serif", serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: bold;
	text-align: center;
}
.text-header-left{
	color: var(--sp-web-primary);
}
.text-header-rightt{
	color: var(--sp-web-secondary);
}
.fixed-top{
	top:auto;
}
.navbar-brand{
	display:none;
}

.logo-web{
	height: 80px;
	width: auto;
}

button.navbar-toggler {
    display: none;
}

.collapse:not(.show) {
    display: flex;
    align-items: center;
}
.navbar-nav {
	flex-direction:row!important;
  	font-family: "Roboto Serif", serif;
  	font-optical-sizing: auto;
  	font-weight: 400;
}
a.nav-link{ color:#fff!important; }
a:hover {
    color: var(--sp-web-primary);
}
.carousel img{
	width: 100%;
	height: 450px;
	object-fit:cover;
	object-position:center;
}
.col-cards{
	margin-bottom:1rem;
}
.card{
	height:100%;
	border: 0;
	border-radius: 0;
}
.card-img-top {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}
.container-sup{
	position: relative;
}
.badge-category-card{
	position: absolute;
    bottom: 1rem;
    left: 1rem;
}
.v-align{
  display: flex;
  align-items: center;
  justify-content: center;
}

.titulo-seccion{
	margin-bottom: 3rem;
}

.nav-link {
    display: block;
    padding: .8rem 1rem!important;
}

.current-menu-item.active{
	background-color: var(--sp-web-secondary);
}

section{
	padding-top:3rem;
	padding-bottom:3rem;
}

.page-title{
	font-size:3rem;
	text-shadow: 2px 2px 2px #000;
}
.img-page-single{
	height:15rem;
	background-image:url('img/earth.jpg');
	background-repeat:no-repeat; 
	background-size:cover;
	background-position:center;
}
.img-page{
	height:13rem;
	background-repeat:no-repeat; 
	background-size:cover;
	background-position:center;
}
.text-web{
	color: var(--sp-web-primary);
}

.bg-red{
	background-color:var(--sp-web-primary);
}
.bg-web-secondary{
	background-color:var(--sp-web-secondary);
}

.bg-dark{
	/*background-color:#2f2c2c;*/
	background-color:#000!important;
}

.bg-dark-gray{
	background-color:#2f2c2c;
}

.bg-gray{
	background-color:rgba(0,0,0,.03);
}

.bg-red-primary{
	background-color:var(--sp-web-primary);
}

.bg-gradient-red{
background-color: #e10000; /* For browsers that do not support gradients */
background-image: linear-gradient(to right, #e10000 , #870000); /* Standard syntax (must be last) */
}

.bg-spiral{
	background: #43cea2;
    background: -webkit-linear-gradient(to right, #185a9d, #43cea2);
    background: linear-gradient(to right, #185a9d, #43cea2);
}

.bg-web{
	background-color: var(--sp-web-secondary);
}
.btn-web{
	background-color: var(--sp-web-primary)!important;
	color:#fff!important;
}
.btn-web:hover{
	background-color: var(--sp-web-secondary)!important;
}

.btn-header{
    display: inline-block!important;
}
.navbar-nav .dropdown-menu {
    position: absolute;
    border: 0;
    border-radius: 0;
}
.dropdown-menu {
    background-color: var(--sp-web-primary);
}
.dropdown-item,.dropdown-item:hover{
	color:#fff;
}
.dropdown-item:focus, .dropdown-item:hover {
    background-color: var(--sp-web-secondary);
}
.btn.btn-primary.dropdown-toggle {
    color: rgba(255,255,255,.5);
}
.btn.btn-primary.dropdown-toggle:hover {
    color: rgba(255,255,255,.75);
}
.btn.dropdown-toggle,.btn.dropdown-toggle:hover,
.btn.dropdown-toggle:active,.btn.dropdown-toggle:focus,
.btn.dropdown-toggle:not(:disabled):not(.disabled){
background-color: transparent;
border-color: transparent;
}


.col-cards a, .col-cards p{
	color: #000;
}

.card{
	box-shadow: 0 2px 2px rgba(0,0,0,.5);
	transition: all .2s;
}
.card:hover{
	background: #f6f6f6;
}

.row-cards-ppal .card-ppal .card-body{
	border-top: 1px solid rgba(0,0,0,.125);
}

/* fixes potential theme css conflict */
.acf-map img {
   max-width: inherit !important;
}

.titulo-seccion{
	font-family: 'Nunito-Bold';
}

.descripcion-seccion{
	font-size: 1.5rem;
	text-align: center;
	padding-bottom: 2rem;	
}
.newsletter .fas{
	color:#fff;
}
.newsletter .form-control, .newsletter .input-group-text{
	border-color: var(--sp-web-primary);
}

.titulo-page-inferior {
    margin-bottom: 1rem;
    padding-top: 2rem;
}
.d-grid{
	display:grid;
}

.border-separator{
	height: 20px;
    width: 100%;
    margin: 0 auto;
	background-color: #ffffff;
	background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%2300bf63' fill-opacity='0.43' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}
.list-mas-leidas{
	font-family: 'Nunito-Bold';
}
.list-mas-leidas li{
	line-height: 1.25rem;
	text-align: justify;
	margin-bottom: 1rem;
}
.list-mas-leidas li a{
	font-size:1rem;
}
.tag-cloud-link{
	font-family: OpenSans;
}

footer .copyright{
	line-height: 1.2rem;
}

footer p{
	margin:0px;
}
footer .navbar-nav{
	flex-direction: column!important;
}
footer .nav-link{
	color: #2f2c2c!important;
}

img.spiral-logo {
    height: 30px;
    width: auto;
}

.navbar .dropdown-menu li {
  width: 100%;
  margin-left: 0 !important;
}

.search-submit{
	background: transparent;
    color: rgb(var(--sp-web-primary-rgb));
    border: transparent;
}
.searchform{
	width:100%;
}
.searchform input{
	border: transparent;
    border-bottom: 1px solid #ccc;
    font-size: 1.3rem;
    width: 88%;
}

.social-icons a {
    display: inline-block;
    height: 3rem;
    width: 3rem;
    background-color: rgb(var(--sp-web-primary-rgb));
    color: #fff;
    border-radius: 100%;
    text-align: center;
    font-size: 1.3rem;
    line-height: 3.2rem;
    margin-right: .8rem;
}
.social-icons a:hover {
    background-color: rgba(var(--sp-web-primary-rgb),.8);
}
.container-search-form{
	margin-bottom: 1.5rem;
	margin-top: 1.5rem;
}

.menu-principal .nav-link:hover {
    background-color: rgba(var(--sp-web-secondary-rgb),.8);
}
.WidgetTutiempo .copy span.Left {
    color:#fff!important;
}
/*******/
.text-header .text-header-left,
.text-header .text-header-right{
	position:relative;
	color:transparent;
	overflow: hidden;
}
.text-header .text-header-right{
	padding-right: .5rem;
}

.text-header .text-header-left::before{
		content: attr(data-text);
		position:absolute;
		left:0;
		top:0;
		height:100%;
		width:100%;
		text-indent: 0;
		overflow:hidden;
		animation: write 1s steps(7, end) forwards;
		animation-iteration-count: 1;
		white-space:nowrap;
		color:var(--sp-web-primary);
		text-shadow: 3px 2px 3px #ccc;
}

.text-header .text-header-right::before{
		content: attr(data-text);
		position:absolute;
		left:0;
		top:0;
		height:100%;
		width:100%;
		text-indent: 0;
		overflow:hidden;	
		animation: hide1 1s linear, write2 2s steps(19, end) forwards, blink-animation 1s step-end;
		animation-iteration-count: 1, 1 ,3;
		animation-delay: 0s, 1s, 3.5s;
		white-space:nowrap;
		color:var(--sp-web-secondary);
		text-shadow: 3px 2px 3px #ccc;
		border-right: .05em solid transparent;
}

.marquee-section {
    position: relative;
    min-height: 1rem;
}

.marquee-section, .marquee-section * {
    overflow: hidden;
}

.marquee {
    white-space: nowrap;
	font-size: .8rem;
	font-weight: 300;
}

.marquee-div {
    position: absolute;
    animation: move-right-to-left linear 12.5s infinite;
}

/* use this one to move from left to right direction */
@keyframes move-left-to-right {
    from {
        transform: translateX(-50%);
    }
    to {
        transform: translateX(0);
    }
}

/* use this one to move from right to left direction */
@keyframes move-right-to-left {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}
	  
@keyframes write{
	0% {
		width: 0;
		border-right: .05em solid var(--sp-web-primary);
	  }
	  99.99%{
		border-right: .05em solid var(--sp-web-primary);
	  }
	  100% {
		width:100%;
		border: none;
	  }
}

@keyframes hide1{
	from {width:0%;border-right: .05em solid transparent;}
	to {width:0%;border-right: .05em solid transparent;}
}
 @keyframes write2{
	  0% {
		width: 0;
		border-right: .05em solid var(--sp-web-secondary);
	  }
	  99.99%{
		border-right: .05em solid var(--sp-web-secondary);
	  }
	  100% {
		width:100%;
		border: 0;
	  }
}
@keyframes blink-animation {
	from, to {
		border-right: .05em solid transparent;
	  }
	  50% {
		border-right: .05em solid var(--sp-web-secondary);
	  }
  }

.menu-superior .nav-link{
	color: var(--sp-web-primary)!important;
}
.row-cards-ppal .card-title{
	font-size: 1.6rem;
}
.row-cards-ppal .card-text{ 
	font-size: 1.3rem;
}
.row-cards-ppal-snd .card-title{
	font-size: 1.3rem;
}	
.row-cards-ppal-snd .card-text{
	font-size: 1.1rem;
}	

.row-cards-ppal .card-ppal .card-body{
display: flex;
flex-direction: column;
justify-content: center;
}
.card-title{
	font-size: 1.3rem;
}

.row-cards-snd .card-title{ 
	font-size: 1.2rem;
	line-height: 1.3;
}
.row-cards-snd .card-text{ 
	font-size: 1rem;
}
.row-cards-thrd .card-title{ 
	font-size: 1.1rem;
	line-height: 1.2;
}
.row-cards-thrd .card-text{ 
	font-size: .8rem;
}

.search-social{
	display: flex;
    flex-direction: row;
}
.header-top .search-social{
	align-items: end;
}
.search-social .social-icons{
	display: flex;
	padding: 0.5rem 1rem!important;
}
.search-social .social-icons a {
	display: flex;
    align-items: center;
    height: unset;
    width: unset;
    background-color: transparent;
    color: var(--sp-web-primary);
    border-radius: 0;
    text-align: center;
    font-size: 1.3rem;
    line-height: 0rem;
    margin-right: 0;
    margin-left: 1.3rem;
}
.header-top .social-icons{
	padding-right: .5rem!important;

}
.header-top .search-social .searchform input{
	border-bottom: 1px solid!important;
}
.search-social .social-icons a:hover {
    color: var(--sp-web-secondary)!important;
}
.search-social .container-search-form{
    margin-bottom: 0;
    margin-top: 0;
	padding: 0.5rem 0rem 0.5rem 1rem!important;
}
.search-social .search-submit {
    background: transparent;
    color: var(--sp-web-primary);
    border: transparent;
}
.search-social .searchform input {
    border: transparent;
    border-bottom: 1px solid transparent;
    font-size: 1rem;
    background: transparent;
    width: 60%;
    color: var(--sp-web-primary);
}

.swiper {
	width: 100%;
	height: 160px;
	background-color: #ffffff;
	background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23cccccc' fill-opacity='0.4' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 6V5zM6 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");

  }

  .swiper-slide {
	text-align: center;
	background-color: rgba(255,255,255,.5);
  }

  .swiper-slide img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	-ms-transform: translate(-50%, -50%);
	-webkit-transform: translate(-50%, -50%);
	-moz-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	position: absolute;
	left: 50%;
	top: 50%;
  }
  .swiper-adws-medio{
	height: 200px;
	padding: 1.2rem 0;
	margin-bottom: 1rem;
  }
  
.embed-radio iframe{
	border: none;
}
/*******/

.badge {
    font-size: 65%;
}
.logo-mobile{
	height: 3rem;
    width: auto;
}

@media screen and (max-width:992px){
	.header-top, .collapse:not(.show){
		display:none;
	}
	.navbar-brand{
	    padding-top: 1rem;
    	padding-bottom: 1rem;
	}
	.navbar-brand, button.navbar-toggler{
		display:inline-block;
	}
	.navbar-nav {
		flex-direction:column!important;
		width:100%;
	}
	nav .container-menu.px-0{
	    padding-right: 15px!important;
    	padding-left: 15px!important;
	}
	nav #navbarsspdiariodigital .bg-dark{
		background-color: transparent!important;
	}
	nav #navbarsspdiariodigital .menu-superior{
		padding-left: 0;
	}

	.container-menu, .btn-header, .comment-form textarea, .comment-form input{
		width: 100%;
	}

	.search-social .container-search-form{
		display: none;
	}
	.search-social .social-icons a {
		text-align: left;
		margin-right: 3rem;
		margin-left: 0;
	}
	.search-social .social-icons {
		padding: 1.5rem 1rem 1.5rem 0!important;
	}

	.img-page {
    	height: 10rem;
    }
    .page-tile{
    	font-size:2rem;
    }
    .navbar-nav .dropdown-menu {
    	position: static;
    }
    .dropdown-menu{
        border: 0px solid rgba(0,0,0,.15);
    	text-align: left;
    }
    #menu-menu-spdiariodigital{
    	text-align: left;
    }
    .container-search-form{
    	margin-top: 0;
    	margin-bottom: 1.8rem;
    }
    .searchform input {
    	width: 85%;
	}
	.container-menu .nav-link {
    	padding: .5rem 1rem!important;
    	text-align: left;
	}
	.menu-principal .nav-link:hover,
	.menu-superior .nav-link:hover{
    	padding-left: 15px!important;
	}
	.menu-superior .nav-link:hover{
		background-color: var(--sp-web-primary);
	}
	.h1,h1{
		font-size: 1.5rem;
	}
	.h2, h2 {
    	font-size: 1.2rem;
	}
	.swiper {
		height: 80px;
	}
	.swiper.swiper-adws-superior{
		margin-top: .5rem;
	}
	.swiper.swiper-adws-medio{
		height: 180px;
	}
	.search-social .social-icons a {
		color: #fff;
	}
	.menu-superior .nav-link {
		color: #fff !important;
	}
}
@media (max-width:576px){
	.descripcion-seccion {
	    font-size: 1.1rem;
	}
}
@media (max-width:992px){
	footer .nav-link {
    font-size: .8rem;
	}
}