@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans+Arabic:wght@100;200;300;400;500;600;700&display=swap');

* {
 padding: 0;
 margin: 0;
 border: none;
 text-decoration: none;
}

:root {
 --main-text: #14573a;
 --main-bg: #1b8354;
 --second-text: #222a26;
 --paragraoh-text: #313842;
 --container-width: 1100px;
 --bg-box: #f2fcf8;
}

* {
 padding: 0;
 margin: 0;
 text-decoration: none;
 border: none;
 box-sizing: border-box;
}

body {
 background-color: #fff !important;
 background: url(../img/patternBackground.png) top center no-repeat;
 font-family: 'IBM Plex Sans Arabic', sans-serif;
 padding-top: 1rem;
}

.container {
 width: 100%;
 max-width: var(--container-width);
 background: url('../img/main_border.png') top center no-repeat;
 margin: 4rem auto;
 padding: 2rem 2rem;
 position: relative;
}

h2.main-title {
 display: block;
 width: fit-content;
 background-color: #1b8354;
 position: absolute;
 top: -25px;
 right: 0;
 left: 0;
 margin: 0 auto;
 filter: drop-shadow(4px 0px 12px #1b835463);
 color: #fff;
 padding: 0.7rem 1rem;
 font-weight: 500;
 font-size: 1.1rem;
 border-radius: 8px;
 padding: 1rem 3rem;
 text-align: center;
}

.conatiner-flex {
 display: flex;
 padding: 5rem 2rem 0rem;
 column-gap: 2rem;
 max-width: var(--container-width);
 flex-direction: column;

 row-gap: 3rem;
}

.accordion-button {
 padding: 1.5rem;
 font-size: 1.1rem;

 position: relative;
}
.sectionName {
 position: absolute;
 top: 50%;
 transform: translateY(-50%);
 left: 3.5rem;
 font-size: 0.85rem;
 color: #305d49;
}
.accordion-sub-button {
 padding: 1rem;
 font-size: 1rem;
}

.accordion-button:not(.collapsed) {
 /* background: linear-gradient(180deg, #1e734d 0%, #1da643 100%); */
 background: #066058;
 box-shadow: 0 4px 16px 0 rgba(0, 92, 32, 0.34);
 color: #fff;
}
.accordion-button:not(.collapsed) .sectionName {
 color: #fff;
}
.accordion-sub-button:not(.collapsed) {
 /* background: linear-gradient(180deg, #31c46c 0%, #52af85 100%); */
 background: #49a767;
 box-shadow: unset;
 color: #fff;
}

.accordion-button i {
 margin-left: 0.5rem;
}
.accordion-item:not(:first-child) {
 border-top: 0;
}
.accordion-item,
.accordion {
 background-color: transparent;
}

.accordion-item {
 margin-bottom: 0.4rem;
 border-radius: 0.5rem !important;

}

.table {
 font-size: 0.85rem;
 border-radius: 1rem;
 overflow: hidden;
 border: 1px solid #cccccc31;
 box-shadow: 4px 4px 12px rgba(0,0,0,0.1);
 margin: 1rem 0;
}

.table thead tr td {padding: 0.75rem;}
.table thead tr th {padding: 0.75rem;}

#accordionExample .accordion-item:has('.accordion-sub-button') {
 background-color: #f3faf7;
}

span.un-available {
 display: block;
 width: 60px;
 text-align: center;
 background-color: #f3c1c1;
 border: 1px solid #cc7676;
 font-size: 0.7rem;
 filter: drop-shadow(2px 2px 4px #cc767637);
 border-radius: 100px;
 padding: 0.2rem 0.1rem;
 color: #6d0a0a;
}

span.available {
 display: block;
 width: 60px;
 text-align: center;
 background-color: #d2fad3;
 border: 1px solid #92d693;
 font-size: 0.7rem;
 filter: drop-shadow(2px 2px 4px #4e84503f);
 border-radius: 100px;
 padding: 0.2rem 0.1rem;
 color: #074808;
}

.accordion-button:focus {
 box-shadow: unset;
}

.accordion-button {
 font-weight: bold;
 color: #173729;
 font-size: 1rem;
  background-color: #E8F0EC;
    
     padding: 1.1rem;
 font-size: 1rem;
 position: relative;
	border-radius: 0.5rem !important

}



table tr td a {
 color: #074808;
 position: relative;
 display: block;
}

table tr td a:hover::before {
 opacity: 1;
}

.info-box {
 border: 1px solid #0e4d3141;
 color: var(--main-bg);
 padding: 1rem;
 border-radius: 0.5rem;
 filter: drop-shadow(2px 2px 4px #0e4d3131);
 background-color: #14573a11;
 font-weight: bold;
 font-size: 1rem;
}

.customLink {
 background-color: #d6f5e7;
 border: 1px solid #14573a49;
 color: #0e4d31;

 filter: drop-shadow(2px 2px 8px #1a302632);

 width: fit-content;
 padding: 0.25rem 0.5rem;
 text-decoration: none;
 border-radius: 0.5rem;
 transition: all 0.3s;
 margin: 0 auto;
}
.customLink:hover {
 background-color: #f6fffb;
}

.table thead tr th,
.table tbody tr td {
 text-align: center;
}

.pdf-viewer {
 width: 100%;
 height: 60vh; /* Adjust height as needed */
 border-radius: 1rem;
 filter: drop-shadow(4px 4px 8px #ddd);
}

.accordion-body h3 {
 color: #0e4d31;
 font-size: 1.1rem;
}
.accordion-body h5 {
 color: #0e4d31;
 font-size: 0.95rem;
 border: 1px solid #000;
 display: inline-block;
 padding: 0.35rem 1rem;
 border-radius: 1rem;
 border: 1px solid #0e4d3127;
 background-color: #0e4d310e;

}


.accordion-body h3 {
 color: #fff;
 font-size: 1.2rem;
 background-color: #066058;
 filter: drop-shadow(2px 4px 12px #0660585d);
 border: 1px solid #000;
 display: block;

 width: fit-content;
 padding: 0.5rem 1rem;
 margin: 2rem 0;
 border-radius: 1rem;
 border: 1px solid #0e4d3127;
}

.accordion-body p {
 color: #222a26;
 border-right: 4px solid #07480825;
 padding-right: 0.75rem;
}
.accordion-body p {
 margin-top: 0.7rem;
}
.accordion-body ul li,
.accordion-body ol li {
 line-height: 1.8;
 list-style-position: inside;
 margin-bottom: 0.35rem;
}

.accordion-body hr {
 color: #ccc;
}


.background-custom {background-color: #066058 !important;
color: #fff !important;}



h5 i {
 margin-left: 0.3rem;
}



.accordion-button:not(.collapsed)::after {
 background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button::after {
 margin-right: auto;
 margin-left: 0;
}