@import url(fontiran.css); /* لینک فایلی که وظیفه بارگذاری فونت ها را برعهده دارد */

body, html {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
}
body {
	font-family: IRANSans !important;
	font-weight: 300;
	direction: rtl;
	/*background-color: #E2E2E2;*/
	margin: 0;
}
h1, h2, h3, h4, h5, h6,input, textarea {
	font-family: IRANSans !important;
}
h1 {
	font-weight: bold;
}
.wrapper {
	max-width: 100%;
	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;
}
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: 0;
	min-width: 0;
	background-color: #F7F7F7;

}

.titelbox {
	width: 60%;
	padding-right: 25px;
	padding-left: 0;
	float: right;
	margin-left: 10px;
	margin-bottom: 0;
	min-width: 0;
	background-color: #F2F2F2;
	color: #4B4B4B;
}

.lefttbox {
	
	padding-right: 20px;
	padding-left: 4px;
	float: right;
	margin-bottom: 10px;
	min-width: 0;
}

.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;
}

@font-face {
  font-family: Sahel;
  src: url('Sahel.eot');
  src: url('Sahel.eot?#iefix') format('embedded-opentype'),
	url('Sahel.woff') format('woff'),
       url('Sahel.ttf') format('truetype');
  font-weight: normal;
}
      
@font-face {
  font-family: Sahel;
  src: url('Sahel-Bold.eot');
  src: url('Sahel-Bold.eot?#iefix') format('embedded-opentype'),
       url('Sahel-Bold.woff') format('woff'),
       url('Sahel-Bold.ttf') format('truetype');
  font-weight: bold;
}

@font-face {
  font-family: Sahel;
  src: url('Sahel-Black.eot');
  src: url('Sahel-Black.eot?#iefix') format('embedded-opentype'),
       url('Sahel-Black.woff') format('woff'),
       url('Sahel-MedBlackium.ttf') format('truetype');
  font-weight: 900;
}

.top-header{ 
text-align:center;
	margin-top:0;
	margin-right:0;
	width:100%;
	font-size: 12pt;
	font-weight:bold;
}

.top-img{
	 margin-top:-200px;
	 margin-left:-5px;
}

.navbar{	
width:100%;
	margin-top:50px;
	padding-right:5px;
	position:fixed;
	z-index:999;
}

.dropdown-menu{	
	font-size:8px;
	margin-bottom:-5px;
	background-color:rgb(150,150,150);		
}

.dropdown-menu a{
	font-size:10px;
	color:white;
	padding-right:150px;
	padding-bottom:-5px;
	line-height:5px;
}
.dropdown-menu a:hover {
 /* background-color:rgb(255,179,0);*/
 background-color: rgb(100,100,100);
  display: block;
}

.dropdown:hover>.dropdown-menu {
  display: block;
}

.dropdown>.dropdown-toggle:active {
  /*Without this, clicking will make it sticky*/
    pointer-events: none;
}


.top-ticker{
	width:100%;
	height:30px;	
}

@keyframes mymove {
    from {
      left:  100px;
         height: 0;
         opacity: 0;
         border-bottom:0;
    }
    to {
        height: auto;
    }
}

.rounded-circle{
	margin-left:-5px;
}

ul.navbar-nav li.nav-item{
	margin: 5px -145px 0 -27px;
}

ul.navbar-nav .nav-item:after {
    content: '';
    display: block;
    height: 3px;
    width: 0;
    transition: width .5s ease, background-color .5s ease;
}

.navbar-nav .nav-item:hover:after {
    width: 100%;
    background:#eb3719;
}

.btn-responsive{
	width:55%
}

.carousel{
	margin-top:80px;
	max-width:100%;
}

.carousel-control-next-icon{  
  font-size: 55px;
  color: red;
}

.carousel-control-prev-icon{  
  font-size: 55px;
  color: red;
}

.img-fluid{	
	margin-top:120px;
	max-width:100%;
}

.centered {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
} 

@media  (max-width: 456px) {
	.top-header{
		margin-right:auto;
		margin-left:auto;
		margin-bottom:20px;
	}
	
	.phones{			
		margin-left:20px;		
	}
	
	.address{
		font-size:14px;	
		padding-right:-20px;		
	}

	.navbar{
		max-width:100%;
		margin-top:220px;
		max-height: 100vh;
		overflow: auto;
		-webkit-overflow-scrolling: touch;
	}

	.carousel{
		max-width:100%;
		margin-top:160px;
		
	}
	
	.navbar .nav-link .dropdown-item{
		overflow-y: visible;
		position:relative;
		z-index:1001;
		margin-right:5px;
	}
	
	.ws-card{
	    z-index:999;
	    height:300px;
	}
}

@media (min-width: 457px) and (max-width: 636px) {	
	.top-header{
		margin-left:auto;
	}

	.phones{
		margin-right:80px;	
		margin-left:10px;		
	}

	.persian-number{
		margin-left:150px;
	}

	.dates{
		margin-right:50px;
		margin-left:50px;
		font-size:14px;
	}

	.navbar{
		margin-top:105px;
		max-width:100%;
	}
	
	.navbar .nav-link{
		display:inline;
	}
	
	.navbar .nav-link .dropdown-item{
		font-size:8px;
		line-height:8px;
		overflow-y: visible;
		position:relative;
		z-index:1001;
	}	

	.carousel{
		margin-top:150px;
		max-width:100%;
	}
}

@media (min-width: 637px) and (max-width: 677px) {	
	.top-header{
		margin-left:auto;
	}

	.phones{
		margin-right:80px;	
		margin-left:10px;		
	}

	.persian-number{
		margin-left:150px;
	}

	.dates{
		margin-right:50px;
		margin-left:50px;
		font-size:14px;
	}

	.navbar{
		margin-top:115px;
		max-width:100%;
	}
	
	.navbar .nav-link{
		display:inline;
	}
	
	.navbar .nav-link .dropdown-item{
		font-size:8px;
		line-height:8px;
		overflow-y: visible;
		position:relative;
		z-index:1001;
	}	

	.carousel{
		margin-top:165px;
		max-width:100%;
	}
}

@media (min-width:678px) and (max-width: 960px) {
	.navbar{
		margin-top:55px;
		max-width:100%;
	}
	.carousel{
		margin-top:100px;
		max-width:100%;
	}
}
	
@media (min-width:961px)and (max-width:1200px) {	
	.navbar{
		margin-top:64px;
		max-width:100%;
	}

	.carousel{
		margin-top:90px;
		max-width:100%;
	}
}

@media (min-width:1201px) and (max-width:1600px) {
	.navbar{
		margin-top:64px;
		max-width:100%;
	}
	.carousel{
		margin-top:95px;
		max-width:100%;
	}
}
