@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}
@keyframes slideDown {
    0% {
        transform: translate(0, -25%);
    }
    100% {
        transform: translate(0, 0);
    }
}
@keyframes slideUp {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(0, -25%);
    }
}
.cf-city *,
.cf-modal * {
    box-sizing: border-box;
}
.cf-city {
    position: relative;
    box-sizing: border-box;
}
.cf-city .cf-confirm {
    display: none;
    position: absolute;
    top: 100%;
    padding: 15px;
    background: #fff;
    box-shadow: 1px 1px 5px #999;
    z-index: 999;
    opacity: 0;
    text-align: center;
}
.cf-city .cf-confirm.cf-show {
    display: block;
    opacity: 1;
    animation: fadeIn .15s linear;
}
.cf-city .cf-confirm.cf-hide {
    opacity: 0;
    animation: fadeOut .15s linear;
}
.cf-city .cf-btn-group {
    margin-top: 10px;
}
.cf-city .cf-btn-default,
.cf-city .cf-btn-primary {
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
        touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}
.cf-city .cf-btn-default:hover,
.cf-city .cf-btn-default:focus,
.cf-city .cf-btn-primary:hover,
.cf-city .cf-btn-primary:focus {
    color: #333;
    text-decoration: none;
}
.cf-city .cf-btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
}
.cf-city .cf-btn-default:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}
.cf-city .cf-btn-primary {
    color: #fff;
    background-color: #337ab7;
    border-color: #2e6da4;
}
.cf-city .cf-btn-primary:hover {
    color: #fff;
    background-color: #286090;
    border-color: #204d74;
}
.cf-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,.5);
    z-index: 1050;
    display: none;
    opacity: none;
    overflow: hidden;
    -webkit-overflow-scrolling: touch;
    outline: 0;
    box-sizing: border-box;
}
.cf-modal.cf-show {
    display: block;
    opacity: 1;
    animation: fadeIn .15s linear;
}
.cf-modal.cf-hide {
    opacity: 0;
    animation: fadeOut .15s linear;
}
.cf-modal .cf-modal-dialog {
    position: relative;
    width: auto;
    margin: 10px;
    -webkit-transform: translate(0, -25%);
        -ms-transform: translate(0, -25%);
         -o-transform: translate(0, -25%);
            transform: translate(0, -25%);
}
.cf-modal.cf-show .cf-modal-dialog {
    -webkit-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
         -o-transform: translate(0, 0);
            transform: translate(0, 0);
    animation: slideDown .3s ease-out;
}
.cf-modal.cf-hide .cf-modal-dialog {
    animation: slideUp .3s ease-out;
}
.cf-modal .cf-modal-content {
    position: relative;
    background-color: #fff;
    -webkit-background-clip: padding-box;
            background-clip: padding-box;
    border: 1px solid #999;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 6px;
    outline: 0;
    -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
            box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
}
.cf-modal .cf-modal-header {
    position: relative;
    min-height: 16.428571429px;
    padding: 15px;
    border-bottom: 1px solid #e5e5e5;
}
.cf-modal .cf-modal-header .cf-btn-close {
    float: right;
    font-size: 21px;
    font-weight: 700;
    line-height: 1;
    color: #000;
    opacity: .2;
    margin-top: -2px;
    padding: 0;
    background: 0 0;
    border: 0;
    -webkit-appearance: none;
    text-shadow: 0 1px 0 #fff;
    cursor: pointer;
}
.cf-modal .cf-modal-title {
    margin: 0;
    line-height: 1.42857143;
}
.cf-modal .cf-modal-body {
    position: relative;
    padding: 20px;
}
.cf-modal .cf-form-search {
    margin-bottom: 15px;
}
.cf-modal .cf-form-search:before,
.cf-modal .cf-form-search:after {
    content: " ";
    display: table;
}
.cf-modal .cf-form-search:after {
    clear: both;
}
.cf-modal .cf-form-search .cf-form-label {
    position: relative;
    display: block;
    margin-bottom: 5px;
    padding-top: 7px;
}
.cf-modal .cf-form-search .cf-form-field {
    position: relative;
}
.cf-modal .cf-form-search .cf-form-input {
    display: block;
    width: 100%;
    height: 34px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
            box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
         -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
            transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
.cf-modal .cf-form-search .cf-form-input:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
            box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}
.cf-modal .cf-form-search .cf-form-input::-moz-placeholder {
    color: #999;
    opacity: 1;
}
.cf-modal .cf-form-search .cf-form-input:-ms-input-placeholder {
    color: #999;
}
.cf-modal .cf-form-search .cf-form-input::-webkit-input-placeholder {
    color: #999;
}
.cf-modal .cf-form-search .cf-form-input::-ms-expand {
    background-color: transparent;
    border: 0;
}
.cf-cities {
    display: none;
    padding-left: 0;
    list-style: none;
    margin-top: 0;
    margin-bottom: 10px;
}
.cf-cities.cf-show {
    display: block;
}
.cf-cities li {
    margin-bottom: 7px;
}
.cf-error {
    display: none;
    color: #f00;
    margin-bottom: 10px;
}
.cf-error.cf-show {
    display: block;
}
@media (min-width: 768px) {
    .cf-modal .cf-modal-dialog {
        width: 600px;
        margin: 30px auto;
    }
    .cf-modal .cf-modal-content {
        -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
                box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
    }
    .cf-modal .cf-form-search .cf-form-label {
        display: inline-block;
        float: left;
        width: 13%;
        margin-right: 15px;
        text-align: right;
    }
    .cf-modal .cf-form-search .cf-form-field {
        float: left;
        width: 81%;
        margin-left: 15px;
    }
    .cf-cities {
        columns: 3;
        -webkit-columns: 3;
        -moz-columns: 3;
    }
}
