@font-face {
    font-family: 'BYekan';
    src: url('../fonts/BYekan.eot') format('eot'), url('../fonts/BYekan.ttf') format('ttf'), url('../fonts/BYekan.woff') format('woff');
}

@font-face {
    font-family: 'BMitra';
    src: url('../fonts/BMitra.eot') format('eot'), url('../fonts/BMitra.ttf') format('ttf'), url('../fonts/BMitra.woff') format('woff');
}
@font-face {
	font-family: 'fsan';
	src: url('../fonts/iransans.eot');
	src: url('../fonts/iransans.eot') format('embedded-opentype'),
	url('../fonts/iransans.woff') format('woff'),
	url('../fonts/iransans.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}


/* start general style */
body {
    font-family: fsan;
    font-size: 12px;
    background-color: #fff;
    text-align: right;
    direction: rtl;
}
.line {
    border: 1px solid #f9f9f9;
    margin: 10px 0;
    
}
dd.message.message {
    background: #e0e0e0;
    padding: 10px 0 0 0;
    border-radius: 4px;
    border: 1px solid #ccc;
    font-size: 15px;
    font-family: byekan;
}

/* content*/

/* start   moduletable */
.mod .moduletable h3 {
    background: #fdfcfc;
    padding: 5px 7px 8px 5px;
    font-family: byekan;
    font-size: 16px;
    border: 1px solid #e4e4e4;
}
.content p {
    font-family: fsan;
    line-height: 23px;
    font-size: 13px;
}
.content h1 {
    font-family: fsan ;
    font-size: 21px;
    background-position: right;
    color: #9a9a9a;
    padding: 5px 5px 10px 0;
}

.content #titr h2 {
    font-family: byekan;
    font-size: 15px;
    background: #d6d4d4;
    border-bottom: 2px solid #ECEBEB;
    line-height: 30px;
    padding: 0 6px 0px 0;
    color: #000;
}

.codenews {
    margin-bottom: 10px;
    background: #ccc;
    border-radius: 3px;
    padding: 5px;
    margin-right: 3px;
    display: inline-block;
}


/* category */

.category-list {
    margin-top: 20px;
}

.cat-items {
    line-height: 26px;
}
.items-more ol li {
    border: 1px solid #ccc;
    margin-bottom: 3px;
    padding: 6px 6px 6px 0;
    border-radius: 4px;
    background: #f5f5f5;
}
.items-more ol li a {
    font-family: byekan;
    color: #000;
}
span.item-title {
    padding: 5px 3px 7px 8px;
    border-radius: 4px;
    list-style-type: none !important;
    font-family: byekan;
    margin-bottom: 10px;
    display: block;
}
.items-more h3 {
    display: none;
}


/* contact us */
.contact {
    margin: 20px 0 0 0;
}
.contact h3 {
    font-family: byekan;
    font-size: 17px;
    padding-right: 20px;
    display: none;
}

.contact legend {
    font-family: byekan;
    font-size: 17px;
    display: none;
}

label {
    font-family: byekan, sans-serif;
}

.contact-form {
        padding: 20px;
    border: 1px solid #ccc;
    background: #f7f7f7;
    border-radius: 3px;
    margin-bottom: 19px;
}

.contact-address {
        padding: 20px;
border: 1px solid #dcdada;
    background: #ffffff;
    border-radius: 4px
}

.contact-street {
    font-family: fsan;
    font-size: 15px;
}
.contact span.contact-name {
    font-family: byekan;
}

/* برای ul li */
ul.latestnews a {
    color: #a7a7a7;
    line-height: 26px;
}


/*search */
.search #mod-search-searchword {
    float: right;
    background-color: #004991;
    color: #BADDFF;
    border: none;
    border-radius: 14px;
    text-align: left;
}
.search input.button {
    border: none !important;
    cursor: pointer;
    float: right;
    position: relative;
    top: -30px;
    border-radius: 14px;
    background: url(../images/search.png);
    background-repeat: no-repeat;
    background-position: right;
    height: 13px;
    right: 8px;
}

form#searchForm {
    margin-top: 10px;
}


/*footer*/

