/*
Theme Name: Idsmgroup
Theme URI: http://trustprobateidsmgroup
Description: White and clean theme almost without css styles. Fonts and colors will be default of your browser.
Version: 1.0
Author: Pushpendra
Author URI: http://trustprobateidsmgroup
Tags: white, simple, fixed width, two columns, widgets, clean
*/
.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.alignleft {
	float: left;
}
.alignright {
	float: right;
}

p img {
	padding: 0;
	max-width: 100%;
	}
a img {
	border: none;
	}
img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}
	
img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}
.admin-bar header#myHeader {
    top: 32px;
}
div#wpadminbar {
    z-index: 999999 !important;
}

.banner-search {
    margin-top: 30px;
    text-align: center;
}

.banner-search .search-wrap {
    display: inline-flex;
    background: #fff;
    border-radius: 4px;
    overflow: hidden;
}

.banner-search input[type="search"] {
    padding: 0px 10px;
    border: none;
    outline: none;
    width: 460px;
}

.banner-search button {
    background: #d71920;
    color: #fff;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    font-weight: 600;
}
.search-wrap input[type="search"] {
    color: #000 !important;
}


.admin-bar header#myHeader .main_nav.sticky {
    top: 32px !important;
}
.main_nav.sticky {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 999;
}

.InnerPage {
    position: relative;
}

.InnerPage .overlay {
    width: 100%;
    height: 688px;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2;
}
.list_with_arrows li:after {
    content: "\f105";
    font-family: "FontAwesome";
    color: #1f8ed0;
    font-size: 20px;
    font-weight: 700;
    position: absolute;
    left: 0;
    top: -4px;
}

/* Red border for invalid INPUT fields */
.wpcf7 input.wpcf7-not-valid {
    border: 2px solid #f00 !important;
}

/* Red border for invalid TEXTAREA (Message field) */
.wpcf7 textarea.wpcf7-not-valid {
    border: 2px solid #f00 !important;
}

/* Optional: remove outline conflict */
.wpcf7 input.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid {
    outline: none !important;
}
.wpcf7-not-valid {
    outline: 2px solid #f00;
}
.wpcf7 textarea {
    resize: vertical;
}
.wpcf7-not-valid-tip{
	display: none !important;
}

.wpcf7 textarea.wpcf7-not-valid {
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.6) !important;
}
/* CF7 global error / success message */
.wpcf7-response-output {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 14px;
    text-align: center;

    z-index: 9999;
    position: relative;
}
.wpcf7-response-output {
    order: -1;
}
.wpcf7 form .wpcf7-response-output {
    margin: 2em 0.5em 1em;
    padding: 0.2em 1em;
    border: none !important;
	color: #fff!important;
}
.contact_page {
    padding: 80px 0;
}

.contact_address {
    color: #000 !important;
}

.contact_address h3 {
    margin-bottom: 20px;
}

.contact_form {
    background: #fff;
    padding: 40px;
    border-radius: 6px;
}

/* ===== Contact Form Wrapper ===== */
.contact_form {
    background: #ffffff;
    padding: 40px;
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ===== Labels ===== */
.contact_form label {
    font-weight: 500;
    margin-bottom: 6px;
    display: block;
}

/* ===== Inputs & Textarea ===== */
.contact_form input[type="text"],
.contact_form input[type="email"],
.contact_form input[type="tel"],
.contact_form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 14px;
    margin-bottom: 15px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* ===== Focus State ===== */
.contact_form input:focus,
.contact_form textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0,115,170,0.15);
}

/* ===== Textarea ===== */
.contact_form textarea {
    min-height: 120px;
    resize: vertical;
}

/* ===== Error Border (CF7) ===== */
.wpcf7 input.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid {
    border: 2px solid #ff0000 !important;
    box-shadow: none !important;
}

/* ===== Hide inline error text (optional) ===== */
.wpcf7-not-valid-tip {
    display: none !important;
}

/* ===== Submit Button ===== */
.contact_form input[type="submit"] {
    background: #0073aa;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

/* ===== Submit Hover ===== */
.contact_form input[type="submit"]:hover {
    background: #005f8d;
}

/* ===== CF7 Response Message ===== */
.wpcf7-response-output {
    margin-top: 20px;
    padding: 12px 15px;
    border: none !important;
    font-size: 14px;
    text-align: center;
}

/* ===== Error Message ===== */
.wpcf7-form.invalid .wpcf7-response-output {
    background: rgba(255, 0, 0, 0.1);
    color: #c00000;
}

/* ===== Success Message ===== */
.wpcf7-form.sent .wpcf7-response-output {
    background: rgba(0, 128, 0, 0.1);
    color: #006400;
}

/* ===== Responsive ===== */
@media (max-width: 767px) {
    .contact_form {
        padding: 25px;
    }
}
.page-id-15 footer {
    padding-top: 100px;
}

/* ===== Blog Section ===== 
.blog_sec .blog_box {
    background: #ffffff;
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 40px;
    text-align: center;
}

/* ===== Image ===== 
.blog_sec .blog_box .img img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== Text Wrapper ===== 
.blog_sec .blog_box .text {
    padding: 25px 15px 10px;
}

/* ===== Title ===== 
.blog_sec .blog_box .text h4 {
    margin: 20px 0 25px;
}

.blog_sec .blog_box .text h4 a {
    font-size: 28px;
    font-weight: 700;
    text-transform: uppercase;
    color: #000;
    text-decoration: none;
}

/* ===== Read More Button ===== 
.blog_sec .blog_box .default_btn a {
    display: inline-block;
    background: #c9192b;
    color: #ffffff;
    padding: 14px 40px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.3s ease;
}

.blog_sec .blog_box .default_btn a:hover {
    background: #a51422;
    color: #fff;*/
}

