/* = sidebar
-------------------------------------------------------------- */
.home #sidebar{ margin-top:24px; }
#sidebar{ margin: 24px 0 0 0; }
.archive #sidebar{ margin: 0 0 0 0; }
#sidebar .container{width: 100%; }

aside.widget{
    margin-bottom: 28px;
    background-color: #ffffff;
    padding: 0;
    border: none;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}
aside.widget:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* Widget Title – full-width bottom border + blue accent line */
h3.widget-title, #sidebar .widget_block h2, #sidebar .widget_block .wp-block-search__label {
    background: none;
    padding: 22px 24px 16px;
    margin: 0;
    color: #1f2937;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    position: relative;
    border-bottom: none;
}
h3.widget-title::after, #sidebar .widget_block h2::after, #sidebar .widget_block .wp-block-search__label::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 24px;
    width: 32px;
    height: 3px;
    border-radius: 2px;
    background: #2563eb;
}

/* Widget Content Area */
aside.widget ul{
    list-style: none;
    margin: 0;
    padding: 8px 24px 18px;
}
#sidebar ul li{ list-style: none; }
#sidebar ul li a{
    padding: 9px 0 9px 18px;
    border-bottom: none;
    display: block;
    color: #4b5563;
    font-size: 14px;
    transition: all 0.25s ease;
    position: relative;
    text-decoration: none;
    border-left: 2px solid transparent;
    margin-left: 0;
}
#sidebar ul li a::before {
    content: '\f105';
    font-family: 'FontAwesome';
    position: absolute;
    left: 2px;
    top: 9px;
    color: #cbd5e1;
    font-size: 11px;
    transition: all 0.25s ease;
}
#sidebar ul li a:hover{
    color: #2563eb;
    border-left-color: #2563eb;
    background: #f8fafc;
    padding-left: 22px;
}
#sidebar ul li a:hover::before {
    color: #2563eb;
    transform: translateX(2px);
}
#sidebar ul li:last-child a{ border-bottom: none; }

/* Recent Comments Widget */
#sidebar .widget_recent_comments {
    border: none !important;
    outline: none;
}
#sidebar .widget_recent_comments ul {
    padding-top: 14px;
}
#sidebar .widget_recent_comments ul li,
#sidebar ul li.recentcomments {
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
#sidebar .widget_recent_comments ul li:last-child,
#sidebar ul li.recentcomments:last-child {
    border-bottom: none;
}
#sidebar ul li.recentcomments a {
    display: inline;
    padding: 0;
    border-left: none;
    background: none;
    color: #2563eb;
    font-weight: 500;
}
#sidebar ul li.recentcomments a:hover {
    color: #1e40af;
    padding-left: 0;
    background: none;
    border-left: none;
}
#sidebar ul li.recentcomments a::before {
    display: none;
}

/* Search Widget */
#sidebar .search-form,
#sidebar .wp-block-search__inside-wrapper {
    padding: 10px 24px 22px;
    box-sizing: border-box;
    width: 100%;
}
#sidebar .search-form input[type="search"],
#sidebar .wp-block-search__input {
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 11px 14px;
    font-size: 14px;
    transition: all 0.25s ease;
    width: 100%;
    box-sizing: border-box;
    background: #f8fafc;
    color: #374151;
}
#sidebar .search-form input[type="search"]:focus,
#sidebar .wp-block-search__input:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
    background: #fff;
}
#sidebar .search-form input[type="submit"],
#sidebar .wp-block-search__button {
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 11px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 0;
    width: 100%;
    box-sizing: border-box;
    display: block;
}
#sidebar .search-form input[type="submit"]:hover,
#sidebar .wp-block-search__button:hover {
    background: #1e40af;
}

