/*
Theme Name: viratech
Theme URI: http://www.viratech.com/
Author: Viratech
Author URI: http://www.viratech.com/
Description: Dedicated Theme for viratech.com
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: viratech
*/
/* --------------------------------

Wordpress Style

-------------------------------- */

.alignnone {
    margin: 5px 20px 20px 0
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px
}

a img.alignnone {
    margin: 5px 20px 20px 0
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    padding: 5px 3px 10px;
    text-align: center
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000
}

a,
ul.search-ul li {
    transition: .2s all ease-in-out
}

.box-shadow,
body {
    position: relative
}

img{
	max-width:100%;
	height:auto;
}
/* --------------------------------

Fonts

-------------------------------- */

@font-face {
    font-family: IRANSansWebFaNum;
    src: url(assets/fonts/IRANSansWebFaNum.eot);
    src: url(assets/fonts/IRANSansWebFaNum.eot?#iefix) format('embedded-opentype'),
    url(assets/fonts/IRANSansWebFaNum.woff2) format('woff2'),
    url(assets/fonts/IRANSansWebFaNum.woff) format('woff'),
    url(assets/fonts/IRANSansWebFaNum.ttf) format('truetype')
}

/* --------------------------------

Primary style

-------------------------------- */
body {
    direction: rtl;
    text-align: right;
    font-family: 'IRANSansWebFaNum';
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 14px;
    color: #767676;
    font-weight: normal;
    margin: 0;
    line-height: 24px;
}

a {
    color: #239359;
    text-decoration: none;
    transition: .2s all ease-in-out;
    -o-transition: .2s all ease-in-out;
    -ms-transition: .2s all ease-in-out;
    -moz-transition: .2s all ease-in-out;
    -webkit-transition: .2s all ease-in-out;
}

a:hover {
    text-decoration: none;
	color:#378a5c;
    transition: .2s all ease-in-out;
    -o-transition: .2s all ease-in-out;
    -ms-transition: .2s all ease-in-out;
    -moz-transition: .2s all ease-in-out;
    -webkit-transition: .2s all ease-in-out;
}

h1 {
    font-size: 1.6rem;
}

h2 {
    font-size: 1.4rem;
}

h3 {
    font-size: 1.2rem;
}

h4 {
    font-size: 1rem;
}

h5 {
    font-size: 0.8rem;
}

h6 {
    font-size: 0.6rem;
}

/* --------------------------------

Menu

-------------------------------- */
.top-header{
    background-color: #000;
    padding: 5px 0;
}
.top-header a{
    display: inline-block;
    color: #fff;
}
.top-header .phone span{
    direction: ltr;
    display: inline-block;
}
.top-header .email{
    text-align: left;
}
header {
    border-top: 5px solid #3f8a5f;
    position: fixed;
    z-index: 99999;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 0 5px 1px rgba(0,0,0,0.1);
    top: 0;
}
.fa-home:before {
    position: absolute;
    left: 20px;
    top: 5px;
    font-size: 23px;
	color:#3f8a5f;
}
.menu-item-14 a{
	color:transparent!important;
}
.tp-caption{
	font-family:'IRANSansWebFaNum'!important;
}
.flex-class {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    padding: 1rem 15px;
}

.flex-class nav {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.flex-class ul.main-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
    font-weight: 500;
}

.flex-class ul.main-menu li {
    display: inline-block;
    position: relative;
}

.flex-class ul.main-menu > li > a {
    display: inline-block;
    color: #333;
    /*line-height: 4.45rem;*/
    padding: 10px 20px;
}

.flex-class ul.main-menu * {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
}

.flex-class ul.main-menu li {
    list-style: outside none none;
    margin: 0;
    padding: 0;
}

.flex-class ul.main-menu a {
    padding: 0.8em;
    color: rgba(255, 255, 255, 0.5);
    position: relative;
    display: inline-block;
}

.flex-class ul.main-menu a:before {
    position: absolute;
    content: '';
    -webkit-transition: all 0.35s ease;
    transition: all 0.35s ease;
    opacity: 0;
    left: 15%;
    right: 15%;
    top: 0;
    bottom: 0;
    border-left: 3px solid #3f8a5f;
    border-right: 3px solid #3f8a5f;
}

.flex-class ul.main-menu a:hover,
.flex-class ul.main-menu .current-menu-item > a {
    color: #3f8a5f;
}

.flex-class ul.main-menu > li > a:hover:before,
.flex-class ul.main-menu > li.current-menu-item > a:before {
    opacity: 1;
    left: 0;
    right: 0;
}

.flex-class ul.main-menu ul {
    position: absolute;
    background-color: #fff;
    list-style: none;
    padding: 0;
    margin: -5px;
    width: 250px;
    text-align: right;
    box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.2);
    border-top: 4px solid #3f8a5f;
    opacity: 0;
    visibility: hidden;
    height: 0;
    z-index: 9999;
    top: 44px;
}

