@import url(all.min.css);
@import url(notyf.min.css);
@import url(tailwind.css);
@import url(theme.css);

body {
    font-family: 'Roboto', sans-serif;
}

md-outlined-select::part(menu) {
    max-height: 250px;
    overflow-y: auto;
}

.nav-bar-color {
    background-color: rgb(var(--navbar-color));
}

.materialert {
    position: relative;
    min-width: 150px;
    padding: 15px;
    margin-bottom: 20px;
    margin-top: 15px;
    border: 1px solid transparent;
    border-radius: 0.5rem;
    transition: all 0.1s linear;
    webkit-box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}

    .materialert .material-icons {
        margin-right: 10px;
        position: relative;
    }

    .materialert .close-alert {
        -webkit-appearance: none;
        border: 0;
        cursor: pointer;
        color: inherit;
        background: 0 0;
        font-size: 22px;
        line-height: 1;
        font-weight: bold;
        text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
        filter: alpha(opacity=40);
        margin-bottom: -5px;
        position: absolute;
        top: 16px;
        right: 5px;
    }

    .materialert.info {
        background-color: #cff4fc;
        color: #055160;
    }

    .materialert.success {
        background-color: #43a047;
        color: #fff;
    }

    .materialert.error {
        background-color: #c62828;
        color: #fff;
    }

    .materialert.danger {
        background-color: #c62828;
        color: #fff;
    }

    .materialert.warning {
        background-color: #fff3cd;
        color: #664d03;
    }

@media only screen and (max-width : 992px) {
    .card .card-toolbar .card-toolbar-title {
        font-size: 20px;
    }
}

/* PIN ENTRY */
.pincode-input {
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 15px;
    border: 2px solid gray;
    text-align: center;
    font-size: 1.5rem;
    text-transform: uppercase;
}

    .pincode-input:not(:last-child) {
        margin-right: 1rem;
    }

    .pincode-input.pincode-input--focused {
        border-color: var(--pincode-outline-color);
    }

    .pincode-input.pincode-input--filled {
        /*color: var(--btn-primary-color); */
        background-color: var(--btn-primary-color);
        opacity: 0.7;
        border-color: var(--pincode-outline-color);
    }

@media only screen and (max-width : 992px) {
    .pincode-input {
        width: 30px;
        height: 30px;
        border-radius: 9px;
    }

        .pincode-input:not(:last-child) {
            margin-right: 0.3rem;
        }
}