/* Sidebar Search Widget - Custom searchform.php (form-inline) */
#sidebar .widget_search .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
#sidebar .widget_search .row {
    margin: 0 !important;
    padding: 10px 24px 22px;
}
#sidebar .widget_search .form-inline {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 0;
    width: 100%;
    box-sizing: border-box;
}
#sidebar .widget_search .form-group {
    flex: 1 1 auto;
    min-width: 0;
    margin-bottom: 0;
}
#sidebar .widget_search .form-group .form-control {
    width: 100% !important;
    box-sizing: border-box;
    padding: 11px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 6px 0 0 6px;
    font-size: 14px;
    background: #f8fafc;
    color: #374151;
    transition: all 0.25s ease;
    height: auto;
}
#sidebar .widget_search .form-group .form-control:focus {
    border-color: #2563eb;
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.08);
    background: #fff;
}
#sidebar .widget_search .btn.btn-default {
    flex: 0 0 auto;
    padding: 11px 20px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 0 6px 6px 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    text-transform: none;
    letter-spacing: 0;
    box-shadow: none;
    margin: 0;
    transform: none;
}
#sidebar .widget_search .btn.btn-default:hover {
    background: #1e40af;
    transform: none;
    box-shadow: none;
}
.single .form-submit {    text-align: left;}
#submit, .btn.btn-default{ background: #2563eb; border: none; color: #fff; padding: 12px 28px; font-family: 'Roboto', sans-serif; font-size: 15px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; border-radius: 5px; cursor: pointer; transition: all 0.3s ease; box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);}
#submit:hover, .btn.btn-default:hover{ background: #1e40af; border: none; color: #fff; transform: translateY(-2px); box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);}
/* old comment form overrides removed - see comment section below */
.post-comment a{ color:#2563eb; text-decoration:underline;}

/*slider */
.homeslider img{ width: 100%; }


/* Buttons */
.button{ background-color:inherit; border-bottom:none; color:#fff; border: 1px solid #ffffff; padding:12px 28px; display:inline-block; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; -o-border-radius:5px; -ms-border-radius:5px; transition: all 0.3s ease; }
.button:hover{background-color:#2563eb; border-color:#2563eb; color:#fff;}
/* Read More button - ensure text is always visible */
a.learnmore,
.entry-summary a.learnmore,
.recent_articles a.learnmore {
    background: #2563eb;
    color: #fff !important;
    padding: 12px 28px;
    display: inline-block;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
    text-transform: none;
    letter-spacing: 0.02em;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
    margin-top: 12px;
    border: none;
}
a.learnmore:hover,
.entry-summary a.learnmore:hover,
.recent_articles a.learnmore:hover {
    background: #1e40af;
    color: #fff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}
/* Gutenberg Button block - ensure link text is visible */
.wp-block-button__link,
.entry-content .wp-block-button__link,
.entry-summary .wp-block-button__link {
    background: #2563eb !important;
    color: #fff !important;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none !important;
    border-radius: 5px;
    display: inline-block;
    border: none;
    transition: all 0.3s ease;
}
.wp-block-button__link:hover,
.entry-content .wp-block-button__link:hover,
.entry-summary .wp-block-button__link:hover {
    background: #1e40af !important;
    color: #fff !important;
}
.entry-summary {
    margin-bottom: 0;
}
.entry-summary p {
    margin-bottom: 12px;
}

/* woocommerce CSS
================================================*/
a.added_to_cart{background:#2563eb; padding:5px; display:inline-block; color:#fff; line-height:1;}
a.added_to_cart:hover{background:#f6f4f4;}
a.button.added:before{content:'' !important;}
#bbpress-forums ul li{padding:0;}
#subscription-toggle a.subscription-toggle{padding:5px 10px; display:inline-block; color:#2563eb; margin-top:4px;}
textarea.wp-editor-area{border:1px #ccc solid;}
.woocommerce input[type=text], .woocommerce textarea{border:1px #ccc solid; padding:4px;}
form.woocommerce-ordering select{ padding:5px; color:#777777;}
.woocommerce table.shop_table th, .woocommerce-page table.shop_table th{ font-family:'raleway',san-serif; color:#2563eb;}
.woocommerce ul.products li.product .price, .woocommerce-page ul.products li.product .price{ color:inherit !important;}
h1.product_title, p.price{ margin-bottom:10px;}
.woocommerce table.shop_table th, .woocommerce-page table.shop_table th{ font-family:'raleway',san-serif; color:#2563eb;}
.woocommerce ul.products li, #payment ul.payment_methods li{ list-style:none !important;}
.woocommerce ul.products li.product .price, .woocommerce-page ul.products li.product .price{ color:inherit !important;}
.woocommerce table.shop_table th, .woocommerce table.shop_table td{ border-bottom:0px !important}

/* Text meant only for screen readers. */
.screen-reader-text {clip: rect(1px, 1px, 1px, 1px);position: absolute !important;  height: 1px;width: 1px; overflow: hidden;}
.screen-reader-text:focus { background-color: #f1f1f1;  border-radius: 3px; box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6); clip: auto !important;  color: #21759b; display: block;
                            font-size: 14px;font-size: 0.875rem;font-weight: bold;  height: auto;left: 5px; line-height: normal;padding: 15px 23px 14px;text-decoration: none;  top: 5px; width: auto;
                            z-index: 100000; /* Above WP toolbar. */
}
/* ============= Contact Page =========== */
.wpcf7{ margin:30px 0 0; padding:0;}
.wpcf7 input[type="text"], .wpcf7 input[type="tel"], .wpcf7 input[type="email"]{ width:100%; max-width:500px; border:1px solid #e2e8f0; border-radius:6px; box-shadow:none; height:44px; padding:0 15px; color:#374151; margin-bottom:12px; box-sizing:border-box; font-size:14px; transition:border-color 0.2s ease;}
.wpcf7 input[type="text"]:focus, .wpcf7 input[type="tel"]:focus, .wpcf7 input[type="email"]:focus{ border-color:#2563eb; outline:none; box-shadow:0 0 0 3px rgba(37,99,235,0.08);}
.wpcf7 textarea{width:100%; max-width:600px; border:1px solid #e2e8f0; border-radius:6px; box-shadow:none; height:150px; color:#374151; margin-bottom:25px; font-size:14px; font-family:'Roboto', sans-serif; padding:12px 15px; box-sizing:border-box; transition:border-color 0.2s ease;}
.wpcf7 textarea:focus{ border-color:#2563eb; outline:none; box-shadow:0 0 0 3px rgba(37,99,235,0.08);}
.wpcf7 input[type="submit"]{background-color:#2563eb; width:auto; border:none; cursor:pointer; font-size:15px; font-family:'Roboto', sans-serif; font-weight:600; color:#ffffff; padding:12px 28px; border-radius:5px; text-transform:uppercase; letter-spacing:0.5px; transition:all 0.3s ease; box-shadow:0 2px 8px rgba(37, 99, 235, 0.25);}
.wpcf7 input[type="submit"]:hover{background-color:#1e40af; transform:translateY(-2px); box-shadow:0 4px 15px rgba(37, 99, 235, 0.35);} 

/* header / banner */
.homeslider{ position: relative; overflow: hidden; }
.homeslider img.img-responsive{ width: 100%; display: block; }
.carousel-caption {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    bottom: auto;
    width: 100%;
    max-width: 1170px;
    margin: 0 auto;
    text-align: left;
    padding: 0 20px;
    z-index: 999;
}
.slide_info {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    z-index: 8;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: none;
    padding: 0;
    float: none;
}
.slide_info_inner {
    max-width: 600px;
    padding: 40px;
    background-color: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border-radius: 10px;
    border-left: 4px solid #2563eb;
    animation: slideInLeft 0.8s ease-out;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
.carousel-caption h3, .slide_info .banner_heading h3 {
    margin-top: 0;
    margin-bottom: 15px;
    text-transform: none;
    color: #ffffff;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 0, 0, 0.4);
}
.captiontext, .banner_sub_heading {
    font-size: 18px;
    color: #ffffff;
    font-weight: 400;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6), 0 0 10px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
    max-width: 100%;
    margin: 0;
}
.icon-bar{ background: #fff; }
.navbar-toggle{border: 1px solid #000;}

.mainheader {
    position: relative;
    width: 100%;
    z-index: 999;
    background-color: rgba(255,255,255,1);
}
.LgoBX {
    width: 100%;
    background-color: #fff;
    padding: 0;
}


.logobox{margin-top:-60px; padding: 20px 15px; background-color: #fff;}

.header-top.hdr-topstrip{ 
	background:#ffffff; 
	color:#333; 
	padding:0;
	position:relative; 
}
.hdrdetails{ 
	background:#ffffff; 
	color:#333; 
	padding:0;
	position:relative; 
	float:left;
}
.hdrdetails::before{ display:none;}
.header-top .infoBx{ }
.header-top .phonebX{ background-color:#2563eb; position:relative; color:#fff; }
.header-top .phonebX a{ color:#fff; }
.header-top .phonebX i{ color:#fff; }
.header-top .phonebX a:hover{ color:#60a5fa; }
.hdrtop-Info{ 
	display:inline-block; 	
	color:#333; 	
	font-weight:500; 
	padding:5px 20px;
	margin:0; 
	line-height:47px; 
	vertical-align:top;
	text-align:left;  
}

.hdr-topstrip .phonebX:before {
    display: none;
}

.hdrtop-Info i{ 
	position:relative; 	
	font-size:18px; 	
	top:2px;
	margin:0 5px 0 0; 
	line-height:0; 	
	text-align:center; 
}
.hdrtop-Info a{ 
	color:#333;
	transition: color 0.3s ease;
}
.hdrtop-Info a:hover{ 
	color:#2563eb;
}
.header-top .fa {
    margin-right: 10px;
}
.biz-growth-hub-lite-header-phone a, .biz-growth-hub-lite-header-phone {
    font-size: 16px;
    font-family: 'PT Sans', sans-serif;
    text-decoration: none;
}

.biz-growth-hub-lite-header-email a{
    text-decoration: none;
    font-family: 'PT Sans', sans-serif;
}

.hdrsocial{ 
	display:inline-block; 
	background-color:#ffffff;
	position:relative;
}
.hdrsocial:before{
	display:none;
}
.hdrsocial a{ 
	color:#333; 
	width:35px; 
	line-height:46px;
	text-align:center;
	display:inline-block;
}
.hdrsocial a:hover{
	color:#2563eb;
}
.hdrtop-Info.last-child{ 
	border:none; 
	padding-right:0; 
}
.header-top .social-icons a{ border:0; background-color:none;}
.header-top .address li {
    display: inline-block; margin:0 7px 0;
  }
  .header-top .address ul{margin:0;}
 .social-icons a{  width:35px; height:35px; border-radius:50%; line-height:33px; text-align:center; border:1px solid #fff;  vertical-align:middle; display:inline-block; transition:0.6s; -moz-transition:0.6s; -webkit-transition:0.6s; -o-transition:0.6s; font-size:14px; color:#c9c8c8; margin:0 4px 0 0; }
.social-icons br{ display:none;}
.social-icons a:hover{ border-color:#1e40af;}

.header-phone-email::before {
    content: '';
    height: 25px;
    top: 0;
    position: relative;
    width: 350px;
    left: 0;
    float: left;
    margin: 0 50px 0 0;
  }
  .header-phone-email::after {
    content: '';
    height: 25px;
    width: 450px;
    float: left;
    margin: 0 30px 0 0;
    left: -99999px;
    top: 0;
    position: absolute;
    width: 99999px;
  }

  .heading h3.style2 {
    font-size: 31px;
    text-align: left;
    margin-bottom: 20px;
  }

  /* menu */
  .header-box.header-right {
    text-align: right;
    float: right;
    padding: 0;
    width: 65%;
}

/* logo */
.logo {
    float: left;
    max-width: 33%;
    text-align: left;
    padding: 0;
    top: 10px;
    position: relative;
    z-index: 999;
}
.logo .logo-link {
    display: inline-block;
    max-height: 70px;
    line-height: 0;
}
.logo img.custom-logo {
    max-height: 70px;
    width: auto;
    max-width: 385px;
    height: 70px;
    object-fit: cover;
    object-position: left center;
    display: block;
}
.logo.clogoclass{
    clear: both;
} 

.logo h1{ margin-top: 0; margin-bottom: 2px; font-weight: 700; line-height: 28px;}
.logo h1, .logo a {
    color: #2563eb;
    font-size: 30px;
    font-family:'Roboto', sans-serif;
    text-decoration: none;
    text-transform: capitalize;
}

/* tagline */
.logo span.tagline {
    display: block;
    color: #6c757d;
    font-size: 18px;
    font-weight: 400;
    font-family: 'PT Sans';
    letter-spacing: 0.5px;
    margin: 15px 0 0;
    line-height: 1.4;
    text-transform: none;
    position: relative;
}



/* resource section */
section#pageboxes {
    padding: 80px 0;
    background-color: #f9fafb;
}
section#pageboxes .container {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
}

/* Resources Header */
.resources-header {
    text-align: center;
    margin-bottom: 50px;
}

.resources-subtitle {
    display: inline-block;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 10px;
    color: #2563eb;
    font-size: 14px;
}

.resources-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    border-radius: 2px;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
}

.resources-title {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    line-height: 1.2;
}

/* Resources Grid - Pro Style */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.service-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.1);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: flex;
    flex-direction: column;
    position: relative;
    background: #ffffff;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #60a5fa);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    z-index: 1;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(37, 99, 235, 0.2);
}

.service-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 15px 0;
    line-height: 1.3;
    color: #1f2937;
    transition: color 0.3s ease;
}

.service-title a {
    color: inherit;
    text-decoration: none;
}

.service-title a:hover {
    color: #2563eb;
}

.service-description {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: #4b5563;
    margin: 0 0 20px 0;
    flex-grow: 1;
    transition: color 0.3s ease;
}

.service-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #ffffff;
    color: #2563eb;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    align-self: flex-start;
    box-shadow: none;
    position: relative;
    overflow: visible;
    border: 2px solid #2563eb;
    font-size: 16px;
}

.service-button:hover {
    background: #2563eb;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
    border-color: #2563eb;
}

.service-button i {
    transition: transform 0.3s ease;
}

.service-button:hover i {
    transform: translateX(2px);
}

/* rdmore button (used elsewhere) */
.rdmore {
    padding: 12px 28px;
    margin: 15px 0 0 0;
    font-weight: 600;
    display: inline-block;
    background: #2563eb;
    color: #ffffff;
    border-radius: 5px;
    border: none;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
    text-decoration: none;
}
.rdmore:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
    color: #ffffff;
}
a.rdmore {
    background: #2563eb;
    color: #ffffff;
    display: inline-block;
    padding: 12px 28px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
    text-decoration: none;
}

.site-main .pagecontent{border:none; width: auto;margin-top:0; }
#contentdiv .pagecontent{border:none; width: auto;}

/* Full-width layout: content starts from left, left-aligned */
#contentdiv.layout-fullwidth .site-main,
#contentdiv.layout-fullwidth .blog-post,
#contentdiv.layout-fullwidth .heading,
#contentdiv.layout-fullwidth .pagecontent,
#contentdiv.layout-fullwidth .entry-content {
    text-align: left;
    margin-left: 0;
}
#contentdiv.layout-fullwidth .blog-post h1,
#contentdiv.layout-fullwidth .pagecontent h1,
#contentdiv.layout-fullwidth .pagecontent h2,
#contentdiv.layout-fullwidth .pagecontent h3,
#contentdiv.layout-fullwidth .pagecontent p,
#contentdiv.layout-fullwidth .entry-content p {
    text-align: left;
}
#contentdiv.layout-fullwidth .pagecontent .aligncenter,
#contentdiv.layout-fullwidth .pagecontent img.aligncenter,
#contentdiv.layout-fullwidth .entry-content .aligncenter,
#contentdiv.layout-fullwidth .entry-content img.aligncenter {
    margin-left: 0;
    margin-right: auto;
}

/* ============= Comment Form ============ */
h1.screen-reader-text{font:22px 'raleway',san-serif;}
.site-nav-previous, .nav-previous{ float:left;}
.site-nav-next, .nav-next{ float:right;}
#comments{ margin:30px 0 0; padding:0;}
nav#nav-below{ margin-top:15px;}



/*footer*/
#footer-wrapper {
    background-color: #2E418A;
    color: #ffffff;
    position: relative;
}
.footer {
    padding: 55px 0 35px;
}
.footer-columns {
    display: flex;
    flex-wrap: wrap;
}
.footer-col {
    padding: 0 15px;
    margin-bottom: 20px;
}
.footer .footer-widget {
    background: none;
    border: 0;
    padding: 0;
    margin-bottom: 10px;
    box-shadow: none;
    border-radius: 0;
}
.footer .footer-widget:hover {
    box-shadow: none;
}
.footer-widget-title {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    text-transform: capitalize;
    margin: 0 0 22px;
    padding: 0;
    position: relative;
    border-bottom: none;
    line-height: 1.3;
}
.footer-widget-title::after {
    display: none;
}
.footer a { color: #c5cad6; text-decoration: none; transition: color 0.3s ease; }
.footer a:hover { color: #60a5fa; text-decoration: none; }
.footer ul { list-style: none; padding: 0; margin: 0; }
.footer ul li {
    font-size: 14px;
    line-height: 1.6;
    padding: 5px 0;
    border-bottom: none;
    list-style: none;
    position: relative;
    padding-left: 18px;
}
.footer ul li::before {
    content: '\f0c8';
    font-family: 'FontAwesome';
    font-size: 6px;
    position: absolute;
    left: 0;
    top: 10px;
    color: #60a5fa;
}
.footer ul li:last-child { border-bottom: none; }
.footer ul li a {
    color: #c5cad6;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
    padding-left: 0;
}
.footer ul li a:hover {
    color: #60a5fa;
    padding-left: 3px;
}
.footer .footer-widget ul {
    padding: 0;
}
.footer p, .footer .textwidget p {
    color: #c5cad6;
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 12px;
}
.footer aside.widget ul.sub-menu { padding-top: 8px; margin-bottom: -10px; }

/* Footer Search Widget - override Bootstrap .container & .row inside widget */
.footer .widget_search .container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}
.footer .widget_search .row {
    margin: 0 !important;
}
.footer .widget_search .form-inline {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 8px;
    width: 100%;
    box-sizing: border-box;
}
.footer .widget_search .form-group {
    flex: 1 1 auto;
    min-width: 0;
    margin-bottom: 0;
}
.footer .widget_search .form-group .form-control {
    width: 100% !important;
    box-sizing: border-box;
    padding: 10px 14px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 14px;
}
.footer .widget_search .form-group .form-control::placeholder {
    color: rgba(255,255,255,0.5);
}
.footer .widget_search .form-group .form-control:focus {
    outline: none;
    border-color: #60a5fa;
    background: rgba(255,255,255,0.15);
    box-shadow: none;
}
.footer .widget_search .btn.btn-default {
    flex: 0 0 auto;
    padding: 10px 20px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-sizing: border-box;
    width: auto;
}
.footer .widget_search .btn.btn-default:hover {
    background: #1e40af;
}

/* Footer Recent Posts Widget */
.footer .widget_recent_entries ul li::before { display: none; }
.footer .widget_recent_entries ul li { padding-left: 0; }

/* Footer Social Icons */
.footer .social-icons { text-align: left; margin-top: 15px; }
.footer .social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    color: #c5cad6;
    margin-right: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
}
.footer .social-icons a:hover {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
}

/* Footer Contact Info */
.footer .contact-info { list-style: none; padding: 0; margin: 0; }
.footer .contact-info li {
    padding: 6px 0 6px 0;
    color: #c5cad6;
    font-size: 14px;
    line-height: 1.6;
}
.footer .contact-info li::before { display: none; }
.footer .contact-info li i {
    margin-right: 10px;
    color: #60a5fa;
    width: 16px;
    text-align: center;
}

.title-median{color:#636363;font-size:20px;line-height:20px;margin:0 0 15px;text-transform:uppercase}
.gallery dl img{ width: 100%; height: auto; }
#gallery-1 .gallery-item{ margin-bottom: 0; margin-bottom: 3px; }

.nomargin{margin:0;padding:0}
.footer-bottom {
    background-color: #2E418A;
    padding: 18px 0;
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.copyright-wrap {
    font-size: 14px;
    color: #9ca3af;
}
.copyright-wrap .copyright,
.copyright-wrap .design {
    display: inline;
}
.footer-sep { color: #4b5563; margin: 0 5px; }
.copyright-wrap a { color: #60a5fa; }
.copyright-wrap a:hover { color: #93bbfd; }

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 46px;
    height: 46px;
    line-height: 46px;
    text-align: center;
    background: #2563eb;
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    text-decoration: none;
    display: none;
    z-index: 9999;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
    transition: all 0.3s ease;
}
#back-to-top:hover {
    background: #1e40af;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
    color: #fff;
}

/*comment */
#comments { clear: both; padding: 30px 0; }
.comments-title { font-size: 22px; margin-bottom: 1.5em; font-weight: 700; color: #1f2937; }
.comment-list,
.comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list li:before { display: none; }
.comment-list > li { margin-bottom: 30px; padding-bottom: 30px; border-bottom: 1px solid #f1f5f9; }
.comment-list > li:last-child { border-bottom: none; }
.comment-body { margin-left: 65px; color: #4b5563; font-size: 15px; line-height: 1.7; margin-bottom: 0; }
.comment-author { font-size: 16px; margin-bottom: 0.4em; position: relative; z-index: 2; font-weight: 600; color: #1f2937; }
.comment-author .avatar { height: 50px; left: -65px; position: absolute; width: 50px; border-radius: 50%; }
.comment-author .says { display: none; }
.comment-meta { margin-bottom: 1em; }
.comment-metadata { color: #9ca3af; font-size: 12px; font-weight: 500; letter-spacing: 0.05em; }
.comment-metadata a { color: #9ca3af; text-decoration: none; }
.comment-metadata a:hover { color: #2563eb; }
.comment-metadata a.comment-edit-link { color: #2563eb; margin-left: 1em; }
.comment-reply-link { font-weight: 600; position: relative; color: #2563eb; font-size: 13px; text-decoration: none; }
.comment-reply-link:hover { color: #1e40af; }
.comment-reply-link .icon { color: #222; left: -2em; height: 1em; position: absolute; top: 0; width: 1em; }
.children { margin-left: 30px; padding-left: 20px; border-left: 2px solid #e5e7eb; }
.children .comment-author .avatar { height: 30px; left: -45px; width: 30px; }
.bypostauthor > .comment-body > .comment-meta > .comment-author .avatar { border: 2px solid #2563eb; padding: 2px; }
.no-comments,.comment-awaiting-moderation { color: #9ca3af; font-size: 14px; font-style: italic; }
.comments-pagination { margin: 2em 0 3em; }
.form-submit { text-align: left; }

/* Comment Form */
#respond { margin-top: 30px; }
h3#reply-title { font-size: 22px; font-weight: 700; color: #1f2937; font-family: 'Roboto', sans-serif; margin-bottom: 20px; }
#commentform label { width: auto; text-align: left; font-weight: 500; color: #4b5563; font-size: 14px; margin-bottom: 5px; display: inline-block; }
#commentform input[type="text"],
#commentform input[type="email"],
#commentform input[type="url"],
#commentform textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    color: #1f2937;
    background: #f9fafb;
    transition: all 0.2s ease;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
}
#commentform input[type="text"]:focus,
#commentform input[type="email"]:focus,
#commentform input[type="url"]:focus,
#commentform textarea:focus {
    outline: none;
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
#commentform textarea { min-height: 150px; resize: vertical; }
#commentform .form-submit { text-align: left; margin-top: 10px; }
#commentform .form-submit input[type="submit"] {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: auto;
}
#commentform .form-submit input[type="submit"]:hover {
    background: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.35);
}
#commentform #comment { width: 100%; }
#commentform input { width: 100%; }

/* header top social */
.header-social-top {    background-color: #1f2937; color: #ffffff; padding:0;}

.header-social-top ul{ margin-bottom: 0; margin-top: 0; }
.list-space li{ padding-right: 20px; }
.list-space li:last-child {  padding-right: 0;}
.header-social-top li a{ color: #ffffff; }

/* top header */
.header-top {
    background:inherit;
    color: #fff;
    line-height: normal;
    font-size: 16px;
    font-family: 'PT Sans', sans-serif;
    padding:  0;
    margin: 0;
}
.header-top .left {
    text-align: left;
}
.header-top .rightsphone {
    text-align: right;
}


.header_middle ul{ text-align: center; display: inline-block;  margin: 0; padding: 0;}
.header_middle li{ list-style: none; text-align: center; display: inline-block;  margin-right: 15px;}
.header_middle li.lastemail{ margin-right: 0; }
.social-icons{ text-align: right; }
.social-icons a {
    color: #2563eb;
    border-color: #2563eb;
    border-radius: 0%;
}
.social-icons li {
    text-align: center;
    display: inline-block;
}
.social-icons ul {
    display: inline-block;
    text-align: center;
    margin: 0;
}
.social-icons a.fa {
    width: 35px;
    height: 35px;
    border-radius: 0;
    line-height: 33px;
    text-align: center;
    border: 1px solid #d0d0d0;
    vertical-align: middle;
    display: inline-block;
    font-size: 20px;
    margin: 0 4px 0 0;
    color: #d0d0d0;
}

.rightsphone span.phno {
    padding-right: 10px;
    margin-right: 5px;
}

/*header menu css*/
#main_navigation{background: none; margin-top:0; padding:0;}
#maintopdiv{background: none; z-index: 999; position: absolute; width: 100%; }
.header-top {
	/* background-color: rgb(77,73,71,0.8); */
}
.header {
	/* background-color: rgb(24,22,22,0.8); */
}
.toggle{display: block;}
.toggle a{width:100%; color:#fff; background:#1f2937; padding:10px 10px; margin-top:0; font-size:16px; text-align:center;}
.toggle a:hover{color:#fff !important;}
.main_header{width:100%; z-index:999999; top:0; background-color:#ffffff; box-shadow:0 2px 2px #F6F4F4; }
.logotxt, .logotxt a { color:#2563eb; text-decoration: none; text-transform:capitalize; padding:10px 0; font-family: 'Roboto', sans-serif; }
.logotxt h1 a{font-size: 33px;}
.logotxt h1{margin:0;}
.logotxt p{ color:#595959; margin-bottom: 0; line-height: normal; }
.headercommon {   padding:  0 0;}
.leftlogo{ text-align:center;}
.header-left{ text-align:left; margin-right:0;}
.header-left ul{ margin:0; padding:0; list-style:none;}

.header-left li {padding: 0 0 0 0;float: left; color:#d0d0d0;}
.lastemail{ margin:0 0 0 25px;}
.header-left .fa{color:#2563eb; font-size:24px;}

/*banner */
.carousel-indicators li.active {    background: #000;    border: 1px solid #fff;}
.carousel-indicators li{background: #fff; border: 1px solid #fff;}
.carousel-indicators {    bottom: 0;}
#banner img.img-responsive{ margin: 0 auto;}

/* our resources */
#hompagecontent{border-bottom: 1px solid #ccc;
                padding: 0 0 40px 0;margin:auto 0 20px ;
}
#hompagecontent .mainbox {  }
#hompagecontent .img-thumbnail{ padding: 0; border-radius: 0; }
#hompagecontent h3 {  text-transform: capitalize; margin-top: 10px; font-size: 18px; text-align: left;}
.ourresources h2{font-size: 32px;color: #595959; text-transform: capitalize; padding: 18px 0; text-align: center; letter-spacing: normal;}
.ourresources a{ text-decoration: none;  }
.ourresources p{ font-size: 13px; text-align: left;}
.ourresources .readmore{ background: #2563eb; }
#mainheader {    margin: 57px 0 0 0;    position: absolute;    z-index: 999;    opacity: 0.90;}
.mainbox a .caption{ display: none; }
.mainbox a:hover .caption { display: block; margin: -149px 0 0 0; z-index: 999; background:rgba(0,0,0,0.65);  position: relative; color: #fff;}
.mainbox .thumbnail{border: none;border-radius: 0; padding: 0; margin-bottom: 0;}
.mainbox .img-thumbnail{border:0;}

/* Accessibility */
/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important;
    /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}

.screen-reader-text:focus, a.screen-reader-text[href]:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    clip-path: none;
    color: #21759b;
    display: block;
    font-size: 14px;
    text-align: center;

    font-weight: bold;
    height: auto;
    right: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: 360px;
    z-index: 100000;
    text-transform: capitalize;
    /* Above WP toolbar. */
}

/* Do not show the outline on the skip link target. */
#content[tabindex="-1"]:focus {
    outline: 0;
}

.sitenav ul li a:focus {    color: #2563eb;}
a[href]:focus {    background: #2563eb;    color: #fff; padding: 3px;  }
.headercommon li a.fa:focus{ color: #ffffff;background: #1e40af; padding:5px;  }
#sidebar ul li a:focus{ color:#ffffff; background: #2563eb;}
.header_top .logo a:focus{background: #f8f8f8;
                          background:
                              rgba(75%, 75%, 75%, .25);
                          border-bottom-width: 3px;
                          margin-bottom: -2px;}

.recent_articles a[href]:focus:not(.learnmore), #sidebar ul li.recentcomments a.url:focus {
    background-color: #2563eb;
    color: #ffffff;
    padding: 5px !important;
}
.recent_articles a.learnmore:focus {
    padding: 12px 28px !important;
}
.top-headerphone-email{}
.header-social-top ul.bottom-headerphone-email{margin-top:-8px;}
.header-social-top .list-inline  li, .header-social-top .list-inline  li a{ color: #ffffff; text-decoration:none; font-size:15px;}
.header-social-top .list-inline  li a:hover{ color: #ffffff; }
.header-social-top .list-inline  li i{ color: #ffffff;}
.header-social {padding:0 0 0 0; margin-bottom: 0;}
.header-social li{padding:0;}
.header-social li a:hover{color: #ffffff;border-color: #2563eb;background-color: #2563eb;}
.header-social li a{color: #495057; border-color: #2563eb;background-color: #ffffff;}

.header-phone-email{padding: 13px 0;}
.header-phone-email a{ text-decoration: none;color: #ffffff;
    font-size: 15px;}
.headerphone{ margin-right:21px;}
.headerphone i, .headeremail i{color:#2563eb;}
li.headeremail{ }
.header-social-top li i {
    
    width: auto;
    height: auto;
    line-height: 45px;
    text-align: center;
    margin-right: 0;
}
.header-social-top li i {
    color: #2563eb;
    font-size: 20px;
}
.header-social li a {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    line-height: 33px;
    text-align: center;
    border: none ;
    vertical-align: middle;
    display: inline-block;
    transition: 0.6s;
    -moz-transition: 0.6s;
    -webkit-transition: 0.6s;
    -o-transition: 0.6s;
    font-size: 18px;
    margin: 0 ;
    text-decoration:none;
}

.header-social-top .header-social ul {
    margin-bottom: 0;
    margin-top: 5px;
}
/*.sitenav{display:block;}


/* menu accessibility */
.header-box{background-color: #ffffff;padding-left: 0;
    padding-right: 0;}
#main_navigation .nav {
    font-family:'Roboto', sans-serif; font-weight:400; font-size:15px; text-transform:capitalize;
}
#main_navigation .nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
#main_navigation .nav ul li {
    float: left;
    position: relative; line-height: 33px; margin-right: 3px;
}
#main_navigation .nav ul li li {
    margin-right: 0;
}

#main_navigation .nav ul li a{padding:15px 10px; color:#1f2937; font-weight:600; border-right:none; line-height: normal; transition: color 0.3s ease; font-size:14px;}
#main_navigation .nav ul li a:hover{color: #2563eb; background-color: transparent;}
#main_navigation .nav ul li:hover,
#main_navigation .nav ul li.hover,
#main_navigation .nav ul li:focus-within {
    z-index: 100;
}
#main_navigation .nav ul li:hover ul,
#main_navigation .nav ul li.hover ul,
#main_navigation .nav ul li:focus-within ul {
    left: 0;
    visibility: visible;
}

/* Third-level submenu: show to the right of second-level */
#main_navigation .nav ul ul li:hover ul,
#main_navigation .nav ul ul li.hover ul,
#main_navigation .nav ul ul li:focus-within ul {
    left: 100%;
    top: 0;
    visibility: visible;
}
#main_navigation .nav ul li:hover ul li:hover > ul,
#main_navigation .nav ul li.hover ul li.hover > ul,
#main_navigation .nav ul li:focus-within ul li:focus-within > ul {
    display: block;
    position: absolute;
    left: 100%;
    top: 0;
    visibility: visible;
}
/* Hide deeper submenus until parent is hovered/focused */
#main_navigation .nav ul li:hover ul ul,
#main_navigation .nav ul li:hover ul ul ul,
#main_navigation .nav ul li:hover ul ul ul ul,
#main_navigation .nav ul li:focus ul ul,
#main_navigation .nav ul li:focus ul ul ul,
#main_navigation .nav ul li:focus ul ul ul ul,
#main_navigation .nav ul li.hover ul ul,
#main_navigation .nav ul li.hover ul ul ul,
#main_navigation .nav ul li.hover ul ul ul ul {
    left: -9999em;
    visibility: hidden;
}


#main_navigation .nav ul li:hover ul a, #main_navigation .nav ul li.hover ul a {
    background: white;
    color: #1f2937;
    padding: 10px 15px;
    width: 220px;
    text-shadow: none;
    margin-top: 0;
    border-bottom: 1px solid #f3f4f6;
    border-right:0;
    transition: all 0.2s ease;
    font-size: 13px;
    font-weight: 500;
}
#main_navigation .nav ul li:hover ul a:hover,#main_navigation .nav ul li.current_page_item a , #main_navigation .nav ul li.hover ul a:hover, #main_navigation .nav ul li:hover ul a:focus, #main_navigation .nav ul li.hover ul a:focus, #main_navigation .nav ul li:hover ul a:active,#main_navigation .nav ul li.hover ul a:active {
    color: #2563eb; 
    background: none;
}
#main_navigation .nav ul li.hover ul a:hover,
#main_navigation .nav ul li:hover ul a:active,
#main_navigation .nav ul li:hover ul a:focus
{
    color:#2563eb;
    background: transparent;
    text-align: left;
}
#main_navigation .nav ul li:hover ul
{
    text-align: left;
}
#main_navigation .nav ul li:hover ul
{
    text-align: left;
}
#main_navigation .nav ul a {
    background: none;
    color: #1f2937;
    text-decoration: none;
    text-shadow: none;
    font-weight: 600;
    padding: 10px;
    display: block;
    position: relative;
    margin-left: -1px;
    transition: color 0.3s ease;
}
#main_navigation .nav ul a:hover, #main_navigation .nav ul a:focus, #main_navigation .nav ul a:active, #main_navigation .nav ul li.hover a,  #main_navigation .nav ul li li a:focus {
    background: transparent; 
    color: #2563eb;
    
}
#main_navigation .nav ul ul,
#main_navigation .nav ul ul ul {
    position: absolute;
    top: 100%;
    left: -9999em;
    min-width: 200px;
    width: auto;
    text-align: left;
    background: #fff;
    border-radius: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid #e5e7eb;
    padding: 5px 0;
    z-index: 9999;
    visibility: hidden;
}
/* Level-2 dropdown: overlap parent so no dead zone when moving mouse from L1 to L2 */
#main_navigation .nav ul ul {
    margin-top: -2px;
    padding-top: 7px;
    border-radius: 0 0 6px 6px;
}
/* Invisible bridge so hover stays on parent li when moving from L1 to L2 (no dead zone) */
#main_navigation .nav .menu > li.menu-item-has-children::after,
#main_navigation .nav .menu > li.page_item_has_children::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 14px;
}
/* Third-level submenu: clearer separation and visibility */
#main_navigation .nav ul ul ul {
    top: 0;
    left: 100%;
    margin-left: 2px;
    border-left: 3px solid #2563eb;
    min-width: 200px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}
#main_navigation .nav ul ul ul li a {
    padding: 10px 15px;
    font-size: 13px;
    border-bottom: 1px solid #f3f4f6;
}
#main_navigation .nav ul ul li,
#main_navigation .nav ul ul ul li {
    float: none;
    position: relative;
}
/* Classic float clearer used in header/templates (was missing; floated header columns did not clear) */
.clear {
    clear: both;
}

.clearfix:before, .clearfix:after {
    content: "";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    zoom: 1;
}

/* Contain floated top-level menu items */
#main_navigation .nav::after {
    content: "";
    display: table;
    clear: both;
}

/*.sitenav ul li:hover > ul, .sitenav ul li:focus > ul{ width:200px;  visibility: visible; left:0; text-align:left; background-color:#fff;  box-shadow:0 2px 2px #595959; }
*//*extra classes */

/* Content Typography */
.entry-content,
.page_content {
    font-size: 15px;
    color: #374151;
    line-height: 1.8;
}
.entry-content h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 20px;
    line-height: 1.3;
}
.entry-content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 30px 0 15px;
    line-height: 1.3;
}
.entry-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1f2937;
    margin: 25px 0 12px;
    line-height: 1.4;
}
.entry-content p {
    color: #374151;
    line-height: 1.8;
    margin-bottom: 18px;
}
.entry-content a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.2s ease;
}
.entry-content a:hover {
    color: #1e40af;
    text-decoration: underline;
}
.entry-content ul,
.entry-content ol {
    margin: 15px 0;
    padding-left: 24px;
    color: #374151;
}
.entry-content ul li,
.entry-content ol li {
    margin-bottom: 8px;
    line-height: 1.7;
}
.entry-content img {
    margin: 0 0 1.5em 0;
    border-radius: 8px;
}

.alignleft, img.alignleft, page .blog-post .pagecontent .alignleft, .page .blog-post .pagecontent img.alignleft { margin-right: 1.5em; display: inline; float: left; border-radius: 8px; }

.alignright, img.alignright, page .blog-post .pagecontent .alignright, .page .blog-post .pagecontent img.alignright { margin-left: 1.5em; display: inline; float: right; border-radius: 8px; }

.aligncenter, img.aligncenter, page .blog-post .pagecontent .aligncenter, .page .blog-post .pagecontent img.aligncenter { margin-right: auto; margin-left: auto; display: block; clear: both; border-radius: 8px; }
.alignnone, img.alignnone, page .blog-post .pagecontent .alignnone, .page .blog-post .pagecontent img.alignnone { border-radius: 8px; }
.gallery dl {}
.gallery dt {}
.gallery dd {}
.gallery dl a {}
.gallery dl img {}
.gallery-caption {}

.size-full {}
.size-large {}
.size-medium {}
.size-thumbnail {}  
.wp-caption { margin-bottom: 1.5em; text-align: center; padding-top: 5px; }
.wp-caption img { border: 0 none; padding: 0; margin: 0; width: 100%}
.wp-caption p.wp-caption-text { line-height: 1.5; font-size: 10px;  margin: 0;  }
.wp-smiley {  margin: 0 !important; max-height: 1em;  }
blockquote.left { margin-right: 20px; text-align: right;  margin-left: 0; width: 33%; float: left;  }
blockquote.right {  margin-left: 20px;  text-align: left; margin-right: 0;  width: 33%; float: right; }

/* ========================================
   Global Typography & Content Styling
   ======================================== */

/* Headings in Content */
.entry-content h1, .page_content h1, .blog-post h1 {
    font-size: 28px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 20px;
    line-height: 1.3;
}
.entry-content h2, .page_content h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
    margin: 30px 0 15px;
    line-height: 1.3;
}
.entry-content h3, .page_content h3, .blog_lists h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 25px 0 12px;
    line-height: 1.4;
}
.entry-content h4, .page_content h4 {
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
    margin: 20px 0 10px;
    line-height: 1.4;
}
.entry-content h5, .page_content h5 {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin: 18px 0 10px;
}
.entry-content h6, .page_content h6 {
    font-size: 14px;
    font-weight: 600;
    color: #4b5563;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 15px 0 10px;
}

/* Paragraphs */
.entry-content p, .page_content p, .blog_lists p {
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 15px;
}

/* Links in Content */
.entry-content a, .page_content a {
    color: #2563eb;
    text-decoration: underline;
    text-decoration-color: rgba(37,99,235,0.3);
    text-underline-offset: 2px;
    transition: all 0.2s ease;
}
.entry-content a:hover, .page_content a:hover {
    color: #1e40af;
    text-decoration-color: #1e40af;
}

/* Lists in Content */
.entry-content ul, .page_content ul {
    padding-left: 20px;
    margin-bottom: 15px;
}
.entry-content ol, .page_content ol {
    padding-left: 20px;
    margin-bottom: 15px;
}
.entry-content li, .page_content li {
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
    margin-bottom: 6px;
}

/* Blockquote */
.entry-content blockquote, .page_content blockquote, blockquote {
    border-left: 4px solid #2563eb;
    background: #f8fafc;
    padding: 20px 25px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    font-size: 15px;
    font-style: italic;
    color: #4b5563;
    line-height: 1.7;
}
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content blockquote cite {
    display: block;
    margin-top: 10px;
    font-size: 13px;
    font-style: normal;
    color: #9ca3af;
    font-weight: 600;
}

/* Code & Pre */
.entry-content code, .page_content code {
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    color: #e11d48;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}
.entry-content pre, .page_content pre {
    background: #1f2937;
    color: #e5e7eb;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 13px;
    line-height: 1.6;
    margin: 20px 0;
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
}
.entry-content pre code {
    background: none;
    color: inherit;
    padding: 0;
    font-size: inherit;
}

/* Tables */
.entry-content table, .page_content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}
.entry-content table th, .page_content table th {
    background: #f1f5f9;
    padding: 12px 15px;
    text-align: left;
    font-weight: 600;
    color: #1f2937;
    border: 1px solid #e5e7eb;
    font-size: 14px;
}
.entry-content table td, .page_content table td {
    padding: 10px 15px;
    border: 1px solid #e5e7eb;
    color: #4b5563;
}
.entry-content table tr:nth-child(even) td { background: #f9fafb; }
.entry-content table tr:hover td { background: #f1f5f9; }

/* Images */
.entry-content img, .page_content img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}
.wp-caption {
    max-width: 100%;
    margin-bottom: 15px;
}
.wp-caption-text {
    font-size: 13px;
    color: #9ca3af;
    text-align: center;
    padding: 8px 0;
    font-style: italic;
}

/* Gallery */
.gallery { margin: 15px 0; }
.gallery-item { display: inline-block; text-align: center; vertical-align: top; width: 100%; }
.gallery-columns-2 .gallery-item { max-width: 50%; }
.gallery-columns-3 .gallery-item { max-width: 33.33%; }
.gallery-columns-4 .gallery-item { max-width: 25%; }
.gallery dl img { width: 100%; height: auto; border-radius: 4px; }

/* Horizontal Rule */
.entry-content hr, .page_content hr {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 30px 0;
}

/* Definition Lists */
.entry-content dt { font-weight: 600; color: #1f2937; margin-bottom: 5px; }
.entry-content dd { margin-left: 20px; margin-bottom: 15px; color: #4b5563; }

/* Address */
.entry-content address {
    font-style: normal;
    padding: 15px;
    background: #f9fafb;
    border-left: 3px solid #2563eb;
    margin: 15px 0;
    border-radius: 0 6px 6px 0;
}

/* Post Navigation */
.post-navigation, nav.post-navigation {
    padding: 20px 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 20px;
}
.nav-previous a, .nav-next a {
    color: #2563eb;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
}
.nav-previous a:hover, .nav-next a:hover { color: #1e40af; }

/* Pagination - ensure visible and styled */
.pagination,
nav.pagination,
.navigation.pagination,
.posts-pagination {
    margin: 30px 0 40px;
    padding: 20px 0;
    text-align: center;
    display: block;
    clear: both;
}
.pagination .nav-links,
.navigation.pagination .nav-links,
.posts-pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
}
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 14px;
    margin: 0 2px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    background: #fff;
    color: #4b5563;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    text-decoration: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.page-numbers:hover {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
}
.page-numbers.current {
    background: #2563eb;
    color: #fff;
    border-color: #2563eb;
    pointer-events: none;
}
.page-numbers.dots,
.page-numbers.prev,
.page-numbers.next {
    border: none;
    background: transparent;
}
.page-numbers.prev:hover,
.page-numbers.next:hover {
    background: #f1f5f9;
    color: #2563eb;
    border: 1px solid #e2e8f0;
}

/* Forms - General */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
}

/* Tag Cloud */
.tagcloud a, .wp-block-tag-cloud a {
    display: inline-block;
    padding: 5px 12px;
    margin: 3px 2px;
    background: #f1f5f9;
    color: #4b5563;
    border-radius: 4px;
    font-size: 13px !important;
    text-decoration: none;
    transition: all 0.2s ease;
}
.tagcloud a:hover, .wp-block-tag-cloud a:hover {
    background: #2563eb;
    color: #fff;
}

/* Post Format Icons */
.sticky .blog_lists {
    border-left: 4px solid #2563eb;
}

/* WP Block Styles */
.wp-block-image { margin: 20px 0; }
.wp-block-image figcaption { font-size: 13px; color: #9ca3af; text-align: center; margin-top: 8px; }
.wp-block-separator { border-top: 1px solid #e5e7eb; margin: 30px 0; }
.wp-block-quote { border-left: 4px solid #2563eb; padding: 15px 20px; margin: 20px 0; background: #f8fafc; }
.wp-block-pullquote { border-top: 3px solid #2563eb; border-bottom: 3px solid #2563eb; padding: 20px; text-align: center; }
.wp-block-code { background: #1f2937; padding: 20px; border-radius: 8px; }
.wp-block-code code { color: #e5e7eb; background: none; font-size: 13px; }
.wp-block-table table { width: 100%; }
.has-large-font-size { font-size: 24px !important; line-height: 1.4; }
.has-medium-font-size { font-size: 20px !important; }
.has-small-font-size { font-size: 13px !important; }
.has-x-large-font-size { font-size: 30px !important; line-height: 1.3; }

/* Password Protected Posts */
.post-password-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #1f2937;
}
.post-password-form input[type="password"] {
    padding: 10px 15px;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    margin-right: 10px;
}
.post-password-form input[type="submit"] {
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

/* Dropdown Arrow for Menu Items - uses Font Awesome 4 (theme vendor) */
#main_navigation .nav ul li.page_item_has_children > a::after,
#main_navigation .nav ul li.menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'FontAwesome';
    margin-left: 6px;
    font-size: 11px;
    vertical-align: middle;
}

/* Calendar Widget - Sidebar (light theme) */
#wp-calendar {
    width: 100%;
    border-collapse: separate;
    border-spacing: 3px;
    font-size: 13px;
    table-layout: fixed;
}
#wp-calendar caption {
    font-weight: 700;
    padding: 12px 10px;
    color: #1f2937;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
#wp-calendar thead th {
    background: #2563eb;
    color: #fff;
    padding: 8px 4px;
    text-align: center;
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 4px;
}
#wp-calendar tbody td {
    padding: 8px 4px;
    text-align: center;
    background: #f8fafc;
    border-radius: 4px;
    color: #4b5563;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
}
#wp-calendar tbody td:hover {
    background: #e0e7ff;
    color: #1e40af;
}
#wp-calendar tbody td.pad {
    background: transparent;
}
#wp-calendar td a {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
    display: block;
}
#wp-calendar td a:hover {
    color: #1e40af;
}
#wp-calendar #today {
    background: #2563eb;
    color: #fff;
    border-radius: 4px;
    font-weight: 700;
}
#wp-calendar #today a {
    color: #fff;
}
#wp-calendar tfoot td {
    padding: 10px 4px;
    border: none;
    background: transparent;
}
#wp-calendar tfoot td a {
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
}
#wp-calendar tfoot td a:hover {
    color: #1e40af;
}
/* Calendar nav links */
.wp-calendar-nav {
    display: flex;
    justify-content: space-between;
    padding: 8px 4px 0;
}
.wp-calendar-nav a {
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}
.wp-calendar-nav a:hover {
    color: #1e40af;
}

/* Calendar Widget - Footer (dark theme) */
.footer #wp-calendar {
    border-spacing: 3px;
}
.footer #wp-calendar caption {
    color: #ffffff;
    font-size: 14px;
    padding: 10px 5px 12px;
    letter-spacing: 1px;
}
.footer #wp-calendar thead th {
    background: rgba(255,255,255,0.15);
    color: #fff;
    padding: 9px 4px;
    font-size: 11px;
    border-radius: 4px;
}
.footer #wp-calendar tbody td {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.75);
    border-radius: 4px;
    padding: 9px 4px;
    transition: all 0.2s ease;
    border: none;
}
.footer #wp-calendar tbody td:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
}
.footer #wp-calendar tbody td.pad {
    background: transparent;
}
.footer #wp-calendar td a {
    color: #60a5fa;
    font-weight: 700;
}
.footer #wp-calendar td a:hover {
    color: #93bbfc;
}
.footer #wp-calendar #today {
    background: #2563eb;
    color: #fff;
    box-shadow: 0 0 0 2px rgba(96,165,250,0.4);
}
.footer #wp-calendar #today a {
    color: #fff;
}
.footer #wp-calendar tfoot td {
    background: transparent;
    border: none;
    padding: 8px 4px;
}
.footer #wp-calendar tfoot td a {
    color: #60a5fa;
    font-size: 12px;
}
.footer #wp-calendar tfoot td a:hover {
    color: #93bbfc;
}
.footer .wp-calendar-nav a {
    color: #60a5fa;
}
.footer .wp-calendar-nav a:hover {
    color: #93bbfc;
}

/* Breadcrumb (if exists) */
.breadcrumb {
    padding: 10px 0;
    font-size: 13px;
    color: #9ca3af;
}
.breadcrumb a { color: #2563eb; text-decoration: none; }
.breadcrumb a:hover { color: #1e40af; }
