html {
    scroll-behavior: smooth;
}

.header-nav-main .header-button-1 .button.primary {
    background-color: #1F2555;
    color: #fff;
}
.header-nav-main .header-button-1 .button.primary:hover {
    background-color: #047413;
}

.header-nav-main .form-flat input:not([type=submit]) {
    background-color: #fff !important;
    color: #000 !important;
}

.services-tab .tabbed-content .tab {
    border-width: 1px;
    border-radius: 0px;
    border-style: solid;
    border-color: rgb(0, 0, 0);
    margin: 0;
    padding: 0 16px;
}
.services-tab  .tabbed-content .tab.active {
    background-image: none !important;
    background-color: rgb(2, 30, 68) !important;
    background-size: initial !important;
    background-origin: initial !important;
    background-position: initial !important;
    background-repeat: initial !important;
    background-attachment: initial !important;
    -webkit-background-clip: initial !important;
}
.services-tab  .tabbed-content .tab.active a {
    color: rgb(255, 255, 255) !important;
    font-weight: bold;
    line-height: 1.6;
    text-align: center;
}
.service-item {
    border-radius: 0px 0px 15px 15px;
}

.service-item .service-avatar {
    width: 100%;
}
.service-item .service-avatar img {
    width: 100%;
    height: 300px;
    object-fit: cover;        
}
.service-item .service-content {
    padding: 15px 16px;
}


.shortcode-post-by-category .view-all-button {
    width: 200px;
    text-align: end;
}
.shortcode-post-by-category .view-all-button:hover {
    color: rgb(187, 9, 9);
}
.shortcode-post-by-category .blog-header h2,
.shortcode-post-by-category .blog-header a {
    color: #000;
}
.shortcode-post-by-category .blog-header {
    border-bottom: 2px solid #000;
}
.shortcode-post-by-category .articles {
    padding-top: 30px;
}
.shortcode-post-by-category.style1 .articles .row-1{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}
.shortcode-post-by-category.style1 .articles .row-1 h2 {
    font-size: 20px;
    color: #000;
}

.shortcode-post-by-category.style1 .articles .row-1 .post-content {
    padding: 15px 16px;
    border-bottom: 1px solid #cecaca;
}
.shortcode-post-by-category.style1 .articles .row-1 .excerpt {
    text-align: justify;
}


.shortcode-post-by-category.style1 .row-1 .post-thumbnail {
    height: 300px;
}
.shortcode-post-by-category.style1 .row-1 .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
} 

.shortcode-post-by-category.style1 .articles .row-2 {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
    margin-top: 30px;
}
.shortcode-post-by-category.style1 .articles .row-2 .post-item {
    display: flex;
    gap: 12px;
}
.shortcode-post-by-category.style1 .articles .row-2 .post-item h3 {
    padding-top: 10px;
    font-size: 16px;
}

.shortcode-post-by-category.style2 .articles {
    display: flex;
    gap: 20px;
}
.shortcode-post-by-category .large-post .post-thumbnail {
    height: 200px;
}
.shortcode-post-by-category .large-post .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.shortcode-post-by-category .small-post .post-item {
    display: flex;
    gap: 10px;
}
.shortcode-post-by-category .small-post .post-item h2 {
    font-size: 16px;
}
.shortcode-post-by-category .small-post .col {
    padding-bottom: 20px;
}

.shortcode-post-by-category.style3 .articles {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}

.shortcode-post-by-category.style3 .post-thumbnail {
    height: 250px;
}

.shortcode-post-by-category.style3 .post-content {
    padding: 15px 16px;
    background: aliceblue;
}


.shortcode-post-by-category.style3 .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shortcode-post-by-category.style4 .articles {
    display: flex;
    gap: 20px;
}
.shortcode-post-by-category.style4 .large-post .post-item {
    margin-bottom: 20px;
}

.shortcode-post-by-category.style4 .side-post .post-item h2 {
    font-size: 16px;
    padding-bottom: 15px;
    margin-bottom: 0;
    border-bottom: 1px solid #cecaca;
}


/* category page */
.category-content-wrap .grid-container {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}
.category-content-wrap .grid-container .grid-item .grid-thumbnail {
    height: 250px;
}
.category-content-wrap .grid-container .grid-item .grid-thumbnail  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.category-container {
    padding: 50px 0px;
}
.category-content-wrap .grid-container .grid-item  .grid-title {
    font-size: 20px;
    color: #1F2555;
}
.category-content-wrap .grid-container .grid-item  {
    position: relative;
}
.category-content-wrap .grid-container .grid-item .grid-post-content {
    max-width: 90%;
    margin: 0 auto;
    padding: 15px 16px;
    background-color: #fff;
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    transform: translateY(-30%);
    border-radius: 15px;
}
.category-container > h1 {
    text-transform: uppercase;
    font-size: 28px;
    padding: 15px 0px;
    border-bottom: 2px solid #000;
}


/*contact form*/
.contact-page-wrap .wpcf7-form label {
    display: block;
    margin-bottom: 10px;
}

.contact-page-wrap .wpcf7-form input[type="text"],
.contact-page-wrap .wpcf7-form input[type="email"],
.contact-page-wrap .wpcf7-form input[type="tel"],
.contact-page-wrap .wpcf7-form textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-page-wrap .wpcf7-form input[type="submit"] {
    background-color: #4267B2;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.contact-page-wrap .wpcf7-form input[type="submit"]:hover {
    background-color: #365899;
}
#footer {
    background-color: #1F2555;
    color: #fff;
}

#footer .section-title-bold span, 
#footer .section-title-bold-center span {
    border: 2px solid #fff;
}
#footer .section-title b {
    background-color: #fff;
    opacity: .8;
}

#footer .box-blog-post .is-divider {
    display: none;
}

#footer .ux-menu-link__link {
    border-bottom-color: transparent;
}
#footer .ux-menu-link__link:hover {
    border-bottom-color: #fff ;
    color: #faf7f7;
}