:root {
  --PFERD_DARK-BLUE: #0069b4;
  --secondary-background-color: #ffffff;
  --PFERD-DARK_GREY: #343434;
  --white: white;
  --spinner-background-color: rgba(255, 255, 255, 0.8);
  --PFERD-text-color: #666;
  --masonry-item-bg: rgba(0, 105, 180, 0.25);
  --PFERD-ORANGE: #E07400;
  --breakpoint-sm: 30em;
  /* 480px*/
  --breakpoint-md: 48em;
  /* 768px */
  --breakpoint-lg: 64em;
  /* 1024px*/

}

/*
USAGE 
@media only screen and (max-width: 30em) {
  .mq-sm {}
}

@media only screen and (min-width: calc(30em + 0.01em)) and (max-width: 48em) {
  .mq-md {}
}

@media only screen and (min-width: calc(48em + 0.01em)) and (max-width: 64em) {
  .mq-lg {}
}

@media only screen and (min-width: calc(64em + 0.01em)) {
  .mq-xl {}
}

*/

li,
a,
button {
  cursor: pointer;
}

.desktopButton>button {
  border: none;
  width: 40px;
  font-size: 2rem;
  margin: 0px 0px;
  color: var(--PFERD-ORANGE);
}

.containerButton button {
  border: none;
  font-size: 2rem;
  margin: 10px 10px;
  color: var(--PFERD-ORANGE);
}

.scroll-top {
  position: fixed;
  bottom: 5%;
  right: 5%;
  border-bottom: 2px solid var(--PFERD_DARK-BLUE);
  width: 50px;
  font-size: 2rem;
  color: var(--PFERD_DARK-BLUE);
  cursor: pointer;
}

.scroll-top:focus {
  background-color: var(--PFERD_DARK-BLUE);
  color: white !important;
}

.isDisabled {
  color: currentColor;
  cursor: not-allowed;
  opacity: 0.5;
  text-decoration: none;
}

.layout_form {
  text-align: left;
}

.form-select {
  font-family: "Istok Web", sans-serif !important;
  font-weight: 400;
  font-size: 1.125rem;
  color: var(--PFERD-text-color);
  border: none;
  max-width: 130px;
}

.form-check-input {
  border: 1px solid var(--PFERD_DARK-BLUE) !important;
}

ul li p {
  margin-bottom: 0;
}

.carousell_image_item {
  width: calc(100% / 3);
  transition: transform 0.5s ease-in-out;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.5rem;
}

.carousell_image_item .carousell_image_item_header {
  margin-bottom: 2rem;
}

.carousell_image_item .carousell_image_item_header img {
  width: 100%;
  object-fit: contain;
  height: 180px;
}

.carousell_image_item .carousell_image_item_body {
  padding: 25px 0;
  max-height: 270px;
  min-height: 100px;
}

.carousell_image_item .carousell_image_item_footer {
  height: 60px;
}

/*Allround*/
.controll-panel {
  height: 100px;
}

.controll-panel button {
  border: none;
  width: 40px;
  font-size: 2rem;
  margin: 10px 10px;
  color: var(--PFERD-ORANGE);
}

.controll-panel button:hover {
  color: var(--PFERD_DARK-BLUE);
}

/*Main*/
main {
  width: 100%;
}

.border-start {
  border-left: 1px solid var(--PFERD_DARK-BLUE);
}

button {
  background-color: inherit;
}

.resp-btn {
  display: flex;
  height: auto;
  padding: 15px 0px 15px 0px;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  color: var(--white);
  font-weight: bold;
  border: none;
  width: 100%;
  border-radius: 0.2rem;
  text-decoration: none;
}

.resp-btn>i::before {
  padding-right: 15px;
}

/*Alle*/

.full_bg {
  transition: all .5s ease;
}

.full_bg:hover {
  box-shadow: inset 0px 0px 400px 110px rgba(185, 96, 2, 1);
}

.border {
  transition: all .5s ease;
}

.border:hover {
  color: var(--white) !important;
  background-color: var(--PFERD_DARK-BLUE);
}

/* Social Button */
.icon {
  width: 60px;
  padding: 10px;
  display: flex;
  justify-content: center;
}

.link_icon {
  height: 45px;
}

/* Carousell_Item Only Allround */

.img_item {
  height: 400px;
  max-width: 300px;
}

