/* basic scrollbar styling */
/* vertical scrollbar */
.mCSB_container {
  width: auto;
  margin-right: 30px;
  overflow: hidden;
}
.mCSB_container.mCS_no_scrollbar {
  margin-right: 0;
}
.mCS_disabled .mCSB_container.mCS_no_scrollbar,
.mCS_destroyed .mCSB_container.mCS_no_scrollbar {
  margin-right: 30px;
}
.mCustomScrollBox .mCSB_scrollTools {
  width: 16px;
  height: 100%;
  top: 0;
  right: 0;
}
.mCSB_scrollTools .mCSB_draggerContainer {
  height: 100%;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
.mCSB_scrollTools .mCSB_buttonUp + .mCSB_draggerContainer {
  padding-bottom: 40px;
}
.mCSB_scrollTools .mCSB_draggerRail {
  width: 2px;
  height: 100%;
  margin: 0 auto;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}
.mCSB_scrollTools .mCSB_dragger {
  cursor: pointer;
  width: 100%;
  height: 30px;
}
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  width: 4px;
  height: 100%;
  margin: 0 auto;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  text-align: center;
}
.mCSB_scrollTools .mCSB_buttonUp,
.mCSB_scrollTools .mCSB_buttonDown {
  height: 20px;
  overflow: hidden;
  margin: 0 auto;
  cursor: pointer;
}
.mCSB_scrollTools .mCSB_buttonDown {
  bottom: 0;
  margin-top: -40px;
}
/* horizontal scrollbar */
.mCSB_horizontal .mCSB_container {
  height: auto;
  margin-right: 0;
  margin-bottom: 30px;
  overflow: hidden;
}
.mCSB_horizontal .mCSB_container.mCS_no_scrollbar {
  margin-bottom: 0;
}
.mCS_disabled .mCSB_horizontal .mCSB_container.mCS_no_scrollbar,
.mCS_destroyed .mCSB_horizontal .mCSB_container.mCS_no_scrollbar {
  margin-right: 0;
  margin-bottom: 30px;
}
.mCSB_horizontal.mCustomScrollBox .mCSB_scrollTools {
  width: 100%;
  height: 16px;
  top: auto;
  right: auto;
  bottom: 0;
  left: 0;
  overflow: hidden;
}
.mCSB_horizontal .mCSB_scrollTools .mCSB_draggerContainer {
  height: 100%;
  width: auto;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  overflow: hidden;
}
.mCSB_horizontal .mCSB_scrollTools .mCSB_buttonLeft + .mCSB_draggerContainer {
  padding-bottom: 0;
  padding-right: 20px;
}
.mCSB_horizontal .mCSB_scrollTools .mCSB_draggerRail {
  width: 100%;
  height: 2px;
  margin: 7px 0;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}
.mCSB_horizontal .mCSB_scrollTools .mCSB_dragger {
  width: 30px;
  height: 100%;
}
.mCSB_horizontal .mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  width: 100%;
  height: 4px;
  margin: 6px auto;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}
