File: /home/zwafgyp/dodolodge-net/wp-content/themes/hotel-wp/assets/sass/shortcodes/_hb-rooms-search.scss
.hotel-booking-search {
padding: 0;
&.layout-default {
padding: 0;
form {
font-size: 14px;
text-align: center;
&:after {
@extend .clear-after;
}
.hb-form-table {
display: inline-block;
vertical-align: middle;
.hb-form-field {
display: inline-block;
vertical-align: middle;
padding: 0;
margin-bottom: 0;
float: left;
border-right: 1px solid $border-color;
.hb_input_field {
display: block;
background-color: #FFF;
&:after {
font-size: 12px;
top: 0;
min-width: 15px;
line-height: 60px;
}
button.ui-datepicker-trigger {
position: absolute;
top: 0;
left: 0;
right: 0;
background: transparent;
border: 0;
z-index: 99;
i.fa.fa-calendar {
display: none;
}
}
}
input {
min-width: 150px !important;
height: 60px;
padding-left: 20px;
padding-right: 20px;
border: none;
background: transparent;
z-index: 2;
@include rounded(0);
@include placeholder(#4a4a4a);
&.error {
@include placeholder(#a00);
}
}
select[name="adults_capacity"] {
display: none !important;
}
.select2-container {
display: block;
margin: auto;
width: 100% !important;
text-align: left;
min-width: 80px;
&:focus {
outline: none;
}
.select2-selection--single {
border: 0;
height: 60px;
@include rounded(0);
min-width: 80px;
&:focus {
outline: none;
}
.select2-selection__rendered {
min-width: 80px;
height: 60px;
line-height: 60px;
color: #4a4a4a;
font-size: 16px;
padding-left: 10px;
&:focus {
outline: none;
}
}
.select2-selection__arrow {
height: 60px;
}
}
}
}
}
.hb-submit {
display: inline-block;
vertical-align: middle;
padding: 0;
margin-left: -5px;
button {
min-width: 180px;
font-size: 14px;
font-weight: bold;
padding-right: 20px;
padding-left: 20px;
color: #fff;
height: 60px;
border: none;
text-transform: uppercase;
@include rounded(0);
&.hb_loading {
position: relative;
overflow: hidden;
&:after {
position: absolute;
content: '';
display: block;
background-image: url('assets/images/icons/ajax-loader.gif');
background-size: 26px 26px;
background-repeat: no-repeat;
background-color: rgba(255, 255, 255, 0.75);
left: 0;
right: 0;
top: 0;
bottom: 0;
background-position: center center;
z-index: 9;
}
}
.lds-ring{
position: absolute;
left: 3px;
}
}
}
}
}
&.layout-box {
padding: 0;
form {
.hb-form-table {
width: 100%;
&:after {
@extend .clear-after;
}
.hb-form-field {
width: 33.33%;
float: left;
padding-left: 15px;
text-align: center;
&:first-child {
padding-left: 0;
}
.label {
font-weight: normal;
margin-top: 0;
}
.hb_input_field {
display: block;
padding: 40px 20px 80px;
border: 1px solid #ddd;
.month {
font-size: 18px;
font-weight: bold;
text-transform: uppercase;
margin-bottom: 18px;
border: 0;
width: 100%;
max-width: 100%;
padding: 0;
text-align: center;
height: auto;
min-width: 50px;
}
.check-date {
border: 0;
min-width: 0;
height: 0;
width: 1px;
padding: 0;
float: left;
@include opacity(0);
}
&:after {
display: none;
}
.ui-datepicker-trigger {
position: absolute;
left: 0;
bottom: 25px;
background: transparent;
border: 0;
width: 100%;
min-width: 100%;
border-radius: 0;
height: 150px;
padding: 0;
i {
position: absolute;
bottom: 0;
left: 0;
height: 40px;
line-height: 40px;
width: 100%;
}
}
}
.day,
select[name="adults_capacity"] {
text-align: center;
min-width: 20px;
font-size: 72px;
font-weight: bold;
height: auto;
border: none;
padding: 0;
max-width: 100%;
-webkit-appearance: none;
-moz-appearance: none;
@include rounded(0);
@include box-shadow(none);
&.error {
color: #a00;
}
}
.hb-guest-field {
position: relative;
display: block;
padding: 40px 0px 27px;
border: 1px solid #ddd;
select {
line-height: 120%;
pointer-events: none;
background: transparent;
}
.select2-container {
display: block;
margin: auto;
min-width: 60px;
.selection {
.select2-selection {
&:focus {
outline: none;
}
border: 0;
height: 72px;
font-size: 72px;
font-weight: 700;
.select2-selection__rendered {
&:focus {
outline: none;
}
line-height: 72px;
padding-left: 0;
padding-right: 0;
color: #4a4a4a;
}
.select2-selection__arrow {
display: none;
}
}
}
}
span.goUp {
width: 100%;
height: 42px;
display: block;
cursor: pointer;
margin-bottom: 6px;
@-moz-document url-prefix() {
margin-bottom: 0;
}
}
span.goDown {
cursor: pointer;
width: 100%;
display: block;
height: 30px;
margin-top: 30px;
position: relative;
@-moz-document url-prefix() {
margin-top: 24px;
}
.icon-up {
@include rotate(180deg);
position: absolute;
left: 0;
right: 0;
margin: auto;
top: 4px;
}
}
}
}
}
.hb-submit {
text-align: right;
margin-top: 10px;
@media (max-width: 480px) {
text-align: center;
}
button {
font-weight: 700;
font-size: 15px;
display: inline-block;
padding: 18px 68px;
text-transform: uppercase;
color: #fff;
height: auto;
border: none;
@include rounded(0);
@include box-shadow(none);
.lds-ring {
position: absolute;
left: 10px;
// &:after {
// position: absolute;
// content: '';
// display: block;
// background-image: url('assets/images/icons/ajax-loader.gif');
// background-size: 26px 26px;
// background-repeat: no-repeat;
// background-color: rgba(255, 255, 255, 0.75);
// left: 0;
// right: 0;
// top: 0;
// bottom: 0;
// background-position: center center;
// z-index: 9;
// }
}
}
}
}
}
&.layout-special {
display: inline-block;
width: 100%;
padding: 0;
background: #ffffff;
@include box-shadow(0 10px 30px rgba(0, 0, 0, .3));
.hb-form-table {
background: #ffffff;
width: 75%;
float: left;
margin: 0px;
position: relative;
.multidate {
position: absolute;
font-size: 16px;
opacity: 0;
height: 100%;
width: 66.66%;
border: none;
z-index: 2;
background: none;
cursor: pointer;
left: 0;
}
.hb-form-field {
width: 33.33%;
float: left;
padding: 26px 40px;
position: relative;
margin: 0;
&.hb-form-check-in {
&:after {
content: '';
position: absolute;
right: 25px;
bottom: 38px;
width: 50px;
height: 17px;
background: url(assets/images/icons/icon-next.png) no-repeat;
}
}
&.hb-form-check-out {
&:before {
content: "\f3d0";
font-family: "Ionicons";
font-size: 14px;
position: absolute;
bottom: 28px;
right: 40px;
color: #aaaaaa;
}
}
&.hb-form-number {
.hb-form-field-input {
display: inline-block;
width: 100%;
cursor: pointer;
z-index: 2;
}
&:before {
content: '';
position: absolute;
top: 20px;
bottom: 20px;
left: 0;
width: 1px;
background: #ebebeb;
}
&:after {
content: "\f3d0";
font-family: "Ionicons";
font-size: 14px;
position: absolute;
bottom: 28px;
right: 40px;
color: #aaaaaa;
}
.hb-form-field-list {
opacity: 0;
visibility: hidden;
position: absolute;
top: 100%;
left: 0;
width: 100%;
padding: 32px;
background: #ffffff;
z-index: 9;
margin-top: 12px;
@include box-shadow(0 10px 30px rgba(0, 0, 0, .3));
@include transition(all 0.5s);
&.active {
opacity: 1;
visibility: visible;
}
&:before {
content: '';
border-color: transparent transparent #ffffff transparent;
border-style: solid;
border-width: 0px 10px 12px 10px;
height: 0;
left: 50px;
margin-left: -5px;
margin-top: -10px;
position: absolute;
top: -2px;
width: 0;
}
.hb-form-field-input {
margin-bottom: 16px;
line-height: 40px;
&:last-child {
margin: 0;
}
}
.number-icons {
width: 40px;
height: 40px;
background: #ebebeb;
line-height: 40px;
text-align: center;
font-size: 16px;
color: #aaaaaa;
display: inline-block;
float: right;
margin-left: 12px;
cursor: pointer;
i:before {
line-height: 40px;
}
&:hover {
background: #dcdcdc;
}
}
}
}
.label {
font-weight: normal;
text-transform: uppercase;
font-size: 12px;
line-height: 1;
margin-bottom: -5px;
}
.hb_input_field {
input {
width: 75px;
height: auto;
border: none;
border-radius: 0;
line-height: 1;
min-width: 0;
background: none;
padding: 0;
padding-left: 5px;
font-size: 15px;
color: #222222;
font-weight: bold;
cursor: pointer;
text-transform: capitalize;
}
input.day, .getWidth {
font-size: 44px;
font-weight: bold;
padding: 0;
}
&:after {
display: none;
}
button {
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
background: none;
border: none;
padding: 0;
display: none;
}
}
}
}
.select2-container, select {
width: auto !important;
pointer-events: none;
}
.select2-container--default {
.select2-selection--single {
border: none;
.select2-selection__arrow {
display: none;
}
.select2-selection__rendered {
padding: 0;
}
}
}
.daterangepicker.dropdown-menu {
display: none;
width: 672px;
padding: 0;
border-radius: 0;
padding: 32px 24px;
margin-top: 12px;
@include box-shadow(0 10px 30px rgba(0, 0, 0, .3));
@include transition(all 0.5s);
&:before {
content: '';
border-color: transparent transparent #ffffff transparent;
border-style: solid;
border-width: 0px 10px 12px 10px;
height: 0;
left: 50px;
margin-left: -5px;
margin-top: -10px;
position: absolute;
top: -2px;
width: 0;
}
&:after {
content: '';
border-color: transparent transparent #ffffff transparent;
border-style: solid;
border-width: 0px 10px 12px 10px;
height: 0;
left: 350px;
margin-left: -5px;
margin-top: -10px;
position: absolute;
top: -2px;
width: 0;
}
.daterangepicker_input {
display: none;
}
.calendar {
width: 50%;
padding: 0px 16px;
margin: 0;
max-width: 312px;
.calendar-table {
padding: 0;
}
table {
border: none;
}
tr {
border: none;
}
th {
border: none;
width: 40px;
height: 40px;
padding: 0;
min-width: 40px;
font-weight: normal;
&.available {
width: 40px;
height: 40px;
background: #ebebeb;
line-height: 40px;
text-align: center;
font-size: 16px;
color: #aaaaaa;
display: inline-block;
float: right;
margin-left: 12px;
cursor: pointer;
border: none;
margin: 0;
border-radius: 0;
padding: 0;
font-weight: normal;
i {
display: none;
}
&.prev {
&:before {
content: "\f3cf";
font-family: "Ionicons";
}
}
&.next {
&:before {
content: "\f3d1";
font-family: "Ionicons";
}
}
&:hover {
background: #dcdcdc;
}
}
&.month {
font-weight: normal;
font-size: 16px;
}
}
thead {
th {
font-size: 12px;
}
}
tbody {
td {
border-radius: 0;
padding: 0;
font-size: 14px;
border: 1px solid #ebebeb;
width: 40px;
height: 40px;
color: #333333;
&.off {
color: #999999;
}
&:hover, &.active {
color: #fff;
}
&.in-range {
&:hover {
color: #333333;
}
}
&.active:hover {
color: #ffffff;
}
}
}
}
}
.hb-submit {
width: 25%;
float: left;
padding: 24px 40px;
.contact-info {
line-height: 1;
font-size: 13px;
text-transform: uppercase;
display: block;
text-align: center;
color: rgba(255, 255, 255, 0.45);
}
button {
width: 100%;
margin-top: 10px;
font-size: 15px;
font-weight: normal;
line-height: 48px;
padding: 0;
text-align: center;
border: none;
height: auto;
border-radius: 0;
min-width: 0;
&.hb_loading {
position: relative;
overflow: hidden;
&:after {
position: absolute;
content: '';
display: block;
background-image: url('assets/images/icons/loading_search.gif');
background-size: 26px 26px;
background-repeat: no-repeat;
background-color: rgba(255, 255, 255, 0.75);
left: 0;
right: 0;
top: 0;
bottom: 0;
background-position: center center;
z-index: 9;
}
}
}
}
}
}
#ui-datepicker-div {
border-radius: 0;
border: 1px solid $border-color;
z-index: 9999 !important;
padding: 5px !important;
min-width: 300px;
button,
button:focus,
select,
select:focus {
outline: 0;
box-shadow: none;
}
.ui-state-active {
color: #FFF;
}
.ui-state-highlight {
color: red;
}
.ui-timepicker-div {
select {
background: #fff !important;
padding: 4px 0;
}
> dl {
margin-bottom: 0;
padding-top: 20px;
&:after {
display: block;
content: '';
clear: both;
}
}
.ui_tpicker_time {
width: 100%;
}
.ui_tpicker_hour,
.ui_tpicker_minute,
.ui_tpicker_hour_label,
.ui_tpicker_minute_label {
width: 50%;
float: left;
}
.ui_tpicker_hour,
.ui_tpicker_minute {
text-align: left;
}
}
select {
margin: 0;
&.ui-timepicker-select {
width: 50%;
}
}
.ui-datepicker-next,
.ui-datepicker-prev {
height: 42px !important;
}
.ui-state-highlight,
.ui-widget-content .ui-state-highlight,
.ui-widget-header .ui-state-highlight {
color: #fff;
}
.ui-state-hover {
color: #666;
}
.ui-datepicker-title {
font-size: 13px;
text-transform: capitalize;
color: #fff;
margin: 0;
border-radius: 0;
line-height: 26px;
font-weight: bold;
}
.ui-datepicker-header {
border: 0 !important;
background: transparent;
.ui-datepicker-prev {
left: 1px;
}
.ui-datepicker-next {
right: 1px;
}
}
.ui-datepicker-buttonpane {
button {
font-size: 13px;
color: #fff;
padding: 0 20px;
border: none !important;
}
}
.ui-datepicker-prev, .ui-datepicker-next {
border: 0 !important;
top: 0;
}
.ui-corner-all, .ui-corner-bottom, .ui-corner-right, .ui-corner-br {
border-radius: 0;
border: 1px solid $border-color;
}
dt {
font-size: 13px;
line-height: 26px;
}
dd {
font-size: 18px;
margin-bottom: 17px;
}
th {
font-weight: 400;
font-size: 14px;
}
td {
font-size: 13px;
}
table {
border: 0;
margin-bottom: 0;
td, tr {
border-color: #eee;
}
}
.ui-slider-horizontal {
height: 7px;
.ui-slider-handle {
height: 15px;
width: 15px;
margin-left: 0;
border-radius: 50%;
}
}
.ui-timepicker-div {
> dl {
text-align: center;
}
}
}
.room-search-text-link {
font-size: 15px;
display: inline-block;
text-align: right;
p {
margin-bottom: 5px;
}
a {
color: inherit;
}
}
/*MultiDate*/
/* Calendars */
.daterangepicker {
position: absolute;
color: inherit;
background-color: #fff;
border-radius: 4px;
width: 278px;
padding: 4px;
margin-top: 1px;
top: 100px;
left: 20px;
}
.daterangepicker:before, .daterangepicker:after {
position: absolute;
display: inline-block;
border-bottom-color: rgba(0, 0, 0, 0.2);
content: '';
}
.daterangepicker:before {
top: -7px;
border-right: 7px solid transparent;
border-left: 7px solid transparent;
border-bottom: 7px solid #ccc;
}
.daterangepicker:after {
top: -6px;
border-right: 6px solid transparent;
border-bottom: 6px solid #fff;
border-left: 6px solid transparent;
}
.daterangepicker.opensleft:before {
right: 9px;
}
.daterangepicker.opensleft:after {
right: 10px;
}
.daterangepicker.openscenter:before {
left: 0;
right: 0;
width: 0;
margin-left: auto;
margin-right: auto;
}
.daterangepicker.openscenter:after {
left: 0;
right: 0;
width: 0;
margin-left: auto;
margin-right: auto;
}
.daterangepicker.opensright:before {
left: 9px;
}
.daterangepicker.opensright:after {
left: 10px;
}
.daterangepicker.dropup {
margin-top: -5px;
}
.daterangepicker.dropup:before {
top: initial;
bottom: -7px;
border-bottom: initial;
border-top: 7px solid #ccc;
}
.daterangepicker.dropup:after {
top: initial;
bottom: -6px;
border-bottom: initial;
border-top: 6px solid #fff;
}
.daterangepicker.dropdown-menu {
max-width: none;
z-index: 3001;
}
.daterangepicker.single .ranges, .daterangepicker.single .calendar {
float: none;
}
.daterangepicker.show-calendar .calendar {
display: block;
}
.daterangepicker .calendar {
display: none;
max-width: 270px;
margin: 4px;
}
.daterangepicker .calendar.single .calendar-table {
border: none;
}
.daterangepicker .calendar th, .daterangepicker .calendar td {
white-space: nowrap;
text-align: center;
min-width: 32px;
}
.daterangepicker .calendar-table {
border: 1px solid #fff;
padding: 4px;
border-radius: 4px;
background-color: #fff;
}
.daterangepicker table {
width: 100%;
margin: 0;
}
.daterangepicker td, .daterangepicker th {
text-align: center;
width: 20px;
height: 20px;
border-radius: 4px;
border: 1px solid transparent;
white-space: nowrap;
cursor: pointer;
}
.daterangepicker td.available:hover, .daterangepicker th.available:hover {
background-color: #eee;
border-color: transparent;
color: inherit;
}
.daterangepicker td.week, .daterangepicker th.week {
font-size: 80%;
color: #ccc;
}
.daterangepicker td.off, .daterangepicker td.off.in-range, .daterangepicker td.off.start-date, .daterangepicker td.off.end-date {
background-color: #fff;
border-color: transparent;
color: #999;
}
.daterangepicker td.in-range {
background-color: #ebf4f8;
border-color: transparent;
color: #000;
border-radius: 0;
}
.daterangepicker td.start-date {
border-radius: 4px 0 0 4px;
}
.daterangepicker td.end-date {
border-radius: 0 4px 4px 0;
}
.daterangepicker td.start-date.end-date {
border-radius: 4px;
}
.daterangepicker td.active, .daterangepicker td.active:hover {
background-color: #357ebd;
border-color: transparent;
color: #fff;
}
.daterangepicker th.month {
width: auto;
}
.daterangepicker td.disabled, .daterangepicker option.disabled {
color: #999;
cursor: not-allowed;
text-decoration: line-through;
}
.daterangepicker select.monthselect, .daterangepicker select.yearselect {
font-size: 12px;
padding: 1px;
height: auto;
margin: 0;
cursor: default;
}
.daterangepicker select.monthselect {
margin-right: 2%;
width: 56%;
}
.daterangepicker select.yearselect {
width: 40%;
}
.daterangepicker select.hourselect, .daterangepicker select.minuteselect, .daterangepicker select.secondselect, .daterangepicker select.ampmselect {
width: 50px;
margin-bottom: 0;
}
.daterangepicker .input-mini {
border: 1px solid #ccc;
border-radius: 4px;
color: #555;
height: 30px;
line-height: 30px;
display: block;
vertical-align: middle;
margin: 0 0 5px 0;
padding: 0 6px 0 28px;
width: 100%;
}
.daterangepicker .input-mini.active {
border: 1px solid #08c;
border-radius: 4px;
}
.daterangepicker .daterangepicker_input {
position: relative;
}
.daterangepicker .daterangepicker_input i {
position: absolute;
left: 8px;
top: 8px;
}
.daterangepicker.rtl .input-mini {
padding-right: 28px;
padding-left: 6px;
}
.daterangepicker.rtl .daterangepicker_input i {
left: auto;
right: 8px;
}
.daterangepicker .calendar-time {
text-align: center;
margin: 5px auto;
line-height: 30px;
position: relative;
padding-left: 28px;
}
.daterangepicker .calendar-time select.disabled {
color: #ccc;
cursor: not-allowed;
}
.ranges {
font-size: 11px;
float: none;
margin: 4px;
text-align: left;
}
.ranges ul {
list-style: none;
margin: 0 auto;
padding: 0;
width: 100%;
}
.ranges li {
font-size: 13px;
background-color: #f5f5f5;
border: 1px solid #f5f5f5;
border-radius: 4px;
color: #08c;
padding: 3px 12px;
margin-bottom: 8px;
cursor: pointer;
}
.ranges li:hover {
background-color: #08c;
border: 1px solid #08c;
color: #fff;
}
.ranges li.active {
background-color: #08c;
border: 1px solid #08c;
color: #fff;
}
/* Larger Screen Styling */
@media (min-width: 564px) {
.daterangepicker {
width: auto;
}
.daterangepicker .ranges ul {
width: 160px;
}
.daterangepicker.single .ranges ul {
width: 100%;
}
.daterangepicker.single .calendar.left {
clear: none;
}
.daterangepicker.single.ltr .ranges, .daterangepicker.single.ltr .calendar {
float: left;
}
.daterangepicker.single.rtl .ranges, .daterangepicker.single.rtl .calendar {
float: right;
}
.daterangepicker.ltr {
direction: ltr;
text-align: left;
}
.daterangepicker.ltr .calendar.left {
clear: left;
margin-right: 0;
}
.daterangepicker.ltr .calendar.left .calendar-table {
border-right: none;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.daterangepicker.ltr .calendar.right {
margin-left: 0;
}
.daterangepicker.ltr .calendar.right .calendar-table {
border-left: none;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.daterangepicker.ltr .left .daterangepicker_input {
padding-right: 12px;
}
.daterangepicker.ltr .calendar.left .calendar-table {
padding-right: 12px;
}
.daterangepicker.ltr .ranges, .daterangepicker.ltr .calendar {
float: left;
}
.daterangepicker.rtl {
direction: rtl;
text-align: right;
}
.daterangepicker.rtl .calendar.left {
clear: right;
margin-left: 0;
}
.daterangepicker.rtl .calendar.left .calendar-table {
border-left: none;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
.daterangepicker.rtl .calendar.right {
margin-right: 0;
}
.daterangepicker.rtl .calendar.right .calendar-table {
border-right: none;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
.daterangepicker.rtl .left .daterangepicker_input {
padding-left: 12px;
}
.daterangepicker.rtl .calendar.left .calendar-table {
padding-left: 12px;
}
.daterangepicker.rtl .ranges, .daterangepicker.rtl .calendar {
text-align: right;
float: right;
}
}
@media (min-width: 730px) {
.daterangepicker .ranges {
width: auto;
}
.daterangepicker.ltr .ranges {
float: left;
}
.daterangepicker.rtl .ranges {
float: right;
}
.daterangepicker .calendar.left {
clear: none !important;
}
}
/*Fix IE*/
html > /**/ body .hotel-booking-search.layout-box form .hb-form-table .hb-form-field select[name="adults_capacity"]::-ms-expand {
display: none;
}
html > /**/ body .rooms .hb_room .price span {
display: inline;
}
html > /**/ body .rooms .hb_room .price {
text-align: left;
}
html > /**/ body .rooms .hb_room .price span.title-price {
display: inline;
}
#ui-datepicker-div .ui-state-default.ui-state-hover {
color: #fff;
}
.ui-datepicker.ui-widget .ui-datepicker-calendar .ui-datepicker-days-cell-over .ui-state-default {
color: #fff;
}
.daterangepicker td.no-click {
pointer-events: none;
text-decoration: line-through;
}