/* ==============================================
   KingSize Hugo Theme - CSS
   Migrated from KingSize WordPress Theme v3.0.1
   Like-for-like recreation using Google Fonts
   ============================================== */

/* ========= CSS Reset ========== */
body, h1, h2, h3, h4, h5, h6, a, p, ul, ol, li, em, strong, pre, code, form {
  padding: 0;
  margin: 0;
}

/* ========= GENERAL STYLES ========== */
html {
  height: 100%;
}

body {
  color: white;
  font: 16px 'PT Sans', Verdana, Arial, Helvetica, sans-serif;
  line-height: 20px;
  background: black;
  height: 100%;
  overflow-x: hidden;
}

a {
  color: #a3a3a3;
  text-decoration: none;
}

a:hover {
  color: #cfcfcf;
}

#wrapper {
  width: 1000px;
  margin: 0 auto;
  position: relative;
  height: 100%;
  z-index: 100;
}

/* ========= BACKGROUND AND SLIDER STYLES ========== */
#tf_bg {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
}

#tf_bg img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  display: none;
}

#tf_bg img.active {
  display: block;
}

#tf_bg.slider img {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

#tf_bg.slider img.active {
  opacity: 1;
  display: block;
}

.grid {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../images/grid.png);
  z-index: 10;
}

/* ========= MENU STYLES ========== */
#menu_wrap {
  width: 240px;
  display: inline-block;
  position: fixed;
  top: 0;
  z-index: 500;
}

#menu {
  background: url(../images/menu_back.png) repeat-y top left;
  width: 220px;
  padding: 0 10px 25px 10px;
}

#logo {
  width: 220px;
  height: 160px;
}

#logo h1 {
  padding-top: 15px;
}

#logo h1 a {
  display: block;
  width: 220px;
  height: 160px;
  background-size: cover;
  background-position: center top;
  text-indent: -9999px;
}

#navbar {
  list-style: none;
  margin: 15px 0 -5px 20px;
  position: relative;
  z-index: 10000;
}

#navbar li {
  width: 160px;
  height: 29px;
  padding: 5px 10px 10px;
  border-bottom: 1px solid #343434;
  position: relative;
  z-index: 10000;
}

#navbar li:first-child {
  border-top: 1px solid #343434;
}

#navbar li a {
  display: block;
  width: 180px;
  height: 40px;
  font-family: 'PT Sans Narrow', 'Myriad Pro Cond', 'Helvetica', sans-serif;
  font-weight: bold;
  font-size: 18px;
  color: #a3a3a3;
  text-decoration: none;
  text-transform: uppercase;
  z-index: 20;
  outline: none;
}

#navbar li a strong {
  font-family: 'PT Sans Narrow', 'Myriad Pro Cond', 'Helvetica', sans-serif;
  font-weight: bold;
  font-size: 18px;
  text-transform: uppercase;
}

#navbar li a span {
  font-family: 'PT Sans', 'Myriad Pro', 'Helvetica', sans-serif;
  font-style: italic;
  font-weight: bold;
  font-size: 12px;
  color: #555555;
  position: absolute;
  top: 25px;
  left: 10px;
  z-index: 10;
  text-transform: none;
}

#navbar li.menu-item:hover {
  background: url(../images/menu_hover_arrow.png) no-repeat center right;
}

#navbar .sub-menu li.menu-item:hover {
  background: url(../images/submenu_hover_arrow.png) no-repeat right 4px;
}

#navbar li.current-menu-item a,
#navbar li.current-menu-ancestor > a,
#navbar li.current-menu-parent > a {
  color: white;
}

#navbar li.current-menu-item a span,
#navbar li.current-menu-ancestor a span,
#navbar li.current-post-parent a span {
  color: #aaaaaa;
}

/* Sub-menu styles */
#navbar li ul {
  position: absolute;
  top: -1px;
  left: 190px;
  list-style: none;
  background: black;
  border: 1px solid #2f2f2f;
  z-index: 1000;
  width: 180px;
  display: none;
}

#navbar li ul li ul {
  left: 150px;
  display: none;
}

#navbar li:hover > ul {
  display: block;
}

#navbar li:hover > ul li ul {
  display: none;
}

