/* @import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@200;300;400;500;600;700&display=swap');

/* Hide scrollbar for Chrome, Safari and Opera */
*::-webkit-scrollbar {
    display: none;
}
/* Hide scrollbar for IE, Edge and Firefox */
  * {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
:root{
  --bg:#22283a;
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Jost', sans-serif;
    user-select: none;
    background-color: #242323;
    /* background: radial-gradient(1200px 800px at 10% -10%, #1a1f2e 0%, transparent 60%), */
              /* radial-gradient(1200px 800px at 110% 110%, #1a1f2e 0%, transparent 60%), */
              /* var(--bg); */
    position: relative;
}

/* INT Highlighting */
.int-div {
    position: absolute;
    left: 0;
    top: 0;
    border-bottom-right-radius: 10px;
    background-color: #EF902A;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 2px solid black;
    border-bottom: 2px solid black;
}
.int-img {
    width: 20px;
}

/* SNOW Theme */
/*.snowflake {
    position: fixed;
    top: -10px;
    background-color: white;
    border-radius: 50%;
    opacity: 0.8;
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(100vh);
    }
} */


/* Compact-View Styles */
#rig.compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
  margin-top: 8em;
}
#rig.compact li {
  max-width: none;
  min-height: auto;
}
#rig.compact .desc {
  display: none;
}
#rig.compact .rig-cell {
  width: auto;
  height: auto;
  min-height: 50px;
  margin: 0;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  text-align: left;
  background: #3b3636;
  box-shadow: none;
  text-decoration: none;
}
#rig.compact .rig-img {
  max-width: 40px;
  max-height: 40px;
  margin-right: 12px;
}
#rig.compact .rig-text {
  display: block;
  position: static;
  opacity: 1;
  transform: none;
  color: white;
  font-size: 18px;
  text-transform: none;
  font-weight: 500;
  text-align: left;
  width: 500px;
}
#rig.compact .rig-overlay,
#rig.compact .rig-cell::before {
  display: none;
}

#rig.compact .int-div {
  left: auto;
  right: 0;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 0;
  border-right: none;
  border-left: 2px solid black;
  width: 20px;
  height: 20px;
}
#rig.compact .int-div {
  width: 25px;
  height: 25px;
}
#rig.compact .int-img {
  width: 15px;
}




/**** NAVIGATION BAR ****/
.nav {
    z-index: 999;
    position: fixed;
    top: 0;
    margin: 0;
    padding: 0;
    width: 100%;
    background-color: #121212a7;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 75px;
    -webkit-box-shadow: 0px 1px 15px -8px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 1px 15px -8px rgba(0,0,0,0.75);
    box-shadow: 0px 1px 15px -8px rgba(0,0,0,0.75);
    transition: 250ms;
    -webkit-transition: 250ms;
}
.spie-logo {
    height: 35px;
    margin-left: 20px;
    opacity: 1;
    transition: 150ms all;;
}
.userInfo {
    font-size: 17px;
    text-align: center;
    color: white;
}
#userContainer {
    transition: 250ms all;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 75px;
    opacity: 0;
}
#welcomeText {
    /* color: #FECC29; */
    font-weight: 400;
    font-size: 17px;
}
.userInfo > span {
    font-weight: bold;
    width: 500px;
}
.head-actions {
    position: relative;
    z-index: 100;
    margin: 0px 10px 0 auto;
    height: auto;
    vertical-align: middle;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

}
.header {
    padding: 0;
    margin: 0;
    margin-top: 150px;
}

/**** PAGE HEADER (Title, Welcome & Search) ****/
.header-container {
    width: 100%;
    height: 4em;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: absolute;
}
h1,h2 {
    margin: 0;
}
.main-title {
    font-size: 40px;
    font-weight: 300;
    margin-top: 0px;
}
.sub-title {
    font-weight: 300;
    font-size: 24px;
    margin-top: 0;
}
#logged-span {
    color: green;
    font-weight: 600;
}
#user-span {
    font-weight: 600;
}
#search-input {
    justify-content: center;
    z-index: 100;
}
#welcome-text {
    justify-content: left;
    z-index: 100;
    font-weight: 400;
}
#welcome-text > p {
    font-size: 20px;
}

/**** LOGO & HEADER Logout-BTN ****/
#serviceBtn {
    font-size: 17px;
    min-width: 150px;
    text-decoration: none;
}
#toggle-view-btn {
    font-size: 17px;
    min-width: 140px;
}
.logout-button {
    text-align: center;
    background-color: #22283a;
    padding: 10px;
    border-radius: 4px;
    min-height: 50px;
    min-width: 50px;
    color: white;
    cursor: pointer;
    opacity: 1;
    transition: 150ms all;
    font-family: 'Jost', sans-serif;
    font-size: 18px;
    font-weight: 500;
    border: 3px solid transparent;
}
.logout-button:hover {
    background: transparent;
    border: 3px solid #22283a;
}
.logo {
    position: absolute;
    top: 6em;
    left: 1em;
    width: 5vw;
}
.company-logo {
    position: absolute;
    top: 9em;
    left: 2em;
    width: 5vw;
}