.flex-class ul.main-menu li:hover > ul {
    opacity: 1;
    visibility: visible;
    margin: 0;
    height: auto;
}

.flex-class ul.main-menu ul li {
    display: block;
}

.flex-class ul.main-menu ul li a {
    color: #333;
    display: block;
    border-bottom: 1px solid #e4e4e4;
}

.flex-class ul.main-menu ul ul {
    right: 100%;
    top: 0;
    position: absolute;
    background-color: #fff;
    list-style: none;
    padding: 0;
    margin: -5px;
    width: 250px;
    text-align: right;
    box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.2);
    border-top: 4px solid #3f8a5f;
    opacity: 0;
    visibility: hidden;
    height: 0;
    z-index: 9999;
}

.flex-class ul.main-menu ul > li:hover > ul {
    opacity: 1;
    visibility: visible;
    margin: 0;
    height: auto;
}

.logo a {
    display: inline-block;
}
.height-fix{
    height: 115px;
}
.fadeout {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    background-color: #736f6f8a;
    z-index: 9999;
    -moz-transition: .5s all;
    -webkit-transition: .5s all;
    -o-transition: .5s all;
    transition: .5s all;
}

.fadein {
    display: block !important;
    -moz-transition: .5s all ease-in-out;
    -webkit-transition: .5s all ease-in-out;
    -o-transition: .5s all ease-in-out;
    transition: .5s all ease-in-out;
}
.d-show{
    display: block!important;
    /*background-color: #ee2134;*/
    background-color: #fff;
    z-index: 999999999999999;
    position: fixed;
    right: 0!important;
    top: 0;
    bottom: 0;
    width: 265px;
    overflow-y: scroll;
    transition: all 1s ease-in-out!important;
    -o-transition: all 1s ease-in-out!important;
    -webkkit-transition: all 1s ease-in-out!important;
    -moz-transition: all 1s ease-in-out!important;
}
.mobile-header nav{
    position: fixed;
    left: 40%;
    right: 0;
    top: 0;
    bottom: 0;
    background-color: #fff;
    z-index: 9999999999;
    overflow: auto;
    display: none;
    transition: all 1s ease-in-out!important;
    -o-transition: all 1s ease-in-out!important;
    -webkkit-transition: all 1s ease-in-out!important;
    -moz-transition: all 1s ease-in-out!important;
    box-shadow: 0 0 5px 0 rgba(0,0,0,0.5);
}
.mobile-header nav ul{
    list-style: none;
    padding: 10px;
    margin: 0;
    height: 100%;
}
.mobile-header nav ul li{
    position: relative;
    margin-bottom: 5px;
}
.mobile-header nav ul li a{
    display: block;
    font-size: 13px;
    padding: 5px 10px;
    color: #000;
}
.mobile-header nav ul li i{
    position: absolute;
    left: 0;
    top: 0;
    background-color: #3f8a5f;
    color: #fff;
    padding: 10px;
}
.mobile-header nav ul ul{
    padding-right: 10px;
    display: none;
}
/* --------------------------------

About us

-------------------------------- */
.about-front{
    background-color: #3f8a5f;
    color: #fff;
    text-align: justify;
    padding: 5rem 0;
}
.read-more{
    display: block;
    background-color: #3f8a5f;
    color: #fff;
    text-align: center;
    padding: 10px;
}
.read-more a{
    display: inline-block;
    background-color: transparent;
    color: #fff;
    padding: 8px 15px;
    margin-top: 1rem;
    position: relative;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
    overflow: hidden;
    margin-right: 15px;
}
.read-more a:after {
    background: #fff;
    content: "";
    height: 100px;
    right: -75px;
    opacity: .2;
    position: absolute;
    top: -20px;
    -webkit-transform: rotate(35deg);
    transform: rotate(35deg);
    transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
    width: 23px;
    z-index: 20;
}
.read-more a:hover:after {
    right: 120%;
    transition: all 550ms cubic-bezier(0.19, 1, 0.22, 1);
}
/* --------------------------------

Solutions

-------------------------------- */

