﻿#select2-0icondrp-results {
    overflow-x: hidden;
}

.imageList {
    margin: 10px;
    cursor: pointer;
}

.selectImage {
    border-color: blue;
    border-width: 2px;
    border-style: solid;
}

.buttton-container {
    color: white;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    position: relative;
    left: 0px;
    right: 0px;
    margin: auto;
    padding: 0px;
    display: inline-block;
    text-align: center;
    justify-content: center;
}

.grid-button-container {
    position: absolute;
    /* grid */
    display: grid;
    justify-content: center;
}

.selecting-device-image {
    display: block;
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    margin: auto;
    max-width: 100%;
    max-height: 100%;
}

.btn-info-grid {
    /*background: none;*/
    border: none;
    /*position*/
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* grid */
    display: grid;
    grid-column: auto;
    justify-content: space-between;
    grid-template-rows: 75fr 20fr;
    /* Child */
    padding-top: 10px;
}

.btn-info-grid-irz {
    /*background: none;*/
    border: none;
    /*position*/
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* grid */
    display: grid;
    grid-column: auto;
    /*justify-content: space-between;*/
    grid-template-rows: 60fr 50fr;
    /* Child */
}

.button-box {
    position: relative;
}

.custom-btn {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    border: none;
    cursor: pointer;
    z-index: 1;
}

.grid-item-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-first-btn {
    width: 1.5em;
    height: 1.5em;
}

.btn-name {
    color: white;
}

.done-button {
    position: absolute;
    top: 0px;
    right: -100px;
    width: 70px;
    z-index: 10;
    cursor: pointer;
    color: white;
    background-color: #0088FF;
    font-size: 13px;
    border-radius: 4px;
    opacity: 1;
    padding: 5px;
}

    .done-button:hover {
        color: white;
        background-color: #0074D1;
        /*filter: brightness(0.9);*/
        opacity: 1;
    }

.top-title {
    top: 0px;
}

.bottom-title {
    top: -10px;
}

.custom-title {
    color: white;
    position: absolute;
    left: calc( 100vw / 2 - 500px );
    width: 250px;
    text-align: left;
    font-size: 16px;
}

.register-form {
    z-index: 2;
    visibility: hidden;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    z-index: 10;
}

.register {
    z-index: 2;
    background-color: white;
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    margin: auto;
    width: 400px;
    border-radius: 10px;
    padding: 15px;
    display: grid;
    /*align-content: flex-start;*/
    text-align: center;
    /*align-content: center;*/
    font-family: 'Roboto', sans-serif;
    justify-content: space-between;
}

.title-config-device {
    display: flex;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    max-height: 50px;
}

.title-channel {
    color: black;
    font-weight: bold;
}

footer-channel {
    justify-content: center;
    padding: 0;
}

.close-register-btn {
    position: absolute;
    top: 9px;
    right: 18px;
    width: 24px;
    height: 24px;
    z-index: 10;
    cursor: pointer;
    background: none;
    border: none;
}

    .close-register-btn:before:hover {
        color: #aaa;
        background-color: #aaa;
    }

    .close-register-btn:before,
    .close-register-btn:after {
        position: absolute;
        content: ' ';
        height: 24px;
        width: 4px;
        background-color: #444;
        border-radius: 2px;
        top: 0px;
        right: 0px;
    }

    .close-register-btn:before {
        transform: rotate(45deg);
    }

    .close-register-btn:after {
        transform: rotate(-45deg);
    }

.clear-register-btn {
    color: #ff2052;
    line-height: 10px;
    border: 0px;
    background: none;
    font-size: 16px;
    font-weight: bold;
}

/*css input*/
.input {
    position: relative;
    width: 100%;
    height: 42px;
}

.input__label {
    position: absolute;
    left: 0;
    top: 0;
    padding: calc(0.5em * 0.75) calc(0.5em * .5);
    margin: calc(0.5em * 0.75 + 3px) calc(0.5em * .5);
    background: pink;
    white-space: nowrap;
    transform: translate(0, 0);
    transform-origin: 0 0;
    background: white;
    transition: transform 120ms ease-in;
    font-weight: bold;
    line-height: 1.2;
}

