﻿@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,400;1,700&display=swap');

/*************************************************
            RESET
**************************************************/
* {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    
}

html, body {
    height: 100%;
    margin: 0px;
}

body {
    /*overflow-x: hidden;*/
    /*background-color: #f5f9fd;*/ /*WARNING: This is for targeting main site layout (not article layout) */
    /*background-color: rgb(245, 245, 236);*/ /*more yellow*/
    /*background-color: rgba(247, 231, 208, 0.425);*/ /*more yellow-brown*/
}

a {
    padding: 0px;
    margin: 0px;
    text-decoration: none;
}

ul, ol {
    /*list-style-type: none;*/ /* Remove bullets */
/*    padding: 0; 
    margin: 0; */
}

.db-blue{
    border:1px solid blue;
}
.db-red{
    border:1px solid red;
}
.db-yellow{
    border:1px solid yellow;
}
.db-green{
    border:1px solid green;
}


/*************************************************
            SHARED
**************************************************/
/*a.navigation-link {
    text-decoration: none;
    text-transform: uppercase;*/
    /* margin: 1em; */
    /*color: #cde2ff;
    color: #e9f6ff;
    padding-bottom: 1px;
}*/

.i-text-color {
    color: rgba(137, 50, 168, 0.8);
}

.i-background-color {
    background-color: rgba(137, 50, 168, 0.8);
}
/*with bootstrap btn modificator and button size modificators*/
.i-button {
    background-color: rgba(137, 50, 168, 0.8);
    color: white;
    border: 1px solid rgba(137, 50, 168, 0.9);
}

    .i-button:hover {
        background-color: rgba(137, 50, 168, 0.7);
        color: white;
        border: 1px solid rgba(137, 50, 168, 0.7);
    }

.i-form-icon-tooltip {
    color: rgba(137, 50, 168, 0.9);
    font-size: 1rem;
}


.i-form-tooltip {
    font-size: 0.9rem !important;
    --bs-tooltip-bg: antiquewhite;
    --bs-tooltip-color: #824040;
    --bs-tooltip-max-width: 600px;
    --bs-tooltip-opacity: 1;

}
.i-form-tooltip .tooltip-inner{
        text-align:left !important;
}


.i-form-label500 {
    font-weight: 500;
}

/**************************/
/*** LOGIN PAGE */
/**************************/

.i-logo {
    font-size: 1.35rem;
    font-weight: bold;
    position: absolute;
    top: 1em;
    left: 1em;
}

/**************************/
/*  MODAL IMAGE FEATURE */


/*make image unclickable by default for article*/
img {
    pointer-events: none;
}

    /*make image clickable for article */
    img.modalable {
        pointer-events: all;
    }

.modal-image {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999999999;
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    outline: 0;
    background-color: rgba(10, 10, 10, 0.4);
}

    .modal-image.show {
        display: flex;
        justify-content: center;
        align-items: center;
    }

.modal-image-dialog {
    position: relative;
    box-sizing: content-box;
    max-width: 1500px;
    /*margin: 0px auto auto 0px;*/
    border-radius: 3px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
    /* border:1px solid red; */
}

    .modal-image-dialog img {
        display: block;
        /* border:1px solid blue; */
    }

.btn-image-close {
    box-sizing: content-box;
    position: absolute;
    width: 25px;
    height: 25px;
    right: 8px;
    /*bottom: -40px;*/
    top:-40px;
    z-index: 1;
    opacity: 0.7;
    border: 0px solid rgba(0, 0, 0, 0.5);
    border-radius: 0px;
    background-color: white;
    background: url("/img/btn_video_modal_close2.png");
    background-size: contain;
}

/*tablets*/
@media only screen and (min-width: 768px) {
    .modal-image-dialog {
        /* max-width:992px; */
        /* border: 1px solid rgba(0, 0, 0, .2); */
        border: 2px solid rgba(0, 0, 0, 0.3);
        margin-left: 10%;
        margin-right: 10%;
    }

    .btn-image-close {
        position: absolute;
        right: -40px;
        top: 0;
        opacity: 0.7;
    }

    .btn-close:hover {
        opacity: 1;
    }


    img {
    }
}
/*laptop*/
@media only screen and (min-width: 992px) {

    .modal-img-dialog {
        /* max-width:992px; */
        border: 1px solid rgba(0, 0, 0, .2);
        margin-left: 10%;
        margin-right: 10%;
    }

    img {
    }
}

@media only screen and (min-width: 1440px) {

    .modal-image-dialog {
    }

    img {
    }
}


/**** HARD CODED OVERRIDDED STYLE FOR ARTICLE TOC ***/

.toc-list {
    list-style-type:disc;
}

.toc-list-item {
    margin: 0.0rem 0;
}

.toc-link {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-size: 0.95rem;
    color: #007acc;
    padding: 0px 0;
    transition: color 0.2s ease;
}

    .toc-link:hover {
    }


/**************************/
/*** SHARED BOX */
/**************************/
.i-panel-box {
    padding: 3em;
    border-radius: 8px;
}

.i-panel-box.yellow {
    background-color: #f9f7f2;
    /*border: 2px solid #d6d3c2;*/
    border: 2px solid #ddd49e;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}


@media(max-width:1280px) {
    .i-panel-box {
        padding-left: 1.5em;
        padding-right: 1.5em;
        padding-bottom: 1.5em;
    }
}

@media(max-width:600px) {
    .i-panel-box {
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 10px;
    }
}

/**************************/
/*** OVERRIDES */
/**************************/

/*This override bootstrap card header style*/
.card-header.yellow {
    background-color: #f0edbd;
    border-radius:0px;
}

/*WARNING:This override the css style from Blazor.Bootstrap (maybe there is better way) library because of fixing issue with sticky element in article left side container layout element*/
main {
    overflow-x: initial;
    height:initial;
}