.panel-footer {
    text-align: center;
}

/* google map responsive */ 
.map-responsive{
    overflow:hidden;
    padding-bottom:56.25%;
    position:relative;
    height:0;
}
.map-responsive iframe{
    left:0;
    top:0;
    height:100%;
    width:100%;
    position:absolute;
}


/* End Genral Style */

/* Start General Module Style /*
/* visitor */

div#vvisit_counter110 a {
    display: none;
}
.vstats_counter > div.vstats_number {
	float:left;
	color:#000;
}
#vvisit_counter118.vvisit_counter.vacenter > div.vstats_counter {
	height:130px;
}
.vstats_counter > div.vstats_title {
	float:right;
	color:#000;
	text-align:right;
	margin-right:20px;
}
.vstats_counter > div.vstats_icon {
	display:none;
}

/* oghat set */

.module-content.oghat tr {
    font-size: 13px !important;
    line-height: 30px;
    font-family: byekan;
    font-weight: bold;
}

/* acepoll */

.poll h4 {
    font-family: byekan;
    font-size: 14px;
    color: green;
}

/* sp2 news module */

#ns2-171 .ns2-title {
    text-align: center;
}

#ns2-171 .ns2-title a {
    font-size: 11px;
    color: black;
    font-weight: normal;
}

.module-content h4.ns2-title a {
    font-weight: bold !important;
    margin-right: 0 !important;
    font-size: 13px !important;
    font-family: byekan;
}

.module-content h4.ns2-title {
    padding-left: 31px;
}


/* کلاسهای تصحیح شده بوت */
.dl-horizontal dt {
    text-align: right;
        width: 50px;
}
.dl-horizontal dd {
    margin-right: 50px;
}

/* End Genral Module Style */

/* --------------------------
  Icons voor contactformulier
  ---------------------------*/
/* Name */
#jform_contact_name-lbl:before {
  display: inline-block;
  font-family: fontawesome;
  content: "\f007";
  width: 20px;
  color: #0088cc;
}

/* E-mail */
#jform_contact_email-lbl:before {
  display: inline-block;
  font-family: fontawesome;
  content: "\f0e0";
  width: 20px;
  color: #0088cc;
}

/* Subject */
#jform_contact_emailmsg-lbl:before {
  display: inline-block;
  font-family: fontawesome;
  content: "\f02b";
  width: 20px;
  color: #0088cc;
}

/* Message */
#jform_contact_message-lbl:before {
  display: inline-block;
  font-family: fontawesome;
  content: "\f14b";
  width: 20px;
  color: #0088cc;
}

/* E-mail copy */
#jform_contact_email_copy-lbl:before {
  display: inline-block;
  font-family: fontawesome;
  content: "\f0e0";
  width: 20px;
  color: #0088cc;
}

/* Send button */
#contact-form .btn:before {
  display: inline-block;
  font-family: fontawesome;
  content: "\f064";
  width: 20px;
}




/* کلاسهای بوت خودم */
.nrp {
    padding-right: 0 !important;
}
.nlp {
    padding-left: 0 !important;
}
img {
    height: auto;
}
.san {
    font-family: fsan ;
}
.tac {
    text-align: center;
}
.breadcrumb {
    margin-bottom: 10px !important;;
}
.page-header {
    padding-bottom: 0;
    margin: 20px 0 21px;
    border-bottom: 1px solid #eee;
}