.sub-title-label-name {
    position: absolute;
    top: 30px;
    left: 0;
    padding: calc(0.5em * 0.75) calc(0.5em * .5);
    margin: calc(0.5em * 0.75 + 3px) calc(0.5em * .5);
    text-align: left;
}

.sub-title-label {
    position: absolute;
    top: 30px;
    left: 0;
    padding: calc(0.5em * 0.75) calc(0.5em * .5);
    margin: calc(0.5em * 0.75 + 3px) calc(0.5em * .5);
    text-align: left;
}

.input__field {
    box-sizing: border-box;
    display: block;
    width: 100%;
    border: 1px solid currentColor;
    padding: calc(0.5em * 1.5) 0.5em;
    margin: 0;
    color: currentColor;
    background: transparent;
    border-radius: 2px;
    height: 42px;
}

    .input__field:not(:placeholder-shown) + .input__label {
        transform: translate(0.25em, -65%) scale(0.8);
        color: black;
    }

    .input__field:not(:-ms-input-placeholder) + .input__label {
        transform: translate(0.25em, -65%) scale(0.8);
        color: black;
    }

    .input__field:focus + .input__label,
    .input__field:not(:placeholder-shown) + .input__label {
        transform: translate(0.25em, -65%) scale(0.8);
        color: black;
    }

.dropdown {
    position: relative;
    display: inline-block;
    padding: 0px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f5f5f5;
    min-width: 180px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    overflow-x: auto;
    max-height: 150px;
    z-index: 1;
    padding: 10px;
    border-radius: 4px;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown:hover .input-icon-wrap {
    filter: brightness(0.9);
}

/* Text input with icon left wings */
.input-icon-wrap {
    /*border: 1px solid #ddd;*/
    display: flex;
    flex-direction: row;
    justify-content: center;
}

.input-icon {
    background: #ddd;
}

.input-with-icon {
    border: none;
    flex: 1;
}

.input-icon,
.input-with-icon {
    padding: 10px;
}

/* Grid */
.grid-container {
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 2px;
}

.grid-item {
    /*background-color: rgba(255,255,255,0.8);*/
    background-color: #f5f5f5;
    border: 0.5px solid rgba(192, 192, 192, 0.5);
    border-radius: 4px;
    text-align: center;
    width: 60px;
    height: 60px;
    padding: 4px;
}

    .grid-item:hover {
        border-color: rgba(128, 128, 128, 0.8);
    }

/* Plus icon in IRZ */
.plus {
    --b: 5px; /* the thickness */
    width: 40px; /* the size */
    aspect-ratio: 1/1;
    border: 10px solid #000; /* the outer space */
    background: conic-gradient(from 90deg at var(--b) var(--b),#000 90deg,#fff 0) calc(100% + var(--b)/2) calc(100% + var(--b)/2)/ calc(50% + var(--b)) calc(50% + var(--b));
    display: inline-block;
    border-radius: 50%;
}

.alt {
    border-color: #fff;
    background: conic-gradient(from 90deg at var(--b) var(--b),#fff 90deg,#000 0) calc(100% + var(--b)/2) calc(100% + var(--b)/2)/ calc(50% + var(--b)) calc(50% + var(--b));
}

.radius {
    border-radius: 50%;
}

/* Button style for IRZ */
.select-custom-btn {
    border-style: solid;
    border-width: 6px;
    border-radius: 4px;
    border-color: #4182EE;
    background-color: #aaaaaa;
}

.blur-custom-btn {
    background-color: #bbbbbb;
    opacity: 0.4;
}

.deselect-custom-btn {
    border: none;
    background: none;
    opacity: 1;
}

/* Use for Device Construction Page */
.device-background-pamel {
    padding-top: 100px;
    background-color: rgba(25, 25, 25, 0.4);
}

.highlight-selected-button {
    border: 2px solid green;
    border-radius: 10px;
}