.tile-deck {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

a.tile {
    color: black;
}

.tile {
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 15px;
    display: flex;
    cursor: pointer;
    user-select: none;
    margin: 5px auto;
    transition: background-color 0.3s;
}

    .tile .tile-check {
        margin: auto;
        height: 30px;
        width: 30px;
        border-radius: 5px;
        outline: 2px solid grey;
    }


    .tile.active .tile-check {
        background-color: var(--primary-color);
        outline: 2px solid var(--primary-color);
    }

    .tile.active .tile-check:after {
        position: relative;
        display: block;
        height: 30px;
        margin: auto 0;
        content: "\2714";
        font-size: 25px;
        color: white;
        top: 50%;
        transform: translateY(-50%);
        line-height: 30px;
        left: 3px;
    }

.tile-deck .tile {
    width: 80%;
}

.tile:hover, tile:focus {
    background-color: rgba(0, 0, 0, 0.03);
}

.tile .tile-icon {
    width: 80px;
    height: 80px;
    border-radius: 5px;
    background: var(--primary-color);
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s;
}

.tile:hover .tile-icon, .tile:focus .tile-icon {
    background: var(--secondary-color);
}

    .tile .tile-icon .material-icons {
        font-size: 50px;
        color: #ffffff;
    }

.tile .tile-icon img {
    width: 50px;
    height: 50px;
    color: #ffffff;
}

.tile .tile-content {
    width: calc(100% - 100px);
    margin-left: 20px;
}


.tile .tile-content .tile-title {
    display: flex;
    font-weight: 500;
    font-size: 20px;
    margin-bottom: 10px;
}

    .tile .tile-content .tile-text {
        font-size: 14px;
    }


@media only screen and (max-width : 992.99px) {
    .tile-deck .tile {
        width: 100%;
    }

    .tile .tile-content .tile-title {
        font-size: 18px;
    }

    .tile .tile-content .tile-text {
        font-size: 12px;
    }
}

/* Resource Editor */
.tree ul {
    /*padding-top: 20px;*/
    padding-top: 10px;
    position: relative;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    text-align: center;
}

.tree li {
    float: left;
    text-align: center;
    list-style-type: none;
    position: relative;
    /*padding: 20px 5px 0 5px;*/
    padding: 10px 5px 0 5px;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    text-align: center;
}

    /*We will use ::before and ::after to draw the connectors*/

    .tree li::before, .tree li::after {
        content: '';
        position: absolute;
        top: 0;
        right: 50%;
        border-top: 1px solid #ccc;
        width: 50%;
        /*height: 20px;*/
        height: 10px;
    }

    .tree li::after {
        right: auto;
        left: 50%;
        border-left: 1px solid #ccc;
    }

    /*We need to remove left-right connectors from elements without 
any siblings*/
    .tree li:only-child::after, .tree li:only-child::before {
        display: none;
    }

    /*Remove space from the top of single children*/
    .tree li:only-child {
        padding-top: 0;
    }

    /*Remove left connector from first child and 
right connector from last child*/
    .tree li:first-child::before, .tree li:last-child::after {
        border: 0 none;
    }
    /*Adding back the vertical connector to the last nodes*/
    .tree li:last-child::before {
        border-right: 1px solid #ccc;
        border-radius: 0 5px 0 0;
        -webkit-border-radius: 0 5px 0 0;
        -moz-border-radius: 0 5px 0 0;
    }

    .tree li:first-child::after {
        border-radius: 5px 0 0 0;
        -webkit-border-radius: 5px 0 0 0;
        -moz-border-radius: 5px 0 0 0;
    }

/*Time to add downward connectors from parents*/
.tree ul ul::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    border-left: 1px solid #ccc;
    width: 0;
    /*height: 20px;*/
    height: 10px;
}

.tree li a {
    border: 1px solid #ccc;
    padding: 5px 10px;
    text-decoration: none;
    color: #666;
    font-family: arial, verdana, tahoma;
    font-size: 11px;
    display: inline-block;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
}

    /*Time for some hover effects*/
    /*We will apply the hover effect the the lineage of the element also*/
    .tree li a:hover, .tree li a:hover + ul li a {
        background: #E2690C;
        color: #000;
        border: 1px solid #CCC;
    }
        /*Connector styles on hover*/
        .tree li a:hover + ul li::after,
        .tree li a:hover + ul li::before,
        .tree li a:hover + ul::before,
        .tree li a:hover + ul ul::before {
            border-color: #CCC;
        }


@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url(../webfonts/material-icons.woff2) format('woff2');
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 100;
    src: url(../webfonts/Roboto-Thin.ttf) format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 100;
    src: url(../webfonts/Roboto-ThinItalic.ttf) format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: url(../webfonts/Roboto-Light.ttf) format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 300;
    src: url(../webfonts/Roboto-LightItalic.ttf) format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: url(../webfonts/Roboto-Regular.ttf) format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 400;
    src: url(../webfonts/Roboto-Italic.ttf) format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: url(../webfonts/Roboto-Medium.ttf) format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 500;
    src: url(../webfonts/Roboto-MediumItalic.ttf) format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: url(../webfonts/Roboto-Bold.ttf) format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 700;
    src: url(../webfonts/Roboto-BoldItalic.ttf) format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 900;
    src: url(../webfonts/Roboto-Black.ttf) format('truetype');
}

@font-face {
    font-family: 'Roboto';
    font-style: italic;
    font-weight: 900;
    src: url(../webfonts/Roboto-BlackItalic.ttf) format('truetype');
}