/* Global =================================================================== */


/* Wrapper ================================================================== */

#popup-manager.popup-show+#layout,
.wrap_blur {
    -webkit-filter: blur(2px);
    -moz-filter: blur(2px);
    -ms-filter: blur(2px);
    -o-filter: blur(2px);
    filter: blur(2px);
}


/* Header =================================================================== */


/* Header Navigation ======================================================== */


/* Main Navigation =========================================================== */


/* Body ===================================================================== */


/* Breadcrumbs ============================================================== */


/* Section ================================================================== */


/* Sidebar ================================================================== */


/* Sidebar Navigation ======================================================= */


/* Footer =================================================================== */


/* Footer SQL Debug ======================================================== */

#debug_block {
    display: none;
}

.queries_wrap .query {
    padding: 10px;
    margin: 10px;
    background: #FFF;
    border: solid 1px #DDD;
}

.queries_wrap .query .src {
    font-size: 12px;
    color: #999;
}

.queries_wrap .query .debug_data {
    margin-top: 4px;
}

.queries_wrap .query_time {
    color: #999;
    font-size: 12px;
    margin: 4px 0 0;
}

.queries_wrap .red_query {
    color: #c0392b;
}

.queries_wrap .green_query {
    color: #27ae60;
}

#debug_widget.tabs-menu>ul {
    border-bottom: none;
    height: 32px;
    background: #B3C2C9;
    min-width: 600px;
}

#debug_widget.tabs-menu .tabbed li {
    background: none;
}

#debug_widget.tabs-menu .tabbed li a {
    border: none;
}

#debug_widget.tabs-menu .tabbed li a:not(:hover) {
    color: #EFEFEF;
}

#debug_widget.tabs-menu .tabbed li.active a,
#debug_widget.tabs-menu .tabbed li.active a:hover {
    border: none;
    margin: 0;
    color: #495358;
}

#debug_widget ol {
    padding: 0;
    margin: 0;
}


/* Footer Navigation ======================================================== */


/* Site offline notice ====================================================== */

#site_off_notice {
    position: fixed;
    left: 15px;
    top: 15px;
    padding: 5px 10px;
    padding-left: 28px;
    background: url("../images/icons/error.png") no-repeat 8px center #FFF;
    border: solid 1px red;
    color: red;
}

.modal_padding {
    padding: 10px;
    box-sizing: border-box;
    min-width: 460px;
}

.modal_padding h3,
.modal_padding h2 {
    margin-top: 5px;
    white-space: nowrap;
}

.width_480 {
    width: 480px;
}

.new_view_form form,
.new_view_form .card-header {
    width: 70%;
    margin: 0 auto!important;
}


/* Media Queries ============================================================ */

@media screen and (max-width: 980px) {
    .new_view_form form,
    .new_view_form .card-header {
        width: 80%;
    }
    #body section {
        width: 100% !important;
    }
    #body aside {
        float: none !important;
        overflow: hidden;
        width: 100%;
        clear: both;
    }
}

@media screen and (max-width: 800px) {
    #body section {
        width: 100% !important;
    }
    nav {
        padding: 5px;
        height: auto;
    }
    nav select {
        position: relative;
        display: inline-block;
        background: transparent;
        border: 0;
        box-shadow: none;
        color: #FFF;
        font-size: 14px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        height: 28px;
        line-height: 20px;
        background: url(../images/icons32/menu-icon.svg) no-repeat center right;
    }
    nav select option {
        color: #333;
        background: #FFF;
        transition: all 0.3s ease;
    }
    #layout footer #info {
        display: none !important;
    }
}

