
body.lang_ar {
    text-align: right;
}

a,
a:hover {
    text-decoration: none;
    -webkit-transition: ease-in-out 0.5s;
    -moz-transition: ease-in-out 0.5s;
    -o-transition: ease-in-out 0.5s;
    transition: ease-in-out 0.5s;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
span,
small,
strong,
b,
p {
    color: #424242;
}

/* blogs css */
#blog_includes {
    padding: 10px 0 50px;
}

/* ------------- Blog search form ---------------- */
.blog-search-container {
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
}

.blog-search-input {
    width: calc(100% - 45px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.8;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 2px 0 0 2px;
    transition: border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
.blog-search-submit {
    width: 45px;
    color:#1a1a1a;
    vertical-align: middle;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.8;
    text-align: center;
    white-space: nowrap;
    padding: 2px;
    margin-left: -1px;
    border: 1px solid #ced4da;
    border-left-color: transparent;
    border-radius: 0 2px 2px 0;
    background-color: #f8f9fa;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}

.tagbtn {
    font-size: 18px;
    font-weight: bold;
    color: #1a1a1a;
    background: #a5c5e5;
    line-height: normal;
    padding: 13px 20px;
    position: absolute;
    z-index: 1;
    margin: 20px;
    border-radius: 10px;
}

.featured-post-main {
    position: relative;
    display: block;
}

.featured-post-main h1.post-title {
    padding: 2px 5px;
    background: rgba(66, 66, 66, 0.65);
}

.blog_mainimg {
    position: relative;
    width: 1500px;
    height: auto;
    max-width: 100%;
    max-height: 534px;
    object-fit: cover;
}

.blog_upcontent h1 {
    font-size: 40px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 20px;
}

.blog_upcontent {
    position: absolute;
    bottom: 0;
    padding: 32px;
}

.blog_upcontent h5 {
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    display: flex;
    align-items: center;
}

.blog_upcontent h5 svg {
    width: 22px;
    height: 22px;
    margin-right: 10px;
}

.blogcard_list {
    position: relative;
    display: block;
    margin-bottom: 20px;
}

.blogcard_list img {
    height: 16rem;
    width: 100%;
    object-fit: cover;
    margin-bottom: 10px;
}

.featured-posts {
    margin-top: 12px;
}

.featured-posts .row {
    width: 100%;
    margin: 0 auto;
}

.featured-posts .row>div:nth-child(even),
.featured-posts .row>div:nth-child(odd) {
    padding: 0 6px;
}


.blogcard_list small {
    color:#1a1a1a;
    margin-bottom: 0;
}

.blogcard_list h6 {
    font-size: 20px;
    font-weight: bold;
    color:#1a1a1a;
    margin: 10px 0;
    line-height: normal;
    padding: 0;
}

.blogcard_list p {
    font-weight: 400;
    color: #5C5C5C;
    margin-bottom: 0;
}

.blogcard_list .tagbtn {
    margin: 15px;
    padding: 8px 10px;
}

.blog_register_panel {
    box-shadow: 0px 10px 13px 0px #0000001C;
    background: #424242;
    padding: 30px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 40px;
}

.left_panel_content {
    display: flex;
    align-items: center;
}

.left_panel_content img {
    margin-right: 20px;
}

.left_panel_content h2 {
    font-size: 28px;
    font-weight: bold;
    color: #fff;
}

.left_panel_content h6 {
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0;
}

.panelbtn {
    background: #a5c5e5;
    border-radius: 11px;
    font-size: 18px;
    font-weight: bold;
    color: #1a1a1a !important;
    padding: 13px 25px;
    line-height: normal;
}

.blog_first_includes {
    padding: 0 0 50px;
}

.home-catsection-1 {
    padding: 50px 0;
    background: #F9F9F9;
    position: relative;
}

.title_flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.title_flex h2 {
    font-size: 30px;
    font-weight: bold;
    color:#1a1a1a;
    position: relative;
    display: grid;
    margin-bottom: 0;
    grid-gap: 7px;
}

.title_flex h2:after {
    content: "";
    width: 72px;
    height: 100%;
    display: inline-block;
    border-bottom: 3px solid #dddddd;
}

.viewbtn {
    background: #a5c5e5;
    border-radius: 2rem;
    font-size: 14px;
    font-weight: bold;
    color: #1a1a1a !important;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    line-height: normal;
}

.viewbtn svg {
    margin-left: 10px;
}

.home-catsection-1 .blogcard_list {
    min-height: 386px;
    box-shadow: 0px 14px 20px 0px #00000005;
    border: 1px solid #ECECEC;
    background: #fff;
    padding: 15px;
}

.home-catsection-1 .blogcard_list img {
    height: 11rem;
}

.home-catsection-1 .blogcard_list h6 {
    font-size: 18px;
    margin: 5px 0;
}

.home-catsection-1 .blogcard_list p {
    font-size: 15px;
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding-top: 2rem
}

.cards-container a {
    display: flex;
    flex-direction: column;
    z-index: 1
}

.cards {
    display: flex;
    gap: 7px;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    padding: 1.5rem 1.25rem;
    border: 1px solid #d5d6d6;
    border-radius: 12px;
    cursor: pointer;
    height: 100%
}

.cards img {
    width: 32px;
    height: 32px;
}

.card-title-description {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 170px
}

.card-title {
    font-size: 20px;
    margin-bottom: .5rem;
    font-weight: bold;
    line-height: 1.2;
    color: #1a1a1a;
    margin-bottom: 5px !important;
}

.sub-card-title{
    font-size: 16px;
    font-weight: bold;
    color: #1a1a1a;
}


.card-title:hover{
    color: #1a1a1a;
}

.card-description {
    color:#1a1a1a;
    font-size: 14px;
    font-weight: bold;
}

/* ---------------- Wordpress specific styles ---------------- */
@media (min-width: 600px) {
    .post_content>* {
        margin-top: 32px;
        margin-bottom: 32px;
    }
}

.aligncenter {
    display: block;
    clear: both;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}

.wp-block-image.aligncenter,
.wp-block-image .aligncenter,
.wp-block-image.alignleft,
.wp-block-image .alignleft,
.wp-block-image.alignright,
.wp-block-image .alignright {
    display: table;
}

.wp-block-image .aligncenter {
    margin-left: auto;
    margin-right: auto;
}

.wp-block-image.has-custom-border img,
.wp-block-image img {
    box-sizing: border-box;
}

.wp-block-image img {
    height: auto;
    max-width: 100%;
    vertical-align: bottom;
}

img.lazy {
    min-height: 1px;
}

.owl_blog_first .owl-nav.disabled,
.owl_blog_first .owl-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    left: 0;
    right: 0;
    top: 45%;
    margin: 0px -60px;
}

.owl_blog_first button {
    width: 35px;
    height: 35px;
    background: rgb(66 66 66 / 10%) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.owl_blog_first button span {
    color: #424242;
    font-size: 38px;
    line-height: 0;
    position: relative;
    top: -3px;
    font-weight: bold;
}

.home-catsection-2 {
    padding: 80px 0 50px;
}

.owl_blog_sec .owl-nav.disabled,
.owl_blog_sec .owl-nav,
.owl_blog_third .owl-nav.disabled,
.owl_blog_third .owl-nav,
.owl_blog_detail .owl-nav.disabled,
.owl_blog_detail .owl-nav {
    display: block;
    text-align: center;
}

.owl_blog_sec button,
.owl_blog_third button,
.owl_blog_detail button {
    width: 35px;
    height: 35px;
    margin: 20px 20px 0;
}

.owl_blog_sec img {
    height: auto;
}

.other_tagline {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
    position: absolute;
    right: 0;
    bottom: 0;
    margin: 15px;
}

.home-catsection-4 {
    background: transparent;
    padding-bottom: 0;
}

/* .owl_blog_third .owl-stage-outer {
  overflow: visible;
} */
.home-catsection-3 {
    padding: 50px 0;
    position: relative;
    display: block;
    background: rgb(0 158 255 / 3%);
}

.home-catsection-2 img.post-thumbnail {
    width: 1500px;
    height: auto;
    max-width: 100%;
    max-height: 230px;
    object-fit: cover;
}

.home-catsection-2 .blogcard_list h6,
.home-catsection-3 .blogcard_list h6 {
    font-size: 24px;
}

.home-catsection-2 .blogcard_list p,
.home-catsection-3 .blogcard_list p {
    font-size: 18px;
}

.flex_includes {
    display: flex;
    align-items: center;
}

.home-catsection-3 .blogcard_list img {
    height: auto;
}

.cardlist_right {
    margin-left: 20px;
}

body.lang_ar .cardlist_right {
    margin-left: 0;
    margin-right: 20px;
}

.home-catsection-3 .blogcard_list .other_tagline {
    position: relative;
    color: #424242;
    margin: 10px 0 0;
    display: inline-block;
}

.flex_includes img {
    height: 15rem !important;
    width: 17rem;
}

.blog_details_main h1 {
    font-size: 34px;
    font-weight: bold;
    color: #1a1a1a;
}

.blog_details_main p {
    font-size: 18px;
    font-weight: 400;
    color: #5C5C5C;
    margin-bottom: 0.5rem;
}

.blog_dtlimg {
    height: 32rem;
    width: 100%;
    object-fit: cover;
    margin-bottom: 20px;
}

.blog_details_main~.home-catsection-1 {
    background: transparent;
}

.blog_details_main~.home-catsection-1 .title_flex h2:after {
    display: none;
}

.apply_box {
    background: #f5f5f5;
    text-align: center;
    display: block;
    margin-bottom: 15px;
    margin-top: 15px;
}

.apply_box img {
    width: 100%;
}

.apply_content {
    padding: 15px 15px;
}

.apply_content h6 {
    font-size: 18px;
    font-weight: bold;
    color: #1a1a1a;
}

.apply_content p {
    font-size: 15px;
    font-weight: 400;
    color: #1a1a1a;
}

.apply_btn {
    background: #a5c5e5;
    font-size: 14px;
    font-weight: bold;
    color: #1a1a1a;
    padding: 7px 20px;
    border-radius: 40px;
    display: inline-block;
    line-height: normal;
}

.brows_link {
    font-size: 14px;
    font-weight: 500;
    color: #424242;
    margin-bottom: 20px;
    display: inline-block;
}

.location_box {
    border: 1px solid #0000000a;
    background: rgb(66 66 66 / 5%);
    width: 100%;
    margin: 0 auto 15px;
    padding: 0px 10px 10px;
}

.city_img {
    width: auto;
}

.blog_related_list {
    border: 1px solid rgb(0 0 0 / 5%);
    padding: 10px 15px 12px;
}

.blog_related_list li a {
    font-size: 16px;
    font-weight: 400;
    color: #424242;
    padding: 10px 0;
    display: block;
    border-bottom: 1px solid rgb(66 66 66 / 50%);
}

.blog_related_list li:last-child a {
    border-bottom: 0;
    padding-bottom: 0;
}

.blog_listing_main .blogcard_list img {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0) 100%);
    height: 13rem;
}

.work_tag {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    position: absolute;
    margin: 15px;
}

.work_tag svg {
    margin-right: 5px;
    width: 22px;
    height: 22px;
}

.blog_listing_main .blogcard_list {
    border: 1px solid #F3F3F3;
}

.blog_listing_main .title_flex h2:after {
    display: none;
}

.blog_listing_main .title_flex {
    margin-bottom: 20px;
}

.blogcard_list ul {
    display: flex;
    align-items: center;
    grid-gap: 10px;
}

.blogcard_list ul li span {
    font-size: 14px;
    font-weight: 400;
    color: #424242;
}

.blogcard_list ul li {
    color: #1a1a1a;
    font-size: 20px;
}

.blogcard_list ul li span svg {
    margin-right: 8px;
}

.blog_listing_main .blogcard_list p {
    font-size: 14px;
    font-weight: 400;
    color: #5C5C5C;
    margin-bottom: 10px;
}

.blog_listing_main .blogcard_list h6 {
    font-size: 22px;
    margin: 5px 0 10px;
}

.listing_box_includes {
    padding: 10px 15px 12px;
}

.social_listing {
    display: flex;
    align-items: center;
    grid-gap: 5px;
}

.prev_btn a,
.nxt_btn a {
    font-size: 12px !important;
    font-weight: bold;
    color: #1a1a1a !important;
}

.pagination {
    justify-content: center;
    grid-gap: 14px;
    margin: 30px 0;
}

.pagination .prev_btn a {
    border: none;
    padding: 0;
}

.pagination li {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #BCBCBC;
    /* padding: 10px 10px; */
}

.pagination li.page-item.disabled:first-child,
.pagination li.page-item.disabled:last-child {
    display: none;
}

.pagination li a {
    display: block;
    padding: 10px;
    border: none;
    color: #BCBCBC;
    font-size: 14px;
    background: transparent;
}

.pagination li.active {
    border-color: #1a1a1a;
}

.pagination li.active a {
    background: transparent !important;
    color: #fff;
}

.page-item.prev_btn,
.page-item.nxt_btn {
    border: none;
}

.container_slider .owl-stage-outer {
    overflow: visible;
}

.pagination li:hover {
    background: #009eff;
    border-color: #1a1a1a;
}

.pagination li:hover a {
    color: #fff;
    background: transparent;
    border: none;
    outline: unset;
    box-shadow: unset;
}

.container {
    max-width: 1170px;
}

.post_tags a.btn {
    margin-bottom: 10px;
}
.auto_apply_images{
    margin-bottom: 10px;
}
.auto_apply_images img{
    max-width: 100%;
    height: auto;
}
.autoApplyContent{
    cursor: default;
    padding: 20px 25px;
    background: #ffffff;
    margin-bottom: 8px;
    border-radius: 9px;
    box-shadow: 0 3px 6px #1919190f;
}

.autoApplyContent .autoApply-btn{
    float: right;
    margin-top: 5px;
}
.autoApply-btn.blue {
    background-color: #a5c5e5;
    color: #1a1a1a;
}
.autoApply-btn {
    cursor: pointer;
    border-radius: 20px;
    padding: 10px 24px;
    text-transform: capitalize;
    font-weight: 500;
    letter-spacing: -.3px;
    line-height: 17px;
    text-align: center;
    border: 0;
    outline: 0;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    text-decoration: none;
}
.autoApplyContent .autoApply-line{
    font-size: 16px;
    font-weight: bold;
    line-height: 22px;
    color: #1a1a1a;
    letter-spacing: -.34px;
    margin-bottom: 10px;
}
.autoApplyContent .autoApply-text{
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    color: #3b6585;
    letter-spacing: -.3px;
    margin-top: 2px;
    margin-bottom: 5px;
}
@media only screen and (max-width: 600px) {
    .autoApplyContent {
        display: flex;
        flex-direction: column;
    }
    .autoApply-btn {
        order: 3; /* Move the button to the third position */
        width: auto;
        margin-top: 10px !important;
    }
}

@media screen and (max-width:1270px) {
    .card-title {
        font-size: 1rem
    }
    .card-description {
        font-size: 11px
    }
}

@media screen and (max-width:576px) {
  /* mobile phones */
    .cards img {
        width: 32px;
        height: 32px;
    }
    .cards-container {
        grid-template-columns: repeat(1, 1fr);
        min-height: 200px;
    }
}

@media screen and (min-width: 576px) and (max-width: 768px) and (orientation: portrait) {
  /* iPad mini / small tablets in portrait */
  .cards-container{
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 769px) and (max-width: 820px) and (orientation: portrait) {
  /* iPad Air (portrait) */
  .cards-container{
    grid-template-columns: repeat(3, 1fr);
  }
}

@media screen and (min-width: 821px) and (max-width: 834px) and (orientation: portrait) {
  /* iPad Pro 11" (portrait) */
}

@media screen and (min-width: 835px) and (max-width: 1024px) and (orientation: portrait) {
  /* iPad Pro 12.9" and large tablets (portrait) */
  .cards-container{
    grid-template-columns: repeat(3, 1fr);
  }
}
