﻿/*
 >  Dynamic Echo Cycle ©
 >  http://www.daiereh.com
 >  Daiereh © - Software Engineering, Interactive Agency
 
 >> version 2.1
 >> date: 2018-10-16

*/

.persianDateInput {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    margin: 5px 2px;
    max-width: 100%;
}

    .persianDateInput table {
        border-spacing: 0;
    }

.image20 {
    width: 20px;
    height: 20px;
}

.normalText {
    font-family: IRANSansWeb, Tahoma;
    font-size: 12px;
    color: #383838;
    vertical-align: middle;
    text-shadow: 1px 1px 0px #ececec;
}

.masterTable {
    direction: rtl;
    vertical-align: top;
    width: 100%;
}

    .masterTable > tbody > tr:nth-child(2) {
        visibility: hidden;
        position: absolute;
    }

.calendarText {
    width: 100px;
    background-color: White;
}

.aLinkDate {
    position: absolute;
    display: inline-block;
    text-decoration: none;
    vertical-align: middle;
    color: Black;
    width: 16px;
    height: 18px;
    cursor: pointer;
    background: transparent no-repeat scroll center center;
    -webkit-background-size: 9px 9px;
    -moz-background-size: 9px 9px;
    -o-background-size: 9px 9px;
    background-size: 9px 9px;
    top: 10px;
    bottom: auto;
    right: auto;
    box-shadow: 2px 2px 4px -14px inset;
    -webkit-transition: all 0.06s;
    -moz-transition: all 0.06s;
    -o-transition: all 0.06s;
    transition: all 0.06s;
}


    .aLinkDate:active {
        box-shadow: 2px 2px 4px -4px inset;
    }

[data-id="LastMonth"] {
    /*background-image: url('/assetspm/image/cl-last.png');
    left: 198px;*/
    display: none;
}

[data-id="AddMonth"] {
    background-image: url('/assetspm/image/cl-prev.png');
    left: 8px;
}

[data-id="MinusMonth"] {
    background-image: url('/assetspm/image/cl-next.png');
    left: 196px;
}

[data-id="FirstMonth"] {
    /*background-image: url('/assetspm/image/cl-first.png');
    left: -2px;*/
    display: none;
}

[data-id="Add10Year"] {
    background-image: url('/assetspm/image/cl-last-top.png');
    top: -4px;
    left: 52px;
}

[data-id="Add1Year"] {
    background-image: url('/assetspm/image/cl-top.png');
    top: -4px;
    left: 73px;
}

[data-id="Minus1Year"] {
    background-image: url('/assetspm/image/cl-down.png');
    top: 23px;
    left: 73px;
}

[data-id="Minus10Year"] {
    background-image: url('/assetspm/image/cl-last-bottom.png');
    top: 23px;
    left: 52px;
}

.yearText {
    padding: 0 0 0 12px;
    height: 22px;
    width: 48px;
    color: Black;
    border-style: None;
    background-color: transparent;
    overflow: visible;
    text-align: center;
    font-size: 15px;
}

.monthText {
    height: 22px;
    width: 90px;
    text-align: left;
    color: Black;
    border-style: None;
    vertical-align: middle;
    background-color: transparent;
    overflow: visible;
    padding-left: 7px;
    font-size: 16px;
}

.dayTable {
    color: Black;
    border: none;
    width: 100%;
    text-align: center;
    direction: rtl;
    border-collapse: collapse;
    background-color: #bbb;
}

    .dayTable tr,
    .dayTable td {
        border: none;
    }



        .dayTable tr:not(.dayTr) td .day {
            margin-bottom: -1px;
        }

        .dayTable tr:not(.dayTr) td:not(:last-child) .day {
            margin-left: -1px;
        }

.dayTr {
    background-color: #fff;
    color: #2c2c2c;
}

    .dayTr td {
        padding: 1px 0 2px;
        width: 30px;
        /*font-size: 12px;*/
        max-width: 31px;
    }

