/* Stylesheet for the 'Plone THEME Ajuntament de Sant Adria' Plone theme */

/*GENERALS*/
body{color: #444444;cursor: default;font-family: 'Lato',Arial,sans-serif;font-style: normal;font-weight: normal;line-height: 1;margin:0;padding:0;height:100%;}
h1,h2,h3,h4,h4,h6{font-weight:600;font-family: 'Lato',Arial,sans-serif;color:#0466b1;text-transform:none;margin-bottom: 0.8rem;}
h1 a:hover,h2 a:hover,h3 a:hover,h4 a:hover,h5 a:hover,h6 a:hover{color:#033f6e !important;}
h2 {font-size: 1.6875rem;}
button, input, optgroup, select, textarea{font-size:.9rem;}
a{color:#242021;}
a:hover{color:#0466B1;}
.bgimage {display: block;background-size: 100% auto;background-repeat: no-repeat;background-position: center center;width: 100%;}
span.bgimage {display:block !important;}
.documentByLine {font-size: 0.8rem;color:#666666;margin:1rem 0;display:block;}
abbr[title] {border-bottom: medium none;}
table p{margin:0;}
ul, ol, dl {font-size: 0.8rem;}
p {font-size: 0.9rem;}
.smallLine {margin-bottom:2em;}
#portal-personaltools {position:absolute;}
#portal-personaltools ul{margin:0;}

/*text-align*/
.alignleft {text-align: left;}
.alignright {text-align: right;}
.aligncenter {text-align: center;}

/*position bottom fotter*/
#portal-wrapper {min-height:100%;position:relative;}
#portal-body {padding:2rem 0 250px;}
#portal-footer {position:absolute;bottom:0;width:100%;}

/*button*/
div.formControls {margin: 1em 0;}
button,
.button,
.formControls input.context {background-color: #0466b1;border-color: transparent;border-radius: 0;border-style: none;border-width: 0;box-shadow: none;color: #fff;cursor: pointer;font-family: inherit;line-height: normal;margin: 0.5em auto !important;padding: 0.8em !important;position: relative;text-align: center;text-decoration: none;}
button:hover,
button:focus,
.button:hover,
.button:focus,
.formControls input.context:hover {background-color: #033f6e;border:none;color: #fff;}

/*LOGIN_FORM ////////////////*/
body.template-logged_out #content,
body.template-login_form #content,
body.template-login_failed #content,
.pb-ajax #login-form {text-align: center;}
.template-login_form #login_form,
.template-login_failed #login_form {margin:2em 0;}
.template-login_form #login_form input,
.template-login_failed #login_form input {width:300px;display: inline-block;}
.template-login_form #login_form input.context,
.template-login_failed #login_form input.context {padding: 0.2em;width: auto;}
#fieldset-openid-login input, #login-form input {font-size: 100%;} 

/*CAP*/
#portal-header{background-position:center center;background-size: cover;display: block;width: 100%;height:300px;background-repeat:no-repeat;}
#portal-header.background-image{background-position:center center;background-size:cover;display: block;width: 100%;height:600px;background-repeat:no-repeat;}
#portal-header #top{background-color:#0466b1;padding: 0.4rem 0;}
#portal-header #portal-searchbox {margin-right: 0.4rem;margin-top: 0.3rem;}
#portal-header #portal-searchbox form{float:right;margin:0;background:#ffffff;}
#portal-header #portal-searchbox form #searchGadget{padding-left: 0.4rem;box-shadow:none;width:80%;background:none;border:none;height: 1.8rem;margin:0;float:left;}
#portal-header #portal-searchbox form .searchButton{border:none;background:url(++resource++plonetheme.ajstadria.images/lupa.png) no-repeat scroll 60% 50% transparent;width:20%;height: 1.8rem;margin:0;}
#portal-header #weather{float:right;margin-right:1rem;color:#FFFFFF;font-size:1rem;}
#portal-header #portal-globalnav{background: none repeat scroll 0 0 #6c6f70;top:0;}
/*.top-bar {height: auto;}*/
.top-bar {height: 35px;}
.top-bar.expanded .title-area {background: none repeat scroll 0 0 #6C6F70;}
.top-bar.expanded .toggle-topbar a {color: #fff;}
.top-bar.expanded .toggle-topbar a span:after {box-shadow: 0 0 0 1px #fff, 0 7px 0 1px #fff, 0 14px 0 1px #fff;}
.top-bar .toggle-topbar.menu-icon:hover {border-bottom:none !important;}
.top-bar-section ul li > a {font-family: 'Lato',Arial,sans-serif;}
.top-bar .name h1 {min-height: 2.6em;}
.top-bar .name h1 a {display:none;}
#portal-header #portal-globalnav ul li{background: transparent;border-bottom:3px solid #6C6F70;min-width: 113px;width: auto;}
.top-bar-section ul {text-align: center;display: block;}
.top-bar-section ul li{display: inline-block;float: none;}

.top-bar-section #portaltab-sant-adria-per-temes ul.dropdown {width: 800px;display: block;}
.top-bar-section #portaltab-sant-adria-per-temes ul.dropdown li {margin: 0 0.2em;}
.top-bar-section #portaltab-sant-adria-per-temes ul.dropdown li,
.top-bar-section #portaltab-sant-adria-per-temes ul.dropdown li a {min-width:250px !important;width: 250px !important;white-space: initial;}

#portal-header #portal-globalnav ul li > a {background: none repeat scroll 0 0 transparent;font-size: 0.95rem;line-height: 30px;padding-bottom: 1px;padding-top: 1px;}
#portal-header #portal-globalnav ul li.active,
#portal-header #portal-globalnav ul li:hover{border-bottom:3px solid #FFFFFF;}
#portal-header #portal-globalnav ul li a:hover{background:none;}
#portal-header #portal-globalnav .top-bar-section .has-dropdown > a:after{margin-top: -6.5px;}
#portal-header #portal-globalnav .top-bar-section .dropdown{text-align:left;background:#666666;}
#portal-header #portal-globalnav .top-bar-section .dropdown li {min-width: 100%;width: 100%;}
#portal-header #portal-globalnav .top-bar-section .dropdown li a{font-size: 0.8rem;line-height: 25px;}
#portal-header #portal-globalnav .top-bar-section .dropdown li a:hover{background: #ffffff;color:#6C6F70;}
#portal-header #portal-globalnav .top-bar-section .dropdown li h5 a{font-weight:bold;}
#portal-header #portal-globalnav .top-bar-section .dropdown li h5 a:hover{color:#6C6F70;}
#portal-header .top-bar .toggle-topbar{background:url(++resource++plonetheme.ajstadria.images/bgtitle.png) repeat-x top;}
#portal-header #headtitle {bottom: -124px;color: #ffffff;display: block;line-height: 5rem;position: relative;text-align: right;}
#portal-header #headtitle div{background:url(++resource++plonetheme.ajstadria.images/bgtitle.png) repeat-y top right;font-size:2.6rem;padding-right:20px;}

/*FORMS*/
.TTMapCollapsiblePanel {margin-top: 2em;}
.formHelp {color: #666;display: block;font-size: 0.9em;font-weight: normal;margin: 0 0 0.2em;}
#send_to_address,
#send_from_address{width:27em;}
label.formQuestion {margin-bottom:0.3em;}
.ArchetypesBooleanWidget label {font-weight: normal;font-size:0.9em;}

/*slidePortada*/
#slidePortada {display: block;position: absolute;top: 0;width: 100%;}
ul.slidePortada {margin: 0;}
.slidePortada .bgimage {background-position:center center;background-repeat:no-repeat;background-size:cover;display: block;width: 100%;height: 600px;max-width: 100%}
.slidePortada span.bgimage {display:block !important;}
.slidePortada .captionSlide {bottom: 1.5em;position: absolute;width: 100%;z-index: 200;color:#fff;}
.slidePortada .captionSlide .row {background-color: rgba(0, 0, 0, 0.7);margin: 0 auto;padding-bottom: 1em;max-width: 73.5em;}
.slidePortada .captionSlide .title {font-size: 1.8rem;line-height: 110%;padding: 1rem 0 0.3em;font-weight: 300;}
.slidePortada .captionSlide .description{font-size: 1rem;padding:0;}
.slidePortada .captionSlide a {margin-top: 1rem !important;}
#slidePortada .bx-wrapper .bx-prev {background: url("++resource++plonetheme.ajstadria.images/controlsSlide.png") no-repeat scroll 0 -32px rgba(0, 0, 0, 0);}
#slidePortada .bx-wrapper .bx-next {background: url("++resource++plonetheme.ajstadria.images/controlsSlide.png") no-repeat scroll -43px -32px rgba(0, 0, 0, 0);}

/*bannersTop*/
#bannersTop {background: url("++resource++plonetheme.ajstadria.images/bgbanners.png") repeat-x scroll center bottom #222222;display: block;padding: 1.5em 0;}
#bannersTop .items{margin:0px;}
#bannersTop .items a img{border:2px solid transparent;display: block !important;}
#bannersTop .items a:hover img,
#bannersTop .items a:focus img,
#bannersTop .items a.active img{border:2px solid #03518C;}
#bannersTop .bx-wrapper .bx-prev{left: -45px;}
#bannersTop .bx-wrapper .bx-next{right: -45px;}

/*highlights*/
#highlights {background-color: #f1f1f1;margin-bottom: 1em;padding: 2rem 0 1rem;}
#highlights ul.items{margin:0;}
#highlights ul.items li{float:left;margin-left:35px;margin-bottom: 15px;}
#highlights ul.items li:first-child{margin:0;}
#highlights ul.items li.banner-4,
#highlights ul.items li.banner-5,
#highlights ul.items li.banner-6 {position: absolute;right:0;}
#highlights ul.items li.banner-4 {top:0px;}
#highlights ul.items li.banner-5 {top:60px;}
#highlights ul.items li.banner-6 {top:120px;}

/*COS PORTADA*/
.template-portada_view #portal-body{padding: 2rem 0 199px;background-image:none;/*background-image:url(++resource++plonetheme.ajstadria.images/bgfront.png);background-size: 100% 15%;*/}
#portal-body #news .news-items .columns{margin-bottom:.8rem;}
#portal-body #news h2 .rss{float:right;}
#portal-body #news .image{margin-bottom:.5rem;display:block;}
#portal-body #news .image .bgimage{/*border-bottom:3px solid #0466b1;*/background-position: center center;background-repeat: no-repeat;background-size: 100% auto;display:block;max-height: 154px;min-height: 154px;width: 100%;}
#portal-body #news .title {display: block;font-weight: 400;margin-bottom: 0.3em;font-size:1.1em;}
#portal-body #news .date{font-size: 0.8rem;background-color:#0466b1;color:#FFFFFF;margin:.3rem 0;display:inline-block;padding:.2rem;border:none;box-shadow:none;text-align: left;width:auto;}
#portal-body #news .description{font-size: 0.9rem;color: #666666;margin-bottom:0;}
#portal-body #news-events{margin:1rem 0 .5rem;}
#portal-body #news-events .events-items,
#portal-body #news-events .news-items  {margin-top:0.5rem !important;}
#portal-body #news-events .more-items{border: medium none;bottom: -1rem;float: right;position: relative;font-size: 0.8rem;}
#portal-body #news-events .news .news-items .row{border-bottom:1px solid #cccccc;padding-bottom:.8rem;margin-bottom:.8rem;}
#portal-body #news-events .news .image{margin-right:.8rem;display:block;}
#portal-body #news-events .news .image .bgimage {background-position: center top;background-repeat: no-repeat;background-size: 100% auto;display:block;max-height: 94px;min-height: 94px;width: 100%;border: 1px solid #ddd;}
#portal-body #news-events .news .title{font-weight:400;display:block;font-size: 1rem;margin-bottom:0.3em;}
#portal-body #news-events .news .date{font-size: 0.8rem;background-color:#0466b1;color:#FFFFFF;margin:.3rem 0;display:inline-block;padding:.2rem;border:none;box-shadow:none;text-align: left;width:auto;}
#portal-body #news-events .news .description{font-size: 0.9rem;}
#portal-body #news-events .events .events-items .row{border-bottom:1px solid #cccccc;padding-bottom:.8rem;margin-bottom:.8rem;}
#portal-body #news-events .events .date{color:#0466b1;border-left:8px solid #0466b1;padding-left: 0;display:block;font-size: 0.9rem;border:none;box-shadow:none;text-align: left;width:auto;}
#portal-body #news-events .events .location {color: #666;display: block;font-size: 0.9rem;font-style: italic;margin: 0.3rem 0;}
#portal-body #news-events .events .title{display:block;font-size: 0.9rem;}
#portal-body #news-events .rss{margin-left:.3rem;}
#portal-body #news-events .mes{float:right;}
#portal-body #adrimedia {margin:2rem 0;}
#portal-body #adrimedia span{color:#0466b1;}
#portal-body #banners{background-color:#e5e5e5;margin-top:2rem;height:216px;padding-top:46px;}
#portal-body #banners ul.items{margin:0;}
#portal-body #banners .bx-wrapper .bx-prev{left: -45px;background: url(++resource++plonetheme.ajstadria.images/controls.png) no-repeat 0px 0px;}
#portal-body #banners .bx-wrapper .bx-next{right: -45px;background: url(++resource++plonetheme.ajstadria.images/controls.png) no-repeat -43px 0px;}
.imgLine {background-color:#0466B1;height:3px;width:60%;display:block;margin:0 auto;}

/*YTV*/
.ytv-canvas{display: block;background: #282828;overflow: hidden;font-family: arial, sans-serif;}
.ytv-canvas ::-webkit-scrollbar{border-left: 1px solid #000;width: 10px;}
.ytv-canvas ::-webkit-scrollbar-thumb{background: rgba(255,255,255,0.1);}
.ytv-video{height: 100%;}
.ytv-video iframe{width: 100%;height: 100%;border: none;outline: none;display: block;}
.ytv-list{height: 100%;}
.ytv-list-inner{overflow: auto;-webkit-overflow-scrolling: touch;height:86.5%;}
.ytv-list ul{margin: 0;	padding: 0;	list-style-type: none;}
.ytv-list .ytv-active a{border-left: 2px solid #fff;background: rgba(255,255,255,0.05);;}
.ytv-list a{display: block;text-decoration: none;font-size: 11px;color: #FEFEFE;padding: 10px;padding-left: 8px;border-top: 1px solid rgba(255,255,255,0.1);border-bottom: 1px solid rgba(0,0,0,0.5);border-left: 2px solid transparent;}
.ytv-list a b{max-height: 45px;overflow: hidden;display: block;text-overflow: ellipsis;}
.ytv-list li:first-child a{border-top: none;}
.ytv-list li:last-child a{ border-bottom: none;}
.ytv-list a:hover,
.ytv-list-header .ytv-playlists a:hover{background: rgba(255,255,255,0.05); }
.ytv-list a:active,
.ytv-list-header .ytv-playlists a:active{background: rgba(0,0,0,0.05);}	
.ytv-list .ytv-content{ padding-left: 125px; }
.ytv-list .ytv-thumb-stroke{position: absolute;top: 1px;left: 1px;bottom: 1px;right: 1px;z-index: 2;outline: 1px solid rgba(255,255,255,0.1);}
.ytv-list .ytv-thumb{float: left;position: relative;outline: 1px solid rgba(0,0,0,0.5);}
.ytv-list .ytv-thumb img{width: 120px;display: block;}
.ytv-list .ytv-thumb span{position: absolute;bottom: 5px;right: 5px;color: #eee;background: rgba(0,0,0,0.7);font-size: 11px;font-weight: bold;padding: 0px 4px;-webkit-border-radius: 3px;-moz-border-radius: 3px;border-radius: 3px;}
.ytv-views{display: block;margin-top: 5px;font-size: 10px;font-weight: normal;opacity: 0.3;color:#FFFFFF;}
.ytv-list-header{height: 52px;-webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);	-moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);}
.ytv-list-header a{background: rgba(255,255,255,0.05);position: relative;z-index: 10;}
.ytv-list-header img,	
.ytv-list .ytv-playlists .ytv-thumb img{width: 30px;vertical-align: middle;}
.ytv-list-header span{padding-left: 10px;font-size: 12px;font-weight: bold;}
.ytv-playlists{z-index: 9;background: #282828;top:52px;overflow: auto;display: none;}
.ytv-playlists img,.ytv-list-header img{float: left;}
.ytv-playlists a span,.ytv-list-header a span{white-space: nowrap;padding-left: 10px;display: block;overflow: hidden;text-overflow: ellipsis;}
.ytv-list-header > a span{line-height: 30px;}
.ytv-list-header .ytv-playlists a{background: none;}
.ytv-playlist-open .ytv-playlists{display: block;}
.ytv-relative{position: relative;width: 100%;height:27.5rem;}
.ytv-full{position: fixed;top: 0;left: 0;width: 100% !important;height: 100% !important;margin: 0 !important;}
.ytv-arrow {height: 10px;width: 0;position: relative;top: 10px;right: 5px;border: 10px solid transparent;float: right;border-top-color: rgba(0,0,0,0.4);display: none;}.ytv-has-playlists .ytv-arrow{	display: inline-block;	}.ytv-playlist-open .ytv-arrow{	border-color: transparent;	border-bottom-color: rgba(0,0,0,0.4);	top: -10px;	}
.ytv-list-header a:after,
.ytv-clear:after {content: ".";display: block;clear: both;visibility: hidden;line-height: 0;height: 0;}

/*COS*/
#portal-body{background:url(++resource++plonetheme.ajstadria.images/bgbody.png) repeat-x top;}
#portal-body .documentActions ul > li{float: left;list-style: outside none none;font-size: 0.8rem;margin: 0 0 0 0.575rem;}
#portal-body .documentActions ul{list-style: outside none none;color: #444444;margin: 0;}
#portal-body .documentActions li a {padding-left: 21px;}
#portal-body .documentActions li#document-action-rss {background: url(++resource++plonetheme.ajstadria.images/document-action-rss.png) no-repeat scroll 0 center rgba(0, 0, 0, 0);}
#portal-body .documentActions li#document-action-send {background: url(++resource++plonetheme.ajstadria.images/document-action-send.png) no-repeat scroll 0 center rgba(0, 0, 0, 0);}
#portal-body .documentActions li#document-action-print {background: url(++resource++plonetheme.ajstadria.images/document-action-print.png) no-repeat scroll 0 center rgba(0, 0, 0, 0);}
#portal-body #portal-breadcrumbs{background:none;border:none;border-bottom:1px solid #ddd;margin-bottom: 2rem;margin-left:0;padding-top:0;padding-left:0;border-radius:0;}
#portal-body .portletNavigationTree{border:none !important;}
#portal-body .portletNavigationTree .portletItem{padding:0 !important;}
#portal-body .portletNavigationTree .navTree{margin:0;font-size: 0.9rem;}
#portal-body .portletNavigationTree .navTree li{display:list-item;}
#portal-body .portletNavigationTree .navTree li a{color:#444444;font-size:.8rem;}
#portal-body .portletNavigationTree .navTree li a:hover{color:#0466b1;}
#portal-body .portletNavigationTree .navTreeLevel0 > .navTreeItem{border-bottom: 1px solid #dddddd;line-height: normal;padding:0;}
#portal-body .portletNavigationTree .navTreeLevel0 > .navTreeItem > a {padding:8px 0;}
#portal-body .portletNavigationTree .navTreeLevel1 > .navTreeItem {padding-top:0;padding-bottom:0;}
#portal-body .portletNavigationTree .navTreeLevel1 > .navTreeItem > a {padding:0;}
#portal-body .portletNavigationTree .navTreeLevel1 {background-color: #f1f1f1;padding:0.5em 0;}
#portal-body .portletNavigationTree .navTree a.navTreeItemInPath,
#portal-body .portletNavigationTree .navTree .navTreeCurrentItem{margin:0;border-bottom:2px solid #0466b1;background:none;color:#0466b1;border-left:none;font-weight:700;}
#portal-body .portletNavigationTree .navTree .navTreeItemInPath .navTreeCurrentItem{border:none;color:#0466b1;}
#portal-body #parent-fieldname-title{border-bottom:1px solid #e0e0e0;font-size: 2.4rem;font-weight:400;}
#portal-body #parent-fieldname-description{color:#444444;margin-bottom: 1rem;margin-top: .8rem;font-size:1.2rem;line-height:1.6rem;}
#portal-body .relatedItems{}
#portal-body .documentActions{margin: 2.5rem auto 1em;border-top:1px solid #dddddd;border-bottom:1px solid #dddddd;padding:.5rem 0 .2rem;}
#portal-body .documentActions .share {text-align: right}
body.template-summary_view .tileItem,
body.template-folder_summary_view .tileItem {border-bottom: 1px solid #ddd;padding-top: 1em;}
body.template-summary_view .tileItem:last-child,
body.template-folder_summary_view .tileItem:last-child {border: none;}
.relatedItems {background-color: #eee;margin-top: 2em;padding: 1em 1em 0.5em;}
.relatedItems #relatedItemBox dt{font-size:1.2em;margin-bottom:1em;}
.relatedItems #relatedItemBox dl dd {border-bottom: 1px solid #ddd;margin-bottom: 0.75rem;padding-bottom: 0.5em;}
#content table.invisible{border:none !important;}
#content table.invisible tr{background:none !important;}
/*ALCALDE*/
#portal-body #posts .row {border-bottom: 1px solid #ddd;margin-bottom: 1.6rem;padding-bottom: 1rem;}
#portal-body #posts .image{margin-right:.8rem;display:block;}
#portal-body #posts .image .bgimage {background-position: center top;background-repeat: no-repeat;background-size: cover;display: block;min-height: 90px;width: 100%;border:1px solid #ddd; }
#portal-body #posts .imagebig .bgimage{background-position: center top;background-repeat: no-repeat;background-size: 100% auto;display:block;max-height:300px;min-height:300px;width: 100%;}
#portal-body #posts a.title {color: #222;display: block;font-size: 1rem;font-weight: 400;margin-bottom: 0.7em;}
#portal-body #posts .date {background-color: #0466b1;color: #ffffff;display: inline-block;font-size: 0.8rem;margin: 0 0 0.3rem;padding: 0.1rem 0.2rem;border:none;box-shadow:none;text-align: left;width:auto;}
#portal-body #posts .description{font-size: 0.9rem;}
#portal-body #posts .text{color:#666666;}
/*alcalde_view*/
.template-alcalde_view .featuredBar{
	margin-bottom:2em;
	background: #f2f2f2; /* Old browsers */
	background: -moz-linear-gradient(top, #f2f2f2 0%, #e0e0e0 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f2f2f2), color-stop(100%,#e0e0e0)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top, #f2f2f2 0%,#e0e0e0 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top, #f2f2f2 0%,#e0e0e0 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top, #f2f2f2 0%,#e0e0e0 100%); /* IE10+ */
	background: linear-gradient(to bottom, #f2f2f2 0%,#e0e0e0 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f2f2f2', endColorstr='#e0e0e0',GradientType=0 ); /* IE6-9 */
}
#portal-body #posts .row.featured {border-bottom:6px solid #ddd !important;margin-bottom: 1.8rem;}
.template-alcalde_view #portal-body #posts .featured .imagebig .bgimage {max-height: 250px;min-height: 250px;}
.template-alcalde_view .featured .imagebig {display: block;margin-bottom: 0.8em;}
.template-alcalde_view .featured .imgLine {height: 6px;}
#portal-body #posts .featured .date {background-color: #0466b1;color: #ffffff;display: inline-block;font-size: 1rem;margin: 0 0 0.3rem;padding: 0.1rem 0.2rem;border:none;box-shadow:none;text-align: left;width:auto;}
#portal-body #posts .featured .description{font-size: 1rem;}
.template-alcalde_view .featured .titlefeatured {font-weight:400;}
.template-alcalde_view .featured .titlefeatured a {color:#222 !important;}
.contentText {padding:0em 1em;margin:1em 0;border-left:8px solid #0466b1;}
.contentText .title {color: #0466b1;font-size: 3.5em;font-weight: 300;margin-bottom: 0.4em;}
.contentText .parent-fieldname-description {margin-bottom:0.4em;color:#222;font-size:1.2em;}
.contentText p {color: #222;font-size: 1em;}
.contentImage {bottom: -7px;position: relative;right: 0;text-align: right;}
.template-alcalde_view #social .twitter {margin-bottom:1em;}
.template-alcalde_view #social .facebook a:hover {opacity: 0.8;}
.template-alcalde_view #multimedia .bgimage {height:60px;width:100%;}
.template-alcalde_view #multimedia .imatges ul{margin:0px;}
.template-alcalde_view #multimedia .imatges li a span,
.template-alcalde_view #multimedia .imatges li a{display:block;}
.template-alcalde_view #multimedia .videos{margin-top: 2em;}
.template-alcalde_view #multimedia .videos ul{margin:0px;}
.template-alcalde_view #multimedia .videos ul li span.th span{line-height:120%;}
.template-alcalde_view #multimedia .videos li a span,
.template-alcalde_view #multimedia .videos li a{display:block;}
.template-alcalde_view #historic li {display:block;} 

/* view atct_album_view  //////////////// */
.photoAlbumEntry a {display: block;height: auto;margin: 1px auto 0;text-decoration: none;}
body.template-atct_album_view ul#block-grid {}
body.template-atct_album_view ul#block-grid li {background: none repeat scroll 0 0 rgba(0, 0, 0, 0) !important;padding-bottom:0px;min-height: 14em;}
body.template-atct_album_view ul#block-grid li a .photoAlbumEntryWrapper {display : flex;width: 100%;height:150px;position:relative;}
body.template-atct_album_view ul#block-grid li a .photoAlbumEntryWrapper .more {background: url(++resource++plonetheme.ajstadria.images/more.png) no-repeat scroll 0 0 / 70px 70px rgba(0, 0, 0, 0);height: 70px; left:25%;position: absolute;top: 25%;width: 70px;}
body.template-atct_album_view ul#block-grid li a .photoAlbumEntryWrapper .bgimage {height: 142px;}
body.template-atct_album_view .body_text img {margin:0 !important;}
body.template-atct_album_view ul#block-grid li a,
body.template-atct_album_view ul#block-grid li a img {width: 100%;}
body.template-atct_album_view ul#block-grid .photoAlbumEntryTitle {width:100%;text-align: center;text-transform: none;font-weight: 300;height: auto;}
.th:hover, .th:focus {box-shadow: 0 0 3px 1px rgba(0, 0, 0, 0.5);}
body.template-atct_album_view .photoAlbumEntryTitle {color:#222;}

/*MAP*/
.TTMapContainer #TTMapWrap{border:none;}
.TTMapContainer #TTMapWrap .gm-style-iw{line-height:1.35;overflow:hidden !important;white-space:nowrap;}
.TTMapContainer #TTMapWrap .gm-style-iw p{margin-bottom:0;font-size:.8rem;}
.TTMapContainer #TTMapWrap .gm-style-iw ul {margin-bottom:0;margin-left:1rem;font-size:.8rem;}
.TTMapContainer #TTMapWrap .gm-style-iw b{font-size:120%;}
.TTMapContainer #TTMapCollapsiblePanels .TTMapCollapsiblePanelContent{border:none;padding:0;}
#goto_form .formControls {float: none;margin: 0;}
#goto_form .field input[type="text"] { width:54%;}
#goto_form div.formControls {margin:0;}
#goto_form div.formControls input {padding: .5em 0;float:right;top: -92px;display: block; }
#goto_form fieldset{border-top:none;margin-top:2em;padding:0;}
#goto_form fieldset legend{padding:0;font-size:100%;text-transform:uppercase;margin-bottom:1rem;font-weight:600;color:#0466b1;}
#g_directions{margin-bottom:2rem;}
.TTMapMarkerListTitle{display:block;}
.TTMapCategory{margin-top:.5rem;}
.TTMapDirLabel{min-width: 70px;}

/*GALERIA*/
.photoAlbumEntryWrapper .bgimage{height:120px;}

/*NEWSITEM_VIEW*/
#content div.newsImageContainer p.discreet{width:100%;}

/*EVENT_VIEW*/
#portal-body #content .eventDetails{margin:0 0 1rem 1rem;border:none;padding:0;}
#portal-body #content .eventDetails table{margin:0;}

/*ENQUESTES*/
.template-plonepopoll_view #content #content-core fieldset img{height:10px;}

/*PORTLETS*/
/*#portal-body dl.portlet{border-bottom:4px solid #0466b1;border-left:1px solid #dddddd;border-right:1px solid #dddddd;border-top:1px solid #dddddd;}*/
#portal-body .portletHeader{padding: 0 0.5rem;background:none;color:#444444;text-transform:uppercase;font-size: 1.4rem;font-weight: normal;line-height: normal;}
#portal-body .portletItem {padding: 0 0.5rem;margin-left:0px !important;}
#portal-body .portletFooter{padding: 0 0.5rem;}
#portal-body .portletPopoll img{height:10px;}
#portal-body .portletPopoll h5{display:none;}
#portal-body .portletPopoll label{margin:0;}
#portal-body .portletPopoll fieldset{margin:0;padding: 1.25rem 0.8rem 0.8rem;}
#portal-body .portletPopoll fieldset input{margin:0;}
#portal-body .portletPopoll fieldset div{margin-bottom:.5rem;}
#portal-body .portletPopoll .portletItem li{clear: both;display: block;}
#portal-body .portletPopoll form{margin:0;}
/*portletCalendar*/
#portal-body dl.portlet.portletCalendar .portletHeader {font-size: 1rem;}

/*template-agenda_view */
.nav-week {border-bottom: 4px solid #ddd;margin-top: 2.5em;padding-bottom: 1em;}
.nav-week .weektitle {color: #0466b1;}
.nav-week-link {font-size:0.8em;}
.tileItemAgendaTitle {border-bottom: 1px solid #ccc;font-size: 1.1rem;margin-bottom:16px;padding-bottom: 1em;}
.tileItemLlistat {color: #444444;margin-top: 25px;}
.tileItemLlistat:first-child {margin-top: 30px;}
.tileItemAgenda {line-height: 15px;margin-top: 10px;}
.eventAgendaDate {float: left;}
.eventAgendaDate img {vertical-align: bottom;}
.eventAgendaText {margin-left: 85px;}

/*FORM-SEARCH*/
.form-search label {font-size: 0.75rem;padding-bottom: 3px;}
form.searchPage input.searchPage,
.form-search input.textcercar {background: none repeat scroll 0 0 #fff;font-size: 0.8rem;}
form.searchPage #search-field {padding: 0;}
form.searchPage input.searchPage {float: left;font-size: 1rem !important;padding: 0 8px;width: 69%;}
form.searchPage input.searchButton {background-color: #0466b1;border-width: 0;color: #fff;cursor: pointer;display: inline-block;font-size: 1.2rem !important;padding: 6px;position: relative;text-align: center;text-decoration: none;text-transform: uppercase;transition: background-color 300ms ease-out 0s;width: 30%;}
form.searchPage input.searchButton:hover {background-color: #033f6e;}
#search-results-bar {text-align:center;border-bottom: 1px solid #ddd;border-top: 1px solid #ddd;float: left;line-height: 1.4rem;padding: 10px;position: relative;width: 100%;z-index: 1;}
#search-results-bar > span {display: block;float: none;margin-bottom: 0.5em;text-align: center;}
#search-results-bar .actionMenu,
#search-results-bar #searchResultsSort {float:none;display:inline-block;}
input[type="text"],
input[type="password"], 
input[type="date"], 
input[type="datetime"], 
input[type="datetime-local"], 
input[type="month"], 
input[type="week"], 
input[type="email"], 
input[type="number"], 
input[type="search"], 
input[type="tel"], 
input[type="time"], 
input[type="url"], 
textarea {
border: 1px solid #ccc;box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;box-sizing: border-box;color: rgba(0, 0, 0, 0.75);display: block;font-family: inherit;height: 2.3125rem;margin: 0 0 1rem;transition: box-shadow 0.45s ease 0s, border-color 0.45s ease-in-out 0s;}

/*LIVE SEARCH*/
.LSBox #LSResult{margin:0;top: 49px;z-index:20000;right:15px;}
.LSBox #LSResult fieldset{border:1px solid #dddddd;margin:0;padding:0;}
.LSBox #LSResult fieldset legend{display:none;}
.LSBox #LSResult .LSTable{margin:0;}
.LSRow:last-child{text-align:right;font-size:.8rem;}
.LSBox #LSResult .LSRow{width:17rem;}
.LSBox #LSResult #LSNothingFound{width:17rem;}

/*SANT ADRIA SOLUCIONA*/
.menuSoluciona {text-align: center;}
.menuSoluciona ul {margin-left:auto;}
.menuSoluciona li {border-right:1px solid #ddd;}
.menuSoluciona li:last-child {border:none;}
.menuSoluciona li a span#iconSoluciona {background-color: transparent;background-position: 0 0;background-repeat: no-repeat;display: block;height: 103px;margin: 0 auto 0.5em;width: 103px;}
.menuSoluciona li a:hover,
.menuSoluciona li a.current,
.menuSoluciona li a:hover span#iconSoluciona,
.menuSoluciona li a.current span#iconSoluciona {background-position: 0 bottom;color:#063458 !important;}
.menuSoluciona li a span.sant-adria-soluciona {background-image: url(++resource++plonetheme.ajstadria.images/soluciona.jpg);}
.menuSoluciona li a span.problemes-detectats {background-image: url(++resource++plonetheme.ajstadria.images/detectats.jpg);}
.menuSoluciona li a span.problemes-en-resolucio {background-image: url(++resource++plonetheme.ajstadria.images/resolucio.jpg);}
.menuSoluciona li a span.problemes-solucionats {background-image: url(++resource++plonetheme.ajstadria.images/solucionats.jpg);}
.menuSoluciona li a span.que-es {background-image: url(++resource++plonetheme.ajstadria.images/quees.jpg);}
.menuSoluciona li a span.titleSoluciona {font-size:1.3em;}
.contentSoluciona {padding:1em;border: 1px solid #ddd}
.contentSoluciona.estadistiques {margin-top:3em;border-radius:10px;}
.contentSoluciona #controls{height:392px;overflow-y:auto;}
.contentSoluciona #parent-fieldname-image{float:left;margin-bottom: 1.25rem;}
.contentSoluciona ul.circle{float:left;list-style-type: disc;margin-left:1em !important;}
.contentSoluciona ul.circle li{display:block;list-style-type: disc;}
.contentSoluciona .privat{clear:both;}
#piechart_3d {margin: 0 auto;}
body.template-soluciona_listing .documentFirstHeading {display:none;}

/*MINISITE*/
body.template-manage-portlets .bx-wrapper .bx-viewport{height:290px !important;}
body.template-minisite_view #portal-header {height:300px;}
body.template-minisite_view #portal-header #headtitle {bottom: -124px;}
#content-core .portletCalendar dd {margin: 0 0 1em 0;}
body.section-sant-adria-per-temes .portletNavigationTree .portletItem .navTree {padding:0.5em !important;background-color:#eeeeee;}
body.section-sant-adria-per-temes .portletNavigationTree .portletItem .navTreeLevel0 div a {padding: 8px 0;font-weight:bold;text-transform:uppercase;font-size:1.1rem !important}
body.template-minisite_view .aboutRegidoria .panel {background-color: #fff;}
body.template-minisite_view .titleabout h1 {border-left: 6px solid #0466b1;font-weight: 400;padding: 0 0.5em 0 0.2em;}
body.template-minisite_view .titleabout h3 {font-weight: 400;color:#444444;}
body.template-minisite_view .news-header h2 {margin-bottom:0;}
body.template-minisite_view .news-header h2 a {display:inline-block !important;color:#222 !important;}
body.template-minisite_view .news-header h2 .rss {float:none !important;margin: 0 0.3em;}
body.template-minisite_view .news-header .more-items a {color:#666 !important;}
body.template-minisite_view #portal-body #news-events .news .image { margin:0;}
body.template-minisite_view #news-events {margin-top:0 !important;}
body.template-minisite_view #news-events .image .bgimage {background-size: cover;}
body.template-minisite_view #news-events .news .news-items .row {border-bottom: 1px solid #cccccc;margin-bottom: 0.8rem;padding-bottom: 0.8rem;}
#portal-body dl.portlet.socialMinisite {border-color: transparent;}
.slideMinisite {display: block;position: absolute;top: 0;width: 100%;}
.slideMinisite ul {margin: 0;}
.slideMinisite .bgimage {height: 300px;}
.slideMinisite .bx-wrapper .bx-prev {background: url("++resource++plonetheme.ajstadria.images/controlsRegidoria.png") no-repeat scroll 0 -32px rgba(0, 0, 0, 0);}
.slideMinisite .bx-wrapper .bx-next {background: url("++resource++plonetheme.ajstadria.images/controlsRegidoria.png") no-repeat scroll -43px -32px rgba(0, 0, 0, 0);}
.slideMinisite .bgimage {background-position: center top, center center;background-repeat: repeat-x, no-repeat;background-size: auto auto, cover;display: block;width: 100%;}

/*PEU*/
#portal-footer{background:#231f20;color:#FFFFFF;padding: 2rem 0 0;}
#portal-footer a{color:#FFFFFF;}
#portal-footer a:hover{text-decoration:underline;}
#portal-footer #portal-emblem{}
#portal-footer #portal-emblem a img{border-bottom:3px solid #0466b1;margin-top: -0.6rem;}
#portal-footer #portal-siteactions ul{text-transform:uppercase;margin-left:1rem;}
#portal-footer #portal-siteactions ul > li{line-height: 100%;list-style: outside none none;margin-left: 0.5rem;padding-left: 0.5rem;border-left:1px solid #FFFFFF;}
#portal-footer #portal-siteactions ul li:first-child{border:none;}
#portal-footer #portal-siteactions .social a{margin-left:.5rem;}
#portal-footer #portal-colophon{margin-top: 1rem;}
#portal-footer #portal-colophon .address{}
#portal-footer #portal-colophon .accessibility{text-align:right;}

/*PLONE FOUNDATION FIXES*/
#edit-bar{font-size: 83%;min-height: 2.375em;padding-top: 0.2em;}
#edit-bar ul, #edit-bar ol, #edit-bar dl{font-size: 0.8rem;margin:0;padding:0;line-height: 2;}
#edit-bar ul li ul, #edit-bar ul li ol{font-size: 0.8rem;margin:0;padding:0;}
#listing-table th{float:none;width:auto;}
#listing-table td input{margin:0;}
#listing-table tr th, #listing-table tr td{font-size: 0.8rem;}
.portlet-action button, .portlet-action .button{padding:0;}
#portlets ul, #portlets ol, #portlets dl{font-size: 0.8rem;margin:0;padding:0;line-height: 2;}
#edit_form select,
.formPanel select{height:auto;width:auto;padding:0px;}
#edit_form textarea,
.formPanel textarea{height:auto;width:auto;}
#edit_form input,
.formPanel input{height:auto;}
#edit_form input[type="checkbox"],
.formPanel input[type="checkbox"], 
#edit_form input[type="radio"],
.formPanel input[type="radio"]{float:left;margin:.2rem .4rem 0 0;}
.formPanel .newTagsSection{margin-left:0px;}
.formPanel .newTagsSection label{width: 57%;}
.formPanel .newTagsSection .newTags{margin-left:1rem;}
.formPanel .fieldTextFormat{float:right;}
#edit_form label,
#edit_form .label,
.formPanel label,
.formPanel .label{white-space: normal;font-weight:bold;background:none;color: #4D4D4D;cursor: pointer;display: block;font-size: 0.875rem;margin-bottom: 0.5rem;padding:0;text-align:left;}
#atrbResults table tr th, #atrbResults table tr td{padding: 5px;line-height: 1rem !important;}
#atrbResults table tr td img{float:left; margin-bottom: 15px;margin-right: 2px;}
#search .field,
#search .field input{display:inline;margin:0px;}
#plonebrowser #searchtext{height: 28px;}
#gmap img,
#map img{max-width : none;}
input[type="checkbox"] + label, input[type="radio"] + label{display:inline;}
.field .widget .value{text-align:left;}
.field .widget .label{background:none;}
a.link-parent{line-height: 2rem;}
div.managePortletsLink, a.managePortletsFallback{margin-top:1rem;/*float: left;*/;position: relative;width:100%;}
.template-login_form #login_form {margin:2em 0;}
.template-login_form #login_form input {width:300px;display: inline-block;}
.template-login_form #login_form input.context {padding: 0.2em;width: auto;}
.calendar .button{margin:0 !important;padding:1px !important;color: #000000;display:block;}
.calendar .headrow .button{display: table-cell;}

/* ==========================================================================
   @media
   ==========================================================================*/

// Small screens
@media only screen { } /* Define mobile styles */
@media only screen and (max-width: 40em) {
    
    /*Sant Adria soluciona*/
	.menuSoluciona li {border:none;}

    /*position bottom fotter //////////////// */
    #portal-body {padding-bottom: 0 !important;}
    #portal-footer {position:relative;}

	/*portal-globalnav*/
	#portal-header #portal-globalnav {background-color: #6C6F70;top: 0;}
	#portal-header #portal-globalnav ul li.toggle-topbar > a {padding-top:0 !important;}
	.top-bar {height: 45px;z-index:10000;}
	.top-bar-section ul {text-align: inherit;display: inline;}
	.top-bar-section ul li{display: inline;}
	.top-bar-section ul li > a {color: #fff;display: block;font-weight: normal;text-transform: none;width: 100%;}

	/*portal-logo*/
	#portal-header #portal-emblem {border-bottom: 3px solid #0466b1;display: block;padding: 0.5em 0;text-align: center;width: 100%;}

	/*top*/
	#portal-header #portal-searchbox {margin-bottom: 0.5em;margin-right: 0.4rem;margin-top: 0.8em;width: 100%;}
	#portal-header #weather {color: #ffffff;float: none;font-size: 1rem;margin-left: 1em;margin-right: 0;}

	/*slidePortada*/
	#portal-header.background-image,
	.slidePortada .bgimage {height: 400px;}
	.slidePortada .captionSlide {padding:0 1em;bottom:0px;}
	.slidePortada .captionSlide .title {font-size: 1.4rem;}
	.slidePortada .captionSlide .description {display:none;}
	.slidePortada .captionSlide a {font-size: 1em;margin-top: 0.5rem !important;}
	.template-portada_view .ploneCalendar td {background-color: transparent;width: 14%;text-align: center;padding: 10px;}

	/*bx-slider*/
	#bannersTop .bx-wrapper .bx-prev {left: 0;background-color: rgba(0, 0, 0, 0.8);}
	#bannersTop .bx-wrapper .bx-next {right: 0;background-color: rgba(0, 0, 0, 0.8);}
	#portal-body #banners .bx-wrapper .bx-prev {background: url("++resource++plonetheme.ajstadria.images/controls.png") no-repeat scroll 0 0 rgba(255, 255, 255, 0.8);left: 0;}
	#portal-body #banners .bx-wrapper .bx-next {background: url("++resource++plonetheme.ajstadria.images/controls.png") no-repeat scroll -43px 0 rgba(255, 255, 255, 0.8);right: 0px;}

	/*highlights*/
	#highlights ul.items li {display: block;float: none;margin-bottom: 21px !important;margin-left: 0 !important;text-align: center;width: 100%;}
	#highlights ul.items {text-align: center;}
	#highlights ul.items li.banner-4,
	#highlights ul.items li.banner-5,
	#highlights ul.items li.banner-6 {display: inline-block;margin-left: 20px !important;position: inherit;right: auto;width: auto;}

	/*news-items*/
	.news-items .image {margin-bottom:1em;}

	/*portal-footer*/
	#portal-footer #portal-emblem{margin-bottom:1em;text-align: center;}
	#portal-footer #portal-siteactions ul {margin-left: 0;text-align: center;text-transform: uppercase;}
	#portal-siteactions ul li {display: inline-block;float: none;}
	#portal-colophon .accessibility,
	#portal-colophon .address,
	#portal-siteactions .social  {float: none !important;text-align: center !important;}

	/*portal-header*/
	#portal-header {height: auto;}
	#portal-header #headtitle {bottom: 0px;margin-top: 1em;}
	body.template-minisite_view #portal-header #headtitle {bottom: -89px;}
	body.template-minisite_view .bx-wrapper .bx-controls-direction a {top: 69%;}
	#portal-header.background-image, .slidePortada .bgimage{height:650px;}

	/*bgimages*/
	#portal-body #news-events .news .image .bgimage,
	#portal-body #posts .image .bgimage,
	#portal-body #news-events .news .image .bgimage{max-height:154px;min-height:154px;}

	/*top-bar-section*/
	.top-bar-section #portaltab-sant-adria-per-temes ul.dropdown li {margin: auto;}
	.top-bar-section #portaltab-sant-adria-per-temes ul.dropdown li a {min-width:auto;width: auto;white-space: initial;}

	/*Minisite*/
	body.template-minisite_view #portal-header {height: 340px;}
	body.template-minisite_view #portal-header #headtitle {bottom:0px;position:absolute;}



} /* max-width 640px, mobile-only styles, use when QAing mobile issues */

// Medium screens
@media only screen and (min-width: 40.063em) {} /* min-width 641px, medium screens */
@media only screen and (min-width: 40.063em) and (max-width: 64em) {
    
	/*Sant Adria soluciona*/
	.menuSoluciona li {border:none;}

    /*position bottom fotter //////////////// */
    #portal-body {padding-bottom: 0 !important;}
    #portal-footer {position:relative;}

    /*bx-slider*/
	#bannersTop .bx-wrapper .bx-prev {left: 0;background-color: rgba(0, 0, 0, 0.8);}
	#bannersTop .bx-wrapper .bx-next {right: 0;background-color: rgba(0, 0, 0, 0.8);}
	#portal-body #banners .bx-wrapper .bx-prev {background: url("++resource++plonetheme.ajstadria.images/controls.png") no-repeat scroll 0 0 rgba(255, 255, 255, 0.8);left: 0;}
	#portal-body #banners .bx-wrapper .bx-next {background: url("++resource++plonetheme.ajstadria.images/controls.png") no-repeat scroll -43px 0 rgba(255, 255, 255, 0.8);right: 0px;}

	/*highlights*/
	#highlights ul.items li {display: block;float: none;margin-bottom: 21px !important;margin-left: 0 !important;text-align: center;width: 100%;}
	#highlights ul.items {text-align: center;}
	#highlights ul.items li.banner-4,
	#highlights ul.items li.banner-5,
	#highlights ul.items li.banner-6 {display: inline-block;margin-left: 20px !important;position: inherit;right: auto;width: auto;}

	/*news-items*/
	.news-items .image {margin-bottom:0.8em;}

	/*portal-header*/
	#portal-header {height: auto;}
	#portal-header #headtitle {bottom: 0px;margin-top: 1em;}
	body.template-minisite_view #portal-header #headtitle {bottom: -186px;}




} /* min-width 641px and max-width 1024px, use when QAing tablet-only issues */

// Large screens
@media only screen and (min-width: 64.063em) { } /* min-width 1025px, large screens */
@media only screen and (min-width: 64.063em) and (max-width: 90em) { } /* min-width 1025px and max-width 1440px, use when QAing large screen-only issues */

// XLarge screens
@media only screen and (min-width: 90.063em) { } /* min-width 1441px, xlarge screens */
@media only screen and (min-width: 90.063em) and (max-width: 120em) { } /* min-width 1441px and max-width 1920px, use when QAing xlarge screen-only issues */

// XXLarge screens
@media only screen and (min-width: 120.063em) { } /* min-width 1921px, xxlarge screens */