@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Urbanist:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

body,
html {
    font-family: "Urbanist", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    background-color: #ffffff;
}

[dir="rtl"] body,
[dir="rtl"] html {
    font-family: "Tajawal", serif;
    font-optical-sizing: auto;
    font-style: normal;
    background-color: #ffffff;
}

.lh-60{
    line-height:60px;
}

.top-bar .social a {
    position: relative;
    padding-left: 10px;
    padding-right: 10px;
}

footer{
    background:linear-gradient(280deg, rgba(0, 0, 0, 0) 0%, #006543 45%, #006543 100%), 
    url('../img/footer-bg.png') no-repeat right; 
}
[dir="rtl"] footer{
    /* background-color: #006543; */
    position: relative;
}

[dir="rtl"] footer::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:linear-gradient(280deg, rgba(0, 0, 0, 0) 0%, #006543 45%, #006543 100%), 
    url('../img/footer-bg.png') no-repeat right; 
    transform: scaleX(-1);
    z-index:1;
}

[dir="rtl"] .nf-form-content .list-select-wrap>div div:after{
    left:10px;
    right:auto;
}

[dir="rtl"] .listradio-wrap .nf-field-element label{
    margin-right: 30px !important;
    margin-left: 0px !important;
}

[dir="rtl"] .listradio-wrap .nf-field-element label:after{
    right:-30px;
    left:auto
}

.listselect-container .nf-form-content .list-select-wrap>div{
    margin: 1rem 0;
}

footer .content{
    position: relative;
    z-index: 10;
}

footer .top-bar a::after {
    content: "";
    position: absolute;
    left: 0px;
    width: 2px;
    background-color: #37474F;
    top: 0;
    bottom: 0;
}

[dir="rtl"] footer .top-bar a::after{
    left: auto;
    right: 0;
}

footer .top-bar a::after{
    background-color: #ffffff;
}

footer .top-bar a{
    padding-left:20px;
    position: relative;
    padding-right: 20px;
}

footer .top-bar a:first-child{
    padding-left:0;
}

[dir="rtl"] footer .top-bar a:first-child{
    padding-left:20px;
    padding-right:0;
}

.top-bar a:first-child::after {
    display: none;
}

.hero-sec {
    background: url('../img/hero-bg.png');
    background-size: cover;
    background-repeat: no-repeat;
}

[dir="rtl"] .hero-sec{
    background: none;
    background-color: #adecff;
    position: relative;
}

[dir="rtl"] .hero-sec::after{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/hero-bg.png');
    background-size: cover;
    transform: scaleX(-1);
    z-index: 1;
}

[dir="rtl"] .hero-sec .content{
    position: relative;
    z-index: 2;
}

.team-top-bnr{
    position: relative;
}

/* .team-top-bnr::after{
    content:"";
    position: absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    background-color:#14162491;
    border-radius:12px;
} */

.modal{
    position:fixed;
    top:0;
    bottom:0;
    left:0;
    right:0;
    background-color:#160f1ac9;
    visibility:hidden;
    opacity:0;
    transition:.3s;
    z-index:100;
    overflow:auto;
}

.modal.show{
    visibility: visible;
    opacity:1;
}

.modal .modal-wrap{
    transition:.3s;
    width:0;
    position: absolute;
    /* top:50%; */
    top:50px;
    /* transform:translateY(-50%); */
    left:0;
    right:0;
    margin:0 auto;
    background-color: #FFFFFF;
    /* padding:30px 40px; */
    border-radius:20px;
}

.modal .modal-wrap .field-wrap input:not([type=submit]), .nf-form-content .field-wrap input:not([type=submit]), .nf-form-content textarea.ninja-forms-field{
    border-radius:5px !important;
    background-color: #0000000D !important;
    color: #00000099 !important;
    border: 1px solid #00000033 !important;
    font-size: 1rem;
    line-height: 1.5rem;
    padding:.5rem 1rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    height:auto !important;
}

.nf-form-content input[type=submit]{
    background-color: #0091BF !important;
    border-radius: 30px !important;
    color:#ffffff !important;
    font-size: 1.125rem;
    line-height: 1.75rem;
    padding:.75rem 0;
    width: 15rem !important;
    height:auto !important;
    margin-top: 2rem;
}

.nf-form-content input[type=radio].ninja-forms-field{
    margin:0 !important;
}

.nf-field-label label{
    position: absolute;
}

#ninja_forms_required_items, .nf-field-container{
    margin-bottom:0 !important;
}

.nf-form-fields-required{
    display:none !important;
}

.modal.show .modal-wrap{
    width:1100px;
}

.modal .close-btn{
    position: absolute;
    right: 10px;
    top: 10px;
    cursor:pointer;
}

