.etm-form-height-block {
    height: 370px;
    margin-top: 20px;
    margin-bottom: 30px;
}
.etm-form-background {
    position: absolute;
    left: 0;
    width: 100%;
    height: 370px;
    background: transparent url(../img/plane.jpg) no-repeat 50% 83%;
    text-align: center;
}
.etm-form-container {
    margin: auto;
    width: 940px;
    height: 120px;
    margin-top: 125px;
    background: #fff;
    text-align: left;
    font-size: 13px;
}
.etm-form-container .params-bar {
    background: #005496;
    height: 50px;
}
.etm-form-container .route-bar {
    background: #fff;
    height: 70px;
    border-top: solid 1px #e0e0e0;
}
.etm-form-container .dropped {
    position: absolute;
    top: 35px;
    left: 0;
    z-index: 2;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0,0,0,.5);
    margin: 10px;
}
.etm-form-container .dropped.calendar {
    margin: 0;
    left: -60px;
    height: 0;
}
.ko-calendar {
    box-shadow: 0 0 10px rgba(0,0,0,.5);
}
.etm-form-container .dropped .option {
    padding: 10px 20px;
    cursor: pointer;
}
.etm-form-container .dropped .option:hover,
.etm-form-container .dropped .option.active {
    background: #1681d4;
    color: #fff;
}
.etm-form-container .btn {
    background: #1681d4;
    background: linear-gradient(#6598cc, #1681d4);
    text-decoration: none;
    color: #fff;
    border: solid 1px #1c72b9;
    border-radius: 4px;
    text-align: center;
    padding: 5px 10px;
    display: inline-block;
}
.etm-form-container .btn:hover {
    background: #6598cc;
    background: linear-gradient(#1681d4, #6598cc);
    box-shadow: 0 0 10px rgba(0,0,0,.5);
}
.etm-form-container .fa-infant {
    background: url(../img/infant.png) no-repeat 50% 50%;
    width: 10px;
    height: 12px;
    vertical-align: middle;
}
.etm-form-container .dropped .fa-infant {
    width: 17px;
    background-image: url(../img/infant-invert.png);
}
.etm-form-container .dropped .option:hover .fa-infant {
    background-image: url(../img/infant.png);
}
.etm-form-container .params-bar .widget,
.etm-form-container .route-bar .widget {
    display: inline-block;
    vertical-align: top;
    position: relative;
}
.etm-form-container .control {
    cursor: pointer;
    height: 25px;
    background: #fff;
    text-align: center;
    margin: 10px;
}
.etm-form-container .params-bar .control:hover {
    box-shadow: 0 0 10px rgba(0,0,0,.5);
}
/* type and class */
.etm-form-container .type-widget .control,
.etm-form-container .class-widget .control {
    width: 200px;
    padding-top: 5px;
}
.etm-form-container .type-widget .control .text,
.etm-form-container .class-widget .control .text {
    padding: 0 5px;
}
.etm-form-container .type-widget .dropped,
.etm-form-container .class-widget .dropped {
    width: 200px;
}
/* persons */
.etm-form-container .persons-widget .control-wrapper {
    width: 104px;
    background: #fff;
    height: 30px;
    margin: 10px;
    font-size: 0;
    padding: 0 13px;
}
.etm-form-container .persons-widget .control {
    display: inline-block;
    vertical-align: top;
    width: 30px;
    height: 22px;
    margin: 3px 2px;
    font-size: 12px;
    background: #15a9e9;
    color: #fff;
    padding-top: 2px;
}
.etm-form-container .persons-widget .dropped {
    width: 130px;
}
.etm-form-container .persons-widget .dropped .option {
    padding-left: 15px;
    padding-right: 15px;
    cursor: default;
}
.etm-form-container .persons-widget .dropped .option .text {
    display: inline-block;
    width: 30px;
    font-size: 12px;
}
.etm-form-container .persons-widget .dropped .option .numeric {
    display: inline-block;
}
.etm-form-container .persons-widget .dropped .option .numeric .fa {
    color: #15a9e9;
    cursor: pointer;
}
/* direct */
.etm-form-container .direct-widget .control {
    background: transparent;
    color: #fff;
    line-height: 30px;
}
.etm-form-container .direct-widget .control:hover {
    box-shadow: none;
}
.etm-form-container .direct-widget .text {
    padding: 5px;
}
/* direct */
.etm-form-container .reset-widget {
    float: right;
    margin-right: 10px;
    margin-top: 10px;
}
/* departure and arrival */
.etm-form-container .departure-widget,
.etm-form-container .arrival-widget {
    margin-top: 5px;
}
.etm-form-container .departure-widget input,
.etm-form-container .arrival-widget input {
    padding: 10px 15px;
    font-size: 14px;
    border: solid 1px #e0e0e0;
    width: 168px;
}
.etm-form-container .departure-widget input.error,
.etm-form-container .arrival-widget input.error {
    border-color: #f66;
}
.etm-form-container .swap-targets-widget {
    font-size: 0;
    width: 0;
}
.etm-form-container .swap-targets-widget .control-wrapper {
    color: #6598cc;
    cursor: pointer;
    font-size: 16px;
    position: absolute;
    left: -8px;
    top: 24px;
    z-index: 1;
}
/* calendar */
.etm-form-container .date-widget {
    background: #15a9e9;
    color: #fff;
    margin: 15px 10px;
}
.etm-form-container .date-widget:hover {
    box-shadow: 0 0 10px rgba(0,0,0,.5);
}
.etm-form-container .date-widget .control-wrapper.error {
    border: solid 1px #f66;
}
.etm-form-container .date-widget .control {
    background: transparent;
    width: 120px;
    padding-top: 5px;
    margin: 5px 0;
}
/* adad and del route */
.etm-form-container .add-route-widget,
.etm-form-container .del-route-widget {
    margin: 20px 0;
}
.etm-form-container .add-route-widget {
    margin-left: 15px;
}
/* submit */
.etm-form-container .submit-widget {
    float: right;
}
.etm-form-container .submit-widget .btn {
    height: 70px;
    font-weight: bold;
    border-radius: 4px 0 0 4px;
    cursor: pointer;
    font-size: 16px;
    line-height: 66px;
    padding: 0 20px;
}

.etm-form-navbar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255,255,255,.5);
    padding: 5px 0;
}
.navbar-container {
    margin: auto;
    width: 940px;
}
.etm-form-navbar a {
    text-decoration: none;
    border-bottom: dotted 1px;
}

@media screen and (max-width: 979px) {
    .etm-form-height-block {
        min-height: 370px;
    }
    .etm-form-background {
        min-height: 370px;
    }
    .etm-form-container {
        width: 100%;
        height: auto;
        margin: 0;
    }
    .etm-form-container .params-bar {
        height: auto;
    }
    .etm-form-container .route-bar {
        height: auto;
    }
    .etm-form-container .dropped.calendar {
        left: 0;
    }
}

@media screen and (max-width: 735px) {
    .etm-form-container .submit-widget {
        float: none;
        margin: 15px 0 10px 10px;
    }
    .etm-form-container .submit-widget .btn {
        height: 40px;
        line-height: 20px;
    }
}

@media screen and (max-width: 375px) {
    .etm-form-container .reset-widget {
        float: none;
        margin: 0 0 10px 10px;
    }
}
