.picker2 td.inputs-cell {
    position: relative;
}

    .picker2 td.inputs-cell .picker2-times {
        top: 0;
        right: 0 /*15px*/;
        position: absolute /*relative*/;
        cursor: pointer;
    }

.picker2[input-type="date"] td.inputs-cell .picker2-times {
    right: 2px;
    top: 4px;
}

.picker2 > table {
    direction: ltr;
}

    .picker2 > table .inputs-cell {
        direction: rtl;
    }

.picker2 td {
    margin: 0;
    padding: 0 !important;
}

    .picker2 td:nth-child(1) {
        max-width: fit-content;
        /*text-align: center;*/
    }

.picker2 input.picker2-text-input {
    text-align: center;
}

.picker2 .picker2-button {
    background: #d3d3d3;
    cursor: pointer;
    font-size: 1rem;
    padding-right: 3px;
    /* border: 1px solid #3E8ABE; */
    /* border-right: none; */
    border-radius: 5px 0 0 5px;
    padding: 7px 10px;
    text-align: center;
}

/*By position relative for container and absolute for child make the child to fit in parent*/
.picker2.dialog-cell-width .pk2-dialog-cell {
    position: relative;
}

.picker2.dialog-cell-width .picker2-dialog {
    position: absolute;
    width: 100%;
    /*bottom: -60px;*/
}

.picker2 .picker2-dialog {
    width: 200px;
    z-index: 1000;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}


i.fa-calendar-alt {
    background-image: url(Image/Calendar.png);
    height: 25px;
    width: 20px;
    background-repeat: no-repeat;
    z-index: 100;
    /* left: 0; */
    /* top: 0; */
    background-position: center;
    background-size: cover;
    display: block;
}

i.pk2-sitemap-icon {
    background-image: url(Image/sitemap-icon.png);
    height: 25px;
    width: 20px;
    background-repeat: no-repeat;
    z-index: 100;
    /* left: 0; */
    /* top: 0; */
    background-position: center;
    background-size: cover;
    display: block;
}

i.pk2-spinner-icon {
    background-image: url(Image/spinner-icon.png);
    height: 25px;
    width: 20px;
    background-repeat: no-repeat;
    z-index: 100;
    /* left: 0; */
    /* top: 0; */
    background-position: center;
    background-size: cover;
    display: block;
}

.pk2-spin {
    webkit-animation: pk2-spin 2s infinite linear;
    animation: pk2-spin 2s infinite linear;
}

.pk2-mask.pk2-active-mask {
    background: #80808054;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.picker2.pk2-disabled .plate-container {
    background: #eeeeee;
}

@keyframes pk2-spin {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
    }
}

.pk2-arrow-right:before {
    content: "\25BA";
    font-size: 20px;
}

.pk2-arrow-left:before {
    content: "\25C4";
    font-size: 20px;
}

div.pk2-dialog-header {
    height: 25px; /*21px*/
    background: #888;
    font-size: 1rem;
}

    div.pk2-dialog-header span {
        -webkit-user-select: none; /* webkit (safari, chrome) browsers */
        -moz-user-select: none; /* mozilla browsers */
        -khtml-user-select: none; /* webkit (konqueror) browsers */
        -ms-user-select: none; /* IE10+ */
        color: antiquewhite;
    }

        /*div.pk2-dialog-header span:hover {
			background: gray;
			cursor: pointer;
		}*/

        div.pk2-dialog-header span:nth-of-type(1) {
            float: right;
            padding: 0 30px 0 0;
            /*background-image: url("Images/Icons.png");
			background-position: 100% -77px;*/
            width: 15px;
            height: 100%;
            line-height: 22px;
        }

        div.pk2-dialog-header span:nth-of-type(3) {
            float: left;
            padding: 0 0 0 30px;
            /*background-image: url("Images/Icons.png");
			background-position: 100% -102px;*/
            width: 15px;
            height: 100%;
            line-height: 22px;
        }

/*#region Picker2 Time*/
.clockpicker-container {
    /*display: none;*/
    width: 200px;
    height: 220px;
}

.popover-title {
    text-align: center;
    height: 30px;
    line-height: 20px;
    font-size: 24px;
    font-weight: 700;
    cursor: pointer;
}

.clockpicker-tick {
    border-radius: 50%;
    color: #666;
    line-height: 26px;
    text-align: center;
    width: 26px;
    height: 26px;
    position: absolute;
    cursor: pointer;
}

.clockpicker-plate.on-move, .clockpicker-plate.on-move .clockpicker-tick {
    cursor: move !important;
}

