﻿.image-background {
  background-image: url("../../media/img/BerniniHeaderBG.jpg");
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover; }

html {
  position: relative;
  min-height: 100% !important;
  height: 100%; }

body {
  background-color: white;
  /*  background-color: #1b1b1b;*/
  overflow-x: hidden;
  min-height: 100% !important;
  height: 100%; }

.pointer {
  cursor: pointer; }

.image-checkbox {
  height: 80px;
  width: 80px;
  background: url(../../media/materialsPreview/materials/M-03-A-24.jpg);
  cursor: pointer;
  border: 1px solid #888; }

.home-header {
  width: 100vw;
  height: 50vh;
  background-image: url("../../media/img/BerniniHeaderBG.jpg");
  background-position: top center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
  margin-top: -5px; }
  .home-header img {
    max-height: 90%;
    max-width: 80%;
    width: auto;
    height: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 300%;
    right: 0;
    margin: auto; }
  .home-header #bernini-sublogo {
    max-width: 33%;
    top: 55% !important; }
  .home-header.sticky img {
    max-height: 150% !important;
    max-width: 98% !important; }
  .home-header.sticky #bernini-sublogo {
    display: none; }

input[type=range][orient=vertical] {
  writing-mode: bt-lr;
  /* IE */
  -webkit-appearance: slider-vertical;
  /* WebKit */
  width: 8px;
  height: 175px;
  padding: 0 5px; }

.bg-overlay-light {
  background-color: rgba(255, 255, 255, 0.8); }

