/*
JS Persian Calendar - by AMIB
http://amib.ir/weblog
amib@amib.ir
    edit by hosein sheikhi hoseinx@gmail.com
*/



a.pcalBtn:hover {
    box-shadow: 0 0 1px #66CCFF;
}

input.pdate {
    text-align: center;
    margin-top: 0;
    margin-bottom: 0;
    margin-left: 0;
}

input.valid {
    background-color: #e5fae2;
}

input.invalid {
    background-color: #fee5e7;
}

div.picker {
    top: 80px !important;
    left: auto !important;
    direction: rtl;
    background-color: #fff;
    border: 2px solid #999999;
    position: absolute;
    padding: 3px;
    box-shadow: 1px 1px 2px rgba( 0, 0, 0, 0.3 );
    border-radius: 6px 0px 6px 6px;
    z-index: 9999 !important;
}

    div.picker table {
        border-collapse: collapse;
        border-spacing: 0px;
        border: 1px solid #bbb;
        background-color: #eee;
        font: 11px Tahoma;
    }

    div.picker td {
        width: 22px;
        border: 1px solid #bbb;
        text-align: center;
        padding: 0px;
    }

    div.picker div.navBack {
        /*	float: right;
	uncommenting this line breaks IE display of element
	in some unknown situations !
*/
    }

        div.picker div.navBack a {
            float: right;
        }

    div.picker div.navFwd {
        float: left;
    }

        div.picker div.navFwd a {
            float: left;
        }

    div.picker span.navInfo {
        padding: 5px 0px;
        display: inline-block;
    }

    div.picker td.pickerHead a {
        padding: 5px;
    }

        div.picker td.pickerHead a.nav {
            display: block;
        }

        div.picker td.pickerHead a.monYear {
            display: inline-block;
            padding-left: 1px;
            padding-right: 1px;
        }

    div.picker a.weekday {
        display: block;
        padding: 2px 0px;
    }

    div.picker a.friday {
        background-color: #ffcccc;
    }

    div.picker a.selected {
        background-color: #CCFFCC;
    }

    div.picker a.today {
        background-color: #fff5cc;
    }

    div.picker td.calWeekdays {
        background-color: #BBBBBB;
        color: #FFFFFF;
        font-weight: bold;
        text-align: center;
        padding-top: 3px;
        padding-bottom: 2px;
    }

    div.picker td.pickerFoot a {
        display: block;
        padding: 2px;
    }

    div.picker a {
        text-decoration: none;
        color: #333;
        -moz-transition: all 0.1s cubic-bezier(0,1,1,0);
        -webkit-transition: all 0.1s cubic-bezier(0,1,1,0);
        -o-transition: all 0.1s cubic-bezier(0,1,1,0);
        transition: all 0.1s cubic-bezier(0,1,1,0);
    }

        div.picker a:hover {
            text-decoration: none;
            color: #004;
            background-color: #66CCFF;
        }
/* add by sh*/


div.flat {
    direction: rtl;
    background-color: #fff;
    border: 2px solid #999999;
    position: absolute;
    padding: 3px;
    box-shadow: 1px 1px 2px rgba( 0, 0, 0, 0.3 );
    border-radius: 6px 0px 6px 6px;
}

    div.flat table {
        border-collapse: collapse;
        border-spacing: 0px;
        border: 1px solid #bbb;
        background-color: #eee;
        font: 11px Tahoma;
    }

    div.flat td {
        width: 22px;
        border: 1px solid #bbb;
        text-align: center;
        padding: 0px;
    }

    div.flat div.navBack {
        /*	float: right;
	uncommenting this line breaks IE display of element
	in some unknown situations !
*/
    }

        div.flat div.navBack a {
            float: right;
        }

    div.flat div.navFwd {
        float: left;
    }

        div.flat div.navFwd a {
            float: left;
        }

    div.flat span.navInfo {
        padding: 5px 0px;
        display: inline-block;
    }

    div.flat td.pickerHead a {
        padding: 5px;
    }

        div.flat td.pickerHead a.nav {
            display: block;
        }

        div.flat td.pickerHead a.monYear {
            display: inline-block;
            padding-left: 1px;
            padding-right: 1px;
        }

    div.flat a.weekday {
        display: block;
        padding: 2px 0px;
    }

    div.flat a.friday {
        background-color: #ffcccc;
    }

    div.flat a.selected {
        background-color: green;
    }

    div.flat a.today {
        background-color: #fff5cc;
    }

    div.flat td.calWeekdays {
        background-color: #BBBBBB;
        color: #FFFFFF;
        font-weight: bold;
        text-align: center;
        padding-top: 3px;
        padding-bottom: 2px;
    }

    div.flat td.pickerFoot a {
        display: block;
        padding: 2px;
    }

    div.flat a {
        text-decoration: none;
        color: #333;
        -moz-transition: all 0.1s cubic-bezier(0,1,1,0);
        -webkit-transition: all 0.1s cubic-bezier(0,1,1,0);
        -o-transition: all 0.1s cubic-bezier(0,1,1,0);
        transition: all 0.1s cubic-bezier(0,1,1,0);
    }

        div.flat a:hover {
            text-decoration: none;
            color: #004;
            background-color: #66CCFF;
        }
/************/
div.monthYearPicker {
    background-color: #EEEEEE;
    border: solid 2px #999;
    border-radius: 3px;
    box-shadow: 1px 1px 2px rgba( 0, 0, 0, 0.3 );
    text-align: center;
    position: absolute;
    font: 11px Tahoma;
}

    div.monthYearPicker a {
        text-decoration: none;
        color: #333;
        -moz-transition: all 0.1s cubic-bezier(0,1,1,0);
        -webkit-transition: all 0.1s cubic-bezier(0,1,1,0);
        -o-transition: all 0.1s cubic-bezier(0,1,1,0);
        transition: all 0.1s cubic-bezier(0,1,1,0);
        display: block;
        padding: 5px;
    }

        div.monthYearPicker a.selected {
            background-color: #CCFFCC;
        }

        div.monthYearPicker a:hover {
            text-decoration: none;
            color: #004;
            background-color: #66CCFF;
        }

/* ad by sh*/
.ActiveDay {
    background-color: lightgreen;
    /* pointer-events: auto; */
    cursor: pointer !important;
}

.DeActiveDay {
    background-color: lightgray;
    pointer-events: none !important;
    cursor: default !important;
}

.Holiday {
    color: #dc4949 !important;
    cursor: default !important;
}

div.flat a.weekday {
    /*background-color: paleGreen;*/
}

.MiniActive {
    background-color: #b6ee90 !important;
}

div.flat a:hover {
    text-shadow: 0 0 5px #02a900;
}


div.flat a:active {
    color: #1b80cc;
}

.not-active {
    pointer-events: none;
    cursor: default;
}

/*#Newdate {
            -webkit-transition: all 1s ease-in-out;
            -moz-transition: all 1s ease-in-out;
            -o-transition: all 1s ease-in-out;
            -ms-transition: all 1s ease-in-out;
            transition: all 1s ease-in-out;
        }*/

div.flat table {
    font: 17px Tahoma !important;
    font-weight: bold;
}

div.flat td {
    width: 47px !important;
    height: 51px;
}

    div.flat td a {
        padding: 10px !important;
        font-size: 18px !important;
        font-weight: bold !important;
    }

.calWeekdays {
    font-size: 14px !important;
}

div.flat {
    /*position: relative !important;*/
    background-color: transparent;
    position: static !important;
    border: 0 !important;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

    div.flat td.calWeekdays {
        font-weight: normal;
        height: 25px;
        color: black;
    }
