
.page-template-page-tours .alert.alert-donate {
    display: none !important;
}

.farm-tours-form-wrapper .panel.farm-tours-form {
    width: 100%;
    margin: 0 0 32px 0;

    border: none;
    box-shadow: none;
}

.farm-tours-form-wrapper .panel.farm-tours-form .panel-heading {
    padding: 0;
}

.farm-tours-form-wrapper .panel.farm-tours-form .panel-heading h4 {
    border: none;
    box-shadow: none;
}

.farm-tours-form-wrapper .panel.farm-tours-form .panel-heading h4 a {
    display: flex;
    flex-direction: row;

    font-size: 26px;
    color: #fff;

    background-color: #77a43a;
    -webkit-transition: 0.2s all;
    -moz-transition: 0.2s all;
    -ms-transition: 0.2s all;
    -o-transition: 0.2s all;
    transition: 0.2s all;
}

.farm-tours-form-wrapper .panel.farm-tours-form .panel-heading h4 a:not(.collapsed),
.farm-tours-form-wrapper .panel.farm-tours-form .panel-heading h4 a:hover {
    color: #fff !important;
    background-color: #5a940a;
}

.farm-tours-form-wrapper .panel.farm-tours-form .panel-heading h4 span,
.farm-tours-form-wrapper .panel.farm-tours-form .panel-heading h4 strong {
    display: block;
}

.farm-tours-form-wrapper .panel.farm-tours-form .panel-heading h4 span {
    padding: 22px 50px;

    margin-right: auto;
    border-right: 12px solid #fff;
}

.farm-tours-form-wrapper .panel.farm-tours-form .panel-heading h4 strong {
    padding: 22px 32px;
}

.farm-tours-form-wrapper .panel.farm-tours-form .panel-heading h4 span:after {
    content: '';

    display: inline-block;
    margin-right: 10px;

    position: relative;

    border-width: 6px;
    border-style: solid;
}

.farm-tours-form-wrapper .panel.farm-tours-form .panel-heading h4 a.collapsed span:after {
    border-color: #fff transparent transparent transparent;
    top: 2px;
}

.farm-tours-form-wrapper .panel.farm-tours-form .panel-heading h4 a:not(.collapsed) span:after {
    border-color: transparent transparent #fff transparent;
    top: -4px;
}

.farm-tours-form-wrapper .panel-collapse {
    padding: 32px 0;
}

.farm-tours-form .tour-header-text,
.farm-tours-form .tour-header-text p {
    font-size: 20px;
}

.farm-tours-form .tour-header-text {
    padding-bottom: 32px;
}

.farm-tours-form .tour-colors-map {
    margin-bottom: 32px;
}

.farm-tours-form .tour-colors-map span {
    display: inline-block;
    font-size: 14px;
    margin-left: 8px;
}

.farm-tours-form .tour-colors-map span:before {
    content: '';

    display: inline-block;
    width: 12px;
    height: 12px;

    margin-left: 8px;
}

.farm-tours-form .tour-colors-map span.booked:before {
    background-color: #e53935;
}

.farm-tours-form .tour-colors-map span.available:before {
    background-color: #77a43a;
}

.farm-tours-form form {
    padding: 25px 20px;
    margin: 8px 0;
    border: 1px solid rgba(149, 158, 167, 0.37);
}

.farm-tours-form .fieldset-inner {
    padding: 10px 0;
}

.farm-tours-form .fieldset-inner,
.farm-tours-form .fieldset-inner > div {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
}

.farm-tours-form .fieldset-inner > div {
    display: flex;
    justify-content: flex-end;
}

.farm-tours-form .fieldset-inner > div:not(:last-of-type) {
    padding-left: 28px;
}

.farm-tours-form .fieldset-inner:first-of-type > div:first-of-type {
    width: 365px;
}

.farm-tours-form .fieldset-inner:first-of-type > div:last-of-type {
    width: 295px;
}

.farm-tours-form .fieldset-inner:nth-of-type(2) > div:first-of-type {
    width: 365px;
}

.farm-tours-form .fieldset-inner:first-of-type > div:nth-of-type(2),
.farm-tours-form .fieldset-inner:nth-of-type(2) > div:nth-of-type(2) {
    width: 345px;
}

.farm-tours-form .fieldset-inner:first-of-type > div:first-of-type .dropdown-toggle .filter-option:before {
    content: '\f073';

    font-family: 'FontAwesome';
    float: right;
    margin-left: 8px;
}

