/**
 * user.css www.myskyhotel.de by Helmuth Rothkopf
 *
 * Copyright Helmuth Rothkopf
 *
 * Designed an built to overwrite Joomla css-files
 */

.mod-languages a { /* bis enlische Seite online ist */
	display: none;
}
.mod-languages {
	background-color: transparent !important;
}

/* Overwrites */
:root {
  --custom-color: rgb(164, 151, 111); /* brown */
  --custom-bg-color: #243866; /* light blue */
}
body {
  font-family: 'Yantramanav', sans-serif;
}
p {
  text-align: justify;
}
.grid-child.container-nav {
	display: flex;
	align-items: center;
	font-family: 'Old Standard TT', serif;
	letter-spacing: .05em;
	text-transform: uppercase;
}
.container-header {
	opacity: .9;
}
.container-header nav {
	margin-top: 0;
}
.container-header .container-nav nav {
	margin-top: .2em !important;
}
.container-header .navbar-toggler {
	color: var(--custom-color);
	border: none;
	z-index: 10;
}
.navbar-toggler:focus {
	box-shadow: none;
}
.container-header .navbar-collapse.show {
	background-color: #fff;
	width: 100vw;
	left: 0;
	position: fixed;
	top: 0;
	padding-top: 4em;
	padding-left: 2em;
	padding-bottom: 100vh;
}

.rooms .site-grid, .surroundings .site-grid {
  grid-gap: 0 0 !important;
}
main, .footer{
  margin-top: 0 !important;
}
.container-bottom-a, .container-bottom-b {
  grid-column: full-start/full-end;
}
.container-bottom-a > *, .container-bottom-b > * {
  margin: 0;
}
.grid-child.container-bottom-a {
  display: block;
}
.btn.btn-primary {
	border-color: var(--btn-color);
	border-radius: 0;
	letter-spacing: .05em;
	font-family: 'Old Standard TT', serif;
	text-transform: uppercase;
}
.btn.btn-primary a {
  color: var(--custom-color);
  text-decoration: none;
}
.btn.btn-primary:hover, .btn.btn-primary:hover a {
  color: var(--footercolor);
}
.surroundings .btn.btn-primary {
	margin-top: 2em;
	margin-bottom: 2em;
}
.container-banner {
  margin-bottom: 0;
}
a:hover, .footer a:not(.btn):hover, .visform a:hover {
	color: var(--custom-color);
}
.imprint a, .privacy a, .visform a {
	color: var(--body-color);
}
.mod-footer a {
  text-decoration: none;
}
h1, h2, h3, h4, h5, h6 {
  color: var(--custom-color);
  	font-family: 'Old Standard TT', serif;
	text-transform: uppercase;
  	letter-spacing: .02em;
}
h2::before {
	content: '';
	position: absolute;
	left: 50%;
	top: -1.8em;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	width: 75%;
	height: 75%;
    background: url('/images/own-images/icons/logo-small.svg') no-repeat center;
	background-size: auto;
}
h2 {
	position: relative;
	text-align: center;
	font-weight: 400;
}
h2::after {
    background-color: var(--custom-color);
	content: '';
	display: block;
	height: 1px;
	margin: 1.2rem auto 3rem;
	width: 3em;
}
h3, .h3 {
	font-weight: normal !important;
	padding-top: 1em;
	text-transform: uppercase;
}
h4, .h4 {
	font-size: calc(1rem + .3vw);
	font-weight: normal;
}
.mod-languages {
	background-color: var(--custom-color);
	border-radius: 50%;
	height: 28px;
	width: 28px;
}
div.mod-languages li {
	margin: 0 .25rem;
}
div.mod-languages a {
	padding: .06rem;
	font-size: .8em;
}
div.mod-languages a:hover {
	color: var(--link-color);
}
li {
	list-style-image: url('/images/own-images/icons/li.svg');
}
.item-page.rooms li {
	display: flow-root list-item;
}
.back-to-top-link {
	color: var(--custom-color);
	border-color: var(--custom-color);
}
.back-to-top-link:hover, .back-to-top-link:focus {
	/*color: var(--custom-color);*/
	background-color: var(--custom-color);
}

 /* Added styles */