#navbar li:hover > ul li:hover > ul {
  display: block;
}

#navbar li ul li {
  padding: 0 0 10px 0;
  margin: 0 20px;
  min-height: 30px;
  width: 140px;
  border-color: #1b1b1b;
  position: relative;
  z-index: 1000;
}

#navbar li ul li a {
  padding: 12px 0 8px 30px;
  display: block;
  width: 140px;
  height: 20px;
  margin: 0 0 0 -10px;
  font-size: 12px;
}

#navbar li ul li:first-child {
  border-top: none;
}

#navbar li ul li:last-child {
  border-bottom: none;
}

/* Hide menu arrow */
#hide_menu {
  background: url(../images/hide_menu_back.png) no-repeat bottom left;
  width: 220px;
  height: 115px;
  margin: 0;
  padding: 0 30px;
  position: relative;
}

.menu_visible {
  background: url(../images/menu_hide_arrow_top.png) no-repeat top left;
}

.menu_hidden {
  background: url(../images/menu_hide_arrow_bottom.png) no-repeat top left;
}

#hide_menu a {
  display: none;
  width: 48px;
  height: 48px;
  text-indent: -9999px;
  position: absolute;
  top: 5px;
  left: 98px;
  outline: none;
  cursor: pointer;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

#hide_menu a:hover {
  opacity: 1;
}

/* ========= MAIN STYLES ========== */
#main_wrap {
  min-height: 100%;
  background: url(../images/content_back.png) repeat-y top left;
  margin: 0 0 0 240px;
}

#main {
  position: relative;
  width: 680px;
  padding: 0 40px 5px 40px;
  font: normal 16px 'PT Sans', Verdana, Arial, sans-serif;
  line-height: 20px;
  display: inline-block;
  z-index: 2;
}

#main h1 {
  font-family: 'PT Sans Narrow', 'Myriad Pro Cond', 'Helvetica', sans-serif;
  font-weight: bold;
  font-size: 40px;
  text-transform: uppercase;
  margin: 35px 0 20px 0;
}

#main h2 {
  font-family: 'PT Sans Narrow', 'Myriad Pro Cond', 'Helvetica', sans-serif;
  font-weight: bold;
  font-size: 30px;
  text-transform: uppercase;
  margin: 35px 0 20px 0;
}

#main h2.section_title {
  font-family: 'PT Sans Narrow', 'Myriad Pro Cond', 'Helvetica', sans-serif;
  font-weight: bold;
  font-size: 30px;
  text-transform: uppercase;
  margin: 19px 0 40px 0;
}

#main h3 {
  font-family: 'PT Sans', 'Myriad Pro', 'Helvetica', sans-serif;
  font-weight: bold;
  font-size: 20px;
  padding: 15px 0 12px 0;
  clear: left;
}

#main h4 {
  font-family: 'PT Sans', 'Myriad Pro', 'Helvetica', sans-serif;
  font-style: italic;
  font-size: 16px;
  padding: 10px 0 10px 0;
  clear: left;
}

#main h5 {
  font-family: 'PT Sans', 'Myriad Pro', 'Helvetica', sans-serif;
  font-weight: bold;
  font-size: 14px;
  padding: 20px 0 10px 0;
  clear: left;
}

#main h6 {
  font-weight: bold;
  font-size: 14px;
  padding: 12px 0 10px 0;
  clear: left;
}

/* Content */
#content {
  float: left;
  margin: -28px 0 30px 0;
  position: relative;
  z-index: 20;
}

.content_two_thirds {
  width: 460px;
}

.content_full_width {
  width: 680px;
}

#content p {
  margin-bottom: 10px;
}

#content .img_floated_left {
  float: left;
  margin: 5px 20px 10px 0;
  border: none;
}

#content .img_floated_right {
  float: right;
  margin: 5px 0 10px 20px;
  border: none;
}

#content img {
  margin: 0 0 10px;
  border: none;
  max-width: 100%;
  height: auto;
}

#content img.alignleft {
  float: left;
  margin: 5px 20px 10px 0;
  clear: both;
}

#content img.alignright {
  float: right;
  margin: 5px 0 10px 20px;
  clear: both;
}

