@font-face {
    font-family: "IranSans";
    src: url("/fonts/IRANSansWeb.eot");
    src: url("/fonts/IRANSansWeb.eot?#iefix") format("embedded-opentype"),
         url("/fonts/IRANSansWeb.woff") format("woff"),
         url("/fonts/IRANSansWeb.ttf") format("truetype"),
         url("/fonts/IRANSansWeb.svg#IRANSansWeb") format("svg");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "icon";
    src: url("/fonts/icon.woff") format("woff");
}

* { 
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box; 
    vertical-align: baseline;
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    outline: none;
}

html {
    font-family: "IRANSansWeb(FaNum)",IranSans,Tahoma, Arial, Helvetica, Sans-Serif;
    font-weight: normal;
    font-style: normal;
    font-size: 16px;
    letter-spacing: -0.02em;
    word-spacing: -0.1em;
    color: #999999;
}

.flex {
    display: -webkit-box;
    display: -webkit-flex;
    display: -moz-box;
    display: -ms-flexbox;
    display: flex;
}

.center-v {
    -webkit-box-align: center;
    -webkit-align-items: center;
    -moz-box-align: center;
    -ms-flex-align: center;
    -ms-box-align: center;
    align-items: center;    
}

.center-h {
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -moz-box-pack: center;
    -ms-flex-pack: center;
    -ms-box-pack: center;
    justify-content: center;
}

.wrap {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}


.menu-button {
    display: block;
}

.logo {
    position: relative;
    width:220px;
    height:60px;
    margin-right:auto;
}

.logo img {
    display:block;
    z-index:10000;
}


.topinfo{
    margin-right:auto;
    line-height: 1.3em;
}

.topinfo img {
    width:28px;
    height:28px;
    margin:0 10px;
}

.topnav {
    width:100%;
    height:60px;
}

.menu-nav {

}

.topmenu {
    position:fixed;
    width: 100%;
    top:0;
    background-color: White;
    z-index:3;
}

.topmenu a {
    text-decoration: none;
}

.topmenu img {
    z-index:10000;
}

.topmenu ul li {
    display: inline-block;
    padding: 16px 20px;
}

.topmenu ul li a {
    color : black;
    text-decoration: none;
}


.header {
    position: relative;
    width: 100%;
	height: 50vh;
	z-index: 0;
}

.header img {
    display:none;
	position: absolute;
	width: 100%;
	height: 100%;
	object-fit: cover;
	background-color: #FFFFFF;
	
}

.header div {
	position: absolute;
	width: 100%;
	top:calc(12%);
	text-align:center;
	font-size:2em;
	font-weight: 900;
    color:#FFFFFF;
    z-index:1;
}

.col-right{
    width:235px;
    padding:0 5px;
}

.col-right img{
    display: block;
    margin:5px auto;
}

.col-center{
    padding: 0 5px;
    flex-grow: 1;
    flex: 1;
}

.col-center img{
    display: block;
    max-width:100%;
    margin:0 auto;
}

.slideshow {
    min-height:199px;
    display: block;
    text-align: center;
    margin-top: -5px;
    margin-bottom:-5px;
}

.slideshow div {
    margin-top: -3px;    
}

.slideshow img {
    width:135px;
    height:180px;
}


.col-left{
    width:235px;
    padding: 0 5px;
}


.col-left img{
    display: block;
    margin:5px auto;
}

.side-block {
    margin:5px 0;
}

.side-block-header{
    padding:0 5px;
}

.side-block-content{
    padding: 10px;
    overflow:hidden;
    border: 1px solid silver;    
}

.side-block-content p{
  text-align: justify;
}

.side-block-content h3{
    font-size: 1.1em;
    color:black;
}

.side-block-content ul {
    font-size: 0.9em;
    list-style-type: none;
    list-style-position: inside;
    overflow:hidden;
}

.side-block-content ul li{
    padding:5px 0;
	white-space: nowrap;
}

.side-block-content ul a {
    font-size: inherit;
	color: inherit;
	text-decoration: none;
}

.side-block-content li::before {
    content: "\25FC";
    font-weight: bold;
    display: inline-block;
    margin-left: 0.5em;
}

.post-header{
    padding:10px 0;
    font-size: 1.1em;
    font-weight: bold;
}

.post-content{
    text-align: justify;
}

.post-content img {
    display:block;
    width:100%;
    height:auto;
    max-width:600px;
    margin:10px auto;
}

.post-content ul {
    font-size: 0.9em;
    list-style-type: none;
    list-style-position: inside;
    padding:0 10px;
}

.post-content ul li{
    padding:5px 0;
}

.post-content ul a {
    font-size: inherit;
	color: inherit;
	text-decoration: none;
}

.post-content li::before {
    content: "\25FC";
    font-weight: bold;
    display: inline-block;
    margin-left: 0.5em;
}

