@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 24px -4px #999;
    z-index: 999;
    opacity: 0;
    text-align: center;
    /*+border-radius: 6px;*/
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    -khtml-border-radius: 6px;
    border-radius: 6px;
}
.cf-city .cf-confirm.cf-show {
    display: block;
    opacity: 1;
    animation: fadeIn 0.15s linear;
}
.cf-city .cf-confirm.cf-hide {
    opacity: 0;
    animation: fadeOut 0.15s linear;
}
.cf-city .cf-btn-group {
    margin-top: 5px;
}
.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: #10C9B6;
    border-color: #10CAB7;
}
.cf-city .cf-btn-primary:hover {
    color: #FFF;
    background-color: #4A4A4A;
    border-color: #545557;
}
.cf-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 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 0.15s linear;
}
.cf-modal.cf-hide {
    opacity: 0;
    animation: fadeOut 0.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 0.3s ease-out;
}
.cf-modal.cf-hide .cf-modal-dialog {
    animation: slideUp 0.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, 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, 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: 28px;
    font-weight: 400;
    line-height: 1;
    color: #000;
    opacity: 0.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;
    overflow-y: scroll !important;
    /*overflow-y: scroll !important;*/
}
/*.cf-modal-body #cfCities
{
	display: flex;
}*/
.cf-modal .cf-form-search {
    margin-bottom: 15px;
    z-index: 4 !important;
}
.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, 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 0.15s, box-shadow ease-in-out 0.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, 0.075), 0 0 8px rgba(102, 175, 233, 0.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, 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: 99%;
        /*margin-left: 15px;*/
    }
    .cf-cities {
        columns: 3;
        -webkit-columns: 3;
        -moz-columns: 3;
    }
}
.grid_masonry {
    /*max-width: 1200px;*/
    counter-reset: grid-item;
}
/* clearfix */
.grid_masonry:after {
    content: '';
    display: block;
    clear: both;
}
.grid-item {
    width: 159px;
    float: left;
    border-color: hsla(0, 0%, 0%, 0.5);
    padding-bottom: 25px;
}
.liter {
    font-weight: bold;
    font-size: 20px;
}
/*.grid-sizer
{
	width: 18px;
}*/
.grid-item.hide {
    z-index: 0 !important;
    position: absolute !important;
    left: 0 !important;
    top: -9px !important;
    /*display: none;*/
    padding-bottom: 0;
    margin-bottom: 0;
}
#cfCities .grid-item.hide li a {
    /*display: table-row !important;*/
    z-index: 319 !important;
    position: relative !important;
    left: 0 !important;
    top: 7px !important;
}
.grid-item.hide .liter {
    display: none;
}
ol,
ul#cfCities {
    padding-left: 0 !important;
    margin-left: 0 !important;
}
ul#cfCities li {
    list-style: none;
    padding: 0 !important;
    margin: 0 !important;
}
#cfCities li a {
    text-decoration: none;
    color: #161616;
    font-weight: bold;
}
#cfCities .add a {
    font-weight: 100;
}
