/*Styles for accordian*/
.ui-accordion .ui-accordion-content{
    padding: 0.5em 0.5em 0em 0.5em;
    border:0px;
}

.ui-accordion .ui-accordion-header{
    font:400 18px Montserrat, Arial, sans-serif;
    margin:0px;
    border:1px solid #fff;
    padding-left:30px;
}

.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, a.ui-button:active, .ui-button:active, .ui-button.ui-state-active:hover{
    background-color:#e1288c;
}

#trip_planner_accordion .ui-icon { display: none; }
#trip_planner_accordion .ui-accordion-header a { padding-left: 0; }



/*Styles for trip planner elements*/
.planner_block{
  padding:20px;
  background-color: #e4e4e4;
  border-radius: 10px;
  margin-bottom:20px;
}
.planner_title{
    margin-top:0px !important;
    margin-bottom:5px !important;
    text-transform: uppercase;
    font-size: 22px;
}



/*Styles for date pickers*/
#trip_planner_date_input_from,
#trip_planner_date_input_to
{
    width:100%;
}

.trip_planner_date_label{
    font:400 16px Montserrat, Arial, sans-serif;
    text-transform: uppercase;
}



/* Small devices (portrait tablets and large phones, 769px and up) */
@media only screen and (max-width: 768px) {
  #planner_wrapper {
    width: 100%;
    display: flex; flex-flow: column-reverse;
  }

  #planner_left {
    width: 100%;
  }

  #planner_right {
    width: 100%;
    height:300px;
    background-color:#fff;
    overflow-y:scroll;
  }

  #planner_date_wrapper {
    width: 100%;
  }

  .planner_date_inner {
    width: 100%;
    margin-bottom:10px;
  }

  #planner_date_submit_button{
    width: 100%;
  }

  #trip_planner_itinerary_button{
    width: 100%;
    margin-top:16px;
  }
}

/* Medium devices (landscape tablets, 768px and up) */
@media only screen and (min-width: 769px) {
  #planner_wrapper {
    display: flex;
  }

  #planner_left {
    flex: 0 0 65%;
  }

  #planner_right {
    flex: 1;
    height:400px;
    background-color:#fff;
    overflow-y:scroll;
  }

  #planner_date_wrapper {
    display: flex;
  }

  .planner_date_inner {
    flex: 0 0 33%;
    margin-right:5px;
  }

  #planner_date_submit_button{
    height:52px;
    padding:1.5rem 1.8rem;
  }

  #trip_planner_itinerary_button{
    height:52px;
    padding:1.5rem 1.8rem;
  }
}

/* Large devices (laptops/desktops, 992px and up) */
@media only screen and (min-width: 992px) {
  
}

/* Extra large devices (large laptops and desktops, 1200px and up) */
@media only screen and (min-width: 1200px) {
  
} 




/*Styles for location marker*/
.marker_title{
    font:700 16px Montserrat, Arial, sans-serif;
    margin-bottom:2px;
}
.marker_link{
    font:400 12px Montserrat, Arial, sans-serif;
    margin-bottom:2px;
}
.marker_excerpt{
    font:200 12px Montserrat, Arial, sans-serif;
    margin-bottom:20px;
}
.marker_img{
  height:120px;
}
.marker_address{
    margin-bottom:2px;
}
.marker_phone{
    margin-bottom:2px;
}





/*Styles for custom radio buttons in date picker*/
 /* Customize the label (the container) */
.marker {
  font:400 16px Montserrat, Arial, sans-serif;
  color:#444444;
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}



/* Hide the browser's default radio button */
.marker input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}




/* Create a custom radio button */
.checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: #eee;
  border-radius: 50%;
}



/* On mouse-over, add a grey background color */
.marker:hover input ~ .checkmark {
  background-color: #ccc;
}



/* When the radio button is checked, add a blue background */
.marker input:checked ~ .checkmark {
  background-color: #e1288c;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the indicator (dot/circle) when checked */
.marker input:checked ~ .checkmark:after {
  display: block;
}

/* Style the indicator (dot/circle) */
.marker .checkmark:after {
  top: 5px;
  left: 5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: white;
} 

/* Styling for the Itinerary */
#planner_itinerary {
  list-style-type: none;
  margin:20px 0px 20px 0px !important;
  padding: 0;
  width: 100%;
  overflow-y: hidden !important;
}
#planner_itinerary li {
  margin: 0 3px 3px 3px;
  padding: 0.4em;
  padding-left: 1.5em;
  cursor:grab;
}
span.grippy {
  content: '....';
  width: 10px;
  height: 20px;
  display: inline-block;
  overflow: hidden;
  line-height: 5px;
  cursor: move;
  vertical-align: middle;
  margin-top: -.7em;
  margin-right: .3em;
  font-size: 12px;
  font-family: sans-serif;
  letter-spacing: 2px;
  color: #cccccc;
  text-shadow: 1px 0 1px black;
}
span.grippy::after {
  content: '.. .. .. ..';
}
#planner_itinerary li span {
  margin-left: -1.3em;
}
.planner_itinerary_item{
  font:400 16px Montserrat, Arial, sans-serif;
}
.ui-sortable-placeholder {
    border: 3px solid #e1288c;
    visibility:visible !important;
    height:30px;
}


/*Styles for the google map marker content*/
.gm-style .gm-style-iw-a .gm-style-iw-t .gm-style-iw .gm-ui-hover-effect {
    display:none;
    overflow:hidden;
}
.gm-style .gm-style-iw-c{
    padding:20px 4px 20px 4px;
}
.map .gm-style .gm-style-iw-d{
    width:350px;
    height:300px;
}
.gm-style-iw{
  overflow:hidden !important;
}
.gm-style-iw-d{
    width:100% !important;
} 
.gm-style-iw button{
  background: #e1288c none repeat scroll 0% 0% !important;
  display: block !important;
  border: 0px none !important;
  margin: 0px !important;
  padding: 0px !important;
  position: absolute !important;
  cursor: pointer !important;
  user-select: none !important;
  top: 2px !important;
  right: 4px !important;
  width: 16px !important;
  height: 16px !important;
  outline: currentcolor none medium !important;
}
.gm-style-iw button img{
  margin:2px !important;
}
.gm-ui-hover-effect {
  opacity: 1;
  border-radius: 30%;
}



/* Style the search field */
/* Create three unequal columns that floats next to each other */
.trip_planner_column {
  float: left;
}

.trip_planner_left, .trip_planner_right {
  padding: 10px;
  width: 10%;
}

.trip_planner_middle {
  padding: 10px;
  width: 80%;
}

/* Clear floats after the columns */
.trip_planner_searchContainer:after {
  content: "";
  display: table;
  clear: both;
}

.trip_planner_searchContainer {
  border: 1px solid #ccc;
  border-radius: 20px;
  overflow: hidden;
  margin:10px;
}

.trip_planner_searchBox{
  border:none !important /* Very important this is...mmm...yes */;
}

.trip_planner_searchBox:focus {
    outline:none !important;
    outline-width: 0 !important;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

.trip_planner_closeIcon{
  cursor:pointer;
}

#trip_planner_search_results{
  display:none;
  margin:20px;
  font:400 16px Montserrat, Arial, sans-serif;
  color:#444444;
}