/*!
Theme Name: Riksteatern2024
Theme URI: #
Author: eternitygroup.se
Author URI: eternitygroup.se
Description: Custom build WP Theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: riksteater.se
Tags: Custom build WP Theme
*/

.rt-menu .sub-menu {
  display: none;
}

.navbar-nav > li > a {
  color: #ffffff;
  font-size: 28px;
  display: block;
  margin: 0;
  font-family: "Platform Web";
  font-weight: 700;
  font-style: normal;
  font-stretch: normal;
  letter-spacing: -0.01em;
  padding-left: 0;
  padding-right: 0;
  padding-top: 14px;
  padding-bottom: 14px;
  transition: opacity 0.1s ease;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  text-decoration: none;
}

.navbar-nav > li:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.menu-huvudmeny-container {
  width: 100%;
}

.navbar-nav > li {
  padding-top: 0;
  padding-bottom: 0;
}

.navbar-nav .sub-menu {
  padding-left: 0;
}

.navbar-nav > li.menu-item {
  padding-left: 0;
}

.navbar-nav a {
  text-decoration: none;
}

.navbar-nav a:hover {
  text-decoration: initial;
}

.navbar-nav > li > .sub-menu > li {
  padding-left: 0;
}

.pagination ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding-left: 0;
  list-style: none;
}

.pagination .page-numbers.current {
  z-index: 3;
  color: #fff;
  background-color: #000000;
  border-color: #000000;
}

.pagination li:not(:first-child) a {
  margin-left: -1px;
}

.pagination a,
span.page-numbers {
  padding: 0.75rem 1.5rem;
  font-size: 1.25rem;
}

.pagination a:hover,
.pagination span:not(.dots):hover {
  z-index: 2;
  color: currentColor;
  background-color: #e9ecef;
  border-color: #dee2e6;
}

.pagination a,
span.page-numbers {
  position: relative;
  display: block;
  color: #000000;
  text-decoration: none;
  background-color: #ffffff;
  border: 1px solid #dee2e6;
  -webkit-transition: color 0.15s ease-in-out,
    background-color 0.15s ease-in-out, border-color 0.15s ease-in-out,
    -webkit-box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out,
    -webkit-box-shadow 0.15s ease-in-out;
}

