body {
    font-family: Vazir;
    width: 100%;
    margin: 0;
    max-height: initial;
    min-width: 1200px;
}

#loading-screen {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #f1f1f1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    z-index: 1083;
}


.loader {
    border: none;
    border-radius: 50%;
    border-top: 16px solid #3498db;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    margin: 2rem;
}


@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

header {
    width: 100%;
    height: 4%;
    display: flex;
    flex-wrap: wrap;

}

.headitem {
    flex: 50%;
    width: max-content;
}

.headitem1 {
    flex: 25%;
    width: max-content;
    min-width: 280px;
    max-width: 400px;

}

.flex {
    display: flex;
}

.leaderitem {
    height: 100%;
    align-content: center;
}

.leaderitem img {
    margin-right: 20px;
    border-radius: 15px;
    height: 180px;
}

.leadertxt {
    width: max-content;
    text-align: justify;
    text-align-last: justify;
    font-family: VazirBold;
    font-weight: bold;
    color: #2F5AA3;
    font-size: 120%;
    margin-right: 10%;
    margin-top: 10%;
    line-height: 1.2;
}

.leadertxt p {
    font-family: Vazir;
    color: #999999;
    font-size: small;
    width: max-content;
    text-align: center;
}


.headtxt {
    color: #8F8F8F;
    text-align: justify;
    text-align-last: justify;
    align-self: center;
    font-size: 65px;
    font-family: IranNastaliq;
    line-height: normal;
    font-weight: bolder;
}

.logotime {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.logoitem {
    margin: auto;
    padding: 4%;
}

.childlogo {
    padding: 1%;
}

.logosite {
    height: 120px;
    margin-top: 1rem;
}

.childlogo span {
    margin: 3%;
    font-family: VazirBold;
    font-size: 14px;
}

.childlogo svg {
    width: 26px;
    height: 26px;
}


main {

}

.container {
    margin: 0 1% 0 1%;
    display: flex;
    justify-content: space-between;
    flex-wrap: nowrap;
    background-color: #ececec;
    border-radius: 25px;
    height: max-content;
    min-height: 500px;
}

.side {
    width: max-content;
    min-width: 200px;
    max-width: 350px;
}

.side.right {
    flex: 25%;
    margin: 1%;
    position: sticky;
    top: 10px;

}

.newsHead {
    width: max-content;
    min-width: 250px;
    max-width: 250px;
    text-align: center;
    padding: 10px 30px;
    align-items: center;
    background-color: #f7f7f7;
    border-radius: 11px;
    font-family: VazirBold;
    color: #2F5AA3;
    font-size: 1.5rem;
    margin-bottom: 20px;
    cursor: default;
}

.information {
    display: none;
}

#infouser {
    display: none;
    background-color: #2F5AA3;
    padding: 5px 15px;
    margin: 5px;
    border-radius: 10px;
    color: #555555;

}

#user {
    padding: 10px 20px;
}

.infobttn {
    font-family: VazirBold;
    cursor: pointer;
    margin-bottom: 10px;
    font-size: 14px;
    color: white;
    transition: margin-right 1s ease, color 1s ease;
}

.infobttn:hover, infobttn a:hover {
    color: #bebfc1;
    margin-right: 1rem;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.4);
    padding-top: 60px;
}

.mdlheader {
    background-color: #999999;
    padding: 15px;
    border: 1px solid #888;
    border-radius: 10px;
    align-items: center;
    font-size: 25px;
    font-family: VazirBold;
    margin-bottom: 15px;
}

.mdlcontent {
    background-color: #e0e0e0;
    padding: 25px;
    padding-bottom: 5px;
    border: 1px solid #888;
    border-radius: 10px;
    align-items: center;
    font-size: 18px;

    margin-bottom: 15px;
}

.modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 25px;
    border: 1px solid #888;
    border-radius: 10px;
    width: 30%;
    font-family: VazirBold;
}

.close {

}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.mdlbtn {
    text-align: left;
    height: max-content;
    padding: 15px;
}

.buttn {
    padding: 10px 20px;
    margin: 10px;
    cursor: pointer;
    border: none;
    text-decoration: none;
    color: white;
    font-size: 14px;
    border-radius: 10px;
    font-family: VazirBold;
}

.buttn-danger {
    background-color: red;
    color: white;
    border: none;
}

.flex-btn {
    display: flex;
    align-items: center;
}

.buttn-secondary {
    background-color: gray;
    color: white;
    border: none;
}

.buttn-secondary:hover {
    background-color: white;
    color: gray;
    border: none;
}

