@import "jquery-ui-1.8.16.custom.css";
/* =============================================================================
   HTML5 display definitions
   ========================================================================== */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
nav,
section {
  display: block;
}
audio,
canvas,
video {
  display: inline-block;
  *display: inline;
  *zoom: 1;
}
audio:not([controls]) {
  display: none;
}
[hidden] {
  display: none;
}
/* =============================================================================
   Base
   ========================================================================== */
/*
 * 1. Correct text resizing oddly in IE6/7 when body font-size is set using em units
 * 2. Force vertical scrollbar in non-IE
 * 3. Prevent iOS text size adjust on device orientation change, without disabling user zoom: h5bp.com/g
 */
html {
  font-size: 100%;
  overflow-y: scroll;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}
body {
  margin: 0;
  font-size: 1em;
  line-height: 1.4;
}
body,
button,
input,
select,
textarea {
  font-family: "OpenSans", sans-serif;
  color: #222;
}
/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate
 * Also: hot pink! (or customize the background color to match your design)
 */
::-moz-selection {
  background: #000;
  color: #fff;
  text-shadow: none;
}
::selection {
  background: #000;
  color: #fff;
  text-shadow: none;
}
/* =============================================================================
   Links DESCRIBED ELSEWHERE
   ========================================================================== */
/* Improve readability when focused and hovered in all browsers: h5bp.com/h */
a:hover,
a:active {
  outline: 0;
}
/* =============================================================================
   Typography
   ========================================================================== */
abbr[title] {
  border-bottom: 1px dotted;
}
b,
strong {
  font-weight: bold;
}
blockquote {
  margin: 1em 40px;
}
dfn {
  font-style: italic;
}
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}
ins {
  background: #ff9;
  color: #000;
  text-decoration: none;
}
mark {
  background: #ff0;
  color: #000;
  font-style: italic;
  font-weight: bold;
}
/* Redeclare monospace font family: h5bp.com/j */
pre,
code,
kbd,
samp {
  font-family: monospace, serif;
  _font-family: 'courier new', monospace;
  font-size: 1em;
}
/* Improve readability of pre-formatted text in all browsers */
pre {
  white-space: pre;
  white-space: pre-wrap;
  word-wrap: break-word;
}
q {
  quotes: none;
}
q:before,
q:after {
  content: "";
  content: none;
}
small {
  font-size: 85%;
}
/* Position subscript and superscript content without affecting line-height: h5bp.com/k */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sup {
  top: -0.5em;
}
sub {
  bottom: -0.25em;
}
/* =============================================================================
   Lists
   ========================================================================== */
ul,
ol {
  margin: 1em 0;
  padding: 0 0 0 40px;
}
dd {
  margin: 0 0 0 40px;
}
nav ul,
nav ol {
  list-style: none;
  list-style-image: none;
  margin: 0;
  padding: 0;
}
/* =============================================================================
   Embedded content
   ========================================================================== */
/*
 * 1. Improve image quality when scaled in IE7: h5bp.com/d
 * 2. Remove the gap between images and borders on image containers: h5bp.com/e
 */
img {
  border: 0;
  -ms-interpolation-mode: bicubic;
  vertical-align: middle;
}
/*
 * Correct overflow not hidden in IE9
 */
svg:not(:root) {
  overflow: hidden;
}
/* =============================================================================
   Figures
   ========================================================================== */
figure {
  margin: 0;
}
/* =============================================================================
   Forms
   ========================================================================== */
form {
  margin: 0;
}
fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}
/* Indicate that 'label' will shift focus to the associated form element */
label {
  cursor: pointer;
}
/*
 * 1. Correct color not inheriting in IE6/7/8/9
 * 2. Correct alignment displayed oddly in IE6/7
 */
legend {
  border: 0;
  *margin-left: -7px;
  padding: 0;
}
/*
 * 1. Correct font-size not inheriting in all browsers
 * 2. Remove margins in FF3/4 S5 Chrome
 * 3. Define consistent vertical alignment display in all browsers
 */
button,
input,
select,
textarea {
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
  *vertical-align: middle;
}
/*
 * 1. Define line-height as normal to match FF3/4 (set using !important in the UA stylesheet)
 */
button,
input {
  line-height: normal;
}
/*
 * 1. Display hand cursor for clickable form elements
 * 2. Allow styling of clickable form elements in iOS
 * 3. Correct inner spacing displayed oddly in IE7 (doesn't effect IE6)
 */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  cursor: pointer;
  -webkit-appearance: button;
  *overflow: visible;
}
/*
 * Consistent box sizing and appearance
 */