.img_item .header_image {
  cursor: pointer;
}

.img_item .text_area {
  max-width: 100%;
  color: inherit;
  font-size: 1rem;
  margin: 1rem 0;
  height: 3rem;
  overflow: hidden;
}

/*ALL*/
.slider_item_video {
  display: flex;
  flex-direction: column;
  color: gray;
  justify-content: end;
  margin: auto 10px;
  max-height: auto;
}

.slider_item_video:first-child {
  margin-left: 0;
}

.slider_item_video:last-child {
  margin-right: 0;
}

.slider_item_video .header_image {
  position: relative;
  width: 100%;
}

.slider_item_video .play-video-button i {
  transition: .3s ease;
  top: 50%;
  position: absolute;
  left: 50%;
  font-size: 3rem;
  transform: translate(-50%, -50%);
  color: var(--PFERD-ORANGE);
  cursor: pointer;
}

.slider_item_video .play-video-button i:hover {
  font-size: 4rem;
}

.slider_item_video .header_image .thumbnail {
  width: 100%;
  object-fit: contain;
  -o-object-fit: contain;
  background-size: cover;
  background-repeat: no-repeat;
  height: 300px;
  cursor: pointer;
  background-position: center;
}

.slider_item_video .header_image .thumbnail_large {
  width: 100%;
  object-fit: contain;
  -o-object-fit: contain;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 200px;
  max-height: 400px;
  cursor: pointer;
  background-position: center;
}

.slider_item_video .text_area {
  max-width: 100%;
  color: inherit;
  font-size: 1rem;
  margin: 1rem 0;
  height: 6.875rem;
}

.active {
  display: block;
}

.display_none {
  display: none !important;
}

.onlyCarousell .img_item:first-child {
  margin-left: 0;
}

/*Masonry*/
.masonry-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

.masonry-item {
  background-color: var(--PFERD_DARK-BLUE);
  padding: 35px 10px;
  border-radius: 5px;
  position: relative;
  min-height: 180px;
}

.masonry-item>p {
  position: inherit;
  margin-bottom: 0px;
  font-weight: bold;
  color: white !important;
}

.masonry-large {
  grid-column-end: span 3;
}

.masonry-small {
  grid-column-end: span 1;
}

.masonry-medium {
  grid-column-end: span 2;
}

iframe {
  width: 100%;
  aspect-ratio: 16/9;
}

.text_bild {
  padding-left: 80px;
}

.text_bild_element .full_element{
  height: 100%;
}

.text_bild_element .full_element video{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.text_bild_element .text_left{
  padding-right: 1.5rem;
}

.text_bild_element .text_right{
  padding-left: 1.5rem;
}
/*Footer*/
footer>li,
ul,
h1,
h2 {
  list-style: none;
}

footer .icon a i {
  color: var(--white)
}

footer {
  height: 170px;
  background-color: var(--PFERD_DARK-BLUE);
}

#footer_title h2 {
  color: var(--white) !important;
}

footer #footer_nav ul li a {
  color: var(--white) !important;
  list-style: none;
}

#footer_nav a {
  padding: 8px 16px;
}

.imageModal img {
  width: 100%;
}

/*Shoppable*/

.item_carousell {
  position: relative;
}

/*Contact Form*/
.modal input,
select,
textarea {
  background-color: #e9e9e9 !important;
}

.modal input:not(input[type="checkbox"]),
select {
  min-height: 3rem;
}

.modal input[type="checkbox"]:checked {
  background-color: blue !important;
}

.modal .modal-dialog {
  font-size: smaller;
  text-align: left;
}

.modal .required label::after {
  content: " *";
  font-weight: bold;
  color: red;
}

.modal .form-item {
  font-size: smaller;
  text-align: left;
}

.modal .form-select {
  max-width: initial !important;
}

