@import "colors.css";

@import url('https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/*@font-face {
    font-family: 'din-next-w01-light';
    font-style: normal;
    font-weight: 400;
    src: url('//static.parastorage.com/fonts/v2/eca8b0cd-45d8-43cf-aee7-ca462bc5497c/v1/din-next-w10-light.woff2') format('woff2');
    unicode-range: U+0401-040C, U+040E-044F, U+0451-045C, U+045E-045F, U+0490-0491, U+2116;
    font-display: swap;
}
@font-face {
    font-family: 'din-next-w01-light';
    font-style: normal;
    font-weight: 400;
    src: url('//static.parastorage.com/fonts/v2/eca8b0cd-45d8-43cf-aee7-ca462bc5497c/v1/din-next-w02-light.woff2') format('woff2');
    unicode-range: U+000D, U+0100-010F, U+0111-0130, U+0132-0151, U+0154-015F, U+0162-0177, U+0179-017C, U+01FA-01FF, U+0218-021B, U+0237, U+02C9, U+02D8-02D9, U+02DB, U+02DD, U+0394, U+03A9, U+03C0, U+1E80-1E85, U+1EF2-1EF3, U+2070, U+2074-2079, U+2080-2089, U+2113, U+2126, U+212E, U+2153-2154, U+215B-215E, U+2202, U+2206, U+220F, U+2211-2212, U+2215, U+2219-221A, U+221E, U+222B, U+2248, U+2260, U+2264-2265, U+25CA, U+F8FF, U+FB00-FB04;
    font-display: swap;
}
@font-face {
    font-family: 'din-next-w01-light';
    font-style: normal;
    font-weight: 400;
    src: url('//static.parastorage.com/fonts/v2/eca8b0cd-45d8-43cf-aee7-ca462bc5497c/v1/din-next-w01-light.woff2') format('woff2');
    unicode-range: U+0020-007E, U+00A0-00FF, U+0110, U+0131, U+0152-0153, U+0160-0161, U+0178, U+017D-017E, U+0192, U+02C6-02C7, U+02DA, U+02DC, U+03BC, U+2013-2014, U+2018-201A, U+201C-201E, U+2020-2022, U+2026, U+2030, U+2039-203A, U+2044, U+20AC, U+2122;
    font-display: swap;
}
@font-face {
    font-family: wf_79e77edb7bd3415bb76de94a5;
    font-display: swap;
    src: url("https://static.wixstatic.com/ufonts/db86c3_79e77edb7bd3415bb76de94a59b51157/woff2/file.woff2") format("woff2"),
    url("https://static.wixstatic.com/ufonts/db86c3_79e77edb7bd3415bb76de94a59b51157/woff/file.woff") format("woff"),
    url("https://static.wixstatic.com/ufonts/db86c3_79e77edb7bd3415bb76de94a59b51157/ttf/file.ttf") format("ttf");
}
@font-face {
    font-family: 'spinnaker';
    font-style: normal;
    font-weight: 400; src:
        url('//static.parastorage.com/tag-bundler/api/v1/fonts-cache/googlefont/woff2/s/spinnaker/v19/w8gYH2oyX-I0_rvR6HmX1XYKiumCB-Eo.woff2') format('woff2');
    unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
    font-display: swap;
}
@font-face {
    font-family: 'spinnaker';
    font-style: normal;
    font-weight: 400;
    src: url('//static.parastorage.com/tag-bundler/api/v1/fonts-cache/googlefont/woff2/s/spinnaker/v19/w8gYH2oyX-I0_rvR6HmX23YKiumCBw.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
    font-display: swap;
}*/

:root {
    --body-color: rgb(28, 33, 133);
    --footer-color: #2B689C;
    --light-blue: #3d9be9;
}

html, body {
    height: 100%;
}

body {
    background-color: #f8f9fa;
    /*font-family: din-next-w01-light, sans-serif;*/
    font-family: "Barlow", sans-serif;
    color: var(--body-color);
    display: flex;
    flex-direction: column;
}

.main-content {
    flex: 1 0 auto;
}

/* Content Sections - Stili generali per sezioni di contenuto */
.content-section {
    margin-bottom: 3rem;
}

.content-image {
    width: 100%;
    height: auto;
    margin-bottom: 2rem;
}

a{
    color: #0000FF;
}

.header {
    background-color: #fff;
    color: #1C2185;
    border-bottom: solid 2px #1C2185;
    text-shadow: rgba(0, 0, 0, 0.4) 0px 4px 5px;
    text-transform: uppercase;
    /*font-family: wf_79e77edb7bd3415bb76de94a5, sans-serif;*/
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}

@media screen and (max-width: 575px) {
    .header h1{
        font-size:22px;
    }
}

.header-top {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    position: sticky;
    top: 0;
    z-index: 1030;
}

.header-top .logo{
    height: 100px;
}

@media screen and (max-width: 991px) {
    .header-top .logo{
        height: 80px;
    }
}

.menu-toggle-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 0.5rem;
    transition: color 0.2s;
}

