.blog-search-panel {
    margin: auto;
    background: #0a4662;
    color: white;
    padding: 24px;
    font-family: Helvetica;
}

.blog-search-panel__heading {
	float: left;
}

.blog-search-panel__logo {
	float: right;
}

.blog-search-panel__form {
	height: 164px;
	margin: 0;
	clear: both;
}

.ts-radio-option-group {
	margin-bottom: 12px;
}

.ts-radio-option {
	display: inline;
	margin-right: 5%;
}

.ts-radio-option__button {
	border: 2px solid white;
	border-radius: 100%;
    display: inline-flex;
    height: 16px;
    margin-right: 4px;
    vertical-align: text-top;
    width: 16px;
    cursor: pointer;
    margin-top: 2px;
}

.ts-radio-option__dot {
	background-color: #1cb3f5;
	border-radius: 100%;
	display: none;
	height: 6px;
	margin: 3px;
    width: 6px;
}

.ts-radio-option.selected .ts-radio-option__button {
	border-color: #1cb3f5;
	margin-top: 2px;
}

.ts-radio-option.selected .ts-radio-option__dot {
	display: block;
}

.ts-radio-option__text {
	display: inline-flex;
	font-weight: 300;
        font-size: 16px;
}

.ts-auto-complete-input {
	float: left;
    margin-bottom: 24px;
	height: 40px;
}

.ts-auto-complete-input:first-child {
	margin-right: 8px;
}

.ts-auto-complete-input input[type="text"] {
	width: 100%;
	margin-bottom: 4px;
	padding-left: 8px;
	border:	1px solid rgb(230, 233, 234);
	border-radius: 2px;
	height: 40px;
	font-size: 16px;
}

.ts-auto-complete-input ul {
	display:none;
	margin: 0;
    width: 100%;
    background: white;
    color: rgb(30, 57, 69);
    list-style: none;
    border-radius: 2px;
    box-shadow: 0 0 30px 0px rgba(0, 0, 0, 0.5);
    padding: 8px 0;
    max-height: 200px;
    overflow-y: scroll;
    position: relative;
    z-index: 5;
}

.ts-auto-complete-input.open ul {
	display: block;
}

.ts-auto-complete-input li {
	padding: 16px;
    font-size: 16px;
    border-bottom: 1px solid rgb(230, 233, 234);
    cursor: pointer;
}

.ts-auto-complete-input li:hover {
	background-color: rgb(230, 233, 234);
}

.blog-search-panel__form-departure-date,
.blog-search-panel__form-return-date,
.blog-search-panel__form-travellers,
.blog-search-panel__form-do-search {
	float: left;
}

.blog-search-panel__form-departure-date img,
.blog-search-panel__form-return-date img {
	float: left;
	margin-right: 8px;
}

.blog-search-panel__form-dates label,
.blog-search-panel__form-travellers label {
	display: block;
	font-weight: 300;
	margin-bottom: 6px;
        font-size: 16px;
}

#ddDepartureDay, #ddReturnDay {
	float: left;
}

#ddDepartureMonth, #ddReturnMonth {
	float: left;
	margin-left: 8px;
}

.ts-drop-down {
	background-color: white;
    border-radius: 2px;
    border:	1px solid rgb(230, 233, 234);
    height: 40px;
}

.ts-drop-down__selected-value {
	float: left;
	color: black;
    font-size: 16px;
    line-height: 44px;
    padding-left: 12px;
    white-space: nowrap;
    width: 63%;
    overflow-x: hidden;
    text-overflow: ellipsis;
}

.ts-drop-down__arrow {
    border-bottom-width: 2px;
    border-right-width: 2px;
    border-top-width: 0;
    border-left-width: 0;
    border-color: rgb(80, 101, 110);
    border-style: solid;
    cursor: pointer;
	float: right;
    height: 7px;
    margin: 14px 8px 0 0;
    transform: rotate(45deg);
    width: 7px;
}

.ts-drop-down__arrow:focus {
	outline: none;
}

.ts-drop-down__option-list {
    background: white;
    border-left: 1px solid white;
    border-right: 1px solid white;
    border-radius: 2px;
    box-shadow: 0 0 30px 0px rgba(0, 0, 0, 0.5);
    display: none;
    margin-left: -1px;
    margin-top: 4px;
	max-height: 160px;
    overflow-y: scroll;
    padding: 8px 0;
    position: relative;
    width: 100%;
    z-index: 1;
}

.ts-drop-down.open .ts-drop-down__option-list {
	display: block;
}

.ts-drop-down__option-list.open {
	display: block;
}

.ts-drop-down__option {
    color: rgb(30, 57, 69);
    font-size: 16px;
    line-height: 24px;
    padding: 8px 0 8px 16px;
    cursor: pointer;
    overflow-x: hidden;
    white-space: nowrap;
}

.ts-drop-down__option:hover {
	background-color: rgb(230, 233, 234);
}

.blog-search-panel__form-do-search {
	height: 40px;
    border-radius: 2px;
    font-size: 16px;
    border: none;
    background: #1cb3f5;
    color: white;
    cursor: pointer;
    box-shadow: none;
    text-shadow: none;
}

.blog-search-panel img {
    border: none;
}

.blog-search-panel h2 {
    clear: none;
    font-size: 30px;
    font-family: inherit;
    color: inherit;
}

@media (min-width: 601px) {
    .blog-search-panel {
        border-radius: 3px;
        width: 738px;
        height: 269px;
    }

    .blog-search-panel__heading {
        margin: 0 0 24px;
    }

    .ts-auto-complete-input {
        width: 341px;
    }

    .blog-search-panel__form-departure-date,
    .blog-search-panel__form-return-date,
    .blog-search-panel__form-travellers {
        margin-right: 16px;
    }

    .ts-drop-down__selected-value {
        text-overflow: ellipsis;
    }

    #ddDepartureDay,
    #ddReturnDay {
        width: 80px;
    }

    #ddDepartureMonth,
    #ddReturnMonth,
    #ddTravellerCount {
        width: 115px;
    }

    .blog-search-panel__form-do-search {
        margin-top: 24px;
        width: 120px;
    }
}

@media (max-width: 600px) {
    .blog-search-panel {
        width: 300px;
        height: 460px;
    }

    .blog-search-panel__heading {
        margin: 0 0 18px;
    }

    .ts-auto-complete-input {
        width: 250px;
    }

    .blog-search-panel__form-dates label,
    .blog-search-panel__form-travellers label {
        float: left;
        line-height: 2.7em;
        margin-right: 16px;
        width: 60px;
    }

    .ts-drop-down__selected-value {
        text-overflow: clip;
        padding-left: 5px
    }

    #ddDepartureDay,
    #ddReturnDay {
        width: 62px;
    }

    #ddDepartureMonth,
    #ddReturnMonth {
        width: 80px;
    }

    .blog-search-panel__form-dates img {
        margin-top: 12px;
    }

    .blog-search-panel__form-travellers label {
        width:  83px;
    }

    #ddTravellerCount {
        width: 64px;
        float: left;
        margin-right: 8px;
    }

    #ddTravellerCount .ts-drop-down__option-list {
        width: 120px;
    }

    .blog-search-panel__form-do-search {
        width: 80px;
        padding: 9px;
    }
}
