/* VARIABLES */

:root {
    --accent-color: #607D8B;
    --accent-color-hover: #4e636d;
    --font-color: #353636;
    --info-image-size: 320px;
}

body {
    color: var(--font-color);
    font-family: 'Roboto', sans-serif;
}


#kasten {
    height: 500px;
    width: auto;
    background-color: #ffffff;
    border: 1px solid rgba(92, 90, 90, 0.3);
}

.topper {
    font-size: 0.8em;
    height: 2.4em;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #6c757d;
    color: #eee3e3;
    letter-spacing: .03em;
    position: relative;
}

#main {
    border: solid #f7f7f9;
    border-width: .3rem;
}

.info-container {
    height: var(--info-image-size);
    width: var(--info-image-size);
    display: flex;
    flex-direction: column;
}

.info-container-small {
    height: auto;
    width: var(--info-image-size);
    display: flex;
    flex-direction: column;
    margin-top: 4rem;
    padding: .7rem;
    animation: info-animation 0.6s;
}

.info-image {
    width: var(--info-image-size);
    height: auto;
    animation: info-animation 0.6s;
    border: solid var(--accent-color) 4px;
    border-radius: 0px;
    margin-top: 2.6rem;
}

/* LED */
#led-image-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.led-image {
    border: solid rgba(0,0,0,.075) 4px;
    border-radius: 0px;
    margin: .39rem;
    cursor: pointer;
    height: 13rem;
    min-width: 13rem;
    max-width: 13rem;
    -webkit-user-drag: none;
    opacity: 0;
    transition: .7s;
}

.led-image:hover,
.led-image-selected {
    border: solid var(--accent-color) 5px;
}

.led-image-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.upsizeable {
    transition: all .2s ease-in-out;
}

.loading-screen {
    height: 100vh;
    width: 100%;
    display: flex;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s linear;
    position: absolute;
    z-index: 100;
}

.loading-screen>div {
    margin: auto;
    width: 52%;
    height: 24vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #d9dde2;
    border-radius: 14px;
    font-weight: 700;
    font-size: 1.5em;
    padding: 2rem;
    box-shadow: 5px 6px 4px #0000006b;
}

@media (min-width: 0px) {
    #main {
        font-size: 0.75em;
        border-radius: 0px;
    }
    #window-image {
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
    }
    #sonderRal {
        height: calc(1.5em + .25rem + 3px);
        padding: 0 .5rem;
        font-size: .55rem;
        line-height: 2.2;
        margin-left: 1em;
        width: 90px;
        border-radius: .2rem;
        border: 1px solid #ced4da;
        display: none;
    }
}

@media (min-width: 576px) {
    #main {
        font-size: 0.75em;
        border-radius: 5px;
    }
}

@media (min-width: 768px) {
    #main {
        font-size: 0.75em;
    }
    #sonderRal {
        margin-left: -2em;
    }
}

@media (min-width: 992px) {
    #main {
        font-size: 0.9em;
    }
    #window-image {
        margin-top: -5em;
    }
    .upsizeable:hover {
        z-index: 1;
        transform: scale(1.5);
        transform-origin: right;
        box-shadow: 7px 7px 13px 2px rgb(0, 0, 0, 0.1);
        background-color: #f9fcff;
        border: 1px solid #adb5bd5c;
        border-radius: 5px;
    }
}

.disabled-row {
    color: #6d777f;
    text-decoration: line-through;
}

.text-danger {
    width: inherit;
}

.hinweis {
    background-color: #dc3545;
    border-radius: 2px;
    color: #fff;
    padding: .3rem;
    font-weight: 600;
}

.text-accent {
    color: var(--accent-color) !important;
}

.logo {
    max-height: 6.5em;
}

.input-group>.input-group-prepend>.input-group-text {
    min-width: 6.6em;
}

.page-link {
    color: black;
    cursor: pointer;
}

.page-item.active .page-link {
    background: var(--accent-color);
    border-color: #9E9E9E;
}
.page-item.active .page-link:hover {
    background: var(--accent-color-hover);
    border-color: #9E9E9E;
    color: white;
}

.input-group-text-large {
    min-width: 15.5em !important;
    background-color: var(--accent-color);
    color: white;
}

