:root {
    --mp-color-black: rgb(65, 88, 119);
    --mp-color-black-dark: rgb(33, 45, 61);
    --mp-color-gray: #A9A9A9;
    --mp-color-light-gray: #FCFCFD;
    --mp-color-light-gray2: #EFEFEF;
    --mp-color-active: #FFDEB8;
    --mp-color-white: #FFFFFF;
    --mp-color-doc-green-link: #3C8067;
    --mp-color-doc-link: #D1770C;
    --mp-color-back_prop: #34363C;
    --mp-color-real-black: #000;
    --mp-color-bisque: #ffe4c4;
    --mp-color-scarlet: #cc0000;
    --mp-border-radius: 6px;
    --bs-link-underline-opacity: 0.5;
    
}

@view-transition {
    navigation: auto;
    types: slide, forwards;
}

html, body {
    height: 100%;
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-size: 1.0rem;
    line-height: 1.8rem;  
    --bs-body-color: var(--mp-color-back_prop);
    color: var(--bs-body-color);

}


.btn-secondary {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--mp-color-black-dark);
  --bs-btn-border-color: var(--mp-color-black-dark);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #5c636a;
  --bs-btn-hover-border-color: #565e64;
  --bs-btn-focus-shadow-rgb: 130, 138, 145;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #565e64;
  --bs-btn-active-border-color: #51585e;
  --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: var(--mp-color-black-dark);
  --bs-btn-disabled-border-color: var(--mp-color-black-dark);
  border-radius: 0;
}


.tr-back-block {
    background-color: #ffffff36;
    padding: 1rem;
    font-weight: 300;
    text-transform: uppercase;
}

.box {
    clip-path: polygon(0 0,100% 0,100% calc(100% - 40px),calc(100% - 40px) 100%,0 100%);
  }

.box-sm {
--mask: radial-gradient(10px at 10px 10px,var(--mp-color-real-black) 98%,var(--mp-color-real-black)) -10px -10px;
-webkit-mask: var(--mask);
        mask: var(--mask);
}

a {
    color: var(--mp-color-black-dark);
    text-decoration: underline;
    transition: color 0.3s ease;
    text-decoration-color: rgba(65, 88, 119, 0.2) !important; 
} 

a:hover {
    color: var(--mp-color-black);
    text-decoration: none;
}

a.redlink:hover {
    color: var(--mp-color-scarlet);
}

header {
    background-color: var(--mp-color-black);
    /* margin-bottom: 4rem; */
}  


#top_navbar a:link, #top_navbar a:visited {
    text-decoration: none;
    text-transform: uppercase;
    color: var(--mp-color-white);
    font-weight: 300;
}

#top_navbar a.active {
    color: var(--mp-color-active);
}

#top_navbar a.dropdown-item:link, #top_navbar a.dropdown-item:visited {
    text-decoration: none;
    color: var(--mp-color-black);
}

#navbarSupportedContent {
  margin-top: 22px;
}

.svglogo, .svglogo-core {
    width: 120px;
    margin:0;
    padding:0;
    fill: var(--mp-color-white);
}
.svglogo-core {
    height: 64px;
    width: auto;
}

footer {
    background-color: var(--mp-color-black);
    color: var(--mp-color-gray);
    /* margin-top: 4rem; */
}

