﻿/*
 >  Dynamic Echo Cycle ©
 >  http://www.daiereh.com
 >  Total IT Solutions
 
 >> version 1.7
 >> date: 2015-01-06

     -> removed:  .DaierehFooterLogo img {width..}
     -> added: .DaierehFooterLogo .link
        
 */

body {
    font-family: Tahoma;
    font-size: 12px;
    margin: 0px;
    padding: 0px;
    /*background-color: #F0F0F0;*/
}

select {
    font-family: inherit;
}

.h1, .h2, .h3, .h4, .h5 {
    font-family: 'B Yekan';
}

.h1 {
    margin: 10px 0px;
}

.h2 {
    font-size: 18px;
    color: #353535;
}

.h3 {
    font-size: 13px;
    font-weight: bold;
}

.hr {
    color: #FFF;
    box-shadow: 0px -1px 1px #FFF;
    height: 3px;
    border-radius: 20px;
    margin: 10px 0;
}

.textLeft {
    text-align: left !important;
}

.textCenter {
    text-align: center !important;
}

.textRight {
    text-align: right !important;
}

.textJustify {
    text-align: justify !important;
}

.textEllipsis {
    overflow: hidden;
    white-space: nowrap;
    -ms-text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

.enText {
    direction: ltr;
    font-family: 'Roboto', Tahoma !important;
}

.faText {
    direction: rtl;
    font-family: 'B Yekan',Tahoma !important;
}

span.faText,
span.enText {
    display: inline-block;
}

.overText {
    vertical-align: super;
    font-size: smaller;
}

.noUserSelect {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.noListstyle {
    list-style: none;
    margin: 0;
    padding: 0;
}

.verticalMiddle:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    margin-right: -1.25em;
}

.verticalMiddle > * {
    display: inline-block;
    vertical-align: middle;
    max-width: 99%;
}

.phoneNumber {
    display: inline-block;
    direction: ltr;
}

.generalbutton {
    font-family: "b yekan";
    font-weight: 100;
    display: inline-block;
    border: 1px solid rgba(0,0,0,0);
    border-radius: 1px;
    background-color: #3F67A7; /*#3E4E68;*/
    font-size: 12px;
    color: #F9F9F9;
    cursor: pointer;
    padding: 4px 20px;
    margin: 4px 0px;
}

    .generalbutton:visited {
        color: #F9F9F9;
    }

    .generalbutton:hover {
        color: #000;
        /*background-color: #5F9BDB;*/
        background-color: #6CB3FF;
    }

/* -------- Header */
header {
    padding: 15px 15px 0px;
    background: #B1C0DA;
}

.mainHeader {
    margin-bottom: 0px;
}

.headermenu {
    min-height: 100px;
    /*max-width: 1280px;*/
    margin: 0 auto;
}

.headerGreeting {
    text-align: right;
    line-height: 20px;
}

    .headerGreeting > div {
        display: inline-block;
        padding: 8px 15px 10px;
        border-radius: 4px;
        background-color: #3F5981;
        color: #FFF;
    }

.headerButtons {
    text-align: left;
}

    .headerButtons a.generalbutton {
        padding: 4px 16px 4px 12px;
    }

        .headerButtons a.generalbutton img {
            vertical-align: middle;
            max-width: 20px;
            margin-right: 5px;
        }

/* -------- End - Header */
.contentBody {
    /*max-width: 1280px;*/
    margin: 0 auto;
    position: relative;
    background-color: #F0F0F0;
}

    .contentBody .mainBg1 {
        position: absolute;
        top: 0px;
        bottom: 0px;
    }

    .contentBody .mainBg1 {
        right: 0px;
        max-width: 300px;
        background-color: #3E4E68;
    }

    .contentBody > * {
        min-height: 600px;
        margin-bottom: 0px;
    }

.h1 {
    font-size: 20px;
}

/* -------- Side Bar */

.sideBar {
    background-color: #3E4E68; /*#34425A;*/
    color: #FFF;
    padding: 15px;
    max-width: 300px;
}

.sideMenuWrapper .decMainList {
    border: 1px solid #878787;
}

.wrapRtl .leftSideBar {
    background-color: #F0F0F0;
}

@media (min-width:1500px) {
    .wrapRtl .leftSideBar {
        width: calc(20% + (20% - 300px));
    }
}

/* -------- End - Side Bar */


/* -------- Main content */

.mainContent {
    text-align: right;
    padding: 0px 25px 20px;
    /*background-color: #F0F0F0;*/
}

.generalcolorbutton {
    display: inline-block;
    border: 1px solid rgba(0,0,0,0);
    border-radius: 1px;
    background-color: #B7B7B7;
    cursor: pointer;
    padding: 0;
    margin: 4px 0px;
    width: 25px;
    height: 20px;
}


.generalfileupload {
    padding: 5px 15px;
    max-width: 100%;
    direction: ltr;
    text-align: right;
    border: 1px solid gray;
    /*margin: 0px 0px 8px;*/
    border-radius: 2px;
    background-color: #F3F3F3;
}

.generallabel {
    color: #565050;
    line-height: 2em;
}

.hyperlinklist:visited,
.generalhyperlink {
    color: #007CFF;
}

.profilecategory {
    font-family: 'B Yekan';
    font-size: 20px;
}

.generalimage {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.coverImage > .generalimage {
    display: block;
    margin: 0 0 10px;
    max-width: 200px;
    border: 1px solid #898989;
}

.imagelist {
    max-height: 50px;
}

.generalmultiline,
.generaltextbox {
    max-width: 100%;
    width: 200px;
    border: 1px solid gray;
    height: 27px;
    font-family: inherit;
    padding: 2px 10px;
    border-radius: 2px;
    vertical-align: middle;
}

    .generaldropdownlist:focus,
    .generaltextbox:focus,
    .generalmultiline:focus {
        border: 1px solid lightblue;
        box-shadow: 0px 0px 2px lightblue;
    }

.generalmultiline {
    width: 90%;
    height: auto;
}

.generaldropdownlist {
    height: 28px;
    width: 200px;
    max-width: 100%;
    padding-bottom: 3px;
    cursor: pointer;
    border-radius: 2px;
    border: 1px solid gray;
}

    .generaldropdownlist option {
        padding: 4px;
    }

.generalradiobuttonlist,
.generalcheckbox,
span.generalcheckbox {
    display: inline-block;
}

    .generalradiobuttonlist input,
    .generalcheckbox input {
        vertical-align: middle;
        margin: 5px;
        cursor: pointer;
    }

    .generalradiobuttonlist label,
    .generalcheckbox label {
        vertical-align: middle;
        cursor: pointer;
    }

.generalpanel {
    /*box-shadow: 0px 0px 5px #3E3D3C;*/
    margin: 5px 0px;
    padding: 1px 5px;
}

.generalvalid {
    border: 1px solid #008F20;
    box-shadow: 0 0 7px -3px #00AE00;
}



.generalwarning {
    border: 1px solid #BD7800;
    box-shadow: 0 0 7px -3px #AE6F00;
}

.generalerror {
    border: 1px solid #BD0000;
    box-shadow: 0 0 7px -3px #B30000;
}

span.generalvalid,
span.generalwarning,
span.generalerror,
label.generalvalid,
label.generalwarning,
label.generalerror {
    border: none;
    box-shadow: none;
}

.groupList {
    padding: 0 0 10px;
}

    .groupList table {
        width: 700px;
        max-width: 100%;
    }

    .groupList img {
        max-height: 26px;
        margin-left: 5px;
    }

    .groupList > table td:last-child,
    .groupList div td:nth-child(3),
    .groupList div td:nth-child(3) a {
        width: 100%;
    }

    .groupList table {
        border-spacing: 0px;
    }

    .groupList > table td:last-child a,
    .groupList div a {
        background-color: #FFF;
        display: block;
        /*width: 500px;*/
        max-width: 100%;
        padding: 5px 11px;
        margin: 1px 0;
        border: 1px solid #D4D4D4;
        color: #003281;
        border-radius: 2px;
    }

    .groupList > table td:last-child a {
        font-weight: bold;
    }

        .groupList > table td:last-child a:hover,
        .groupList div a:hover {
            background-color: #3F5981;
            color: #FFF;
        }

.pList {
    overflow-x: auto;
}

    .pList table {
        background-color: rgb(255, 255, 255);
        border-spacing: 0px;
        color: #BDCCEA;
    }

    .pList > div > table > tbody > tr:nth-child(2n+1) {
        background-color: #FBFBFB;
    }

    .pList > div > table > tbody > tr:nth-child(2n) {
        background-color: #E8EEF8;
    }

    .pList > div > table > tbody > tr:hover {
        background-color: #F8F0F0;
    }

    .pList > div > table > tbody > tr:first-child {
        background-color: #4C81B9;
        color: #F8F8F8;
    }

    .pList table tr:not(:first-child) span {
        color: #323232;
    }

    .pList table table {
        width: 100%;
        text-align: center;
    }

        .pList table table tbody {
            display: inline-block;
        }

        .pList table table,
        .pList table table td {
            padding: 3px;
            margin: 0 auto;
        }

            .pList table table td a,
            .pList table table td .pagerButton,
            .pList table table td span {
                border-radius: 3px;
                border: 1px solid #607298;
                padding: 1px 8px;
                display: block;
                font-family: b yekan;
                background-color: #FFF;
                color: #1414E3;
                cursor: pointer;
            }

            .pList table table td .pagerButton {
                padding: 0px 5px;
                line-height: 20px;
            }

                .pList table table td a:hover,
                .pList table table td .pagerButton:hover,
                .pList table table td span {
                    background-color: #607298;
                    color: #FFF;
                }

.hyperlinklist {
    display: inline-block;
    border-bottom: 1px solid transparent;
    line-height: 17px;
}

.pList > div > table > tbody > tr:hover .hyperlinklist {
    border-bottom-color: #007CFF;
}

.labellist {
}

.headergridview,
.itemgridview {
    text-align: center;
    padding: 6px;
}

    .itemgridview:first-child {
        min-width: 30px;
    }

    .itemgridview:not(:first-child) {
        min-width: 80px;
    }

.headergridview {
    font-family: 'B Yekan';
}

.clickclosebutton {
    border-radius: 0px;
    background-color: rgb(206, 206, 206);
    color: rgb(0, 0, 0);
    padding: 3px 15px 2px;
}

.savesection {
    float: left;
    margin: 15px 0;
}

.savepart {
    float: right;
}

    .savepart .generalbutton {
        margin-right: 5px;
    }

.savebutton {
    background-color: #3F923A;
}

    .savebutton:hover {
        background-color: #5ADB52;
    }

.saveFinalButton {
    background-color: #056B00;
}

    .saveFinalButton:hover {
        background-color: #5ADB52;
    }

.deletebutton {
    background-color: #BD2F2F;
}

    .deletebutton:hover {
        background-color: #FF6464;
    }

.cancelbutton {
    background-color: #5B6371;
}

    .cancelbutton:hover {
        background-color: #B5C3CF;
    }
/* -------- End Main content */

.message {
    color: #333;
    text-shadow: 0px 0px 18px;
}


span.generalwarning,
label.generalwarning,
.warning {
    color: #FF8700;
}

span.generalvalid,
label.generalvalid,
.success {
    color: green;
}

span.generalerror,
label.generalerror,
.error {
    color: red;
}

span.generalvalid,
span.generalwarning,
span.generalerror,
label.generalvalid,
label.generalwarning,
label.generalerror,
.message,
.warning,
.success,
.error {
    text-shadow: 0px 0px 18px;
    line-height: 20px;
}

footer {
    background-color: #FFF;
    padding: 10px 0px;
}


/* ------  tablePanels ---- */

.tablePanels {
    position: relative;
    margin-bottom: 10px;
}

    .tablePanels .backColor1,
    .tablePanels .backColor2 {
        position: absolute;
        top: 0px;
        bottom: 0px;
        z-index: 0;
    }

    .tablePanels .backColor1 {
        right: 0px;
        width: 22%;
        background-color: #D2E4FF;
        border-left: 1px solid #BDCCEA;
    }

    .tablePanels .backColor2 {
        right: 22%;
        width: 78%;
        background-color: #E1E8F5;
    }

.tablePanel {
    display: inline-block;
    height: auto;
    position: relative;
    width: 100%;
    border-bottom: 1px solid #BDCCEA;
    -webkit-transition: all 0.3s ease-out 0s;
    -moz-transition: all 0.3s ease-out 0s;
    -o-transition: all 0.3s ease-out 0s;
    transition: all 0.3s ease-out 0s;
}

    .tablePanel:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

    .tablePanel:last-of-type {
        border-bottom: none;
    }

    /*.tablePanel > div  {
        margin-left: 5px;
    }*/

    .tablePanel * {
        vertical-align: middle;
    }

    .tablePanel > span > label,
    .tablePanel .right {
        background: transparent none repeat scroll 0% 0%;
        padding: 5px 10px;
        display: inline-block;
        margin: 0px;
        vertical-align: middle;
        width: 22%;
    }

    .tablePanel > span > input,
    .tablePanel .left {
        width: 76%;
        display: inline-block;
        background: transparent none repeat scroll 0% 0%;
        vertical-align: middle;
        position: relative;
        height: 100%;
        top: 0px;
        padding: 5px 10px;
    }

    .tablePanel > span > label {
        float: right;
        color: #565050;
        line-height: 2em;
    }

    .tablePanel > span > input {
        width: auto;
        margin-right: 15px;
        margin-top: 11px;
    }

    .tablePanel input[type='image'],
    .tablePanel img {
        max-height: 60px;
        vertical-align: middle;
        margin: 0 0 0 5px;
        border: 1px solid #BDBDBD;
    }

        .tablePanel img.confirmableimage {
            border: none;
        }

    .tablePanel .generalmultiline,
    .tablePanel .generaltextbox,
    .tablePanel .generaldropdownlist,
    .tablePanel .generalradiobuttonlist,
    .tablePanel .generalcheckbox {
        margin: 0 0 0 5px;
    }


    .tablePanel table {
        display: inline-block;
        vertical-align: middle;
    }

    .tablePanel .deletebutton {
        font-family: Tahoma;
        font-size: 15px;
        padding: 0px 4px;
        margin: 0 5px;
    }

    .tablePanel img.searchPhoto,
    .searchPhoto {
        border: none;
        height: 30px;
        cursor: pointer;
    }
/* --------------  */

/* --- Product List Items */

.plItems {
    /*width: 600px;*/
    max-width: 100%;
    border: 1px solid #808080;
    border-radius: 3px;
    background-color: #EEF2FB;
}

.plItem {
    height: 60px;
    width: 100%;
    overflow: hidden;
}

    .plItem:not(:last-of-type) {
        border-bottom: 1px solid #808080;
    }

    .plItem > div {
        display: inline-block;
    }

    .plItem:hover {
        background-color: rgba(255, 255, 255, 0.4);
    }

    .plItem > div:nth-child(1) {
        width: 15%;
    }

    .plItem > div:nth-child(2) {
        width: 73%;
    }

    .plItem > div:nth-child(3) {
        width: 10%;
        text-align: center;
    }

    .plItem > div > * {
        vertical-align: middle;
    }

    .plItem > div > img {
        max-height: 56px;
    }

    .plItem > div > span {
        overflow: hidden;
        white-space: nowrap;
        -ms-text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
        text-overflow: ellipsis;
        width: 100%;
        display: inline-block;
    }

    .plItem > div > input[type='image'] {
        max-height: 30px;
    }

.plItems .plHeading {
    font-weight: bold;
    display: block;
    padding: 0px 10px 0px;
    border-bottom: 1px solid #808080;
    background-color: #C3DDF0;
    margin: 0 -5px;
}
/*.plItem > *:nth-child(1) {
        width: 30%;
    }

    .plItem > *:nth-child(2) {
        width: 50%;
    }

    .plItem > *:nth-child(3) {
        width: 20%;
    }*/

.addNewPage {
    display: inline-block;
    /*width: 22px;*/
    height: 22px;
    margin: 0 5px;
    vertical-align: middle;
}

    .addNewPage img {
        max-height: 22px;
    }

/* Pop up Message*/
.popMessage {
    position: fixed;
    display: inline-block;
    margin: 0px;
    padding: 0px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.74);
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    -webkit-transition: all 0.5s ease-out 0s;
    -moz-transition: all 0.5s ease-out 0s;
    -o-transition: all 0.5s ease-out 0s;
    transition: all 0.5s ease-out 0s;
    z-index: 10000;
    direction: rtl;
}

    .popMessage.popHide {
        visibility: hidden;
        opacity: 0;
    }

    .popMessage .pmRuler {
        height: 100%;
        display: inline-block;
        vertical-align: middle;
    }

    .popMessage .pmBox {
        position: relative;
        width: 600px;
        height: auto;
        max-width: 98%;
        max-height: 98%;
        padding: 35px 20px 10px;
        background-color: #F0F0F0;
        border: 1px solid #D3D3D3;
        border-radius: 5px;
        display: inline-block;
        vertical-align: middle;
        text-align: right;
    }

    .popMessage .pmClose:link,
    .popMessage .pmClose:visited {
        height: 22px;
        width: 23px;
        position: absolute;
        top: 5px;
        right: 5px;
        background-color: #FFF;
        border-radius: 3px;
        color: #000;
        font-size: 15px;
        z-index: 9999;
        text-align: center;
        border: 1px solid #A8A8A8;
    }

@media (max-width:600px) {
    header {
        padding: 5px 5px 0px;
    }

    .headermenu > div,
    .contentBody > * {
        min-height: 100%;
        margin-bottom: 0px;
    }

    .contentBody .mainBg1 {
        display: none;
    }

    .sideBar {
        max-width: 100%;
    }

    .tablePanel {
        border-bottom: none;
    }

    .tablePanels .backColor1,
    .tablePanels .backColor2 {
        display: none;
    }

    .tablePanel .right,
    .tablePanel .left {
        display: block;
        width: 100%;
        background-color: #D2E4FF;
    }

    .tablePanel .left {
        background-color: #E1E8F5;
    }
}


/* System Message */

.systemMessage {
    padding: 25px;
    margin-top: 40px;
    border: 1px solid #74ABFF;
    border-radius: 5px;
    background-color: #F4F8FF;
    box-shadow: -2px 2px 10px -2px #216DE3;
    -webkit-transition: all 0.25s linear 0s;
    -moz-transition: all 0.25s linear 0s;
    -o-transition: all 0.25s linear 0s;
    transition: all 0.25s linear 0s;
}

    .systemMessage:hover {
        box-shadow: -2px 2px 10px -6px #216DE3;
        -webkit-transform: scale(0.999);
        -moz-transform: scale(0.999);
        -ms-transform: scale(0.999);
        -o-transform: scale(0.999);
        transform: scale(0.999);
    }

    .systemMessage .h3 {
        margin: 0 0 10px 0;
        font-size: 18px;
        color: #222;
    }

    .systemMessage .generallabel {
        display: block;
    }

    .systemMessage .generalbutton {
        float: left;
        margin-top: 100px;
    }

.iconImage {
    max-height: 20px;
    vertical-align: middle;
}

@media (max-width:600px) {
    .systemMessage {
        margin: 0 -15px;
        padding: 25px 15px;
    }

        .systemMessage .h3 {
            font-size: 16px;
        }
}

.DaierehFooterLogo {
    padding-top: 10px;
}

    .DaierehFooterLogo .link,
    .DaierehFooterLogo .link * {
        outline: none;
    }
