﻿/*====== responsive syle - n.ghelichkhani - 1396-12-13 ======*/
/*====== simple mode =====*/
.dp-labelStyle {
    color: #31708f !important;
}
/* doc's box */
.dp-documents.box {
    margin-bottom: 15px;
    /*border:solid 1px red;*/
}
/* doc's format image */
.dp-documents.ext-img {
    float: right;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 35px;
}
/* title */
.dp-documents.title {
    float: right;
    font: 17px/29px BYekan,regular,sans-serif;
    margin: 0;
    width: calc(100% - 35px);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding-right: 5px;
}

    .dp-documents.title a {
        display: inline-block;
        float: right;
        width: calc(100% - 15px);
        color: #333;
        -webkit-transition: all ease .3s;
        -moz-transition: all ease .3s;
        -ms-transition: all ease .3s;
        -o-transition: all ease .3s;
        transition: all ease .3s;
    }
/* small title */
.DocSmallTitle {
    font: 15px/35px BYekan,regular,sans-serif;
    color: #333 !important;
    -webkit-transition: all ease .3s;
    -moz-transition: all ease .3s;
    -ms-transition: all ease .3s;
    -o-transition: all ease .3s;
    transition: all ease .3s;
}

    .DocSmallTitle:hover, .DocSmallTitle:focus {
        color: darkred !important;
    }