#content ul, #content ol {
  margin: -10px 0 20px 35px;
}

#content ul li {
  margin-top: 2px;
}

#content ul.no_bullets, #content ol.no_bullets {
  list-style: none;
}

#content a {
  color: #9f9f9f;
  text-decoration: none;
}

#content a:hover {
  color: #cfcfcf;
}

/* ========= GALLERY STYLES ========= */
.gallery {
  margin: 20px 0 0 0;
}

.gallery ul li a img {
  border: none;
}

.gallery ul li {
  position: relative;
  z-index: 1;
}

.gallery_3columns {
  list-style: none;
  margin: 0 0 0 -10px;
  width: 690px;
  overflow: hidden;
}

.gallery_3columns li {
  display: inline;
  float: left;
  width: 220px;
  height: 140px;
  margin: 0 0 10px 10px;
  position: relative;
}

.gallery_2columns {
  list-style: none;
  margin: 0 0 0 -20px;
  width: 700px;
}

.gallery_2columns li {
  display: inline;
  float: left;
  width: 330px;
  height: 220px;
  margin: 0 0 20px 20px;
  position: relative;
}

.gallery_4columns {
  list-style: none;
  margin: 0 0 0 -13px;
  width: 700px;
  overflow: hidden;
}

.gallery_4columns li {
  display: inline;
  float: left;
  width: 160px;
  height: 110px;
  margin: 0 0 13px 13px;
  position: relative;
}

.gallery_grid {
  list-style: none;
  margin: 0 0 0 -3px;
  width: 710px;
  overflow: hidden;
}

.gallery_grid li {
  display: inline;
  float: left;
  width: 112px;
  height: 112px;
  margin: 0 0 2px 2px;
  position: relative;
}

.gallery a span {
  z-index: 2;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  cursor: pointer;
}

.gallery_3columns li a img,
.gallery_2columns li a img,
.gallery_4columns li a img,
.gallery_grid li a img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery li:hover a span {
  display: block;
}

.gallery .gallery_2columns a span.image_hover {
  background: black url(../images/gallery_hover/hover_image_big.png) no-repeat center center;
}

.gallery .gallery_2columns a span.video_hover {
  background: black url(../images/gallery_hover/hover_video_big.png) no-repeat center center;
}

.gallery .gallery_3columns a span.image_hover {
  background: black url(../images/gallery_hover/hover_image_medium.png) no-repeat center center;
}

.gallery .gallery_3columns a span.video_hover {
  background: black url(../images/gallery_hover/hover_video_medium.png) no-repeat center center;
}

.gallery .gallery_4columns a span.image_hover {
  background: black url(../images/gallery_hover/hover_image_small.png) no-repeat center center;
}

.gallery .gallery_grid a span.image_hover {
  background: black url(../images/gallery_hover/hover_image_grid.png) no-repeat center center;
}

/* Gallery top content area (for 5-star etc) */
#content_gallery_top {
  margin: -28px 0 0 0;
  position: relative;
  z-index: 20;
}

#content_gallery_top.content_full_width {
  width: 680px;
}

#content_gallery_top p {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 10px;
}

#gallery_fancybox {
  position: relative;
  z-index: 20;
}

/* ========= BLOG STYLES ========= */
.post h3 a {
  font-size: 20px;
  font-weight: bold;
  color: white;
  text-decoration: none;
}

.post .metadata {
  border-top: 1px solid #343434;
  border-bottom: 1px solid #343434;
  height: 16px;
  padding: 8px 10px 6px 10px;
  font-size: 11px;
  color: #9e9e9e;
  position: relative;
  margin: 10px 0 20px 0;
}

.post .metadata a {
  position: absolute;
  top: 8px;
  right: 10px;
  text-decoration: none;
  color: #9e9e9e;
  padding: 0 0 0 25px;
  background: url(../images/comment.png) no-repeat left -1px;
  display: block;
}

.post .metadata a:hover {
  text-decoration: underline;
}

.post .metadata p {
  padding: 0 0 0 25px;
  background: url(../images/calendar.png) no-repeat left -1px;
}

#content .post img.blog_thumbnail {
  border: 0;
  margin: 5px 0 15px 0;
}