.modal .close-btn svg{
    width: 35px;
}

.post-content p{
    margin-top:30px;
}

.post-content ol{
    margin-top:15px;
    list-style: auto;
}

[dir="rtl"] .post-content ol{
    list-style: arabic-indic;
}

.post-content ol li{
    margin-top:5px;
}

.post-content img{
    width:100% !important;
    height:auto !important;
}

.primary-menu li a{
    color:#333333;
}

.rtl.team-member-template-default .py-11 .text-left.flex{
    text-align:right;
}

@media screen and (max-width: 600px) {

    .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-sec {
        background: url('../images/top-bnr-mb.webp');
        background-size: contain;
        background-repeat: no-repeat;
        background-position: 50%;
        background-color: #e6ecf3;
    }
    .modal.show .modal-wrap{
        width:90%;
        padding: 5rem 15px;
    }
}

/*.page-id-117 iframe{*/
/*	height: 100% !important;*/
/*}*/
.page-id-117 nav{
	position: relative !important;
}
.page-id-117 header{
	display: none !important;
}


/*.page-id-79 iframe{*/
/*	height: 100% !important;*/
/*}*/
.page-id-79 nav{
	position: relative !important;
}
.page-id-79 header{
	display: none !important;
}


.page-id-79 .footer-nav-widgets-wrapper.header-footer-group{
	display: none !important;
}


.user_registerform input, .user-registration input{
     outline: none;
    padding: 12px;
    transition: box-shadow 0.1s;
    font-size: 16px;
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    border-radius: 5px !important;
    box-shadow: none !important; 
}

  

.submit_btn{
    background: rgb(0, 145, 191);
    color: rgb(255, 255, 255);
    z-index: 1;
    border-radius: 30px;
    border-width: 0px;
    border-color: rgb(0, 0, 0);
    border-style: solid;
    box-shadow: none !important;
    outline: none !important;
    margin: 0px !important;
}

.user-registration input.user-registration-Button{
    background: rgb(0, 145, 191) !important;
    color: rgb(255, 255, 255);
    border-radius: 30px !important;
    border-width: 0px !important;
    border-color: rgb(0, 0, 0) !important;
    border-style: solid !important;
    box-shadow: none !important;
    outline: none !important;
    margin: 0px !important;
}

.page-id-146 .post_meta, .page-id-144 .post_meta{
    display: none !important;
}

.survey-data {
    /*width: 80%;*/
    /*margin: 20px auto;*/
    /*padding: 20px;*/
    /*background-color: white;*/
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
    /*border-radius: 8px;*/
}

/* Survey Title */
.survey-data h1 {
    font-size: 24px;
    /*margin-bottom: 20px;*/
    text-align: center;
    color: #333;
}
.survey-data > div {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}
.survey-data > div p {
    margin-top:0;
}

/* Download Button */
#downloadBtn {
    background-color: #0091BF;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    /*display: block;*/
    /*margin: 0 auto;*/
    /*margin-bottom: 20px;*/
}

#downloadBtn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Loading Message */
#loading {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #555;
    margin-top: 20px;
}

/* Table Styling */
.survey-table-data {
    margin-top: 20px;
    overflow-x: auto; /* Allows horizontal scrolling if the table is too wide */
}

.survey-table-data table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.survey-table-data th, .survey-table-data td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

.survey-table-data th {
    background-color: #0091BF;
    color: white;
}

.survey-table-data td {
    background-color: #f9f9f9;
}

.survey-table-data tr:nth-child(even) {
    background-color: #f2f2f2;
}

.survey-table-data tr:hover {
    background-color: #ddd;
}

.survey-table-data table th, .survey-table-data table td {
    min-width: 150px; /* Ensures consistent width for each cell */
}

/* Filter Section */
.filter-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

/* Input Fields */
.filter-section input[type="date"] {
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease-in-out;
    width: 210px;
}

.filter-section input[type="date"]:focus {
    border-color: #007bff;
}

/* Buttons */
.filter-section button {
    padding: 8px 15px;
    font-size: 14px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

/* Filter Button */
.filter-section #filterBtn {
    background-color: #0091BF;
    color: white;
}

.filter-section #filterBtn:hover {
    background-color: #0056b3;
}

/* Reset Button */
.filter-section #resetBtn {
    background-color: #000000;
    color: white;
}

.filter-section #resetBtn:hover {
    background-color: #111111;
}
.filter-section .input-group {
    display:flex;
    align-items:center;
    gap:10px;
}
.filter-section .btn-group {
    display:flex;
    gap:10px;
}
#noDataMessage {
    display: none; /* Initially hidden */
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    color: #dc3545;
    margin-top: 45px;
}

.blog nav{
    position: relative !important;
}