.footer-part {
    padding-top: 4rem;
    padding-bottom: 4rem;
}
.socialblock {
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.socialblock span a:link {
    margin-right: 10px;
}

.socialblock a:link svg {
    transition: fill 0.3s;
    fill:var(--mp-color-gray);
}
.socialblock a:hover svg {
    fill:var(--mp-color-white);
}
.footer-part h4 {
    text-transform: uppercase;
    font-weight: 200;
    color: var(--mp-color-gray);
}
.footer-part ul {
  list-style-type: none;
  padding-left: 0;
  margin-left: 0.4rem;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.2rem;
}
.footer-part ul li {
  margin-bottom: 0.4rem;
}
.footer-part a:link, .footer-part a:visited {
    color: var(--mp-color-gray) !important;
    text-decoration: none;
}
.footer-part a.active:link, .footer-part a.active:visited, .footer-part a:hover {
    color: var(--mp-color-white) !important;
}

.copyright-part {
    display: grid;
    background-color: var(--mp-color-black-dark);
    align-content: center;
}



.holographic-card img {
    -webkit-mask-image: linear-gradient(45deg,#000 25%,rgba(0,0,0,.2) 50%,#000 75%);
    mask-image: linear-gradient(45deg,#000 25%,rgba(0,0,0,.2) 50%,#000 75%);
    -webkit-mask-size: 800%;
    mask-size: 800%;
    -webkit-mask-position: 0;
    mask-position: 0;
    /* filter: brightness(1.0); */
  }
  
  .holographic-card:hover img {
    transition: mask-position 2s ease,-webkit-mask-position 2s ease;
    -webkit-mask-position: 120%;
    mask-position: 120%;
    opacity: 1;
    /* filter: brightness(1.05); */
  }

  #light-slider-new {
    display: flex;
    overflow-x: scroll !important;
    scroll-behavior: smooth;
    user-select: none;
    padding-top: 1rem;
  }
  #light-slider-new h6 {
    font-weight: normal;
    text-transform: uppercase;
  }
  #light-slider-new > li {
    margin-right: 20px;
    list-style: none;
    user-select: none;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: center;
  }
  #light-slider-new > li > p >img {
    border-top-left-radius: var(--mp-border-radius);
    border-top-right-radius: var(--mp-border-radius);    
    margin: 0.2rem;
    transition: all 0.3s;
    /* box-shadow: 0px 3px 13px rgb(0 0 0 / 10%); */
    cursor:pointer;
    user-select: none;
    border: 2px solid transparent;
    transition: all 0.3s ease;
  }
  #light-slider-new > li > p > img:hover {
    transform: scale(1.1);
  }
  #light-slider-new > li > p > img.active {
    border: 2px solid var(--mp-color-active);
  }
  
  .factura-img > img {
    transition: all .3s ease-in-out;
  }
  
  #light-slider-new::-webkit-scrollbar {
    -webkit-appearance: none;
  }
  
  #light-slider-new::-webkit-scrollbar:vertical {
    width: 11px;
  }
  
  #light-slider-new::-webkit-scrollbar:horizontal {
    height: 11px;
  }
  
  #light-slider-new::-webkit-scrollbar-thumb {
    border-radius: 8px;
    border: 2px solid white; /* should match background, can't be transparent */
    background-color: rgba(0, 0, 0, .5);
  }

  h1, .material h1 a:link, .factura h1 a:link {
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 2rem;
  }
  h3, .material h3 {
    text-transform: uppercase;
    font-weight: 300;
  }

  .badge-block {
    position: absolute;
    top: 10px;
    left: 10px;
  }
  .prop-title {
    text-transform: uppercase;
    color: var(--mp-color-gray);
  }

.video-container {
    margin-top: 2rem; 
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 30px; height: 0; overflow: hidden;
}
    
.video-container iframe,
.video-container object,
.video-container embed {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.crgb
{
  /* width: 100%; */
  width: 140px;
  height: 50px;
}

.companion-block, .step-block {
    background: var(--mp-color-light-gray);
    padding: 2rem;
}






/* MAJESTC PAINTS */

.color-item-figure {
    width: 160px;
    height: 60px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    cursor: pointer;
}
.color-item-figure:hover {
    transform: scale(1.1);     /* Slightly enlarge the div */
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2); /* Enhance shadow */
}

.hero-slide {
    height: 600px;
    background: center center/cover no-repeat;
    /* background-attachment: fixed; */
    /* margin-top: -4rem; */
}


.simple-slider {
    position: relative;
    height: 600px;
}
.simple-slider div {
    position:absolute;
    height: 600px;    
    width: 100%;
    background: center center/cover no-repeat;
}

#core-img-slider-0 div {
    -webkit-transition: opacity 1s ease-in-out;
    -moz-transition: opacity 1s ease-in-out;
    -o-transition: opacity 1s ease-in-out;
    transition: opacity 1s ease-in-out;
    opacity:0;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
    filter: alpha(opacity=0);
}

#core-img-slider-0 div.opaque {
  opacity:1;
  -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  filter: alpha(opacity=1);
  z-index: 1000;
}

.adv-fluid {
    background-color: var(--mp-color-black);
} 
.adv-col {
    padding: 0.4rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin: 0.6rem;
    line-height: 100%;
    background-color: var(--mp-color-black-dark);
    color: var(--mp-color-light-gray);
    font-weight: 300;
    user-select:none;
}
.adv-col img {
  width: 64px;
  height: auto;
  background-color: var(--mp-color-light-gray);
  margin-bottom: 1rem;
  padding: .25rem;
  border: var(--bs-border-width) solid var(--bs-border-color);
  /* border-radius: var(--bs-border-radius); */
}

.adv-col img.una {
  background-color: transparent;
  border: none;
}

.collection-slide {
  min-height: 600px;
  height: 600px;
  background: center center / cover no-repeat;
  align-items: end;
}

.gal_list {
  max-height: 40vh;
  overflow-y: auto;
}

.overflow-scroll-gradient {
  position: relative;
}
.overflow-scroll-gradient::before {
  content: '';
  position: absolute;
  top: 0;
  width: 100%;
  height: 25px;
  background: linear-gradient(white, rgba(255, 255, 255, 0.001)); /* transparent keyword is broken in Safari */
}
.overflow-scroll-gradient::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 25px;
  background: linear-gradient(rgba(255, 255, 255, 0.001), white); /* transparent keyword is broken in Safari */
}
.overflow-scroll-gradient__scroller {
  overflow-y: scroll;
  background: white;
  width: 100%;
}