.post a.thumbnail {
  margin: 0 0 20px 0;
}

.post {
  position: relative;
  padding: 0;
}

.single_post {
  padding: 0;
}

.post p {
  color: #c0c0c0;
}

.post a.read_more {
  font-size: 14px;
  color: white;
  text-decoration: none;
  position: absolute;
  right: 0;
  bottom: -26px;
}

.post a.read_more:hover {
  border-bottom: 1px solid white;
}

/* ========= SIDEBAR STYLES ========= */
#sidebar {
  float: left;
  width: 180px;
  margin: 10px 0 30px 40px;
}

#sidebar div {
  margin: 0 0 40px;
}

#sidebar h3 {
  font-size: 18px;
  padding: 0 0 20px 0;
  color: #d1d1d1;
  font-weight: normal;
}

#sidebar ul {
  list-style: none;
  margin: 0;
}

#sidebar ul li:first-child {
  border-top: 1px solid #2b2b2b;
}

#sidebar ul li {
  border-bottom: 1px solid #2b2b2b;
}

#sidebar ul li a {
  height: 100%;
  padding: 4px 10px 6px 10px;
  color: #9f9f9f;
  text-decoration: none;
  display: block;
}

#sidebar ul li:hover {
  background-color: #121212;
}

#sidebar ul li a:hover {
  color: #cfcfcf;
}

/* ========= CONTACT PAGE STYLES ========= */
#contact_form {
  margin: 27px 0 -50px 0;
}

input, textarea {
  background: #1b1b1b;
  border: 1px solid #333333;
  border-radius: 5px;
  color: white;
  padding: 3px 5px;
  font: 12px 'PT Sans', Verdana, Arial, sans-serif;
}

input:focus, textarea:focus {
  background: #232323;
  border: 1px solid #616161;
}

#contact_form input {
  height: 20px;
  width: 200px;
}

#contact_form textarea {
  width: 420px;
  height: 175px;
}

input#form_submit {
  height: 30px;
  padding: 0 0 2px 0;
  width: 150px;
  background: linear-gradient(to bottom, #424242, #282828);
  cursor: pointer;
}

input#form_submit:hover {
  background: linear-gradient(to bottom, #282828, #424242);
}

/* ========= FOOTER STYLES ========= */
#footer {
  width: 680px;
  padding: 25px 40px 0 0;
  font-size: 12px;
  position: relative;
  height: auto;
  clear: both;
}

#footer_columns {
  width: 680px;
  border-top: 1px solid #646464;
  margin: 0 auto;
  padding: 35px 0 40px 0;
  overflow: hidden;
}

#footer_columns div {
  float: left;
  width: 200px;
  margin-right: 40px;
}

#footer_columns div.last {
  margin-right: 0;
}

#footer_columns h3 {
  padding: 0 0 10px 0;
  font-size: 16px;
  color: #bfbfbf;
  border-bottom: 1px solid #333333;
  text-transform: uppercase;
  font-family: 'PT Sans Narrow', 'Myriad Pro Cond', 'Helvetica', sans-serif;
  font-weight: bold;
}

#footer_columns div ul {
  list-style: none;
}

#footer_columns div li {
  list-style: none;
}

#footer_columns div li a {
  color: #c1c1c1;
  display: block;
  padding: 5px 0 5px 10px;
  border-bottom: 1px solid #333333;
  text-decoration: none;
}

#footer_columns div li a:hover {
  background: #121212;
}

#footer_copyright {
  border-top: 1px solid #646464;
  padding: 9px 0 0 0;
  position: relative;
}

#footer_info {
  position: relative;
  width: 680px;
  margin: 0 auto;
}

#footer_info p {
  margin: 7px 0 14px 0;
  color: #bebebe;
  font-size: 11px;
}

/* ========= GRID LAYOUT CLASSES ========= */
.one_third {
  float: left;
  width: 200px;
  margin: 0 30px 30px 0;
}

.one_third_last {
  float: left;
  width: 200px;
  margin: 0 0 30px 0;
}

.two_thirds {
  float: left;
  width: 420px;
}

.one_half {
  float: left;
  width: 310px;
  margin: 0 30px 30px 0;
}

