/*
Theme Name: IISPV
Text Domain: iispv
Author: Dani Garcia - 6TEMS
Author URI: http://6tems.com
Requires at least: WordPress 5.4.2
Description: Tema personalizado
Version: 1.0
*/

/* No ensenyar adminbar de WP al ser mobile */

#wpadminbar.mobile {
    display: none!important;
}

/* LOADER */

.loader {
    width: 50px;
    height: 50px;
    border: 10px solid #f3f3f3;
    border-top: 10px solid #3498db;
    border-radius: 50%;
    animation: spin 2s linear infinite;
    margin-left: auto;
    transition: all .5s ease;
    -moz-transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    margin: auto;
    margin-top: 40px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* end LOADER */

/* NOTIFICACIONS */

.notice {
    display: inline-block;
    line-height: 19px;
    padding: 11px 15px;
    font-size: 14px;
    text-align: left;
    background-color: #fff;
    border-left: 4px solid #ffba00;
    box-shadow: 0 1px 1px 0 rgba(0, 0, 0, .1);
    width: 100%;
    margin: 5px 0px 5px 2px;
    margin-bottom: 20px;
}

/* .notice v2 */

.notice {
    border: 1px solid #ffba00;
    border-left: 4px solid #ffba00;
}

/* end .notice v2 */

.notice p {
    padding: 0px 5px;
    font-size: 14px !important;
    margin: 0;
    margin-bottom: 0px !important;
    color:#000 !important;
}

.notice.notice-info {
    border-color: #00a0d2;
}

.notice.notice-warning {
    border-color: #ffb900;
}

.notice.notice-success {
    border-color: #46b450;
}

.notice.notice-error {
    border-color: #dc3232;
}

/* /NOTIFICACIONS */

/* YOUTUBE */

.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    /* 16/9 ratio */
    /*padding-top: 30px;*/
    /* IE6 workaround*/
    height: 0;
    overflow: hidden;
}

.video-responsive iframe, .video-responsive object, .video-responsive embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner-home pre {
    margin: 0;
    position: relative;
}

.video-responsive {
    /*position: initial;*/
    margin-top: -30px;
}

/* end YOUTUBE */

.form-response {
    padding-top: 40px;
    display: inline-block;
    width: 100%;
    overflow: hidden;
}

/* TOOLTIP 
 * <div class="tooltip">Hover over me
 *   <span class="tooltiptext">Tooltip text</span>
 * </div>
*/

/* Tooltip container */
/*
.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
    /* If you want dots under the hoverable text */
}

/* Tooltip text */
/*
.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #555;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 6px;
    /* Position the tooltip text
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    Fade in tooltip
    opacity: 0;
    transition: opacity 0.3s;
}
*/
/* Tooltip arrow */
/*
.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

/* Show the tooltip text when you mouse over the tooltip container */
/*
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}*/

/* end TOOLTIP */

/* Estils Fitxa Casos d'Exit */
.header-cas-exit .card-sec {
	display: flex;
    align-items: flex-end;
}

.header-cas-exit .card-sec a.ca-but {
	position: relative;
	margin-right: 15px;
}

.header-cas-exit:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}
/**/

/* Estils Plugin Twitter */
.ctf-tweets
{
	display: flex;
    flex-flow: wrap;
	    justify-content: flex-start;
}

.ctf-header { display: none; }

#ctf .ctf-item {
    float: left;
    width: 48%;
    background: #f9f9f9;
    padding: 26px;
    margin-bottom: 10px;
	border: none;
	padding: none;
}

#ctf p.ctf-media-link, #ctf p.ctf-tweet-text {
	text-overflow: ellipsis;
    overflow: hidden;
}

#ctf .ctf-item:nth-child(2n + 1) {
	margin-right: 2%;
}

#ctf .ctf-tweet-actions, #ctf .ctf-tweet-content {
	margin-left: 0px;
}

#ctf .ctf-quoted-tweet {
	margin: 10px 0;
}

#ctf .ctf-author-avatar img {
	border-radius: 100%;
    border: 1px solid #26416e;
}
/**/





.organitza,.fixta-r .organitza p {
    font-size: 16px;
    font-style: italic;
    color: #444;
  }
  
  .organitza{margin-bottom:10px;float:left;width: 100%;}

  .fixta-r .links a{
    font-size: 15px;
    float: left;
    line-height: 24px;
    padding-top: 10px;
    color: #47899f;
    font-family: "sf_pro_displaysemibold";
    width: 100%;
    padding-bottom: 17px;
    letter-spacing: 0.5px;
  }
  .fixta-r .links h4{
    font-size: 24px;
    color: #282828;
    line-height: 30px;
    font-family: 'sf_pro_displaysemibold';
    letter-spacing: 0.5px;
    margin-bottom: 10px;
    margin-top:20px;
    float:left;
  }

.img-container {
    float: left;
    width: 49%;
    margin-right: 1%;
  }
  
  .img-container img {
    width: 100%;
  }
  
  .img-container {
    margin-bottom: 3.5%;
  }
  
  .img-container figcaption {
    text-align: center;
    font-size: 15px;
    color: #555;
    padding: 0.5rem;
    font-size: ;
    font-style: italic;
  }
  
  .main-menu li.menu-item .sub-menu {
    /* background: #fff; */
    /* -webkit-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.87); */
    /* -moz-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.87); */
    background: #eff6ff;
    box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.87);
    -webkit-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.57);
    -moz-box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.87);
  }
  
.main-menu .new-mega-menu ul li.menu-item .sub-menu .sub-col {
    /* width: 33.33%; */
    width: 32.5%;
  }
  

  #filter-ajuts .second-row > ul{display:flex;justify-content: flex-start;margin-top:5px;padding-bottom: 15px;}
  .ajuts-filter ul li.has-datepicker{position: relative;}
  button.filter-open{background: transparent;border: none;width: 40px;outline: none;margin:0 10px;cursor: pointer;}
  button.filter-open img{width: 100%;}
  #filter-ajuts > .second-row{display: none;}
  input[type="submit"].buscar-mob{display: none;}
  #filter-ajuts >.second-row ul > li{margin-right: 1%;flex:0 1 20%}

.ajuts-filter {
    /* padding: 40px 0px 5px; */
    padding: 40px 0px 10px;
  }
  #filter-ajuts .ajuts-select .sbHolder .sbOptions li{margin:0;}
  span.rd.rd-active { background: #ffe9db; padding: 4px 14px; font-size: 10px; border-radius: 50px; color: #ff8633; }
    
  
  
  .row.rawtext ul{
	padding-left: 2em;
    margin: 1em 0;
  }
  
  .row.rawtext li{
	  list-style: disc;
	  float:none;
	  width:auto;
	  margin:0;
  }
  
  .row.rawtext p{
	  margin-bottom:1em;
  }
