@charset "utf-8";

/* ============================================================
   LisbonLisboaPortugal.com — site stylesheet
   Palette reference:
     brand blue   #2784E3
     dark blue    #0A51A3
     frame grey   #E3E3E3
     shadow       5px 5px 5px #888
     link blue    #0000FF
   Structure:
     1. Reset & base
     2. Page layout
     3. Header & title boxes
     4. Image frames
     5. Navigation boxes
     6. Widget boxes & flags
     7. Typography
     8. Links
     9. Utilities & misc
    10. Tablet/desktop  (min-width: 730px)
    11. Wide desktop + related rail (min-width: 1260px)
   ============================================================ */


/* ============ 1. RESET & BASE ============ */

body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

h1, h2, h3, h4, h5, h6, p, ul, li {
  margin: 0;
  padding: 0;
  text-transform: none;
  font-weight: normal;
}

ul { list-style: none; }

img, object, embed, video { max-width: 100%; }

img { vertical-align: bottom; }

.no_pad_no_mar {
  padding: 0;
  margin: 0;
}


/* ============ 2. PAGE LAYOUT ============ */

.background_5 {
  margin: 0;
  padding: 0 0 30px;
  background-color: #F1EBDF;
  background-image: url(../ix/back-beach.jpg);
  background-repeat: no-repeat;
  background-size: 100%;
}

.container {
  margin: 0 auto;
  width: 100%;
  min-width: 310px;
  padding: 0 0 1%;
  background-color: rgba(250, 250, 250, 0.6);
  border-radius: 4px;
}

.words {
  width: 100%;
  margin: 0 auto 1%;
  padding: 0;
  background-color: #FFF;
}

.center_tours {
  clear: both;
  display: block;
  margin: 14px auto;
  padding: 14px 0;
  min-height: 480px;
  width: 100%;
}

.footer {
  padding: 2%;
  margin: 2% 0 0;
  border-top: 1px solid #999;
}


/* ============ 3. HEADER & TITLE BOXES ============ */

