/* Stylesheet for the 'THEME Mercats i consum - Paeria' Plone theme */
/*

MAIN_COLOR = #95c0fa BLUE

*/
/* .template-portada .wrapper-slider .bx-viewport {height:480px !important;} */
.diputacio-link{font-weight: 600;}
.diputacio-link a{color: #009959;}

.template-folder_constraintypes_form input[type="checkbox"] + label {float:none;}
.template-search_form label{float:none !important;}
.template-search_form .optionsToggle{border: none;background: none;}

/*imatges llistat*/
.list-item .item .link img{height: 140px;width: 200px;}

/* utils */
.newsImageContainer{display:none;} /* Do not display Page images */
.column:last-child:not(:first-child), .columns:last-child:not(:first-child) {float: left;} /*Fix last column foundation*/

.black-glass {position: absolute; opacity: .4; left: 0; top:0; right: 0; bottom: 0; width: 100%; height: 100%;} /*background: black none repeat scroll 0 0;*/

.line {padding: 1em 0;}
.sm-line {padding: .5em 0;}
.md-line {padding: 1.5em 0;}
.lg-line {padding: 2.5em 0;}
.xl-line {padding: 4em 0;}
.m-w-200{max-width: 200px;}

.bg {height: 100%; background-repeat: no-repeat; background-size: cover; background-position: center center;}
.bg-red {background-color: #562029;background-image: url('++resource++plonetheme.escolesbressol.images/noise.png');}

.icons-on .contenttype-image img {display:none;}

.row.large {max-width: 100rem;}
.row.normalize {margin: 0 auto;}

#content .no-margin,
.no-margin {list-style: none; margin: 0;}
#content .no-margin li,
.no-margin li {list-style: none; display: inline-block}

.discreet {font-size: .85em; color: #555;}
.sm-font {font-size: .85em;}
.lg-font {font-size: 1.1em;}

/* hotfix event icon */
.icons-on .contenttype-event {background: none;padding-left: 0 !important;}

.banner img {height: auto;width: 300px;}

.image-responsive { width: 100%; height: auto;}

/*ul*/
.inline {display: inline-block !important;}
ul.inline {list-style: none;margin-left:0;margin-bottom:0;}
ul.inline li {display: inline-block;margin-left:0.3em;}
ul.style-none li {list-style: none;}

/*padding*/
.p-a-0 {padding:0;}
.p-x-0 {padding-left:0;padding-right:0;}
.p-y-0 {padding-top:0;padding-bottom:0;}
.p-t-0 {padding-top:0;}
.p-r-0 {padding-right:0;}
.p-b-0 {padding-bottom:0;}
.p-l-0 {padding-left:0;}
.p-a-03 {padding:0.3em;}
.p-x-03 {padding-left:0.3em;padding-right:0.3em;}
.p-y-03 {padding-top:0.3em;padding-bottom:0.3em;}
.p-t-03 {padding-top:0.3em;}
.p-r-03 {padding-right:0.3em;}
.p-b-03 {padding-bottom:0.3em;}
.p-l-03 {padding-left:0.3em;}
.p-a-05 {padding:0.5em;}
.p-x-05 {padding-left:0.5em;padding-right:0.5em;}
.p-y-05 {padding-top:0.5em;padding-bottom:0.5em;}
.p-t-05 {padding-top:0.5em;}
.p-r-05 {padding-right:0.5em;}
.p-b-05 {padding-bottom:0.5em;}
.p-l-05 {padding-left:0.5em;}
.p-a-1 {padding:1em;}
.p-x-1 {padding-left:1em;padding-right:1em;}
.p-y-1 {padding-top:1em;padding-bottom:1em;}
.p-t-1 {padding-top:1em;}
.p-r-1 {padding-right:1em;}
.p-b-1 {padding-bottom:1em;}
.p-l-1 {padding-left:1em;}
.p-a-15 {padding:1em;}
.p-x-15 {padding-left:1.5em;padding-right:1.5em;}
.p-y-15 {padding-top:1.5em;padding-bottom:1.5em;}
.p-t-15 {padding-top:1.5em;}
.p-r-15 {padding-right:1.5em;}
.p-b-15 {padding-bottom:1.5em;}
.p-l-15 {padding-left:1.5em;}
.p-a-2 {padding:2em;}
.p-x-2 {padding-left:2em;padding-right:2em;}
.p-y-2 {padding-top:2em;padding-bottom:2em;}
.p-t-2 {padding-top:2em;}
.p-r-2 {padding-right:2em;}
.p-b-2 {padding-bottom:2em;}
.p-l-2 {padding-left:2em;}
.p-a-25 {padding:2.5em;}
.p-x-25 {padding-left:2.5em;padding-right:2.5em;}
.p-y-25 {padding-top:2.5em;padding-bottom:2.5em;}
.p-t-25 {padding-top:2.5em;}
.p-r-25 {padding-right:2.5em;}
.p-b-25 {padding-bottom:2.5em;}
.p-l-25 {padding-left:2.5em;}
.p-a-3 {padding:3em;}
.p-x-3 {padding-left:3em;padding-right:3em;}
.p-y-3 {padding-top:3em;padding-bottom:3em;}
.p-t-3 {padding-top:3em;}
.p-r-3 {padding-right:3em;}
.p-b-3 {padding-bottom:3em;}
.p-l-3 {padding-left:3em;}

/*margin*/
.m-a-0 {margin:0;}
.m-x-0 {margin-left:0;margin-right:0;}
.m-y-0 {margin-top:0;margin-bottom:0;}
.m-t-0 {margin-top:0;}
.m-r-0 {margin-right:0;}
.m-b-0 {margin-bottom:0;}
.m-l-0 {margin-left:0;}
.m-a-03 {margin:0.3em;}
.m-x-03 {margin-left:0.3em;margin-right:0.3em;}
.m-y-03 {margin-top:0.3em;margin-bottom:0.3em;}
.m-t-03 {margin-top:0.3em;}
.m-r-03 {margin-right:0.3em;}
.m-b-03 {margin-bottom:0.3em;}
.m-l-03 {margin-left:0.3em;}
.m-a-05 {margin:0.5em;}
.m-x-05 {margin-left:0.5em;margin-right:0.5em;}
.m-y-05 {margin-top:0.5em;margin-bottom:0.5em;}
.m-t-05 {margin-top:0.5em;}
.m-r-05 {margin-right:0.5em;}
.m-b-05 {margin-bottom:0.5em;}
.m-l-05 {margin-left:0.5em;}
.m-a-1 {margin:1em;}
.m-x-1 {margin-left:1em;margin-right:1em;}
.m-y-1 {margin-top:1em;margin-bottom:1em;}
.m-t-1 {margin-top:1em;}
.m-r-1 {margin-right:1em;}
.m-b-1 {margin-bottom:1em;}
.m-l-1 {margin-left:1em;}
.m-a-15 {margin:1em;}
.m-x-15 {margin-left:1.5em;margin-right:1.5em;}
.m-y-15 {margin-top:1.5em;margin-bottom:1.5em;}
.m-t-15 {margin-top:1.5em;}
.m-r-15 {margin-right:1.5em;}
.m-b-15 {margin-bottom:1.5em;}
.m-l-15 {margin-left:1.5em;}
.m-a-2 {margin:2em;}
.m-x-2 {margin-left:2em;margin-right:2em;}
.m-y-2 {margin-top:2em;margin-bottom:2em;}
.m-t-2 {margin-top:2em;}
.m-r-2 {margin-right:2em;}
.m-b-2 {margin-bottom:2em;}
.m-l-2 {margin-left:2em;}
.m-a-25 {margin:2.5em;}
.m-x-25 {margin-left:2.5em;margin-right:2.5em;}
.m-y-25 {margin-top:2.5em;margin-bottom:2.5em;}
.m-t-25 {margin-top:2.5em;}
.m-r-25 {margin-right:2.5em;}
.m-b-25 {margin-bottom:2.5em;}
.m-l-25 {margin-left:2.5em;}
.m-a-3 {margin:3em;}
.m-x-3 {margin-left:3em;margin-right:3em;}
.m-y-3 {margin-top:3em;margin-bottom:3em;}
.m-t-3 {margin-top:3em;}
.m-r-3 {margin-right:3em;}
.m-b-3 {margin-bottom:3em;}
.m-l-3 {margin-left:3em;}

/* ==========================================================================
   GLOBAL
   ==========================================================================*/
body {font-size: 14px; color: #222;/*text-rendering: optimizeLegibility;*/}
body,h1,h2,h3,h4,h5,h6 {font-family: 'Open Sans', sans-serif}
.titles-header {padding-left: 3.675em !important;}
.main-title-header {color: #888;font-size: 3em;font-weight: 400;margin-top: 40px;}
.main-subtitle-header {color: #888;font-size: 1em;font-weight: 400;position: absolute;top: 135px;}
.documentFirstHeading {font-size: 3em;}
.hero h2.section-title {color: white; text-transform: uppercase; position: absolute; z-index: 10; margin: 0; padding: 0; width: 100%; font-size: 2.5em; font-weight: 500; left: 0; text-align: center; top: 50%; transform: translate(0, -50%); text-shadow: 0px 0px 6px black;}
[class^="ion"] {display: inline-block;line-height: 0;}
.section {position: relative}
.section .section-title {display: inline-block; font-weight: 400;margin-bottom:0}
.section .section-rss {font-size: 1.5em; color: #000; transition: .2s ease;vertical-align: baseline;margin-left: .5em;}
.section .section-link {color: black;border: 1px solid #444;padding: .4em 1em;position: absolute;right: 0;bottom: 0;}
.wrapper-breadcrumbs .separator {display: inline-block;height: 30px;width: 1px;background-color: #e1e1e1;vertical-align: sub;margin: 0 5px;}
.hero {position: relative; min-height: 20em;}
.wrapper-hero .hero { min-height: 0;}
.wrapper-breadcrumbs {background-color: #EFEFEF;color: #888;font-size: .9em;font-weight: 400;}
.wrapper-breadcrumbs a{color: #555; text-shadow: 0px 0px 0px #333;}
.wrapper-breadcrumbs a:hover {border-bottom: 1px solid #999;}
.wrapper-breadcrumbs .breadcrumbs-separator {margin: 0 .5em;}
.wrapper-breadcrumbs .prefix {margin-right: .25em; color: #555; text-shadow: 0px 0px 0px #333;}
/* .bottom-section {margin-top: 2rem;} */
.read-more {color: #555}
.categories .title {font-size: 1.1em;}
body.template-search fieldset#search-field{text-align:left;margin-bottom:1rem}
body.template-search fieldset#search-field input[type="submit"]{margin:0;padding:0}
body.template-search #search-filter .field{padding:1em 0 1.5em 1em}
input[type="submit"],
.btn,
.button,
button {background-color: #95c0fa; color: white; font-weight: 100; font-size: 1em; padding: 6px 14px; border: 0; transition: .35s; }
input[type="submit"]:hover,
.btn:hover,
.button:hover,
button:hover {background-color: #3e71b7;}
input[type="reset"] {background-color: #ddd; font-weight: 100; font-size: 1em; padding: 6px 14px; border: 0; transition: .35s; }
input[type="reset"]:hover {background-color: #ccc;}

/*cookie-bar*/
#cookie-bar {background-color: rgba(0, 0, 0, 0.8);}
#cookie-bar .cb-enable {background: #95c0fa !important;}
#cookie-bar .cb-enable:hover {background: #cd4c06 !important;}

/* ==========================================================================
   MENU
   ==========================================================================*/
dl.portlet {font-size: 1em;}
.navTree {margin: 0; font-size: 1em;}
.navTree a {color: #222;}
dl.portlet ul.navTreeLevel0 > .navTreeItem {border-bottom: 0.1em solid #ddd;padding-left: 0;}
dl.portlet ul.navTreeLevel0 .navTreeItem > a {padding: .25em 0;}
.menu-section-title {font-size: 1.25em; color: #999; font-weight: 100; padding-bottom: .25em; border-bottom: 3px solid #bbb; margin-bottom: .25em;}
.menu-section-title[data-type="Minisite"] {text-transform: uppercase; color:#95c0fa; font-weight: 600; font-size: 1.2em; border: 0;}
dl.portlet ul.navTree .navTreeCurrentItem {background: transparent; color:#95c0fa; border-color: transparent;}

/* ==========================================================================
   FOLDER LISTING
   ==========================================================================*/
#content-core > .list-item .item {border-bottom: 1px solid #ddd;margin-bottom: 1.5em;padding-bottom: 1.5em;}
#content-core > .list-item .item:last-child {border: none;}
#content-core > .list-item .item .title {font-size: 1.5em;}
#content-core > .list-item .item .link {color: #222;}
#content-core > .list-item .item .categories {color: #95c0fa;font-style: italic;}

/* ==========================================================================
   OFFCANVAS
   ==========================================================================*/
body[data-offcanvas="open"] {overflow: hidden;}
body[data-offcanvas="open"] .off-canvas-content {overflow: hidden;}
.off-canvas-button-wrap {display: initial;position: fixed; margin: 0;background: transparent; top: 0; right: 0;z-index: 9999999999;-moz-transition: transform .5s ease;-webkit-transition: transform .5s ease;transition: transform .5s ease;}
.off-canvas-button-wrap button,
.off-canvas-button-wrap button:hover,
.off-canvas-button-wrap button:focus {padding: 2px 10px;border-radius: 2px;margin: 5px;background-color:rgb(149, 192, 250);border:none;top: 0.5em;left: 0.5em;/*opacity: .8;*/}
.off-canvas-button-wrap button #sandwich {color: white;font-size: 1.7rem;}
.off-canvas-button-wrap button #sandwich.ion-navicon-round:before {display: block;margin: 3px 0px;}
.is-drilldown-submenu-parent>a:after {border-color: transparent transparent transparent #3e71b7;}
.js-drilldown-back>a:before {border-color: transparent #3e71b7 transparent transparent;}
.is-drilldown-submenu {-webkit-transition: transform .33s ease;-moz-transition: transform .33s ease;transition: transform .33s ease;}
.off-canvas-button-wrap.is-open-left {-webkit-transform: translateX(-250px);-moz-transform: translateX(-250px);transform: translateX(-250px);}
.off-canvas .vertical.submenu {display: initial;}
#offCanvas ul.vertical.menu {height: 100vh;background-color: rgb(149, 192, 250);}
#offCanvas,
#offCanvas .is-drilldown {height: 100%;}
.off-canvas {}
.vertical.menu a {text-align: left;color:#fff;}
.off-canvas-content {min-height: 100vh;}
#sandwich.ion-close-round {padding: 3px 0px;}
/* .is-drilldown-submenu.is-active {
    transform: translateX(0%);
}
.is-drilldown-submenu.is-closing {
    transform: translateX(100%);
} */

.dropdown.menu>li.is-dropdown-submenu-parent>a:after {right: 0px !important;}
.dropdown.submenu.is-dropdown-submenu.first-sub.vertical{background-color: #95c0fa; border:none; border-radius:5px;padding-left: 5px;}
.link-subitem{color:white;}


/* ==========================================================================
   SLIDER
   ==========================================================================*/
.wrapper-slider {position: relative;}
.wrapper-slider .item-slider .slide .wrapper-content {position: relative;}
.wrapper-slider .item-slider .slide .wrapper-content .wrapper-bg {position: absolute;left: 0;top: 0;bottom: 0;right: 0;width: 100%;height: 100%;}
.wrapper-slider .item-slider .slide .wrapper-content .wrapper-info {position: absolute;transform: translate(0,-50%);top: 50%;color: white;width: 100%; background-color: transparent; text-align: center;}
.wrapper-slider .item-slider .slide .wrapper-content .wrapper-info .row {margin: 0 auto;}
.wrapper-slider .item-slider .slide .wrapper-content .wrapper-info .title {text-transform: uppercase; font-size: 3.5em; font-weight: 600; text-shadow: 0px 0px 4px #000;}
.wrapper-slider .item-slider .slide .wrapper-content .wrapper-info .sub-title {font-size: 2.5em; text-shadow: 0px 0px 4px #000;font-weight: 300;}
.wrapper-slider .item-slider .slide .wrapper-content .wrapper-info .link {box-shadow: 0px 0px 0px #000;color: white;background-color: #95c0fa;font-weight: 100;padding: 8px 32px;display: inline-block;margin-top: 12px;transition: .35s ease}
.wrapper-slider .item-slider .slide .wrapper-content .wrapper-info .link:hover {transform: translate(0, -2px);     box-shadow: 0px 2px 2px #000;}
.wrapper-slider .bx-controls {left: 0;top: 0;bottom: 0;right: 0;width: 100%;height: 100%;}
.wrapper-slider .bx-controls .bx-pager {position: absolute;bottom: 0;left: 0;right: 0;width: 100%;text-align: center;}
.wrapper-slider .bx-controls .bx-pager .bx-pager-item {line-height: 0; display: inline-block;}
.wrapper-slider .bx-controls .bx-pager .bx-pager-item .bx-pager-link {display: inline-block; width: 11px; height: 11px; background-color: white; border-radius: 50%; text-indent: -9999999999999999999999px; line-height: 0px; margin: 0px 4px 20px;}
.wrapper-slider .bx-controls .bx-pager .bx-pager-item .bx-pager-link.active {background-color:#95c0fa;}
.wrapper-slider .bx-controls .bx-controls-direction {position: absolute; top: 50%; left: 0; right: 0; width: 100%; transform: translate(0, -50%);}
.wrapper-slider .bx-controls .bx-controls-direction [class^="bx"] {position: absolute; top:0;transform: translateY(-50%);}
.wrapper-slider .bx-controls .bx-controls-direction [class^="bx"]:before {color: white; font-size: 3em; display: inline-block; font-family: "Ionicons"; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none;line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;}
.wrapper-slider .bx-controls .bx-controls-direction .bx-prev {left: 25px;}
.wrapper-slider .bx-controls .bx-controls-direction .bx-prev:before {content:"\f124"}
.wrapper-slider .bx-controls .bx-controls-direction .bx-next {right: 25px;}
.wrapper-slider .bx-controls .bx-controls-direction .bx-next:before {content:"\f125"}
.row.expanded-custom{max-width: 1350px;}

/* ==========================================================================
   twitter-feed
   ==========================================================================*/
.twitter-bar {background-color: #f1f1f1;}
#twitter-feed {min-height: 5em;position: relative;margin:1.5em 0;padding:0 8em 0 6em;background: url("++resource++plonetheme.escolesbressol.images/twitter-feed-img.png") no-repeat scroll left center transparent;}
#twitter-feed ul {margin:0;}
#twitter-feed img,
#twitter-feed .timePosted {display: none;}
#twitter-feed .user {font-size:1.2em;}
#twitter-feed .user a {color:#222 !important;}
#twitter-feed .tweet {font-size:1.2em;color:#444;font-weight: 300;margin-bottom: 0;}
#twitter-feed .bx-controls .bx-controls-direction {position: absolute;right: 0;top:50%;transform: translate(0, -50%);}
#twitter-feed .bx-controls .bx-controls-direction [class^="bx"] {height: 4em;overflow: hidden;position: absolute;top: 0;transform: translateY(-50%);}
#twitter-feed .bx-controls .bx-controls-direction [class^="bx"]:before {color: #d0d0d0; font-size: 4em; display: inline-block; font-family: "Ionicons"; speak: none; font-style: normal; font-weight: normal; font-variant: normal; text-transform: none; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;}
#twitter-feed .bx-controls .bx-controls-direction .bx-prev {right: 75px;}
#twitter-feed .bx-controls .bx-controls-direction .bx-prev:before {content:"\f3d2"}
#twitter-feed .bx-controls .bx-controls-direction .bx-next {right: 25px;}
#twitter-feed .bx-controls .bx-controls-direction .bx-next:before {content:"\f3d3"}
/*#twitter-feed .bx-wrapper .bx-pager {background-color: transparent;bottom: -20px;}
#twitter-feed .bx-wrapper .bx-pager a {background: #ddd none repeat scroll 0 0;}
#twitter-feed .bx-wrapper .bx-pager a:hover,
#twitter-feed .bx-wrapper .bx-pager a.active {background: #888 none repeat scroll 0 0;}*/


/* ==========================================================================
   TOP BAR
   ==========================================================================*/
#portal-top .la-paeria {margin-top: 27px;}
.wrapper-menu { background-color: #95C0FA;position: relative;z-index: 1;}
.wrapper-menu .menu {display: flex; flex-flow: row nowrap; justify-content: space-between;}
.wrapper-menu .menu .menu-item .link-item {color: white;text-transform: uppercase;font-weight: 100;font-size: 1.25em;text-align: center;padding:1rem;}
.wrapper-menu .menu .menu-item {position: relative;}
.wrapper-menu .menu .menu-item.active {background-color: transparent;}
.wrapper-menu .menu .menu-item.active a {background-color: transparent;}
.wrapper-menu .menu .menu-item.active:after,
.wrapper-menu .menu .menu-item:hover:after,
.wrapper-menu .menu .menu-item.active:hover:after {content:"";position: absolute;background-color:#3e71b7;height:5px;bottom:0;left:0;right:0;}
.wrapper-menu .menu .menu-item {transition: .2s ease;}
.wrapper-menu .menu .menu-item.search,
.wrapper-menu .menu .menu-item.search:hover:after {background-color:transparent;}
/*.wrapper-menu .menu .menu-item:hover,
.wrapper-menu .menu .menu-item.active:hover {background-color: rgba(0,0,0,.33);}*/
.is-sticky {z-index: 99; position: relative;}

/* ==========================================================================
   NEWS
   ==========================================================================*/
.item-new .bg {min-height: 126px !important; height: 100%;}
.item-new > .columns {margin-top: .9375rem; margin-bottom: .9375rem}
.item-new .title {margin-bottom: 4px;color: #222;}
.item-new .categories {font-style: italic; color: #95c0fa;}
.item-new .preview {font-size: 1em;margin-top: 10px;}
.item-new .link {background-color: #f1f1f1;display: inline-block;width: 100%;}
.item-new.large .text {padding: 1em}
.item-new.short .link {overflow: hidden;}
.item-new.short .link .row {display: -webkit-box;display: -ms-flexbox;display: flex;-ms-flex-wrap: wrap;flex-wrap: wrap;}
.item-new.short .text {padding: 1em 1em 1em 0;}

.template-minisite_view .item-new .link {background-color: white}
/* ==========================================================================
   BANNERS
   ==========================================================================*/
.wrapper-banners > .row.small-up-3 {display: -webkit-box;display: -ms-flexbox;display: flex;-webkit-box-align: center;-ms-flex-align: center;align-items: center;}

/* ==========================================================================
   LLEIDA BRAND
   ==========================================================================*/
.wrapper-lleidabrand {background: url("++resource++plonetheme.escolesbressol.images/bg-lleidabrand.jpg") no-repeat center center transparent;background-size: cover;height:215px;position: relative;}
.wrapper-lleidabrand .border-lleidabrand {background: url("++resource++plonetheme.escolesbressol.images/border-lleidabrand.jpg") repeat-x 0 bottom transparent;height: 100%;}
.wrapper-lleidabrand .border-lleidabrand .logo-lleidabrand {position:absolute;bottom: 13px;left:0px;}

/* ==========================================================================
   FOOTER
   ==========================================================================*/
.wrapper-footer {background-color:#68a9ff;color: white;}
.wrapper-footer a {color: white;}
.wrapper-footer a:hover {text-decoration: underline;}
.wrapper-footer .bottom-links {margin-top: -20px;}
.wrapper-footer .bottom-links li {margin: 0;display: inline-block;}
.wrapper-footer .bottom-links li:not(:last-child):after {margin: 0 2px 0 5px;content: "•";display: inline-block;}
.wrapper-footer .separator-left {border-left: 1px solid rgba(255, 255, 255, 0.2);}

/* ==========================================================================
   DOCUMENT VIEW
   ==========================================================================*/
#content .documentDescription,
#content #description {line-height: 1.5em;margin-bottom: 1em;}

/* ==========================================================================
   EVENTS
   ==========================================================================*/

.wrapper-events .events .event:not(:last-child) {display: block; margin-bottom: 2em;}
.wrapper-events .events .event .wrapper-bg {position: relative;}
.wrapper-events .events .event .wrapper-bg .bg {height: 160px;}
.wrapper-events .events .event .wrapper-bg .black-glass {opacity: .6;}
.wrapper-events .events .event .wrapper-bg .info {position: absolute;left: 0;top: 0;right: 0;bottom: 0;}
.wrapper-events .events .event .wrapper-bg .date {border: 0; box-shadow: none; color: #f87229; text-align: left; font-weight: 600; font-size: 1.5em; padding: .5em;}
.wrapper-events .events .event .wrapper-bg .categories {padding: 0 1em; color: white; font-style: italic; font-weight: 100;}
.wrapper-events .events .event .wrapper-bg .read-more {color: white; position: absolute; bottom: 0; left: 0; margin: 1em; font-weight: 100;}
.wrapper-events .events .event .title {color: #222; margin: .5em 0;}
.wrapper-events .events .event .preview {color: #777;margin-bottom: 0 !important;}

.template-minisite_view .item-event{background-color: white; margin-bottom: 30px;}
.item-event{background-color: #f1f1f1; margin-bottom: 30px;}

/* ==========================================================================
   CALENDAR
   ==========================================================================*/
.wrapper-calendar .month-name {display: inline-block; font-size: 1.5em; font-weight: 100; color: #333;}
.wrapper-calendar .year {display: inline-block; font-size: 1.5em; font-weight: 100; color: #333;}
.wrapper-calendar .controls .prev-month,
.wrapper-calendar .controls .next-month {cursor: pointer; color: #333; display: inline-block; border: 2px solid #333; width: 32px; height: 32px; border-radius: 50%; font-size: 2em; text-align: center; line-height: 0;}
.wrapper-calendar .controls {text-align: right;}
.wrapper-calendar .week,
.wrapper-calendar .week-names {width: 100%;margin: 0; padding: 0; background-color: transparent; display: table; }
.wrapper-calendar .week-names .day { display: inline-block; text-transform: uppercase; font-size: .85em; text-align: center; font-weight: 400;width: 13.5%; padding: 1em 0 .5em;}
.wrapper-calendar .week .day { border: 1px #333; border-style: solid hidden hidden solid; float: left; display: inline-block; width: 14.28571428571429%; padding-bottom: 14.28571428571429%; position: relative; line-height: 0;}
.wrapper-calendar .week .day .number {line-height: 1em; position: absolute; right: 0; top: 0; margin: 5px; font-size: 1.25em; font-weight: 100;}
.wrapper-calendar .week ~ .week .day {border-style: solid hidden hidden solid;}
.wrapper-calendar .week:last-child .day {border-bottom: 1px solid #333;}
.wrapper-calendar .week .day:last-child {border-right: 1px solid #333;}
.wrapper-calendar .week .day.is-current-day {background-color: #f87229;}
.wrapper-calendar .week .day.has-events {background-color: #C6C6C6;cursor: pointer;}
.wrapper-calendar .week .day.has-events.is-current-day {
    background: rgba(198,198,198,1);
    /*background: -moz-linear-gradient(top, rgba(198,198,198,1) 0%, rgba(198,198,198,1) 50%, rgba(197,27,55,1) 50%, rgba(197,27,55,1) 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(198,198,198,1)), color-stop(50%, rgba(198,198,198,1)), color-stop(50%, rgba(197,27,55,1)), color-stop(100%, rgba(197,27,55,1)));
    background: -webkit-linear-gradient(top, rgba(198,198,198,1) 0%, rgba(198,198,198,1) 50%, rgba(197,27,55,1) 50%, rgba(197,27,55,1) 100%);
    background: -o-linear-gradient(top, rgba(198,198,198,1) 0%, rgba(198,198,198,1) 50%, rgba(197,27,55,1) 50%, rgba(197,27,55,1) 100%);
    background: -ms-linear-gradient(top, rgba(198,198,198,1) 0%, rgba(198,198,198,1) 50%, rgba(197,27,55,1) 50%, rgba(197,27,55,1) 100%);
    background: linear-gradient(to bottom, rgba(198,198,198,1) 0%, rgba(198,198,198,1) 50%, rgba(197,27,55,1) 50%, rgba(197,27,55,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c6c6c6', endColorstr='#c51b37', GradientType=0 );*/
}

/* ==========================================================================
   PARCEL·LES
   ==========================================================================*/
.caixa-news { position: relative; margin: 0; border-radius: 0; box-shadow: none; padding: 0; background: none; border: 1px solid #D5D5D5; padding: 4px; }
.fon-caixa { padding: 9px; color: #333; background: #e7e7e7;}
.but-news { color: #ae130c; font-size: 16px; font-weight: 600;}
.bord-caixa { margin-bottom: 13px;}

/* ==========================================================================
   ESCOLA BRESSOL
   ==========================================================================*/
.wrapper-info {background-color: #EFEFEF;}
.wrapper-title {position: absolute; left: 0; top: 0; right: 0; z-index: 900; background-color: rgba(0, 0, 0, 0.33); width: 100%;}
h2.page-title {color: white; font-size: 2em; font-weight: 600; text-shadow: 0px 0px 2px black; margin: 0; padding: .5em 0;}
.template-minisite .item-new.short .text {padding: 1em;}
.template-minisite .item-new .bg {height: 150px}
.template-minisite .wrapper-events {background: transparent;}
.template-minisite .wrapper-events .events .event .wrapper-bg .bg {height: 110px;}
.template-minisite .wrapper-events .events .event .title {margin-top: 0;}

.dades {margin-left: 0; background: #c6ddfc; margin-top: 18px;}
.dades li {padding: 10px;border-bottom: 1px solid #f6faff;}
.dades li:last-child{border-bottom: none;}
.label_info{font-weight: bold; display: inline-block; width:190px;}
.banner-minisite img{width: 100%;margin: 10px 0;background: #95c0fa;}
#llistat-escoles,#projecte-educatiu,#menus-menjador,#projectes-centre,#experiencies,#videos,#presentacio{float:left;} 
.portletCalendar table tbody tr:nth-child(even) { background-color: transparent;}

/* ==========================================================================
   RELATED ITEMS
   ==========================================================================*/
.related-items .link {color: #444;}
#content .related-items ul {list-style: none;padding:0;margin:0;}
#content .related-items li { padding-left: 1em; text-indent: -.7em;}
#content .related-items li:before {color: #797878;font-size: 1.1em;vertical-align: text-bottom;content: "\25CF";margin-right: 2px;}
.related-items .gallery .gallery-item {display: inline-block; width: 25%; padding-bottom: 20%; position: relative; float: left;}
.related-items .gallery .gallery-item .bg {position: absolute; left: 0; top: 0; right: 0; bottom: 0;}
.related-items .gallery .gallery-item .black-glass {transition: .35s}
.related-items .gallery .gallery-item:hover .black-glass {opacity: 0;}
.related-items .title {position: relative; font-size: 1.5em; color: #333;margin-bottom: .75em;padding-bottom:.25em;}
.related-items .title:after {content: ""; position: absolute; left: 0; top: 100%; height: 3px; width: 75px; background-color: #bbb;}

/* ==========================================================================
   DOCUMENT ACTIONS
   ==========================================================================*/
.wrapper-document-actions {margin-top: 2em; border-top: 1px solid #ccc; padding: 1em 0;}
.wrapper-document-actions .action {display: inline-block; margin-right: 10px; color: #222;}
.wrapper-document-actions .action .icon {vertical-align: middle;display: inline-block; font-size: 1.5em; border: 1px solid #444; width: 32px; height: 32px; position: relative; text-align: center; border-radius: 50%;}
.wrapper-document-actions .action .desc,
.wrapper-document-actions .share .desc {display: inline-block;font-weight: 600;}
.wrapper-document-actions .share .desc {margin-right: 10px;}
.wrapper-document-actions .share .share-icons {display: inline-block;vertical-align: middle;}
.img-preview {margin: 0 0 1em 1em;}
.date-range {margin: 0 0 1em 1em;background-color: #eee;padding: 1em;}
.date-range .title {font-weight: bold}
.date-range .fecha {margin-left: .5em;}
.date-range .start {margin-bottom: .5rem;}

/* ==========================================================================
   LLISTAT ESCOLES
   ==========================================================================*/
#gmap-dropdown{height: 625px;padding:0;}
.h2_listing_escola{margin-top: 1em;}
.listing_escola_section {padding: 10px 25px;}
.listing_escola {padding: 5px 0;}
.listing_escola a {color:#64a3f8 !important;}

.map-container{background-color: #efefef;margin-bottom: 10px;}

/* ==========================================================================
   LLISTAT Videos
   ==========================================================================*/
.listing_videos {margin-bottom: 200px;}
.listing_videos .video-item {background: #efefef; padding: 10px;margin: 10px 0;}
.listing_videos .videos-item img {width: 450px;height: 220px;}
.listing_videos .video-info {padding: 10px 0; color: black; height:150px;}
.listing_videos .video-info .video-title {font-weight: 600;}
.listing_videos .video-info .video-description {padding-top: 10px;}
/* ==========================================================================
   MEDIA QUERIES
   ==========================================================================*/

/* Small only */
@media screen and (max-width: 39.9375em) {

  /*others*/
  .related-items .gallery .gallery-item {width: 50%;padding-bottom: 50%;}
  .wrapper-footer * {text-align: center;}
  .bottom-links {margin-top: 2rem;}
  .img-preview {margin: 0 0 1em 0;}
  .xl-line {padding: 2em 0;}
  .documentFirstHeading {font-size: 2em;}

  /*portal-top*/
  #portal-top h1.main-title-header {padding: 0; text-align:center;font-size: 2em;}
  #portal-top .titles-header{margin: 10px 0;}
  /* .wrapper-slider .item-slider .slide .wrapper-content {height: 321px;} */
  .wrapper-slider .item-slider .slide .wrapper-content .wrapper-info .title {font-size: 2.2em;}
  .wrapper-slider .item-slider .slide .wrapper-content .wrapper-info .sub-title {font-size: 1.5em;}
  .wrapper-slider .bx-controls .bx-controls-direction {top: 90%;}

  /*agenda*/
  .wrapper-calendar .week-names .day {font-size: .5em;width: 14.2%;}
  .wrapper-calendar {margin-bottom: 2rem;}

  /*twitter-feed*/
  #twitter-feed {background-position: left 0;background-size: 50px auto;padding: 5em 0 0;}
  #twitter-feed .bx-controls .bx-controls-direction {top:2em;}
  #twitter-feed .bx-controls .bx-controls-direction .bx-prev {right: 50px;}
  #twitter-feed .bx-controls .bx-controls-direction .bx-next {right: 0px;}

  /*item-new*/
  .item-new.short .link {}
  .item-new.short .text {padding: .6em 1em;}

  /*document-actions*/
  .wrapper-document-actions .action {display:block;margin: 0 0 10px 0;}
  .wrapper-document-actions .share .desc {margin: 0 0 10px 0;display: block;} 

  /*lleidabrand*/
  .wrapper-lleidabrand {height: 105px;}
  .wrapper-lleidabrand .border-lleidabrand .logo-lleidabrand {max-width: 12em;}
  
  /*footer*/
  .wrapper-footer img {margin-bottom: 2em;}
  .wrapper-footer .separator-left {border-left: 0px;}
  .social-links {float: none !important;margin-left: 0;margin-top: 2em;}
  #bottom-links{float:none !important;}

  /*escola-bressol*/
  .label_info{width: 115px;}

  .wrapper-slider .bx-controls .bx-controls-direction .bx-next, .wrapper-slider .bx-controls .bx-controls-direction .bx-prev {display:none;}
  .titles-header {padding-left:0em !important;}

  /*listing-videos*/
  .listing_videos .video-info {text-align: center;}

  .main-subtitle-header{position:initial; top:initial;}
}

/* Medium and up */
@media screen and (min-width: 40em) {}
/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {
	.label_info{width: 99px;}
  .main-subtitle-header{position:initial; top:initial;}
}

/* Large and up */
@media screen and (min-width: 64em) {}
/* Large only */
@media screen and (min-width: 64em) and (max-width: 74.9375em) {}







