﻿input:focus, textarea:focus, datalist:focus text:focus {
    background-color: yellow;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
    width: 100%;
}

input {
    border-radius: 5px;
    font-family: IRMitra;
}

input, textarea, datalist {
    background-color:bisque ;
}

h1, h2, h3, h4, h5, h6 {
    font-family: IRTitr;
}

p {
    font-family: IRTerafik;
    font-size: medium;
}

.Phone, .Email {
    direction: ltr;
    text-align: left;
    font-language-override: 'en'
}



.RightCol {
    background-color: lightgray;
    border-radius: 20px;
    border-color: black;
}

.DropDownList {
    font-family: IRNazanin;
    font-size: large;
    width: 100%;
    border-radius: 15px;
}

.grid {
    font-family: IRMitra;
    font-size: medium;
    width: 100%;
}

@font-face {
    font-family: 'IRBadr';
    src: url('../fonts/irbadrbold.eot');
    src: url('../fonts/irbadrbold.eot?#iefix') format('embedded-opentype'), url('../fonts/irbadrbold.woff2') format('woff2'), url('../fonts/irbadrbold.woff') format('woff'), url('../fonts/irbadrbold.ttf') format('truetype'), url('../fonts/irbadrbold.svg#irbadrbold') format('svg');
    font-weight: 700;
    font-style: normal;
}


@font-face {
    font-family: 'IRLotus';
    src: url('../fonts/irlotusbold.eot');
    src: url('../fonts/irlotusbold.eot?#iefix') format('embedded-opentype'), url('../fonts/irlotusbold.woff2') format('woff2'), url('../fonts/irlotusbold.woff') format('woff'), url('../fonts/irlotusbold.ttf') format('truetype'), url('../fonts/irlotusbold.svg#irlotusbold') format('svg');
    font-weight: 700;
    font-style: normal;
}


@font-face {
    font-family: 'IRMitra';
    src: url('../fonts/irmitrabold.eot');
    src: url('../fonts/irmitrabold.eot?#iefix') format('embedded-opentype'), url('../fonts/irmitrabold.woff2') format('woff2'), url('../fonts/irmitrabold.woff') format('woff'), url('../fonts/irmitrabold.ttf') format('truetype'), url('../fonts/irmitrabold.svg#irmitrabold') format('svg');
    font-weight: 700;
    font-style: normal;
}



@font-face {
    font-family: 'IRTerafik';
    src: url('../fonts/irterafikbold.eot');
    src: url('../fonts/irterafikbold.eot?#iefix') format('embedded-opentype'), url('../fonts/irterafikbold.woff2') format('woff2'), url('../fonts/irterafikbold.woff') format('woff'), url('../fonts/irterafikbold.ttf') format('truetype'), url('../fonts/irterafikbold.svg#irterafikbold') format('svg');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'IRTitr';
    src: url('../fonts/irtitrregular.eot');
    src: url('../fonts/irtitrregular.eot?#iefix') format('embedded-opentype'), url('../fonts/irtitrregular.woff2') format('woff2'), url('../fonts/irtitrregular.woff') format('woff'), url('../fonts/irtitrregular.ttf') format('truetype'), url('../fonts/irtitrregular.svg#irtitrregular') format('svg');
    font-weight: 400;
    font-style: normal;
}