/**** SWITCH BUTTON (DARKMODE) ****/
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 24px;
    opacity: 1;
    margin-left: 3px;
}
.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: transparent;
    -webkit-transition: .4s;
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 3px;
    bottom: 3px;
    background-color: black;
    -webkit-transition: .4s;
    transition: .4s;
}
#sbutton {
    border: 1px solid black;
}
#sbutton:checked + .slider {
    background-color: transparent;
}
#sbutton:checked + .slider:before {
    background-color: white;
}
#sbutton:checked + .slider:before {
    -webkit-transform: translateX(35px);
    -ms-transform: translateX(35px);
    transform: translateX(35px);
}
.slider.round {
    border-radius: 34px;
    border: 1px solid black;
}
.slider.round:before {
    border-radius: 50%;
}

/**** SEARCH ****/
#searchInput {
    /* background-image: url('/img/search_white.png'); */
    /* background-position: 1px 10px; */
    /* background-repeat: no-repeat; */
    /* background-size: 12%; */
    max-width: 1200px;
    display: flex;
    padding: 12px 20px 20px 20px;
    border: none;
    margin-bottom: 0;
    background-color: transparent;
    border-bottom: 2px solid silver;
    color: white;
    font-family: 'Jost', sans-serif;
    font-size: 20px;
    text-align: center;
    transition: 250ms all;
}
#searchInput:focus {
    outline: none;
    border-bottom: 2px solid white;
}
#searchInput:focus::placeholder {
    color: transparent;
}
#searchInput::placeholder {
    color: silver;
}

/**** FIELDS | LINKS ****/
#desc {
    width: 100%;
    display: flex;
    justify-content: center;
    text-align: center;
    color: white;
    font-weight: 300;
    letter-spacing: 0.5px;
    font-size: 18px;
}
.container {
    width: 100%;
    min-height: 70vh;
    display: flex;
    justify-content: center;
}
.tagContainer {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: absolute;
    width: 100%;
    height: 4.5em;
    /* border-bottom: 2px solid silver; */
}
.tags {
    padding: 6px 10px 6px 10px;
    background-color: #242323;
    border-radius: 5px;
    margin: 0 10px 50px 10px;
    cursor: pointer;
    transition: 250ms all;
    min-width: 60px;
    text-align: center;
    border: 2px solid transparent;
    color: white;
    font-weight: 400;
    font-size: 18px;
}
.tags.cust {
    /* background-color: #BB86FC; */
    border: 2px solid #3A9782;
}
.tags.all {
    border: none;
    background-color: none;
    padding: 5px 0px 5px 0px;
    font-size: 35px;
    color: #CF6679;
    min-width: 30px;
    transition: .5s all;
}
.btnAnimation {
    transform: rotate(180deg);
}
.tags.apps {
    border: 2px solid #009FDF;
}
.tags.env {
    border: 2px solid #EF902A;
}
.tagAppActive {
    /* border: 2px solid #BB86FC; */
    background-color: #009FDF;
}
.tagCustActive {
    background-color: #3A9782;
}
.tagAllActive {
    /* background-color: white; */
    /* color: black; */
}
.tagEnvActive {
    background-color: #EF902A;
}

