/*
Theme Name:         GdzieWyjechać - Sage
Theme URI:          http://wpserved.com
Description:        WP Served with Sage Roots
Version:            1.0
Author:             WP Served
Author URI:         http://wpserved.com
Text Domain:        sage
*/
#flexi_searchbox {
  border-radius: 10px;
  margin-bottom: 1em;
}
#flexi_searchbox form {
  clear:both;
}
html #flexi_searchbox #b_searchboxInc {
  padding: 15px;
}
#flexi_searchbox img.featured{
  border-radius: 10px 10px 0 0;
  margin-bottom: 0;
  max-width: 100%;
  min-width: 100%;
}
html #flexi_searchbox #b_searchboxInc .search-box-title-1 {
  margin-top:0;
  font-size: 1.8em;
}

html #flexi_searchbox a.featured-link {
  color: #fff;
  width: 50%;
  display: block;
  float: left;
  margin-bottom: 0.6em;
}
html #flexi_searchbox a.featured-link:first-of-type {
  padding-right: 30px;
}

html #flexi_searchbox #b_searchboxInc #b_searchCheckInDate {
  width: 33.333%;
  margin-right: 0;
  padding-right: 22px;
}
html #flexi_searchbox #b_searchboxInc #b_searchCheckOutDate {
  width: 33.333%;
  margin-right: 0;
  padding-right: 22px;
}
/* fullwidth start*/
@media only screen and (min-width: 1000px) {
  html #flexi_searchbox.fullwidth #b_searchboxInc #b_searchCheckInDate {
    width: calc(((80% - 35px) / 3));
    margin-right: 0;
    padding-right: 22px;
  }
  html #flexi_searchbox.fullwidth #b_searchboxInc #checkInDate_h4 {
    width: 20%;
    text-align: right;
    float: left;
    line-height: 40px;
    padding-right: 22px
  }
  html #flexi_searchbox.fullwidth #b_searchboxInc #checkOutDate_h4 {
    width: 35px;
    padding-right: 10px;
    text-align: right;
    float: left;
    line-height: 40px;
  }
  html #flexi_searchbox.fullwidth #b_searchboxInc #b_searchCheckOutDate {
    width: calc(((80% - 35px) / 3));
    margin-right: 0;
    padding-right: 22px;
  }
  html #flexi_searchbox.fullwidth #b_searchboxInc .b_submitButton_wrapper {
    width: calc((80% - 35px) / 3);
    float: left;
    clear: none;
  }
  html #flexi_searchbox.fullwidth #b_searchboxInc .b_submitButton_wrapper .b_submitButton,
  html #flexi_searchbox.fullwidth #b_searchboxInc .b_submitButton_wrapper .b_submitButton:hover {
    margin-top:0;
  }
  html #flexi_searchbox.fullwidth #b_searchboxInc #b_destination_h4 {
    width: 20%;
    text-align: right;
    float: left;
    line-height: 40px;
    padding-right: 22px
  }
  html #flexi_searchbox.fullwidth #b_searchboxInc #b_destination {
    width: 80%;
  }
}
@media only screen and (max-width: 999px) {
  html #flexi_searchbox.fullwidth #b_searchboxInc #b_searchCheckInDate {
    width: 100%;
    margin-right: 0;
    padding-right: 0;
  }
  html #flexi_searchbox.fullwidth #b_searchboxInc #b_searchCheckOutDate {
    width: 100%;
    margin-right: 0;
    padding-right: 0;
  }
  html #flexi_searchbox.fullwidth #b_searchboxInc .b_submitButton_wrapper {
    width: 33.333%;
    float: left;
    clear: none;
  }
  html #flexi_searchbox.fullwidth #b_searchboxInc .b_submitButton_wrapper {
    width: 50%;
    float: left;
    clear: none;
  }
  html #flexi_searchbox.fullwidth #b_searchboxInc .b_submitButton_wrapper .b_submitButton {
    margin-top:0;
  }
  #flexi_searchbox.fullwidth #b_logo {
    line-height: 40px;
  }
  #flexi_searchbox.fullwidth #b_logo  img{
    margin-bottom: 0;
  }
  html #flexi_searchbox.fullwidth a.featured-link {
    width: 100%;
    padding-right: 0;
  }
}
/* fullwidth end*/
html #b_frmInner h4 {
  margin-top: 0;
  margin-bottom:0.6em;
}
html #flexi_searchbox select {
  text-align: center;
}
html #flexi_searchbox select,
html #flexi_searchbox #b_destination,
html #flexi_searchbox .b_searchDatesInner .flatpickr {
  padding: 8px 0px 8px 5px !important;
  border-radius: 10px !important;
  border:0;
}
html #flexi_searchbox #b_searchboxInc input[type="text"] {
  padding: 9px 10px 10px 10px !important;
}
html #flexi_searchbox #b_searchboxInc #b_destination {
  width: 100%;
  padding: 10px!important
}
html #flexi_searchbox .b_searchDatesInner #b_checkinCalPos,
html #flexi_searchbox .b_searchDatesInner #b_checkoutCalPos {
  width: 40px;
  margin-right: 0;
  border-radius: 10px;
  background: #fff;
  height: 40px;
  vertical-align: top;
  margin-right: 9px;
  text-align: center;
}
html #flexi_searchbox .b_searchDatesInner img {
  margin-bottom: 0;
  margin-top: 6px;
}
html #flexi_searchbox .b_searchDatesInner .flatpickr {
  width: calc((100% - 58px) + 9px) !important;
}
html #flexi_searchbox .b_searchDatesInner select:first-of-type {
  width: calc((100% - 58px) / 4) !important;
  margin-right: 9px;
}
html #flexi_searchbox .b_searchDatesInner select:nth-of-type(2) {
  width: calc(((100% - 58px) / 4) * 3) !important;
  margin-right: 0;
}
/* button */
html #flexi_searchbox #b_searchboxInc .b_submitButton_wrapper .b_submitButton,
html #flexi_searchbox #b_searchboxInc .b_submitButton_wrapper .b_submitButton:hover {
  width:100%;
  border: 0;
  box-shadow: none;
  margin-top:calc(1.4em + 4px);
  font-family: RopaSoftPTT-ExtraBold;
  font-weight: 400;
  border-radius: 10px;
  padding: 8px;
}