.buttn-primary {
    background-color: #0a53be;
    color: white;
    border: none;
}

.newsContent {
    max-height: 600px;
    width: max-content;
    max-width: inherit;
    min-width: 80%;
    overflow-y: auto;
    padding-right: 0px;
    padding-left: 15px;

}

.newsContent::-webkit-scrollbar {
    width: 12px;
}

.newsContent::-webkit-scrollbar-thumb {
    background-color: #888;
    border-radius: 6px;
}

.newsContent::-webkit-scrollbar-track {
    background-color: white;
    border-radius: 6px;
}

.news {
    text-decoration: none;
    height: max-content;
    display: block;
}

.newstxt {
    color: #2F5AA3;
    font-size: 17px;
    text-align: justify;
    margin-left: 15px;
    margin-top: 5px;
}

#image-news-btn {
    width: 20%;
    border: none;
    font-family: VazirBold;
    padding: 1rem;
    background-color: #007bff;
    color:white;
    border-radius: 10px;
    margin: 2rem 1rem;
    cursor: pointer;
    transition: all .5s ease;
    border: 1px solid #007bff;
}
#image-news-btn:hover {
    background-color: white;
    color: #007bff;
    
}
.links {
    margin-bottom: 15px;
    font-family: VazirBold;
    color: #2F5AA3;
}

.new {
    margin-bottom: 1rem;
    padding: 1rem;
    font-family: VazirBold;
    list-style-type: none;
    background-color: #ffffff75;
    height: max-content;
    border-radius: 20px;
    cursor: pointer;
}
.new:hover {
    background-color: #ffffff38;
}

.news-span {
    font-family: VazirBold;
    text-align: left;
    padding: 1rem;
    margin: 0;
    color: #2F5AA3;
}

.side.left {
    flex: 25%;
    margin: 1%;
    margin-right: 0;

}

.linksContent {
    max-height: 400px;
    max-width: inherit;
}


.content {
    flex: 55%;
    width: max-content;
    max-width: 1050px;
    min-width: 400px;
    margin: 0 1% 0 1%;
}

.headContent {
    color: #2F5AA3;
    font-family: VazirBold;
    margin-top: 0;
    font-size: 30px;

}

.formcontainer {
    padding: 15px;
    margin: 15px 0 8px 0;
    border-radius: 10px;
    /*box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 12px 0 rgba(0, 0, 0, 0.19);*/
    font-family: VazirBold;
    font-weight: normal;
    font-size: 18px;
}

.description {
    color: #555555;
    font-family: VazirBold;
    font-size: 18px;
    text-align: justify;
    text-indent: 1.5cm;
    line-height: .8cm;
    padding: 10px;
}

.filter {
    background-color: white;
    border-radius: 1rem;
    padding: .2rem 1rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.filter select {
    font-family: Vazir;
    margin-left: 1.5rem;
    font-size: .7rem;
}

.forminputs {
    margin: 10px 0 8px 0;
    border-radius: 10px;
    /*box-shadow: 0 4px 4px 4px rgba(0, 0, 0, 0.2), 0 6px 12px 6px rgba(0, 0, 0, 0.19);*/
    font-family: Vazir;
    font-weight: bolder;
    font-size: 14px;
}

.forminputs input::placeholder, textarea::placeholder {
    font-family: VazirBold; /* نام فونت مورد نظر */
    font-size: 15px; /* اندازه فونت */
    color: #999999; /* رنگ متن placeholder */
}

#preview {
    margin-top: 5px;
    margin-bottom: 5px;
}

.preview-item {
    position: relative;
    display: inline-block;
    margin: 5px;
    min-width: 65px;
}

.preview-item img,
.preview-item .pdf-preview {
    min-width: 65px;
    max-width: 100px;
    border: 1px solid #ddd;
    padding: 0;
    border-radius: 5px;
}

.preview-item .pdf-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f8f8f8;
    color: #555;
    font-size: 12px;
}

.pdf-preview {
    padding: 10px;
}

.preview-item button {
    position: absolute;
    top: 0;
    right: 0;
    background-color: #999999;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    width: 20px;
    height: 20px;
    font-size: 12px;
    line-height: 20px;
}

.quelabel {
    color: #2F5AA3;
    font-size: 16px;
    font-family: VazirBold;

}

#fileCount {
    margin-right: 15px;
    margin-bottom: 30px;
    font-size: 10px;
}

.questionend {
    display: flex;
}

.choosefile {
    flex: 30%;
    margin-right: 10%;
}

.button {
    flex: 50%;
    text-align: center;
}

