.panel-primary > .panel-heading {
    color: #681378;
    background-color: #fff;
    border-color: #feffbd;
}
.panel-primary {
    border-color: #feffbd;
}
.panel-heading a{
    color: #7f015d;
}
.news {
    background-color: rgba(255,255,255,0.90);
    background-image: url(../images/background/b1.png);
    background-repeat: repeat;
}
/*.latest-news{
    max-height: 200px;
    overflow: hidden;
}*/
.latest-news a {
    color: #8600a2;
    font-size: 14px;
    display: block;
    float: right;
    margin-bottom: 10px;
}
.latest-news a:hover {
    opacity: 0.8;
}
.text-news {
	display: table-cell;
	padding-right: 10px;
    font-family: iran-sans;
    text-align: justify;
}
.text-news h3{
	min-height: 25px;
    margin: 0;
}
.text-news div {
    text-align: right;
    margin-bottom: 8px;
    font-size: 12px;
    color: #777;
    direction: rtl;
}
.text-news div i {
    padding-left: 3px;
}
.text-news a {
    display: block;
    font-weight: bold;
    margin-bottom: 10px;
    line-height: 1.7em;
    height: 25px;
    overflow: hidden;
}
.text-news p{
	font-size: 12px;
	line-height: 1.7em;
}
.detailNews{
    margin-top: 10px;
}
.detailNews .title h2 span{
    width: 315px;
    font-size: 26px;
    text-align: center;
}
.detailNews span{
    float: left;
}
.detailNews .main{
    padding: 30px;
}
.detailNews .textNews{
    text-align: justify;
    font-family: tunisialt;
}
.detailNews .textNews h4{
    line-height: 1.6em;
    font-size: 20px;
    color: #8600a2;
    margin-bottom: 32px;
}
.detailNews .textNews p{
    font-family: IRAN-sans;
    font-size: 13px;
    line-height: 2em;
}
.detailNews .imageNews{
    float: left;
    margin: 0 20px 20px 0;
}
/*..............User Comments..............*/
.userComments-list{
    border-color: #7f015d;
}
.userComments-list .panel-heading {
    color: #feffcc;
    background-color: #7f015d;
    border-color: #7f015d;
}
.userComments-list .panel-heading h1 i{
    margin-left: 5px;
}
.userComments-list .panel-body{
    background-image: url(../images/background/b1.png);
    background-repeat: repeat;
}
.userComments-list .panel-title{
    padding: 5px;
}
.addComment input {
    height: 40px;
    font-size: 13px;
}
.user-comment-container{
    -webkit-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
    -moz-box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.15);
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    margin: 30px 0;
}
.headerComment{
    padding: 0 15px;
    height: 60px;
    line-height: 60px;
    background: #f5f6f7;
}
.headerComment .user-info i{
    position: relative;
    top: 12px;
    float: right;
    font-size: 30px;
    color: #7f015d;
}
.headerComment .user-info h5{
    direction: rtl;
    color: #4d4d4d;
    float: right;
    font-size: 16px;
    line-height: 19px;
    margin-right: 23px;
    margin-top: 12px;
}
.headerComment .user-info h5 time{
    display: block;
    text-align: right;
    color: #919191;
    font-size: 10px;
}
.userComments-list ul{
    padding-left: 0;
}
.userComments-list ul li{
    list-style: none;
}
.bodyComment{
    background: #fafbfc;
    padding: 20px;
    border: 1px solid #edeeef;
    text-align: right;
    direction: rtl;
}
.bodyComment p{
    text-align: justify;
    direction: rtl;
    line-height: 2em;
    color: #666;
}
.userComments-list legend{
    margin-bottom: 0;
    border-bottom: 2px solid #69004c;
}
/*************WORKS**************/
.works .thumbnail .caption{
    height: 220px;
}
.works .thumbnail img {
    width: 100%;
    height: 240px;
}
.works .thumbnail p{
    height: 80px;
}
.works .thumbnail .caption h5{
    height: 25px;
}
.works .thumbnail .caption a{
    width: 100%;
    direction: rtl;
    margin-bottom: 5px;
}
.modal-header {
    border-bottom: 2px solid #98006f;
    background-color: #d2d2d2;
}
.modal-title {
    color: #7f015d;
}
button.close{
    float: left;
}
.modal-footer {
    border-top: 2px solid #98006f;
    background-color: #d2d2d2;
}
/*************DOWNLOAD**************/
.downloadsArchive .btn{
    float: left;
    margin-right: 5px;
    height: 36px;
}
.downloadsArchive .btn-primary{
    color: #fff;
}
.downloadsArchive .btn-default{
    color: #333;
}
.downloadsArchive .latest-news{
    border: 1px solid #ccc;
    background: #fdf5ff;
    padding: 15px;
}
/*************responsive**************/
@media (min-width: 500px){
    .latest-news{
        height: 124px;
        max-height: 162px;
        overflow: hidden;
    }
    .downloadsArchive .latest-news {
        height: 100%;
        max-height: 198px;
    }
    .downloadsArchive .text-news p{
        height: 60px;
        overflow: hidden;
    }
}
@media (max-width: 499px){
    .latest-news a{
        float: none;
    }
    .latest-news a.img-news{
        text-align: center;
    }
    .text-news a {
        overflow: visible;
        height: auto;
    }
    .text-news{
        padding-right: 0;
    }
    .padding{
        padding-right: 0;
        padding-left: 0;
    }
}
@media (max-width: 295px){
    .addComment .btn{
        width: 100%;
        margin-bottom: 8px;
    }
}
@media (max-width: 767px){
    .detailNews .imageNews{
        float: none;
        margin: auto;
    }
    .detailNews .textNews h4{
        margin-top: 10px;
    }
    .works .thumbnail img {
        width: 240px;
        height: 220px;
    }
}