@media screen and (max-width: 640px) {
    .new_view_form form,
    .new_view_form .card-header {
        width: 100%;
    }
    .content_item .ft_images .first_type_images:first-child {
        float: none;
        clear: both;
        margin-bottom: 10px;
        display: block;
        width: 100%;
        max-width: 100%;
    }
    .filter-panel .fields .field:nth-child(odd),
    .filter-panel .fields .field:nth-child(even) {
        float: none !important;
        width: 100%;
        margin-bottom: 10px;
    }
    .content_item .ft_images .first_type_images:first-child>img {
        width: 100%;
    }
    #layout header #logo {
        width: 200px;
    }
    .tabs-menu>ul {
        display: none;
    }
    .tabs-menu select {
        display: block !important;
        /*display:none;*/
    }
    .widget>.title {
        font-size: 14px !important;
    }
    .widget>.title .links {
        display: none;
    }
    .content_item .ft_image {
        float: none !important;
    }
    .modal_padding {
        padding: 10px;
        box-sizing: border-box;
        min-width: 320px;
    }
}

@media screen and (max-width: 480px) {
    .for_register .field>label {
        width: auto!important;
    }
    .tab_open {
        width: 80%!important;
        margin-left: 0!important;
    }
    .tab_open:after {
        right: -61px!important;
    }
    .inputfile+label {
        padding: 0 40px;
    }
    #layout footer #nav {
        display: none !important;
    }
    #breadcrumbs ul li:last-child {
        display: none;
    }
    h1 {
        font-size: 22px;
    }
    .content_list.featured .first .photo,
    .content_list.featured .first .fields,
    .content_list.tiled.albums_list .tile {
        width: 100% !important;
    }
    .content_list_item.second .photo,
    .content_list_item.second .first {
        float: none !important;
        /*  margin-right: 0 !important; */
    }
    .content_list.featured .first .ft_caption a {
        font-size: 21px !important;
    }
    .content_list_item .ft_caption .value {
        font-size: 18px !important;
    }
}

#comments_widget.tabs-menu select {
    display: none !important;
}

.registration legend {
    display: none;
}

.registration>h3 {
    text-align: center;
    font-size: 24px;
    font-family: 'Lato';
    font-weight: 300;
    color: #000;
}

.registration .card-footer.buttons{
    margin-bottom: 0;
}

.registration .tab {
    box-shadow: none;
}

.navbar-right {
    margin-right: 0px!important;
    margin-top: 5px!important;
}

.for_register .ft_listsex .for_main {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.for_register .ft_listsex .for_main .label-field{
    margin-top: 10px;
    margin-bottom: 10px;
    font-family: 'Bebas Neue';
    font-size: 48px;
    color: #FF6F1D;
    font-weight: bold;
    line-height: 50px;
}

.new_view_form .tab {
    box-shadow: none;
}

.new_view_form {
    text-align: left;
    padding-top: 10vh;
}

.new_view_form .card-header .category {
    color: #000!important;
}

.new_view_form form fieldset,
.new_view_form .card-header {
    padding: 0;
}

.new_view_form .suffix {
    background-color: transparent!important;
    border: none!important;
}

.new_view_form .form-tabs {
    padding-bottom: 0px;
}

.new_view_form .button-submit {
    font-size: 1.2em!important;
}

.new_view_form .input-prefix-suffix>* {
    margin: 0 auto;
    float: none!important;
}

.new_view_form .card-footer {
    border-top: none!important;
}

.new_view_form legend {
    background-color: transparent!important;
    font-size: 1.8em;
}

.ft_listsex .for_main {
    display: none;
}

.for_register {
    width: 100%;
    text-align: center;
    padding: 0!important;
}

.for_register .city-input {
    position: relative;
    height: 48px;
    background: #fff;
    width: 340px;
    font-family: 'Lato';
    font-size: 16px;
    font-weight: 300;
    margin: auto;
    border: 1px solid #FF6F1D;
    border-radius: 10px;
    color: #4C4C49;
    box-shadow: none;
    overflow: hidden;
}

.city-input a:hover, .input_link_block:hover{
    background: #fff!important;
}

.city-input span{
    white-space: nowrap;
    padding-right: 40px!important;
    padding-left: 10px!important;
}

.module_users_items .city-input span{
    float: left;
    width: 170px;
    padding-right: 0px!important;
    overflow: hidden;
    text-overflow: ellipsis;
}

.form-control-wrap{
    position: relative;
    width: 340px;
    margin: auto;
}

.for_register .field>input, .for_register .field .form-control-wrap>input, .for_register .field>select, .for_register .field .form-control-wrap>select {
    background: #fff;
    width: 340px;
    height: 48px;
    font-family: 'Lato';
    font-size: 17px;
    font-weight: 300;
    padding: 10px 8px 12px;
    margin: auto;
    border: 1px solid #FF6F1D;
    border-radius: 10px;
    color: #4C4C49;
    box-shadow: none;
}
.for_register .field>input::placeholder{
    color: #4C4C49;
}

.for_register .field{
    margin-bottom: 20px;
}

.for_register .field > #password1{
    margin-right: 18px;
}
.for_register .field > #password1, .for_register .field > #password2{
    width: 160px;
}

