:root {
    --color-one: #217648;
    --color-one-light: #9EC83B;
    --color-two: #FECA04;
    --color-tree: #F15E1F;
    --color-green: #217648;
    --color-green-light: #9EC83B;
    --color-yellow: #FECA04;
    --color-yellow-light: #FFF4C2;
    --color-orange: #F15E1F;
    --color-red: #D7263D;
    --font-main: vazir;
    --font-caption: vazir;
}

@font-face {
    font-family:vazir;
    src: url('https://plugin.dorweb.ir/font/Vazir-Regular-FD.woff');
}


*{
    box-sizing:border-box;
}

a{
    text-decoration:none;
}

img
{
    max-width:100%;
}

body{
    direction:rtl;
    padding:0px;
    right:0px;
    font-family:var(--font-main);
    font-size: 14px;
}

@media (min-width: 768px) {
    body {
        font-size: 16px;
    }
}


header
{
    background-color:var(--color-two);
    padding:0px;
}


    header .first {
        text-align:left;
        height:30px;
        line-height:30px;
    }

    header .first a {
        display:inline-block;
        margin-right:10px;
        font-size:smaller;
        color:#888 !important;
        text-decoration:none;
    }

        header .first a:hover {
            color: #454545 !important;
        }


    header .top
    {
        display:flex;
        align-items:center;
        padding:10px 0px;
        margin-bottom:20px;
    }

        header .top .menu-icon {
            display:none;
        }


    header .menu-box {
        width:100%;
        
    }
    header .menu-box a {
        display:inline-block;
        padding:5px 10px;
        border-radius:4px;
        text-decoration:none;
        margin:0px 5px;
        color:#000;
    }

        header .menu-box a:hover {
            background-color: rgba(255,255,255,0.85);
            transform:translateY(-1px);
            transition-duration:0.3s;
        }

        header .menu-box a:first-child {
            display:none;
        }

    header .menu-box-bg {
        display:none;
    }


    header .menu-box .btn-donation
    {
        background-color:var(--color-orange) !important;
        color:#fff !important;
        float:left;
        text-align:center;
    }


    @media(max-width:768px) {
        header .top {
            }

                header .top .logo
                {
                    width: calc(100% - 45px);
                    display:unset;
                }
                header .top .menu-icon {
                    width: 40px;
                    margin-left:5px;
                    display: unset;
                    text-align:center;
                    cursor:pointer;
                }


                header .menu-box {
                    background-color: var(--color-two);
                    position: fixed;
                    top: 0px;
                    right: 0px;
                    bottom: 0px;
                    width: 75%;
                    z-index: 500;
                    transform: translateX(100%);
                    transition-duration: 0.4s;
                }

            header .menu-box-bg {
                background-color: rgba(0,0,0,0.5);
                position: fixed;
                top: 0px;
                right: 0px;
                bottom: 0px;
                left:0px;
                z-index: 459;
            }

                
                header .menu-box a {
                    display: inline-block;
                    width:calc(100% - 10px);
                    padding:10px;
                    background-color: rgba(255,255,255,0.5);
                    border-radius: 4px;
                    text-decoration: none;
                    margin:5px;
                    color: #000;
                    
                }
                    header .menu-box a:first-child {
                        display: inline-block;
                        background-color: transparent;
                        text-align: center;
                    }

        }





.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}




footer
{
    border-top:10px var(--color-two) solid;
    background-color: var(--color-one);
    color:#fff;
    padding:20px 0px;
}

footer h2 {
    font-family:var(--font-caption);
    font-size:24px;
}

footer a {
    color:#fff !important;
}
    footer a:hover {
        color: yellow !important;
    }



main{
    margin:20px 0px;
}

.page-caption-box{
    background-color:var(--color-green);
    color:#fff;
    padding:30px 0px;
}


.page-caption-box h1{
    font-family:var(--font-caption);
    font-size:20pt;
    margin:0px;
}

@media(max-width:768px) 
{
    .page-caption-box {
        padding: 15px 0px;
    }

        .page-caption-box h1 {
            font-size: 16pt;
        }
}


.en, .ltr {
    direction: ltr !important;
}

.center{
    text-align:center;
}

.left{
    text-align:left;
}

.right
{
    text-align:right;
}


.page_show h1{
    font-size:24px;
}

.page_show .desc {
    background-color:#eee;
    padding:10px;
    border-radius:5px;
    line-height:175%;
}


.page_show .body {
    line-height: 175%;
    text-align:justify;
}


.gallery-image{
    width:100%;
    border-radius:18px;
}

.text
{
    line-height:200%;
    font-size:20px;
    text-align:justify;
}



.img-box-1-1 {
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect Ratio */
    position: relative; /* If you want text inside of it */
}