input[type="checkbox"],
input[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}
input[type="search"] {
  -webkit-appearance: textfield;
  -moz-box-sizing: content-box;
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}
input[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}
/*
 * Remove inner padding and border in FF3/4: h5bp.com/l
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0;
}
/*
 * 1. Remove default vertical scrollbar in IE6/7/8/9
 * 2. Allow only vertical resizing
 */
textarea {
  overflow: auto;
  vertical-align: top;
  resize: vertical;
}
/* Colors for form validity */
input:invalid,
textarea:invalid {
  background-color: #f0dddd;
}
/* =============================================================================
   Tables
   ========================================================================== */
table {
  border-collapse: collapse;
  border-spacing: 0;
}
td {
  vertical-align: top;
}
/* ==|== primary styles =====================================================
   Author: Alexandre Castro
   ========================================================================== */
/* COMMON STYLES
@mainColor: #1A8022;
@mainLighter: lighten(@mainColor, 10%);
@darkGrey: #444;
@lightgrey: #848484;
@textWidth: 400px; */
/*a {
	background: rgba(0,0,0,0.1);
}
img {
	background: rgba(255,0,0,0.1);
}

h1, h2, h3,h4 ,h5,h6 {
	background: rgba(0,255,0,0.1);
}
li {
	background: rgba(0,0,255,0.1);
}
*/
html {
  background-color: white;
}
body {
  font-size: 14px;
  margin: 0 3%;
  line-height: 1.45;
  min-width: 888px;
}
h1 {
  font-weight: 900;
  font-size: 30px;
}
h3 {
  font-style: italic;
  font-weight: 900;
  font-size: 2.143em;
  padding-left: 2px;
  margin-top: 0;
}
h4 {
  font-weight: bold;
  font-style: italic;
  margin-top: 1.4em;
}
table {
  width: 100%;
}
th {
  text-align: left;
  font-style: italic;
  font-weight: 900;
  font-size: 16px;
}
dt {
  font-style: italic;
}
dd {
  margin-bottom: 1.5em;
}
li {
  margin-bottom: 1em;
}
.helpText {
  font-size: 12px;
  font-style: italic;
}
.pageError {
  margin-top: 72px;
}
.pageError .message {
  margin-bottom: 72px;
}
.button {
  width: auto;
}
.nav {
  position: absolute;
  z-index: 100;
  padding-top: 2px;
  height: 36px;
}
.nav ul {
  padding: 0;
  margin-top: 0;
  display: block;
}
.nav li {
  display: inline-block;
  list-style: none;
  vertical-align: top;
  min-width: 10em;
  margin-right: 2px;
}
.nav li a {
  background-color: grey;
  display: block;
  padding: 3px;
  padding-left: 8px;
}
.nav li ul {
  display: none;
  position: relative;
  padding-left: 0;
  margin-top: 1px;
}
.nav li ul li {
  width: 250px;
  float: left;
  clear: left;
  border-bottom: 1px solid #fff;
}
.nav .active a {
  background-color: #fff;
  color: black;
  text-decoration: none;
}
.nav li:hover ul {
  display: block;
}
#warnMessage {
  background-color: #ffcc2e;
  padding: 12px;
  text-align: center;
}
.availableSoon {
  padding-left: 11.5%;
}
/* END COMMON STYLES */
/* START SEARCH */
.search {
  width: 32.2%;
  float: right;
  margin-top: 14px;
}
.search .input {
  width: 61%;
  float: left;
}
.search #searchInput {
  padding: 6px;
  margin-bottom: 6px;
  width: 92%;
}
.search input:-moz-placeholder {
  font-style: italic;
}
.search input::-webkit-input-placeholder {
  font-style: italic;
}
.search input:placeholder {
  font-style: italic;
}
.search .submit {
  float: left;
  width: 35%;
  margin-left: 3%;
}
.search .button {
  width: 100%;
  padding: 6px;
}
.search label {
  font-style: italic;
}
.search input {
  border: 1px solid #00A251;
}
.search input:-moz-placeholder {
  color: #848484;
}
.search input::-webkit-input-placeholder {
  color: #848484;
}
.search input:placeholder {
  color: #848484;
}
/* END SEARCH*/
/* HEADER */
#header {
  margin-top: 3px;
  position: relative;
  overflow: hidden;
  border-bottom: 3px double #000;
  min-height: 118px;
}
#header .allGuides {
  font-size: 13px;
  float: left;
}
#header .logoTurismo a, #header .logoTurismo img {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 199px;
  height: 70px;
  background: url('/img/turismo-de-portugal.png') no-repeat;
  padding-bottom: 20px;
}
#header #header h1,
#header #header h2 {
  line-height: 0;
  height: 0;
}
.guideLogo {
  clear: both;
  float: left;
}
.guideLogo img {
  margin-bottom: 16px;
  max-width: 100%;
  margin-top: 6px;
}
.guideLogo img,
.guideLogo .logoText {
  float: left;
}
.guideLogo .logoText {
  line-height: 1;
}
.guideLogo h1 {
  margin: 0;
  line-height: 0;
  height: 0;
  text-indent: -9999px;
}
.guideLogo h1 a {
  text-transform: uppercase;
  text-decoration: none;
  color: #000 !important;
}
h2 {
  margin: 0;
  font-size: 35px;
  font-weight: 900;
  line-height: 0;
  height: 0;
  text-indent: -9999px;
}
h2 a {
  padding-bottom: 23px;
  text-transform: uppercase;
  text-decoration: none;
}
.logoTurismo {
  margin-bottom: 18px;
}
/* END HEADER*/
/* START BREADCRUMS */
.breadcrumbs {
  font-size: 12px;
  padding-top: 16px;
  clear: both;
}
/* END BREADCRUMBS


/* START LANGUAGE */
.toolbar,
.language {
  font-size: 13px;
  float: left;
  margin-top: 14px;
}
.toolbar .options,
.language .options {
  padding-left: 8px;
}
.toolbar .options .unselected,
.language .options .unselected,
.toolbar .options a,
.language .options a {
  font-weight: 700;
  font-style: italic;
}
.toolbar .helpText,
.language .helpText {
  padding-left: 2px;
}
.language {
  float: right;
  margin-top: 0;
  margin-right: 4px;
}
/* END LANGUAGE */
/* print */
.print {
  padding-right: 7px;
  font-size: 11px;
  font-weight: normal;
}
/* END PRINT*/
/* LIST GUIAS */
.listGuias {
  list-style: none;
}
.listGuias li {
  overflow: hidden;
  clear: both;
  margin-bottom: 2em;
  margin-left: 23%;
}
/* START Content */
#pages-display #content {
  margin-top: 4em;
}
#content {
  position: relative;
  overflow: visible;
  clear: both;
}
.mainContent {
  width: 67%;
  float: left;
}
.mainContent .mainTextContent {
  border-left: 11px solid;
  padding-left: 2%;
  float: left;
}
.mainContent .mainTextContent h3 {
  line-height: 1.4;
  margin-bottom: 2%;
}
.mainContent .mainTextContent p {
  margin-bottom: 0;
  margin-top: 0;
}
.mainContent .mainTextContent p em {
  font-weight: 900;
}
.mainContent .mainTextContent .callout {
  margin: 12px 0 12px 28px;
  font-style: italic;
  font-weight: 700;
}
.mainContent .sideBar {
  float: right;
  width: 30%;
  font-size: 12px;
  margin-right: 3%;
  margin-top: 10%;
}
.mainContent .sideBar h4 {
  margin-top: 0;
}
.mainContent .sideBar ul {
  padding-left: 0;
}
.mainContent .sideBar ul li {
  list-style: none;
  margin-bottom: 0.5em;
}
.secondaryContent {
  margin-top: 24px;
}
.secondaryContent .mainTextContent {
  border-left: 11px solid;
  padding-left: 2%;
}
.mainContent .text {
  margin-bottom: 48px;
}
.arpts .mainContent {
  width: 50%;
}
.textContent {
  max-width: 40em;
}
.ui-tabs-panel {
  position: relative;
}
/* END content */
/* START REGIONS */
.regions {
  margin-top: 5px;
  float: right;
  position: relative;
  width: 33%;
}
.regions object {
  position: relative;
  z-index: 1;
}
.regions h4 {
  display: block;
  margin-left: 17%;
}
.regions img {
  display: block;
  margin-left: 4%;
}
.regions ul {
  z-index: 2;
  margin-top: 108px;
  list-style: none;
  font-weight: 700;
  font-style: italic;
  font-size: 18px;
  position: absolute;
  right: 0;
  top: 0;
}
.regions ul li {
  margin-bottom: 57px;
  height: 30px;
  overflow: visible;
  text-shadow: -1px 1px 1px rgba(255, 255, 255, 0.8);
}
#content .r-inside {
  width: 48%;
  margin-top: 0;
  display: block;
  float: right;
}
#content .r-inside object {
  position: relative;
  display: inline-block;
  vertical-align: top;
}
#content .r-inside ul {
  left: 0;
  margin-top: 0;
}
#content .r-inside ul li a {
  color: #fff;
}
#content .r-inside .map {
  width: 100%;
  height: 800px;
  float: right;
  text-align: center;
}
#content .r-inside .map img {
  width: 64%;
  float: right;
}
#content .r-inside .map ul {
  right: 10%;
}
#content .r-inside .map .norte {
  font-size: 2em;
  left: 42%;
  position: absolute;
  top: -12%;
}
.regionsResults {
  width: 50%;
}
.regionsResults th {
  text-align: left;
  font-weight: 700;
  font-style: italic;
  font-size: 16px;
}
.regionsResults td {
  line-height: 3em;
}
/* END REGIONS */
/* Search Results */
.listing tbody tr td {
  padding-top: 2%;
  padding-right: 2%;
}
/* Search Results */
/* VIEW PAGE */
.photos {
  max-width: 336px;
  margin-right: 2%;
  margin-bottom: 48px;
  float: left;
}
.photos .Mphoto {
  margin-bottom: 12px;
}
.photos .Sphoto {
  margin-right: 12px;
  margin-bottom: 12px;
}
.view .intro {
  width: 50%;
  float: left;
  margin-bottom: 48px;
}
.view .intro dl {
  overflow: hidden;
}
.view .intro dt,
.view .intro dd {
  float: left;
}
.view .intro dt {
  font-weight: bold;
  font-style: italic;
  width: 26%;
  clear: left;
}
.view .intro dd {
  width: 72%;
  margin-left: 2%;
}
.tabs {
  clear: both;
  overflow: hidden;
}
.tabs .infoGroup {
  width: 31%;
  margin-right: 2%;
  display: inline-block;
  vertical-align: top;
  zoom: 1;
  *display: inline;
}
.tabs .mediumGroup {
  width: 52%;
  margin-right: 6%;
}
dt {
  font-style: normal;
  font-weight: bold;
}
dd {
  margin-left: 0;
  margin-top: 0;
}
th {
  font-weight: 700;
  font-size: 14px;
}
td,
th {
  padding: 6px;
}
td.description {
  max-width: 400px;
}
.pageNav {
  clear: both;
  padding-top: 48px;
}
.pageNav div {
  width: 33%;
  float: left;
}
.pageNav .left {
  text-align: left;
}
.pageNav .center {
  text-align: center;
}
.pageNav .right {
  text-align: right;
}
/* START FOOTER */
#footer {
  clear: both;
  float: left;
  width: 100%;
  text-align: center;
  margin: 66px 0 28px;
  font-size: 10px;
  padding-top: 18px;
  border-top: 3px double #000;
}
#footer .copyright {
  text-align: center;
}
#footer .logoTurismo {
  float: none;
}
#footer img {
  margin-left: 10px;
  margin-top: 0;
  float: none;
}
#footer .toolbar {
  float: none;
  display: none;
}
/* END FOOTER */
/* ==|== media queries ======================================================
   PLACEHOLDER Media Queries for Responsive Design.
   These override the primary ('mobile first') styles
   Modify as content requires.
   ========================================================================== */
