﻿/* CSS Document */
/*================================ add iransans font ==================================*/
@import url(fontiran.css); /* لینک فایلی که وظیفه بارگذاری فونت ها را برعهده دارد */
body {
    font-family: IRANSans !important;
    font-weight: 300;
    direction: rtl;
    background-color: #ececec;
    margin: 0;
}
a{
    text-decoration:none !important;
}

h1, h2, h3, h4, h5, h6, input, textarea {
    font-family: IRANSans !important;
}

h1 {
    font-weight: bold;
}

.wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.ltr {
    direction: ltr;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-small {
    font-size: 0.8em;
}

.text-xsmall {
    font-size: 0.6em;
}

.text-large {
    font-size: 1.2em;
}

.text-xlarge {
    font-size: 1.4em;
}

.text-underline {
    text-decoration: underline;
}

.text-ultralight {
    font-weight: 200;
}

.text-light {
    font-weight: 300;
}

.text-regular {
    font-weight: normal;
}

.text-medium {
    font-weight: 500;
}

.text-bold {
    font-weight: bold;
}

.text-black {
    font-weight: 900;
}

blockquote {
    font-weight: 500;
    padding: 10px;
    border: 1px dashed #666666;
}

.mainbox {
    width: 100%;
    background-color: #EFEFEF;
    display: table;
    margin-bottom: 30px;
    border-right: 8px solid #FFFF33;
}

.mainboxnegativ {
    width: 100%;
    background-color: #000000;
    display: table;
    margin-bottom: 30px;
    border-right: 8px solid #FFFF33;
    color: #F9F9F9;
}

.mainbox2 {
    font-size: 1em;
    width: 90%;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.mainbox3 {
    width: 100%;
    background-color: #b8b8b8;
    display: table;
    margin-bottom: 30px;
    border-right: 8px solid #bd70ff;
}

.mainbox2negativ {
    font-size: 1em;
    color: #F9F9F9;
    background-color: #000000;
    padding-right: 20px;
}

.farsiparagraph {
    font-size: 1em;
    width: 47%;
    float: right;
    padding-right: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.englishparagraph {
    font-size: 1em;
    width: 47%;
    float: left;
    direction: ltr;
    padding-left: 20px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.rightbox {
    width: 60%;
    padding-right: 20px;
    padding-left: 5px;
    float: right;
    margin-left: 10px;
    margin-bottom: 0px;
    min-width: 0px;
    background-color: #F7F7F7;
}

.titelbox {
    width: 60%;
    padding-right: 25px;
    padding-left: 0px;
    float: right;
    margin-left: 10px;
    margin-bottom: 0px;
    min-width: 0px;
    background-color: #F2F2F2;
    color: #4B4B4B;
}


.lefttbox {
    padding-right: 20px;
    padding-left: 4px;
    float: right;
    margin-bottom: 10px;
    min-width: 0px;
}

.alphabet {
    width: 35%;
    float: left;
    font-size: 21em;
    text-align: center;
    font-weight: 500;
    color: #999999;
}

.alphabet2 {
    width: 35%;
    float: left;
    direction: ltr;
    font-size: 1.6em;
    text-align: left;
    font-weight: 500;
    color: #333333;
    margin-top: 100px;
}

.footer {
    font-weight: 300;
    font-size: 0.7em;
    text-align: center;
    direction: ltr;
    margin-bottom: 0px;
    padding-bottom: 0px;
}
/*================================ add iransans font ==================================*/
/*================================ stype for basemaster ===============================*/
#input_email{
    direction:ltr !important;
    text-align:left;
}
#footer p{
    text-align:justify;
}
#footer{
    background-color: #f1f1f1;
}
#footer .icon {
    color: #17a2b8;
}
#social a {
    color: #17a2b8;
}
.dropdown-menu{
    text-align:right;
}
/*================================ end stype for basemaster ===============================*/
/*================================ style for category ===============================*/
.category_box {
    background-color: #f1f1f1;
    border-radius: 10px;
    box-shadow: 0px 0px 5px #cccccc;
}
.category_box h5{
    font-size:20px;
}
.category_box img {
    border-radius: 10px 10px 10px 10px;
    min-height:194px;
}
/*================================ end stype for category ===============================*/
/*================================ style for default ==================================*/
a {
    text-decoration: none;
    color: black;
}
h1,h2,h3,h4,h5,h6{
	font-family: iran_sans;
}
*{
	direction: rtl !important;
    text-align:right;
}
.header{
    height:100vh;
}
@media screen and (min-width: 990px) {
    .header {
        background: url("../../images/back-top.jpg") no-repeat scroll 0px 100% transparent;
        background-size: cover;
    }
}
@media screen and (max-width: 990px) {
    .header{
        background: url("../../images/back-top-mobile.jpg") no-repeat scroll 0px 100% transparent;
        background-size: cover;
    }  
}
.search{
	margin-top: 50%;
	margin-bottom: 70%;
}
.nav-link{
	color: #bdc3c7 !important;
}
#text_search{
	color: white;
	font-size: 35px;
	margin-bottom: 50px;
}
.shortcut{
	padding: 10px;
}
.title_product{
    font-size: 18px !important;
}


