/* Icons for custom admonitions */
:root {
    --md-admonition-icon--pub: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><!--! Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc.--><path d="M0 96C0 43 43 0 96 0h96v190.7c0 13.4 15.5 20.9 26 12.5l54-43.2 54 43.2c10.5 8.4 26 .9 26-12.5V0h64c17.7 0 32 14.3 32 32v320c0 17.7-14.3 32-32 32v64c17.7 0 32 14.3 32 32s-14.3 32-32 32H96c-53 0-96-43-96-96V96zm64 320c0 17.7 14.3 32 32 32h256v-64H96c-17.7 0-32 14.3-32 32z"/></svg>');

    --md-admonition-icon--award: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><!--! Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc.--><path d="M173.8 5.5c11-7.3 25.4-7.3 36.4 0L228 17.2c6 3.9 13 5.8 20.1 5.4l21.3-1.3c13.2-.8 25.6 6.4 31.5 18.2l9.6 19.1c3.2 6.4 8.4 11.5 14.7 14.7l19.3 9.7c11.8 5.9 19 18.3 18.2 31.5l-1.3 21.3c-.4 7.1 1.5 14.2 5.4 20.1l11.8 17.8c7.3 11 7.3 25.4 0 36.4L366.8 228c-3.9 6-5.8 13-5.4 20.1l1.3 21.3c.8 13.2-6.4 25.6-18.2 31.5l-19.1 9.6c-6.4 3.2-11.5 8.4-14.7 14.7l-9.7 19.3c-5.9 11.8-18.3 19-31.5 18.2l-21.3-1.3c-7.1-.4-14.2 1.5-20.1 5.4l-17.8 11.8c-11 7.3-25.4 7.3-36.4 0L156 366.8c-6-3.9-13-5.8-20.1-5.4l-21.3 1.3c-13.2.8-25.6-6.4-31.5-18.2l-9.6-19.1c-3.2-6.4-8.4-11.5-14.7-14.7L39.5 301c-11.8-5.9-19-18.3-18.2-31.5l1.3-21.3c.4-7.1-1.5-14.2-5.4-20.1L5.5 210.2c-7.3-11-7.3-25.4 0-36.4L17.2 156c3.9-6 5.8-13 5.4-20.1l-1.3-21.3c-.8-13.2 6.4-25.6 18.2-31.5l19.1-9.6C65 70.2 70.2 65 73.4 58.6L83 39.5c5.9-11.8 18.3-19 31.5-18.2l21.3 1.3c7.1.4 14.2-1.5 20.1-5.4l17.9-11.7zM272 192a80 80 0 1 0-160 0 80 80 0 1 0 160 0zM1.3 441.8l43.1-102.5c.2.1.3.2.4.4l9.6 19.1c11.7 23.2 36 37.3 62 35.8l21.3-1.3c.2 0 .5 0 .7.2l17.8 11.8c5.1 3.3 10.5 5.9 16.1 7.7l-37.6 89.3c-2.3 5.5-7.4 9.2-13.3 9.7s-11.6-2.2-14.8-7.2l-32.2-49.3-56.1 8.3c-5.7.8-11.4-1.5-15-6s-4.3-10.7-2.1-16zm248 60.4L211.7 413c5.6-1.8 11-4.3 16.1-7.7l17.8-11.8c.2-.1.4-.2.7-.2l21.3 1.3c26 1.5 50.3-12.6 62-35.8l9.6-19.1c.1-.2.2-.3.4-.4l43.2 102.5c2.2 5.3 1.4 11.4-2.1 16s-9.3 6.9-15 6l-56.1-8.3-32.2 49.2c-3.2 5-8.9 7.7-14.8 7.2s-11-4.3-13.3-9.7z"/></svg>');

    --md-admonition-icon--event: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><!--! Font Awesome Free 6.5.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2024 Fonticons, Inc.--><path d="M96 96c0-35.3 28.7-64 64-64h288c35.3 0 64 28.7 64 64v320c0 35.3-28.7 64-64 64H80c-44.2 0-80-35.8-80-80V128c0-17.7 14.3-32 32-32s32 14.3 32 32v272c0 8.8 7.2 16 16 16s16-7.2 16-16V96zm64 24v80c0 13.3 10.7 24 24 24h112c13.3 0 24-10.7 24-24v-80c0-13.3-10.7-24-24-24H184c-13.3 0-24 10.7-24 24zm208-8c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16s-7.2-16-16-16h-48c-8.8 0-16 7.2-16 16zm0 96c0 8.8 7.2 16 16 16h48c8.8 0 16-7.2 16-16s-7.2-16-16-16h-48c-8.8 0-16 7.2-16 16zm-208 96c0 8.8 7.2 16 16 16h256c8.8 0 16-7.2 16-16s-7.2-16-16-16H176c-8.8 0-16 7.2-16 16zm0 96c0 8.8 7.2 16 16 16h256c8.8 0 16-7.2 16-16s-7.2-16-16-16H176c-8.8 0-16 7.2-16 16z"/></svg>');
}

