/* * * This is search-form.less, search form style for this plugin. * */ .main-search-form { position: relative; display: inline-block; width: 100%; color: @white-color; padding: 60px 0; top: 70px; font-family: "Helvetica", sans-serif; &:before { content: ""; display: block; left: 0; top: 0; background-color: rgba(7, 12, 99, .6); width: 100%; height: 100%; position: absolute; } picture { img { pointer-events: none; position: absolute; width: 100%; height: 100%; z-index: -1; -o-object-fit: cover; object-fit: cover; left: 0; top: 0; } } .search-form { margin: 50px auto 0 auto; text-align: center; width: 94%; @media (min-width: @screen-msm) { width: 590px; } @media (min-width: 769px){ width: 740px; } @media (min-width: @screen-lg) { width: auto; } &:before, &:after { content: ""; display: table; } &__title { font-size: 60px; text-align: center; font-weight: 700; font-family: "Helvetica", sans-serif; position: relative; color: @white-color; @media screen and (max-width: @screen-sm) { margin-top: 0; font-size: @font-size-base * 3; } } &__inner { &-wrapper { position: relative; display: inline-block; @media screen and (max-width: @screen-sm) { display: block; } input, button { height: 55px; border-radius: @border-radius-small; margin-bottom: 0; border: unset; box-shadow: unset; font-size: @font-size-base; @media screen and (max-width: @screen-sm) { width: 100%; display: block; margin: 3px auto; } } button { font-weight: 600; background: @orange-color; color: @white-color; &:hover { background: darken(@orange-color, 10%); cursor: pointer; } @media screen and (min-width: @screen-lg) { padding: 0 50px; } } input { padding-top: 20px; padding-left: 10px; @media screen and (min-width: @screen-lg) { width: 250px; } &:focus { border: none; } } } } &__switch-button { position: absolute; right: 10px; top: 28%; width: 30px; height: 25px; z-index: 1; cursor: pointer; margin-top: 0; border-radius: @border-radius-small; background: @orange-color; padding-top: 4px; font-size: @font-size-base; &:hover { background: darken(@orange-color, 10%); cursor: pointer; } } &__label { position: absolute; color: @orange-color; top: 5px; left: 10px; font-weight: 600; font-size: @font-size-small; } } } /* ----- Custom autocomplete style ----- */ .ui-autocomplete { border-radius: 0 0 2px 2px; border: 1px solid @grey-light; box-shadow: @box-shadow-inputs; @media screen and (min-width: @screen-lg) { width: 248px; } } .ui-menu { .ui-menu-item { border-top: none; border-left: none; border-right: none; border-bottom: 1px solid @grey-light; &:last-of-type { border-bottom: none; } a { padding: 10px 6px; &.ui-state-focus { border-radius: 0; border-top: none; border-left: none; border-right: none; border-bottom: 1px solid @grey-light; cursor: pointer; background: @blue-light none; } } } } /* ----- Custom datepicker style ----- */ .ui-datepicker { border-radius: 0 0 2px 2px; border: 1px solid @grey-light; box-shadow: @box-shadow-inputs; color: @navy-color; @media screen and (min-width: @screen-lg) { width: 250px; } .ui-datepicker-header { background-color: @blue-light; color: @navy-color; border: none; font-weight: normal; } &-prev, &-next { span { background-image: none !important; } &:before { color: @navy-color; position: absolute; top: 0; right: 0; bottom: 0; left: 0; display: flex; font-weight: 900; align-items: center; justify-content: center; font-family: @fa-font-family; content: @fa-var-caret-left; cursor: pointer; font-size: @font-size-base + 4; } &.ui-state-hover { border: none; border-radius: 5rem; background-color: @white-color; box-shadow: @box-shadow-inputs; } } &-next { &:before { content: @fa-var-caret-right; } } table { &.ui-datepicker-calendar { thead { text-transform: uppercase; th { font-weight: normal; } } tbody { text-align: center !important; } .ui-state { &-disabled { } &-default { border: unset; background: unset; width: 1.8rem; height: 1.8rem; text-align: center; display: table-cell; vertical-align: middle; } &-highlight { border: unset; border-radius: 5rem; background-color: @navy-color; color: @white-color; font-weight: 600; &.ui-state-hover { background-color: @navy-color; } } &-hover { background-color: @blue-light; border-radius: 5rem; } } } } }