/* Windmill CSS Colours
Red : #bf372a 
 
*/

/* J4 Updates */

#sp-main-body {
    padding: 30px 0 0 0 !important;
}
.home #sp-main-body {
    padding: 0px !important;
}

/* Navigation */

.sp-megamenu-parent>li>a, .sp-megamenu-parent>li>span {
    padding: 0 5px !important;

}

.breadcrumb {background-color: transparent;padding:1rem 0rem 0rem 0rem !important;}

li.float-start {
    float: left !important;
    padding-right: 1rem!important;
}

/* Houses */
.wf-columns {padding:1rem 0 !important;}
.lyveden {background: gold}
.rockingham {background:red;color:#ffffff !important}
.fotheringhay {background:green;color:#ffffff !important}
.sulgrave {background:blue;color:#ffffff !important}
.wf-column p {margin:1rem 0 !important;}

/* Table Overrides and Responsive Behaviours*/
.article-details table {width: 100%;border-collapse: collapse; margin-bottom:20px; }
/* Zebra striping */
.article-details table tr:nth-of-type(odd) {background: #eee; }
.article-details table th {background: #bf372a; color: white; font-weight: bold; }
.article-details table.category th {background: #bf372a; color: white; font-weight: bold; }
.article-details table td, th { padding: 6px; border: 1px solid #ccc; text-align: left; width:inherit !important; vertical-align:top;}
.article-details table.category tr td:first-child {width:20%;}
.staffpage table tr td:first-child,
.staffpage table tr th:first-child {max-width: 25%!important; width:25% !important;}
 
/* Buttons */

a.btn {background: #bf372a; color:#ffffff; }
a.btn:hover  {background: #876ab2; color:#ffffff; }

/*Specials */

fieldset.word {background: transparent !important;}

/* Dropfiles Resets */
/* Simplex DF View */
.dropfiles-container {margin: 0!important;}
.dropfiles-content-simplex.dropfiles-content-multi {margin-top:-10px !important;}
.dropfiles-content-simplex.dropfiles-content .table {width:96% !important;border-collapse: separate; border-spacing:0 15px;}
.dropfiles-container-simplex {margin: 0px !important;}
.dropfiles-content-simplex .mediaTableWrapperWithMenu {padding-top: 0em !important;}
.dropfiles-container-simplex table thead,
.dropfiles-container-simplex .dropfiles-categories  {display:none !important;}
.dropfiles-container-simplex .dropfiles-content-table .mediaTableWrapperWithMenu {padding-top: 0em !important;}
.dropfiles-container-simplex a {font-size:1rem !important;color:#ffffff !important;}
.dropfiles-container-simplex a.openlink {border:1px solid #000000 !important;}
a.downloadlink.dropfiles_downloadlink + br {display:none !important}
.dropfiles-content-simplex.dropfiles-content span.ext, 
.dropfiles-content-simplex.dropfiles-content span.ext.pdf,
.dropfiles-content-simplex.dropfiles-content div.ext.pdf,
.dropfiles-content-simplex.dropfiles-content span.ext.docx, 
.dropfiles-content-simplex.dropfiles-content span.ext.pptx, 
.dropfiles-content-simplex.dropfiles-content span.ext.xlsx, 
.dropfiles-content-simplex.dropfiles-content span.ext.zip, 
.dropfiles-content-simplex.dropfiles-content span.ext.doc, 
.dropfiles-content-simplex.dropfiles-content span.ext.ppt, 
.dropfiles-content-simplex.dropfiles-content span.ext.xls, 
.dropfiles-content-simplex.dropfiles-content span.ext.jpg, 
.dropfiles-content-simplex.dropfiles-content span.ext.png 
  {display:none !important;}
.article-details .dropfiles-content-simplex.dropfiles-content table td:first-child {text-transform: uppercase;width:80% !important;}


.dropfiles-content-simplex a.title {padding:0px 12px !important;}
.dropfiles-content-simplex.dropfiles-content .table-bordered td.extcol.file_title.essential.persist {
    background-color: #bf372a !important;
    border-radius: 40px 0 0 40px !important;
    border: 0px!important;
}

.dropfiles-content-simplex.dropfiles-content .table-bordered td.file_download.essential {
    background-color: #bf372a !important; 
    border-radius: 0px 40px 40px 0px !important;
    border: 0px!important;
	padding:8px 20px 0 0;
}
i.zmdi {display: none !important;}

.dropfiles-content-simplex.dropfiles-content .table-bordered td.extcol.file_title.essential.persist a, 
.dropfiles-content-simplex.dropfiles-content .table-bordered td.file_download.essential a {font-size:1rem;color:#ffffff; font-weight:600; border-radius: 1rem !important;    word-break: keep-all !important;}
.dropfiles-content-simplex.dropfiles-content .table-bordered td.file_download.essential a.downloadlink.dropfiles_downloadlink {width:80%; border:2px solid #ffffff; float:right;padding:3px;background:#ffffff !important;color:#2b3a91 !important;}


@media only screen and (max-width: 720px) {
.dropfiles-container-simplex .dropfiles-container-table {margin-left: 0px !important;}
}
@media (max-width: 720px) {
.dropfiles-container-simplex  td.file_download.essential {display:none;}
.dropfiles-content-simplex.dropfiles-content .table-bordered td.extcol.file_title.essential.persist {border-radius: 40px !important;}
}
@media (max-width: 720px) {
.dropfiles-container-simplex  td.extcol.file_title.essential.persist{padding: 0 15px;word-break:keep-all !important;}
}
@media (max-width: 414px) {
	.dropfiles-container-simplex  table {padding:0px !important; width:93% !important;text-align:start;	text-indent:0em; padding-right:0px !important;}
	.dropfiles-content-simplex a.title {padding:0px !important;font-size:0.8rem !important;word-break: normal !important;overflow-wrap:break-word !important;}
}
/* Images */
.article-details .article-full-image img {width: 100% !important;}


#sp-footer {background: #555555;}

/*I Search Results */

.se-results h4 {font-size:1.2rem !important;}

/*Page Lists*/
li a.mod-articles-category-title.active:before {content:"\f053"; font-family:fontawesome; padding-right:10px;}
li a.mod-articles-category-title.active {font-weight:900 !important;margin-left:-20px !important;}

/* Navigation Tweakery */

li.sp-menu-item a[rel="noopener noreferrer"]:after {content:"\f08e"; font-family:fontawesome; font-size:0.8rem; padding-left:10px;}

/* More Docs Snippets */

p.moredocs {padding:10px 10px; margin-bottom:2rem; background:#ffa800;display:block; border-radius:8px !important;color:#ffffff;}
p.moredocs:before {content:"\f05a"; font-family:fontawesome;padding-right:10px }




/* Accordions */

.accordion-button {background:#bf372a !important;color:#ffffff !important; font-weight:900 !important;}

/* Image Alignments */

img[style="float: left;"] {margin:0 20px 0 0 !important;}
img[style="float: right;"] {margin:0 0px 0 20px !important;}


/* Feature Styles */

.featureboxes i {color:#555555!important; }
.featureboxes a.sppb-btn-custom {background:#555555 !important;}


/* 1. DEFAULT STATE: Hide burger icon on large screens */
#offcanvas-toggler, 
.offcanvas-toggler-right, 
#sp-header nav.sp-megamenu-wrapper #offcanvas-toggler {
    display: none !important;
}

/* 2. BREAKPOINT: Switch to burger view at 1320px or less */
@media (max-width: 1320px) {
    /* Hide the standard horizontal menu */
    .sp-megamenu-parent {
        display: none !important;
    }

    /* Force show the burger icon and ensure visibility */
    #sp-header #offcanvas-toggler, 
    #sp-header nav.sp-megamenu-wrapper #offcanvas-toggler,
    body.ltr #offcanvas-toggler.offcanvas-toggler-right {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 0px;
    }
}

/* 3. BURGER ICON STYLING */
/* Ensures the three lines are visible against your header background */
.burger-icon > span {
    background-color: #252525 !important;
    height: 3px; /* Optional: adds slightly more weight to the icon */
}

/* 4. ULTRA-WIDE FIX (Optional) */
/* Keeps menu items from stretching too far apart on 4K/wide monitors */
@media (min-width: 2559px) {
    .sp-megamenu-parent > li > a {
        padding: 0 1rem !important;
    }
}

@media screen and (max-width: 1024px) {
    body.ltr #offcanvas-toggler.offcanvas-toggler-right {
        display: block !important;
        visibility:visible !important;
        margin: 0px;
    }
}