﻿.page-content {
    margin: 0;
    font-family: 'Open Sans', Helvetica, Arial, Verdana, sans-serif;
    font-size: 15px;
    line-height: 21px;
    color: #333;
    background-color: #fff;
}

    .page-content .pc-h1 {
        font-family: 'Oswald', Helvetica, Arial, Verdana, sans-serif;
        color: #002f84;
        text-transform: none;
        font-size: 24px;
        line-height: 32px; /* Increase line-height */
        word-wrap: break-word; /* Ensure words break properly */
    }

    .page-content .pc-h2 {
        color: #e6007e;
        font-size: 22px;
        line-height: 24px;
        padding-top: 0;
        font-weight: 300;
    }

    .page-content .pc-h3 {
        font-size: 18px;
        color: #333;
        line-height: 20px;
        font-weight: bold;
    }

.page-content-p {
    font-size: 14px;
    color: #666;
    font-weight: bold;
}

.page-content .message-right-float {
    float: right;
    width: 30%;
}

@media (min-width: 1200px) {
    .page-content .pc-h1 {
        font-size: 2.5rem;
    }
}
@media (max-width: 768px) {
    .page-content .message-right-float {
        width: 40%;
    }
}

/* Custom Button */
.btn-primary-page {
    background: #3498db !important;
    background-image: linear-gradient(to bottom, #3498db, #2980b9);
    border-radius: 28px;
    font-family: Arial !important;
    font-size: 18px !important;
    padding: 10px 20px;
    text-decoration: none;
    color: white !important;
}

    .btn-primary-page:hover {
        background: #3cb0fd !important;
        background-image: linear-gradient(to bottom, #3cb0fd, #3498db);
    }

/* File Container */
.file-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.file-info {
    display: flex;
    align-items: flex-start;
    margin-bottom: 5px;
}

.file-icon {
    width: 20px;
    height: 20px;
    display: inline-block;
    padding-right: 30px;
}

.file-icon-pdf {
    background: url('/image/pdf-icon.PNG') no-repeat top center;
    background-size: contain;
    display: inline-block;
    width: 24px;
    height: 24px;
}

.file-icon-tel {
    background: url('/image/telephone.png') no-repeat top center;
    background-size: contain;
    display: inline-block;
    width: 24px;
    height: 24px;
}

.file-icon-default {
    margin-top: 0;
    padding-right: 5px;
}

.file-icon .file-icon-default {
    margin-right: 10px;
}

.file-attach a {
    text-decoration: none;
    color: #3498db;
    font-size: 16px;
}

    .file-attach a:hover {
        text-decoration: underline;
    }

.file-description-p {
    font-size: 14px;
    color: #666;
}

@media (max-width: 768px) {
    .file-container {
        flex-direction: column;
    }

    .file-info {
        flex-direction: row;
    }

    .file-icon, .file-attach {
        margin-bottom: 15px;
    }
}

/* Infobox standard blue box with dismissable option requires bootstrap class alert and alert-dismissable */
.infobox {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
    margin-top: 20px;
    padding: 14px;
    border: 1px dotted;
    font-size: 14px;
    margin-bottom: 20px;
}

    .infobox .infobox-content {
        padding-left: 20px;
        padding-bottom: 0 !important;
    }

    .infobox .btn-close {
        position: absolute;
        top: 10px;
        right: 15px;
        opacity: 0.5;
    }

        .infobox .btn-close:hover {
            opacity: 1;
        }

    .infobox a {
        color: #1363a5;
        transition: color 0.2s ease-in-out;
    }

        .infobox a:hover,
        .infobox a:focus {
            color: #00adef;
            text-decoration: none;
        }

        .infobox a:active {
            outline: 0;
        }

    .infobox .infobox-header {
        margin: 9.75px 0;
        font-family: 'Oswald', Helvetica, Arial, Verdana, sans-serif;
        font-weight: bold;
        line-height: 19.5px;
        color: #3a87ad;
        text-rendering: optimizeLegibility; /* Fixed casing */
        text-transform: uppercase;
    }

.infobox-warning {
    background-color: #ffff73;
    border-color: #8c8c00;
    color: #6a6a00;
}

    .infobox-warning .infobox-header {
        color: #856404;
    }

/* Infobox - Blue left side strip with gray background and rounded corners */
.infobox-common {
    background-color: #eee;
    padding-top: 15px;
    padding-bottom: 15px;
    border-left: 5px #00adef solid;
    width: 99%;
    border-radius: 8px 8px 35px 8px !important
}

    .infobox-common .infobox-common-content {
        padding-left: 35px;
        padding-right: 30px;
        color: #1286a5;
    }


/* Infobox - Teal colored box with rounded corners and the right-bottom more then others*/
.infobox-simple {
    padding: 10px;
    font-size: 13px;
    border-width: 1px;
    border-style: dotted;
    margin-bottom: 10px;
    margin-left: 10px;
    border-radius: 8px 8px 35px 8px;
    color: #1286a5;
    border-color: #26c2e7;
    background-color: #cbf0f9;
}

    .infobox-simple .infobox-simple-content {
        padding-left: 20px;
        padding-bottom: 0 !important;
    }

        .infobox-simple .infobox-simple-content a {
            color: #1286a5;
        }

        .infobox-simple .infobox-simple-content ul {
            padding-left: 16px;
        }

@media (max-width: 768px) {
    .infobox-simple {
        margin-left: 0px;
        padding: 5px;
        font-size: 10px;
        margin-bottom: 5px;
    }

        .infobox-simple .infobox-simple-content {
            padding-left: 0px;
        }

}

/* Custom Table */
.custom-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

    .custom-table th {
        background-color: #f2f2f2;
        color: #333;
        padding: 10px;
        text-align: left;
        border-bottom: 1px solid #ddd;
        font-weight: normal;
        font-family: 'Open Sans', Helvetica, Arial, Verdana, sans-serif;
    }

    .custom-table td {
        font-family: 'Open Sans', Helvetica, Arial, Verdana, sans-serif;
        padding: 8px;
        line-height: 19.5px;
        text-align: left;
        vertical-align: top;
    }


    .custom-table a {
        color: #1363a5;
        background-color: #f7f7f7;
        transition: color .2s;
        white-space: normal !important;
        display: inline-flex;
        align-items: center;
        line-height: 24px; 
    }

    .custom-table tbody tr:nth-child(odd) {
        background-color: #f7f7f7;
    }

    .custom-table tbody tr:nth-child(even) {
        background-color: #ffffff;
    }

/* Custom Legend */
.legend-container {
    border: 2px dotted #000;
    margin: 15px;
    padding: 10px;
    max-width: 400px;
}

.legend-header {
    font-weight: bold;
    font-size: 14px;
    color: black;
    padding-bottom: 5px;
}

.legend-subheader {
    color: #1363A5;
    font-size: 12px;
    font-weight: bold;
    padding-bottom: 5px;
}

.legend-item {
    display: flex;
    align-items: center;
    color: black;
    font-size: 11px;
    line-height: 13px;
    margin-bottom: 5px;
}

.legend-img {
    flex-shrink: 0;
    width: 19px;
    height: 19px;
    background-size: 19px 19px;
    background-repeat: no-repeat;
    background-position: center;
    display: block;
    margin-right: 10px;
}

/* Icon styles */
.icon-denied {
    background-image: url('/image/SubNavBar/picto_stop.png');
}

.icon-stop {
    background-image: url('/image/SubNavBar/picto_main.png');
}

.icon-microtube {
    background-image: url('/image/SubNavBar/microtube.png');
}

.icon-nofood {
    background-image: url('/image/SubNavBar/picto_10.png');
}

.icon-frozen {
    background-image: url('/image/SubNavBar/picto_20.png');
}

.icon-timed {
    background-image: url('/image/SubNavBar/picto_30.png');
}

.icon-hottemp {
    background-image: url('/image/SubNavBar/picto_40.png');
}

.icon-exclamation {
    background-image: url('/image/SubNavBar/picto_50.png');
}

.icon-nolight {
    background-image: url('/image/SubNavBar/picto_60.png');
}

.icon-greencheck {
    background-image: url('/image/SubNavBar/picto_70.png');
}