.one_half_last {
  float: left;
  width: 320px;
  margin: 0 0 30px 0;
}

/* Gallery index thumbnail styles */
.one_third img, .one_third_last img {
  width: 100%;
  height: auto;
  border: none;
  margin: 0 0 10px 0;
}

.one_third a, .one_third_last a {
  text-decoration: none;
  color: #9f9f9f;
}

.one_third a:hover, .one_third_last a:hover {
  color: #cfcfcf;
}

/* Clearfix */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* ========= PAGINATION STYLES ========= */
#pagination {
  float: left;
  position: relative;
  width: 460px;
  height: 25px;
  padding: 5px 0 35px 0;
}

#pagination a {
  color: white;
  text-decoration: none;
  font-style: italic;
  font-size: 14px;
  display: block;
}

#pagination-full {
  float: left;
  position: relative;
  width: 680px;
  height: 25px;
  margin-top: 15px;
  padding: 5px 0 35px 0;
}

/* ========= BUTTON STYLES ========= */
.button {
  display: inline-block;
  outline: none;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  font: italic bold 14px/100% 'PT Sans', Verdana, Arial, Helvetica, sans-serif;
  padding: 0.5em 2em 0.55em;
  text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
  border-radius: 0.5em;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.button:hover {
  text-decoration: none;
}

.button.black {
  color: #d7d7d7;
  border: solid 1px #333;
  background: linear-gradient(to bottom, #666, #000);
}

.button.black:hover {
  background: linear-gradient(to bottom, #444, #000);
}

/* ========= PRETTYPHOTO / FANCYBOX OVERRIDES ========= */
/* PhotoSwipe will be used instead, but keep the same visual feel */

/* ========= RESPONSIVE ADJUSTMENTS ========= */
/* For mobile - the original theme wasn't responsive, but we add basic support */
@media (max-width: 1024px) {
  #wrapper {
    width: 100%;
  }

  #menu_wrap {
    position: relative;
    width: 100%;
    display: block;
  }

  #menu {
    width: 100%;
    padding: 0 10px 10px 10px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }

  #logo {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
  }

  #logo h1 {
    padding-top: 5px;
  }

  #logo h1 a {
    width: 50px;
    height: 50px;
    border-radius: 50%;
  }

  #navbar {
    margin: 0 0 0 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
  }

  #navbar li {
    height: auto;
    padding: 5px 10px;
    border-bottom: none;
    border-right: 1px solid #343434;
  }

  #navbar li:first-child {
    border-top: none;
  }

  #navbar li a {
    height: auto;
    font-size: 14px;
  }

  #navbar li a span {
    position: relative;
    top: auto;
    left: auto;
    display: block;
    font-size: 10px;
  }

  #navbar li ul {
    position: absolute;
    top: 100%;
    left: 0;
  }

  #main_wrap {
    margin: 0;
  }

  #main {
    width: auto;
    padding: 0 20px 5px 20px;
  }

  .content_full_width {
    width: 100%;
  }

  .gallery_3columns {
    width: 100%;
    margin: 0;
  }

  .gallery_3columns li {
    width: calc(33.33% - 10px);
    height: auto;
    aspect-ratio: 220/140;
  }

  #footer,
  #footer_columns,
  #footer_info {
    width: 100%;
  }

  #footer {
    padding: 25px 20px 0 0;
  }

  #hide_menu {
    display: none;
  }
}

@media (max-width: 640px) {
  #navbar {
    flex-direction: column;
  }

  #navbar li {
    border-right: none;
    border-bottom: 1px solid #343434;
  }

  .gallery_3columns li {
    width: calc(50% - 10px);
  }

  #footer_columns div {
    float: none;
    width: 100%;
    margin-right: 0;
    margin-bottom: 20px;
  }

  .one_third, .one_third.left, .one_third_last {
    float: none;
    width: 100%;
    margin: 0 0 20px 0;
  }
}

/* ========= UTILITY ========= */
.hide {
  display: none;
}

/* Print styles */
@media print {
  #menu_wrap,
  #tf_bg,
  .grid,
  #hide_menu {
    display: none;
  }

  #main_wrap {
    margin: 0;
    background: white;
  }

  #main {
    color: black;
  }
}