@media screen and (min-width: 990px) {
    .box {
        height: 270px;
        width: 100%;
        margin: 0 auto;
    }
    .box img {
        position: absolute;
        right: 19%;
        top: 10px;
        border-radius: 50%;
        overflow: hidden;
    }
    .box a h3 {
        margin-top: 250px;
        text-align: center;
    }
}
@media screen and (max-width: 990px) {
    .box {
        height: 330px;
        width: 220px;
        margin: 0 auto;
    }
    .box img {
        position: absolute;
        left:7px;
        top: 20px;
        border-radius: 50%;
        overflow: hidden;
    }
    .box a h3{
        margin-top:250px;
        text-align:center;
    }
}



.right {
    -webkit-animation: rotation infinite 10s linear;
    -moz-animation: rotation infinite 10s linear;
    -o-animation: rotation infinite 10s linear;
}
.left {
    -webkit-animation: rotation infinite 6s linear;
    -webkit-animation-direction: reverse;
    -moz-animation-direction: reverse;
    -o-animation-direction:reverse;
    animation-direction: reverse;
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
        -moz-transform:rotate(0deg);
        -o-transform:rotate(0deg);
        -ms-transform:rotate(0deg);
    }

    to {
        -webkit-transform: rotate(360deg);
        -moz-transform: rotate(360deg);
        -o-transform: rotate(360deg);
        -ms-transform: rotate(360deg);
    }
}

.fix_nav_btn{
    position:absolute;
    left:20px;
    top:auto;
}


/*================================ end style for default ==================================*/


/*================================ style learning ==================================*/
.spy {
    position: relative;
    max-height: 89vh;
    overflow: auto;
    margin-top:10px !important;*/
}
.spy{
    text-align:justify;
}
.spy p img{
    margin:10px;
}
#navbar-example3 .nav-link{
    color: black !important;
}
#side_nav {
    border-left-style: solid;
    border-left-color: #4800ff;
    border-left-width: 1px;
    -webkit-box-shadow: -9px 0px 14px -7px rgba(0,0,0,0.42);
    -moz-box-shadow: -9px 0px 14px -7px rgba(0,0,0,0.42);
    box-shadow: -9px 0px 14px -7px rgba(0,0,0,0.42);
    max-height:89vh;
    overflow:auto;
}
.scrolled::-webkit-scrollbar{
    height: 30px;
    width: 5px;
    background-color: transparent;
}
.scrolled::-webkit-scrollbar-thumb {
    background-color: #675351;
    border-radius: 3px;
}

.fix_div{
    position:fixed;
    top:12%;
    left:2%;
    z-index:99;
}
.main iframe{
    display:block;
    margin:0 auto;
    clear:both;
    width:80%;
    height:inherit;
}
#navbar-example3 .nav-link{
    font-size:16px;
}
#btn_video {
    background-color: #004DFF;
}
#btn_voice {
    background-color: #023E7D;
}
#btn_text {
    background-color: #004DFF;
}