#captcha {
    display: flex;
    justify-content: left;
}

.que {
    width: 90%;
    max-width: 90%;
    min-width: 90%;
    height: 30px;
    min-height: 20px;
    max-height: 200px;
    font-family: Vazir;
    padding: 10px;
    margin: 7px;
    transition: height 1.5s;
    border-radius: 10px;
    border: none;
}

.que:focus {
    height: 80px;
}

.que.phone {
    width: 60%;
    min-width: 60%;
    max-width: 60%;
    max-height: 30px;
    transition: none;
    padding: 10px;
    padding-left: 40px;
    font-family: Vazir, sans-serif;
    font-size: 15px;
}

.que.verification {
    width: 50%;
    min-width: 50%;
    max-width: 50%;
    max-height: 30px;
    transition: none;
    padding: 10px;
    font-family: Vazir, sans-serif;
    font-size: 15px;
}

.que.phone.mobile {
    background-image: url(/static/images/phone.svg);
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: 10px center;
}

.que.phone.landline {
    background-image: url(/static/images/phone.svg);
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: 10px center;
}


.submit {
    width: 100%;
    text-align: center;
    margin: 15px;
    margin-top: 8%;

}

.submit button {
    text-align: center;
    width: 60%;
    font-family: Vazir;
    font-weight: bolder;
    font-size: 15px;
    cursor: pointer;
    color: #2F5AA3;
    padding: 10px;
    border: none;
    border-radius: 25px;
    background-color: #FBBA00;
    transition: background-color .5s, color .5s;
}

.submit button:hover {
    background-color: #2F5AA3;
    color: #FBBA00;


}

.fileinput {
    display: none;
    width: 90%;
    max-width: 90%;
    min-width: 90%;
    font-family: Vazir;
    padding: 10px;
    margin: 7px;
    margin-bottom: 0;
}

#customButton {
    width: 60%;
    display: block;
    background-color: #2F5AA3;
    color: white;
    border: 1px solid #1b1b1b;
    margin: 15px;
    margin-bottom: 0;
    padding: 10px;
    border-radius: 15px;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: Vazir;
    font-size: 14px;
}

#customButton:hover {
    background-color: #FBBA00;
    color: #f7f7f7;
}


footer {

}

.footerContainer {
    display: flex;
    align-items: center;
    height: 200px;
    background-color: #0b5ed7;
    border-radius: 25px;
    margin: 1%;
}


.footitem {
    height: 200px;
    flex: 25%;
    width: max-content;
    align-items: center;
    padding: 20px;
    padding-left: 0;
}


.logos {
    flex: 30%;
    padding: 4px;
}

.peivand {
    flex: 70%;
    width: max-content;
    padding: 4px;
}

.logo {
    margin: 15px;
}

#moavenat, #vezarat {
    height: 80px;
}

#logosal {
    height: 110px;
}

.related {
    font-family: VazirBold;
    font-size: 14px;
    margin: 0 10px 5px 0;
    color: white;

}

.made {
    height: 100%;
    font-family: VazirBold;
    padding-top: 20px;
}

.madeheader {
    font-size: 16px;
    color: #FBBA00;
    margin-bottom: 4px;

}

.madetext {
    align-self: center;
    text-align: justify;
    font-size: 14px;
    color: white;
    position: relative;
    top: 3%;
}

.protocol {
    font-family: VazirBold;
    width: max-content;
    color: #f7f7f7;
    padding: 10px;
    padding-right: 20px;
    font-size: 12px;
    text-align: justify;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 10px;
    font-family: VazirBold;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
}

.alert-dismissible {
    padding-right: 35px;
    position: relative;
}

.alert-dismissible .close {
    position: absolute;
    top: 0;
    right: 10px;
    color: inherit;
    border: none;
    background: none;
    font-size: 20px;
    cursor: pointer;
}

.table {
    width: 100%;
    margin-bottom: 1rem;
    color: #212529;
    border-collapse: collapse;
    font-family: Vazir;
    font-size: 12px;
    text-align: center;
    table-layout: auto;
    border-radius: 10px;
}

.table tr {
    width: 100%;
}

.table th,
.table td {
    padding: 0.75rem;
    vertical-align: top;
    border-top: 1px solid #dee2e6;
    word-wrap: break-word;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    max-width: 200px;
}

.table tr .buttnn {
    cursor: pointer;
    border: none;
    color: red;
    background: none;
    outline: none;
    font-size: 14px;
    font-family: VazirBold;
}

.table thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    background-color: #8bb9fe;
}

.table tbody + tbody {
    border-top: 2px solid #dee2e6;
}