@media only screen and (min-width: 480px) {
  /* Style adjustments for viewports 480px and over go here */
}
@media only screen and (max-width: 650px) {
  .guideLogo {
    max-width: 80%;
  }
  .mainContent {
    margin-top: 24px;
    width: 100% !important;
  }
  #header {
    min-height: 100%;
  }
  #header .allGuides,
  #header .language {
    font-size: 12px;
  }
  .regions h4 {
    margin-left: 0;
  }
  .regions img {
    width: 106px;
  }
  .regions ul {
    margin-top: 70px;
    left: 106px;
  }
  .regions ul li {
    margin-bottom: 11px;
    font-size: 14px;
  }
  .search {
    width: 50%;
  }
  #enoturisms-index .tabs #tabs-2 ul {
    -webkit-column-count: 2;
    -webkit-column-gap: 24px;
    -moz-column-count: 2;
    -moz-column-gap: 24px;
    column-count: 2;
    column-gap: 6px;
    margin-top: 100px !important;
    padding-left: 0;
    left: 5%;
    right: 3%;
    line-height: inherit !important;
  }
  .secondaryContent .sideBar {
    float: none !important;
    width: 100% !important;
    margin-bottom: 24px;
  }
  /*	.listing th, .listing td {
  		display: inline;
  	}
  
  	.listing .TitConcelho, .listing .concelho {
  		color: black;
  		font-weight: bold;
  	} */
  .r-inside {
    display: none;
  }
  h3 {
    margin-bottom: 0;
  }
  .ui-tabs-nav li {
    width: 31%;
  }
  .ui-tabs-nav li a {
    white-space: nowrap;
    overflow: hidden;
    width: 90%;
    text-overflow: ellipsis;
  }
  #footer .autor {
    display: block;
    width: 199px;
    height: 70px;
    background: url('/img/turismo-de-portugal.png') no-repeat;
  }
}
@media only screen and (max-width: 768px) {
  .toolbar {
    display: none;
  }
  #footer .toolbar {
    display: block;
  }
  #header .logoTurismo {
    display: none;
  }
  .search {
    width: 100%;
  }
  .Mphoto {
    max-width: 100%;
  }
  #enoturisms-index .regions ul {
    margin-top: 0 !important;
    text-align: left;
    margin-left: 6%;
  }
  .view .intro {
    max-width: 400px;
    width: 100%;
  }
  #footer .autor {
    display: inline-block;
    width: 96px;
    height: 34px;
    background: url('/img/turismo-de-portugals.png') no-repeat;
    text-indent: -9999px;
    vertical-align: middle;
    margin-left: 10px;
  }
  .mainContent .sideBar {
    clear: both;
    float: left;
    width: 80%;
    margin-left: 5%;
  }
  .tabs .infoGroup {
    width: 100%;
  }
  .listGuias {
    padding-left: 0;
  }
  .listGuias li {
    margin-left: 0;
  }
}
@media only screen and (max-width: 960px) {
  body {
    font-size: 12px;
    min-width: 0;
  }
  #header .logoTurismo a {
    width: 96px;
    height: 34px;
    padding-bottom: 35px;
    background-image: url('/img/turismo-de-portugals.png');
  }
  #arpts-view .regions .map {
    height: 500px;
  }
  .tabs .extenso {
    display: inline-block;
    width: 3px;
    overflow: hidden;
    vertical-align: text-bottom;
    color: white;
  }
  .tabs .extenso:before {
    content: ".";
  }
  .ui-tabs-selected .extenso:before {
    color: #222;
  }
}
@media only screen and (min-width: 1024px) {
  .mainContent {
    width: 67%;
  }
  #museus-index .mainTextContent .text,
  #equestrians-index .mainTextContent .text {
    -webkit-column-count: 2;
    -webkit-column-gap: 24px;
    -moz-column-count: 2;
    -moz-column-gap: 24px;
    column-count: 2;
    column-gap: 24px;
  }
  #enoturisms-index .tabs #tabs-2 ul {
    -webkit-column-count: 2;
    -webkit-column-gap: 24px;
    -moz-column-count: 2;
    -moz-column-gap: 24px;
    column-count: 2;
    column-gap: 6px;
    margin-top: 100px !important;
    padding-left: 0;
    left: 5%;
    right: 3%;
    line-height: inherit !important;
  }
}
@media only screen and (max-width: 700px) {
  .language .helpText {
    display: none;
  }
  .regions ul {
    text-align: center;
  }
}
/* ==|== non-semantic helper classes ========================================
   Please define your styles before this section.
   ========================================================================== */
/* For image replacement */
.ir {
  display: block;
  border: 0;
  text-indent: -999em;
  overflow: hidden;
  background-color: transparent;
  background-repeat: no-repeat;
  text-align: left;
  direction: ltr;
  *line-height: 0;
}
.ir br {
  display: none;
}
/* Hide from both screenreaders and browsers: h5bp.com/u */
.hidden {
  display: none !important;
  visibility: hidden;
}
/* Hide only visually, but have it available for screenreaders: h5bp.com/v */
.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}
/* Extends the .visuallyhidden class to allow the element to be focusable when navigated to via the keyboard: h5bp.com/p */
.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}
/* Hide visually and from screenreaders, but maintain layout */
.invisible {
  visibility: hidden;
}
/* Contain floats: h5bp.com/q */
.clearfix:before,
.clearfix:after {
  content: "";
  display: table;
}
.clearfix:after {
  clear: both;
}
.clearfix {
  *zoom: 1;
}