.clockpicker-plate {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 200px;
    height: 200px;
    overflow: visible;
    position: relative;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

    .clockpicker-tick.active, .clockpicker-plate:not(.on-move) .clockpicker-tick:hover {
        background-color: #c0e5f7;
        background-color: rgba(0,149,221,.25);
    }

.clockpicker-canvas line {
    stroke: #0095dd;
    stroke-width: 1;
    stroke-linecap: round;
}

.clockpicker-canvas-bearing, .clockpicker-canvas-fg {
    stroke: none;
    fill: #0095dd;
}

.clockpicker-canvas-bg {
    stroke: none;
    fill: #c0e5f7;
}

#txt-clockpicker {
    margin: 10px;
    text-align: center;
    width: 175px;
}

.text-primary {
    color: #428bca;
}
/*#endregion*/

/*#region Spicker*/
/*Smart Picker*/
.spicker {
    font-family: IRANSansWeb;
    display: block;
}

    .spicker > table {
        direction: ltr;
    }

    .spicker input, .spicker select, .spicker textarea {
        font-family: inherit; /*It's essential to enforce input and similar controls to accept verified font*/
    }

    .spicker table {
        border-collapse: collapse;
        width: 100%;
    }

    .spicker td {
        padding: 0px;
        border: none;
    }

    .spicker .spicker-button {
        background: #d3d3d3;
        cursor: pointer;
        font-size: 1rem;
        /*height: 35px;
    width: 35px;*/
        padding-right: 3px;
        /* border: 1px solid #3E8ABE; */
        /* border-right: none; */
        border-radius: 5px 0 0 5px;
        padding: 10px;
    }

    .spicker input[type="text"], .spicker input[type="text"][data-stuff="date"] {
        /*background: white;
    font-size: 13px;
    border-radius: 5px 5px 5px 5px;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.2) inset, 0 1px 0 rgba(255, 255, 255, 0.75);
    padding: 3px 6px;
    width: 113px;
	height: 20px;
	border-radius: 0 5px 5px 0;*/
        text-align: center;
    }

.pick-cal td {
    padding: 0px;
    border: none;
}

.pick-cal .req {
    border: 1px solid red;
    margin: 1px;
}

.pick-cal .tbpick-cal {
    width: 113px;
    text-align: center;
    border-radius: 0 5px 5px 0;
    direction: ltr;
}

.tblColumn .pick-cal .tbpick-cal { /*Column mode*/
    /*width: 75px;*/
}

.gv2 .pick-cal .tbpick-cal {
    width: 71px;
}

.pick-cal .pnlImg {
    background: #d3d3d3 url(Images/Date.gif) no-repeat center;
    cursor: pointer;
    height: 16px;
    width: 16px;
    padding-right: 3px;
    border: 1px solid #3E8ABE;
    /*border-right: none;*/
    border-radius: 5px 0 0 5px;
    padding: 6px;
}

.pick-cal .timePicker {
    margin-right: 16px;
    display: block;
}

div.pk2-dialog-box {
    direction: rtl;
    border: 1px solid silver;
    text-align: center;
    width: 212px; /*inherit*/
    height: inherit;
    /*display: none;*/
    position: absolute;
    z-index: 1001;
}

div.pk2-dialog-body {
    background: white;
    overflow: hidden;
    min-height: 190px;
    font-size: 0.75rem;
    height: inherit;
}

    div.pk2-dialog-body table {
        border-collapse: collapse;
        width: 100%;
        height: 180px;
    }

    div.pk2-dialog-body th {
        font-size: 10px;
    }

    div.pk2-dialog-body table td:not(.other-month) {
        cursor: default;
    }

div[data-step=month] + div.pk2-dialog-body table td:not(.other-month):hover {
    background: gray;
    cursor: pointer;
    color: white;
    border-radius: 50%;
}

div[data-step=decate] + div.pk2-dialog-body td:not(:empty):hover, div[data-step=year] + div.pk2-dialog-body td:hover {
    background: gray;
    cursor: pointer;
    color: white;
    border-radius: 10px;
}

div.pk2-dialog-body tr > td:nth-of-type(7):not(.other-month) {
    color: #ed0909;
}

div.pk2-dialog-body tr > td.other-month:last-child {
    color: #e9a3a3;
}

div[data-step=month] + div.pk2-dialog-body td {
    height: 25px;
    width: 25px;
}

div[data-step=decate] + div.pk2-dialog-body td, div[data-step=year] + div.pk2-dialog-body td {
    height: 25px;
    width: 33.3%;
}