.mCSB_horizontal .mCSB_scrollTools .mCSB_buttonLeft,
.mCSB_horizontal .mCSB_scrollTools .mCSB_buttonRight {
  width: 20px;
  height: 100%;
  overflow: hidden;
  margin: 0 auto;
  cursor: pointer;
  float: left;
}
.mCSB_horizontal .mCSB_scrollTools .mCSB_buttonRight {
  right: 0;
  bottom: auto;
  margin-left: -40px;
  margin-top: -16px;
  float: right;
}
/* default scrollbar colors and backgrounds */
.mCustomScrollBox .mCSB_scrollTools {
  opacity: 0.75;
}
.mCustomScrollBox:hover .mCSB_scrollTools {
  opacity: 1;
}
.mCSB_scrollTools .mCSB_draggerRail {
  background: #000;
  /* rgba fallback */

  background: rgba(0, 0, 0, 0.4);
  filter: "alpha(opacity=40)";
  -ms-filter: "alpha(opacity=40)";
  /* old ie */

}
.mCSB_scrollTools .mCSB_dragger .mCSB_dragger_bar {
  background: #fff;
  /* rgba fallback */

  background: rgba(255, 255, 255, 0.75);
  filter: "alpha(opacity=75)";
  -ms-filter: "alpha(opacity=75)";
  /* old ie */

}
.mCSB_scrollTools .mCSB_dragger:hover .mCSB_dragger_bar {
  background: rgba(255, 255, 255, 0.85);
  filter: "alpha(opacity=85)";
  -ms-filter: "alpha(opacity=85)";
  /* old ie */

}
.mCSB_scrollTools .mCSB_dragger:active .mCSB_dragger_bar,
.mCSB_scrollTools .mCSB_dragger.mCSB_dragger_onDrag .mCSB_dragger_bar {
  background: rgba(255, 255, 255, 0.9);
  filter: "alpha(opacity=90)";
  -ms-filter: "alpha(opacity=90)";
  /* old ie */

}
.mCSB_scrollTools .mCSB_buttonUp,
.mCSB_scrollTools .mCSB_buttonDown,
.mCSB_scrollTools .mCSB_buttonLeft,
.mCSB_scrollTools .mCSB_buttonRight {
  background-image: url(mCSB_buttons.png);
  background-repeat: no-repeat;
  opacity: 0.4;
  filter: "alpha(opacity=40)";
  -ms-filter: "alpha(opacity=40)";
  /* old ie */

}
.mCSB_scrollTools .mCSB_buttonUp {
  background-position: 0 0;
  /* 
	sprites locations are 0 0/-16px 0/-32px 0/-48px 0 (light) and -80px 0/-96px 0/-112px 0/-128px 0 (dark) 
	*/

}
.mCSB_scrollTools .mCSB_buttonDown {
  background-position: 0 -20px;
  /* 
	sprites locations are 0 -20px/-16px -20px/-32px -20px/-48px -20px (light) and -80px -20px/-96px -20px/-112px -20px/-128px -20px (dark) 
	*/

}
.mCSB_scrollTools .mCSB_buttonLeft {
  background-position: 0 -40px;
  /* 
	sprites locations are 0 -40px/-20px -40px/-40px -40px/-60px -40px (light) and -80px -40px/-100px -40px/-120px -40px/-140px -40px (dark) 
	*/

}
.mCSB_scrollTools .mCSB_buttonRight {
  background-position: 0 -56px;
  /* 
	sprites locations are 0 -56px/-20px -56px/-40px -56px/-60px -56px (light) and -80px -56px/-100px -56px/-120px -56px/-140px -56px (dark) 
	*/

}
.mCSB_scrollTools .mCSB_buttonUp:hover,
.mCSB_scrollTools .mCSB_buttonDown:hover,
.mCSB_scrollTools .mCSB_buttonLeft:hover,
.mCSB_scrollTools .mCSB_buttonRight:hover {
  opacity: 0.75;
  filter: "alpha(opacity=75)";
  -ms-filter: "alpha(opacity=75)";
  /* old ie */

}
.mCSB_scrollTools .mCSB_buttonUp:active,
.mCSB_scrollTools .mCSB_buttonDown:active,
.mCSB_scrollTools .mCSB_buttonLeft:active,
.mCSB_scrollTools .mCSB_buttonRight:active {
  opacity: 0.9;
  filter: "alpha(opacity=90)";
  -ms-filter: "alpha(opacity=90)";
  /* old ie */

}
html,
body {
  height: 100%;
  overflow: hidden;
  background-color: #000;
}
body {
  margin: 0;
  padding: 0;
  color: #ffffff;
}
h3 {
  font-style: normal;
  font-size: 1.2em;
  border-bottom: 1px solid black;
  padding: 2%;
  padding-left: 3%;
  margin-bottom: 0;
  cursor: pointer;
  background: url('../img/minus-17.png') no-repeat center right 16px;
  padding-right: 50px;
}
h4 {
  margin-bottom: 0;
}
.hiddenInfo h3 {
  background: url('../img/plus-17.png') no-repeat center right 16px;
}
a,
.ui-widget-content a {
  color: #0085c8;
}
a:hover {
  color: #fff;
}
#content {
  position: static;
}
#header,
#footer {
  z-index: 2;
  border: none;
  margin: 0;
}
/*#contemporaries-index .guideLogo {
	z-index: 3;
	position: relative;
	left: 5%;
	margin-top: 1%;
}*/
.rgba #header {
  background: rgba(0, 0, 0, 0.7);
}
#header {
  background: url('../img/black70p.png');
  height: 45px;
  min-height: 45px;
  overflow: hidden;
}
#header .guideLogo {
  width: 162px;
}
#header .guideLogo img {
  margin-left: 12px;
  margin-top: 10px;
}
#header .logoTurismo {
  position: absolute;
  top: 3px;
  right: 3px;
}
#header .logoTurismo a {
  background: url('/img/turismo-de-portugal-40-white.png') no-repeat;
  width: 113px;
  height: 40px;
  bottom: auto;
  padding-bottom: 0;
}
#header .toolbar {
  float: none;
  margin-left: 190px;
  margin-right: 162px;
  margin-top: 11px;
}
#header .toolbar div {
  display: inline;
}
#header .toolbar #regionSelection {
  margin-right: 28px;
}
#header .toolbar #regionSelection label {
  font-weight: 900;
  margin-right: 8px;
}
#header .toolbar label {
  margin-right: 12px;
  margin-left: 3px;
  font-size: 14px;
  font-weight: 700;
}
#header .toolbar .submit {
  top: -6px;
  position: relative;
}
#header .toolbar .submit input {
  border: none;
  background: url('../img/search.png') no-repeat center center;
  width: 23px;
  height: 23px;
  font-size: 0;
  margin-left: 18px;
}
#header .toolbar .submit input:hover {
  background: url('../img/search-hover.png') no-repeat center center;
}
#header #searchToggle {
  display: none;
  background: url('../img/search.png') no-repeat;
  position: absolute;
  top: 8px;
  left: 46%;
  min-width: 34px;
  height: 34px;
}
#header #searchToggle:hover,
#header #searchToggle.active {
  background-image: url('../img/search-hover.png');
  color: white;
}
#header .language {
  float: none;
  position: absolute;
  top: 11px;
  right: 138px;
}
.rgba .allGuides {
  background: rgba(0, 0, 0, 0.7);
}
.allGuides {
  background: url('../img/black70p.png');
  font-size: 10px;
  padding: 3px 6px;
  z-index: 3;
  position: absolute;
}
#listButton {
  border: none;
  background: url('../img/list.png') no-repeat center center;
  font-size: 0;
  height: 18px;
  margin-left: 18px;
  position: absolute;
  right: 23%;
  top: 13px;
  width: 26px;
}
#listButton:hover,
#listButton.active {
  background: url('../img/list-hover.png') no-repeat center center;
}
.rgba .placeList {
  background: rgba(0, 0, 0, 0.7);
}
.lt-ie8 .placeList .list {
  height: 80%;
}
.placeList {
  border: 1px solid #333;
  background: url('../img/black70p.png');
  width: 30%;
  position: absolute;
  height: 60%;
  right: 12px;
  margin-top: 3px;
  padding: 1%;
}
.placeList .list {
  position: absolute;
  top: 52px;
  bottom: 6px;
  left: 12px;
  right: 12px;
}
.placeList .active a {
  color: #ddd;
  text-decoration: none;
}
.placeList .place {
  padding: 8px 0;
  overflow: hidden;
}
.placeList .place .name {
  float: left;
  text-decoration: none;
  display: block;
  width: 58%;
  margin-right: 2%;
}
.placeList .place .concelho {
  display: block;
  color: #999;
}
.placeList .region {
  text-align: right;
}
.placeList #placeFilter {
  width: 90%;
  margin-bottom: 20px;
  padding: 3px 6px;
  background-color: rgba(255, 255, 255, 0.8);
  border: 2px solid #0085c8;
}
.placeList #placeFilter::-webkit-input-placeholder {
  font-style: italic;
}
.placeList #placeFilter:-moz-placeholder {
  /* Firefox 18- */

  font-style: italic;
}
.placeList #placeFilter::-moz-placeholder {
  /* Firefox 19+ */

  font-style: italic;
}
.placeList #placeFilter:-ms-input-placeholder {
  font-style: italic;
}
/* FIRST PAGE */
#contemporaries-index {
  /*	.logoTurismo {
		position: absolute;
		top: 22px;
		right: 26px;
		width: 113px;
		height: 40px;
		z-index: 2;
		line-height: 40px;
		a {
		  display: block;
		  background: url('/img/turismo-de-portugal-40-white.png') no-repeat;
//		  bottom: auto;
//		  padding-bottom: 0;
	  }
   }*/

  /*#navigation {
		bottom: auto;
		top: 38%;
		right: 20%;
		left: auto;
		a {	//button size
			width: 150px;
			height: 150px;
			//margin-top: -150px;
		}
		#buttonNext { //Background image
			background: url("../img/arrow-right-L.png") no-repeat center center;
		}
		#buttonNext:hover {
			background: url("../img/arrow-right-L-hover.png") no-repeat center center;
		}
   }*/
}
#contemporaries-index .ui-tabs-anchor {
  font-weight: 900;
  font-size: 16px;
}
#contemporaries-index .credito {
  font-size: 0.8em;
}
.contemporaries {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: no-repeat center bottom fixed;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.tabs {
  background: none;
  width: 45%;
}
.ui-widget-header {
  background: none;
}
.tab {
  position: absolute;
  top: 43px;
  width: 97%;
  bottom: 0;
  overflow: auto;
}
.ui-tabs .ui-tabs-nav li {
  margin-right: 1%;
}
.rgba .ui-state-default,
.rgba .ui-widget-content .ui-state-default,
.rgba .ui-widget-header .ui-state-default {
  background: rgba(60, 60, 60, 0.8);
}
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
  background: url('../img/grey60.png');
  border: none;
}
.rgba .ui-state-active,
.rgba .ui-widget-content .ui-state-active,
.rgba .ui-widget-header .ui-state-active {
  background: rgba(0, 0, 0, 0.7);
}
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active {
  border: 1px solid #333;
  background: url('../img/black70p.png');
}
.ui-state-active a,
.ui-state-active a:link,
.ui-state-active a:visited {
  color: #fff;
}
.ui-tabs {
  position: absolute;
  top: 20%;
  left: 8%;
  bottom: 150px;
}
.rgba .ui-tabs .ui-tabs-panel {
  background: rgba(0, 0, 0, 0.7);
}
.ui-tabs .ui-tabs-panel {
  background: url('../img/black70p.png');
  border: 1px solid #333;
  color: #fff;
  padding: 1em 0 1em 1em;
}
.ui-tabs .ui-tabs-nav li {
  z-index: 3;
  top: 2px;
}
/* MAIN */
.rgba .locationInfo {
  background: rgba(0, 0, 0, 0.7);
}
.lt-ie8 .locationInfo img {
  width: 100%;
}
.locationInfo {
  border: 1px solid #333;
  position: absolute;
  background: url('../img/black70p.png');
  color: #ffffff;
  margin-left: 12px;
  width: 35%;
  top: 58px;
  height: 65%;
  overflow: hidden;
}
.locationInfo .contents {
  width: 93%;
  height: 83%;
  padding: 2% 1% 0 6%;
}
.locationInfo .contents .print {
  margin-bottom: 10px;
  display: block;
}
.locationInfo img {
  max-width: 95%;
  margin-bottom: 1em;
}
.locationInfo dl {
  margin-bottom: 0;
  margin-top: 0;
}
.locationInfo dt {
  clear: left;
  float: left;
  padding-right: 2%;
  width: 30%;
  margin-bottom: 1.2em;
}
.locationInfo dd {
  float: left;
  width: 62%;
  margin-bottom: 1.2em;
  padding-right: 6%;
}
.locationInfo .siteLinks a {
  display: block;
}
.locationInfo .description {
  width: auto;
}
.hiddenInfo {
  height: auto;
  bottom: auto !important;
}
.rgba #category,
.rgba #indexName {
  background: rgba(0, 0, 0, 0.7);
}
#category,
#indexName {
  position: absolute;
  right: 0;
  bottom: 35px;
  padding: 6px 12px;
  min-width: 150px;
  font-weight: 900;
  background: url('../img/black70p.png');
}
#category {
  font-size: 1.4em;
}
#indexName {
  max-width: 25%;
}
.cat-1 {
  background-color: #662d8d;
}
.cat-2 {
  background-color: #b63d18;
}
.cat-3 {
  background-color: #a93232;
}
.cat-4 {
  background-color: #308826;
}
.rgba #photoCredits {
  background: rgba(0, 0, 0, 0.7);
}
#photoCredits {
  position: absolute;
  left: 0;
  background: url('../img/black70p.png');
  bottom: 0;
  font-size: 10px;
  padding: 3px 6px;
  max-width: 40%;
}
/* THUMBNAILS */
.rgba #thumbnails {
  background: rgba(255, 255, 255, 0.8);
}
.lt-ie8 #thumbnails {
  top: 0;
  height: 60%;
  padding-top: 90px;
  overflow: hidden;
}
.lt-ie8 #thumbnails .location {
  width: 26%;
  zoom: 1;
  display: inline;
}
.lt-ie8 #thumbnails .location img {
  width: 100%;
}
#thumbnails {
  background: url('../img/white80p.png');
  position: absolute;
  bottom: 100px;
  left: 0;
  right: 0;
  top: 45px;
  padding-top: 45px;
  padding-bottom: 40px;
  text-align: center;
}
#thumbnails .location {
  width: 33.3%;
  display: inline-block;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 3%;
  vertical-align: top;
}
#thumbnails .location img {
  max-width: 100%;
}
#thumbnails .location div {
  padding-top: 12px;
}
#thumbnails .location a {
  text-decoration: none;
  font-weight: bold;
  display: block;
}
#thumbnails .location .concelho {
  color: black;
}
/* NAVIGATION */
#navigation {
  position: absolute;
  text-align: center;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100px;
}
#navigation a {
  width: 68px;
  height: 68px;
  margin: 0 8px;
  display: inline-block;
  text-indent: 0;
}
#navigation #buttonPrev {
  background: url('../img/arrow-left.png') center center no-repeat;
  font-size: 0;
}
#navigation #buttonPrev:hover {
  background: url('../img/arrow-left-hover.png');
}
#navigation #buttonSlides {
  background: url('../img/thumbnails.png') center center no-repeat;
  font-size: 0;
}
#navigation #buttonSlides:hover {
  background: url('../img/thumbnails-hover.png') no-repeat;
}
#navigation #buttonNext {
  background: url('../img/arrow-right.png') center center no-repeat;
  font-size: 0;
}
#navigation #buttonNext:hover {
  background: url('../img/arrow-right-hover.png') no-repeat;
}
#navigation #buttonClose {
  background: url('../img/btn-close.png') center center no-repeat;
  font-size: 0;
  margin-top: 1%;
}
#navigation #buttonClose:hover {
  background: url('../img/btn-close-hover.png') center center no-repeat;
}
#navigation .disabled {
  opacity: 0.5;
}
.lt-ie8 #navigation .disabled {
  display: none;
}
.rgba #contemporaries-thumbnails #navigation {
  background: rgba(0, 0, 0, 0.7);
}
#contemporaries-thumbnails #navigation {
  position: absolute;
  background: url('../img/black70p.png');
}
@media only screen and (max-width: 650px) {
  html #header #listButton {
    right: 20%;
  }
  .ui-tabs-nav li {
    width: auto;
  }
  #indexName,
  #category {
    bottom: 0;
    max-width: 50%;
    height: 1em;
    text-overflow: ellipsis;
    font-size: 1em;
  }
}
@media only screen and (max-width: 768px) {
  #header .language {
    right: 12px;
  }
  #header #listButton {
    right: 10%;
  }
  .locationInfo {
    width: 47%;
  }
  #navigation {
    height: 100px;
  }
  #navigation #buttonPrev {
    background-image: url('../img/arrow-left-M.png');
  }
  #navigation #buttonNext {
    background-image: url('../img/arrow-right-M.png');
  }
  #navigation #buttonSlides {
    background-image: url('../img/thumbnails-M.png');
  }
  #contemporaries-thumbnails #navigation {
    height: 100px;
  }
  .placeList {
    width: 44%;
    top: 58px;
    margin-top: 0;
  }
  .ui-tabs {
    width: 95%;
    left: 2%;
    top: 100px;
  }
}
@media only screen and (max-width: 480px) {
  .locationInfo {
    width: 94%;
  }
  .placeList {
    width: 91%;
  }
  html .ui-tabs {
    top: 70px;
  }
  .ui-tabs-nav li,
  html #contemporaries-index .ui-tabs-anchor {
    font-size: 10px !important;
    font-weight: normal;
  }
  html .tab {
    position: absolute;
    top: 28px;
  }
  html #header #listButton {
    right: 45px;
  }
  #header #searchToggle {
    left: auto;
    right: 94px;
  }
  .language .active {
    display: none;
  }
  .language .separator {
    display: none;
  }
  #thumbnails .location {
    font-size: 11px;
  }
  #navigation {
    height: 120px;
  }
  #navigation #buttonPrev {
    background-image: url('../img/arrow-left-S.png');
  }
  #navigation #buttonNext {
    background-image: url('../img/arrow-right-S.png');
  }
  #navigation #buttonSlides {
    background-image: url('../img/thumbnails-S.png');
  }
}
@media only screen and (max-width: 960px) {
  #header {
    overflow: visible;
  }
  #header #searchToggle {
    display: block;
  }
  .rgba #header .toolbar {
    background: rgba(0, 0, 0, 0.8);
  }
  #header .toolbar {
    border: 1px solid #333333;
    display: none;
    background: url('../img/black70p.png');
    padding: 10% 10% 4%;
    left: 10%;
    right: 10%;
    margin-left: 0;
    margin-right: 0;
    position: absolute;
    top: 70px;
  }
  #header .toolbar div {
    float: left;
    clear: left;
    margin-bottom: 18px;
  }
  #header .toolbar label {
    font-size: 18px !important;
  }
  #header .toolbar .checkbox input {
    margin-right: 8px;
  }
  #header .toolbar .checkbox label {
    color: #0085c8;
  }
  #header .toolbar .checkbox label:hover {
    color: white;
  }
  #header .toolbar select {
    font-size: 16px;
    margin-left: 12px;
  }
  #header .toolbar .submit input {
    font-size: 16px;
    color: white;
    width: auto;
    height: auto;
    padding: 10px 10px 10px 50px;
    background-position: 10px center;
    margin-left: 0;
    text-decoration: underline;
  }
  #header .toolbar .submit input:hover {
    background-position: 10px 10px;
    color: white;
  }
  #contemporaries-index .ui-tabs-anchor {
    font-size: 12px !important;
  }
}
@media only screen and (max-width: 1060px) {
  html,
  body {
    font-size: 12px;
  }
  #header .toolbar label {
    font-size: 12px;
    font-weight: normal;
    margin-left: 3px;
    margin-right: 8px;
  }
  #header .toolbar .submit input {
    margin-left: 0;
  }
  .toolbar,
  .language {
    font-size: 11px;
  }
  #contemporaries-index .ui-tabs-anchor {
    font-size: 14px;
  }
}
@media only screen and (max-width: 1125px) {
  #listButton {
    right: 210px;
  }
}
@media only screen and (max-height: 700px) {
  .ui-tabs {
    top: 100px;
    bottom: 120px;
    height: auto;
  }
  .tab {
    position: absolute;
    bottom: 12px;
    height: auto;
  }
  .locationInfo {
    height: auto;
    bottom: 120px;
  }
}