.table-bordered {
    border: 1px solid #dee2e6;
}

.table-bordered th,
.table-bordered td {
    border: 1px solid #dee2e6;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(250, 250, 250, 1);
}

.table-hover tbody tr:hover {
    background-color: rgba(0, 0, 0, 0.075);
}

.table-primary,
.table-primary > th,
.table-primary > td {
    background-color: #b8daff;
}

.table-secondary,
.table-secondary > th,
.table-secondary > td {
    background-color: #d6d8db;
}

.table-success,
.table-success > th,
.table-success > td {
    background-color: #c3e6cb;
}

.table-danger,
.table-danger > th,
.table-danger > td {
    background-color: #f5c6cb;
}

.table-warning,
.table-warning > th,
.table-warning > td {
    background-color: #ffeeba;
}

.table-info,
.table-info > th,
.table-info > td {
    background-color: #bee5eb;
}

.rpdetail {
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    font-family: Vazir;
    margin: 10px;
}

.rpdetail h3 {
    color: #2F5AA3;
    padding: 5px 20px;
}

.rpdetail p {
    color: #555555;
    padding: 5px 25px;
    max-width: 100%;
    word-wrap: break-word;

}

.file-display {
    margin-top: 10px;
}

.preview {
    max-width: 200px; /* تعیین اندازه پیش‌نمایش */
    cursor: pointer; /* تغییر نشانگر موس */
}

.preview.large {
    height: 100%;
    max-width: 100%;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 999;
}

.overlay.visible {
    display: block; /* نمایش پوشش */
}

.download-link {
    display: none; /* مخفی کردن لینک دانلود */
    position: fixed;
    top: 20px;
    left: 30px;
    z-index: 1001;
    background-color: white;
    border-radius: 10px;
    text-decoration: none;
    color: #555555;
    align-items: center;
}

.download-link svg {
    width: 50px;
    height: 50px;
    color: #555555;
    padding: 20x;
}

.close-link {
    display: none;
    position: fixed;
    top: 20px;
    right: 30px;
    z-index: 1001;
    background-color: white;
    border-radius: 10px;
    text-decoration: none;
    color: #555555;
    align-items: center;
}

.close-link svg {
    width: 50px;
    height: 50px;
    color: #555555;
    padding: 20x;
}

.download-link.visible {
    display: block; /* نمایش لینک دانلود */
}

.close-link.visible {
    display: block; /* نمایش لینک دانلود */
}

.newitem {
    width: 90%;
    max-width: 90%;
    min-width: 90%;
    height: 30px;
    min-height: 20px;
    max-height: 200px;
    font-family: Vazir;
    padding: 8px;
    margin: 5px;
    margin-bottom: 10px;
    border-radius: 10px;
    border: none;
}

.question select {
    width: 90%;
    max-width: 90%;
    min-width: 90%;
    height: 45px;
    min-height: 20px;
    max-height: 200px;
    font-family: Vazir;
    padding: 8px;
    margin: 5px;
    margin-bottom: 10px;
    border-radius: 10px;
    border: none;
}

.pagination {
    display: flex;
    list-style-type: none;
    padding: 0;
    justify-content: center;
    margin-top: 2rem;
}

.pagination li {
    margin: 0 5px;
}

.pagination a {
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 3px;
    color: #007bff;
}

.pagination .active a {
    background-color: #007bff;
    color: white;
}

.submit-new-cont {
    display: flex;
    justify-content: center;

}

.complaints-btn {
    text-decoration: none;
    color: white;
    font-family: VazirBold;
    cursor: pointer;

}

.verify-phone {
    border: 1px solid #3498db;
    border-radius: 10px;
    font-family: VazirBold;
    color: #3498db;
    max-height: 50px;
    width: max-content;
    text-align: center;
    cursor: pointer;
    font-size: .8rem;
    padding: 12px 10px;
    margin: .7rem .1rem;
    transition: background-color 500ms ease, color 500ms ease;
}

.verify-phone:hover {
    border: 1px solid #ececec;
    color: #ececec;
    background-color: #3498db;
}

.need {
    color: #a41515;
    border: 1px solid #a41515;
}

.need:hover {
    border: 1px solid #ececec;
    color: #ececec;
    background-color: #a41515;
}

.need2 {
    color: #a41515;
    outline: 3px solid #a41515;
    border: 3px solid #a41515;
}

.verify {
    visibility: hidden;
}

.search-btn {
    background-color: #3498db;

}

.search-btn svg {
    margin-right: .5rem;
}

.search-cont {
    position: fixed;
    display: none;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    padding-top: 60px;
}

