@import url('forum.css');

.menu-item-object-library ul{
	display: flex;
	flex-direction: column;
}
.menu-item-object-library ul li:first-child{
	order: 6;
}
@media screen and (max-width:991px) {
	#header .navbar-nav > li.menu-item-has-children{
		padding-right: 0 !important;
	}
}
   /* Improved Comments Section Styling */
/* Add this to your theme's style.css or in Appearance > Customize > Additional CSS */

.comments-wrapper {
    border-top: 2px solid #e9ecef;
    margin-top: 3rem;
    border-radius: 0.5rem;
    background: #f8f9fa; /* Slightly lighter than bg-light for depth */
}

.comments-wrapper .h5 {
    font-weight: 600;
    color: #343a40;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 0.75rem;
}

/* Comment List */
.comment-list {
    margin: 0;
    padding: 0;
}

.comment-list > li.comment {
    margin-bottom: 2rem;
    list-style: none;
}

.comment-list .comment {
    display: flex;
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.2s ease;
}

.comment-list .comment:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

/* Avatar */
.comment-list .avatar {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    object-fit: cover;
    flex-shrink: 0;
    margin-right: 1.25rem;
    border: 3px solid #e9ecef;
}

/* Comment Body */
.comment-list .comment-body {
    flex: 1;
    min-width: 0; /* Prevents flex overflow */
}

.comment-list .comment-meta {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.925rem;
    color: #6c757d;
}

.comment-list .comment-author {
    font-weight: 600;
    color: #212529;
}

.comment-list .comment-author .fn {
    font-style: normal;
}

.comment-list .comment-metadata a {
    color: inherit;
    text-decoration: none;
}

.comment-list .comment-metadata a:hover {
    color: #007bff;
}

.comment-list .comment-content {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: #495057;
}

.comment-list .comment-content p {
    margin-bottom: 0.75rem;
}

.comment-list .comment-content p:last-child {
    margin-bottom: 0;
}

/* Reply Link */
.comment-list .reply {
    text-align: right;
}

.comment-list .comment-reply-link {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #007bff;
    text-decoration: none;
    padding: 0.35rem 0.75rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease;
}

.comment-list .comment-reply-link:hover {
    background-color: #e7f1ff;
    color: #0056b3;
}

/* Nested Replies */
.comment-list .children {
    margin-top: 1.5rem;
    margin-left: 2.5rem;
    padding-left: 0;
}

.comment-list .children .comment {
    background: #f1f3f5;
}

/* Comment Form Improvements */
.comment-form {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px dashed #dee2e6;
}

.comment-form .comment-notes {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.comment-form .form-group {
    margin-bottom: 1.25rem;
}

.comment-form label {
    font-weight: 500;
    margin-bottom: 0.5rem;
    display: inline-block;
    color: #495057;
}

.comment-form .form-control {
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.comment-form .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,0.25);
}

.comment-form .form-submit {
    text-align: right;
}

.comment-form .btn-primary {
    border-radius: 0.5rem;
    padding: 0.65rem 1.5rem;
    font-weight: 500;
}
.comment-body a, .comment-form a, .events-block .text a{
    color: var(--light);
}
.comment-list .comment-reply-link{
    background: var(--primary);
    color: #fff;
}
/* Responsive Adjustments */
@media (max-width: 768px) {
    .comment-list .comment {
        flex-direction: column;
    }
    
    .comment-list .avatar {
        margin-right: 0;
        margin-bottom: 1rem;
        align-self: flex-start;
    }
    
    .comment-list .children {
        margin-left: 1.5rem;
    }
}


.library-content ul li{
	margin: 0 0 10px;
}
.library-content ul li a{
	color: var(--light);
}
.navigation.pagination .nav-links{
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}
.navigation.pagination .nav-links .page-numbers{
	width: 40px;
	height: 40px;
	line-height: 40px;
	border-radius: 5px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	background: var(--primary);
	text-decoration: none;
}
.navigation.pagination .nav-links .page-numbers.current,
.navigation.pagination .nav-links .page-numbers:hover{
	background: var(--light);
	color: var(--primary);
}
.prev.page-numbers, .next.page-numbers{
	width: auto !important;
	padding: 0 10px;
}
.banner{
	overflow: hidden;
	max-height:310px;
}
#header .navbar-nav > li li.menu-item-has-children:after {
  position: absolute;
  right: 14px;
  top: 20px;
  width: 7px;
  height: 7px;
  border: 2px solid transparent;
    border-bottom-color: transparent;
    border-left-color: transparent;
  border-bottom-color: transparent;
  border-left-color: transparent;
  border-left-color: #000;
  border-bottom-color: #000;
  transform: translateY(-50%) rotate(-45deg);
  content: "";
}
#header .navbar-nav > li li.menu-item-has-children:hover:after{
  border-left-color: #fff;
  border-bottom-color: #fff;

}
.event-box iframe{
    width: 100% !important;
}
@media screen and (max-width: 991px) {
	.navbar-nav > li ul li {
		background: var(--light);
		color: var(--primary);
	}
	.navbar-nav > li ul li ul li {
		background: #fff;
		color: var(--primary);
	}
	.navbar-nav > li ul li ul li a{
		color: var(--primary) !important;
	}
	.navbar-nav > li ul li ul li a:hover{
		color: #fff !important;
	}
}
.login-page .login-box form .btn-blue:hover{
	color: var(--primary) !important;
}
.block p:empty{display: none;}
.news-block .newsslider .splide__slide .image{height: 382px;}
/*.events-block .image-holder img{height: 355px;object-fit: cover;}*/
.block.intro-block .image-holder .year{background-size: cover !important;}
.year{
    width: 141px !important;
    height: 141px !important;
     filter: drop-shadow(2.8262px 7.91335px 19.7834px rgba(0, 0, 0, 0.17));
}