.menu-toggle-btn:hover {
    color: #667eea;
}

.offcanvas-menu {
    width: 280px !important;
}

.offcanvas-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.offcanvas-body {
    padding: 0;
}

.nav-menu-item {
    border-bottom: 1px solid #f0f0f0;
}

.nav-menu-item a {
    display: block;
    padding: 1rem 1.5rem;
    color: #333;
    text-decoration: none;
    transition: all 0.2s;
}

.nav-menu-item a:hover {
    background: #f8f9fa;
    padding-left: 2rem;
    color: #667eea;
}

.nav-menu-item a.active {
    background: #e7f1ff;
    color: #667eea;
    font-weight: bold;
    border-left: 4px solid #667eea;
}

.nav-menu-item i {
    width: 24px;
    text-align: center;
    margin-right: 0.5rem;
}


.map-container{
    position: relative;
}

#map {
    height: 500px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#geolocateBtn{
    position: absolute;
    bottom: 30px;
    left: 10px;
    z-index: 1000;
    background-color: var(--light-blue);
    color: #fff;
    border-radius: 50%;
}

.button-container{
    position: absolute;
    bottom: 30px;
    right: 10px;
    z-index: 1000;
}

#showFormBtn{
    background-color: var(--light-blue);
    color: #fff;
    border-radius: 20px;
}

.form-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    display: none;
}

.form-container .card, .form-container .card-header, .form-container .card-body{
    color: inherit;
}

.form-container .form-control, .form-container .form-select{
    color: var(--footer-color);
}

.form-container .btn-success{
    background-color: var(--light-blue);
    border-color: var(--light-blue);
}

.admin-link {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.coordinates {
    background-color: #e9ecef;
    border-radius: 4px;
    font-family: monospace;
}

.btn-danger-custom {
    background-color: #e74c3c;
    border-color: #e74c3c;
}

.btn-danger-custom:hover {
    background-color: #c0392b;
    border-color: #c0392b;
}

.text-justify{
    text-align: justify;
}

.coralligeno-info-box {
    background: #f8f9fa;
    border-left: 4px solid #2193b0;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

footer{
    flex-shrink: 0;
    border-top: 1px solid #dee2e6;
    color: var(--footer-color);
    background-color: #fff;
    font-size: 0.85rem;
}

@media screen and (max-width: 767px) {
    footer .footer-img{
        max-width: 250px;
    }
}

footer .border-top{
    border-color: #dee2e6 !important;
}

footer .social{
    list-style-type: none;
}

@media screen and (max-width: 767px) {
    footer .social{
        display: inline-block;
    }
}

footer .social li{
    display: inline-block;
    /*color: var(--body-color);*/
    font-size: 30px;
    margin-left: 10px;
}

footer .social li:first-child{
    margin-left: 0;
}

footer .social li a{
    color: inherit;
}

.modal .modal-header.bg-success{
    background-color: var(--light-blue) !important;
}

.modal .btn-primary{
    background-color: var(--light-blue);
    border-color: var(--light-blue);
}

/*SILKTIDE COOKIE BANNER*/
#silktide-cookie-icon{
    left: auto !important;
    right: 10px !important;
    width: 40px !important;
    height: 40px !important;
}
#silktide-cookie-icon svg{
    width: 25px !important;
    height: 25px !important;
}