@charset "utf-8";

* {
    text-rendering: optimizeLegibility;
    outline: none;
}

li * {
    outline: none;
}

#main {
    margin: auto;
    margin: 0px;
}

.calendarWrapper {
    line-height: 2;
    direction: ltr;
    margin: 0 auto;
    margin-top: 25px;
}

.eventCalendar {
    padding: 15px;
    background: #fff!important;
    border-radius: 4px;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.12), 0 1px 4px rgba(0, 0, 0, 0.24);
    text-align: center;
}

.eventCalendar p {
    text-align: center;
}

.eventsCurrentMonthTitle {
    font-size: 22px;
    font-weight: 700;
    color: #525050!important;
    margin-bottom: 15px;
    border-bottom: 2px dashed #f5f5f5;
    padding: 0px 10px 10px 0px;
}

#preview,#next  {
    width: 76px;
    height: 16px;
    top: 15px;
    right: 15px;
    cursor: pointer;
    left: auto;
    color: #555555;
    margin: auto;
    filter: grayscale(1);
    transition-duration: .2s;
}

#preview:after {
	font-family: "FontAwesome";
	content: "\f061";
	
}

#preview:hover,#next:hover {
    transition-duration: .2s;
    filter: grayscale(0);
	color: #ff6433;
}

#next:before {
	font-family: "FontAwesome";
	content: "\f060";
	
}

#s1 {
    font-size: 19px!important;
    font-weight: 600!important;
    color: #ff6433!important;
    font-family: 'unco';
}

#s2 {
    display: block;
    padding: 0px;
    font-size: 17px!important;
    font-weight: 100;
    color: #000000!important;
    letter-spacing: 0px !important;
    margin-top: -5px;
}

#s3 {
    font-size: 13px;
    color: #000000;
    font-family: 'unco', Tahoma;
    margin-top: -5px;
    font-weight: normal;
    margin-bottom: 2px;
    word-spacing: 0px;
}

#YearSelector,#MonthSelector {
    width: 20px;
    height: 30px;
    top: 15px;
    left: 0px;
    cursor: pointer;
    right: auto;
    color: #555555;
    margin: auto;
}

#YearSelector:hover,#MonthSelector:hover {
    transition-duration: .2s;
    filter: grayscale(0);
	color: #ff6433;
}

.btn {
    display: inline-block;
    padding: 5px 10px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.428571;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 0px solid transparent;
    border-radius: 4px;
    font-family: inherit;
}

.btn-custom {
    color: #fff;
    width: 100%;
    font-weight: bold;
    margin-top: 10px;
    padding-top: 10px;
    background: #0a0a0c!important;
    text-shadow: none!important;
    padding-bottom: 10px;
    border-radius: 5px;
    transition-duration: .5s;
}

.btn-custom:hover,
.btn:focus,
.btn.focus {
    color: #fff !important;
    background: #393d42!important;
    transition-duration: .5s;
}

#CalendarContents {
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    padding-top: 5px;
}

.dayHeader {
    display: flex;
    background-color: #5667bb;
    border-radius: 5px;
    padding: 10px 0px 0px 0px;
    color: #ffffff;
    font-size: 15px;
    direction: rtl;
    text-align: center;
    line-height: 12px;
    height: 33px;
}

.calendarWrapper .list-unstyled li span:nth-child(1) {
    font-weight: 700;
}

.list-unstyled {
    padding-right: inherit;
}

.eventHoliday {
    color: #ff0042!important;
}

.calendarWrapper .list-unstyled li span:nth-child(2) {
    font-style: italic;
    color: #313131;
}

table {
    border-collapse: separate;
}


/*tr:first-child td:first-child { border-top-left-radius: 10px; }*/


/*tr:first-child td:last-child { border-top-right-radius: 10px; }*/


/*tr:last-child td:first-child { border-bottom-left-radius: 10px; }*/


/*tr:last-child td:last-child { border-bottom-right-radius: 10px; }*/

table:first-child {
    height: 60px;
}

.ghamari-date {
    font-size: 11px;
    color: #b3b3b3;
    /*font-weight: normal;*/
    padding-left: 5px;
    float: left;
    font-family: unco;
    margin-top: 11px;
}

.miladi-date {
    font-size: 12px;
    color: #b3b3b3;
    font-family: serif;
    /*font-weight: normal;*/
    float: right;
    padding-right: 5px;
    padding-left: 0px;
    margin-top: 10px;
}

.today {
    box-shadow: inset 0 0 0px 2px #E91E63;
    border: 0.5px solid white;
	
	
}

.holiday {
    color: #ff8c8c !important;
    background-color: #fff5f5 !important;
    border: 2px solid white;
}

.holiday .miladi-date {
    color: #ff8c8c !important;
}

.holiday .ghamari-date {
    color: #ff8c8c !important;
}

#datapicker {
    margin: 0 auto;
    background-color: #fff;
    border-radius: 4px;
    z-index: 9999;
    box-shadow: 0px 20px 20px 0px #e4e4e4;
    padding: 35px 0px 15px 0px;
    display: none;
    position: relative;
    width: 100%;
    text-align: center;
    direction: rtl;
    min-height: 120px;
    top: -55px;
    /* border-top: 5px solid #8c8c8c; */
}

