@import "fontiran.css";

a {
    text-decoration: none;
    color: #000000;
    -webkit-transition: all 0.4s ease-out;
    -moz-transition: all 0.4s ease-out;
    -o-transition: all 0.4s ease-out;
    transition: all 0.4s ease-out;
    outline: none;
}

a:link, a:visited {
    text-decoration: none;
}

a:link:active, a:visited:active {
    text-decoration: none;
}

a:hover {
    color: #3635A6;
    outline: none;
    text-decoration: none;
}

*, *:before, *:after {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

.clearfix::after { /* For modern browsers */
    content: "";
    display: table;
    clear: both;
}

.clearfix { /* For IE 6/7 (trigger hasLayout) */
    zoom: 1;
}

::selection {
    background: lightblue;
}

::-moz-selection {
    background: lightblue;
}

body {
    position: relative;
    font-family: 'IRANSans', Tahoma, sans-serif;
    font-size: 0.8em;
    line-height: 1.5em;
    color: #474747;
    text-rendering: optimizelegibility;

    /* Bootstrap 4*/
    direction: rtl;
    text-align: right;
}

/**
 * Pager
 */
#pager {
    margin-top: 2rem;
}
#pager ul {
    margin: 0;
    padding: 0;
}
#pager ul li {
    list-style: none;
}
#pager ul li a {
    border: none;
    background-color: #f0f0f0;
    border-radius: 0;
    margin: 0 0.2rem;
    color: #555555;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}
#pager ul li.active a {
    background-color: #eead00;
    color: #FFFFFF;
}
#pager ul li:hover a {
    background-color: #cccccc;
    color: #FFFFFF;
}
#pager ul li.previous,
#pager ul li.next {
    width: 70px;
    text-align: center;
}
#pager ul li.previous a,
#pager ul li.next a {
    background-color: #999999;
    color: #FFFFFF;
}
/**
 * Comments
 */
#comments {
    overflow: hidden;
}
#comments h2.header {
    font-size: 1.5em;
    font-family: 'IRANSans-Bold';
    line-height: 1.3em;
    margin: 0 0 15px;
    position: relative;
}
#comments h2.header::before {
     content: '';
     width: 100%;
     height: 25px;
     position: absolute;
     top: 0;
     right: 8%;
     background: #cacaca url(../images/header-pattern.png) repeat;
}
#comments .content ul {
    margin: 0;
    padding: 0;
}
#comments .content ul li {
    list-style: none;
    color: #777777;
    position: relative;
    text-indent: 12px;
}
#comments .content ul li::before {
    content: '';
    width: 6px;
    height: 6px;
    position: absolute;
    top: 5px;
    right: 0;
    background-color: #f79b0a;
    border-radius: 50%;
}
#comments .content form {
    margin-top: 15px;
}