.search-box {
    width: 50%;
    margin: .5rem;
    min-height: 50px;
    height: max-content;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #e2e3e5;
    border-radius: 50px;
}

.search-box-result {
    width: 50%;
    padding: 1rem;
    margin: .5rem;
    min-height: 50px;
    height: max-content;
    display: none;
    align-items: center;
    justify-content: center;
    background-color: #e2e3e5;
    border-radius: 50px;
}

.result {
    display: none;
    width: 95%;
    height: 100%;
    overflow-y: auto;
    max-height: 400px;
    padding-left: 1rem;

}

.result-on {
    display: block;
}

.off {
    display: none;
}

.search-on {
    display: flex;
}

.search {
    width: 85%;
    min-height: 60px;
    border: none;
    background-color: rgba(0, 0, 0, 0);
    outline: none;
    padding: .5rem 1rem;
    font-size: 1.2rem;
    font-family: VazirBold;
}

.result-item {
    flex: 1;
    width: 90%;
    margin: 10px 0;
    padding: 5px 35px;
    border-bottom: 1px solid #ccc;
    font-size: .6rem;
    font-family: Vazir;
    display: block;
    /*align-items: center;*/
    /*justify-content: space-between;*/
    text-decoration: none;
    transition: background-color .3s ease;
    cursor: pointer;
    border-radius: 50px;

}

.result-item:hover {
    background-color: #c0c0c0;
}

.report-date-phone {
    display: flex;
    justify-content: space-between;
    font-size: 1.1rem;
    font-family: VazirBold;
    color: #0b5ed7;
    margin: .5rem;
}

.q1-q2 {
    font-size: .8rem;
    max-width: 100%;
    color: black;
}

.q1-q2-item::before {
    content: "پاسخ سوال :";
    color: red;
    font-size: .6rem;
    display: block;
    margin-bottom: 0;
}

.q1-q2-item {
    margin-top: .5rem;
}

.navigation {
    margin: 1%;
    height: 50px;
    background-color: #ececec;
    border-radius: 15px;
    display: flex;
    justify-content: start;
    align-items: center;
    padding: 0 4rem;
}

nav {

}

.navitem {
    padding: .5rem 1rem;
    border-radius: 10px;
    font-size: 16px;
    font-family: VazirBold;
    cursor: pointer;
    transition: all ease 400ms;
    position: relative;
    border-left: 1px solid black;
    text-decoration: none;
}

.navitem-a {
    text-decoration: none;
    color: inherit;
}

.navitem:hover {
    background-color: #ffffff;
    color: #2F5AA3;
}