/* برای جدول */ 
table.jadval a:link {
	color: #666;
	font-weight: bold;
	text-decoration:none;
}
table.jadval a:visited {
	color: #999999;
	font-weight:bold;
	text-decoration:none;
}
table.jadval a:active,
table.jadval a:hover {
	color: #bd5a35;
	text-decoration:underline;
}
table.jadval {
	font-family:Arial, Helvetica, sans-serif;
	color:#666;
	font-size:12px;
	text-shadow: 1px 1px 0px #fff;
	background:#eaebec;
	border:#ccc 1px solid;

	-moz-border-radius:3px;
	-webkit-border-radius:3px;
	border-radius:3px;

	-moz-box-shadow: 0 1px 2px #d1d1d1;
	-webkit-box-shadow: 0 1px 2px #d1d1d1;
	box-shadow: 0 1px 2px #d1d1d1;
}
table.jadval th {
	padding:21px 25px 22px 25px;
	border-top:1px solid #fafafa;
	border-bottom:1px solid #e0e0e0;

	background: #ededed;
	background: -webkit-gradient(linear, left top, left bottom, from(#ededed), to(#ebebeb));
	background: -moz-linear-gradient(top,  #ededed,  #ebebeb);
}
table.jadval th:first-child {
	text-align: left;
	padding-left:20px;
}
table.jadval tr:first-child th:first-child {
	-moz-border-top-left-radius:3px;
	-webkit-border-top-left-radius:3px;
	border-top-left-radius:3px;
}
table.jadval tr:first-child th:last-child {
	-moz-border-top-right-radius:3px;
	-webkit-border-top-right-radius:3px;
	border-top-right-radius:3px;
}
table.jadval tr {
	text-align: center;
	padding-left:20px;
}
table.jadval td:first-child {
	padding-left:20px;
	border-left: 0;
}
table.jadval td {
	padding:8px;
	border-top: 1px solid #ffffff;
	border-bottom:1px solid #e0e0e0;
	border-left: 1px solid #e0e0e0;
	border-right: 1px solid #e0e0e0;

	background: #fafafa;
	background: -webkit-gradient(linear, left top, left bottom, from(#fbfbfb), to(#fafafa));
	background: -moz-linear-gradient(top,  #fbfbfb,  #fafafa);
    font-family: fsan ;
}
table.jadval tr.even td {
	background: #f6f6f6;
	background: -webkit-gradient(linear, left top, left bottom, from(#f8f8f8), to(#f6f6f6));
	background: -moz-linear-gradient(top,  #f8f8f8,  #f6f6f6);
}
table.jadval tr:last-child td {
	border-bottom:0;
}
table.jadval tr:last-child td:first-child {
	-moz-border-bottom-left-radius:3px;
	-webkit-border-bottom-left-radius:3px;
	border-bottom-left-radius:3px;
}
table.jadval tr:last-child td:last-child {
	-moz-border-bottom-right-radius:3px;
	-webkit-border-bottom-right-radius:3px;
	border-bottom-right-radius:3px;
}
table.jadval tr:hover td {
	background: #f2f2f2;
	background: -webkit-gradient(linear, left top, left bottom, from(#f2f2f2), to(#f0f0f0));
	background: -moz-linear-gradient(top,  #f2f2f2,  #f0f0f0);	
}
table.jadval caption {
    text-align: right;
    font-family: fsan;
    font-size: 17px;
    border: 1px solid #ccc;
    background: #dadada;
    padding: 4px 7px 4px 0;
}
/* انتهای جدول */

/* برای حال بلاگی مطالب */

.page-header h2 {
    font-size: 20px;
    font-family: fsan;
}
.page-header h2 a {
    color: black;
}
.each-item {
    background: #fff;
    margin-bottom: 10px;
    padding: 5px 3px 5px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
    border-radius: 12px;
    height: 190px;
}
.img-tyina img {
    height: 178px;
    width: 270px;
    border-radius: 7px;
    box-shadow: 1px 2px 3px #ccc;
}
.each-item .img-source {
    width: 32px;
    height: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.35);
    border-radius: 16px;
}

.abazdid {
    font-family: fsan;
    font-size: 10px;
    font-weight: bold;
    margin-right: -7px;
    margin-top: 38px;
}
dd.createdby, dd.category-name, dd.published, dd.hits {
    font-family: fsan;
}
.item-page {
    border-radius: 10px;
    box-shadow: 1px 1px 3px #f3f2f2;
    padding: 13px;
    border: 1px solid #e2e2e2;
}



/* شرط وسط چین در اندازه های مختلف بوت */
/* Small devices (tablets, 768px and up) */
@media (max-width: 768px) {
    .tax {
        text-align: center;
    }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .text-justify-md {
        text-align: justify;
    }
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .text-justify-lg {
        text-align: justify;
    }
}