.newsitem {
    display:flex;
    text-align: justify;
}

.newsitem img {
    width: 200px;
    min-width: 200px;
    height: 150px;
    min-height: 150px;
    margin: 4px 0 4px 8px;
    padding: 2px;
    border: 1px solid silver;
}

.product-item {
    position: relative;
    width:300px;
    height:270px;
    padding:20px;
    border: 1px solid #ebebeb;
    margin-left: -1px;
    margin-top: -1px;
    margin-bottom: -1px;
}

.product-item h3 {
    color: #535353;
    text-align: center;
}

.product-item p {
    text-align: center;
    font-size:1.3em;
    color:black;
}
    
.product-img {
    display: block;
	width: 220px;
	height: 178px;
	margin-right:auto;
	margin-left:auto;
	object-fit: fill;
	border-radius: 5px;
}

.footer{
    width: 100%;
    min-height:150px;
    color: white;
    background-color: #e5e5e5;
}

.footer-block {
    width: 20%;
    font-size: 1em;
    color: inherit;
    margin-bottom: 10px;
    padding: 0 5px;
    text-align: right;
    font-size: 1em;
}

.footer-block-w {
    width: 40%;
}

.footer-block ul {
	color: inherit;
    margin-right: 15px;
    list-style-type: none;
    list-style-position: inside;
}

.footer-block li::before {
    content: "\25FC";
    font-weight: bold;
    display: inline-block;
    margin-left: 0.5em;
}


.footer-block ul a {
    font-size: inherit;
	color: inherit;
	text-decoration: none;
}

.footer-block ul li ul {
    margin-right: 0;
}    

.footer-block-header {
    width: 100%;
    padding: 6px 5px;
    border-bottom: 1px solid silver;
    font-size: 1em;
    color: black;
}

.footer-block-header h3 {
    font-size: inherit;
    text-align: right;
    color: inherit;
}

.footer-block-content {
    width: 100%;
    padding: 0 5px;
    font-size: 0.875em;
    color:#676869;
}

.footer-block-content p {
    font-size: inherit;
    text-align: justify;
}

.notfound{
    padding:80px 0;
    text-align: center;
}

.notfound H1{
    font-size: 4em;    
}

.notfound H2{
    font-size: 2em;    
}

@media only screen and (min-width: 1024px) {
    .block {
        padding-right:calc((100% - 984px)/2);
        padding-left:calc((100% - 984px)/2);
    }
}


@media only screen and (max-width: 1044px) {
    
	.block {
        padding:0 5px 0 5px;  
        flex-wrap: wrap;
    }
    
    .header img {
    	object-position: 33% 100%;
    }
    
    .logo {
        width:110px;
    }
    
    .logo img {
        width:90px;
        height:90px;
	}

    .address,.hours{
        display:none;
    }
    
    .topnav {
        height:50px;
    }

     .menu-button , .menu-button-close {
        display: block;
        position: relative;
        cursor: pointer;
        height: 36px;
        width: 36px;
        margin-right: 5px;
        background-color: inherit;
    }

    .menu-button:before , .menu-button-close:before {
        content: "";
        position: absolute;
        top: 7px;
        right: 0;
        width: 36px;
        height: 5px;
        border-top: 5px solid black;
        transition: 0.4s;
    }

    .menu-button:after , .menu-button-close:after {
        content: "";
        position: absolute;
        top: 17px;
        right: 0;
        width: 36px;
        height: 5px;
        border-top: 5px solid black;
        border-bottom: 5px solid black;
        transition: 0.4s;
    }

    .menu-button-close:before {
        -webkit-transform: rotate(-45deg) translate(-3px, 10px);
        transform: rotate(-45deg) translate(-5px, 9px);
    }

    .menu-button-close:after {
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
        border-bottom: 0px solid transparent;
    }   

    .menu-nav {
        display:none;
        position: absolute;
        width:100%;
        background-color: inherit;
        top:50px;
        right:0;
        z-index:1000;
    }

    .menu-nav ul li {
        display: block;
        padding: 10px 20px;
    }

    .topmenu {
        width:100%;
        min-height:50px;
        top:0;
    }

    .topmenu img {
        position: absolute;
        top:0;
        right:15px;
        margin-right:initial;
    }
    
    
    .newsitem {
        display: block;
    }

    .newsitem img {
        width: 100%;
        max-width: 400px;
        height: auto;
    }

    .product-item {
        width:100%;
    }


    .show {
        display: block;
    }

 
    .footer-block {
        width: 100%;
    }
    
    .col-right{
        width:100%;
        order: 2;
    }

    .col-center{
        display:block;
        width:100%;
        order: 1;
    }

    .col-left {
        width:100%;
        order: 3;
    }

    .img-links{
        width:100%;
    }
    
    .img-ad{
        width:80%;
    }
}






