/* Header styles */
#header a {
    color: white;
}

/* Footer styles */
#footer a {
    color: white;
}

/*Class for the main body*/
.mainContent {
    margin-left: 16% !important
}

/*Class for sidebars*/
.sidebar {
    width: 15% !important;
    z-index: auto;
}

/* [RETURN TO TOP BUTTON STYLES] */
#returnToTop {
    display: none;
    position: fixed;
    bottom: 45px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    cursor: pointer;
    padding: 10px;
    border-radius: 4px;
}

/* Main Info */
a {
    color: #0000b3;
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

/* Screen Readers Only - can apply to span tags */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
	
/* Collapsible boxes for News Items */
.news-collapse {
    cursor: pointer;
    padding: 10px;
    width: 100%;
    text-align: left;
    font-size: 15px;
    border: 0.5px solid black;
}

.news-collapse:after {
    content: '\002B';
    color: white;
    font-weight: bold;
    float: right;
    margin-left: 5px;
}
.news-active:after {
    content: "\2212";
}
.news-content {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
    border: 1px solid black;
}

table {
    width: 100% !important;
}

/* A toast for errors/successes */
#toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 10;
}

.toast {
    min-width: 250px;
    padding: 16px 24px;
    border-radius: 4px;
    color: white;
    font-weight: 500;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s forwards;
    position: relative;
}

/* When visible */
.toast.show {
	opacity: 1;
	transform: translateY(0);
}

/* Type styles */
.toast.toast-error   { background-color: #f44336; }
.toast.toast-success { background-color: #4CAF50; }
.toast.toast-info    { background-color: #2196F3; }

/* Close button */
.toast .close {
    position: absolute;
    top: 8px;
    right: 12px;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

/* [ON MEDIUM SCREENS I.E. Laptop Screens] */
@media screen and (max-width: 1400px) {
    .sidebar {
        width:20%!important;
    }
    #navbar a {
        font-size: 13px!important;
    }
}

/* [ON SMALL SCREENS I.E. Tablet Screens] */
@media screen and (max-width: 1024px) {
    .sidebar {
        width:25%!important;
    }
}

.w3-dropdown-hover:hover .w3-dropdown-content .w3-dropdown-content {
	display:none
}
.w3-dropdown-hover:hover .w3-dropdown-hover:hover .w3-dropdown-content {
	display:inline;
	left:100%
}


/* 1DHHR SLIDER STYLES */
.rslides {
	position: relative;
	list-style: none;
	overflow: hidden;
	width: auto;
	max-width:100%;
	padding: 0;
	margin: 0;
	font-family: "arial", sans-serif;
	font-weight: bold;
	height:100px;
	margin-bottom:-10px;
}
.rslides li {
	-webkit-backface-visibility: hidden;
	position: absolute;
	display: none;
	width: 100%;
	list-style:none;
	left: 0;
	top: 0;
	font-family: "times new roman", sans-serif;
	font-weight: normal;
	color:#243E99;
}

.rslides li:first-child {
	position: relative;
	display: block;
	float: left;
}

.rslides img {
	float: none;
    width: auto;
	max-width:100%;
    height: auto;
    max-height: 100%; /* <= set max-height here */
    margin-left: auto;
    margin-right: auto; /* auto left/right margin for centering */
    display: block;
}

.rslides_tabs {
	list-style: none;
	padding: 0;
	border-radius: 7px;
	margin-top:-30px;
	font-size: 18px;
	list-style: none;
	margin: 0 auto 50px;
	max-width: 100%;
	padding: 10px 0;
	text-align: center;
	width: 100%;
}

.rslides_tabs li {
	display: inline;
	float: none;
	margin-right: 1px;
}

.rslides_tabs a {
	text-indent: -9999px;
	overflow: hidden;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	background: #ccc;
	background: rgba(0,0,0, .2);
	display: inline-block;
	_display: block;
	-webkit-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
	-moz-box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
	box-shadow: inset 0 0 2px 0 rgba(0,0,0,.3);
	width: 12px;
	height: 12px;
}

.rslides_tabs li:first-child {
	margin-left: -60px;
}

.rslides_tabs .rslides_here a {
	background: rgba(0,0,0,1.00);
	color: #fff;
	font-weight: bold;
}

#download {
	background: #333;
	background: rgba(255,255,255,.1);
	border: 1px solid rgba(255,255,255,.1);
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	display: block;
	font-size: 20px;
	font-weight: bold;
	margin: 60px auto;
	max-width: 500px;
	padding: 20px;
}

#slider3-pager a {
	display: inline-block;
}

#slider3-pager img {
	float: left;
}

#slider3-pager .rslides_here a {
	background: transparent;
	box-shadow: 0 0 0 2px #666;
}

#slider3-pager a {
	padding: 0;
}