/* ===== Card Shadow (Optional) ===== */
.blog_sec .blog_box {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

/* ===== Show only 2 lines of content ===== */
.blog_sec .blog_box .text p {
    display: -webkit-box;
    -webkit-line-clamp: 2;   /* number of lines */
    -webkit-box-orient: vertical;
    overflow: hidden;

    font-size: 15px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 20px;
}


.blog_sec .blog_box {
    max-width: 100%;
}

.form-control {
    background: #fff !important;
    color: #111 !important;
}

.wpcf7-form.invalid .wpcf7-response-output {
    background: rgba(255, 0, 0, 0.1);
    color: #000 !important;
}


/* ===== Sidebar Box ===== */
#sidebar .widget {
    background: #ffffff;
    border: 1px solid #eee;
    padding: 30px 25px;
    margin-bottom: 30px;
}

/* ===== Sidebar Title ===== */
#sidebar .widget-title {
    font-size: 28px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: #000;
}

/* ===== Remove default list style ===== */
#sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ===== List Items ===== */
#sidebar ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
}

/* ===== Red Arrow ===== */
#sidebar ul li::before {
    content: "›";
    position: absolute;
    left: 0;
    top: 0;
    color: #c9192b;
    font-size: 26px;
    font-weight: 400;
    line-height: 1;
}

/* ===== Links ===== */
#sidebar ul li a {
    font-size: 18px;
    font-weight: 400;
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

/* ===== Hover Effect ===== */
#sidebar ul li a:hover {
    color: #c9192b;
}



/* ===== Blog Card ===== */
.blog_box {
    background: #fff;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
    padding-bottom: 30px;
}

/* ===== Image ===== */
.blog_box .img img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== Text Area ===== */
.blog_box .text {
    padding: 25px 0 0;
}

/* ===== Title ===== */
.blog_box .text h4 {
    margin: 0 0 15px;
}

.blog_box .text h4 a {
    font-size: 30px;
    font-weight: 700;
    color: #0a7aa5;   /* blue like screenshot */
    text-decoration: none;
    line-height: 1.3;
}

.blog_box .text h4 a:hover {
    text-decoration: underline;
}

/* ===== Meta (date + category) ===== */
.blog_box .data {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.blog_box .data a {
    color: #666;
    text-decoration: none;
}

/* ===== Content / Excerpt ===== */
.blog_box .text p {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
    margin-bottom: 25px;
}

/* ===== Read More Button ===== */
.blog_box .default_btn a {
    display: inline-block;
    background: #0a7aa5;
    color: #fff;
    padding: 12px 26px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
}

.blog_box .default_btn a:hover {
    background: #bc1215;
    color: #fff;
}



.single_blog_title {
    font-size: 32px;
    font-weight: 700;
    margin: 20px 0 10px;
    line-height: 40px;
}

.single_blog_meta {
    font-size: 14px;
    color: #777;
    margin-bottom: 20px;
}

.single_blog_meta span {
    margin-right: 15px;
}

.single_blog_text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 18px;
}


/* Pagination Wrapper */
.navigation.pagination {
    text-align: center;
    margin: 40px 0;
}

/* Remove default list spacing */
.navigation.pagination .nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Page Numbers */
.navigation.pagination .page-numbers {
    width: 60px;
    height: 60px;
    line-height: 60px;
    text-align: center;
    border-radius: 50%;
    background: #0a7aa5;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: 0.3s ease;
}

/* Hover Effect */
.navigation.pagination .page-numbers:hover {
    background: #c9192b;
}

/* Current Page */
.navigation.pagination .current {
    background: #0a7aa5;
}

/* Next Button Style */
.navigation.pagination .next {
    width: auto;
    padding: 0 30px;
    border-radius: 40px;
}
.single_blog_content .single_blog_image img {
    width: 100%;
}

.list_with_arrows li:after {
    font-family: 'Font Awesome 5 Pro' !important;
}
#sidebar #searchform #searchsubmit {
    background: #218ed0;
    border: 1px solid #218ed0;
    color: #fff;
    padding: 3px 15px;
    font-size: 15px;
}

/* End Images */