/*Media Query*/
@media only screen and (min-width: 21em) and (max-width: 64em) {
  .text_bild_element .text_left{
    padding-right: 0;
  }
  
  .text_bild_element .text_right{
    padding-left: 0;
  }
  .form-select {
    border: none;
    max-width: 100%;
	font-size: 1.025rem;
  }

  .slider_item_video {
    display: flex;
    flex-direction: column;
    color: gray;
    justify-content: end;
    margin: 5px;
    height: auto;
  }

  .slider_item_video:first-child {
    margin-left: 0;
  }

  .slider_item_video:last-child {
    margin-right: 0;
  }

  .text_element>#left,
  #right {
    border-left: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .imageModal img {
    width: 100%;
  }

  .text_block {
    height: auto !important;
  }

  .img_item {
    height: 100%;
    margin: 5px;
  }

  .img_item:first-child {
    margin-left: 0;
  }

  .img_item:last-child {
    margin-right: 0;
  }

  footer .icon i {
    font-size: 1.625rem !important;
  }

  .slider_item_video .header_image .thumbnail {
    min-height: 225px;
    max-height: 235px;
    background-position: 50% 50%;
  }

  .masonry-medium {
    grid-column-end: span 3;
  }

  .masonry-small {
    grid-column-end: span 3;
  }

  .productItems.mobile {
    display: block;
  }

  .image_wrapper {
    height: 350px;
    background-position: center;
    margin-bottom: 25px;
  }

  .product_items.mobile {
    display: block;
  }

  .slider_item_video .header_image .thumbnail_large {
    min-height: 250px;
    max-height: 300px;
  }

  .slider_item_video .header_image .thumbnail {
    min-height: 250px;
    max-height: 300px;
  }

}


@media only screen and (max-width: 30em) {
  .mt-5 {
    margin-top: 0 !important;
  }

  .text_bild_element .text_left{
    padding-right: 0;
  }
  
  .text_bild_element .text_right{
    padding-left: 0;
  }

  .carousell_item_container {
    justify-content: center !important;
    padding-top: 1rem;
  }

  .resp-btn {
    width: 100% !important;
    font-size: .8rem !important;
  }

  .containerButton[data-resp="mobil"] {
    display: flex;
    border: none;
    font-size: 2rem;
    color: var(--PFERD-ORANGE);
  }

  .containerButton[data-resp="desktop"] {
    display: none;
    border: none;
    width: 40px;
    font-size: 2rem;
    margin: 10px 10px;
    color: var(--PFERD-ORANGE);
  }

  .carousell_image_item .carousell_image_item_body {
    padding: 25px 0;
    max-height: 170px;
  }
}

@media only screen and (min-width: calc(30em + 0.01em)) and (max-width: 48em) {
  .mt-5 {
    margin-top: 0 !important;
  }

  .carousell_item_container {
    justify-content: center !important;
    padding-top: 1rem;
  }

  .resp-btn {
    width: 100% !important;
    font-size: .8rem !important;
  }
  .containerButton[data-resp="mobil"] button {
    display: flex;
    border: none;
    font-size: 2rem;
    color: var(--PFERD-ORANGE);
  }

  .containerButton[data-resp="desktop"] {
    display: none;
    border: none;
    width: 40px;
    font-size: 2rem;
    margin: 10px 10px;
    color: var(--PFERD-ORANGE);
  }

  .carousell_image_item .carousell_image_item_body {
    padding: 25px 0;
    max-height: 170px;
  }

  .mobileButton {
    display: flex;
  }

  .shoppable_item .image_wrapper {
    width: 50% !important;
    align-self: center;
  }
}

@media only screen and (min-width: calc(48em + 0.01em)) and (max-width: 64em) {

  .resp-btn {
    width: 100% !important;
    font-size: .8rem !important;
  }

  .containerButton[data-resp="desktop"] {
    display: none;
    border: none;
    width: 40px;
    font-size: 2rem;
    margin: 10px 10px;
    color: var(--PFERD-ORANGE);
  }

  .containerButton[data-resp="mobil"] {
    display: flex;
    border: none;
    font-size: 2rem;
    color: var(--PFERD-ORANGE);
  }
}

@media only screen and (min-width: calc(64em + 0.01em)) {

  .resp-btn {
    font-size: 1rem !important;
  }

  .desktopButton {
    display: flex;
  }

  .mobileButton {
    display: none;
  }

  .hero-banner {
    display: flex;
    align-items: center;
    justify-content: start;
    position: relative;
    height: 500px;
  }
  .containerButton[data-resp="desktop"] {
    display: flex;
    border: none;
    width: 40px;
    font-size: 2rem;
    margin: 10px 10px;
    color: var(--PFERD-ORANGE);
  }

  .containerButton[data-resp="mobil"] {
    display: none;
    border: none;
    font-size: 2rem;
    color: var(--PFERD-ORANGE);
  }
}