/* Center align elements */
.center_align {
    text-align: center;
}
.justify_align {
    text-align: justify !important;
}

/* Custom columns for grid-view for Responsive Web Design */
.custom_col-1 {width: 8.33%;}
.custom_col-2 {width: 16.66%;}
.custom_col-3 {width: 25%;}
.custom_col-4 {width: 33.33%;}
.custom_col-5 {width: 41.66%;}
.custom_col-6 {width: 50%;}
.custom_col-7 {width: 58.33%;}
.custom_col-8 {width: 66.66%;}
.custom_col-9 {width: 75%;}
.custom_col-10 {width: 83.33%;}
.custom_col-11 {width: 91.66%;}
.custom_col-12 {width: 100%;}

[class*="custom_col-"] {
    float: left;
    padding: 15px;
    box-sizing: border-box;
}

.custom_row::after {
    content: "";
    clear: both;
    display: table;
    box-sizing: border-box;
}

@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    [class*="custom_col-"] {
      width: 100%;
    }
}


/* Style for custom table */

div.custom_table .md-typeset__table{
    /* text-align: center; */
    width: 75%;
}

@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    div.custom_table .md-typeset__table {
      width: 100%;
    }
}

div.custom_table table:not([class]) {
    display: table;
}

div.custom_table table {
    border-left: none !important;
    border-right: none !important;
    font-size: medium !important;
}

/* Custom buttons for in list of publications and other sections */
.pub_button {
    color: var(--md-typeset-a-color) !important;
    border: .05rem solid;
    border-radius: 0.1rem;
    display: inline-block;
    font-weight: 500;
    font-size: 1em;
    padding: 0em 0.3em 0em 0.3em;
}

.pub_button_clickable {
    cursor: pointer;
    transition: color 125ms, background-color 125ms, border-color 125ms;
}

.pub_button_clickable:focus, .pub_button_clickable:hover {
    background-color: var(--md-accent-fg-color);
    border-color: var(--md-accent-fg-color);
    color: var(--md-accent-bg-color) !important;
}

.pub_button_clickable a:focus, .pub_button_clickable a:hover{
    color: var(--md-accent-bg-color) !important;
}

/* Custom admonitions */

div.custom_admonition {
    width: 75%;
    /* margin-left: auto; */
    margin-right: auto;
}

@media only screen and (max-width: 768px) {
    div.custom_admonition {
        width: 100%;
    }
}

/* Common style for all custom admonition */
.md-typeset .custom_admonition >.admonition,
.md-typeset .custom_admonition > details {
    /* border-top-color: #bec1c6a9;
    border-right-color: #bec1c6a9;
    border-bottom-color: #bec1c6a9; */
    border-left-width: 4px;
}

/* .custom_admonition > .admonition > .admonition-title,
.custom_admonition > details > summary {
    background-color: transparent !important;
} */


/* Style for pub admonition */
.md-typeset .pub > .admonition-title::before,
.md-typeset .pub > summary::before {
    -webkit-mask-image: var(--md-admonition-icon--pub);
    mask-image: var(--md-admonition-icon--pub);
    background-color: #469408;
}

.md-typeset .admonition.pub,
.md-typeset details.pub {
    border-color: #469408;
}

.md-typeset .pub > .admonition-title,
.md-typeset .pub > summary {
  background-color: rgba(70, 148, 8, 0.1);
}

.news_pub_code_color {
    color: #469408 !important;
}

/* Style for award admonition */
.md-typeset .award > .admonition-title::before,
.md-typeset .award > summary::before {
    -webkit-mask-image: var(--md-admonition-icon--award);
    mask-image: var(--md-admonition-icon--award);
    background-color: #ffc107;
}

.md-typeset .admonition.award,
.md-typeset details.award {
    border-color: #ffc107;
}

.md-typeset .award > .admonition-title,
.md-typeset .award > summary {
  background-color: rgba(255, 193, 7, 0.1);
}

.news_award_code_color {
    color: #ffc107 !important;
}

/* Style for event admonition */
.md-typeset .event > .admonition-title::before,
.md-typeset .event > summary::before {
    -webkit-mask-image: var(--md-admonition-icon--event);
    mask-image: var(--md-admonition-icon--event);
    background-color: #007bff;
}

.md-typeset .admonition.event,
.md-typeset details.event {
    border-color: #007bff;
}

.md-typeset .event > .admonition-title,
.md-typeset .event > summary {
  background-color: rgba(0, 123, 255, 0.1);
}

.news_event_code_color {
    color: #007bff !important;
}

@media only screen and (max-width: 768px) {
    /* For mobile phones: */
    .extra_space_in_phones {
      margin-bottom: 5px;
    }
}
