/* --- General Styles --- */
body{
	font-family: 'Syne', sans-serif !important;
	height: 100%;
	line-height: 1.6;
	-webkit-appearance: none;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    line-height: 1.3;
    margin: 0 0 22px;
    text-rendering: optimizelegibility;
}

p {
	margin-bottom: 22px;
}

p:last-child {
    margin-bottom: 0;
}


p, .views-field-body p, .views-field-body li, .event-p li, .field--name-body li {
    font-size: 18px !important;
}


ul, ol, ul ul {
    padding: 0 0 0 60px;
    margin: 0 0 22px 0;
}


embed, iframe, object, video, audio {
    max-width: 100%;
}



thead > tr > th a {
    color: #ffffff !important;
}

/* --- Header : Pre-menu and Main menu ---*/

.topbar {
    background: #6a9913 !important;
}


.contact-left {
    margin-top: 5px;
}

.header-phone, .header-email {
	display: inline-block;
	color: #ffffff;
	vertical-align: middle;
}

.header-phone {
    margin-right: 20px;
}

.header-email a ,
.header-email a:hover {
	color: #ffffff !important;
	padding-left: 5px;
}


/* Branding */

.branding .logo-site{
	height:100px;
	max-width: 100%;
}

/* GVA Mega Menu */



/* --- Blocs Home ---*/

#block-tscathometext {
    color: #ffffff;
    text-align: center;
    padding: 40px 20px;
    font-size: 12pt;
    margin-top: -20px;
}

#block-tscathometext h1 {
    font-size: 19pt;
    font-weight: 100;
}


#block-tscathomedescobreix {
	background: linear-gradient(45deg, rgba(107, 153, 19, 1) 10%, rgba(29, 168, 187, 1) 90%);
    color: #ffffff;
    text-align: center;
    margin: 0 0 30px 0;
    padding: 50px 0 70px 0;
    font-size: 12pt;
    clear: both;
}




/* --- Estilos generales --- */

/* Titulos de vista y botones  View all */
.ts-vw {
    border-bottom: 1px solid #6b9913;
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-top: 30px;
    margin-bottom: 30px;
}

.ts-vw-title {
    color: #6b9913;
    font-size: 30px;
}

.ts-vw-button {
    text-align: right;
}

.ts-vw-button a, .ts-vw-button-left a, #block-tscathomelinks a {
    background: #6b9913;
    color: #ffffff !important;
    text-transform: uppercase;
    padding: 7px 20px;
    font-size: 15px;
    letter-spacing: 1px;
}

.ts-bloc-gris{
	background: #f5f5f5 !important;
	margin: 30px 0 0 0;
	padding: 10px 25px 10px 25px !important;
}


.subscription-list-button {
    background-color: #19A5AD !important;
    color: white !important;
    text-transform: none !important;
}

.box-info{
    background-color: #F5F5F5;
    padding: 0px 0px !important;
    background-clip: padding-box;
    border: 10px solid transparent;
    min-height: 240px !important;
}

/* --- Page Headers --- */

.page-header .sub-title a {
    color: white !important;
    text-decoration: underline !important;
}




/* Llistes de suscripciones */
#drupal-modal .form-item-estat-subscripcio, #drupal-modal .form-item-llista {
    display: none;
}

.webform-submission-llistes-de-subscripcions-form .form-type-checkbox{
	display: ruby-text;
}

.webform-submission-llistes-de-subscripcions-form .form-type-checkbox input{
	width: unset;
}


/* --- Overwrite daudo --- */

.topbar{
		font-family: 'Syne', sans-serif !important;
}

#footer .footer-top {
	background-color: white !important;
}



/* --- TB Megamenu --- */

.tbm{
	margin-top: 40px;
}

.tbm.tbm--mobile{
	background-color: white;
	margin-top: -40px !important;
}

.tbm--mobile .tbm-submenu{
	transform: unset !important;
	padding-left: 15px;
}

.tbm--mobile .tbm-link-container{
	padding-left: 15px;
}

#block-daudo-subtheme-navegacioprincipal-2{
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.tbm-link.level-1{
    padding: 11px 13px !important;
}



