/*
######################################################
MAIN POSITIONING STYLE  BEGINS
######################################################
*/
html {
  height: 100%;
}

body {
  margin: 0;
  padding: 0;
  color: #000;
  font: 12px Arial, Tahoma, Verdana, sans-serif;
  background: #333333 repeat-y center;
  height: 100%;
}

.layout {
  height: auto !important;
  margin: 0 auto -30px;
  position: relative;
  background-color: #ffffff;
}

.logo {
  padding: 30px 0px 0px 40px;
}

.logo img {
  margin: 0;
}

.logo h1 {
  padding: 8px 0 0;
}

.logo a :hover :focus {
  text-decoration: none;
}

.middle-background {
  width: 900px;
  height: 320px;
  background-image: url(/img/middle_fill.png);
  margin: 40px auto 10px auto;
}

.header {
  position: relative;
  padding: 0px;
  /* background-color: #ffffff; */
  height: 150px;
  background-image: url(/img/rimma_topshadow.png);
  background-position: bottom;
  background-repeat: repeat-x;
}

pre {
  background-color: #eee;
  padding: 0.75em 1.5em;
  border: 0.2em solid #ddd;
}

.footer {
  /* background-color: #ffffff; */
  clear: both;
  height: 30px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.push {
  clear: both;
  height: 30px;
}

a {
  color: black;
  font-weight: normal;
  text-decoration: none;
}

a:active,
a:hover,
a:focus,
a:visited {
  outline: 0;
  text-decoration: none;
  color: initial;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: Helvetica, Arial, sans-serif;
  font-weight: normal;
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 170%;
}

h2 {
  font-size: 160%;
  line-height: 130%;
}

h3 {
  font-size: 140%;
}

h4 {
  font-size: 130%;
}

h5 {
  font-size: 120%;
}

h6 {
  font-size: 110%;
}

.main-body {
  position: relative;
  background-color: #ffffff;
  background-image: url(/img/bottom_shadow.png);
  background-position: top;
  background-repeat: repeat-x;
  float: left;
  padding: 15px 0;
}

.intro-header.big-img {
    margin-top: 0;
}

/*
######################################################
DETAILS STYLE  BEGINS
######################################################
*/

.splash_main {
  height: 333px;
  background-image: url(/img/splash_middle.gif);
}

.flipper {
  display: block;
  margin: 10px 30px;
  width: auto;
  background: url(/img/middle_fill.png);
}

#flat:not(.flipster--active) {
  visibility: hidden;
}

.flipper ul li img {
  opacity: 1;
  background-color: white;
}

.form-item label {
  font-size: 1em;
  color: #222;
}

.item-list .title {
  font-size: 1em;
  color: #222;
}

.views-row {
  padding-bottom: 15px;
}

tr.odd td,
tr.even td {
  padding: 0.3em;
}

.error {
  border-color: red;
}

.messages {
  background-color: #eee;
  border: 1px solid #ccc;
  padding: 0.3em;
  margin-bottom: 1em;
}

.sticky {
  padding: 0.5em;
  background-color: #eee;
  border: solid 1px #ddd;
}

#site-name {
  margin-top: -10px;
  font-size: 17px;
  font-weight: normal;
}

.main-body .inside h1.title {
  display: none;
  font-size: 180%;
  letter-spacing: -1px;
}

.node .content p {
  letter-spacing: -0.1px;
  font-size: 14px;
}

.breadcrumb {
  display: block;
  font-size: 1.5em;
}

.pswp__custom-caption {
  background: rgba(0, 0, 0, 0.72);
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  max-width: calc(100vw - 32px);
  padding: 8px 12px;
  border-radius: 4px;
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
}

.pswp__custom-caption a {
  color: inherit;
  text-decoration: underline;
}

.page-wide ul {
  column-count: 2;
  column-gap: 40px;
  padding-left: 20px;
}

@media (max-width: 767px) {
  .page-wide ul {
    column-count: 1;
  }
}

.page-wide ul li {
  break-inside: avoid;
  margin-bottom: 6px;
}

.gallery-back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 8px 0 16px;
  padding: 0;
  font-family: Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.2;
  color: #333;
  text-decoration: none;
  background: none;
  border: 0;
}

a.gallery-back:hover,
a.gallery-back:focus {
  color: #000 !important;
  text-decoration: underline !important;
}

.gallery-back__icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.gallery-back__label {
  letter-spacing: 0.2px;
}

.gallery-index {
  overflow: hidden;
  margin: 10px auto;
  max-width: 900px;
}

.gallery-index__grid {
  overflow: hidden;
}

.gallery-index__card {
  float: left;
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}

@media only screen and (min-width: 365px) {
  .gallery-index__card {
    width: 50%;
    padding-bottom: 50%;
  }
}

@media only screen and (min-width: 480px) {
  .gallery-index__card {
    width: 33.3%;
    padding-bottom: 33.3%;
  }
}

.gallery-index__card:hover,
.gallery-index__card:focus {
  color: inherit;
  text-decoration: none;
}

.gallery-index__media {
  position: absolute;
  left: 5px;
  right: 5px;
  top: 5px;
  bottom: 5px;
  overflow: hidden;
  background: #f4f4f4;
  border-radius: 10px;
}