#rig {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    margin-top: 8em;
    margin-bottom: 10em;
    list-style: none;

    padding-top: 75px;
    padding-left: 50px;
    padding-right: 50px;
}
/* #rig {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    margin-top: 10em;
    margin-bottom: 10em;
    list-style: none;

    padding-top: 75px;
    padding-left: 50px;
    padding-right: 50px;
} */
#rig li {
    max-width: 210px;
    height: auto;
    min-height: 260px;
    margin: 0;
    padding: 0;
    transition: 150ms all;
}
/* #rig li {
    max-width: 90%;
    height: 50px;
    margin: 0;
    padding: 0;
    transition: 150ms all;
} */
.rig-cell {
    display: flex;
    background-color: #3b3636;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 150px;
    margin: 30px 30px 20px 30px;
    -webkit-box-shadow: 0px 0px 15px -4px #121212;
    -moz-box-shadow: 0px 0px 15px -4px #121212;
    box-shadow: 0px 0px 15px -4px #121212;
    position: relative;
    overflow: hidden;
    border-radius: 7px;
    transition: opacity 0.25s ease-in-out, transform 0.25s ease-in-out, background-color 0.25s ease-in-out;
    /*transition: all 0.25s ease-in-out;*/
}
/* .rig-cell {
    display: flex;
    background-color: #3b3636;
    align-items: center;
    width: 500px;
    height: 50px;
    margin: 30px 30px 20px 30px;
    -webkit-box-shadow: 0px 0px 15px -4px #121212;
    -moz-box-shadow: 0px 0px 15px -4px #121212;
    box-shadow: 0px 0px 15px -4px #121212;
    position: absolute;
    overflow: hidden;
    border-radius: 7px;
    transition: all 0.25s ease-in-out;
} */
.rig-cell::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    opacity: 0;
    transform: skewX(-20deg);
    pointer-events: none;
    z-index: 1;
}
.rig-cell:hover::before {
    animation: shimmer 0.7s ease-out forwards;
    opacity: 1;
}
@keyframes shimmer {
    0% {
        left: -150%;
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    100% {
        left: 150%;
        opacity: 0;
    }
}
.rig-img {
    display: block;
    border: none;
    max-width: 60%;
    max-height: 55%;
    /*transition: all 200ms ease-in-out;*/
}
/* .rig-img {
    display: block;
    position: absolute;
    border: none;
    width: 35px;
    max-height: 55%;
    transition: all 200ms ease-in-out;
} */
/* #rig li:hover .rig-img {
    transform:scale(1.2);
} */

.rig-overlay {
    position: absolute;
    display:block;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    background: #4B4B4B no-repeat center 20%;
    background-size: 50px 50px;
    opacity: 0;
    filter: alpha(opacity=0);/*For IE6 - IE8*/
    transition: all 0.6s;
}
.hidden {
    display: none;
}
#rig li:hover .rig-cell {
    /* border: 2px solid silver; */
    background-color: #434141;
}
.rig-text {
    display: none;
    padding: 0 10px;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: bold;
    top: 40%;
    color: white;
    opacity: 0;
    filter: alpha(opacity=0);
    transform: translateY(-20px);
    transition: all .3s;
}
/* .rig-text {
    display: none;
    padding: 0 10px;
    box-sizing: border-box;
    position: absolute;
    left: 0;
    width: 100%;
    text-align: center;
    text-transform: uppercase;
    font-size: 15px;
    font-weight: bold;
    top: 40%;
    color: white;
    opacity: 0;
    filter: alpha(opacity=0); /*For older IE*/
    transform: translateY(-20px);
    transition: all .3s;
} */

#rig li:hover .rig-text {
}

/**** FOOTER SECTION ****/
.backBtn {
    position: absolute;
    z-index: 1000;
    cursor: pointer;
    background-color: darkgreen;
    color: white;
    padding: 10px;
    font-size: 25px;
    border-radius: 7px;
    text-decoration: none;
}
.btnConsole {
    bottom: 50px;
    left: 50px;
}
footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
    -webkit-appearance: none;
    color: white;
}
.footer-tele {
    margin-right: 20px;
    -webkit-appearance: none;
}
#phone::after {
    margin-left: 20px;
    /* content: "|"; */
    -webkit-appearance: none;
}
p {
    margin: 0;
}

/**** MEDIA Queries (Responsive Design) ****/
@media (min-width: 2330px) {
    .company-logo {
        width: 3vw;
    }
}
@media (max-width: 1400px) {
    .logo {
        width: 7vw;
    }
    .company-logo {
        width: 7vw;
    }
}
@media (max-width: 1200px) {
    #rig {
        grid-template-columns: repeat(4, 1fr);
    }
    #rig.compact {
  	grid-template-columns: 1fr;
    }
    .logo {
        width: 9vw;
    }
    .company-logo {
        width: 9vw;
    }
    .tagContainer {
        display: none;
    }
}
@media (max-width: 980px) {
    #rig {
        grid-template-columns: repeat(3, 1fr);
    }
    .logo {
        width: 13vw;
    }
    .company-logo {
        width: 13vw;
    }
    .header {
        margin-top: 210px;
    }
}
@media (max-width: 980px) {

    #rig {
        padding-top: 0;
    }
}
@media (max-width: 720px) {
    #rig {
        grid-template-columns: repeat(2, 1fr);
    }
    .logo {
        width: 16vw;
    }
    .spie-logo {
        margin-left: 20px;
    }
    .company-logo {
        width: 16vw;
    }
    .footer-tele {
        position: absolute;
        margin: 0 0 1em 0;
        -webkit-appearance: none;
    }
    .footer-mail {
        position: absolute;
        margin-top: 2em;
    } 
    #phone {
        -webkit-appearance: none;
        text-transform: none;
        text-decoration: none;
    }
    #phone::after {
        margin: 0;
        content: none;
    }
    .head-actions {
        margin: 0 10px 0 auto;
    }
}
@media (max-width: 470px) {
    #rig {
        grid-template-columns: repeat(1, 1fr);
    }
    #searchInput {
        top: 7em;
    }
}

.small {
    width: 10vw;
}
@media (max-width: 900px) {
    .small {
        width: 20vw;
    }
}
@media (min-width: 2600px) {
    .small {
        width: 8vw;
    }
}
