﻿.hero-section {
    background: url('../IMG/Nave3.png');
    background-size: cover;
    background-position: center;
    height: 264px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    margin-bottom: 30px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}


.search-container {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.search-title {
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 600;
    text-align: center;
    font-size: 1.8rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    line-height: 1;
    font-weight: 500;
    color: #34495e;
}

.form-control-search {
    width: 900%;
    height: calc(2.25rem + 2px);
    padding: 0.375rem 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

    .form-control-search:focus {
        border-color: #3498db;
        outline: none;
        box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
    }

.date-input-group {
    display: flex;
    align-items: center;
}

    .date-input-group .form-control-search {
        flex: none;
        min-width: 150px;
    }

.date-input {
    width: 100px !important;
}

.calendar-btn {
    height: calc(2.25rem + 2px);
    width: 2.5rem;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ced4da;
    background-color: #f8f9fa;
    transition: all 0.2s;
}

    .calendar-btn:hover {
        background-color: #e9ecef;
    }

.search-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    font-size: 1.1rem;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    width: 100%;
    margin-top: 20px;
    transition: background-color 0.3s;
    font-weight: 500;
}

    .search-btn:hover {
        background-color: #2980b9;
    }


@media (min-width: 768px) {
    .form-row {
        display: flex;
        gap: 20px;
    }

        .form-row .form-group {
            flex: 1;
        }
}

.search-form-row {
    display: flex;
    gap: 10px;
    align-items: flex-end;
    flex-wrap: nowrap;
    width: 100%;
}

    .search-form-row .form-group {
        flex: 1 1 auto;
        min-width: 100px;
        margin-bottom: 0;
    }

    .search-form-row .date-input-group {
        min-width: 200px;
    }


    .search-form-row .form-control-search {
        width: 100%;
    }

.search-btn-container {
    flex: 0 0 auto;
    align-self: flex-end;
    margin-bottom: 0;
    height: calc(2.25rem + 2px);
    display: flex;
    align-items: center;
}

.search-btn-inline {
    height: calc(2.25rem + 2px);
    padding: 0 20px;
    margin-top: 0;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    width: auto;
}

.dropdown-narrow {
    width: auto;
    min-width: 100px;
    max-width: 180px;
}

</style >
<style type="text/css" >
/* Stile accordion */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
}

.schedule-header {
    background-color: #003366;
    color: white;
    padding: 15px 20px;
    margin-bottom: 20px;
}

.route-info {
    background-color: #f5f5f5;
    padding: 15px;
    border-left: 4px solid #003366;
    margin-bottom: 30px;
}


.voyage-accordion {
    margin: 20px 0;
}

.voyage-card {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.voyage-summary {
    display: flex;
    padding: 15px;
    background-color: #f9f9f9;
    cursor: pointer;
    align-items: center;
}

.voyage-dates {
    display: flex;
    flex: 1;
}

.date-section {
    flex: 1;
    padding: 0 10px;
    display: flex;
    align-items: center;
}

.date-icon {
    margin-right: 10px;
    color: #003366;
    font-size: 18px;
    width: 24px;
    text-align: center;
}

.date-content {
    display: flex;
    align-items: center;
}

.date-label {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.date-value {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin: 0;
    line-height: 1.2;
}

.voyage-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 15px;
    border-left: 1px solid #e0e0e0;
}

.voyage-duration {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.duration-icon {
    margin-right: 0;
    font-size: 16px;
    color: #666;
}

.voyage-type {
    font-size: 12px;
    color: #00a651;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.type-icon {
    margin-right: 8px;
}

.voyage-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background-color: #003366;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
}

    .btn-primary:hover {
        background-color: #002244;
    }

.voyage-details {
    padding: 15px;
    display: none;
    background-color: white;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.detail-section {
    margin-bottom: 15px;
}

.detail-title {
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.title-icon {
    margin-right: 8px;
    color: #003366;
}

.detail-content {
    font-size: 14px;
    color: #333;
}

.port-list {
    margin-top: 5px;
}

.port-item {
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

    .port-item > div {
        display: flex;
        align-items: center;
        gap: 8px;
    }

.port-icon {
    margin-right: 8px;
    color: #666;
    margin-top: 2px;
}

.active .voyage-summary {
    background-color: #e6f0f7;
}


.quote-form {
    background-color: #f9f9f9;
    padding: 20px;
    margin-top: 20px;
    border-radius: 4px;
    grid-column: span 2;
}

.form-group {
    margin-bottom: 15px;
}

    .form-group label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
    }

.quote-content {
    margin: 20px 0;
    padding: 25px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    display: none;
    border: 1px solid #e0e0e0;
}

.form-control {
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.half-width {
    flex: 1;
}


.form-group {
    position: relative;
    margin-bottom: 0;
}

.shipping-panel {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 20px;
    margin: 20px 0;
}

    .shipping-panel h4 {
        color: #003366;
        margin-top: 0;
        margin-bottom: 20px;
        font-size: 1.1em;
        padding-bottom: 10px;
        border-bottom: 1px solid #e0e0e0;
    }


.shipping-fields {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
    width: 100%;
}



.remarks-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #333;
}


.shipping-panel textarea.form-control {
    min-height: 100px;
    resize: vertical;
}


@media (max-width: 768px) {
    .shipping-fields {
        flex-direction: column;
    }

        .shipping-fields .third-width {
            width: 100%;
            margin-bottom: 15px;
        }

            .shipping-fields .third-width:last-child {
                margin-bottom: 0;
            }
}

.shipping-panel .form-group label {
    margin-bottom: 3px;
    font-size: 12px;
}

.shipping-panel .form-control {
    border: 1px solid #ddd;
    padding: 10px 12px;
    border-radius: 3px;
    font-size: 14px;
}

    .shipping-panel .form-control:focus {
        border-color: #003366;
        box-shadow: 0 0 0 2px rgba(0, 51, 102, 0.1);
    }

</style >
<style type="text/css" >
.voyage-accordion {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.voyage-card {
    width: 100%;
    margin-bottom: 15px;
}


.quote-content.visible {
    display: block !important;
}

shipping-fields {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    width: 100%;
}


.shipping-fields .form-group.third-width {
    padding: 0 2px;
}


.remarks-group {
    margin-top: 15px;
    width: 100%;
}

    .remarks-group textarea.form-control {
        width: 100%;
        min-height: 100px;
        resize: vertical;
        box-sizing: border-box;
    }


.shipping-panel textarea.form-control {
    width: calc(100% * 3 + 15px * 2);
    max-width: 100%;
}


@media (max-width: 768px) {
    .shipping-fields {
        flex-direction: column;
    }

    .shipping-panel textarea.form-control {
        width: 100%;
    }

    .shipping-fields .form-group.third-width {
        margin-bottom: 15px;
    }

    .force-left-align {
        text-align: left !important;
        padding-left: 12px !important;
    }
}

#MainContent_ddlContainerSize {
    width: 120px;
    display: inline-block;
    margin-right: 10px;
}

.small-dropdown {
    font-size: 12px !important;
    padding: 4px 8px !important;
    width: 120px !important;
    display: inline-block !important;
}


    .small-dropdown option {
        font-size: 12px;
        padding: 3px 8px;
        width: 100%;
    }
