﻿
/* Default styling for larger screens */
#gritter-notice-wrapper {
    position: fixed;
    top: 50%!important;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px!important; /* Default width for larger screens */
    z-index: 1050;
}

.gritter-item {
    width: 100%; /* Match the wrapper's width */
    padding: 10px 15px; /* Spacing inside the notification */
    height: 300px!important; /* Dynamic height based on content */
}

.gritter-title {
    font-size: 18px; /* Larger title font */
    margin-bottom: 5px;
    font-weight: bold;
}

.gritter-item p {
    font-size: 14px; /* Regular text font size */
    line-height: 1.5;
    margin: 0;
}

/* Add a subtle box-shadow */
.gritter-item {
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments for smaller devices */
@media screen and (max-width: 768px) {
    #gritter-notice-wrapper {
        width: 90%; /* Take 90% of the screen width */
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .gritter-title {
        font-size: 16px; /* Slightly smaller font for titles */
    }

    .gritter-item p {
        font-size: 13px; /* Slightly smaller text */
    }
}

@media screen and (max-width: 480px) {
    #gritter-notice-wrapper {
        width: 95%; /* Take 95% of the screen width */
    }

    .gritter-title {
        font-size: 14px; /* Adjust title font size */
    }

    .gritter-item p {
        font-size: 12px; /* Adjust text font size */
    }
}