.farm-tours-form .fieldset-inner:first-of-type > div:first-of-type .dropdown-menu li:not([data-original-index="0"]) a span:before {
    content: '';

    display: inline-block;
    width: 12px;
    height: 12px;

    margin-left: 8px;
}

.farm-tours-form .fieldset-inner:first-of-type > div:first-of-type .dropdown-menu li:not(.disabled):not([data-original-index="0"]) a span:before {
    background-color: #77a43a;
}

.farm-tours-form .fieldset-inner:first-of-type > div:first-of-type .dropdown-menu li.disabled:not([data-original-index="0"]) a span:before {
    background-color: #e53935;
}

/*.farm-tours-form .fieldset-inner:first-of-type > div:nth-of-type(3) input,*/
/*.farm-tours-form .fieldset-inner:first-of-type > div:nth-of-type(2) .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {*/
    /*width: 206px;*/
/*}*/

.farm-tours-form .fieldset-inner:nth-of-type(2) {
    align-items: flex-start;
}

.farm-tours-form .fieldset-inner:nth-of-type(2) .email-notice {
    width: 100%;

    display: block;
    padding-right: 116px;
    margin-top: 6px;

    font-size: 15px;
    line-height: 15px;
}

.farm-tours-form .fieldset-inner:nth-of-type(2) > div:nth-of-type(2) {
    width: 345px;
}

.farm-tours-form .fieldset-inner:nth-of-type(2) > div:last-of-type {
    width: 295px;
}

.farm-tours-form .fieldset-inner:nth-of-type(2) > div:last-of-type .email-notice {
    padding-right: 96px;
}

.farm-tours-form .fieldset-inner:nth-of-type(4) {
    align-items: flex-start;
}

.farm-tours-form .fieldset-inner:nth-of-type(3) > div:first-of-type {
    width: 365px;
}

.farm-tours-form .fieldset-inner:nth-of-type(3) .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn),
.farm-tours-form .fieldset-inner:nth-of-type(3) .btn.dropdown-toggle {
    width: 200px;
}

.farm-tours-form .fieldset-inner:nth-of-type(3) > div:nth-of-type(2) label {
    max-width: 105px;
}

.farm-tours-form .fieldset-inner:nth-of-type(3) > div:last-of-type input {
    max-width: 180px;
}

/*.farm-tours-form .fieldset-inner:nth-of-type(4) .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn) {*/
    /*width: 118px;*/
/*}*/

/*.farm-tours-form .fieldset-inner:nth-of-type(4) > div:nth-of-type(2) input {*/
    /*width: 192px;*/
/*}*/

.farm-tours-form input,
.farm-tours-form label {
    color: #657380;
}

.farm-tours-form form input {
    width: auto;
    display: inline-block;
    padding: 4px 10px;
    font-size: 15px;
}

.farm-tours-form form .btn.dropdown-toggle.invalid,
.farm-tours-form form .invalid {
    border: 1px solid red;
    background-color: rgba(255, 0, 0, 0.13);
}

.farm-tours-form label {
    flex-shrink: 0;
    font-size: 18px;
    margin-left: 12px;
}

.bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn),
.farm-tours-form form .btn.dropdown-toggle,
.farm-tours-form form input:not([type="submit"]) {
    width: 200px;
}

.farm-tours-form form .btn.dropdown-toggle {
    padding: 5px 10px 6px 30px;

    border: 1px solid #CCC;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;

    background: none;

    font-size: 15px;
    color: #657380;
}

.farm-tours-form form .btn.dropdown-toggle:focus {
    outline: none;
}

.farm-tours-form form .btn.dropdown-toggle .filter-option {
    text-align: right;
}

.farm-tours-form form .bootstrap-select.btn-group .dropdown-toggle .caret {
    left: 12px;
    right: auto;
}

