.PatSingle {
    position: absolute;
    top: 0;
    z-index: -1;
    left: -355px;
    top: -1490px;
}
section.topsingle {
    width: 100%;
    height: 110px;
    position: relative;
    z-index: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    color: var(--txt1);
    margin-top: 10px;
}
.topsingle img {
    width: 49%;
}
section.topsingle .container {
    display: flex;
    height: 100%;
    justify-content: space-between;
    align-items: center;
    color: white;
}

section.topsingle h1 {
    font-size: 1.3em;
    margin: 0;
}

section.topsingle .bread a {
    color: var(--txt1);
}
.MainArticles {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
.MainArticles li {
    width: 30%;
    overflow: hidden;
    border: solid 1px #707070;
    border-radius: 10px;
    box-shadow: 0 5px 16px rgba(0,0,0,.1);
	    margin-bottom: 50px;

}
.MainArticles li .imgLeftArticle {
    height: 180px;
    width: 100%;
    overflow: hidden;
    position: relative;
}
.MainArticles li .imgLeftArticle img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 100%;
    height: auto;
    z-index: 2;
}
.MainArticles li .txtRightArticles {
    width: 100%;
    box-sizing: border-box;
    padding: 0 15px;
}
.MainArticles li h3 {
    font-weight: bold;
    font-size: 17px;
    color: var(--s);
}
.MainArticles li p {
    font-size: 13px;
    color: var(--txt1);
}
.MainArticles li span {
    display: block;
    text-align: right;
    margin-bottom: 20px;
}
.MainArticles li span a {
    color: var(--s);
}
.MainArticles li span a img {
    transform: rotate(180deg);
    margin-left: 7px;
}
.searchbox {
    padding: 10px;
    box-shadow: 0 5px 10px #0000001a;
    background-color: #fff5;
    border-radius: 10px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    height: 70px;
}
.searchbox form > div {
    width:100%;
}
.searchbox form ,.searchbox form ul {
    margin:0;
    width:100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.searchbox form ul li input[type='text'] ,.searchbox form ul li select {
    border: solid 3px #5fc4d8;
    background-color: #ffffff;
    border-radius: 7px;
    padding: 10px 21px;
    color: #5fc4d8;
    font-size: 13px;
    height: 50px;
	font-family:IRANSans;
    box-sizing: border-box;
}
.searchbox form ul li input[type='text']::placeholder {
    color: #3dc8c0;
}
.searchbox form ul li input[type='submit'] {
    display: inline-block;
    padding: 11px 52px;
    background: #5fc4d8;
    color: white;
    font-weight: 700;
    -webkit-box-shadow: none;
    box-shadow: none;
    cursor: pointer;
	border: solid 3px #5fc4d8;
	font-family:IRANSans;
    border-radius: 7px;
    height: 50px;
    border: solid 3px white;
}
.pagination {
    display: block;
    margin: 20px auto;
    text-align: center;
}
.pagination ul {
    display: inline-block;
    margin-left: 0;
    margin-bottom: 0;
    border-radius: 10px;
    border: solid 1px var(--g);
    padding: 0;
}
.pagination ul>li {
    display: inline;
    float:right;
    font-family: 'IRANSansPN';
}
.pagination ul>li:first-child>a, .pagination ul>li:first-child>span {
    border-radius: 0px 10px 10px 0px;
}
.pagination ul>li:last-child>a, .pagination ul>li:last-child>span {
    border-radius: 10px 0px 0px 10px;
}
.pagination ul>li>a, .pagination ul>li>span {
    float: left;
    padding: 9px 24px;
    line-height: 20px;
    text-decoration: none;
    background-color: #ffffff;
    border-left-width: 0;
    color:#777 ;
    font-size:0.7em;
}
.pagination ul>li>span.current {
    background-color:var(--s) ;
	color: white;
}
.pagination ul>li>a:hover {
    background-color:var(--s) ;
    color: white;
}
@media screen and (max-width: 576px) {
    ul.archivepost li a .underImgArticle img {
        width: 80px;
        height: 80px;
    }
    ul.archivepost ul li {
        height: auto;
    }
    header .topMenu > ul > li > a {
        padding: 14px 5px;
    }
}
@media screen and (max-width: 768px) {
    .MainArticles {
        flex-wrap: wrap;
    }
    .PatSingle {
        top: -147px;
        left: -106px;
        width: 642px;
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
        right: -10px;
    }
    .MainArticles li {
        width: 100%;
        height: auto;
        margin-bottom: 15px;
    }
	.underTopSingle {
		padding: 6px 0;
	}
	.bread #breadcrumbs a, .bread #breadcrumbs span {
    	font-size: 0.9em;
	}
    section.topsingle {
        margin-top: 20px;       
        height: 120px;
        align-items: center;
    }
    section.topsingle h1 {
        font-size: 28px;
        margin: 0;

    }
    #breadcrumbs {
        padding: 0;
    }
	.sideBySideImg ,.underarticles li.box-article:nth-child(odd) .sideBySideImg {
		flex-direction: column;
    align-items: center;
	}
	.topimgarchive {
    width: 90% !important;
}
	.exception {
    width: auto;
}
	.forFlex {
		padding: 0 20px;
	}
	.Undertxtarchive {
    width: 100%;
}
	.underarticles li.box-article:nth-child(even) .Undertxtarchive {
    margin-left: 0;
}
	.underarticles li.box-article picture {
    width: 91%;
    border-radius: 20px;
    max-height: 330px;
    margin: 25px auto;
}
	.underarticles li.box-article:nth-child(even) .sideBySideImg picture {
    border-radius: 20px;
}
	.underarticles li.box-article {
    padding: 30px 0;
}
	.underarticles li.box-article:nth-child(odd) .sideBySideImg picture {
    border-radius: 20px;
}
    .underarticles {
        flex-wrap: wrap;
        justify-content: space-around;
    }
	.pagination ul>li>a, .pagination ul>li>span {
		    padding: 9px 7px;
	}
    div.works {
        justify-content: space-around;
    }
    div.works .work {
        margin-top: 40px;
    }
	.underarticles li.box-article h4 {
		text-align:center;
	}
	.archiveCon {
		    margin: 0 auto;
	}
	    .searchbox {
        height: auto;
    }
    .searchbox form, .searchbox form ul {
        flex-direction: column;
		    padding: 0;
    }
    .searchandfilter li {
        margin-bottom: 14px;
        width: 100%;
        padding: 0;
    }
	.searchbox form ul li input[type='text'], .searchbox form ul li select {
    width: 100%;
}
	.searchbox form ul li input[type='submit'] {
    width: 100%;
}
}
@media screen and (max-width: 992px) { 
    ul.archivepost li {
        padding: 10px 0 25px;
        width: 100%;
    }
        ul.archivepost li {
        margin-left:0;
    }
    .PatSingle {
        top: -185px;
        left: -134px;
        width: 760px;
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
        right: -10px;
    }
    section.topsingle {
        margin-top: 20px;
        align-items: center;
    }
    .topsingle img {
        width: 36%;
    }
}
@media screen and (max-width: 1200px) {
    header .topMenu > ul > li > a {
        padding: 14px 5px;
    }
}