/* widget start */
html .textwidget #flexi_searchbox #b_searchboxInc #b_searchCheckInDate {
  width: 100%;
  margin-right: 0;
  padding-right: 0;
}
html .textwidget #flexi_searchbox #b_searchboxInc #b_searchCheckOutDate {
  width: 100%;
  margin-right: 0;
  padding-right: 0;
}
html #flexi_searchbox #b_searchboxInc .b_submitButton_wrapper {
  width: 33.333%;
  float: left;
  clear: none;
}
html .textwidget #flexi_searchbox #b_searchboxInc .b_submitButton_wrapper {
  width: 50%;
  float: left;
  clear: none;
}
html .textwidget #flexi_searchbox #b_searchboxInc .b_submitButton_wrapper .b_submitButton {
  margin-top:0;
}
.textwidget #flexi_searchbox #b_logo {
  line-height: 40px;
}
html .textwidget #flexi_searchbox a.featured-link {
  width: 100%;
  padding-right: 0;
}
/* widget end */

@media only screen and (max-width: 1200px) {
  html #flexi_searchbox #b_searchboxInc #b_searchCheckInDate {
    width: 100%;
    margin-right: 0;
    padding-right: 0;
  }
  html #flexi_searchbox #b_searchboxInc #b_searchCheckOutDate {
    width: 100%;
    margin-right: 0;
    padding-right: 0;
  }
  html #flexi_searchbox #b_searchboxInc .b_submitButton_wrapper {
    width: 33.333%;
    float: left;
    clear: none;
  }
  html #flexi_searchbox #b_searchboxInc .b_submitButton_wrapper {
    width: 50%;
    float: left;
    clear: none;
  }
  html #flexi_searchbox #b_searchboxInc .b_submitButton_wrapper .b_submitButton {
    margin-top:0;
  }
  #flexi_searchbox #b_logo {
    line-height: 40px;
  }
  #flexi_searchbox #b_logo  img{
    margin-bottom: 0;
  }
  html #flexi_searchbox a.featured-link {
    width: 100%;
    padding-right: 0;
  }
}

/* czcionki */
html #flexi_searchbox #b_destination_h4,
html #flexi_searchbox #checkInDate_h4,
html #flexi_searchbox #checkOutDate_h4,
html #flexi_searchbox select,
html #flexi_searchbox #b_destination,
html #flexi_searchbox a.featured-link,
html #flexi_searchbox .b_searchDatesInner .flatpickr {
  font-family: Roboto Condensed,sans-serif;
  font-weight: 400;
  font-size:1.6em;
}
html #flexi_searchbox #b_searchboxInc .search-box-title-1 {
  font-family: RopaSoftPTT-ExtraBold;
}
#b_checkinCalPos, #b_checkoutCalPos {
  cursor: pointer;
}

/* SkyScanner widget */
.skyscanner-widget {
	padding:15px;
  border-radius: 10px;
}
.skyscanner-widget input[type="text"] {
  border-radius: 10px;
}
[data-element="search-form-wrapper"] a.bpk-button {
  font-family: RopaSoftPTT-ExtraBold;
  font-weight: 400;
  font-size: 1.3em;
  border-radius: 10px;
}
[data-element="search-form-wrapper"] a.bpk-button:hover {
	background-color: #42a741;
}
@media only screen and (min-width : 768px) {
  .skyscanner-wide [data-element="origin-field"] {
  	width: 48.5%;
  	width: calc(50% - .25rem);
  	width: -webkit-calc(50% - .25rem);
  	float: left;
  	clear: both;
  }
  .skyscanner-wide [data-element="destination-field"] {
  	width: 48.5%;
  	width: calc(50% - .25rem);
  	width: -webkit-calc(50% - .25rem);
  	float: right;
  }
}