#postit {
  background: #ffff88;
  /* Old browsers */
  background: -moz-linear-gradient(-45deg, #ffff88 81%, #ffff88 82%, #ffff88 82%, #ffffc6 100%);
  /* FF3.6+ */
  background: -webkit-gradient(linear, left top, right bottom, color-stop(81%, #ffff88), color-stop(82%, #ffff88), color-stop(82%, #ffff88), color-stop(100%, #ffffc6));
  /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(-45deg, #ffff88 81%, #ffff88 82%, #ffff88 82%, #ffffc6 100%);
  /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(-45deg, #ffff88 81%, #ffff88 82%, #ffff88 82%, #ffffc6 100%);
  /* Opera 11.10+ */
  background: linear-gradient(135deg, #ffff88 81%, #ffff88 82%, #ffff88 82%, #ffffc6 100%);
  /* W3C */
  border-bottom-right-radius: 5rem 1rem;
  text-align: center;
  padding-top: 30%;
  padding-bottom: 30%;
  margin: 0.8rem; }

.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  height: 10vh;
  z-index: 1000; }

/* Hide scrollbar for Chrome, Safari and Opera */
.hideScroll::-webkit-scrollbar {
  display: none; }

/* Hide scrollbar for IE, Edge and Firefox */
.hideScroll {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */ }

a {
  text-decoration: none;
  color: black !important; }

.menu:hover {
  border-bottom: 1px solid #808080; }

.full-height {
  min-height: 100% !important;
  height: 100%; }

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px; }

@media (min-width: 768px) {
  html {
    font-size: 16px; } }

.border-top {
  border-top: 1px solid #e5e5e5; }

.border-bottom {
  border-bottom: 1px solid #e5e5e5; }

.box-shadow {
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05); }

button.accept-policy {
  font-size: 1rem;
  line-height: inherit; }

/* Sticky footer styles
-------------------------------------------------- */
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px;
  /* Vertically center the text there */ }

/*
    Section footer Login / AssemblyFullVersion
*/
a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all; }

.modal-right .modal-dialog {
  position: fixed;
  margin: auto;
  width: 50%;
  height: 100%;
  max-width: 100%;
  -webkit-transform: translate3d(0%, 0, 0);
  -ms-transform: translate3d(0%, 0, 0);
  -o-transform: translate3d(0%, 0, 0);
  transform: translate3d(0%, 0, 0); }

.modal-right .modal-content {
  height: 100%; }

.modal-right .modal-body {
  padding: 15px 15px 80px;
  max-height: calc(100% -133px);
  overflow-y: auto;
  overflow-x: hidden; }

.modal-right.fade .modal-dialog {
  right: -50vw;
  -webkit-transition: opacity 0.3s linear, right 0.3s ease-out;
  -moz-transition: opacity 0.3s linear, right 0.3s ease-out;
  -o-transition: opacity 0.3s linear, right 0.3s ease-out;
  transition: opacity 0.3s linear, right 0.3s ease-out; }

.modal-right.fade.show .modal-dialog {
  right: 0; }

.modal-fullscreen {
  padding: 0 !important; }
  .modal-fullscreen .modal-dialog {
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0; }
  .modal-fullscreen .modal-content {
    height: 100%;
    border: 0;
    border-radius: 0; }
  .modal-fullscreen .modal-body {
    overflow-y: auto; }

.modal-96 {
  padding: 0 !important; }
  .modal-96 .modal-dialog {
    width: 96vw;
    max-width: none;
    height: 96vh;
    margin: 0;
    top: 2vh;
    left: 2vw; }
  .modal-96 .modal-content {
    height: 96vh;
    border: 0;
    border-radius: 0; }
  .modal-96 .modal-body {
    overflow-y: auto; }

.zoom {
  transition: transform .4s;
  margin: 0 auto;
  width: 100%;
  border-radius: 0.25rem;
  padding: 0.5rem; }
  .zoom:hover {
    transform: scale(1.1);
    padding: 0;
    box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.5); }

.imgRow {
  display: -ms-flexbox;
  /* IE10 */
  display: flex;
  -ms-flex-wrap: wrap;
  /* IE10 */
  flex-wrap: wrap; }

.imgCol {
  -ms-flex: 25%;
  /* IE10 */
  flex: 25%;
  max-width: 25%; }

@media screen and (max-width: 800px) {
  .imgCol {
    -ms-flex: 50%;
    flex: 50%;
    max-width: 50%; } }

@media screen and (max-width: 600px) {
  .imgCol {
    -ms-flex: 100%;
    flex: 100%;
    max-width: 100%; } }

.gallery {
  display: grid;
  grid-template-columns: repeat(17, 1fr);
  grid-template-rows: repeat(10, 5vw);
  grid-gap: 15px; }

.gallery__img {
  width: 100%;
  height: 100%;
  object-fit: cover; }

.material-preview {
  transition: transform .4s;
  border-width: thick;
  border: double;
  border-color: lightgrey !important;
  width: 80%;
  max-height: 90vh;
  cursor: pointer;
  /*&:hover {
        transform: scale(1.2);
        box-shadow: 0.25rem 0.25rem 0.5rem rgba(0,0,0,0.5);
    }*/ }

.visualizer2D-mask-selector {
  cursor: pointer;
  display: inline-block;
  white-space: nowrap;
  height: 100px;
  width: 100px;
  transition: transform .4s; }
  .visualizer2D-mask-selector:hover {
    transform: scale(1.1);
    box-shadow: 0.25rem 0.25rem 0.5rem rgba(0, 0, 0, 0.5); }
  .visualizer2D-mask-selector img {
    border-width: thick;
    border: double;
    border-color: lightgrey !important;
    height: 100px;
    width: 100px; }

.visualizer2D-preview-col {
  max-height: 97vh;
  overflow-y: hidden; }

.visualizer2D-preview {
  height: 100vh;
  overflow: hidden;
  cursor: move;
  /*border: double;
    border-width: medium;
    border-color: lightgrey;*/
  /* max-width: 900px;*/
  /*  max-height: 1200px;*/
  position: relative;
  margin-right: auto;
  margin-left: auto; }

.mask-preview {
  position: absolute;
  z-index: 2;
  /*  width: 100%;*/
  height: 99%;
  left: 0px; }

.flag {
  content: '';
  background-size: cover;
  position: relative;
  width: 2em;
  height: 2em; }

@font-face {
  font-family: 'Americana BT';
  src: url("../../../fonts/webfonts/ufonts.com_americana-bt.ttf") format("truetype"), url("../../../fonts/webfonts/ufonts.com_americana-bt.ttf") format("truetype"); }

.font-americana-bt {
  font-family: "Americana BT" !important; }

.split-father {
  position: absolute !important;
  max-width: 100% !important;
  left: 0px !important;
  overflow: hidden !important; }

.split-child {
  position: relative !important;
  display: flex !important;
  white-space: nowrap !important;
  width: 100% !important; }

.split-child-image, .no-split-iamge {
  position: absolute !important;
  width: 100% !important; }

.split {
  z-index: 1 !important; }

.no-split-iamge {
  min-height: 100% !important; }