.solutions-front{
    background-color: #e5e5e5;
    padding: 70px 0 55px 0;
}
.single-solutions-meta{
    padding: 4rem 0;
}
.single-solutions-content{
    text-align: justify;
}
.single-solutions-title h2{
    color: #3f8a5f;
    font-size: 250%;
    line-height: 100%;
    font-weight: 700;
    margin-bottom: 45px;
    margin-top: 0;
}
.solutions-front ul{
    list-style: none;
    padding: 0;
    margin: 0;
}
.solutions-front ul a{
    display: inline-block;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}
.solutions-front ul a figure{
    position: relative;
    margin: 0;
}
.solutions-front ul a figcaption{
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.3);
    color: #fff;
    transition: .2s all ease-in-out;
    -o-transition: .2s all ease-in-out;
    -ms-transition: .2s all ease-in-out;
    -moz-transition: .2s all ease-in-out;
    -webkit-transition: .2s all ease-in-out;
}
.solutions-front ul a:hover figcaption{
    bottom: 40%;
    background-color: rgba(0, 0, 0, 1);
    transition: .2s all ease-in-out;
    -o-transition: .2s all ease-in-out;
    -ms-transition: .2s all ease-in-out;
    -moz-transition: .2s all ease-in-out;
    -webkit-transition: .2s all ease-in-out;
}
.front-sol-title h3{
    margin: 0;
    padding: 10px 0;
    text-align: center;
}
/* --------------------------------

Footer

-------------------------------- */
footer{
    background-color: #252525;
    padding: 40px 0;
    color: #fff;
}
footer p{
    text-align: justify;
}
#back-to-top{
    position: fixed;
    left: 10px;
    bottom: 10px;
    z-index: 9999;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
}
footer a{
    display: inline-block;
    color: #aec82c!important;
}
/* --------------------------------

Blog Front

-------------------------------- */
.swiper-container {
    width: 100%;
    height: 100%;
}
.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}
.blog-front .blog-content{
    padding: 5px 10px;
    background: rgba(35, 147, 89, 0.75);
    color: #fff;
    min-height: 65px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.blog-front .blog-content h3{
    font-size: 14px;
    text-align: center;
    line-height: 25px;
    margin: 0;
}
.blog-front{
    padding: 5em 0;
}
.blog-front img{
    width: 255px;
    height: 180px;
    object-fit: cover;
}
/* --------------------------------

Page

-------------------------------- */

.page-area{
    text-align: justify;
    margin: 2em 0;
}
.page-meta{
   
}
.page-img{
    margin: 4em 0;
}
.breadcrumb{
    background-color: rgb(35, 147, 89);
    border-radius: 0;
    margin: 0;
}
.breadcrumb h1{
    text-align: center;
    margin: 0;
    color: #fff;
    padding: 1em;
}.breadcrumb h1 span{
    display: inline-block;
 }
/* --------------------------------

Product Cat

-------------------------------- */
.matboo{
    background-color:#f1f1f1;
}
.product-front{
    padding: 70px 0 55px 0;
}
.single-product-title h2{
    color: #3f8a5f;
    font-size: 250%;
    line-height: 100%;
    font-weight: 700;
    margin-bottom: 45px;
    margin-top: 0;
}
.product-front img{
    width: 250px;
    height: 200px;
    object-fit: cover;
}
.tax-bg{
 background-color: #e5e5e5;
 padding: 4em 0;
    min-height: 42vh;
}
.term-meta{
    color:#000;
    text-align: justify;
}
ul.product-category{
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
ul.product-category li{
    display: inline-block;
    position: relative;
}
ul.product-category li a{
    display: inline-block;
}
ul.product-category figure{
    margin: 0 0 15px;
    border: 1px solid #6f6f6f;
    position: relative;
    text-align: center;
}
ul.product-category figure figcaption{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #6f6f6f;
    color: #fff;
    padding: 10px;
}



.single-footer-widget section{
    margin-bottom: 2em;
    background-color: #efefef;
    padding: 15px;
}
.sidebar-title{
    border-bottom: 1px solid black;
    font-size: 18px;
    color: #000;
    padding-bottom: 15px;
    margin-bottom: 30px;
}
.single-footer-widget ul{
    list-style: none;
    padding-right: 20px;
}
.single-footer-widget ul li{
    display: block;
    border-bottom: 1px solid #aeb7bf;
}
.single-footer-widget ul li a{
    display: block;
    padding: 10px;
    color: #3f8a5f;
    font-weight: 900;
}
.recent-post-title a{
    display: inline-block;
    color: #3f8a5f;
    font-size: 11px;
    font-weight: normal;
}
.single-footer-widget label{
    width: 100%;
    display: block;
    position: relative;
}
.single-footer-widget label input{
    display: block;
    width: 100%;
    border: 1px solid #3f8a5f;
    padding: 10px;
}
.single-footer-widget label button{
    position: absolute;
    top: 0;
    left: 0;
    padding: 11px;
    background-color: #3f8a5f;
    color: #fff;
    border: none;
}
.blog-title h3{
    text-align: center;
    margin: 1.5em 0;
    color: #000;
}
.blog-date a{
    color: #3f8a5f;
}
.blog-excerpt{
    text-align: justify;
}
#blog-block article{
    box-shadow: 0 0 5px 5px rgba(0,0,0,0.1);
    padding: 10px;
    margin-bottom: 3em;
}
.read-more:hover{
    color: #fff;
}
.content h1{
    color: #3f8a5f;
    margin: 2em 0;
}
.content {
    text-align: justify;
}
.related-p .title{
    border-bottom: 1px solid #efefef;
    border-top: 1px solid #efefef;
    padding: 18px;
    color: #3f8a5f;
    font-weight: bold;
}
.comment-form{
    background-color: #efefef;
    padding: 10px;
}
.comment-form input{
    display: block;
    width: 100%;
    border: none;
    padding: 10px;
    background-color: #e0e0e0;
}
.comment-form textarea{
    display: block;
    width: 100%;
    border: none;
    padding: 10px;
    background-color: #e0e0e0;
}
#wp-comment-cookies-consent{
    display: inline-block;
    width: auto;
    margin-left: 15px;
}
.related-p .title-related{
    background-color: #3f8a5f;
    color: #fff;
    text-align: center;
    padding: 10px;
    display: block;
}
.related-p figure{
    padding: 0;
    margin:0;
}
table{
    width: 100%!important;
}
 table td {
    border: 1px solid #dee2e6;
    text-align: center;
}
.post-content-area{
    margin: 4em 0;
}
/*.term-meta ul {
    list-style-image: url(./assets/img/pdf.svg);
}*/


