/* Fonts */
@font-face {
    font-family: Vazir;
    src: url("/style/fonts/vazir.ttf");
}



/* Main Layout */
* {
    /*box-sizing: border-box;*/
    direction: rtl;
}

body {
    font-family: Vazir;
    font-size: 14px;
    /*background-color: #d5ddff;*/
}

#wrapper {
    /*margin: auto;*/
    /*width: 97vw;*/
    /*border: 1px solid blue;*/
    /*text-align: center;*/
}

header {
    /*margin: auto;*/
    /*width: 97vw;*/
    /*height: 60px;*/
    /*line-height: 60px;*/
    /*border: 0px solid red;*/
    /*font-size: 20px;*/
    /*font-weight: bold;*/
    /*background-color: white;*/
    /*border-top-right-radius: 10px;*/
    /*border-top-left-radius: 10px;*/
}

.header_button {
    display: block;
    margin-bottom: 3px;
    padding-top: 4px;
    padding-bottom: 4px;
}

@media all and (max-width: 600px) {
    header {
        /*height: 130px;*/
    }
    .header_logo {
        /*display: block;*/
        /*margin-bottom: 1px;*/
        /*padding-top: 2px;*/
        /*padding-bottom: 2px;*/
    }
    .header_buttons {
        /*display: block;*/
        /*margin-bottom: 1px;*/
        /*padding-top: 2px;*/
        /*padding-bottom: 2px;*/
    }
}

nav {
    /*margin: auto;*/
    /*width: 97vw;*/
    /*height: 50px;*/
    /*line-height: 40px;*/
    /*border: 0px solid blue;*/
    background-color: #1434A4;
    /*padding: 5px;*/
}

#middle {
    /*margin: auto;*/
    /*width: 97vw;*/
    /*border: 1px solid goldenrod;*/
    /*background-color: white;*/
    /*padding: 5px 0;*/
    /*overflow: auto;*/
}

#middle h1 {
    font-size: 20px;
}
/*TODO: Fix the clearfix conflict problem between footer and paginator links*/
/*#middle::after {*/
/*    content: "";*/
/*    clear: both;*/
/*    display: table;*/
/*}*/


#content_full {
    /*float: right;*/
    /*margin-right: 5px;*/
    /*width: 96vw;*/
    /*min-height: 200px;*/
    /*border: 1px solid orange;*/
    /*padding: 10px 15px;*/
    /*text-align: right;*/
}

#content_part {
    /*float: right;*/
    /*margin-right: 5px;*/
    /*width: 76.5vw;*/
    /*min-height: 200px;*/
    /*border: 1px solid orange;*/
    /*padding: 10px 15px;*/
    /*text-align: right;*/
}

#content_blog {
    float: right;
    margin-right: 5px;
    width: 57vw;
    min-height: 200px;
    border: 1px solid orange;
    padding: 10px 15px;
    text-align: right;
}

aside {
    /*float: right;*/
    /*margin-right: 5px;*/
    /*width: 19vw;*/
    /*min-height: 200px;*/
    /*border: 1px solid green;*/
}

#content > .tile_block {
    float: right;
    margin: 5px;
    width: 24vw;
    height: 20vw;
    border: 1px solid green;
}

#content > .tile_block > a > img {
    margin: 5px;
    max-width: 20vw;
    max-height: 15vw;
    border: 1px solid green;
}

#content > .horizontal_block {
    margin: 5px;
    width: 99%;
    height: 150px;
    border: 1px solid purple;
}


#content_full > .tile_block {
    float: right;
    margin: 5px;
    width: 24vw;
    height: 20vw;
    border: 1px solid green;
}

#content_full > .tile_block > a > img {
    margin: 5px;
    max-width: 20vw;
    max-height: 15vw;
    border: 1px solid green;
}

#content_full > .horizontal_block {
    margin: 5px;
    width: 99%;
    height: 150px;
    border: 1px solid purple;
}


#content_part > .tile_block {
    float: right;
    margin: 5px;
    width: 24vw;
    height: 20vw;
    border: 1px solid green;
}

#content_part > .tile_block > a > img {
    margin: 5px;
    max-width: 20vw;
    max-height: 15vw;
    border: 1px solid green;
}

#content_part > .horizontal_block {
    margin: 5px;
    width: 99%;
    height: 150px;
    border: 1px solid purple;
}


#breadcrump {
    max-width: 100%;
    text-align: right;
    font-size: 12px;
    border-bottom: 1px solid #a0aec0;
    margin-bottom: 10px;
    padding: 5px;
}

footer {
    /*margin: auto;*/
    /*width: 97vw;*/
    /*height: 30px;*/
    /*line-height: 30px;*/
    /*border: 1px solid red;*/
    /*border-bottom-right-radius: 10px;*/
    /*border-bottom-left-radius: 10px;*/
    /*background-color: white;*/
    /*font-size: smaller;*/
}

footer .social_logo {
    height: 24px;
    width: 24px;
}

article {

}


article img{
    max-width: 100%;
    max-height: 100%;
}

p {

}


/* Links */
a {
    text-decoration: none;
}

a:visited {

}

a:hover {

}

a:active {

}


#message_success {
    /*width: 60vw;*/
    /*margin: auto;*/
    /*margin-bottom: 10px;*/
    /*padding: 5px;*/
    /*color: green;*/
    /*background-color: #52ff96;*/
    /*border: 1px solid #078b0c;*/
    /*border-radius: 10px;*/
}