.for_register .city-input .city-id {
    display: none;
}

.for_register .warning_img {
    width: 15px;
    vertical-align: baseline;
}

.for_register .field>select {
    padding: 6px 40px 8px 10px;
    margin: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
}

#sex_search{
    background-image: url(/templates/redray/images/select-arrow.svg);
    background-position: calc(100% - 12px) calc(1em + -8px);
    background-size: 24px 24px;
    background-repeat: no-repeat;
}

.for_register .field>label {
    width: 20%;
    font-size: 16px;
    text-align: left;
}

.for_register .form-tabs {
    padding: 0px!important;
}

#f_birth_date input, #geo-widget-city .ajax-modal, #geo-widget-city .city-name{
    position: relative;
    padding-right: 45px;
    overflow: hidden;
    text-overflow: ellipsis;
}
#f_birth_date label, #geo-widget-city label{
    position: absolute;
    top: 12px;
    right: 5px;
    width: 24px;
    height: 24px;
}

.for_register #f_birth_date label{
    background: url("/templates/redray/images/calendar.svg") no-repeat center;
}
.for_register #geo-widget-city label{
    background: url(/templates/redray/images/city.svg) no-repeat center;
    right: 6px;
}

.for_register .avatar_label {
    font-size: 1.8em;
}

.for_register .card .card-footer {
    border-top: none;
}

.for_register .widget_image_single .preview img,
.for_register .widget_image_single .preview a {
    float: none!important;
}

.for_register .widget_image_single .preview {
    text-align: center;
}

