@font-face {
    font-family: IRANSans;
    src: url("../fonts/iran_sans.ttf")
}

@font-face {
    font-family: IRANSansMobile;
    src: url("../fonts/iran_sans_bold.ttf")
}

html {
  direction : rtl;
}

body {
  font-family: IRANSans;
  font-size: 18px;
  background-color: #f4f2ee;
}


.fa {
  padding: 20px;
  font-size: 1.6rem;
  width: 65px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
}

.fa-facebook {
  background: #3B5998;
  color: white;
}

.fa-twitter {
  background: #55ACEE;
  color: white;
}

.fa-linkedin {
  background: #007bb5;
  color: white;
}

.fa-youtube {
  background: #bb0000;
  color: white;
}

.fa-rss {
  background: #ff6600;
  color: white;
}

.fa-whatsapp {
  background: #25d366;
  color: white;
}

.fa-telegram {
  background: #0088cc;
  color: white;
}

.hidden {
    display: none;
}


.pyn-login-container {
    width: 100% ;
    padding:10px 20px 20px 20px ;
}

.pyn-login-frame {
    width: 100%;
    height: calc( 100vh - 270px );
    background-color: #fff ;
    padding-top:10px ;
    border: solid 1px #555555;
    border-radius: 5px;
    box-shadow: rgb(140, 140, 140, 0.2) 0px 0px 0px 1px;
}


.pyn-card-container {
    width: 100% ;
    padding:10px 20px 20px 20px ;
}

.pyn-card-frame {
    width: 100%;
    background-color: #fff ;
    padding-top:10px ;
    border: solid 1px #555555;
    border-radius: 5px;
    box-shadow: rgb(140, 140, 140, 0.2) 0px 0px 0px 1px;
}


form {
  color: #555;
  display: flex;
  padding: 2px;
  border-radius: 0px;
  margin: 0 0 5px;
  width: 100%;
}

.pyn-search {
  border: none;
  background: transparent;
  margin: 0;
  width: 100%;
  padding: 7px 8px;
  font-size: 1.2rem;
  color: inherit;
  border: 0px solid transparent;
  border-radius: inherit;

}

.pyn-search::placeholder {
  color: #bbb;
}


.pyn-search:focus {
  outline: none;
}

.pyn-list-search {
    position: absolute;
    z-index: 2;
    top : 110px;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    visibility: hidden;
    font-size:.9rem;
}

.pyn-item-searched {
    width: 100%;
    height: 90px;
    padding: 10px 20px;
}

.pyn-item-searched:hover {
    background-color: #C3DBF8;
}

.pyn-searched-link {
  display: block;
  width: 300px;
  height: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
  padding: 0px;
}

.pyn-searched-picture {
    width:50px;
    height: 70px;
}


.pyn-list-frame {
    width: 200px ;
    height: 400px ;
    background-color: #ffffff ;
    padding-top:10px ;
    border: solid 1px #555555;
    border-radius: 5px;
    box-shadow: rgb(140, 140, 140, 0.2) 0px 0px 0px 1px;
}

.pyn-list-picture {
    width:180px;
    height: 254px;
    border-radius: 5px;
}

.pyn-list-link {
    text-align: center ;
    height: 100px ;
    overflow: hidden ;
    padding: 5px ;
    font-size: 1rem;
}

.pyn-list-link-a {

}

.pyn-list-price {
     text-align: center ;
     font-family: IRANSansMobile;
     font-size: 1rem;
}

.pyn-card {
    padding: 20px;
}

.pyn-card-title {
    margin-right: 30px;
    height: 100px;
}

.pyn-card-title h3{
    margin-top:5px;
    font-family: IRANSansMobile;
    font-size: 1.2rem;
}


.pyn-card-picture {
    width:300px;
    height: 425px;
}


.pyn-social-link {
   text-align: center ;
}

.pyn-card-detail {
    width: 600px;
}

.pyn-card-table {
    margin-right: 30px;
    font-size:1.1rem;
}

.pyn-card-table td {
    vertical-align:top;
}

.pyn-card-table-td-label {
    width: 100px;
    font-size: 1.2rem;
}

    .pyn-card-price {
        margin-right: 30px;
        font-size: 1.3rem;
        font-weight: bolder;
        height: 40px;
    }

nav.bottom {
    position: fixed;
    bottom: 0;
    z-index: 20;
    display: flex;
    height: 60px;
    width: 100%;
    --tw-translate-y: 100%;
    transform: translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
    justify-content: space-evenly;
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255/var(--tw-bg-opacity));
    font-size: .875rem;
    line-height: 1.25rem;
    --tw-shadow: 0 -2px 2px 0px #b4b4b44d;
    --tw-shadow-colored: 0 -2px 2px 0px var(--tw-shadow-color);
    box-shadow: var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);
    transition-property: color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;
    transition-property: color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;
    transition-property: color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;
    transition-timing-function: cubic-bezier(.4,0,.2,1);
    transition-duration: .1s
}

nav.bottom.show {
    --tw-translate-y: 0px!important;
    transform: translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important
}

