/* AI Toewaarde Propositie custom CSS code to be updated in the "Custom CSS" template
https://dev.moodle.dss.cloud/mod/data/templates.php?id=38&mode=csstemplate */

.category-container {
    background-color: rgb(255, 236, 225);
    width: 18vw;
    height: 18vw;
    border-radius: 100%;
    margin: 5px;
    padding: 40px;
    text-align: center;
}

.ai-tool {
    background-color: rgb(237, 94, 13);
    color: rgb(237, 94, 13);
    width: 20px;
    height: 20px;
    border-radius: 100%;
    margin: 3px;
    display: inline-block;
    font-size: 8px;
    text-align: center;
    overflow: hidden;
}

.ai-tool:hover {
    background-color: rgb(37, 22, 122);
    color: rgb(37, 22, 122);
    cursor: pointer;
}

.btn {
    cursor: pointer;
}

.popup {
        position: absolute;
        background-color: rgb(37, 22, 122);
        margin-top: 0;
        text-wrap: wrap;
        padding: 16px;
        width: 400px;
        top: 0;
        right: 0;
        color: rgb(255, 236, 225);
        border-radius: 5px;
        display: none;
        height: 100%;
        z-index: 9999;
}

.popup-content {
    position: sticky;
    top: 0;
    padding-top: 75px;
}

.tool-name-popup {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
}

.container-title {
    color: rgb(237, 94, 13);
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-top: 30px;
}

.popup-category {
    font-size: 14px;
    font-weight: 700;
}

.btn-set {
    display: flex;
    flex-direction: row;
    position: relative;
}

.view-btn {
    display: block;
    background-color: rgb(217, 217, 217);
    color: rgb(50, 83, 141);
    width: 150px;
    height: 50px;
    border-radius: 20px;
    padding: 5px;
    text-align: center;
    margin: 5px;
    padding-top: 12px;
}

.view-btn:hover, .group-btn:hover {
    cursor: pointer;
}

.group-btn {
    margin: 5px;
    color: rgb(237, 94, 13);
}

.group-btn:hover {
    font-weight: 500;
}

#group-text {
    margin-left: 5px;
    font-weight: 1000;
}

#share-tool {
    margin: 20px;
}

#table-view, #chart-view {
    display: block;
}

#table-view {
    overflow-x: auto;
}

#chart-view {
    margin-top: 50px;
    /* display: flex; */
    flex-direction: column;
    align-items: center;
}

th {
    color: rgb(237, 94, 13);
    padding: 7px;
    cursor: pointer;
}

table {
    display: inline;
    border-spacing: 8px;
    margin-top: 40px;
}

#list-table-body {
    font-size: 12px;
}

.show-drawer-right table, .show-drawer-left table {
    font-size: 14px;
}

tr {
    margin-bottom: 10px;
}

.close-btn {
    position: absolute;
    color: white;
    top: 20px;
    right: 30px;
}

.close-btn:hover {
    cursor: pointer;
}

#chart-view {
    display: none;
    margin-top: -100px;
}

#omschrijving-data{
    max-height: 20px;
    text-overflow: ellipsis;
    overflow: hidden;
}

.long-input {
    height: 60px; 
    text-overflow: ellipsis; 
    overflow:hidden;
}

hr, #options {
    display: none;
}

/* .form-inline {
    display: none;
} */

.view-btn {
    margin-top: -40px;
    background-color: white;
    color: rgb(237, 94, 13);
    width: 120px;
    height: 40px;
    border-radius: 10px;
    padding-top: 6px;
    border: 1px;
    margin-bottom: 70px;
    font-weight: 500;
    border-style: solid;
    border-color: rgb(237, 94, 13);
}

.view-btn:hover {
    background-color: rgb(237, 94, 13);
    color: white;
}

.view-btn:active {
    background-color: rgb(237, 94, 13);
    color: white;
}

.group-att {
    position: relative;
    font-size: 30px;
    font-weight: 600;
}

.share-btn {
    position: relative;
    background-color: rgb(50, 83, 141);
    background-color: rgb(24, 45, 80);
    width: 280px;
    color: white;
    margin-top: 17px;
}

#chart-share-btn {
    left: -70px;
    margin-top: 5px;
    background-color: rgb(255, 236, 225);
    color: rgb(37, 22, 122);
}

td {
    padding: 10px;
    font-size: 14px;
    width: 250px;
}

#tool-name-popup {
    font-size: 20px;
    text-align: center;
    font-weight: 600;
    margin-bottom: 5px;
}

#set-containers {
    display: flex;
    margin-top: 50px;
}

tbody {
    vertical-align: text-top;
}

label {
    margin-left: 8px !important;
}
#page-mod-data-edit .basefieldinput {
    width: 90%;
    margin-left: -8px;
}

#page-mod-data-edit .inline-req {
    margin-left: -25px;
}

.description {
    font-weight: 500;
    font-size: 14px;
}

.extra-description {
    font-weight: 500;
    font-size: 14px;
    margin: 5px;
}

#region-main .activity-navigation.container-fluid, #region-main .activity-navigation.container-sm, #region-main .activity-navigation.container-md, #region-main .activity-navigation.container-lg, #region-main .activity-navigation.container-xl, #region-main .activity-navigation.container-xxl {
    display: none;
}

#group-section {
    position: relative;
    margin-top: 40px;
}

.font-weight-bold {
    font-size: 14px;
}

.edw-icon {
    display: none;
}

body {
    font-size: 14px;
}

.mandatory {
    color: red;
}


/* MEDIA QUERIES */

@media only screen and (max-width: 1300px) {
    #set-containers {
        flex-direction: column;
    }

    .category-container {
        width: 500px;
        height: 500px;
        padding: 70px;
    }

    .ai-tool {
        width: 50px;
        height: 50px;
    }

  }

  @media only screen and (max-width: 650px) {
    #set-containers {
        flex-direction: column;
    }

    .category-container {
        width: 300px;
        height: 300px;
        padding: 40px;
    }

    .ai-tool {
        width: 30px;
        height: 30px;
    }


    td {
        width: 150px;
    }

    #chart-share-btn {
        left: -135px;
    }
  }