/* --- Boxes --- */
.box-event {
    background-color: #F5F5F5;
    padding: 20px 20px !important;
    font-size: 18px;
    height: 260px;
    margin: 0 0 20px 0;
    line-height: 26px;
    display: inline-table;
}



.box-del {
    background-color: #F5F5F5;
    padding: 20px 20px !important;
    font-size: 18px;
    min-height: 165px;
    margin: 0 0 10px 0;
    line-height: 26px;
}

.box-gris {
    background-color: #F5F5F5;
    padding: 20px 20px !important;
    margin: 50px 0 20px 0;
}

.box-gris-nomarg {
    background-color: #F5F5F5;
    padding: 20px 20px !important;
    margin: 20px 10px 20px 10px;
}

.box-gris p {
    font-size: 14px !important;
    margin-bottom: 10px;
}

.box-gris li {
    font-size: 14px !important;
}

.box-fosc {
    background-color: #e3e3e4;
    padding: 20px 20px !important;
    height: 165px !important;
    font-size: 11pt;
    margin: 20px 0;
}


.box-verd {
    background-color: #dae9cc;
    padding: 20px 20px !important;
    height: 160px !important;
    font-size: 11pt;
    margin: 20px 0;
}

.box-fosc p,
.box-verd p {
    margin-bottom: 8px;
}

.box-event .info-label,
.box-gris .info-label,
.box-fosc .info-label,
.box-verd .info-label,
.box-del .info-label {
    color: #6B9913;
    font-size: 14pt !important;
}

.box-event .col,
.box-gris .col {
    height: 145px;
}

.box-event .col-border,
.box-gris .col-border {
    border-right: 1px solid #6B9913;
    height: 220px;
}


.box-del .col-border {
    border-right: 1px solid #6B9913;
    height: 125px;
}



/* --- Node Event (Courses, Workshops) --- */


.item-rating .info-value{
	display: inline-table;
    padding-left: 20px !important;
}

.star-rating {
    --percent: calc(var(--rating) / 5 * 100%);
    display: inline-block;
}
.star-rating:before {
    content: '★★★★★';
    background: linear-gradient(90deg, #ffc107 var(--percent), #e4e5e9 var(--percent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.Acte .box-event {
    height: 200px !important;
}

.Acte .acte-price {
display: none;
}
.Acte .box-event .col-border {
    height: 160px !important;
}

.Curs .views-field.views-field-nothing{
	margin-bottom: 20px;
}

.Curs .views-field-quo-php-code .btn-primary{
	background-color: #037ac5;
}

.views-field-field-ev-reconeixement .box-fosc {
    height: auto !important;
}

.views-label-field-ev-tax-reconeixement {
    color: #6B9913;
    font-size: 14pt !important;
}


.views-field-field-ev-reconeixement p, .views-field-field-ev-reconeixement div, .Curs .views-field-description__value p, .views-field-field-ev-tax-reconeixement .field--name-description
 {
    line-height: 22px;
    font-size: 18px;
}


/* --- Accordion styles ---*/

.panel-group > .panel-default > .panel-heading > .panel-title > a {
    background-color: #f2f2f2;
}
.panel-group .panel-heading + .panel-collapse .panel-body {
    font-size: 18px;
}
.panel {
    padding: 3px;
}

.panel .panel-heading .panel-title > a:after {
    display: none;
}
.panel .panel-heading .panel-title > a:before {
    font-family: "Font Awesome 5 Free";
    position: absolute;
    font-size: 24px;
    top: 9px;
    right: 97%;
    z-index: 1;
    content: "\f0fe";
	color: #6b9913 !important;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    -o-border-radius: 50%;
    text-align: center;
    line-height: 22px;
}
.panel-group .panel .panel-heading > .panel-title > a {
    background-color: #f2f2f2;
    display: block;
    line-height: 22px;
    padding: 9px 9px 9px 60px;
    text-decoration: none;
    -webkit-transition: background-color .2s linear;
    transition: background-color .2s linear;
}
.panel-group .panel {
    margin-bottom: 0;
    border-radius: 4px;
}

.panel .panel-heading .panel-title > a[aria-expanded="true"]{
    background-color: #6b9913 !important;
	color: white !important;
}

.panel .panel-heading .panel-title > a[aria-expanded="true"]:before {
 	content: "\f068";
	color: white !important;
}