.item-page.hotel, .item-page.imprint, .item-page.privacy {
	padding-top: 7rem;
}
.item-page.imprint, .item-page.privacy {
	padding-bottom: 4rem;
}
.item-page.hotel .custom-grid-3 {
	padding-top: 2.5rem;
}
.item-page.hotel .room {
	padding-bottom: 4em;
	text-align: center;
}
.item-page.hotel figcaption {
	color: var(--custom-color);
	padding-top: 2em;
	font-size: 1em;
	text-transform: uppercase;
	font-weight: 400;
	letter-spacing: .05em;
	font-family: 'Old Standard TT', serif;
}
.mod-phone {
	position: absolute;
	left: 5.2em;
}
.mod-phone p {
	margin-bottom: 0;
	color: var(--custom-color);
}
.mod-teaser {
	background-color: var(--cassiopeia-color-primary);
	color: var(--custom-color);
	padding: 1em 4vw;
}
.mod-teaser .custom-grid-3 {
	padding: 2em;
}
.mod-teaser img {
	float: left;
	padding-right: 1em;
	max-width: 80px;
}
.mod-teaser p {
	font-family: 'Old Standard TT', serif;
	letter-spacing: .05em;
	text-transform: uppercase;
	margin-bottom: 0;
}
.mod-teaser p + p {
	color: #7d7d7d;
	font-size: .9em;
	text-transform: none;
	margin-bottom: 1rem;
	font-family: var(--body-font-family);
}
.mod-breakfast, .mod-contact, .mod-directions {
	padding-top: 7rem;
	padding-bottom: 2.5rem;
}
.mod-breakfast, .mod-directions {
  background-color: var(--headerbg);
  color: var(--footercolor);

  padding-left: 2em;
  padding-right: 2em;
}
.moduletable.mod-contact p {/* bei Bild,rechts ändern */
	text-align: center;
	padding-left: 1rem; 
	padding-right: 1rem;
}
.mod-contact, .double-room, .nearby.item4 {
	background-color: var(--custom-bg-color) !important;
	color: var(--footercolor);
}
.mod-payment {
	padding: 1em 2em;
}
.mod-payment img {
	width: auto;
	height: 35px;
	padding-right: .5em;
}
.custom-grid-2 {
  display: grid;
}
.custom-grid-2 em {
  float: right;
}
.single-room img, .double-room img, .junior-suite img, .nearby img { 
  width: 100%;   /* erforderlich, da Bilder zu klein */
}
.room img {
  width: 100%;
}
.room-features {
	font-size: .5rem;
	color: var(--custom-color);
}
.room-features p {
	margin-bottom: 0;
	text-align: center;
}
.room-features img {
	height: 25px;
  margin: 1em 0;
}

/* Annimations */
.text-slider {
  width: 100%;
  height: 60px;
  overflow: hidden;
}
.text-slider-item {
  width: 100%;
  position: absolute;
  opacity: 0;
  animation: text-slider 9s linear infinite;
}
.text-slider-item img {
    width: 100px;
    height: 100%;
   }
@keyframes text-slider {
    0% {opacity: 0}
    5% {opacity: 1}
    25% {opacity: 1}
    30% {opacity: 0}
    100% {opacity: 0}
}
.text-slider-item:nth-child(1) {animation-delay: 0s}
.text-slider-item:nth-child(2) {animation-delay: 3s}
.text-slider-item:nth-child(3) {animation-delay: 6s}

/* external Plugin/Module */
.container-banner .showplus-container {
	top: -70px;
	margin-bottom: -70px !important;
}
#showplus_images_own-images_banner > .showplusx-slideshow {
	height: 50vw !important;
}

#visformcontainer {
	padding-top: 7rem;
}
.visform {
	max-width: 560px;
	margin-left: auto;
	margin-right: auto;
}
.visform .btn, .visform .form-control, .visform .form-check-input[type="checkbox"] {
  border-radius: 0;
}
form#visform1 .vis_mandatory {
	color: #bf1722;
	margin-bottom: 2em;
}
.read-agb {
	font-size: .8rem;
  margin-top: -1rem
}

