@charset "utf-8";
@font-face {
    font-family: 'SDF';
    src: url("../fonts/iransansr/IRANSansLight.woff") format("woff"), url("../fonts/iransansr/IRANSansLight.ttf") format("truetype");
    font-weight: 400
}

@font-face {
    font-family: 'SDF';
    src: url("../fonts/iransansr/IRANSansMedium.woff") format("woff"), url("../fonts/iransansr/IRANSansMedium.ttf") format("truetype");
    font-weight: 700
}

@font-face {
    font-family: 'unco';
    src: url("../fonts/iransansr/iransansr.eot?#") format("eot"), url("../fonts/iransansr/iransansr.woff2") format("woff2"), url("../fonts/iransansr/iransansr.woff") format("woff");
    font-weight: normal
}

* {
    text-rendering: optimizeLegibility;
    outline: none;
}

li * {
    outline: none;
}

body {
    font-family: 'SDF';
    font-size: 15px;
    color: #000000;
    direction: rtl;
    text-align: right;
    background: rgba(255, 255, 255, 0.34);
    line-height: 1.8;
}

#main {
    margin: auto;
    margin: 0px;
}

.calendarWrapper {
    line-height: 2;
    direction: ltr;
    width: 80%;
    margin: 0 auto;
    overflow: hidden;
    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: 25px;
    font-weight: 700;
    color: #525050!important;
    margin-bottom: 15px;
    border-bottom: 5px dashed #f5f5f5;
    font-family: 'SDF';
    padding: 0px 10px 10px 0px;
}

#preview {
    width: 76px;
    height: 16px;
    top: 15px;
    right: 15px;
    cursor: pointer;
    left: auto;
    background: url(../images/Sprites.png) 0px 0px no-repeat;
    margin: auto;
    filter: grayscale(1);
    transition-duration: .2s;
}

#preview:hover {
    transition-duration: .2s;
    filter: grayscale(0);
}

#next {
    width: 76px;
    height: 16px;
    top: 15px;
    left: 0px;
    cursor: pointer;
    right: auto;
    background: url(../images/Sprites.png) 0px -16px no-repeat;
    margin: auto;
    filter: grayscale(1);
    transition-duration: .2s;
}

#next:hover {
    transition-duration: .2s;
    filter: grayscale(0);
}

#s1 {
    font-size: 20px!important;
    font-weight: 700!important;
    color: rgb(255, 100, 51)!important;
    font-family: 'unco';
}

#s2 {
    font-family: cursive, 'SDF';
    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 {
    width: 20px;
    height: 30px;
    top: 15px;
    left: 0px;
    cursor: pointer;
    right: auto;
    background: url(../images/Sprites.png) -75px -5px no-repeat;
    margin: auto;
}

#MonthSelector {
    width: 20px;
    height: 30px;
    top: 15px;
    left: 0px;
    cursor: pointer;
    right: auto;
    background: url(../images/Sprites.png) -75px -5px no-repeat;
    margin: auto;
}

.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-size: 18px;
    font-weight: bold;
    margin-top: 10px;
    padding-top: 10px;
    background: #0a0a0c!important;
    text-shadow: none!important;
    font-family: 'SDF';
    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-family: SDF;
    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;
    margin-top: -5px;
    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: 12px;
    color: rgba(197, 197, 197, 0.5);
    /*font-weight: normal;*/
    padding-left: 5px;
    float: left;
    font-family: unco;
    margin-top: 11px;
}

.miladi-date {
    font-size: 13px;
    color: rgba(197, 197, 197, 0.5);
    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: 2px 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;
}

@media only screen and (max-width: 500px) {
    .calColumn {
        font-size: 15px;
    }
    .ghamari-date {
        padding-left: 4px;
        font-size: 10px;
    }
    .miladi-date {
        padding-right: 3px;
        font-size: 11px;
    }
}

#leftSide {
    width: 58%;
    float: left;
}

