@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

*.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.content {
    padding-top: 1.1rem;

    height: 100%;
    z-index: 1;
    background-color: white;
}
.sidebar {
    background-color: #2b2b2b;
    /* width: 20rem;*/
    width: 250px;
    min-width: 250px;
    display: flex;
    flex-direction: column;
    color: white;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

/* TT: Use these to centre images/texts */
.center-img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.center-text {
    text-align: center;
}

/* TT: Use this for screenshots in tutorial page */
.tutorial-screenshot {
    border: 2px solid #941b80;
    border-radius: 5px;
    min-width: 700px;
    max-width: 700px;
}

/* TT: */
.form-sec-title {
    font-size: 1.2em;
    font-weight:bold;
    padding-bottom: 10px;
}

/* NOT IN USE: ============================================================ */
/* TT: use this for a div with bottom border */
.div-with-bottom-border {
    border-bottom-style: solid;
    border-bottom-width: thin;
    border-bottom-color: lightgrey;
}

/* TT: use this for a div to show explanatory info on top of a popup window */
#div-modal-top-info {
    margin-top: -5px;
    font-weight: bold;
    color: darkturquoise;  /* Temp! */ 
}

/* TT: use this for the tables to show linked persons or orgs, in CmpViewProfile and CmpViewOrgProfile */
.linked-ep-table {
    width: 90%;
    padding: 10px;
    border: 1px solid #dadfe2;
}

    .linked-ep-table thead tr {
        border: 1px solid #dadfe2;
        background-color: #f6f7fa;
    }

    .linked-ep-table thead td {
        color: black;
        padding-left: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
        border: 1px solid #dadfe2;
    }

    .linked-ep-table tbody tr:nth-child(odd) {
        background-color: #ffffff;
        border: 1px solid #dadfe2;
    }

    .linked-ep-table tbody tr:nth-child(even) {
        background-color: #f6f7fa;
        border: 1px solid #dadfe2;
    }

    .linked-ep-table tbody td {
        padding-top: 4px;
        padding-bottom: 4px;
        padding-left: 10px;
        border: 1px solid #dadfe2;
    }


/* TT: These are used to show the nested saved-search list */
.saved-search-table {
    width: 100%;
    padding: 10px;
    border: 2px solid #e9edf0;
}

    .saved-search-table tr {
        border: 2px solid #e9edf0;
    }

    .saved-search-table thead td {
        color: black;
        padding-left: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
        text-align: center;
        font-weight: bold;
    }

    .saved-search-table tbody td {
        padding-top: 4px;
        padding-bottom: 4px;
        padding-left: 10px;
    }

.search-box {
    display: flex;
    align-items: center;
}


/* TT: This is used for showing the SDGs in search result list */
div.sdg {
    margin-bottom: 4px;
}
/* TT: These are used to keep the items in SDG multi-selection list in same line */
.sdg-mulpi-select-item {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}
    .sdg-mulpi-select-item label {
        margin-left: 5px;
        white-space: nowrap;
    }



/* TT: Modal backdrop to center the modal and dim the background */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Modal content box */
.modal-content {
    position: relative;
    background-color: white;
    padding: 20px;
    width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 1001;
}

/* Close button in the top-right corner */
.close-button {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}







/* TT: Tried these to not show column head in capital in RadzenDataGrid for RadzenDataGridColumn, but not working! */
/*.no-uppercase-grid .rz-datatable-thead > tr > th {
    text-transform: none !important;
}*/
/*.rz-datatable-thead > tr > th {
        text-transform: none !important;
}*/



    /* This has no effect! .search-box > .rz-button { margin-left: 8px; }*/

.row row-95 {width: 95%;}

/* Not in use ========== TT: Use this to show link icons on right */
.right-icon {
    text-align: right;
    margin-right: -5px;
}