.farm-tours-form form .dropdown-menu {
    border-radius: 1px;

    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.farm-tours-form form .dropdown-menu li a {
    font-size: 18px;
    padding: 4px 10px;
    text-align: right;
}

.farm-tours-form form .dropdown-menu li a:focus {
    outline: none;
}

.farm-tours-form form .btn-group.open .dropdown-toggle,
.farm-tours-form form .btn.dropdown-toggle:hover,
.farm-tours-form form .btn.dropdown-toggle:focus {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.datepicker.dropdown-menu {
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;

    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.datepicker.dropdown-menu:before,
.datepicker.dropdown-menu:after {
    display: none;
}

.datepicker.dropdown-menu .datepicker-switch {
    text-align: center;
    font-size: 20px;
}

.datepicker.dropdown-menu tr th,
.datepicker.dropdown-menu tr td,
.datepicker.dropdown-menu table tr td span {
    font-size: 18px;
    padding: 5px 10px;

    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
}

.datepicker.dropdown-menu table tr td.active.active, .datepicker.dropdown-menu table tr td.active.disabled.active, .datepicker.dropdown-menu table tr td.active.disabled:active, .datepicker.dropdown-menu table tr td.active.disabled:hover.active, .datepicker.dropdown-menu table tr td.active.disabled:hover:active, .datepicker.dropdown-menu table tr td.active:active, .datepicker.dropdown-menu table tr td.active:hover.active, .datepicker.dropdown-menu table tr td.active:hover:active, .datepicker.dropdown-menu table tr td span.active.active, .datepicker.dropdown-menu table tr td span.active.disabled.active, .datepicker.dropdown-menu table tr td span.active.disabled:active, .datepicker.dropdown-menu table tr td span.active.disabled:hover.active, .datepicker.dropdown-menu table tr td span.active.disabled:hover:active, .datepicker.dropdown-menu table tr td span.active:active, .datepicker.dropdown-menu table tr td span.active:hover.active, .datepicker.dropdown-menu table tr td span.active:hover:active{
    background: #77a43a;
}

/*.farm-tours-form form fieldset:not(:first-of-type) label {*/
/*display: inline-block;*/
/*margin-left: 12px;*/
/*}*/

.farm-tours-form form input[type="submit"] {
    display: block;
    width: 100%;
    margin: 24px auto 0 auto;

    font-size: 26px;
    padding: 10px 48px;
    color: #fff;
}

.farm-tours-form form input[type="submit"]:hover {
    color: #77a43a;
}

.farm-tours-form form input[name="tour-donation-sum-other"] {
    display: none;
    margin-top: 8px;
    width: 87.3%;
}

.farm-tours-form form textarea,
.farm-tours-form form input[type="text"],
.farm-tours-form form input[type="button"],
.farm-tours-form form input[type="submit"] {
    -webkit-appearance: none !important;
    border-radius: 0 !important;
}

@media only screen and (max-width: 1200px) {

    .farm-tours-form .fieldset-inner > div,
    .farm-tours-form .fieldset-inner .btn.dropdown-toggle {
        width: 100% !important;
        justify-content: flex-start;
        padding-left: 0 !important;
    }

    .farm-tours-form .fieldset-inner > div:not(:first-of-type) {
        padding-top: 20px;
    }

    .farm-tours-form .fieldset-inner > div .bootstrap-select:not([class*=col-]):not([class*=form-control]):not(.input-group-btn),
    .farm-tours-form .fieldset-inner > div input {
        width: 100% !important;
    }

    .farm-tours-form .fieldset-inner:nth-of-type(2) > div:last-of-type .email-notice,
    .farm-tours-form .fieldset-inner:nth-of-type(2) .email-notice {
        padding-right: 0;
    }

    .farm-tours-form .fieldset-inner:nth-of-type(3) > div:last-of-type input,
    .farm-tours-form .fieldset-inner:nth-of-type(3) input {
        width: 100%;
    }
}

@media only screen and (max-width: 767px) {

    .farm-tours-form-wrapper .panel.farm-tours-form .panel-heading h4 a {
        flex-direction: column;
    }

    .farm-tours-form-wrapper .panel.farm-tours-form .panel-heading h4 a span,
    .farm-tours-form-wrapper .panel.farm-tours-form .panel-heading h4 a strong {
        width: 100%;
    }

    .farm-tours-form-wrapper .panel.farm-tours-form .panel-heading h4 a span {
        display: block;
        text-align: center;

        padding: 14px 22px;
        font-size: 18px;
    }

    .farm-tours-form-wrapper .panel.farm-tours-form .panel-heading h4 a span:after {
        border-width: 5px;
    }

    .farm-tours-form-wrapper .panel.farm-tours-form .panel-heading h4 a.collapsed span:after {
        border-color: #fff transparent transparent transparent;
        top: 3px;
    }

    .farm-tours-form-wrapper .panel.farm-tours-form .panel-heading h4 a:not(.collapsed) span:after {
        border-color: transparent transparent #fff transparent;
        top: -2px;
    }

    .farm-tours-form-wrapper .panel.farm-tours-form .panel-heading h4 a strong {
        padding: 16px 22px;
        font-size: 22px;
    }

    .farm-tours-form-wrapper .panel.farm-tours-form .panel-heading h4 span {
        border-right: none;
        border-top: 4px solid #fff;
    }
}