.dropdown-item.active, .dropdown-item:active {
  color: var(--mp-color-white) !important;
  background-color: var(--mp-color-black-dark);
}


.video-header {
  position: relative;
  background-color: black;
  height: 50vh;
  min-height: 25rem;
  width: 100%;
  overflow: hidden;
}

.video-header video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  -ms-transform: translateX(-50%) translateY(-50%);
  -moz-transform: translateX(-50%) translateY(-50%);
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
}

.video-header .container {
  position: relative;
  z-index: 2;
  user-select: none;
}

.video-header .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-color: black;
  opacity: 0.5;
  z-index: 1;
}

.horizontal-scroll-row-core {
  display: block;  
  overflow-x: auto;
  white-space: nowrap; /* Prevent wrapping */
}
.horizontal-scroll-row-core .col {
  display: inline-block; /* Make columns inline for horizontal scrolling */
  float: none; /* Remove default floating behavior */
  width: auto; /* Adjust column width dynamically */
  margin-right: 10px; /* Optional: Add spacing between columns */
}


.events-fluid {
  background-color: var(--mp-color-light-gray2);
}

.cooperation-fluid {
  background-color: var(--mp-color-black);
  color: var(--mp-color-light-gray);
  font-weight: 300;
}

.cooperation-fluid h3 {
  font-weight: 300;
  text-transform: none;
}
.events-fluid h2, .cooperation-fluid h2, .news-fluid h2, .art-fluid h2 {
  margin-top: 2rem;
  margin-bottom: 2rem;
  font-weight: 300;
}
.news-list-item h3 {
  text-transform: none;
}


.video-mask-wrapper {
  position: relative;
  width: 100%;
  margin: 0 auto;
}
.video-mask-wrapper video {
  width: 100%;
}
.video-mask-wrapper svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.video-mask-wrapper svg text {
  font-family: "Montserrat", sans-serif;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 2.3rem;
}
.video-mask-wrapper svg > rect {
  -webkit-mask: url(#mask);
  mask: url(#mask);
}
.video-mask-wrapper svg rect {
  fill: #fff;
}

.core-block2 h2, .core-block3 h2, .core-block5 h2, .core-block6 h2 {
  font-weight: 300;
  text-transform: uppercase;
}
.core-block5 h4 {
  font-weight: 300;
  text-decoration: uppercase;
}

.core-block2-txt-div {
  padding: 1rem;
  background-color: var(--mp-color-light-gray);
}


.core-block2-txt-div p {
  color: var(--mp-color-back_prop);
}

.accordion-button:focus {
  box-shadow: none;
}

.mat-col img {
  width:auto !important;
  max-height: 300px;
}

.accordion-button:not(.collapsed) {
  color: var(--mp-color-black);
  background-color: var(--mp-color-light-gray2);
  box-shadow: none;
}

.br-container {
  position: relative;
  z-index: 100;
  /* margin-bottom: 3rem; */
}
.br-container nav {
  position: absolute;
}

.contacts-container .card img {
  height: 520px;
  width: auto;
  object-fit: cover;
}

.contacts-container h2 {
  font-weight: 300;
}
.contacts-container .card {
  border: none;
}

.ftext {
  padding-top: 1.2rem;
}

.card {
  user-select: none;
}

article figure {
  object-fit: cover;
}

article figure img {
  max-height: 600px;
  width: 100%;
  object-fit: cover;
}
article figure figcaption {
  font-size: 0.8rem;
  font-style: italic;
}


.artcard {
  max-width: 540px;
  /* border:0; */
  transition: transform 0.3s ease;
  transform: translateY(2px);
  box-shadow: 0 8px 10px rgba(0,0,0,0.1); 
}
.artcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1); 
}

/* Media Query for devices withi coarse pointers and no hover functionality */

/* This will use a fallback image instead of a video for devices that commonly do not support the HTML5 video element */

@media (pointer: coarse) and (hover: none) {
  .video-header  {
    height: 25vh;
    background: var(--mp-color-black) no-repeat center center scroll;
  }

  .video-header video {
    display: none;
  }
}

@media (max-width: 767px) {
    .horizontal-scroll-row {
      display: block;  
      overflow-x: auto;
      white-space: nowrap; /* Prevent wrapping */
    }
    .horizontal-scroll-row .col {
      display: inline-block; /* Make columns inline for horizontal scrolling */
      float: none; /* Remove default floating behavior */
      width: auto; /* Adjust column width dynamically */
      margin-right: 10px; /* Optional: Add spacing between columns */
    }
    .hero-slide, .collection-slide {
        min-height: 260px;
        height: 25vh;
        max-height: 100%;
    }

    .adv-col {
      width: 220px !important;
      text-wrap: auto;
    }

    .core-block2{
      height: 500px;
    }

    /* .contacts-container .card img {
      height: 440px;
    } */

  article figure img {
    max-height: 230px;
  }
  .artcard {
    max-width: 360px;
  }

  }