#rightSide {
    width: 38%;
    float: left;
    padding: 10px 10px 5px 10px;
    background-color: white;
    margin: 25px 10px 5px 30px;
    box-shadow: 0 1px 20px 16px rgba(162, 162, 162, 0.09), 0 1px 6px 3px rgba(138, 138, 138, 0.06);
    border-radius: 10px;
    padding: 10px;
    display: grid;
    border: 1px solid #ffffff;
    transition-duration: .5s;
}

#rightSide:hover {
    box-shadow: 0 1px 20px 16px rgba(162, 162, 162, 0.09), 0 1px 7px 9px rgba(76, 76, 76, 0.06);
    transition-duration: .5s;
}

#title-left {
    float: left;
    width: 20%;
    text-align: left;
    top: 15px;
    position: relative;
    left: 5px;
}

#title-center {
    float: left;
    width: 56%;
    text-align: center;
}

#title-right {
    float: left;
    width: 20%;
    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: 105px;
}

@media only screen and (max-width: 1024px) {
    #title-center #s2 {
        font-size: 14px !important;
    }
    #popup_container_alert {
        width: 200px !important;
        left: 15% !important;
        position: fixed !important;
        top: 35px;
    }
    #calTitle {
        height: 125px;
    }
    .eventsCurrentMonthTitle {
        font-size: 16px;
    }
    #rightSide {
        width: 95%;
    }
    #leftSide {
        width: 95%;
    }
    .calendarWrapper {
        width: 100%;
        padding: 0px;
    }
    #rightSide {
        margin: 25px 10px 5px 15px;
        padding: 5px;
    }
    #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) {
    .ghamari-date {
        padding-left: 35px;
    }
    .miladi-date {
        padding-right: 30px;
    }
}

@media only screen and (min-width: 600px) and (max-width: 850px) {
    .ghamari-date {
        padding-left: 15px;
    }
    .miladi-date {
        padding-right: 15px;
    }
}

@media only screen and (min-width: 500px) and (max-width: 1023px) {
    #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 (min-width: 1024px) and (max-width: 1366px) {
    #rightSide {
        width: 43%;
    }
    #leftSide {
        width: 52%;
    }
}

@media only screen and (min-width: 1366px) and (max-width: 3000px) {
    #rightSide {
        width: 38%;
    }
    #leftSide {
        width: 58%;
    }
}

li {
    background-color: rgba(247, 247, 247, 0.4);
    padding-right: 5px;
    border-radius: 3px;
    margin: 1px;
}

#leftSide {
    margin: 25px 0px 0px 0px;
    /* border: 1px dashed #dadada; */
    padding: 0px 10px;
    border-radius: 10px;
    background-color: rgb(255, 255, 255);
    box-shadow: 0px 2px 8px 1px rgba(220, 220, 220, 0.62), 0px 5px 7px 0px rgba(218, 218, 218, 0.26);
    transition-duration: .5s;
}

#leftSide:hover {
    transition-duration: .5s;
    box-shadow: -1px 8px 20px 4px rgba(220, 220, 220, 0.81), -1px 12px 14px 0px rgba(218, 218, 218, 0.73);
}

#EventsMonthName {
    color: #ff7075;
}

#CalendarTopMonthName {
    color: #252b2b;
}

.calendar-type
{
    width: 100%;
    height: 2.8vw;
    border: #C2CDBA solid .12vw;
    border-radius: .5vw;
    margin: 0 26% .25vw 25%;
}

.select-type
{    
    width: 73%;
    border-radius: .5vw;
    border: none;
    font-size: 1.1vw;
    color: #408080;
    text-align-last: center;
    background: #FFFFFF;
}

.calendar-type-t
{
    float: right;
    width: 27%;
    height: 100%;
    font-size: 1.1vw;
    background: #F2F4F0;
    color: #768B65;
    text-align: center;
    padding-top: .4vw;
    border-top-right-radius: .5vw;
    border-bottom-right-radius: .5vw;
}
.icon-calender
{
    position: absolute;
    top: 18px;
    left: -80px;
    font-size: 20px;
    color: #989898;
}
.input1
{
    position: relative;
    right: 183px;
}