@font-face {
    font-family: 'IRYekan';
    src: url('../fonts/iryekanbold.eot');
    src: url('../fonts/iryekanbold.eot?#iefix') format('embedded-opentype'), url('../fonts/iryekanbold.woff2') format('woff2'), url('../fonts/iryekanbold.woff') format('woff'), url('../fonts/iryekanbold.ttf') format('truetype'), url('../fonts/iryekanbold.svg#iryekanbold') format('svg');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'IranianSans';
    src: url('../fonts/iranian-sans.eot'); /* IE9 */
    src: url('../fonts/iranian-sans.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
    url('../fonts/iranian-sans.woff2') format('woff2'), /* Super Modern Browsers */
    url('../fonts/iranian-sans.woff') format('woff'), /* Pretty Modern Browsers */
    url('../fonts/iranian-sans.ttf') format('truetype'), /* Safari, Android, iOS */
    url('../fonts/iranian-sans.svg#IranianSans') format('svg'); /* Legacy iOS */
}

body {
    font-family: 'IranianSans', sans-serif;
}

@font-face {
    font-family: 'IRNazanin';
    src: url('../fonts/irnazaninbold.eot');
    src: url('../fonts/irnazaninbold.eot?#iefix') format('embedded-opentype'), url('../fonts/irnazaninbold.woff2') format('woff2'), url('../fonts/irnazaninbold.woff') format('woff'), url('../fonts/irnazaninbold.ttf') format('truetype'), url('../fonts/irnazaninbold.svg#irnazaninbold') format('svg');
    font-weight: 700;
    font-style: normal;
}

label, span {
    font-family: IRTerafik;
    font-size: medium;
}


.bg-grey {
    background-color: lightgrey;
}

.logo-small {
    color: deepskyblue;
    font-size: 50px;
}

    .logo-small:hover {
        box-shadow: 20px 20px 40px rgba(0,0,0, .4);
    }

.logo {
    color: deepskyblue;
    font-size: 200px;
}


.thumbnail {
    padding: 0 0 15px 0;
    border: none;
    border-radius: 0;
}

    .thumbnail img {
        width: 30%;
        height: 30%;
        margin-bottom: 10px;
    }


.btn {
    position: relative;
    display: inline-block;
    padding: 10px 20px;
    color: #000000;
    background-color: #cf84e9;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    border: solid black 2px;
}

    .btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: white;
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.5s;
        z-index: 0;
    }

    .btn:hover::before {
        transform: scaleX(1);
        color: black;
    }

    .btn span {
        position: relative;
        z-index: 2;
        color: black;
    }

.SetBorder {
    border: 2px solid #391063;
    border-radius: 20px;
}

.PageTitle {
    border-bottom-color: #391063;
    border-bottom: solid;
    font-family: IRTitr;
    font-size: xx-large;
    color: #391063;
    text-align: center;
    width: 100%;
    height: fit-content;
    break-after:;
}

.Title {
    background-color: silver;
    font-family: IRTitr;
    font-size: larger;
    color: #391063;
    text-align: center;
    height: fit-content;
    border-radius: 15px;
    text-align: center;
    display: block;
}

.SubTitle {
    background-color: white;
    font-family: IRTitr;
    font-size: large;
    color: #391063;
    text-align: inherit;
    width: contain;
    height: fit-content;
    border-radius: 15px;
}

.Highlight {
    background-color:bisque;
    font-weight: bold;
    color: #391063;
    text-align: inherit;
    border-radius: 10px;
}

.BodyOfText {
    margin-right: 10px;
    margin-left: 10px;
    margin-top: 10px;
    background-color: inherit;
    font-family: IRMitra;
    font-weight: 400;
    font-size: 18px;
    color: black;
    text-align: justify;
    /*border:1px solid #391063 ;*/
}

.RadioButtonList {
    font-family: IRTitr;
}

    .RadioButtonList:hover {
        font-size: xx-large;
    }

.item h4 {
    font-size: 19px;
    line-height: 1.375em;
    font-weight: 400;
    font-style: italic;
    margin: 70px 0;
}

.item span {
    font-style: normal;
}

.panel {
    border: 1px solid #391063;
    border-radius: 10px !important;
    transition: box-shadow 0.5s;
}

    .panel:hover {
        box-shadow: 20px 20px 40px rgba(0,0,0, .4);
    }

.panel-footer .btn:hover {
    border: 1px solid deepskyblue;
    background-color: !important;
    color: white;
}

.panel-heading {
    color: #391063;
    background-color: antiquewhite;
    font-family: IRTitr;
    font-size: large;
    text-align: center;
    border-radius: 10px;
}

.Panel-body {
    justify-content: inherit;
    font-family: IRTerafik;
    font-size: medium;
}