.navitem-head {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.navitem-open {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    width: max-content;
    background-color: white;
    position: absolute;
    right: 0;
    top: 50px;
    z-index: 300;
    padding: 0 1rem;
    border-radius: 10px 0 10px 10px;
    transition: all ease 0.5s;
}

.navitem-open a {
    text-decoration: none;
    color: #1a1a1a;
    transition: all ease .5s;
}

.navitem-open a:hover {
    text-shadow: #2F5AA3 0 0 1px;
    color: #2F5AA3;
}

.logo-navitem {
    margin-left: .5rem;
}

.caret-navitem {
    margin-right: .5rem;
    transition: transform .7s ease;
    transform-origin: center;
}

.navitem:hover .caret-navitem {
    transform: rotate(-90deg);
}

.navitem:hover .navitem-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.navitem-open ul {
    list-style: none;
    padding: 0 .5rem;
}

.navitem-open li {
    margin-top: 1rem;
}

.video-container {
    margin: 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.video {
    flex: 45%;
    max-width: 45%;
    background-color: white;
    border-radius: 15px;
    padding: 1rem;
}

.video-title {
    font-size: 1.5rem;
    margin-top: 10px;
    color: #333;
}
.video-caption {
    font-family: Vazir;
    font-size: 14px;
    color: #888888;
    text-align: justify;
}

video {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 40px;
}

.plyr {
    border-radius: 15px;
    overflow: hidden;
}

.plyr__controls button:hover {
    background: rgba(255, 87, 34, 0.2);
}

@media (max-width: 1720px) {
    header {
        width: 100%;
        height: 4%;
        display: flex;
        flex-wrap: nowrap;

    }

    .headitem {
        flex: 50%;
        width: max-content;
    }

    .headitem1 {
        flex: 25%;
        width: max-content;
    }

    .flex {
        display: flex;
    }

    .leaderitem {
        height: 100%;
        align-content: center;
    }

    .leaderitem img {
        margin-right: 20px;
        border-radius: 15px;
        height: 130px;
    }


    .leadertxt {
        width: max-content;
        text-align: justify;
        text-align-last: justify;
        font-family: VazirBold;
        font-weight: bold;
        color: #2F5AA3;
        font-size: 15px;
        margin-right: 5%;
        margin-top: 10%;
        line-height: 1.2;
    }

    .leadertxt p {
        font-family: Vazir;
        color: #999999;
        font-size: small;
        width: max-content;
        text-align: center;
    }


    .headtxt {
        color: #8F8F8F;
        text-align: justify;
        text-align-last: justify;
        align-self: center;
        font-size: 43px;
        font-family: IranNastaliq;
        line-height: normal;
        font-weight: bolder;
        padding-right: 7%;
    }

    .logotime {
        text-align: center;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .logoitem {
        margin: auto;
        padding: 4%;
    }

    .childlogo {
        padding: .5%;
    }

    .childlogo span {
        margin: 3%;
        font-family: VazirBold;
        font-size: 12px;
    }

    .childlogo svg {
        width: 20px;
        height: 20px;
    }

    .logosite {
        height: 90px;
        margin-top: 1rem;
    }

    .logoitem span {
        margin: 3%;
        font-family: VazirBold;
    }


    main {

    }

    .container {
        margin: 0 1% 0 1%;
        display: flex;
        justify-content: space-between;
        flex-wrap: nowrap;
        background-color: #ececec;
        border-radius: 25px;
        height: max-content;
    }

    .side {
        width: max-content;
        min-width: 200px;
        max-width: 250px;
    }

    .side.right {
        flex: 25%;
        margin: 1%;
        position: sticky;
        top: 10px;

    }

    .newsHead {
        width: max-content;
        min-width: 150px;
        max-width: 150px;
        text-align: center;
        padding: 10px 30px;
        align-items: center;
        background-color: #f7f7f7;
        border-radius: 11px;
        font-family: VazirBold;
        color: #2F5AA3;
        font-size: 0.9rem;
        margin-bottom: 15px;
    }

    .information {
        display: none;
    }

    #user {
        padding: 5px 15px;
        margin-bottom: 15px;
    }

    #infouser {
        display: none;
        background-color: #2F5AA3;

        padding: 5px 15px;
        margin: 5px;
        border-radius: 10px;
        color: #555555;

    }

    .infobttn {
        font-family: VazirBold;
        cursor: pointer;
        margin-bottom: 10px;
        font-size: 12px;
        color: white;
        transition: margin-right 10ms ease, color 10ms ease;
    }

    .infobttn:hover, infobttn a:hover {
        color: #bebfc1;
        margin-right: 1rem;
    }

    .modal {
        display: none;
        position: fixed;
        z-index: 1000;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        overflow: auto;
        background-color: rgb(0, 0, 0);
        background-color: rgba(0, 0, 0, 0.4);
        padding-top: 60px;
    }

    .mdlheader {
        background-color: #2F5AA3;
        color: white;
        padding: 15px;
        border: 1px solid #888;
        border-radius: 10px;
        align-items: center;
        font-size: 18px;
        font-family: VazirBold;
        margin-bottom: 15px;
    }

    .mdlcontent {
        background-color: #e0e0e0;
        color: #2F5AA3;
        padding: 25px;
        padding-bottom: 5px;
        border: 1px solid #888;
        border-radius: 10px;
        align-items: center;
        font-size: 15px;
        margin-bottom: 0;
    }

    .modal-content {
        background-color: #fefefe;
        margin: 5% auto;
        padding: 25px;
        border: 1px solid #888;
        border-radius: 10px;
        width: 30%;
        font-family: VazirBold;
    }

    .close {

    }

    .close:hover,
    .close:focus {
        color: black;
        text-decoration: none;
        cursor: pointer;
    }

    .mdlbtn {
        text-align: left;
        height: max-content;
        padding: 15px;
        font-size: 11px;
    }

    .buttn {
        padding: 8px 15px;
        margin: 10px;
        cursor: pointer;
        border: none;
        text-decoration: none;
        color: white;
        font-size: 11px;
        border-radius: 10px;
        font-family: VazirBold;
    }

    .buttnn {
        padding: 8px 15px;
        margin: 10px;
        cursor: pointer;
        border: none;
        text-decoration: none;
        color: red;
        background-color: none;
        outline: none;
        font-size: 11px;
        font-family: VazirBold;
    }

    .buttn-danger {
        background-color: red;
        color: white;
        border: none;
    }

    .buttn-secondary {
        background-color: gray;
        color: white;
        border: none;
    }

    .buttn-primary {
        background-color: #0a53be;
        color: white;
        border: none;
    }

    .buttn-secondary:hover {
        background-color: white;
        color: gray;
        border: none;
    }

    .newsContent {
        max-height: 500px;
        width: max-content;
        max-width: inherit;
        min-width: 80%;
        overflow-y: auto;


    }

    .newsContent::-webkit-scrollbar {
        width: 12px;
    }

    .newsContent::-webkit-scrollbar-thumb {
        background-color: #888;
        border-radius: 6px;
    }

    .newsContent::-webkit-scrollbar-track {
        background-color: white;
        border-radius: 6px;
    }

    .news {
        text-decoration: none;
        margin-bottom: .75rem;
    }

    .newstxt {
        color: #2F5AA3;
        font-size: 13px;
        margin-left: 10px;
    }

    .links {
        margin-bottom: 12px;
        font-family: VazirBold;
        color: #2F5AA3;
    }

    .new {
        margin-bottom: 25px;
        font-family: VazirBold;

    }

    .news-span {
        font-size: 12px;
        padding: .5rem;
    }

    .side.left {
        flex: 25%;
        margin: 1%;
        margin-right: 0;

    }

    .linksContent {
        max-height: 400px;
        max-width: inherit;
    }


    .content {
        flex: 55%;
        width: max-content;
        max-width: 1050px;
        min-width: 400px;
        margin: 0 2% 0 1%;
    }

    .headContent {
        color: #2F5AA3;
        font-family: VazirBold;
        margin-top: 0;
        margin-bottom: 0;
        font-size: 25px;
    }

    .formcontainer {
        padding: 15px;
        margin: 15px 0 8px 0;
        border-radius: 10px;
        /*box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.2), 0 6px 12px 0 rgba(0, 0, 0, 0.19);*/
        font-family: VazirBold;
        font-weight: normal;
        font-size: 15px;
    }

    .description {
        color: #555555;
        font-family: Vazir;
        font-size: 14px;
        text-align: justify;
        text-indent: 1cm;
        line-height: .7cm;
        padding: 10px;
    }


    .forminputs {
        margin: 10px 0 8px 0;
        border-radius: 10px;
        /*box-shadow: 0 4px 4px 4px rgba(0, 0, 0, 0.2), 0 6px 12px 6px rgba(0, 0, 0, 0.19);*/
        font-family: Vazir;
        font-weight: bolder;
        font-size: 12px;
    }

    .forminputs input::placeholder, textarea::placeholder {
        font-family: VazirBold;
        font-size: 12px;
        color: #999999;
    }

    #preview {
        margin-top: 5px;
        margin-bottom: 5px;
    }

    .preview-item {
        position: relative;
        display: inline-block;
        margin: 5px;
        min-width: 65px;
    }

    .preview-item img,
    .preview-item .pdf-preview {
        min-width: 65px;
        max-width: 100px;
        border: 1px solid #ddd;
        padding: 0;
        border-radius: 5px;
    }

    .preview-item .pdf-preview {
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: #f8f8f8;
        color: #555;
        font-size: 12px;
    }

    .pdf-preview {
        padding: 10px;
    }

    .preview-item button {
        position: absolute;
        top: 0;
        right: 0;
        background-color: #999999;
        color: white;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        width: 20px;
        height: 20px;
        font-size: 12px;
        line-height: 20px;
    }

    .quelabel {
        width: 100%;
        color: #2F5AA3;
        font-size: 14px;
        font-family: VazirBold;
    }

    #fileCount {
        margin-right: 15px;
        margin-bottom: 30px;
        font-size: 10px;
    }

    .questionend {
        display: flex;
    }

    .choosefile {
        flex: 30%;
        margin-right: 10%;
    }

    .button {
        flex: 50%;
        text-align: center;
    }

    #captcha {
        display: flex;
        justify-content: left;
    }

    .que {
        width: 90%;
        max-width: 90%;
        min-width: 90%;
        height: 25px;
        min-height: 20px;
        max-height: 200px;
        font-family: Vazir;
        padding: 8px;
        margin: 5px;
        transition: height 1.5s;
        border-radius: 10px;
        border: none;
    }

    .que:focus {
        height: 80px;
    }

    .que.phone {
        width: 60%;
        min-width: 60%;
        max-width: 60%;
        max-height: 30px;
        transition: none;

        padding: 10px;
        padding-left: 40px; /* ایجاد فضای برای آیکون */
        font-family: Vazir, sans-serif;
        font-size: 15px;
    }

    .que.phone.mobile {
        background-image: url(/static/images/phone.svg);
        background-size: 20px;
        background-repeat: no-repeat;
        background-position: 10px center;
    }

    .que.phone.landline {
        background-image: url(/static/images/landline.png);
        background-size: 20px;
        background-repeat: no-repeat;
        background-position: 10px center;
    }


    .submit {
        width: 100%;
        text-align: center;
        margin: 15px;
        margin-top: 8%;
    }

    .submit button {
        text-align: center;
        margin: auto;
        width: 60%;
        font-family: Vazir;
        font-weight: bolder;
        font-size: 12px;
        cursor: pointer;
        color: #2F5AA3;
        padding: 7px;
        border: none;
        border-radius: 25px;
        background-color: #FBBA00;
        transition: background-color .5s, color .5s;
    }

    .submit button:hover {
        background-color: #2F5AA3;
        color: #FBBA00;


    }

    .fileinput {
        display: none;
        width: 90%;
        max-width: 90%;
        min-width: 90%;
        font-family: Vazir;
        padding: 10px;
        margin: 7px;
        margin-bottom: 0;
    }

    #customButton {
        width: 60%;
        display: block;
        background-color: #2F5AA3;
        color: white;
        border: 1px solid #1b1b1b;
        margin: 15px;
        margin-bottom: 0;
        padding: 7px;
        border-radius: 15px;
        cursor: pointer;
        transition: background-color 0.3s;
        font-family: Vazir;
        font-size: 12px;
    }

    #customButton:hover {
        background-color: #FBBA00;
        color: #f7f7f7;
    }

    footer {

    }

    .footerContainer {
        display: flex;
        align-items: center;
        height: 180px;
        background-color: #0b5ed7;
        border-radius: 25px;
        margin: 1%;
    }


    .footitem {
        height: 180px;
        flex: 25%;
        width: max-content;
        align-items: center;
        padding: 15px;
        padding-left: 0;
    }


    .logos {
        flex: 30%;
        padding: 3px;
    }

    .peivand {
        flex: 70%;
        width: max-content;
        padding: 3px;
    }

    .logo {
        margin: 12px;
    }

    #moavenat, #vezarat {
        height: 50px;
    }

    #logosal {
        height: 80px;
    }

    .related {
        font-family: VazirBold;
        font-size: 10px;
        margin: 0 10px 15px 0;
        color: white;

    }

    .made {
        height: 100%;
        font-family: VazirBold;
        padding-top: 20px;
    }

    .madeheader {
        font-size: 12px;
        color: #FBBA00;
        margin-bottom: 4px;

    }

    .madetext {
        align-self: center;
        text-align: justify;
        font-size: 10px;
        color: white;
        position: relative;
        top: 2%;
    }

    .protocol {
        font-family: VazirBold;
        width: max-content;
        color: #f7f7f7;
        padding: 10px;
        padding-right: 20px;
        font-size: 10px;
        text-align: justify;
    }

    .verify-phone {
        border: 1px solid #3498db;
        border-radius: 10px;
        font-family: VazirBold;
        color: #3498db;
        max-height: 50px;
        width: max-content;
        text-align: center;
        cursor: pointer;
        font-size: .7rem;
        padding: 8px 6px;
        margin: .7rem .1rem;
        transition: background-color 500ms ease, color 500ms ease;
    }

    .g-recaptcha {
        width: 300px;
        transform: scale(.9);
        transform-origin: 0 0;
    }
    .navigation {
        margin: 1%;
        height: 50px;
        background-color: #ececec;
        border-radius: 15px;
        display: flex;
        justify-content: start;
        align-items: center;
        padding: 0 4rem;
    }
    

    .navitem {
        padding: .5rem 1rem;
        border-radius: 10px;
        font-size: 14px;
        font-family: VazirBold;
        cursor: pointer;
        transition: all ease 400ms;
        position: relative;
        border-left: 1px solid black;
        text-decoration: none;
    }
    
    .navitem-a {
        text-decoration: none;
        color: inherit;
    }
    
    .navitem:hover {
        background-color: #ffffff;
        color: #2F5AA3;
    }
    
    .navitem-head {
        display: flex;
        justify-content: space-around;
        align-items: center;
    }
    
    
    .video-container {
        margin: 20px;
        text-align: center;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }
    
    .video-title {
        font-size: 1.2rem;
        margin-top: 10px;
        color: #333;
    }
    .video-caption {
        font-family: Vazir;
        font-size: 12px;
        color: #888888;
        text-align: justify;
    }
    
    
}