/* Screen adjustments */
@media (max-width: 479px) {
  .mod-payment img {
    height: 27px;
  }
  .mod-teaser {
    font-size: .7em;
    padding: 1.5em 2em 0;
  }
  .mod-teaser img {
    max-width: 65px;
  }
  .item-page.rooms li {
	padding-bottom: .3em;
  }
    .single-room.item1, .double-room.item2, .junior-suite.item1, .nearby.item1, .nearby.item4, .nearby.item5{
	padding: 0.5em 2em;
  }
  .moduletable.custom-logo {
   display: none;
}
}
@media (max-width: 540px) {
    .visform .btn-danger {
	margin-top: 1rem;
}
}
@media (min-width: 480px) {
.single-room.item1, .double-room.item2, .junior-suite.item1, .nearby.item1, .nearby.item4, .nearby.item5 {
	background: url('/images/own-images/icons/logo-small.svg') no-repeat center;
	background-position: 2em 2em;
	background-size: 1.5rem;
}
  .single-room.item1, .double-room.item2, .junior-suite.item1, .nearby.item1, .nearby.item4, .nearby.item5{
	padding: 0.5em 5em;
  }
  .moduletable.custom-logo {
	position: absolute;
	z-index: 2;
	left: 12.5vw;
	top: 8.2vw;
	width: 10%;
}

}
@media (max-width: 679px) {
 .visform .col-3, .visform .col-9 {        
	width: 100%;
 }
 .visform .offset-3 {
	margin-left: 0;
 }
}
@media (min-width: 680px) {
    .item-page.hotel .custom-grid-3, .moduletable.mod-directions .custom-grid-3 {
    display: grid;
    grid-template-columns: 30% 30% 30%;
    gap: 2em;
    justify-content: center;
  }
    .item-page.hotel .innerText, .mod-breakfast .innerText {
    padding: 0 6vw;
  }
}
@media (max-width: 995px) {
  .single-room.item1, .nearby.item1 {
    order: 2;
  }
    .single-room.item2, .nearby.item2 {
    order: 1;
  }
    .double-room.item1, .nearby.item3 {
    order: 3;
  }
    .double-room.item2, .nearby.item4 {
    order: 4;
  }
    .junior-suite.item1, .nearby.item5 {
    order: 6;
  }
    .junior-suite.item2, .nearby.item6 {
    order: 5;
  }
  .footer .grid-child {
    align-items: normal;
  }
  #showplus_images_own-images_slider > .showplusx-slideshow {
	height: 50vw !important;
  }
  .room-features .custom-grid-3 {
	grid-template-columns: 30% auto 30%;
	display: grid;
}
  .room-features {
	padding-bottom: 2em;
}
  .item-page.rooms h3, .item-page.surroundings h3 {
    margin-bottom: 1rem;
  }
}
@media (min-width: 768px) {
  .custom-grid-4 {
    display: grid;
    grid-template-columns: auto auto;
    gap: 2%;
  }
  .mod-footer {
    padding: 0 4em;
    width: 100%;
  }
}
@media (max-width: 991px) {
  .mod-languages {
	position: absolute;
	right: 2em;
	top: .7em;
    z-index: 10;
    }
}
@media (min-width: 996px) {
  .custom-grid-2 {
    grid-template-columns: 50% 50%;
    gap: 0;
  }
  .item-page.rooms .custom-grid-3 {
    display: grid;
    grid-template-columns: 30% 30% 30%;
    gap: 2em;
    justify-content: center;
  }
}
@media (min-width: 1024px) {
  .custom-grid-4 {
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 2%;
  }
  .text-slider {
    display: grid;
    grid-template-columns: auto auto 360px;
  }
.text-slider-item {
	position: static;
	opacity: 1;
	animation: none;
  }
}
@media (min-width: 1140px) {
  .item-page.rooms h4 {
  	padding-top: .5em;
    padding-bottom: 1em;
  }
}
@media (max-width: 1199px) {
  .mod-phone {
    display: none;
  }
}
@media (min-width: 1280px) {
.single-room.item1, .double-room.item2, .junior-suite.item1, .nearby.item1, .nearby.item4, .nearby.item5 {
  padding-top: 2em;
  }
  .room-features {
	padding-top: 2em;
    font-size: .7rem;
  }
.single-room.item1, .double-room.item2, .junior-suite.item1, .nearby.item1, .nearby.item4, .nearby.item5 {
	background-position: 2em 3.2em;
  }
.surroundings .nearby p {
	padding: 1em 0;
}
}
@media (min-width: 1440px) {
  .item-page.rooms h4 {
  	padding-top: 1em;
  }
    .item-page.rooms h4 + ul + h4{
  	padding-top: 2em;
  }
}