#input-year {
    height: 40px;
    width: 50%;
    border-radius: 4px 0 0 4px;
    border: 2px solid #555555!important;
    margin-right: -5px;
    text-align: center;
    font-size: 20px;
    color: #001b27;
    padding-bottom: 9px;
    line-height: 31px;
    padding-top: 9px;
    font-family: unco;
}

#btn-year {
    height: 40px;
    background-color: #555555;
    border-color: #555555;
    border-radius: 0px 5px 5px 0px;
    font-size: 13px;
    font-family: unco;
    color: white;
    margin-top: -5px;
    padding: 10px;
}

#mahha a {
    margin-bottom: 5px;
    padding-top: 5px;
}

.holidayevent {
    color: red;
    font-weight: bold;
    list-style: none;
    font-weight: bold;
    list-style: none;
    color: #ff0042!important;
    font-family: 'unco';
    font-size: 12px;
}

#EventsListItems li span {
    padding-right: 5px;
    padding-left: 10px;
    font-family: 'unco';
    font-size: 12px;
}

.modal-content {
    background-color: rgba(255, 255, 255, 0.97);
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: .9;
    color: inherit;
}

#pop-shamsi {
    font-family: unco;
    color: #ff7e74;
    font-size: 25px;
    display: block;
    margin-bottom: -25px;
}

#pop-ghamari {
    color: #8BC34A;
    font-family: unco;
    font-size: 25px;
    display: block;
    margin-bottom: -25px;
}

#pop-miladi {
    color: #80859e;
    font-size: 25px;
    font-weight: bold;
    display: block;
    text-shadow: 0px 3px 2px #bfbdbd;
}


/*added  --------------------------------------------------------------------------------------- */

#popup_container_alert {
    width: 20% !important;
    right: 15% !important;
    margin: 0 !important;
}

.modal-body {
    position: relative;
    text-align: center;
}

h4,
.h4,
h5,
.h5,
h6,
.h6 {
    margin-top: 10px;
    margin-bottom: 10px;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: .9;
    color: inherit;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.modal-footer {
    padding: 15px;
    text-align: right;
    border-top: 1px solid #e5e5e5;
}

.btn-danger {
    color: #fff;
    background-color: #D40016;
    border-color: #BF0E34;
}

#overflow_alert {
    position: fixed;
    z-index: 90000;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    background: none 0% 0% repeat scroll rgba(0, 0, 0, 0.6);
    opacity: 0.5;
}

#popup_container_alert {
    width: auto;
    height: auto;
    top: 200px;
    left: 200px;
    margin: auto;
    overflow: hidden;
    position: absolute;
    left: 300px;
    z-index: 90000;
    border: 1px solid rgb(234, 234, 234);
    background: none repeat scroll 0% 0% rgb(255, 255, 255);
    border-radius: 15px;
    box-shadow: 1px 1px 20px 7px #adadad;
}

.modal-content {
    position: relative;
    background-color: #fff;
    -webkit-background-clip: padding-box;
    background-clip: padding-box;
    border: 1px solid #999;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 6px;
    outline: 0;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
    box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
}

.modal-header {
padding: 12px 6px 0px 10px !important;
    border-bottom: 1px solid #ffffff;
    background-color: #ffffff;
    margin-top: -10px;
    color: #000000;
    font-size: 20px !important;
    font-weight: bold !important;
}

.modal-footer #popup_close_alert {
    color: #fff !important;
    width: 100% !important;
    font-size: 18px;
}

#popup_content_alert {
    color: #a00b00;
}

.calColumn {
    width: 14.28%;
    display: inline-block;
    padding: 10px 5px 3px 5px;
    border-radius: 7px;
    line-height: 15px;
    font-family: unco;
    font-weight: bolder;
    font-size: 17px;
    cursor: pointer;
}

li {
    list-style: none !important;
}



#title-left {
    float: left;
    width: 25%;
    text-align: left;
    top: 15px;
    position: relative;
    left: 5px;
}

#title-center {
    float: left;
    width: 50%;
    text-align: center;
}

#title-right {
    float: left;
    width: 25%;
    text-align: right;
    top: 15px;
    position: relative;
    right: 0px;
}

.btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}

.btn-default:focus,
.btn-default.focus {
    color: #333;
    background-color: #e6e6e6;
    border-color: #8c8c8c;
}

.btn-default:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

