.last {border:none !important;margin-bottom:0 !important;}
#edit-bar {font-family: Arial,Tahoma,Helvetica,Verdana;margin: 0 11px;}
#content-core, .portletWrapper {font-size: 0.8rem !important;}
ul, ol, dl {font-size: 0.8rem;}
#minisite_content h2 {font-size: 1.4rem;margin-bottom: 0.5rem;text-transform: inherit;}
#minisite_content h1 {font-size: 1.7rem;}
#parent-fieldname-text h2 {padding-bottom: 0;}
.managePortletsLink {display: block;}

/*CAP*/

#header {background: url("images/cap_cultura.gif") no-repeat scroll 0 0 transparent;height: 172px;width: 1000px;margin-top: 8px;}
#header a {height: 172px;width: 1000px;display:block;}

/* TIRA */
#tira {height: 74px; background: #5c5c5c; /* for non-css3 browsers */filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#5c5c5c', endColorstr='#464646'); /* for IE */background: -webkit-gradient(linear, left top, left bottom, from(#5c5c5c), to(#464646)); /* for webkit browsers */background: -moz-linear-gradient(top,  #5c5c5c,  #464646); /* for firefox 3.6+ */border-bottom: 1px solid #393e3f;}
#tira .inner{width: 1000px}
#tira #logo{float: right}
#tira #einesidiomes{float: left}
#tira #idiomes{ padding: 0; padding-left: 10px; /*border-left: 1px solid #fff;*/ border-left:none; margin-top:5px; height: 17px;}
#tira #eines{float: left}
#tira #eines ul li a{color: #ffffff;}
#tira #eines #personaltools-login a{padding-left: 0}

