html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

:root,
[data-bs-theme=light] {
    --background-color: #ffffff; /* Background color for the entire website, including individual sections */
    --default-color: #212529; /* Default color used for the majority of the text content across the entire website */
    --heading-color: #37373f; /* Color for headings, subheadings and title throughout the website */
    --accent-color: #ce1212; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */

    --nav-color: #7f7f90; /* The default color of the main navmenu links */
    --nav-hover-color: #ce1212; /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #7f7f90; /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #ce1212; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */

    --gallery-background-color: #f2f2f2;
    --gallery-surface-colour: #ffffff;
    --form-button-bg: #ce1212;
    --form-button-color: #ffffff;
    --form-select-color: #cccccc;
}

[data-bs-theme=dark] {
    --default-color: #ffffff; /* Default color used for the majority of the text content across the entire website */
    --accent-color: #ce1212; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --surface-color: #000000; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --form-button-bg: #cccccc;
    --form-button-color: #000000;
    --form-select-color: #4d4d4d;
}

.multiline {
    white-space: pre-wrap;
    margin-bottom: 10px;
    margin-top: -15px;
}

.light-background {
    --background-color: --gallery-background-color;
    --surface-color: --gallery-surface-colour;
}

.dark-background {
    --background-color: #1f1f24;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #37373f;
    --contrast-color: #ffffff;
}


/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
    padding: 60px 0;
    scroll-margin-top: 92px;
    overflow: clip;
}

@media (max-width: 1199px) {

    section,
    .section {
        scroll-margin-top: 56px;
    }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    text-align: center;
    padding-bottom: 60px;
    position: relative;
}

    .section-title h2 {
        font-size: 13px;
        letter-spacing: 1px;
        font-weight: 400;
        padding: 0;
        margin: 0;
        display: inline-block;
        text-transform: uppercase;
        font-family: var(--default-font);
    }

    .section-title p {
        margin: 10px 0 0 0;
        font-size: 48px;
        font-weight: 500;
        font-family: var(--heading-font);
    }

        .section-title p .description-title {
            color: var(--accent-color);
        }

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery {
    overflow: hidden;
}

    .gallery .swiper-wrapper {
        height: auto;
    }

    .gallery .swiper-pagination {
        margin-top: 20px;
        position: relative;
    }

        .gallery .swiper-pagination .swiper-pagination-bullet {
            background-color: color-mix(in srgb, var(--default-color), transparent 85%);
            border: 0;
            width: 12px;
            height: 12px;
            opacity: 1;
        }

        .gallery .swiper-pagination .swiper-pagination-bullet-active {
            background-color: var(--accent-color);
            opacity: 1;
        }

    .gallery .swiper-slide-active {
        text-align: center;
    }

@media (min-width: 992px) {
    .gallery .swiper-wrapper {
        padding: 40px 0;
    }

    .gallery .swiper-slide-active {
        background: var(--background-color);
        border: 6px solid var(--accent-color);
        padding: 4px;
        z-index: 1;
        transform: scale(1.2);
        transition: none;
    }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .info-item {
    background-color: var(--surface-color);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    padding: 20px 30px;
}

    .contact .info-item .icon {
        color: var(--contrast-color);
        background-color: var(--accent-color);
        width: 56px;
        height: 56px;
        font-size: 24px;
        display: flex;
        justify-content: center;
        align-items: center;
        transition: all 0.3s ease-in-out;
        border-radius: 50%;
        margin-right: 15px;
    }

    .contact .info-item h3 {
        font-size: 20px;
        font-weight: 700;
        margin: 0 0 5px 0;
        font-family: var(--default-font);
        color: color-mix(in srgb, var(--default-color), transparent 30%);
    }

    .contact .info-item p {
        padding: 0;
        margin-bottom: 0;
        font-size: 14px;
    }

    .contact .info-item .social-links a {
        font-size: 24px;
        display: inline-block;
        line-height: 1;
        margin: 4px 6px 0 0;
        transition: 0.3s;
        color: color-mix(in srgb, var(--default-color), transparent 50%);
    }

        .contact .info-item .social-links a:hover {
            color: var(--accent-color);
        }

.contact .email-form {
    background-color: var(--surface-color);
    box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.1);
    padding: 30px;
}

@media (max-width: 575px) {
    .contact .email-form {
        padding: 20px;
    }
}

.contact .email-form input[type=text],
.contact .email-form input[type=email],
.contact .email-form textarea,
.contact .email-form select {
    color: var(--default-color);
    background-color: color-mix(in srgb, var(--surface-color), transparent 50%);
    border-color: color-mix(in srgb, var(--default-color), transparent 80%);
    font-size: 14px;
    padding: 10px 15px;
    box-shadow: none;
    border-radius: 0;
}

.contact .email-form option {
    color: var(--default-color);
}

.contact .email-form .form-placeholder {
    color: var(--form-select-color);
}

.contact .email-form input[type=text]:focus,
.contact .email-form input[type=email]:focus,
.contact .email-form textarea:focus {
    border-color: var(--accent-color);
}

.contact .email-form input[type=text]::placeholder,
.contact .email-form input[type=email]::placeholder,
.contact .email-form textarea::placeholder {
    color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.contact .email-form button[type=submit] {
    color: var(--form-button-color);
    background: var(--form-button-bg);
    border: 0;
    transition: 0.4s;
}

    .contact .email-form button[type=submit]:hover {
        background: color-mix(in srgb, var(--form-button-bg), transparent 20%);
    }

.info {
    background-color: var(--bs-body-bg);
    box-shadow: 0px 2px 15px rgba(0,0,0,0.1);
    padding: 20px;
    overflow: hidden;
}

.contact textarea {
    padding: 10px 12px;
    height: 290px;
}

.contact .info-item i {
    font-size: 24px;
    color: #1bbd36;
    transition: all 0.3s ease-in-out;
    margin-right: 20px;
}

.break{clear:both;}

.pageadmin{

}

.pageadmin label {width:120px;}

.modal {
    --bs-modal-width: 800px;
}

    .mediabin { }
        .mediabin .mediabin-folders {
            width: 360px;
            display: inline-block;
            float: left;
            margin-right: 10px;
            height: 500px;
            
        }

            .mediabin .mediabin-folders .mediabin-subpages {
                padding-left: 10px;
            }
.mediabin .mediabin-folders .mediabin-folderpanel {
    height: 280px;
    overflow-y: scroll;
    overflow-x: hidden;
}

            .mediabin .mediabin-folders .mediabin-preview{
                height:220px;
            }

           .mediabin #previewDiv { max-height:210px; max-width:100%;     }

.mediabin .mediabin-files {
    width: 360px;
    display: inline-block;
    float: left;
    height: 500px;
    position:relative;
}

    .mediabin .mediabin-files #filePanel {
        height: 465px;
        width:100%;
        overflow-y: scroll;
        overflow-x: hidden;
        position:absolute;
        top:0;
        left:0;
    }

    .mediabin .mediabin-files #buttonpanel {
        height: 30px;
        width: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
    }

    .mediabin .mediabin-files .optionpanel {
        height: auto;
        width: 100%;
        position: absolute;
        bottom: 0;
        left: 0;
        z-index: 100;
        background-color: #dddddd;
        border: 1px solid black;
        padding:5px;
    }

        .mediabin a.link {
            color:black; 
            text-decoration: none;
            display: inline-block;
            width: 100%;
        }

    .mediabin a.selected {
        background-color: #cccccc;
    }