.rt-header .rt-menu .list-group {
  border-left: none;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.rt-header.headroom--not-top .navbar {
  height: 80px;
}

.rt-footer .rt-menu a.rt-menu__link {
  margin: 0;
  padding: 8px 0;
  color: white;
  text-decoration: none;
  font-size: 24px;
  font-family: "Platform Web";
  font-weight: 700;
  font-style: normal;
  font-stretch: normal;
  letter-spacing: -0.01em;
  opacity: 1;
}

.rt-footer .list-group-item {
  border: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.rt-footer a {
  display: inline-block;
}

#hero-secondary-navigation-block {
  min-height: 365px;
}

@media screen and (max-width: 992px) {
  .rt-footer .list-group {
    display: block;
    text-align: center;
  }

  .standard-hero .block__content {
    position: initial;
  }
  .navbar.submenu {
    top: -56px;
  }
  .pb-m-0 {
    padding-bottom: 0 !important;
  }
}

@media screen and (max-width: 576px) {
}

@media screen and (min-width: 768px) {
  .rt-footer {
    text-align: left;
    padding-top: 50px;
  }
}

body[data-theme="pink"] section:not(.jumbotron) .navbar.submenu {
  background: #000;
}

body[data-theme="black"] .navbar.submenu {
  background: hsl(332, 79%, 49%);
}

@media screen and (min-width: 1200px) {
  .rt-footer .rt-menu a.rt-menu__link {
    font-size: 22px;
  }
}

@media screen and (min-width: 992px) {
  .rt-footer .rt-menu a.rt-menu__link {
    font-size: 20px;
  }

  .position-lg-relative {
    position: relative;
  }

  .top-lg-50 {
    top: 50% !important;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
  }
}

@media screen and (min-width: 992px) {
  .vertical .grid-item .card .card__image__wrapper img {
    height: 100%;
  }
}

.standard-hero .navbar .navbar-collapse.show + .page-title,
.standard-hero .navbar .navbar-collapse.collapsing + .page-title {
  visibility: hidden;
  opacity: 0;
}

.rt-header {
  pointer-events: auto;
}

.rt-editor img.alignleft {
  float: left;
  margin-right: 20px;
}

/*.table {*/
/*    border-color: #000;*/
/*}*/

body[data-theme="blue"] .navbar.submenu {
  background: hsl(262, 55%, 33.1%);
}



.siteid-811 .rt-menu {
  display: none!important;
}


@media screen and (max-width: 768px) {
  .navbar.submenu {
    top: -56px;
  }

  .siteid-368.page-id-39 table a {
    display: block;
  }
  .pagination a,
  span.page-numbers {
    padding: 5px 15px;
    font-size: 1rem;
  }
  .pagination {
    justify-content: center;
  }
}
.gallery-item img {
  max-width: 100%;
  height: auto;
}
.list-group-horizontal li::marker {
  content: "";
}
.wp-block-button a {
  text-decoration: none !important;
  border-radius: 0 !important;
}

.related-info.version--1 .col {
  max-width: 25%;
}

.related-info.version--1 {
  background: #f1f1f1;
}

.related-info.version--1.block--darker {
  background: #000;
}
.related-info.version--1 img,
.textblock.with-sidebar .related-item img {
  aspect-ratio: 1/1;
  object-fit: cover;
}

.related-info.version--1 a:hover,
.textblock.with-sidebar .related-item a:hover {
  text-decoration: underline #000 2px;
}
.textblock.with-sidebar .related-item h5 a, .related-info.version--1 .col .card h5 a {
  font-size: 16px;
  text-decoration: underline!important;
  text-decoration-color:  var(--accent)!important;
  text-decoration-thickness: 2px!important;
}

.related-info.version--1 .col .card h5 a 

.textblock.with-sidebar .right-sidebar .extra-small {
  font-size: 14px;
}

.textblock.with-sidebar .right-sidebar a img {
  width: 83px;
  height: 83px;
  object-fit: cover;
}

.lead-image + p {
  margin-top: 48px;
}
.rt-editor > h1:first-of-type,
.rt-editor > div > h1:first-of-type {
  margin-top: 0 !important;
}
.lead-image {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

p.lead + p.lead {
  margin-top: 0 !important;
}

@media screen and (min-width: 992px) {
  .rt-editor .editor-title,
  .rt-editor h1 {
    font-size: 64px;
  }
  .center-lead-image .lead-image {
    margin: 0 -80px;
  }
  .lead-image {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin-top: 24px !important;
    margin-bottom: 24px !important;
  }
  .rt-footer .list-group-horizontal > .list-group-item:first-child {
    padding-left: 0;
  }
}

.rt-editor p a.btn {
  font-size: 18px;
  line-height: 1.3;
}

.right-logo-position .rt-menu .list-group {
  border-right: none;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
} 

section.topbar {
  background: #000;
  position: relative;
  z-index: 11;
}

.only-topbar + section.textblock {
  padding-top: 80px;
}

section.topbar a {
  text-decoration: none;
}

section.topbar a:hover {
  text-decoration: underline var(--accent) 2px !important;
}
.topbar--logo {
  z-index: 1;
  top: 64px;
  right: 24px;
}

.topbar--logo svg {
}

.image-16-5 {
  aspect-ratio: 16/5;
  width: 100%;
  object-fit: cover;
  min-height: 365px;
}
.right-sidebar .related-item + .related-item {
  margin-top: 1.5rem;
}
figcaption {
  font-size: 13px;
}

.right-sidebar img {
  margin-bottom: 4px;
}
.right-sidebar > p,
.right-sidebar > h2,
.right-sidebar > h3,
.right-sidebar > h4,
.right-sidebar > h5,
.right-sidebar > h6 {
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 16px;
}
.right-sidebar > p {
  font-size: 14px;
  line-height: 1.1;
}
.right-sidebar > p:first-child,
.right-sidebar > h2:first-child,
.right-sidebar > h3:first-child,
.right-sidebar > h4:first-child,
.right-sidebar > h5:first-child,
.right-sidebar > h6:first-child {
  margin-top: 0;
}
@media screen and (max-width: 992px) {
  .topbar--logo {
    transform: translateX(-50%);
    right: auto;
    left: 50%;
    top: 73px;
  }
  .right-sidebar {
    margin-top: 24px;
  }
  .rt-editor img + div p:first-child {
    margin-top: 24px;
  }
  .rt-footer .socialmedia .socialmedia__item svg {
    height: 32px;
    width: 32px;
  }
  .image-16-5 {
    height: 365px;
  }
  .topbar--logo svg path {
    fill: #fff;
  }
  .related-info.version--1 .row {
    display: block !important;
  }
  .related-info.version--1 .col {
    max-width: 100%;
  }
  .related-info.version--1 .col .card {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: start;
  }

  .related-info.version--1 .col + .col {
    margin-top: 24px;
  }

  .related-info.version--1 .col .card img {
    width: 83px;
  }
  .related-info.version--1 .col .card > div {
    text-align: start;
    margin-left: 16px;
  }
  .related-info.version--1 .col .card > div h5 {
    font-size: 16px;
  }
  .related-info.version--1 .col .card > div p {
    font-size: 16px;
  }
  .related-info.version--1 {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  .center-on-m {
    text-align: center;
  }
  .topbar > .container-fluid {
    padding-left: 8px;
    padding-right: 8px;
  }
  section.standard-hero + .textblock .center-on-m {
    text-align: left !important;
  }
  section.d-none.only-topbar.standard-hero + .textblock .center-on-m {
    text-align: center !important;
  }
  
}
