.sfr-newSearch-swHand {
    position: absolute;
    left: 10px;
    top: 40px;
    line-height: 35px;
    border-radius: 5px;
    box-sizing: border-box;
    width: 100px;
    background-color: #ccc;
    height: 35px;
}

.sfr-newSearch-swHand-p {
    position: relative;
}

.sfr-newSearch-swHand-btn {
    background-color: #3367D6;
    color: #fff;
    text-align: center;
    border-radius: 5px;
    width: 50px;
    position: absolute;
    left: 50px;
    box-shadow: 0 2px 5px #777;
    cursor: pointer;
    transition: all .2s;
    z-index: 1;
}

.sfr-newSearch-swHand-p:before {
    content: "میلادی";
    position: absolute;
    left: 10px;
    top: 0px;
    color: #777;
    z-index: 0;
}

.sfr-newSearch-swHand-p:after {
    content: "شمسی";
    position: absolute;
    right: 10px;
    top: 0px;
    z-index: 0;
    color: #777;
}

.sfr-newSearch-swHand .sfr-newSearch-swHand-en {
    display: none;
}

.sfr-newSearch-swHand.aTab .sfr-newSearch-swHand-fa {
    display: none;
}

.sfr-newSearch-swHand.aTab .sfr-newSearch-swHand-en {
    display: block;
}

.sfr-newSearch-swHand.aTab .sfr-newSearch-swHand-btn {
    left: 0;
}

.pnl_cln_p.aTab {
    direction: ltr;
}

.pnl_cln_p.aTab .pnl_cln_title {
    text-align: left;
}

.aTab .pnl_cln_weekdays-d1,
.aTab .pnl_cln_weekdays-d2,
.aTab .pnl_cln_weekdays-d3,
.aTab .pnl_cln_weekdays-d4,
.aTab .pnl_cln_weekdays-d5,
.aTab .pnl_cln_weekdays-d6,
.aTab .pnl_cln_weekdays-d7 {
    float: right;
}

.aTab .pnl_cln_w_items,
.aTab .pnl_cln_item {
    float: left;
}

.aTab .p_cln_cRight {
    right: auto;
    left: 0;
}

.aTab .p_cln_cLeft {
    right: 0;
    left: auto;
}

.aTab .p_cln_cLeft:before {
    transform: rotateZ(270deg) !important;
}

.aTab .p_cln_cRight:before {
    transform: rotateZ(90deg) !important;
}

.aTab .startDay::before {
    left: auto;
    right: 0;
}

@media screen and (max-width:780px) {
    .sfr-newSearch-swHand {
        left: 50%;
        top: 17px;
        line-height: 25px;
        height: 25px;
        margin-left: -50px;
    }
    .pnl_cln_title {
        margin-top: 35px;
    }
}


/* ---------------*/

.pnl_cln_w_items:nth-child(7n+7) {
    color: #f00;
}


/* ------------------- Main Page --*/

.pnl-calendar2017 {
    position: relative;
}

.pnl_fvn {
    background: #fff none repeat scroll 0 0;
    border-radius: 2px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.2), 0 0 2px 0 rgba(0, 0, 0, 0.2);
    color: initial;
    margin: -15px -15px 0 0;
    padding-top: 88px;
    position: absolute;
    z-index: 11;
    display: none;
}

.pnl-calendar2017.active .pnl_fvn {
    display: block;
}

.active .sfr-newSearch-date1,
.active .sfr-newSearch-date2 {
    position: relative;
    z-index: 12;
}

.pnl-calendar2017.active .sfr-newSearch-date1 input,
.pnl-calendar2017.active .sfr-newSearch-date2 input {
    border: 1px solid rgba(0, 0, 0, 0.16);
}

.pnl_cln_p {
    border-bottom: 1px solid #e0e0e0;
    border-top: 1px solid #e0e0e0;
    padding: 20px 0;
    position: relative;
}

.pnl_cln_item {
    box-sizing: border-box;
    float: right;
    padding: 0 50px;
    width: 380px;
    transition: all .2s;
    position: relative;
    right: 0;
}

.pnl_cln_title {
    text-align: right;
}

.pnl_cln_title div {
    display: inline-block;
}

.pnl_cln_weekdays-d1,
.pnl_cln_weekdays-d2,
.pnl_cln_weekdays-d3,
.pnl_cln_weekdays-d4,
.pnl_cln_weekdays-d5,
.pnl_cln_weekdays-d6,
.pnl_cln_weekdays-d7 {
    float: right;
    width: 14.2%;
    color: rgba(0, 0, 0, 0.54);
    text-align: center;
    margin: 10px 0;
}

.pnl_cln_w_items {
    float: right;
    width: 14.2%;
    text-align: center;
    cursor: pointer;
    margin-top: 2px;
    height: 40px;
    position: relative;
}

.pnl_cln_w_items span {
    padding: 2px 0;
    display: inline-block;
    width: 100%;
    line-height: 36px;
    position: relative;
    z-index: 1;
    font-size: 13px;
    font-weight: bold;
}

.pnl_cln_w_items div[id^="divP"] {
    color: #adadad;
    font-size: 11px;
    height: 15px;
    position: absolute;
    width: 100%;
    text-align: center;
    left: 0;
    top: 27px;
    z-index: 10;
}

.pnl_cln_w_items div[id^="divP"]:empty {
    display: none;
}

