.collapse { display: none; }

.mb-2 { margin-bottom: 10px; }


.alert {
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-weight: bold;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}


img.tli-post-formatting-button-icon {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.tli-loaderino {
    color: #f8e45c;
    font-size: 14px;
    font-weight: bolder;
}

.site_logo {
    background-image: /* webpackIgnore: true */ url("/images/logo/turbolab.it.png");
    width: 340px;
    background-repeat: no-repeat;
    background-position: 0% 0%;
    background-size: 100%;
    max-width: 100%;
    padding-bottom: 5px;
}

/* Mostro il logo anche su mobile https://turbolab.it/forum/viewtopic.php?t=3263 */
.logo { display: inline-block !important; }

/* Nascondo il nome del sito di fianco al logo */
#site-description > h1, #site-description > p { display: none !important; }

.spoiler_container {width: 100%;}

.spoiler_button {
    background: /* webpackIgnore: true */ url('/images/forum/buttons/spoiler.png') no-repeat left top;
    display: block;
    width: 96px;
    height: 25px;
    margin: 3px 0;
    display: none;
}

.spoiler_button:hover {cursor: pointer;}

.spoiler_content {
    padding: 3px 0px 7px 0px;
    display: none;
    width: 100%;
    border-bottom: 1px solid #888;
    margin-bottom: 10px;
}

.spoiler_failsafe div div {display: none;}

.spoiler_failsafe div:hover div {display: block;}

#tli-register-not-welcome {
    text-align:center;
    color:#FF5C04;
    font-size:40px;
    font-weight:bold;
    margin-bottom: 10px;
}

#tli-register-rules-container p {
    font-family: Verdana, Helvetica, Arial, sans-serif;
    font-size: medium;
}

#tli-register-rules-container h2 {
    padding-top: 30px;
    font-size: x-large;
    clear: both;
}

.tli-register-rules-spotlight {
    width: 160px;
    height: 160px;
    float:left;
    margin:5px;
    padding:2px;
    border:solid #CCCCCC 1px;
}

.tli-register-rules-clear {
    clear:left;
}

#tli-register-welcome {
    text-align:center;
    color:#33CC33;
    font-size:40px;
    font-weight:bold;
    margin-bottom: 0px;
}

body.tli-prevent-scrolling { overflow: hidden !important; }

#tli-darken {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.5;
    z-index: 50;
}

.tli-forum-modal {
    display: none;
    position: fixed;
    /*top: 50%;
    left: 25%;
    transform: translate(-25%, -50%);*/
    background: #fff;
    border: 1px solid #999;
    border-radius: 7px;
    padding: 14px;
    z-index: 51;
    min-width: 150px;
    max-width: 90%;
    font-size: 12px;
}

.tli-forum-modal .alert_close {
    margin: -14px -7px 0 0;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    color: #333;
}

.tli-forum-modal .alert_close:hover {
    color: #000;
}

.tli-forum-modal .alert_title {
    margin: 0 0 10px 0;
    color: #333;
    /* Prevent title from wrapping unnecessarily */
    white-space: nowrap;
    /* Add some padding to account for close button */
    padding-right: 20px;
}

.tli-forum-modal p {
    /* Allow content to determine width */
    margin: 10px 0;
}

.tli-forum-modal .button-container {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    /* Prevent buttons from wrapping */
    white-space: nowrap;
}

.tli-forum-modal .button1,
.tli-forum-modal .button2 {
    margin: 0 5px;
}

#tli-link-article-modal {
    width: auto;
    max-height: 90vh;
}

#tli-link-article-search-container {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
}

/* Search input */
#tli-search-input {
    flex: 1;
    height: 32px;
    padding: 6px;
}

/* Search button */
#tli-search-button {
    min-width: 50px;
    padding: 6px 12px;
}

/* Search results - scrollable area */
#tli-search-results {
    overflow-y: auto;
    max-height: 720px;
}

.tli-additional-thanks-button {
    margin-top: 10px;
}

.tli-handstop {
    display: none;
    border: thick dashed red;
    padding: 10px;
    margin-bottom: 10px;
    color: black;
}

.tli-handstop-inner {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.tli-handstop-text {
    flex: 1;
}

.tli-handstop-inner > .economics-handstop-icon:last-child {
    transform: scaleX(-1);
}

.tli-handstop-text p {
    color: black;
    margin-bottom: 0.5rem;
}

.tli-handstop-text p:last-child {
    margin-bottom: 0;
}

.tli-handstop a {
    color: black;
    text-decoration: underline;
}

.tli-handstop-hide {
    margin: 0.75rem 0 0;
    text-align: center;
}