/*PORTADA*/
.template-portada_view #minisite_content h2, .template-portada_view #minisite_content h1 {font-family: "OpenSansLight";font-size: 1.7rem !important;line-height: 1.7rem !important;margin-bottom: 1rem;margin-top: 0;text-transform: uppercase;}
.template-portada_view #parent-fieldname-text {border-bottom: 2px solid #d11241;margin-bottom: 1.1rem;padding-bottom: 1rem;}
.template-portada_view .noticiesPortadaContent {border-bottom: 2px solid #d11241;padding-bottom: 1rem;}
.template-portada_view .itemNoticiaData {}
.template-portada_view .itemNoticiaTitle {}
.template-portada_view .itemNoticiaDescription {}
.template-portada_view .noticiesPortada {margin-bottom: 6px;}
.template-portada_view .noticiesPortada .itemNoticia {color: #818285;border-bottom:1px solid #ddd;margin-bottom: 6px;padding-bottom: 8px;}
.template-portada_view .noticiesPortada .itemNoticia a {font-weight: bold;color:#231f20 !important;}
.template-portada_view .latroballa {margin-bottom: 36px;}
.template-portada_view .latroballa #parent-fieldname-text{overflow: hidden;width: 100%;}
.template-portada_view #parent-fieldname-title,
.template-portada_view #viewlet-below-content-title {display:none;}
.template-portada_view .mesInfo {font-family: 'OpenSansSemibold';margin-top: 11px;text-align: right;}
.template-portada_view .mesInfo a {color: #F8981D !important;}
.template-portada_view #portal-columns{padding-bottom: 20px;background: url("fonspatrimoni.png") no-repeat scroll bottom left transparent;}
.template-portada_view #minisite #content{margin-top: 0}

.orbit-container {margin-bottom: 2rem;background: #fff none repeat scroll 0 0;border: 5px solid #fff;box-shadow: 0 0 5px #ccc;}
ul.bxslider {list-style: outside none none !important;margin-left: 0 !important;}
ul.bxslider .slideshowItemImg img {padding: 0 !important;display: block;margin: 0 !important;max-width: 100%;}
ul.bxslider .slideshowItemImg {display: block;max-height: 265px;overflow: hidden;}
.slideshowItemA {position: relative;display: block;}
.slideshowItem .bxslider-title {bottom: 16px;color: #ffffff;font-size: 0.85rem;position: absolute;text-transform: uppercase;width: 74%;}
.slideshowItem .bxslider-title-span {background: #000000 none repeat scroll 0 0;display: block;opacity: 0.7;padding: 12px;}
.orbit-container .orbit-next {background: rgba(0, 0, 0, 0) url("controls.png") no-repeat scroll -43px -32px;right: 10px;}
.orbit-container .orbit-prev {background: rgba(0, 0, 0, 0) url("controls.png") no-repeat scroll 0 -32px;left: 10px;}
.orbit-container .orbit-prev > span, .orbit-container .orbit-next > span {display: none;}
.orbit-container .orbit-prev:hover, .orbit-container .orbit-next:hover {background-color: transparent;opacity: 0.9;}
.orbit-container .orbit-prev, .orbit-container .orbit-next {margin-top: 0px;}
.orbit-container .orbit-bullets-container {text-align: center;position: absolute;z-index: 1000;right: 17px;bottom: 11px;}
.orbit-container .orbit-bullets {display: block;float: none;margin: 0 !important;overflow: hidden;position: relative;text-align: right;top: 0;}
.orbit-container .orbit-bullets li {background: #fff none repeat scroll 0 0;border: 1px solid #dddddd !important;border-radius: 1000px;display: inline-block !important;float: none;height: 0.7rem;margin-right: 8px;width: 0.7rem;cursor: pointer;}


.portlet-static-larxiu {  background: #feead2 none repeat scroll 0 0;}
.portlet-static-larxiu h2 {border-bottom: 1px solid #d11241;color: #000 !important;font-family: inherit !important;font-size: 1.5rem !important;font-weight: bold !important;margin-bottom: 12px !important;padding-bottom: 4px !important;text-transform: inherit !important;}
.portlet-static-larxiu h3 {color: #0065b7;font-family: "OpenSansLight";font-size: 1.1rem !important;font-weight: bold;line-height: 19px;margin-bottom: 6px !important;text-transform: inherit !important;}
.portlet-static-larxiu .contentPortlet {padding: 0 10px;}
.portlet-static-larxiu .portletHeader {display: none;}
.portlet-static-larxiu .portletItem {margin: 0;}
.portlet-static-larxiu .portletFooter {padding: 0 10px 10px !important;text-align: left !important;}

/*TOP BANERS*/
#menutopbanners {height: 62px;padding: 0 7px;}
#menutopbanners .innerMenutopbanners {padding-bottom: 10px;padding-top: 10px;text-align: center;border-bottom: 1px solid #002e3d;}
#menutopbanners .menutopbannersItem {display: inline;text-align: center;}
#menutopbanners .menutopbannersItem img {vertical-align: middle;}
#menutopbanners .menutopbannersItem a {vertical-align: middle;}
#menutopbanners .sepTopMenu img {margin: 0 12px;} 
.menubanners a {color: #f8981d;font-size: 0.85rem;text-transform: uppercase;}
.menubanners ul li {margin: 0 1%;}
.innerBanners {padding-top: 1rem;}
.innerBanners .menubannersItem {margin-bottom: 1rem !important;}
.innerBanners .menubannersItem a {display: block;}
.innerBanners #menubannersItem2 {margin-bottom:50px;} 

/*MENU*/
#menu_lateral {margin-bottom: 27rem;margin-top: 0px;}
#menu_lateral li {display:block}
#menu_lateral li a {padding-left: 10px;display: block;}
#menu_lateral a.active,
#menu_lateral .current {font-family:'OpenSansSemibold';}
#menu_lateral li a {color: #002E3D;}
#menu_lateral li a:hover {color:#eb8400;}
#menu_lateral ul {margin-left: 10px;}
#menu_lateral ul.first_level {margin-left: 0;}
#menu_lateral ul.first_level li.first_element {line-height: 25px;background:#f9c480;margin-bottom: 10px;}
#menu_lateral ul.first_level li .first_element_a {font-family:'OpenSansSemibold';background: url("first_element_a.png") no-repeat scroll 96% 14px #F8981D;border-bottom: 1px solid #FFFFFF;color: #FFFFFF;padding:0;text-transform: uppercase;}
#menu_lateral ul.first_level li .first_element_a span{display:block;padding: 6px 0 6px 12px;}
#menu_lateral ul.first_level li .first_element_a:hover {background: url("first_element_a.png") no-repeat scroll 97% 14px #F8981D;}
#menu_lateral ul.first_level li .first_element_a.active {}
#menu_lateral ul.second_level {padding-top: 9px;margin-left: 0;line-height: 18px;padding-bottom: 9px;}
#menu_lateral ul.second_level li.second_element {padding-left: 7px;border-bottom: 1px solid #95611c;margin-bottom: 7px;padding-bottom: 7px;}
#menu_lateral ul.second_level li.second_element {margin-bottom: 7px;}
#menu_lateral ul.second_level li.second_element .second_element_a {font-size: 11px;font-family:'OpenSansBold';line-height: 18px;text-transform: uppercase;}
#menu_lateral ul.second_level .actiu .second_element_a,
#menu_lateral ul.third_level li.third_element a.active {color: #eb8400;}
#menu_lateral ul.third_level li.third_element ul{display:none;}
#menu_lateral ul.third_level li.active ul{display:block !important;}
#menu_lateral ul.third_level li.third_element .third_element_a {padding-left:17px;background: url("third_element_a.gif") no-repeat scroll 5px 7px transparent;line-height: 1rem;margin-bottom: 10px;} 
#menu_lateral ul.third_level {padding:6px 0;}
#menu_lateral ul.third_level li.third_element {margin-bottom:3px;}
ul.accordion {list-style: none;padding: 0;}
ul.accordion .inner {overflow: hidden;display: none;}
ul.accordion > .actiu > .inner > .actiu > .inner,
ul.accordion > .actiu > .inner {overflow: inherit;display: block;}

/*MENU ESPECIAL*/
#menu_lateral #item-museus-i-patrimoni,
#menu_lateral #item-tarragona-turisme {background:none !important;font-weight:normal;}
#menu_lateral #item-museus-i-patrimoni a,
#menu_lateral #item-tarragona-turisme a {color: #f8981d;font-size: 15px;height: 28px;padding: 0 0 0 34px;}
#menu_lateral #item-museus-i-patrimoni a span,
#menu_lateral #item-tarragona-turisme a span{padding: 0;}
#menu_lateral #item-museus-i-patrimoni a {background: url("cultura_item-museus-i-patrimoni.png") no-repeat scroll 0 0 transparent !important;}
#menu_lateral #item-tarragona-turisme a {background: url("cultura_item-tarragona-turisme.png") no-repeat scroll 0 0 transparent !important;}
#menu_lateral #item-museus-i-patrimoni {margin-top:35px}

/*BOXES SOCIAL*/
#boxBottom {clear: both;margin: 0px 12px;border-top: 1px solid #002E3D;padding-top: 31px;}
/*#boxBottom .boxBottom {float: left;width: 33%;}*/
#boxBottom .boxBottomHeader {padding: 4px 12px;}
#boxBottom .textHeader {border-bottom: 5px solid #E5E9EB;padding-bottom: 12px;}
#boxBottom .textHeader a{color: #888}
#boxBottom .innerbox {/*border-right: 1px solid #DDDDDD;*/min-height: 312px;padding: 0 8px;}
#boxBottom .boxBottomTwitter .innerbox {border:none !important;}
#boxBottom .boxBottomFace .boxBottomHeader,
#boxBottom .boxBottomTwitter .boxBottomHeader {padding: 4px 12px 0;}
#boxBottom .contentbox {padding: 12px;}
.boxBottom .portletFooter a{color: #888888}
.boxBottomNews{position: relative;}
.boxBottomNews .contentbox,
.boxBottomFace .contentbox,
.boxBottomTwitter .contentbox {padding-top:0 !important;}
.var-narrow .tweet {padding: 0;}
.portletRss .portletHeader{padding:0;background:none;}
#cos .contentbox .portletRss .portletHeader a{display:none;}
#cos .contentbox .portletRss .portletHeader a[href="http://www.tarragonaturisme.cat/experience"]{font-weight:bold;display:block; color:#888888;font-family: 'OpenSansLight';font-size: 20px;line-height: 19px;margin-bottom: 11px;text-transform: uppercase;border-bottom: 5px solid #E5E9EB;padding-bottom: 12px;}
.portletRss .portletItem {border-bottom: 1px dashed #bbbbbb;margin-bottom: 10px;padding: 0 0 12px !important;}
.portletRss .portletItem a {font-weight: bold;}
.portletRss .portletFooter a,
.portletRss .portletItem a.tile {color: #000000}
.portletRss .portletItem .portletItemDetails {font-size: 11px;font-style: oblique;font-weight: normal;}
.portletFooter {}
.portletRss {margin:8px 0 0 !important;font-size: 0.75rem !important;}
.boxBottomNews dd.portletFooter {  text-align: right !important;}
#boxBottom .contentbox {max-height: 290px;}
.portletRss .portletHeader {display: none;}

/*Interior*/
#parent-fieldname-title {color: #0065B7;margin-bottom: 18px;}
#parent-fieldname-description {margin-bottom: 14px;}
#cos {padding-bottom: 20px;padding-top: 27px;font-family: 'OpenSansRegular';margin: 0 !important;}
.template-portada_patrimoni #cos h2,
#cos h1 {color: #f8981d;font-family: 'OpenSansLight';font-size: 27px;line-height: 28px;margin-bottom: 20px;text-transform: uppercase;}
#cos h2 {color: #f8981d;font-family: 'OpenSansLight';font-size: 20px;line-height: 23px;margin-bottom: 25px;text-transform: uppercase;}
#cos h3 {color: #f8981d;font-family: 'OpenSansLight';font-size: 20px;line-height: 19px;margin-bottom: 11px;text-transform: uppercase;}
#cos h3 a {color: #f8981d;}
#content-core {color: #404041 !important;}
#molletes {border-bottom: 1px solid #E5E9EB;color: #999999;font-size: 12px !important;line-height: 13px;margin-bottom: 18px;padding-bottom: 8px;}
#molletes a:link, #molletes a:visited, { color: #F8981D }
#portal-breadcrumbs {font-size: 100%;margin-bottom: 0;margin-left: 0;}
#content div.documentByLine {font-size: 80% !important;padding-right: 13px;text-align: right !important;}
#minisite .section-agenda #portal-column-content, #minisite .section-noticies #portal-column-content{width:72.75% !important;}
#content a:visited, dl.portlet a:visited{color: #f8981d;}
.template-agenda_minisite_view .llistatAvui dl{background: url("++resource++tarragona.theme.images/patrimoni_iconEsdeveniment.png") no-repeat scroll 0 0 transparent}

#content .documentDescription, #content #description{font-family: 'OpenSansRegular';}
#content .documentFirstHeading{display: block;}

#block-grid {margin: 0 !important;}
.photoAlbumEntryWrapper {height: 170px;margin-bottom: 0;width: 100%;box-shadow: 0 0 7px 1px rgba(0, 0, 0, 0.3);border: 0 none;}
.photoAlbumEntryTitle {color: #76797c;display: block;font-size: 1rem;height: auto;margin: 0;text-transform: inherit;width: 100%;}
.bgimage {display: block;height: 170px;width: 100%;}

div.row {float: none;width: 100%;display: block;position: relative;}
div.cell {position: relative;float: left;left: 100%;}

/* Width classes*/
div.width-1  { width:  4%    }
div.width-2  { width: 10.25% }
div.width-3  { width: 16.5%  }
div.width-4  { width: 22.75% }
div.width-5  { width: 29%    }
div.width-6  { width: 35.25% }
div.width-7  { width: 41.5%  }
div.width-8  { width: 47.75% }
div.width-9  { width: 54%    }
div.width-10 { width: 60.25% }
div.width-11 { width: 66.5%  }
div.width-12 { width: 72.75% }
div.width-13 { width: 79%    }
div.width-14 { width: 85.25% }
div.width-15 { width: 91.5%  }
div.width-16 { width: 97.75% }
div.position-0  { margin-left: -98.875% }
div.position-1  { margin-left: -92.625% }
div.position-2  { margin-left: -86.375% }
div.position-3  { margin-left: -80.125% }
div.position-4  { margin-left: -73.875% }
div.position-5  { margin-left: -67.625% }
div.position-6  { margin-left: -61.375% }
div.position-7  { margin-left: -55.125% }
div.position-8  { margin-left: -48.875% }
div.position-9  { margin-left: -42.625% }
div.position-10 { margin-left: -36.375% }
div.position-11 { margin-left: -30.125% }
div.position-12 { margin-left: -23.875% }
div.position-13 { margin-left: -17.625% }
div.position-14 { margin-left: -11.375% }
div.position-15 { margin-left:  -5.125% }
div.width-1\3a 2 { width:    47.75%; } /* .width-1:2 */
div.width-1\3a 4 { width:    22.75%; } /* .width-1:4 */
div.width-3\3a 4 { width:    72.75%; } /* .width-3:4 */
div.width-full   { width:    97.75%  } 
div.position-1\3a 4 {margin-left:    -73.875%;} /* .position-1:4 */
div.position-1\3a 2 {margin-left:    -48.875%;} /* .position-1:2 */
div.position-3\3a 4 {margin-left:    -23.875%;} /* .position-3:4 */
div.width-1\3a 3 { width: 31.08%; } /* .width-1:3 */
div.width-2\3a 3 { width: 64.42%; } /* .width-2:3 */
div.position-1\3a 3 {margin-left: -65.545%;} /* .position-1:3 */
div.position-2\3a 3 {margin-left: -32.205%;} /* .position-2:3 */


/* ==========================================================================
   Media Queries
   ==========================================================================*/

// Small screens
@media only screen {} /* Define mobile styles */
@media only screen and (max-width: 40em) {
   
	.template-portada_view #portal-columns {background: none;}
	#menu_lateral {margin-bottom: 2rem;}


} /* 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) {


} /* 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 */

