/*
Theme Name: eCoursify Child
Theme URI: http: https://themily.com/tm-ecoursify/
Template: ecoursify
Author: MWTemplates
Description: eCoursify - Learning Management System
Tags: custom-header, left-sidebar, right-sidebar, post-formats, full-width-template
*/

/*
** WordPress Required
*/
.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 .wp-caption-dt {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}
.wp-caption .wp-caption-dt:empty {
    display: none;
}
.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;
}

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

.screen-reader-text:focus {
    clip: auto !important;
    display: block;
    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. */
}

.sticky,
.bypostauthor{position: relative;}

.wp-block-button a.wp-block-button__link:hover {
    color: inherit;
}
.wp-block-gallery {
    width: 100%;
}
.wp-block-gallery .blocks-gallery-item figcaption {
    line-height: 1.6;
    padding: .5rem;
}
.entry-content p[style*='font-size'], .entry-content p.has-large-font-size {
    line-height: 1.2
}
.wp-block-audio {
    margin-bottom: 10px;
}
.wp-block-archives.wp-block-archives-dropdown {
    margin-bottom: 10px;
}

/* ¯\_(ツ)_/¯ */
#post-1158 .entry-title + dl#attachment_612[style],
#post-1158 .entry-title + dl#attachment_612[style] + p,
#post-1158 .entry-content dl#attachment_612[style],
#post-1158 .entry-content dl#attachment_612[style] + p {
    display: none;
}

/*NOVA WEB Vidal i Barraquer, 2425*/

body #content {
    font-size: 1.25rem;
}

h2 {
    font-size: 2.57rem;
}

h3 {
word-break: auto-phrase;
}

@media (min-width: 992px) {
    section.cinccolumnes .col-md-3 {
        width: 20% !important;
    }
    section.cinccolumnes .item-media {
        max-height: 110px !important;
    }
    section.siscolumnes .col-md-3 {
        width: 16% !important;
    }
}


.destacatsotactualitat .item-content{
    padding: 5px !important;
}

.destacatsotactualitat .item-content h4 {
    font-size: large;
    margin-top: 0px !important;
}

/*Capçalera xarxes socials*/

.page_topline {
    background-color: #3d3d3d !important;
}

.page_topline .container {
    padding-top: 0;
    padding-bottom: 0;
}

/*Capçalera*/
.header_white {
	#background-color: #10223E;
    background-color: #fbfbfb;
}

.header_white .sf-menu > li > a {
    #color: white;
}

@media (max-width: 1440px) {
    a.logo img {
        max-width: 100%;
    }
}

.header4-social-links-vidalibarraquer {
    display: none !important;
}

.logo_moodle a img{
    width: 75px;
}

/*Botó submit*/

.theme_button.wide_button {
    width: 100%;
}

/*Menú*/

.sf-menu > li .mega-menu, .sf-menu li > ul {
    margin-top: 0px !important;
    border: none;
    border-radius: 0px;
}

/*Contenidor*/

.section_padding_top_85>[class*=container] {
    padding-top: 0px;
}

.caixa_cicles_familia .cs {
    min-height: 850px;
}

.grey {
    color: darkgray !important;
}
/*Slider mòbil*/


@media (max-width: 767px){ li.ls { min-height: 55vh; } }

@media (max-width: 992px) {
    .intro_section .flex-direction-nav .flex-next .flex-prev {
        top: 50%;
    }
    li.ls { min-height: 70vh; }
}

@media (max-width: 992px) {
    .intro_section .flex-direction-nav .flex-next .flex-prev {
        top: 50%;
    }
}

/*CAIXES SOTA SLIDER, FAMILIES*/

h3.accent3 {
    word-break: keep-all;
    hyphens: none;
}

.nav-tabs {
    padding-top: 10px;
}

/*FOOTER*/

.ds.ms {
    #background-color: #10223e;
    background-color: #20447D;
}


/*PÀGINA FAMILIES*/

#caixa_descripcio_familia .col-md-12 {
    margin-bottom: -20px;
}


/*PÀGINA CURSOS*/

section div.teaser {
    /*padding-top: 10px !important;*/
    margin-bottom: 0 !important;
}

/* Mostra les fletxes del slider Ecoursify */
.slider-direction-nav {
    display: block !important;
    opacity: 1 !important;
    position: absolute;
    top: 50%;
    width: 100%;
    z-index: 99;
}

.slider-direction-nav a {
    display: block;
    position: absolute;
    top: -20px;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    color: #fff;
    background-color: rgba(0,0,0,0.3);
    border-radius: 50%;
    font-size: 24px;
    text-decoration: none;
    transition: all 0.3s;
}

.slider-direction-nav a.slider-prev { left: 20px; }
.slider-direction-nav a.slider-next { right: 20px; }

.slider-direction-nav a:hover {
    background-color: #20447D;
}

#noticies p {
    text-align: justify;
}

#noticies article {
    padding: 12px;
}

#noticies h3 {
    font-size: 24px;
}

.greylinks { display:none !important; }

.teaser h3 {
    font-weight: lighter;
    font-size: 20px;
    margin-bottom: 0 !important;
}
  