.select-input-0-1
{
    width: 100%;
    height: 2.8vw;
    color: #008080;
    border-radius: .4vw;
    cursor: pointer;
    font-size: 1.2vw;
    background: #F8F9F7;
    box-shadow: 0 0 0.15vw #999999;
    outline: none;
    border: none;

    text-align-last: center;
    text-align: center;
}

.lable-input-0-1
{
    height: 2vw;
    font-size: 1.1vw;
    color: #A6B599;
    text-align: right;
    position: relative;
    right: 180px;
}

.icon-calender01
{
    position: absolute;
    top: 65px;
    font-size: 20px;
    color: #989898;
    left: 29px;
}







.select-input-1
{
    float: right;
    width: 44%;
    height: 2.8vw;
    color: #008080;
    border-radius: .4vw;
    cursor: pointer;
    font-size: 1.2vw;
    background: #F8F9F7;
    box-shadow: 0 0 0.15vw #999999;
    outline: none;
    border: none;

    text-align-last: center;
    text-align: center;
}

.lable-input-1
{
    width: 100%;
    height: 2vw;
    font-size: 1.1vw;
    color: #A6B599;
    text-align: right;
    position: relative;
    right: 92px;
}


.icon-calender1
{
    position: absolute;
    top: 245px;
    font-size: 20px;
    color: #989898;
    left: 278px;
}















.select-input-2
{
    width: 44%;
    height: 2.8vw;
    color: #008080;
    border-radius: .4vw;
    cursor: pointer;
    font-size: 1.2vw;
    background: #F8F9F7;
    box-shadow: 0 0 0.15vw #999999;
    outline: none;
    border: none;

    text-align-last: center;
    text-align: center;
}

.lable-input-2
{
    width: 100%;
    height: 2vw;
    font-size: 1.1vw;
    color: #A6B599;
    text-align: right;
    position: relative;
    right: 92px;
}
.icon-calender2
{
    position: absolute;
    top: 118px;
    font-size: 20px;
    color: #989898;
    left: 260px;
}

.input2
{
    position: relative;
    top: -100px;
    right: 216px;
}

.input3
{
    position: relative;
    top: -199px;
    right: 432px;
}


.time-button
{
    width: 40%;
    border-radius: .4vw;
    font-weight: bold;
    font-size: 1.3vw;
    color: #4D5A41;
    box-shadow: 0 0.02vw 0.15vw #999999;
    background: #E2E7DE;
    padding-top: .2vw;
}

.button
{
    position: relative;
    top: -253px;
    right: 649px;;

}


.convert-result-left{
    float: left;
    background: #f9f9f9;
    padding: 10px 10px 5px 10px;
    border-radius: 5px;
    font-weight: 100 !important;
    font-size: 25px;
    letter-spacing: 3px;
}


.convert-result-right{
    float: right;
    padding: 10px 10px 5px 10px;
}

.convert-result
{
    font-weight: 900;
    color: #117a8b;
}

.ui-menu .ui-menu-item {

    font-family: unco !important;
}



body
{
    direction: rtl;
    text-align: center;
}

.convert-title
{
    font-size: 22px;
    color: #768B65;
    font-weight: 600;
}

.convert-type
{
    border: #C2CDBA solid .12vw;
    border-radius: .5vw;
    width: 50%;
    margin: 0px auto;
}

.input
{
    color: #008080;
    border-radius: .4vw;
    background: #F8F9F7;
    box-shadow: 0 0 0.15vw #999999;
    border: none;
    text-align-last: center;
}



@media screen and (max-width: 580px) {
    .input-btn {
        margin-top: 10px !important;
    }
  }

  .azan
  {
    color: #999966;
    font-size: 20px;
    padding-left: 5%;
    font-weight: bold;
  }

  .span-azan
  {
    color: #008080;
    font-size: 20px;
    font-weight: bold;
  }

  .color-title
  {
    margin: 0;
    font-size: 20px;
    color: #A6B599;
  }