@font-face {
  font-family: IRMitra;
  font-weight: normal;
  src: url('IRMitra.ttf') format('truetype');
}
@font-face {
  font-family: IRMitra;
  font-weight: bold;
  src: url('IRMitraBd.ttf') format('truetype');
}
@font-face {
  font-family: BMitra;
  font-weight: normal;
  src: url('BMitra.ttf') format('truetype');
}
/* bootstrap */
body {
  direction: rtl;
  font-family: IRMitra, Arial;
}
h1,
h2,
h3,
h4 {
  font-family: IRMitra, Arial;
  font-weight: bold;
}
.rtl {
  font-family: BMitra, Arial;
  line-height: 28px;
}
body,
p,
li,
td {
  font-size: 18px;
  line-height: 1.5;
}
[class*="col-"] {
  float: right;
}
.glyphicon {
  top: 5px;
}
.btn .glyphicon {
  font-size: 90%;
  top: 4px;
  margin-left: 2px;
}
.tooltip {
  font-size: 15px;
  line-height: 20px;
  text-shadow: 0px 1px 1px #ccc;
}
.form-control,
.btn {
  font-size: 17px;
}
.btn {
  padding: 2px 10px 3px;
}
.form-control {
  padding: 6px 10px 4px;
}
/* footer */
html,
body {
  height: 100%;
}
.wrap {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 auto -60px;
}
.footer,
.push {
  height: 60px;
}
.footer hr {
  margin: 18px 0 5px;
  border-top: 1px solid #ccc;
}
.footer p {
  font-size: .9em;
  color: #999;
  padding-bottom: 10px;
  margin: 0 10px;
}
/* menbar */
body {
  background: #f5f5f5;
}
.container {
  max-width: 830px;
}
.box {
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0px 1px 5px #aaa;
}
.image img {
  box-shadow: 0px 1px 5px #555;
}
.header {
  padding-top: 40px;
  padding-bottom: 10px;
  margin-bottom: 40px;
}
.header img {
  margin-left: 20px;
  margin-bottom: 30px;
  float: right;
  width: 150px;
  height: 150px;
  box-shadow: 0px 1px 5px #999;
}
.header h1 {
  margin-top: 10px;
  font-size: 30px;
  text-shadow: 0px 1px 2px #aaa;
}
.header p {
  margin-bottom: 5px;
}
.header p a {
  text-decoration: none;
  color: #777;
  text-shadow: 0px 1px 2px #aaa;
}
.header p a:hover {
  color: #333;
}
.header .url {
  font-family: serif;
  font-size: 90%;
}
.container > h3 {
  margin-top: 40px;
}
.content {
  padding: 20px 20px 10px;
}
.content p {
  text-align: justify;
}
.content h1 {
  font-size: 24px;
  padding-bottom: 0.2em;
  border-bottom: 1px solid #ddd;
}
.content h2 {
  font-size: 20px;
  line-height: 1.5;
}
.content h3 {
  font-size: 16px;
  line-height: 1.5;
}
.content em {
  font-style: normal;
  color: #777;
  text-shadow: 0px 1px 2px #aaa;
}
.sokhanrani-list {
  padding: 10px;
}
.sokhanrani-list > div {
  padding: 0 5px;
  border-bottom: 1px solid #ccc;
}
.sokhanrani-list > div:last-child {
  border: none;
}
.sokhanrani-list > div:hover {
  background: #fff;
}
.sokhanrani-list > div:hover .glyphicon {
  color: #777;
}
.sokhanrani-list .glyphicon:first-child {
  margin-left: 5px;
}
.sokhanrani-list .glyphicon {
  color: #ccc;
}
.sokhanrani-list .glyphicon-align-justify {
  float: left;
  font-size: 80%;
  margin-top: 2px;
  cursor: default;
}
.sokhanrani-list .date {
  margin-right: 10px;
  line-height: 20px;
  margin-top: 5px;
  float: left;
  color: #555;
}
.sokhanrani-list a {
  color: #555;
}
.sokhanrani-list a:hover {
  color: #333;
}
.collection-grid a {
  text-decoration: none;
  color: #555;
}
.collection-grid img {
  width: 128px;
  height: 128px;
  float: right;
  margin-left: 20px;
}
.collection-grid .col-md-6 {
  padding-top: 10px;
  padding-bottom: 10px;
}
.collection-grid .collection {
  height: 128px;
}
.collection-grid .collection h4 {
  padding-top: 7px;
  margin-bottom: 7px;
}
.collection-grid .collection:hover {
  background: #fff;
}
form .ltr {
  direction: ltr;
}
form label {
  font-size: 90%;
}
form #moratab {
  position: relative;
}
form #moratab pre {
  font-family: IRMitra;
}
form select[name=collection] {
  font-size: 120%;
  height: 44px;
}
form .nav-pills li a {
  color: #fff;
  padding: 2px 7px;
  margin-bottom: -5px;
  margin-right: 5px;
}
form .nav-pills li a:hover {
  color: #428bca;
  background-color: #fff;
}
form .nav-pills li.active a {
  border-bottom: 2px solid #fff;
}
form .tab-content {
  min-height: 65px;
}
form .panel-footer {
  font-size: 95%;
  padding: 7px 15px;
}
form .image-select {
  float: right;
  position: relative;
  height: 200px;
  margin: -15px;
  margin-left: 15px;
}
form .image-select img {
  height: 100%;
}
form .image-select span {
  position: absolute;
  width: 100%;
  bottom: 0;
  text-align: center;
  padding: 2px 5px 0px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
}
form input[type=file] {
  margin-top: 10px;
}
.tags {
  margin: 8px 0;
}
.tags li {
  display: inline-block;
  border-bottom: 2px solid #ccc;
  background: #eee;
  margin-left: 10px;
  padding: 1px 5px;
  line-height: 1;
}