.input-group-text-medium {
    min-width: 7.5em !important;
    background-color: var(--accent-color);
    color: white;
}

.input-group-text-small {
    min-width: 3em !important;
    background-color: var(--accent-color);
    justify-content: center;
    color: white;
}
.input-group-text-extra-small {
    min-width: 1.75em !important;
    background-color: var(--accent-color);
    justify-content: center;
    color: white;
}

.input-group-text-small-no-accent {
    min-width: 3em !important;
    color: white;
    justify-content: center;
}

#offsetLeftGroup,
#offsetRightGroup {
    display: none;
}

.btn {
    border-radius: 0.1em !important;
}

.btn-accent {
    background: var(--accent-color);
    color: white;
}
.btn-accent:hover {
    background: var(--accent-color-hover);
    color: white !important;
}

/* remove the original arrow */
.select-no-chevron {
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none; 
}


/* PDF Changes */

.pdf {
    max-width: 790px !important;
    width: 790px !important;
    border: 0px !important;
    margin-top: 50px !important;
    box-shadow: none !important;
    background-color: unset !important;
    font-size: 0.75em !important;
    margin-top: 0 !important;
    padding-right: 20px;
    padding-left: 20px;
    margin-left: 0px;
}

.pdf #kasten {
    border: none;
}

.pdf #kasten>svg {
    margin-top: 0px;
}

.pdf .input-group-text-large {
    min-width: 8em !important;
    background-color: white;
    color: var(--font-color);
    border: none;
}

.pdf .input-group-text-medium {    
    min-width: 8em !important;
    background-color: white;
    color: var(--font-color);
    border: none;
}
.pdf .input-group-text-small {    
    min-width: 8em !important;
    background-color: white;
    color: var(--font-color);
    border: none;
}

.pdf .form-control {
    background-color: white;
    font-weight: 600;
    border: none;
}

.pdf .input-group {
    border-bottom: 1px solid
}


/* Checkmark */
#success-button {
    visibility: hidden;   
    opacity: 0;
    -webkit-transition: opacity 600ms, visibility 600ms;
    transition: opacity 600ms, visibility 600ms;
}

#success-button.visible {
    visibility: visible;   
    opacity: 1;
    -webkit-transition: opacity 600ms, visibility 600ms;
    transition: opacity 600ms, visibility 600ms;
}



#success-container{
    display: none;
    visibility: hidden;   
    opacity: 0;
    -webkit-transition: opacity 600ms, visibility 600ms;
    transition: opacity 600ms, visibility 600ms;
    position: absolute;
    width: 100vw;
    z-index: 99;
    background: white;
}

#success-container.visible {
    visibility: visible;   
    opacity: 1;
    -webkit-transition: opacity 600ms, visibility 600ms;
    transition: opacity 600ms, visibility 600ms;
}

.checkmark__circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke-miterlimit: 10;
    stroke: #7ac142;
    fill: none;
    animation: stroke 0.8s cubic-bezier(0.65, 0, 0.45, 1) forwards;
  }
  
  .checkmark {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: block;
    stroke-width: 2;
    stroke: #fff;
    stroke-miterlimit: 10;
    margin: 10% auto;
    box-shadow: inset 0px 0px 0px #7ac142;
    animation: fill .6s ease-in-out .6s forwards, scale .5s ease-in-out 1.1s both;
  }
  
  .checkmark__check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: stroke 0.5s cubic-bezier(0.65, 0, 0.45, 1) 1.0s forwards;
  }
  


/* ORDER
PAGE */

#dataTable_wrapper {
    margin: 1.3em;
}


/*KEYFRAMES*/

@keyframes info-animation {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes stroke {
    100% {
      stroke-dashoffset: 0;
    }
  }
  @keyframes scale {
    0%, 100% {
      transform: none;
    }
    50% {
      transform: scale3d(1.1, 1.1, 1);
    }
  }
  @keyframes fill {
    100% {
      box-shadow: inset 0px 0px 0px 30px #7ac142;
    }
  }

  @-webkit-keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
 }
 
 @keyframes fadeIn {
    0% {opacity: 0;}
    100% {opacity: 1;}
 }
 
 .fadeIn {
    -webkit-animation-name: fadeIn;
    animation-name: fadeIn;
 }