.panel-footer {
    background-color: white !important;
    border-radius: 10px;
    text-align: center;
}

    .panel-footer h3 {
        font-size: 32px;
    }

    .panel-footer h4 {
        color: #aaa;
        font-size: 14px;
    }


.AnimatedBorder {
    border: 3px solid black;
    padding: 1rem 1rem;
    min-height: 3em;
    border-image: url("data:image/svg+xml;charset=utf-8,%3Csvg width='100' height='100' viewBox='0 0 100 100' fill='none' xmlns='http://www.w3.org/2000/svg'%3E %3Cstyle%3Epath%7Banimation:stroke 5s infinite linear%3B%7D%40keyframes stroke%7Bto%7Bstroke-dashoffset:776%3B%7D%7D%3C/style%3E%3ClinearGradient id='g' x1='0%25' y1='0%25' x2='0%25' y2='100%25'%3E%3Cstop offset='0%25' stop-color='%232d3561' /%3E%3Cstop offset='25%25' stop-color='%23c05c7e' /%3E%3Cstop offset='50%25' stop-color='%23f3826f' /%3E%3Cstop offset='100%25' stop-color='%23ffb961' /%3E%3C/linearGradient%3E %3Cpath d='M1.5 1.5 l97 0l0 97l-97 0 l0 -97' stroke-linecap='square' stroke='url(%23g)' stroke-width='3' stroke-dasharray='388'/%3E %3C/svg%3E") 1;
}

.Required::after {
    content: '*';
    color: red;
    font-size: 24px;
    margin-left: 5px;
}

.slideanim {
    visibility: hidden;
}

.slide {
    animation-name: slide;
    -webkit-animation-name: slide;
    animation-duration: 2s;
    -webkit-animation-duration: 2s;
    visibility: visible;
}

@keyframes slide {
    0% {
        opacity: 0;
        transform: translateY(70%);
    }

    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

@-webkit-keyframes slide {
    0% {
        opacity: 0;
        -webkit-transform: translateY(70%);
    }

    100% {
        opacity: 1;
        -webkit-transform: translateY(0%);
    }
}

@media screen and (max-width: 768px) {
    .col-sm-4 {
        text-align: center;
        margin: 25px 0;
    }

    .btn-lg {
        width: 100%;
        margin-bottom: 35px;
    }
}

@media screen and (max-width: 480px) {
    .logo {
        font-size: 150px;
    }
}

.ContentButton {
    font-family: IRTitr;
    font-size: x-large;
    width: 100%;
    border-radius: 25px;
    background: url(paper.gif);
    background-position: left top;
    background-repeat: repeat;
}

.badge {
    background-color: red;
    font-size: medium;
    text-align: center;
}

.modal {
    top: 5%;
}


.my-float {
    margin-top: 2px;
}



.body {
    margin: 0;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.AD {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 2px solid #ddd;
    border-radius: 25px;
    background: #f9f9f9;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
    margin: auto;
}

    .AD img {
        width: 100%;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .AD p {
        margin: 5px 0;
        color: #555;
        text-align: center;
    }

    .AD .contact-info {
        margin-top: 10px;
        font-size: 0.9em;
        color: #777;
        text-align: center;
    }

@media (max-width: 600px) {
    .AD {
        width: 90%;
    }
}

.Card {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 16px;
    text-align: center;
}

    .card .img {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        margin-right: 18px;
    }

    .Card .Details {
        flex-grow: 1;
        text-align: center;
    }


        .card .details p {
            margin: 4px 0;
            font-family: IRMitra;
            font-size: large;
            text-align: center;
        }

    .card .arrow {
        display: flex;
        width: 24px;
        height: 24px;
        position: relative;
        border: solid black;
        border-width: 0 3px 3px 0;
        transform: rotate(45deg);
    }

[lang="en"] {
    direction: ltr;
    font-family: Arial, sans-serif;
}

[lang="fa"] {
    direction: rtl; /* Right-to-left text direction */
    unicode-bidi: embed;
}

.navbar {
    font-family: IRMitra;
}