.for_register .qq-upload-drop-area {
    -moz-box-shadow: inset 0px 1px 0px 0px #FFF;
    -webkit-box-shadow: inset 0px 1px 0px 0px #FFF;
    box-shadow: inset 0px 1px 0px 0px #FFF;
    background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #f9f9f9), color-stop(1, #EDEDED));
    background: -moz-linear-gradient( center top, #f9f9f9 5%, #EDEDED 100%);
    filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#EDEDED');
    background-color: #f9f9f9;
    border: 8px solid #fff;
}

.for_register .upload .qq-upload-drop-area span {
    top: 50%;
    margin: auto;
    transform: translateY(-50%);
    color: #000;
}

.for_register .qq-upload-button>span {
    margin: auto;
    display: inline-block;
}

.for_register .ft_listsex>*:not(.for_main) {
    display: none;
}

.main_content .tab {
    background: transparent!important;
}

.main_content .card-content {
    padding: 0!important;
}

.for_register input,
.for_register .city-input {
    background: transparent;
}

.for_register .upload.block {
    display: contents;
    margin: 0 auto;
}

.for_main span, .for_main a {
    position: relative;
    max-width: 340px;
    width: 100%;
    padding: 9px 12px;
    border-radius: 15px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
    cursor: pointer;
    line-height: 40px;
    font-family: 'Lato';
    font-size: 24px;
    font-weight: 300;
}

.for_register .ft_listsex .for_main .reg-male{
    border: 1px solid #2D71D9;
    color: #2D71D9;
}
.for_register .ft_listsex .for_main .reg-female{
    border: 1px solid #E71A88;
    color: #E71A88;
}

.for_main span img{
    position: absolute;
    left: 30px;
}

.for_main .label-field,
.card-footer.buttons input {
    font-size: 1.5em;
}

.for_register input.continue {
    display: none;
}

.for_main span:hover, .for_main span.active {

}

.registration .field{
    position: relative;
}
.registration .error-valid{
    position: absolute;
    width: 324px;
    left: 0;
    right: 0;
    margin: auto;
    color: red;
    text-align: left;
    font-size: 12px;
    line-height: 16px;
    z-index: 1;
}

.error-auth-valid{
    display: block;
    width: 324px;
    margin: auto;
    position: relative;
    top: -20px;
    text-align: center;
    font-size: 15px;
    color: red;
}

.registration .form-error-colored{
    color: red;
}
.registration .control-errors input{
    border: 1px solid red;
    border-bottom: 2px solid red;
}

.agreement {
    margin: 5px auto;
    max-width: 340px;
    font-size: 9px;
    font-family: 'Lato';
    font-weight: 300;
    padding: 0;
    color: #4C4C49;
    text-align: left;
}
.agreement-content{
    display: flex;
}
.agreement-checkbox{
    margin-right: 5px;
    margin-left: 5px;
    padding-top: 5px;
}
.agreement-checkbox input{
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.checkbox-mark{
    position: relative;
    display: inherit;
    height: 16px;
    width: 16px;
    vertical-align: baseline;
    border: 1px solid #FF6F1D;
    margin: auto;
}
.checkbox-mark:after {
    display: none;
    position: absolute;
    content: '';
    top: 0px;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    width: 10px;
    height: 10px;
    background: #FF6F1D;
}
.agreement-checkbox input:checked~.checkbox-mark:after {
    display: block;
}
.agreement-text{
    padding-top: 3px;
    line-height: 10px;
}

.reg_text {
    width: 100%;
    display: block;
    padding: 0 20px 15px 20px;
    color: #717171;
}

.main_content .title_page {
    text-align: center;
    font-size: 2.3em;
    font-weight: 400;
    margin-top: 29px;
    display: block;
}

.main_content .title_page span {
    color: #ff5be2;
}

.tab_open {
    width: max-content;
    position: relative;
    font-size: 1.6em;
    width: 60%;
    margin: 10px auto;
    padding: 10px 0;
}

.tab_open:after {
    content: '';
    position: absolute;
    right: -41px;
    top: 0;
    bottom: 0;
    margin: auto;
    cursor: pointer;
    background-image: url('/upload/down-arrow.png');
    background-size: cover;
    width: 50px;
    height: 50px;
}

.tab_open.open:after {
    background-image: url('/upload/left-arrow.png');
}

.tab-text {
    max-height: 0;
    text-align: left;
    display: block;
    width: 60%;
    margin: 0 auto;
    overflow: hidden;
    transition: all 1s cubic-bezier(0, 1, 0, 1);
}

.tab-text.open {
    max-height: 300px;
    transition: all 1s ease-in-out;
}

a.like,
a.dislike {
    background-color: transparent!important;
}

a.like:before {
    content: '';
    background-image: url(/upload/heart.png);
    width: 35px;
    background-size: cover;
    height: 35px;
    display: block;
}

a.dislike:before,
a.like:hover:before {
    content: '';
    background-image: url(/upload/heart_green.png);
    width: 35px;
    background-size: cover;
    height: 35px;
    display: block;
}

.for_register .city-input>span, .for_register .city-input>a {
    font-family: 'Lato';
    font-size: 17px;
    line-height: 34px;
    font-weight: 300;
    color: #4C4C49;
    display: block;
    text-align: left;
    padding: 0 10px;
}

.widget_image_single .preview img {
    width: 100%;
}

.inputfile {
    width: 0.1px;
    height: 0.1px;
    opacity: 0;
    overflow: hidden;
    position: absolute;
    z-index: -1;
}

.inputfile+label {
    font-weight: 700;
    color: #000;
    width: 49%!important;
    text-align: center!important;
    background-color: rgb(231, 231, 231);
    border-radius: 18px;
    height: 170px;
    display: inline-flex!important;
    vertical-align: middle;
    cursor: pointer;
    margin-top: 30px;
    margin-bottom: 40px;
}

.inputfile+label>span {
    display: inline-block;
    margin: auto;
    font-weight: 700;
}

.inputfile:focus+label,
.inputfile+label:hover {
    background-color: rgba(252, 191, 96, 0.93);
    color: #fff;
}

.inputfile:focus+label {
    outline: 1px dotted #000;
    outline: -webkit-focus-ring-color auto 5px;
}

.search-top{

}
.search-top h1{
    width: 46%;
    text-align: center;
    background: #FF6F1D;
    color: #fff;
    padding: 15px;
    margin: 25px auto 25px;
    border-radius: 15px;
    line-height: 22px;
    font-size: 18px;
}

.search_do {
    text-align: center;
}

.search_do a {
    font-size: 18px;
    display: inline-block;
    padding: 5px 10px;
    margin: 30px 0;
    color: #FF6F1D;
    font-weight: 700;
}
.search_do a:hover{
    color: #FF6F1D;
    text-decoration: underline;
}

#users_profiles_list {
    max-width: 1900px;
}

#users_profiles_list~.title.text-center {
    display: flow-root;
    width: 100%;
}