.btn-default:active,
.btn-default.active,
.open>.dropdown-toggle.btn-default {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

.btn-default:active:hover,
.btn-default.active:hover,
.open>.dropdown-toggle.btn-default:hover,
.btn-default:active:focus,
.btn-default.active:focus,
.open>.dropdown-toggle.btn-default:focus,
.btn-default:active.focus,
.btn-default.active.focus,
.open>.dropdown-toggle.btn-default.focus {
    color: #333;
    background-color: #d4d4d4;
    border-color: #8c8c8c;
}

.btn-default:active,
.btn-default.active,
.open>.dropdown-toggle.btn-default {
    background-image: none;
}

.btn-default.disabled:hover,
.btn-default[disabled]:hover,
fieldset[disabled] .btn-default:hover,
.btn-default.disabled:focus,
.btn-default[disabled]:focus,
fieldset[disabled] .btn-default:focus,
.btn-default.disabled.focus,
.btn-default[disabled].focus,
fieldset[disabled] .btn-default.focus {
    background-color: #fff;
    border-color: #ccc;
}

.btn-default .badge {
    color: #fff;
    background-color: #333;
}

a {
    text-decoration: none;
}

#calTitle {
    height: 115px;
	width: 97%;
    margin: 0 auto;
}

div#calendar {
    margin: 20px auto;
    border-radius: 5px;
    border: 1px solid #e1e1e1;
    padding: 5px;
    box-shadow: 0 0 10px #ccc;
}

li.bgevent {
    background-color: rgba(247, 247, 247, 0.4);
    border-radius: 3px;
    margin: 1px;
}

#EventsMonthName {
    color: #ff7075;
}

#CalendarTopMonthName {
    color: #252b2b;
}

.item-details {
    display: none;
}
#calendar-container #calendar #item-details {
	font-family: 'unco';
    position: absolute;
    background: #e4f6ff;
    z-index: 999;
    width: 100%;
    height: 100%;
    padding: 20px;
    transform: scale(0);
    cursor: zoom-out;
}
#calendar #item-details .day_name {
    float: right;
    width: 35%;
    background: #1685bd;
    display: block;
    vertical-align: middle;
    padding: 65px 0;
    color: #fff;
}
#calendar #item-details div {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
}

#calendar #item-details .day_info {
    float: right;
    margin-right: 10px;
    width: 60%;
}
#calendar #item-details .day_info div {
    background: #0fa1ec;
    margin-bottom: 10px;
    color: #fff;
    padding: 10px 5px;
    font-size: 15px;
}
#calendar-container #calendar .box-content {
    position: relative;
	margin-top: 10px;
}
#calendar-event li.active {
    background: #e4f6ff;
    transition: all 0.3s;
    padding: 5px;
}
#calendar-event ul li {
    padding: 5px 0;
    line-height: 1.6em;
    transition: all .3s;
}
#CalendarContents div:hover{background-color:#f5f5f5;}

.diff {
	margin: 0 auto;
    float: right;
    width: 97%;
    background: #006598;
    color: #fff;
    padding: 10px 0px;
    margin: 10px 3px;
	font-size: 15px !important;
	direction: rtl;
}


@media only screen and (min-width:1440px) and (max-width:1920px){
	#calendar {
		width:33%;
		float: right;
	}
	#calendar-event {
		width:66%;
		float: left;
	}
	#title-right {
    width: 20%;
	}
	#title-center {
    width: 60%;
	}
	#title-left {
    width: 20%;
	}
}
@media only screen and (min-width:1280px) and (max-width:1439px){
	#calendar {
		width:35%;
		float: right;
	}
	#calendar-event {
		width:64%;
		float: left;
	}
	#title-right {
    width: 20%;
	}
	#title-center {
    width: 60%;
	}
	#title-left {
    width: 20%;
	}
}

@media only screen and (min-width:1024px) and (max-width:1279px){
	#calendar {
		width:80%;
	}
	#title-center #s2 {
        font-size: 14px !important;
    }
    #popup_container_alert {
        width: 200px !important;
        left: 15% !important;
        position: fixed !important;
        top: 35px;
    }

    .eventsCurrentMonthTitle {
        font-size: 16px;
    }
    .calendarWrapper {
        width: 100%;
        padding: 0px;
    }
    #title-center #s1 {
        font-size: 13px!important;
    }
    #title-center #s2 {
        margin-top: 5px;
    }
    #next {
        top: 15px;
        position: relative;
    }
    #preview {
        top: 15px;
        position: relative;
    }
}
	
@media only screen and (min-width: 850px) and (max-width: 1023px) {
	#calendar {
		width:90%;
	}
    .ghamari-date {
        padding-left: 35px;
    }
    .miladi-date {
        padding-right: 30px;
    }

}

@media only screen and (min-width: 600px) and (max-width: 849px) {
    .ghamari-date {
        padding-left: 15px;
    }
    .miladi-date {
        padding-right: 15px;
    }
}

@media only screen and (min-width: 500px) and (max-width: 599px) {
    #title-center #s1 {
        font-size: 18px !important;
    }
    #title-center #s2 {
        font-size: 18px !important;
    }
    #title-center #s3 {
        font-size: 16px !important;
    }
    .calColumn {
        margin-top: 5px;
        font-size: 20px;
    }
}
@media only screen and (max-width: 499px) {

    #calTitle {
        height: 155px;
    }
}

@media only screen and (max-width: 400px) {
    .calColumn {
        font-size: 15px;
    }
    .ghamari-date {
        padding-left: 4px;
        font-size: 10px;
    }
    .miladi-date {
        padding-right: 3px;
        font-size: 11px;
    }
}