/* details row */
.dp-documents.details {
    background-color: #f1f1f1;
    margin: 10px 1%;
    padding: 5px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
/* date and file number and size*/
.dp-documents.date, .dp-documents.file-num, .dp-documents.file-size, .dp-documents.abst-btn {
    font: 13px BYekan,regular,sans-serif;
    color: #333;
    margin: 0 5px 5px 5px;
    display: inline-block;
}

    .dp-documents.date strong, .dp-documents.file-num strong, .dp-documents.file-size strong,
    .dp-documents.abst-btn strong {
        font-weight: normal !important;
    }

        .dp-documents.date strong i,
        .dp-documents.file-num strong i,
        .dp-documents.file-size strong i {
            margin-left: 5px;
        }

        .dp-documents.file-num strong i {
            font-size: 8px;
        }

.dp-documents.abst-btn {
    display: inline-block;
    border: solid 1px #31708f;
    float: left;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 5px 10px;
    -webkit-transition: all ease .4s;
    -moz-transition: all ease .4s;
    -ms-transition: all ease .4s;
    -o-transition: all ease .4s;
    transition: all ease .4s;
    border-radius: 4px;
}

    .dp-documents.abst-btn i {
        margin-left: 3px;
    }

    .dp-documents.abst-btn:hover {
        background-color: #31708f;
        color: #fff !important;
    }

        .dp-documents.abst-btn:hover strong {
            color: #fff !important;
        }
/* abstract */
.dp-documents.abstract {
    display: none;
    font: 13px/24px BYekan,regular,sans-serif;
    word-spacing: 1px;
    text-align: justify;
    color: #444;
    margin-top: 20px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 10px;
}

    .dp-documents.abstract > span {
        display: block;
    }

/*===== detail mode =====*/
/* box */
.dp-detailDoc.box {
    padding: 10px 0;
    /*border:solid 1px #ccc;*/
    margin-bottom: 10px;
}
/* image */
.dp-detailDoc.image {
    float: right;
    width: 100px;
    padding: 10px 0;
    -webkit-transition: all ease .3s;
    -moz-transition: all ease .3s;
    -ms-transition: all ease .3s;
    -o-transition: all ease .3s;
    transition: all ease .3s;
}

    .dp-detailDoc.image img {
        display: block;
        width: 100%;
        -webkit-transition: all ease .3s;
        -moz-transition: all ease .3s;
        -ms-transition: all ease .3s;
        -o-transition: all ease .3s;
        transition: all ease .3s;
    }
/* info */
.dp-detailDoc.info {
    float: right;
    width: calc(100% - 100px);
    -webkit-transition: all ease .3s;
    -moz-transition: all ease .3s;
    -ms-transition: all ease .3s;
    -o-transition: all ease .3s;
    transition: all ease .3s;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
/* title */
.dp-detailDoc.title {
    font: 19px/29px BYekan,regular,sans-serif;
    color: #333;
}

    .dp-detailDoc.title a {
        display: inline-block;
        color: #333;
        float: right;
        width: calc(100% - 15px);
        -webkit-transition: all ease .3s;
        -moz-transition: all ease .3s;
        -ms-transition: all ease .3s;
        -o-transition: all ease .3s;
        transition: all ease .3s;
    }

        .dp-detailDoc.title a:hover, .dp-documents.title a:hover {
            color: darkred;
        }

    .dp-detailDoc.title i[class^="uk-icon-"], .dp-documents.title i[class^="uk-icon-"] {
        display: inline-block;
        color: darkred;
        width: 15px;
        line-height: 32px;
        float: right;
        text-align: center;
    }

/* subject and date and number and size */
.dp-detailDoc.subject, .dp-detailDoc.date,
.dp-detailDoc.number, .dp-detailDoc.size {
    font: 13px BYekan,regular,sans-serif;
    color: #666;
}

.dp-detailDoc.subject {
    font-size: 14px;
    margin-bottom: 5px;
}

.dp-detailDoc.date strong, .dp-detailDoc.number strong, .dp-detailDoc.size strong {
    font-weight: normal !important;
}

    .dp-detailDoc.subject i, .dp-detailDoc.date strong i, .dp-detailDoc.number strong i,
    .dp-detailDoc.size strong i {
        vertical-align: middle;
        margin-left: 5px;
    }

    .dp-detailDoc.number strong i {
        font-size: 7px;
    }
/* abstract */
.dp-detailDoc.abstract {
    font: 13px/21px BYekan,regular,sans-serif;
    color: #555;
    text-align: justify;
    word-spacing: 1px;
    margin-top: 10px;
    background-color: #f1f1f1;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 96%;
    margin: 10px auto;
    -webkit-transition: all ease .3s;
    -moz-transition: all ease .3s;
    -ms-transition: all ease .3s;
    -o-transition: all ease .3s;
    transition: all ease .3s;
}

    .dp-detailDoc.abstract > span {
        display: block;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

        .dp-detailDoc.abstract > span > p {
            padding: 10px;
            -webkit-box-sizing: border-box;
            -moz-box-sizing: border-box;
            box-sizing: border-box;
        }
/* rating */
.dp-detailDoc.rating {
    font: 13px BYekan,regular,sans-serif;
    color: #555;
}

.dp-detailDoc.rating > [id$="RatingUpdatePanel"] {
    float: left;
    padding-left: 10px;
}

.dp-detailDoc.rating .rateStarsRight {
    float: left
}

/* tag */
.dp-article.tag{
    padding:10px 1%;
    box-sizing:border-box;
}
.dp-article.tag > label {
    font: 13px iranYekan,regular,sans-serif;
    color: #fff;
    display: inline-block;
    padding: 5px 10px;
    background-color: #31708f;
    box-sizing: border-box;
    width: 90px;
    text-align: center;
    float: right;
}
.dp-article.tag > div{
    width:calc(100% - 90px);
    float:right;
}


/*===== Medias =====*/
@media only screen and (max-width : 768px) {
    .dp-article.tag > div{
        width:100%;
        float:none;
    }
}
@media only screen and (max-width:600px) {
    /* simple mode */
    .dp-documents.date, .dp-documents.file-num,
    .dp-documents.file-size,
    .dp-documents.abst-btn {
        display: block;
    }
    /* detail mode*/
    .dp-detailDoc.image {
        width: 50px;
    }

    .dp-detailDoc.info {
        width: calc(100% - 50px);
    }

    .dp-detailDoc.title {
        font-size: 18px;
    }
}

@media only screen and (max-width:490px) {
    .dp-detailDoc.date > span {
        display: block;
    }
}

@media only screen and (max-width:340px) {
    .dp-detailDoc.image {
        display: block !important;
        float: none;
        clear: both;
        margin: 0 auto;
    }

    .dp-detailDoc.info {
        float: none;
        clear: both;
        width: 100%;
    }

    .dp-detailDoc.abstract {
        width: 100%;
    }
}