.for_register .city-input .city_clear_link {
    display: none!important;
}

.social-auth {
    background: #597DA3;
    color: #fff!important;
    border: 1px solid #597DA3;
}
.social-auth img {
    margin-top: -5px;
    width: 31px!important;
    height: 31px!important;
}
.auth-drop{
    color: #FF6F1D!important;
    border: 1px solid #FF6F1D;
}
.notices-counter {
    display: none!important;
}

@media (max-width: 1370px) {
    .for_register .field>label {
        font-size: 14px;
        height: 125px;
        margin-top: 8px;
        margin-bottom: 28px;
    }

    .for_register .field>input, .for_register .field .form-control-wrap>input, .for_register .field>select, .for_register .field .form-control-wrap>select{
        width: 300px;
    }

    .for_register .field > #password1, .for_register .field > #password2 {
        width: 140px;
    }

    .agreement {
        max-width: 300px;
    }
}

@media (max-width: 1366px) {
    .search-top h1 {
        font-size: 16px;
    }
    .search_do a {
        font-size: 16px;
        margin: 10px 0;
        font-weight: 600;
    }
}

@media (max-width: 1280px){
    .search-top h1 {
        width: 55%;
    }
}

@media (max-width: 1024px) {
    .for_register .field>label{
        font-size: 12px;
        height: 55px;
        margin-top: 8px;
        margin-bottom: 13px;
    }
    .registration.part3 .card-footer.buttons .continue {
        font-size: 10px;
    }
    .search-top h1 {
        margin: 15px auto 15px;
        font-size: 14px;
    }
    .search_do a {
        font-size: 14px;
        margin: 8px 0;
    }
    .registration .error-valid {
        width: 152px;
        left: 8px;
        font-size: 6px;
        line-height: 7px;
    }

    .error-auth-valid {
        width: 152px;
        top: -8px;
        font-size: 9px;
        line-height: 11px;
    }

    .city-input span{
        padding-right: 25px!important;
        padding-left: 4px!important;
    }
}

@media (max-width: 768px) {
    .registration .error-valid {
        width: 212px;
    }
}

@media (max-width: 540px) {
    .search-top h1 {
        width: 80%;
    }
}