.current-menu-parent .nav-link,
#header .navbar-nav > li.menu-item-has-children:has(.current-menu-parent) .nav-link,
.bbpress #header .navbar-nav > li.menu-item-object-forum .nav-link{
    color: var(--navlinkhover);
}
#header .navbar-nav > li.current-menu-parent,
#header .navbar-nav > li.menu-item-has-children:has(.current-menu-parent),
.bbpress #header .navbar-nav > li.menu-item-object-forum {
	border-bottom: 2px solid var(--light);
}
.code-block div .inner .icon{
    width: 68px;
    height: 68px;
     filter: drop-shadow(0px 10px 10px rgba(22, 97, 190, 0.2));
    border-radius: 50%;
    overflow: hidden;
}
.code-block div .inner .icon img{
    width: 100%;
    height: 100%;
    object-fit: cover;
     border-radius: 50%;
}
.events-block .event-info ul li{text-transform: capitalize;}
.industry-updates .inner .image-holder{
    max-width:207px; 
    min-width:207px;
    height:314px;
}
.industry-updates .inner .image-holder img{
    object-fit:cover; 
    height:100%; 
    width:100%;
}
.search-input{
    width: 100%;
    padding-right: 50px;
}

@media screen and (max-width: 1399px) {
    .block.intro-block .image-holder .year{
        width: 100px !important;
        height: 100px !important;
        right: -20px;
    }
    .navbar-brand img{
        max-width: 282px;
}
}
@media screen and (max-width: 767px) {
    .search-form.open .search-link{opacity: 1;}
    .search-input-wrapper {
        position: absolute;
        right: unset;
        top: calc(100% + 10px);
        width: inherit;
        left: -60px;
    }
    .search-input {
        width: 300px;
    }
}
.widget-box nav ul li a{text-transform: uppercase;}

.nav-previous a, .nav-next a {
  background: var(--light);
  border: 1px solid var(--light);
  border-radius: 10px;
  padding: 10px 30px;
  color: #fff;
  text-decoration: none;    
}
.nav-previous a:hover, .nav-next a:hover {
  background: #fff;
  border-color: var(--light) !important;
  color: var(--light) !important;
}
p a{
    color: var(--light);
}

.block .row.events{padding-top: 40px;}
@media screen and (max-width: 1199px) {
    .block .row.events{padding-top: 20px;}
}
#reply-title a{
    font-weight: 400;
    color: var(--light);
}




#bbpress-forums .bbp-forum-info .bbp-forum-content, #bbpress-forums p.bbp-topic-meta,
#bbpress-forums ul.bbp-forums, #bbpress-forums ul.bbp-lead-topic, #bbpress-forums ul.bbp-replies, #bbpress-forums ul.bbp-search-results, #bbpress-forums ul.bbp-topics, #bbpress-forums,
div.bbp-template-notice li, div.bbp-template-notice p{
    font: 16px/1.56 "sora", serif !important;
}
#bbpress-forums li.bbp-header {
	background: var(--primary) !important;
	color: #fff;
}
#bbpress-forums fieldset.bbp-form input[type="password"], #bbpress-forums fieldset.bbp-form input[type="text"], #bbpress-forums fieldset.bbp-form select{
    padding: 10px 15px !important;
}
#bbpress-forums fieldset.bbp-form label{
    margin-bottom: 10px !important;
}


.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1rem; /* Assuming mt-4 is from Bootstrap or similar; adjust as needed */
    font-family: Arial, sans-serif;
    gap: 0.5rem; /* Space between items */
}

.page-numbers {
    padding: 0.5rem 1rem !important;
    text-decoration: none;
    color: var(--primary); /* Blue link color */
    border: 1px solid #dee2e6; /* Light gray border */
    border-radius: 0.25rem;
    transition: background-color 0.2s, color 0.2s;
}

.page-numbers:hover {
    background-color: var(--light); /* Light hover background */
    color: #fff; /* Darker blue on hover */
}

.page-numbers.current {
    background-color: var(--primary); /* Active background */
    color: white; /* White text for current page */
    border-color: var(--primary); /* Matching border */
    font-weight: bold;
}

.prev {
    font-weight: bold; /* Make previous arrow stand out */
}
.event-body table{
    table-layout: fixed;
    border: 0 !important;
    width: 100% !important;
}

nav[aria-label=breadcrumb] .breadcrumb .breadcrumb-item.active{
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    overflow: hidden !important;
    max-width: 300px;
}

.accident,
.incident,
.report,
.crash{
    display: none !important;  
    width: 20px;
    height: 20px;
    border-radius: 50%;
    text-align: center;
    display: inline-block;
    vertical-align: top;
    line-height: 20px;
    color: #000 !important;
    font-size: 12px;
    font-weight: 700;
    margin-right: 5px;
    vertical-align: middle;
}
.accident{
    background: #ff8000 !important;
}
.incident{
    background: #fdfd00 !important;
}
.report{
    background: #7e9dfa !important;
}
.crash{
    background: #fe0000 !important;
}
.news{
    background: #00fd00 !important;
}
#bbp_topic_subscription, label[for="bbp_topic_subscription"]{display:none !important;}
p:has(#bbp_topic_subscription) {
    display: none !important;
}