div.pk2-dialog-body td.current-date {
    background: #007CFF;
    color: white;
    border-radius: 50%;
}

div.pk2-dialog-body td.selected-date {
    border: 1px solid #007CFF;
    box-sizing: border-box;
    border-radius: 50%;
}

div.pk2-dialog-body td.other-month {
    color: #dadada;
}

div.pk2-dialog-footer {
    padding: 2px 0;
    background: #888;
    font-size: 12px;
    color: antiquewhite;
    height: 25px;
}

    div.pk2-dialog-footer:hover, div.pk2-dialog-header span:hover {
        color: white;
        cursor: pointer;
        transition: color 0.2s;
    }

.pk2-hirarchy-parent {
    height: 30px;
    line-height: 30px;
}

    .pk2-hirarchy-parent > span {
        margin: 10px;
        border: 1px solid #b2f7b2;
        padding: 2px;
        cursor: pointer;
        background: #e5f7e5;
        border-radius: 5px;
    }

.pk2-hirarchy-child {
    height: 30px;
    line-height: 30px;
}

    .pk2-hirarchy-child > input[type=checkbox] {
        margin-right: 20px;
    }

    .pk2-hirarchy-child > span {
        border: 1px solid #d5e7fb;
        padding: 2px;
        cursor: pointer;
        background: #e8f0f9;
        border-radius: 5px;
    }

.pk2-body-container {
    height: 200px;
    overflow-x: auto;
}


/*#region picker2 plate*/
.picker2 .plate-container {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
}

    .picker2 .plate-container .plate {
        /*min-width: 328px;
	width: 328px;
	height: 64px;*/

        display: flex;
        height: 35px;
        position: relative;
        border: 1px solid #d2d6de;
        /*border-radius: 8px;*/
        cursor: pointer;
    }

.picker2 .plate[plate-type="public"] {
    background: #ffca0b;
}

.picker2 .plate[plate-type="police"] {
    background: #045630;
}

.picker2 .plate[plate-type="sepah"] {
    background: #0f301b;
}

.picker2 .plate[plate-type="dod"], .picker2 .plate[plate-type="armed-forces"] {
    background: #1668ce;
}

    .picker2 .plate[plate-type="police"] .plate-part-input, .picker2 .plate[plate-type="sepah"] .plate-part-input, .picker2 .plate[plate-type="dod"] .plate-part-input, .picker2 .plate[plate-type="armed-forces"] .plate-part-input {
        color: white;
    }

.picker2 .plate[plate-type="diplomat"], .picker2 .plate[plate-type="service"] {
    background: #aec7ff;
}

.picker2 .plate[plate-type="army"] {
    background: #d4b586;
}

.picker2 .plate-container .plate .flag-part {
    width: 10%;
}

    .picker2 .plate-container .plate .flag-part img {
        width: 100%;
        height: auto;
        max-height: 100%;
    }

.picker2 .plate-container .plate .first-part {
    width: 20%;
    /*margin-right: 3%;*/
    font-size: 1.2em;
    text-align: center;
}

.picker2 .plate-container input.plate-part-input {
    text-align: center;
    background-color: transparent;
    border-style: none;
    width: 100%;
    position: relative;
    top: 10%;
}

    .picker2 .plate-container input.plate-part-input:focus {
        outline: none;
        color: blue;
    }

.picker2 .plate-container .plate .char-part {
    width: 22%;
    margin-right: 3%;
    font-size: 1em;
}

.picker2 .plate-container .plate .third-part {
    width: 23%;
    /*margin-right: 6%;*/
    font-size: 1.2em;
    text-align: center;
}

.picker2 .plate-container .plate .state-code-part {
    background: url(../Image/vehicle-registration-plate-iran-text.png);
    background-repeat: no-repeat;
    background-size: 60% 60%;
    background-position: center -3px;
    border-left: 1px solid #d7d7d7;
    width: 20%;
    /*margin-right: 3%;*/
    font-size: 1.2em;
    text-align: center;
}
/*#endregion*/

@keyframes pdate-zoom-in {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@keyframes pdate-zoom-out {
    0% {
        transform: scale(2);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pdate-minimize {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(0.8);
        opacity: 0;
    }
}

@keyframes pdate-maximize {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}
/*#endregion*/
@media only screen and (max-width: 600px) {
	.pk2-dialog-box{
		width: 100vw !important;
		height: calc(100vh - 50px) !important;
		position: fixed !important;
		top: 0;
		left: 0;
	}
}

.datepicker-close{
	float: right;
    cursor: pointer;
    color: white;
    padding: 3px;
}