nav.bottom a {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-bottom-width: 2px;
    --tw-border-opacity: 1;
    border-color: rgb(255 255 255/var(--tw-border-opacity));
    padding-top: .5rem;
    padding-bottom: .25rem;
    color: var(--default-500);
    text-decoration: none;

}

nav.bottom a.active {
    border-color: var(--primary-400);
    color: var(--primary-400)
}

nav.bottom a i {
    font-size: 1.125rem;
    line-height: 0.75rem;
    padding: 0px;
}

nav.bottom a .nav-b-title {
    font-size: 1rem;
    line-height: 1.5rem
}

.banner {
    position: fixed;
    top: 0px;
    z-index: 10;
    width: 100%;
    height: 50px;
    background-color: #fefefe;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    vertical-align: middle;
    text-align: center;
}

.banner span.pyn-logo {
    margin-top : 12px;
    margin-right: 10px;
    vertical-align: middle;
    width: 40px;
}

.banner span.title {
    margin-top : 15px;
    margin-right : 5px;
    vertical-align: middle;
    font-family: IRANSansMobile;
    font-size: 1.5rem;
}

.banner span.subtitle {
    margin-top : 25px;
    vertical-align: middle;
    color: #797;
    font-family: IRANSansMobile;
    font-size: .8rem;
}


nav.top {
    position: fixed;
    top: 50px;
    z-index: 10;
    width: 100%;
    height: 60px;
    background-color: #fefefe;
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;

}


nav.top div a {
    text-decoration: none;
}

nav.top div a i.fa {
  padding: 10px;
  font-size: 2rem;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
}

nav.top div form button {
  border: hidden;
  background-color: #fefefe;
}

nav.top div form button i.fa {
  padding: 10px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
  width: 40px;
  height: 40px;
  font-size: 1.4rem;
  color: cornflowerblue;
}


/* Extra small devices (phones, 600px and down) */
@media only screen and (max-width: 320px) {

.fa {
  padding: 10px;
  font-size: 1.3rem;
  width: 40px;
  height: 40px;
  text-align: center;
  text-decoration: none;
  margin: 5px 2px;
}

.pyn-card {
    padding: 20px;
}

.pyn-desk-title {

}

.pyn-card-picture {
    width:210px;
    height: 280px;
}

.pyn-social-link {
   text-align: center ;
}

.pyn-card-table {
    font-size:1.1rem;
}

.pyn-card-table td {
    vertical-align:top;
}

.pyn-card-table-td-label {
    width: 100px;
    font-size: 1rem;
}

.pyn-card-detail {
    width: 100%;
}

    .pyn-card-title {
        padding-top: 5px;
        margin-right: 0px;
    }

    .pyn-card-table {
        margin-right: 0px;
    }

    .pyn-card-price {
        margin: 0px;
    }

    .pyn-list-frame {
        width: 140px ;
        height: 280px;
    }

    .pyn-list-picture {
        width:120px;
        height: 160px;
    }

    .pyn-list-link {
        text-align: center ;
        height: 100px ;
        overflow: hidden ;
        padding: 5px ;
    }

    .pyn-list-link-a {
        font-size: 0.9rem;
    }

    .pyn-list-price {
         text-align: center ;
         font-size: .9rem;
    }




nav.bottom {
    height: 50px;
    font-size: .8rem;
    line-height: 1.25rem;
}

nav.bottom a i {
    font-size: .8rem;
    line-height: 0.65rem;
    padding: 0px;
}

nav.bottom a i.fa {
    width: 50px;
}


}

/* Extra small devices (phones, 412px and down) */
@media only screen and (max-width: 450px) and ( min-width: 321px ) {

.fa {
  padding: 15px;
  width: 54px;
  height: 54px;
  border-radius: 10px;
}

nav.top div form i.fa {
  width: 45px;
  height: 40px;
}



    .pyn-list-frame {
        width: 190px ;
        height: 400px ;
    }

    .pyn-list-picture {
        width:170px;
        height: 240px;
    }

    .pyn-list-link {
        text-align: center ;
        height: 110px ;
        overflow: hidden ;
        padding: 5px ;
    }

    .pyn-list-link-a {
         font-size: 1.1rem;
    }

    .pyn-list-price {
         text-align: center ;
         font-size: 1rem;
    }

    .pyn-card {
        padding: 20px;
    }

.pyn-desk-title {
    visibility: hidden;
    height: 0px;
}


    .pyn-card-picture {
        width:300px;
        height: 425px;

    }

.pyn-card-detail {
    width: 100%;
}

    .pyn-card-title {
        padding-top: 10px;
        margin-right: 0px;
    }

    .pyn-card-table {
        margin-right: 0px;
    }

    .pyn-card-price {
        margin: 0px;
    }

.pyn-social-link {
   text-align: center ;
}

.pyn-card-table {
    font-size:1.1rem;
}

.pyn-card-table td {
    vertical-align:top;
}

.pyn-card-table-td-label {
    width: 100px;
    font-size: 1.2rem;
}

}



/* Small devices (portrait tablets and large phones, 600px and up) */
@media only screen and (min-width: 600px) {

}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 768px) {

}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {

}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
    nav.bottom {
        display:none
    }

}