.gallery-index__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  display: block;
}

.gallery-index__body {
  position: absolute;
  left: 5px;
  right: 5px;
  bottom: 5px;
  background: rgba(255, 255, 255, 0.85);
  color: #222;
  text-align: center;
  padding: 10px 12px;
  border-radius: 0 0 10px 10px;
}

.gallery-index__title {
  margin: 0;
  font-size: 16px;
  line-height: 1.2;
  color: #222;
}

.gallery-index__subtitle {
  margin: 4px 0 0;
  font-size: 13px;
  line-height: 1.35;
  color: #555;
}

.main-body > .grid_12 > .inside {
  padding: 15px 30px;
}

.main-body .content > p {
  margin: 0 15px 10px 0;
}

.main-body .inside a {
  font-weight: bold;
}

img.imagecache-250preset {
  margin: 10px 10px 0px 0px;
  padding: 0px;
  border: 0px;
  display: block;
}

.view-gallery .views-field-title a {
  font-weight: bold;
  font-size: 16px;
  letter-spacing: -1px;
}

.view-gallery .views-field-body {
  font-size: 14px;
}

.inside .node a {
  text-decoration: underline;
}

/*
Shadow boxes
*/

#shadow-boxes .node .content p {
  font-size: 10px;
  padding: 0px;
  margin: 0px;
}

#shadow-boxes .inside h2.pane-title {
  margin: 0px;
  color: black;
  background-color: #eeeeee;
  text-align: right;
  padding: 5px 10px;
  margin-bottom: 20px;
  font-weight: bold;
}

#shadow-boxes .inside .node h2 {
  font-size: 14px;
  font-weight: bold;
}

#shadow-boxes .inside a {
  margin: 0px;
}

#shadow-boxes .meta {
  display: none;
}

#shadow-boxes .inside {
  clear: both;
  overflow: visible;
}

.shadow-one {
  padding-top: 50px;
  padding-left: 50px;
}

.corner-a {
  position: absolute;
  right: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background: url(/img/shadow_square.png) right top no-repeat;
}

.corner-b {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 50px;
  background: url(/img/shadow_square.png) left bottom no-repeat;
}

.shadow-two {
  background: url(/img/shadow_square.png) right bottom no-repeat;
}

.shadow-three {
  position: relative;
  left: -50px;
  top: -50px;
  background: url(/img/shadow_square.png) left top no-repeat;
}

.shadow-four {
  position: relative;
  left: 25px;
  top: 25px;
}

/*
NAVIGATION STYLE  BEGINS
*/
.primary-menu {
  height: 37px;
  background-image: url(/img/menu_bg.gif);
}

.primary-menu .links {
  line-height: 34px;
  font-size: 18px;
}

.primary-menu .links li {
  padding: 0px;
  float: left;
  display: inline-block;
}

.primary-menu .links li a {
  padding: 0px 1em;
  display: block;
  color: white;
  text-shadow: 0px 2px 3px #000;
}

.primary-menu .links li:hover {}

/**
  Overrides
**/

@media only screen and (min-width: 768px) {
  .intro-header {
    margin-top: 40px;
  }
  .intro-header.big-img {
    margin-top: 91px;  /* Full navbar is small navbar + 20px padding on each side when expanded */
  }
  .intro-header.big-img .page-heading,
  .intro-header.big-img .post-heading  {
    padding: 150px 0;
  }
  .intro-header .page-heading h1,
  .intro-header .tags-heading h1,
  .intro-header .categories-heading h1 {
    font-size: 30px;
  }
  .intro-header .post-heading h1 {
    font-size: 26px;
  }
  .intro-header.big-img .img-desc {
    font-size: 14px;
  }
}

.breadcrumb ol {
  padding-left: 0;
}

.breadcrumb li {
  display: inline;
}

.breadcrumb li:not(:last-child)::after {
  content: "»";
}

.social-icon {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.home-container {
  width: 100%;
  max-width: 1100px;
  padding-left: 24px;
  padding-right: 24px;
  margin-top: 0;
  margin-bottom: 0 !important;
}

.home-bio {
  background: #ffffff;
  padding: 20px 40px;
  color: #1a1a1a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.55;
  text-align: justify;
  hyphens: auto;
}

.home-bio img {
  float: left;
  margin: 6px 22px 22px 0;
  max-width: 260px;
  height: auto;
}

.home-bio p {
  margin: 0 0 0.7em;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: 0.1px;
}

.home-bio p:first-of-type::first-letter {
  font-size: 2.6em;
  font-weight: 600;
  float: left;
  line-height: 0.95;
  padding: 4px 10px 0 0;
  color: #222;
}

.home-bio h1,
.home-bio h2,
.home-bio h3 {
  font-family: Helvetica, Arial, sans-serif;
  color: #111;
  margin: 0 0 0.6em;
}

@media (max-width: 768px) {
  .home-bio {
    padding: 28px 22px;
    font-size: 16px;
    text-align: left;
  }
  .home-bio img {
    float: none;
    display: block;
    margin: 0 auto 18px;
    max-width: 100%;
  }
  .home-bio p:first-of-type::first-letter {
    font-size: 1em;
    float: none;
    padding: 0;
  }
}

