﻿body {
    background: rgb(136, 136, 241);
}

.center {
    text-align: center;
}

img#logo {
    width: 150px;
    margin: 5px auto;
    padding-left: 40px;
}

div#topright {
    direction: rtl;
    padding: 20px 0;
}

    div#topright a img {
        width: 25px;
    }

div#topleft {
    direction: rtl;
    position: static;
    padding: 20px 0;
}

div#latest-news {
    text-align: center;
}

    div#topleft input[type="text"] {
        border-radius: 10px;
        padding: 1px 5px 1px 30px;
        width: 130px;
        height: 21px;
        direction: rtl;
        margin: 0 60px 0 0;
    }

    div#topleft input[type="submit"] {
        border-radius: 10px 0 0 10px;
        height: 24px;
        margin: 0 -25px 0 0;
        position: absolute;
        background-image: url('Assets/img/glyphicons-halflings.png');
        display: inline-block;
        width: 20px;
        background-position: -43px 5px;
}

    div#topleft i {
        background-image: url(Assets/img/glyphicons-halflings.png);
        display: inline-block;
        width: 14px;
        height: 14px;
        background-position: -48px -1px;
    }

img#body-img {
    width: 940px;
}

div.site-middle-part {
    background-color: #FCFCFC;
    border-bottom: 1px solid #BBBBBB;
    border-radius: 5px 5px 5px 5px;
    padding: 5px;
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 250, .85);
    -moz-box-shadow: 0 0 20px rgba(0, 0, 250, .85);
    box-shadow: 0 0 20px rgba(0, 0, 250, .85);
    margin-bottom: 10px;
}

div.site-footer-part {
    border-bottom: 1px solid #BBBBBB;
    border-radius: 5px 5px 0 0;
    padding: 5px;
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 250, .85);
    -moz-box-shadow: 0 0 20px rgba(0, 0, 250, .85);
    box-shadow: 0 0 20px rgba(0, 0, 250, .85);
    direction: rtl;
}

div.more-pad {
    padding: 15px 0;
}

div#img-container {
    padding: 5px;
    text-align: right;
}

div#topred {
    background: #990000;
    height: 6px;
    margin-bottom: 10px;
}

div#footer {
    padding-top: 10px;
    background-color: rgba(34, 34, 34, 0.9);
    color: #6FF;
    background-image: url(../Images/bgFooter.jpg);
}

    div#footer ul {
        direction: rtl;
        list-style-type: none;
    }

    div#footer div#dp {
        font-size: xx-small;
        padding-top: 35px;
        text-align: center;
        line-height: 10px;
        border-top: 1px dotted lightblue;
        width: 30%;
        padding: 5px 50px 10px 50px;
        margin: 100px auto 0 auto;
    }

        div#footer div#dp > div {
            float: left;
            width: 50%;
        }

div#desc-edu {
    float: right;
    width: 40%;
    text-align: justify;
}

p#p-enamad {
    font-weight: 100;
    font-family: Tahoma;
    font-size: xx-small;
    margin: 5px auto;
    text-align: center;
    width: 100%;
}

fieldset {
    direction: rtl;
    font-family: Tahoma;
    border: 1px solid lightgray;
    border-radius: 5px 5px 5px 5px;
    font-size: 12px;
    padding: 10px;
}

    fieldset legend {
        font-size: 12px;
        border: 1px solid lightgray;
        border-radius: 3px 3px 3px 3px;
        padding: 0 3px;
        background: rgb(225, 222, 252);
    }

div#ctl00_CPHMain_div_news fieldset div {
    overflow: hidden;
    white-space: nowrap;
    -o-text-overflow: ellipsis;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
    float: right;
    direction: rtl;
}

div#ctl00_CPHMain_div_news ul {
    list-style: none;
    width: 90%;
    margin: 0 auto;
}

    div#ctl00_CPHMain_div_news ul li {
        background: url(../Images/o.png) no-repeat right;
        padding: 0 10px;
    }

div#ctl00_CPHMain_div_education {
    width: 60%;
    float: right;
}

    div#ctl00_CPHMain_div_education table {
        width: 90%;
        margin: 0 auto;
    }

        div#ctl00_CPHMain_div_education table tr td {
            text-align: center;
        }

div#ctl00_CPHMain_div_course ul {
    width: 90%;
    margin: 0 auto;
}

    div#ctl00_CPHMain_div_course ul li > div {
        float: right;
    }

.marquee {
    white-space: nowrap;
    overflow: hidden;
    -webkit-marquee-style: scroll;
    marquee-style: scroll;
    width: 100%;
}

div.site-footer-part h2 {
    font-family: 'B Nazanin';
    color: orangered;
}

div.site-footer-part hr {
    border: 1px solid black;
    border-radius: 2px;
    padding: 1px;
    width: 80%;
    text-align: right;
}

div.site-footer-part br {
    border: 1px solid black;
    width: 80%;
}

div.site-footer-part a {
    font-family: Tahoma;
    font-size: 12px;
    color: #6FF;
}

    div.site-footer-part a:hover {
        text-decoration: none;
    }

    div.site-footer-part a div {
        float: right;
        color: #6FF;
    }

        div.site-footer-part a div span {
            color: #6FF;
        }

div.success-msg {
    border: 6px solid lightgreen;
    padding: 5px;
    border-radius: 5px;
    color: green;
}
div.error-msg {
    border: 6px solid red;
    padding: 5px;
    border-radius: 5px;
    color: red;
}

