/*
Expositio theme by WPShower (GPL v2+), trimmed to the rules hotelphotoshoots.com used,
plus the site's own customiser overrides and the contact form.
*/

/* Reset */
* { margin: 0; padding: 0; }
html { height: 100%; }
body { margin-top: 0; text-align: left; }
ul.menu li { list-style: none; }
img, a img { border: none; outline: none; }

/* Links */
a { color: #000; background: transparent; text-decoration: none; }
a:focus, a:hover { color: #000; text-decoration: underline; }
.clr { clear: both; height: 0; }

/* Headings */
h1, h2 { font-weight: bold; margin-bottom: 20px; line-height: 20px; }
h4 { font-weight: bold; line-height: 20px; }

/* Sidebar */
#wps-sidebar { position: fixed; top: 0; left: 40px; width: 220px; padding: 60px 14px 6px 14px; z-index: 10; line-height: 20px; height: 100%; }
#wps-sidebar h1, #wps-sidebar h2, #wps-sidebar h4 { padding: 0 6px; }
.wpscls-menu-main { margin-bottom: 20px; }
.wpscls-menu-main li { list-style: none; }
.wpscls-menu-main li a { padding: 1px 6px; display: block; }
.wpscls-menu-main li.current-menu-item a { font-weight: bold; }
.wpscls-cate-post { margin-bottom: 20px; }

/* Content */
table.cls-table-gallery { margin: 60px 0 0 300px; border-spacing: 2px; }
table.cls-table-gallery td { vertical-align: top; padding-right: 28px; }
table.cls-table-gallery td.wpscls-post-content h2 { width: 450px; padding: 0 3px; margin-top: -2px; }
table.cls-table-gallery td.wpscls-post-content .wpscls-field-content { width: 450px; padding: 0 3px 16px 3px; line-height: 20px; }
table.cls-table-gallery td.wpscls-post-content .wpscls-field-content p { margin-bottom: 20px; }
table.cls-table-gallery td.wpscls-post-content .wpscls-field-content h1 { padding: 21px 0; margin-bottom: 0; font-size: 21px; line-height: 26px; }
table.cls-table-gallery td.wpscls-post-content .wpscls-field-content h2 { padding: 18px 0; margin-bottom: 0; font-size: 18px; line-height: 23px; }
table.cls-table-gallery td.wpscls-post-content .wpscls-field-content h3 { padding: 16px 0; margin-bottom: 0; font-size: 16px; line-height: 21px; }
table.cls-table-gallery td.wpscls-post-content .wpscls-field-content img { margin: 6px 0; }
table.cls-table-gallery td h5 { font-weight: normal; line-height: 20px; margin: 10px 0 4px 0; }

/* Site customiser overrides (from the original page head) */
body, h1, h2, h3, h4, h5 { font-size: 12px; }
body { font-family: "Droid Sans Mono", "Noto Sans Mono", monospace; color: #000; }
a, a:hover { color: #000; }
body, #wps-sidebar { background-color: #d0d1d8; }

/* Contact form */
.cntctfrm_contact_form { width: 450px; }
.cntctfrm_label { padding-top: 5px; }
.cntctfrm_input { padding-bottom: 5px; }
.cntctfrm_input input.text, .cntctfrm_input textarea { font: 12px "Droid Sans Mono", "Noto Sans Mono", monospace; padding: 3px; border: 1px solid #999; background: #fff; }
.cntctfrm_input_submit { padding-top: 8px; }
.cntctfrm_contact_submit { font: 12px "Droid Sans Mono", "Noto Sans Mono", monospace; padding: 3px 10px; cursor: pointer; }
.cntctfrm_contact_form .required { color: #c00; }
.cntctfrm_hp { position: absolute; left: -9999px; }
.cntctfrm_thanks, .cntctfrm_error_text { margin-bottom: 20px; }
.cntctfrm_error_text { color: #c00; }

/* ------------------------------------------------------------------
   Phones and small tablets. Desktop layout above is untouched.
   The sidebar's contents join the page flow so the menu sits on top
   and the footer line moves to the bottom.
------------------------------------------------------------------- */
@media (max-width: 820px) {
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body, h1, h2, h3, h4, h5 { font-size: 14px; }
  body { line-height: 1.6; }

  #wps-site-inner { display: flex; flex-direction: column; min-height: 100vh; padding: 0 18px; }
  #wps-sidebar { display: contents; }
  #wps-sidebar .clr, .wpscls-cate-post { display: none; }

  #wps-sidebar h1 { order: 1; padding: 22px 0 0; margin: 0 0 10px; font-size: 16px; line-height: 22px; }
  .wpscls-menu-main { order: 2; margin: 0 0 18px; padding-bottom: 14px; border-bottom: 1px solid rgba(0,0,0,.15); }
  .wpscls-menu-main ul { display: flex; flex-wrap: wrap; gap: 2px 4px; margin-left: -8px; }
  .wpscls-menu-main li a { padding: 6px 8px; line-height: 20px; }
  #wps-content { order: 3; flex: 1; }
  .wpscls-copyright { order: 4; padding: 24px 0 28px; margin-top: 20px; border-top: 1px solid rgba(0,0,0,.15); font-size: 12px; }

  table.cls-table-gallery, table.cls-table-gallery tbody, table.cls-table-gallery tr, table.cls-table-gallery td { display: block; width: auto; }
  table.cls-table-gallery { margin: 0; border-spacing: 0; }
  table.cls-table-gallery td { padding: 0; }
  table.cls-table-gallery td.wpscls-post-content h2,
  table.cls-table-gallery td.wpscls-post-content .wpscls-field-content { width: auto; padding-left: 0; padding-right: 0; }
  table.cls-table-gallery td.wpscls-post-content h2 { margin-top: 0; font-size: 15px; line-height: 22px; }
  table.cls-table-gallery td.wpscls-post-content .wpscls-field-content { line-height: 22px; }
  table.cls-table-gallery td h5 { line-height: 22px; }

  .wpscls-field-content img { max-width: 100%; height: auto; }
  .wpscls-field-content .wp-caption { width: auto !important; max-width: 100%; }
  .wpscls-field-content p.wp-caption-text { margin-bottom: 12px; }
  .wpscls-field-content [style*="width"] { max-width: 100%; }
  .wpscls-field-content p[style*="text-align: right"] { text-align: left !important; }

  .cntctfrm_contact_form { width: auto; }
  .cntctfrm_input input.text, .cntctfrm_input textarea { width: 100%; font-size: 16px; padding: 8px; box-sizing: border-box; }
  .cntctfrm_contact_submit { font-size: 16px; padding: 8px 18px; }
}