.pnl_cln_w_items.holiday span[id^="lbl"],
.pnl_cln_comment ul li.holiday {
    color: red;
}


/*
.pnl_cln_w_items div[id^="divT"] {
	position: absolute;
	bottom: 100%;
	width: 200px;
	direction: rtl;
	text-align: right;
	background-color: #fff;
	box-shadow: 1px 3px 6px rgba(20,20,20,0.3);
	border-radius: 5px;
	padding: 10px;
	z-index: 10;
	box-sizing: border-box;
	font-size: 9px;
	left: 50%;
	margin-left: -100px;
	visibility: hidden;
	opacity: 0;
	margin-bottom: -10px;
	transition: 1.5s opacity .3s,margin-bottom .3s;
}
.pnl_cln_w_items div[id^="divT"]:before {
    -moz-border-bottom-colors: none;
    -moz-border-left-colors: none;
    -moz-border-right-colors: none;
    -moz-border-top-colors: none;
	border-color: #fff rgba(255,255,255,0) rgba(255,255,255,0) rgba(255,255,255,0);
	-o-border-image: none;
	border-image: none;
	border-style: solid;
	border-width: 10px;
	content: " ";
	height: 0;
	right: 50%;
	pointer-events: none;
	position: absolute;
	top: 100%;
	width: 0;
	margin-right: -10px;
}
.pnl_cln_w_items:hover div[id^="divT"] {
	margin-bottom: 0;
	opacity: 1;
	visibility: visible;
}
*/

.betweenDay {
    background-color: #e8f0fe;
}

.startDay span,
.endDay span {
    background-color: #3367d6;
    border-radius: 5px;
    color: #fff;
    line-height: 36px;
}

.startDay div,
.endDay div {
    background-color: #0288D1;
    border-radius: 0 0 5px 5px;
    color: #fff !important;
    margin: 0;
}

.startDay,
.endDay {
    position: relative;
}

.startDay:before,
.endDay:before {
    position: absolute;
    background-color: #e8f0fe;
    height: 100%;
    width: 50%;
    top: 0;
    content: "";
    z-index: -1
}

.startDay:before {
    left: 0;
}

.c_disable {
    opacity: 0.26;
    cursor: default;
}

.p_cln_cRight:before,
.p_cln_cLeft:before {
    height: 40px;
    width: 40px;
    content: "";
    display: block;
}

.p_cln_cRight,
.p_cln_cLeft {
    height: 40px;
    width: 40px;
    background-color: #fff;
    border-radius: 100%;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.12), 0 4px 4px rgba(0, 0, 0, 0.24);
    cursor: pointer;
    margin: -20px -20px 0;
    pointer-events: all;
    position: absolute;
    top: 50%;
    z-index: 20;
}

.p_cln_cRight {
    right: 0;
}

.p_cln_cLeft {
    left: 0;
}

.p_cln_cLeft:before {
    background: url(https://cdn.safarme.com/Files/cimg/expand_more_black_24dp.png) no-repeat center center / 24px auto;
    transform: rotateZ(90deg);
}

.p_cln_cRight:before {
    background: url(https://cdn.safarme.com/Files/cimg/expand_more_black_24dp.png) no-repeat center center / 24px auto;
    transform: rotateZ(270deg);
}

.p_cln_cRight.disable:before,
.p_cln_cLeft.disable:before {
    opacity: 0.2;
    cursor: default;
}

.pnl_cln_items_parent {
    overflow: hidden;
    width: 760px;
}

.pnl_cln_comment {
    padding: 15px 50px;
    direction: rtl;
    min-height: 20px;
}

.pnl_cln_alert {
    padding-right: 16px;
    color: #f00
}

#divalertfade_txtDate,
#divalertfade_txtEnterDate,
#divalertfade_txtTourEnterDate {
    width: 250px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -20px 0 0 -125px;
    background-color: rgba(46, 46, 46, 0.62);
    border-radius: 5px;
    line-height: 50px;
    color: #fff;
    text-align: center;
    font-size: 16px;
    z-index: 99999;
    padding-left: 16px;
}

@media screen and (min-width:991px) {}

@media screen and (min-width:960px) and (max-width:991px) {}

@media screen and (min-width:854px) and (max-width:960px) {}

@media screen and (min-width:800px) and (max-width:854px) {}

@media screen and (max-width:780px) {
    .pnl_cln_alert {
        display: none !important;
    }
    .sfm-searchMain {
        z-index: inherit !important;
    }
    .pnl_fvn {
        position: absolute;
        margin: 0;
        padding: 0;
        left: 0;
        width: 100%;
        z-index: 30;
    }
    .pnl_cln_items_parent {
        width: 100%;
    }
    .pnl_cln_items {
        width: 200%;
    }
    .pnl-calendar2017 {
        position: static;
    }
    .pnl_cln_item {
        width: 50%;
    }
    .p_cln_cRight,
    .p_cln_cLeft {
        border-radius: 0;
        margin: 0;
    }
}

@media screen and (min-width:720px) and (max-width:800px) {}

@media screen and (min-width:640px) and (max-width:720px) {}

@media screen and (min-width:480px) and (max-width:640px) {}

@media screen and (min-width:400px) and (max-width:480px) {}

@media screen and (min-width:320px) and (max-width:400px) {}

@media screen and (min-width:240px) and (max-width:320px) {}