/* If you want text inside of the container */
.img-box-1-1 img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.img-box-3-4 {
    width: 100%;
    padding-top: 75%; /* 1:1 Aspect Ratio */
    position: relative; /* If you want text inside of it */
}

    /* If you want text inside of the container */
    .img-box-3-4 img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

 

img.cir {
    border-radius:50%;
}

img.border {
    border-radius: 8px;
}

hr{
    border:none;
    border-bottom:3px solid var(--color-one);
    width:80%;
    margin:auto;
    margin-top:15px;
    margin-bottom:15px;
}




.default-item {
    background-color: var(--color-green);
    margin: 10px;
    padding: 20px 30px;
    padding-top:40px;
    border-radius: 20px;
    color: #fff;
    height: calc(100% - 20px);
}

    .default-item .fa-solid {
        color: var(--color-yellow);
    }

    .default-item h2 {
        background-color: var(--color-yellow);
        color:#000;
        font-family:var(--font-caption);
        font-size:1.2rem;
        font-weight:bold;
        margin:15px -10px;
        border-radius:10px;
        padding:10px;
        text-align:center;
    }


.default-campaign-box
{
    background-color:var(--color-yellow-light);
    border-radius:30px;
    padding:30px;
    margin:20px 0px;
    line-height:250%;
}

    .default-campaign-box img {
        border-radius: 30px;
    }

    .default-campaign-box a.btn {
        background-color:var(--color-red);
        color:#fff;
        display:inline-block;
    }

    .default-campaign-box a.btn:hover {
        box-shadow:0px 0px 30px var(--color-yellow);
    }





    .default-content-item h3{
        font-size:15pt;
        font-weight:bold;
        margin:10px;
    }

.default-content-item a {
   color:#454545;
   text-decoration:none;
   text-align:justify;
}


.default-content-item img {
    border: 10px solid var(--color-yellow);
    border-radius: 20px;
}




    .content-page .desc {
        margin: 0px;
        margin-bottom: 10px;
        padding: 20px;
        background-color: #F7F7F7;
        border-radius: 10px;
        border: 1px dashed #ddd;
        text-align: justify;
        line-height: 200%;
    }

.content-page img {
    border-radius: 10px;
}


.content-page .text {
    text-align: justify;
    line-height:200%;
}

.content-page .share-box {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--color-green);
    border-bottom: 1px solid var(--color-green);
    margin:10px 0px;
    padding:10px;
}

.content-page .share-box a {
    color: var(--color-green) !important;
    text-decoration: none;
}

.content-page .share-box a:hover {
    color: var(--color-green-light) !important;
}



.content-item {
    border: 1px solid #ddd;
    background-color: #F7F7F7;
    padding: 20px;
    margin: 20px 0px;
    border-radius: 10px;
    line-height: 200%;
    text-align: justify;
    display: inline-block;
    color: #444;
    text-decoration: none;
    width: 100%;
}

    .content-item:hover {
        color: #000 !important;
        border: 1px solid #bbb;
    }

    .content-item h2 {
        font-family: var(--font-caption);
        font-size: 20pt;
        margin: 0px;
        margin-bottom:10px;
    }

    .content-item img {
        border-radius: 10px;
    }



.pagination {
    display: flex;
    justify-content: space-evenly;
}

.pagination a {
    text-decoration:none;
    color:#454545;
    border-radius: 4px;
    border:1px solid #999;
    min-width:30px;
    line-height:30px;
    text-align:center;
}

    .pagination a.active {
        border: 2px solid var(--color-green);
    }


.membership-page h2
{
    font-size:16pt;
    font-weight:bold;
}

.membership-page .sub-div {
    margin-right: 40px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}







label
{
    display:inline-block;
    min-width:100px;
    margin-top:10px;
    margin-bottom:5px;
    font-weight:bold;    
}
label:after {
    content:" : ";
}

    label.checkbox,
    label.radio {
        margin-right: 5px;
    }

        label.checkbox:after,
        label.radio:after {
            content: "" !important;
        }

@media (max-width: 768px) {
    label {
        width:calc(100% - 30px);
    }
}


input[type=text],
textarea
{
    border-radius:6px;
    border:1px solid var(--color-green-light);
    font-size:12pt;
    padding:5px 10px;
    outline:none;
    width:100%;
}

    textarea
    {
        min-height:200px;
    }

    input[type=text]:focus {
        border: 1px solid #000;
    }

    input[type=submit]
    {
        background-color:var(--color-green);
        color:#fff;
        border:none;
        padding:10px 25px;
        border-radius:6px;
    }

input[type=submit]:hover {
    background-color: var(--color-yellow);
    color: #000;
}