#message_error {
    /*width: 60vw;*/
    /*margin: auto;*/
    /*margin-bottom: 10px;*/
    /*padding: 5px;*/
    /*color: red;*/
    /*background-color: #ffc497;*/
    /*border: 1px solid #ff5a49;*/
    /*border-radius: 10px;*/
}

#search_list_form {
    border: 1px solid blue;
    display: none;
    transition: height 2s;
}

#search_list_icon_open {
    display: block;
}

#search_list_icon_close {
    display: none;
}

article ul {
    list-style: none;
}


article ul li {
    margin-bottom: 7px;
}

article ul li:before {
    content: '\2714     ';
}


h1 {
    font-size: 30px;
    font-weight: bold;
}

.social_share {
    text-align: center;
    padding: 5px 0 5px 0;
    border: 1px solid #d2d9fc;
    width: 100%;
    font-size: 12px;
}

.section_title {
    font-size: 20px;
}

.home_articles_list {

}

.home_articles_list h3 {
    display: inline;
    font-size: 14px;
}

.article_grid_box {

}

.article_grid_box h2 {
    font-size: 20px;
    font-weight: bold;
}





.header_user_menu {
    text-align: right;
}

.header_slogan {
    max-width: 90%;
}

.footer_description {
    text-align: justify;
}

.clear_both {
    clear: both;
}


.poll_question{
    text-align: right;
    font-weight: bold;
    height: 40px;
    line-height: 40px;
}

.poll_answer {
    margin-right: 20px;
    text-align: right;
    height: 30px;
    line-height: 30px;
}

.poll_answer input[type='radio'] {
    margin: 0 5px 0 5px;
}

.poll_reply {
    margin-right: 20px;
    text-align: right;
    height: 30px;
    line-height: 30px;
    color: blue;
    font-style: italic;
}

/************ NEW  STYLES **************/
/************* Top Nav Mneu *************/
.topnav_item {
    color: white;
    font-weight: bold;
}

.topnav_child {
    text-align: right;
    background-color: #0a58ca;

}

.topnav_child a {
    color: white;
}

.side_menu {
    /*border: 1px solid gray;*/
    margin-bottom: 10px;
}

.side_menu_title {
    border: 0px solid gray;
    padding-right: 10px;
    font-weight: bold;
    height: 40px;
    line-height: 40px;
    background-color: #1434A4;
    color: white;
    text-align: center;
}

.side_menu_item {
    border-bottom: 1px solid gray;
    padding-right: 10px;
    /*height: 35px;*/
    line-height: 35px;
}

.side_menu_item h3 {
    display: inline;
    font-size: 13px;
}


/*************** Form Tables *****************/
.form_table {
    border-collapse: collapse;
    margin: auto;
}

.form_table th {
    background-color: #ADD8E6;
    border: 1px solid #87CEEB;
    height: 40px;
    padding: 0 5px 0 5px;
}

.form_table th[class='title'] {
    background-color: #1434A4;
    height: 40px;
    text-align: center;
    color: white;
    padding: 0 20px 0 20px;
}

.form_table tr:nth-child(odd) {
    background-color: #dfdffb;
}

.form_table tr:nth-child(even) {
    background-color: #F0FFFF;
}

.form_table td {
    font-size: 13px;
    border: 1px solid #CCCCFF;
    height: 35px;
    padding: 0 10px;
}

.form_table td[class='label'] {
    font-weight: bold;
    padding: 0px 20px;
}

.form_table td[class='field'] {
    font-weight: normal;
    padding: 0px 20px;
    text-align: right;
}

.form_table input {
    font: normal 13px Vazir;
}

.form_table select {
    font: normal 13px Vazir;
}

.form_table select[id="serials"] {
    width: 400px;
    height: 300px;
}

.form_table button {
    font: normal 13px Vazir;
    padding: 1px 20px;
}

.form_table input[name='title'] {
    width: 300px;
}

.form_table input[name='list_order'] {
    width: 100px;
}

.form_table textarea {
    width: 400px;
    height: 100px;
    font: normal 13px Vazir;
}


/*************** List Tables *****************/
.list_table {
    border-collapse: collapse;
    margin: auto;
}

.list_table th {
    background-color: #ADD8E6;
    border: 1px solid #87CEEB;
    height: 40px;
    text-align: center;
    padding: 5px 15px 5px 15px;
}

.list_table th[class='title'] {
    background-color: #1434A4;
    height: 40px;
    color: white;
}

.list_table tr:nth-child(odd) {
    background-color: #dfdffb;
}

.list_table tr:nth-child(even) {
    background-color: #F0FFFF;
}

.list_table td {
    font-size: 13px;
    border: 1px solid #CCCCFF;
    height: 35px;
    /*margin: 0 5px;*/
    text-align: center;
}

.list_table button {
    font: normal 13px Vazir;
    padding: 1px 20px;
}

.cart_count {
    background-color: yellow;
    color:red;
}


#filters_box {
    display: none;
    margin: 5px 10px 0 10px;
    padding: 10px 15px 10px 15px;
    border: 1px solid #a0aec0;
    border-radius: 5px;
    text-align: right;
}

.filter_group {
    height: 100%;
    display: inline-block;
    vertical-align: top;
    margin: 0 0 0 10px;
    border: 1px solid #b1ccdf;
    border-radius: 5px;
    padding: 5px 15px 5px 15px;

}

.filter_title {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
}

.filter_item {
    display: block;
    margin-bottom: 10px;
}

#filters_box_icon_open {
    display: inline;
}

#filters_box_icon_close {
    display: none;
}
