﻿@charset "UTF-8";
/*!
 * Stylesheet for RegistrazioneDomini.info
 * © 2025 GiDiNet. All rights reserved.
 *
 * This stylesheet is part of the redesigned version of the RegistrazioneDomini.info website.
 * The original website has been online since 2005.
 *
 * Unauthorized reproduction, distribution, or modification of this file is strictly prohibited.
 */

body {
    margin: 0;
    font-family: system-ui, sans-serif;
    line-height: 1.6;
    background-color: #fff;
    color: #222;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1rem;
}

.gdn-title {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gdn-title-main {
    font-size: 1.3rem;
    font-weight: bold;
    color: #000;
    line-height: 1.2;
}

.gdn-subtitle {
    font-size: 0.95rem;
    color: #333;
    line-height: 1.2;
}

.gdn-by {
    font-style: italic;
    font-weight: normal;
    color: #666;
}

.gdn-header {
    background-color: #dddddd;
    border-bottom: 1px solid #999;
    padding: 0.5rem 0;
}

.gdn-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 1rem;
}

.gdn-logo img {
    height: 60px;
}

.gdn-title {
    font-weight: bold;
    font-size: 1.2rem;
    color: #000;
}

.page-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.guide-sidebar {
    flex: 1 1 200px;
    max-width: 250px;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    padding: 1rem;
    border-radius: 6px;
}

    .guide-sidebar h3 {
        margin-top: 0;
        font-size: 1.1rem;
        color: #222;
    }

.guide-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

    .guide-list li {
        margin-bottom: 0.5rem;
    }

    .guide-list a {
        text-decoration: none;
        color: #333;
    }

        .guide-list a:hover {
            color: #ff6600;
        }

        .guide-list a.current {
            font-weight: bold;
            color: #ff6600;
        }

        .guide-list span.current {
            font-weight: bold;
            color: #ff6600;
        }

.guide-content {
    flex: 3 1 500px;
}

@media (max-width: 768px) {
    .page-layout {
        flex-direction: column;
    }

    .guide-sidebar {
        max-width: 100%;
        order: 2;
    }

    .guide-content {
        order: 1;
    }
}

@media (min-width: 1024px) {
    .gdn-header-inner {
        gap: 2rem;
    }
}

@media (min-width: 1400px) {
    .gdn-header-inner {
        gap: 3rem;
    }
}

nav {
    margin-top: 0.5rem;
}

.nav-link {
    margin-right: 1rem;
    text-decoration: none;
    color: #333;
    font-weight: 500;
}

    .nav-link:hover {
        color: #ff6600;
    }

.nav-cta {
    font-weight: bold;
    color: #fff;
    background-color: #ff6600;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
}

    .nav-cta:hover {
        background-color: #e85c00;
    }

h1 {
    color: #ff6600;
    font-size: 1.8rem;
    margin-top: 2rem;
    line-height: 1.2;
    font-weight: bold;
}

h2 {
    color: #000;
    margin-top: 1.5rem;
}

.cta-box {
    margin-top: 2rem;
    padding: 1rem;
    background-color: #fff6ee;
    border-left: 4px solid #ff6600;
    font-size: 1rem;
}

.cta-link {
    font-weight: bold;
    color: #ff6600;
    text-decoration: none;
}

    .cta-link:hover {
        text-decoration: underline;
    }

footer {
    margin-top: 3rem;
    font-size: 0.9rem;
    color: #666;
    border-top: 1px solid #ddd;
    padding-top: 1rem;
}

.DocumentTitle {
    font-weight: bold;
    color: #ff6600;
    margin-top: 1.5rem;
    font-size: 1.2rem;
}

.rev-warning {
    background-color: #fff6ee;
    border-left: 4px solid #ff6600;
    padding: 0.8rem 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    color: #333;
}

article table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
    font-size: 0.95em;
}

article th,
article td {
    padding: 0.6em 0.9em;
    border: 1px solid #ddd;
    text-align: left;
    vertical-align: top;
}

article th {
    background-color: #f7f7f7;
    font-weight: 600;
}

article tr:nth-child(even) td {
    background-color: #fafafa;
}

@media (max-width: 600px) {
    article table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

article code {
    background-color: #f5f5f5;
    color: #c7254e;
    /*padding: 0.15em 0.4em;*/
    font-family: Menlo, Consolas, Monaco, monospace;
    font-size: 0.95em;
    border-radius: 3px;
}

article pre {
    background-color: #f5f5f5;
    color: #333;
    padding: 1em;
    overflow-x: auto;
    font-family: Menlo, Consolas, Monaco, monospace;
    font-size: 0.9em;
    border-left: 4px solid #ff6600;
    border-radius: 4px;
    margin: 1em 0;
}

article td.advantage,
article th.advantage {
    background-color: #e6f8ea;
    color: #206a32;
    font-weight: 500;
}

article td.disadvantage,
article th.disadvantage {
    background-color: #fcebea;
    color: #a6362f;
    font-weight: 500;
}

article a {
    color: #0066cc;
    text-decoration: underline;
}

    article a:visited {
        color: #884488;
    }

    article a:hover,
    article a:focus {
        color: #003366;
        text-decoration: none;
    }

    article a:active {
        color: #cc3300;
    }

.icon {
    width: 1em;
    height: 1em;
    inline-size: 1em;
    block-size: 1em;
    vertical-align: -0.125em;
}

.icon-home {
    margin-right: 0.4em;
}

.guide-submenu {
    background-color: #f0f0f0;
    border-left: 4px solid #ff6600;
    padding: 1rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

    .guide-submenu ul {
        list-style: none;
        padding-left: 0;
        margin: 0;
    }

    .guide-submenu li {
        margin: 0.3rem 0;
    }

    .guide-submenu a {
        text-decoration: none;
        color: #333;
    }

        .guide-submenu a:hover {
            color: #ff6600;
        }

code.language-powershell {
    display: block;
    padding: 1em;
    background-color: #f4f4f4;
    color: #2b2b2b;
    border-left: 4px solid #007acc;
    font-family: Consolas, "Courier New", monospace;
    font-size: 0.95em;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}