.day {
    display: block;
    border: none;
    width: 16px;
    text-align: center;
    cursor: pointer;
    width: 30px;
    height: 30px;
    background-image: linear-gradient(#fff,#E1E1E1);
    font-size: 14px;
    padding-top: 5px;
}

    .day:disabled {
        background-image: none;
        background-color: #fff;
        cursor: default;
    }

    .day:hover {
        color: #1B6B9D;
        background-image: linear-gradient(#fff,#fff);
    }

    .day.clSelectedDay {
        background-image: linear-gradient(#2babda,#31A4CE);
        color: #fff;
        text-shadow: 1px 1px 0px #000;
        box-shadow: 1px 4px 15px -7px #424242 inset;
    }

.dtHeadWrap {
    /*background-image: linear-gradient(#e6e6e6 47%,#d3d3d3 50%,#aeaeae);*/
    background-image: linear-gradient(#E5E5E5 0%,#D3D3D3 51%,#C6C6C6 50%,#ABABAB 100%);
    width: 210px;
    height: 40px;
    position: relative;
}

.dayTableWrap {
    position: absolute;
    left: auto;
    right: 0;
    width: 355px;
    border: 3px solid #1D6481;
    display: none;
    border-radius: 6px;
    z-index: 1000;
    background-color: #fff;
}

    .dayTableWrap,
    .dayTableWrap input {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

.generalDayTable,
.tablePanel table.generalDayTable {
    direction: rtl;
    color: White;
    border-collapse: collapse;
}


.dayTableHead {
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    text-align: center;
    padding-top: 8px;
    box-shadow: 0px -5px 5px -10px #565656 inset;
}

.clDetails {
    width: 130px;
    height: 248px;
    float: right;
    text-align: center;
    box-shadow: 6px 0 6px -5px #b9b9b9 inset;
    margin-left: -1px;
}

.cldHead {
    height: 40px;
    font-size: 16px;
    padding-top: 7px;
    color: #f6f6f6;
    text-shadow: 1px -1px 1px #5a5a5a;
    background-image: linear-gradient(#C3C3C3 0%,#B5B5B5 51%,#AAAAAA 50%,#969696 100%);
    box-shadow: 3px -2px 5px -4px #565656 inset;
}

.clToday {
    position: relative;
    height: 90px;
    padding: 15px 0;
}

    .clToday:after {
        position: absolute;
        content: ' ';
        top: auto;
        bottom: -3px;
        left: 10%;
        right: 10%;
        width: 80%;
        height: 1px;
        border-radius: 30%;
        background-color: #959595;
    }

    .clToday h4 {
        margin: 0;
        padding: 0;
    }

.clDayWeek,
.clDayMonth {
    color: #2985BE;
    font-size: 16px;
}

.clDayMonth {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
}

.clMonthYear {
    font-weight: normal;
    color: #606060;
}

.clButtons {
    padding: 15px 5px 0;
}

    .clButtons input {
        display: block;
        margin: 6px auto;
        color: #636363;
        background: none;
        border: 1px solid #A4A4A4;
        border-radius: 10px;
        width: 73px;
        padding: 1px;
        cursor: pointer;
    }


.persianCalendarIcon {
    display: block;
    margin-right: -28px;
    position: relative;
    z-index: 10;
}

.CalendarText {
    font-family: Tahoma;
    color: #5a5a5a;
    font-size: 12px;
    border: 1px solid #9D9D9D;
    border-top-color: #7D7C7D;
    border-radius: 5px;
    background: transparent linear-gradient(#DEDFE0,#F8F8F9) scroll no-repeat center center;
    box-shadow: 0 -1px 3px 1px #999;
    width: 100%;
    max-width: 200px;
    padding: 5px 12px;
}

@media (max-width:360px) {
    .dayTableWrap {
        width: 320px;
    }

    .clDetails {
        width: 94px;
    }
}