.header {
  margin: 0 auto;
  padding: 0;
  height: 190px;
  background-image: url(../ix/back/lisbon-850.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 50%;
}

/* shared blue texture for all branded boxes */
.title_box,
.widget_box,
.box_top, .box_bot,
.box_top_rev2, .box_bot_rev2,
.navboxtop, .navboxbottom {
  background-color: #2784E3;
  background-image: url(../ix/back2.jpg);
}

.title_box {
  width: 100%;
  margin: 10px auto;
  padding: 8px 0;
  clear: both;
  display: block;
}


/* ============ 4. IMAGE FRAMES ============ */

.imagesurroundbox,
.imagesurroundbox_600,
.imagesurroundbox_650,
.feat-img-wrap {
  position: relative;
  display: block;
  width: 90%;
  margin: 2% auto;
  padding: 0;
  border: 6px solid #E3E3E3;
  border-radius: 5px;
  box-shadow: 5px 5px 5px #888;
  text-align: center;
}

.imagesurroundbox      { max-width: 400px; }
.imagesurroundbox_600  { max-width: 600px; }
.imagesurroundbox_650  { max-width: 650px; }

.feat-img-wrap {
  width: 96%;
  max-width: 1200px;
  margin: 20px auto;
  background-color: #f0f0f0;
}

.imagecentremidpost {
  display: block;
  max-width: 100%;
  margin: 2% auto;
  text-align: center;
}

.im-center-no-board {
  display: block;
  width: auto;
  max-width: 99%;
  height: auto;
  margin: 2% auto;
}


/* ============ 5. NAVIGATION BOXES ============ */

.navigationbox {
  margin-top: 10px;
  clear: both;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.flex-break { flex-basis: 100%; }

.navbot4box {
  float: left;
  clear: none;
  width: 49%;
  margin: 0;
  padding: 0;
}

.navbot4box_rev2 { width: 45%; }

.picture2box { width: 100%; }

.boxholder {
  width: 170px;
  margin: 10px 0 10px 2%;
}

.navboxtop {
  width: 100%;
  margin: 0;
  padding: 7px 0;
  border-radius: 5px 5px 0 0;
  font-size: 18px;
  text-align: center;
  color: #FFF;
}

.navboxbottom {
  width: 100%;
  margin: 0;
  padding: 3px 5px;
  box-sizing: border-box;
  border-radius: 0 0 5px 5px;
  min-height: 60px;
  height: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  line-height: 140%;
  text-align: center;
  color: #0F0F0F;
  overflow-wrap: break-word;
  word-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
}

.box_top,
.box_bot {
  width: 170px;
  margin: 0;
}

.box_top { border-radius: 5px 5px 0 0; height: 30px; }
.box_bot { border-radius: 0 0 5px 5px; height: 35px; }

.box_top_rev2,
.box_bot_rev2 {
  width: 100%;
  margin: 0;
}

.box_top_rev2 { border-radius: 5px 5px 0 0; padding: 3px 0; }
.box_bot_rev2 { border-radius: 0 0 5px 5px; padding: 5px 0; }


/* ============ 6. WIDGET BOXES & FLAGS ============ */

.widget_box {
  width: 340px;
  margin: 10px 2px 10px 0;
  padding: 5px;
  border-left: 4px solid #0A51A3;
  border-radius: 0 7px 7px 0;
  box-shadow: 5px 5px 5px #888;
}

.flag {
  margin: 7px 8px 2px;
  padding: 0;
}


/* ============ 7. TYPOGRAPHY ============ */

.title_h1 {
  font-size: 23px;
  text-align: center;
  color: #FFF;
}

.title_h2 {
  font-size: 22px;
  text-align: center;
  color: #FFF;
  padding-top: .5%;
  padding-bottom: .5%;
}

.title_h2_centre {
  font-size: 22px;
  text-align: center;
  color: #3F3F3F;
  padding-top: .5%;
  padding-bottom: .5%;
}

.top_navigation {
  font-size: 18px;
  text-align: center;
  color: #FFF;
  padding: 3px;
}

.bottom_navigation {
  font-size: 18px;
  text-align: center;
  color: #484848;
}

.text_justified {
  font-size: 17px;
  line-height: 170%;
  text-align: left;
  padding: 8px 4%;
  color: #383838;
}

.text_centre {
  font-size: 16px;
  line-height: 160%;
  text-align: center;
  padding-right: 3%;
  padding-left: 3%;
  color: #0F0F0F;
}

.text_bot_nav {
  font-size: 16px;
  line-height: 190%;
  text-align: center;
  color: #1D1D1D;
}

.text_small_image {
  font-size: 14px;
  text-align: center;
  margin: 0 0 10px;
  padding: 0 2%;
  color: #000;
}

.text_small_left {
  font-size: 14px;
  text-align: left;
  margin: 0;
  padding: 0 0 0 3%;
  color: #000;
}


/* ============ 8. LINKS ============ */

a {
  color: #0000FF;
  text-decoration: none;
  transition: color .5s, opacity .5s;
}

a:visited,
a:active {
  color: #0000FF;
}

a:hover {
  color: #000000;
  opacity: .85;
}


/* ============ 9. UTILITIES & MISC ============ */

.mobile      { display: block; }   /* mobile-only content */
.hide-mobile { display: none; }    /* shows at 1260px (rail content) */
.hide_mobile { display: none; }    /* shows at 730px */
.box_right   { display: none; }

/* weather charts */
.image-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.responsive-image {
  max-width: 100%;
  height: auto;
}


/* ============================================================
   10. TABLET / DESKTOP  (min-width: 730px)
   ============================================================ */

@media only screen and (min-width: 730px) {

  .mobile      { display: none; }
  .hide_mobile { display: inline; }

  .background_5 {
    margin: 0;
    padding: 50px 0 0;
    background-repeat: no-repeat;
    background-attachment: fixed;
  }

  .container {
    clear: none;
    float: none;
    width: 90%;
    min-width: 738px;
    max-width: 940px;
    padding: 1.5% 0;
  }

  .box_left {
    width: 100%;
    min-width: 736px;
    margin-left: auto;
    margin-right: auto;
  }

  .words {
    width: 98%;
    min-width: 734px;
    margin: 3px auto;
    padding: 1% 0 0;
    border-radius: 4px;
    clear: both;
  }

  .header {
    height: 300px;
    width: 90%;
    max-width: 840px;
    margin-bottom: 2%;
    border: 12px solid #FBFDFF;
    border-radius: 3px;
    box-shadow: 5px 5px 5px #888;
  }

  .title_box {
    width: 95%;
    margin: 10px 5px;
    padding: 10px 5px;
    border-left: 4px solid #0A51A3;
    border-radius: 0 4px 4px 0;
    box-shadow: 5px 5px 5px #888;
  }

  .imagesurroundbox,
  .imagesurroundbox_600,
  .imagesurroundbox_650 {
    margin: 15px auto;
    border-width: 8px;
  }

  .feat-img-wrap {
    max-width: 650px;
    margin: 25px auto;
    border-width: 8px;
  }

  .imagecentremidpost {
    margin: 15px auto;
    max-width: 95%;
    border: 12px solid #E3E3E3;
    box-shadow: 5px 5px 5px #888;
  }

  .im-center-no-board {
    margin: 10px auto;
    max-width: 95%;
  }

  .center_tours { min-height: 410px; }

  .navbot4box {
    float: left;
    clear: none;
    width: 25%;
    margin-top: 10px;
  }

  .navbot4box_rev2 {
    width: 30%;
    margin-top: 10px;
  }

  .picture2box { width: 50%; }

  .title_h1 { font-size: 28px; text-align: left; }
  .title_h2 { font-size: 24px; text-align: left; }
  .title_h2_centre { font-size: 24px; }

  .text_justified {
    font-size: 16px;
    line-height: 180%;
    padding-right: 20px;
    padding-left: 20px;
  }

  .text_centre { font-size: 16px; line-height: 180%; }
  .text_small_left { font-size: 14px; }
  .bottom_navigation { font-size: 20px; }
}


/* ============================================================
   11. WIDE DESKTOP + RELATED RAIL  (min-width: 1260px)
   ============================================================ */

@media only screen and (min-width: 1260px) {

  .mobile       { display: none; }
  .hide_desktop { display: none; }

  .hide-mobile {
    display: block;
    margin: 10px auto;
  }

  .container {
    position: relative;
    width: 95%;
    max-width: 1400px;
    margin-left: auto;
    padding-left: 7px;
    padding-right: 7px;
    clear: both;
    float: none;
  }

  .box_left {
    width: auto;
    min-width: 736px;
    margin-right: 373px;   /* makes room for the rail */
  }

  .words { max-width: 1000px; }

  .header {
    width: 93%;
    height: 350px;
    margin-bottom: 15px;
  }

  .related-rail {
    position: absolute;
    top: 0;
    right: 5px;
    width: 364px;
  }

  .related-rail .flex-container {
    flex-direction: column;
    align-items: center;
  }

  .related-rail .boxholder {
    width: 170px;
    margin-left: 0;
  }

  .rail-image {
    width: 320px;
    margin: 15px auto;
    border: 6px solid #E3E3E3;
    border-radius: 5px;
    box-shadow: 5px 5px 5px #888;
    text-align: center;
  }

  .imagesurroundbox {
    width: 90%;
    margin: 15px auto;
    border-width: 12px;
  }

  .imagesurroundbox_600 { border-width: 12px; }

  .imagecentremidpost { width: auto; }

  .im-center-no-board {
    margin: 15px auto;
    max-width: inherit;
  }

  .navbot4box_rev2 {
    width: 23%;
    margin-top: 10px;
  }

  .text_bot_nav {
    font-size: 17px;
    line-height: 170%;
  }

  .text_justified { line-height: 190%; }
}