.tab-pane ul {
    list-style-image: url(./assets/img/list.png);
    text-align: justify;
}
.single-product2,.tab-content{
    margin: 2em 0;
}
.single-product2 .tab-pane table{
    width: 100%;
    margin-bottom: 50px;
}
.single-product2 .tab-pane table td{
    border: 1px solid #dee2e6;
    text-align: center;
}
.tab-pane table tbody tr td{
    border:none!important;
}
.tab-pane table tbody tr:first-child{
    background-color: #aae7aa!important;
    color: #000;
}
.tab-pane table tbody tr:nth-child(odd){
    background-color: #b9e8b97a;
    color: #000;
}
.tab-pane table:last-child tbody tr:first-child{
    background-color: #aae7aa!important;
    color: #000;
}
.tab-pane table:last-child tbody tr td:first-child{
    background-color: #aae7aa!important;
    color: #000;
}
.margin-products{
    list-style: none;
    margin: 2em 0;
    padding: 0;
}
.margin-products li{
    display: block;
}
.margin-products li a{
    display: block;
}
.margin-products li figcaption{
    padding: 5px 10px;
    background: rgba(35, 147, 89, 0.75);
    color: #fff;
    min-height: 65px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.margin-products li img{
    width: 250px;
    height: 250px;
    object-fit: contain;
    padding: 10px;
}
.blog-area{
    margin: 2em 0;
}
.description{
    background-color: #e5e5e5;
    text-align: justify;
    padding: 2em 0;
}
.description ul{
    list-style: none;
}
.description li{
    margin:2em 0;
}
.description li:before{
    content: '';
    display: inline-block;
    height: 30px;
    width: 30px;
    background-image: url(./assets/img/pdf.svg);
    background-repeat: no-repeat;
    position: absolute;
    right: 20px;
}
.description li a{
    display: inline-block;
    color: #239359;
}






/* فقط دسکتاپ */
@media (min-width: 500px){

    .top-header{
        padding-top: 2px !important;
        padding-bottom: 2px !important;
        min-height: auto !important;
    }

    .top-header .row{
        display:flex;
        align-items:center !important;
        min-height:auto !important;
    }

    .top-header [class*="col-"]{
        padding-top:0 !important;
        padding-bottom:0 !important;
    }

    .top-header .phone,
    .top-header .email{
        margin:0 !important;
        padding:0 !important;
        line-height:1 !important;
    }

    .top-header .phone a,
    .top-header .email a{
        padding:0 !important;
        margin:0 !important;
        line-height:1 !important;
        white-space:nowrap !important;
    }

} 