body.index-pleasure {
    font-family: 'Open Sans', sans-serif;
    font-size: 1em;
    line-height: 1.5833;
}

@media (min-width: 768px) {
    body.index-pleasure {
        font-size: 24px;
    }
}

h2 {
    font-size: 36px;
}

h3 {
    font-size: 24px;
}

a {
    color: #e82864;
}
a:hover {
    color: #111;
    text-decoration: none;
}
p {
    margin-bottom: 1em;
}

/*--------------------------------------------------------
*   BOOTSTRAP FIXES
--------------------------------------------------------*/

.btn {
    transition: 0.3s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
}

.btn-group-lg > .btn {
    padding: 10px 30px;
    font-size: 0.6666em;
    line-height: 1.33333;
    border-radius: 5px;
    text-transform: uppercase;
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.25);
    border: rgba(255, 255, 255, 0.05);
    color: #fff;
}
.btn-secondary:hover,
.btn-secondary:focus,
.btn-secondary:active,
.btn-secondary.active,
.open > .dropdown-toggle.btn-primary {
    background-color: rgba(255, 255, 255, 0.35);
    color: #fff;
}

/*--------------------------------------------------------
*   END BOOTSTRAP FIXES
--------------------------------------------------------*/

.btn-getapp {
    display: inline-block;
    height: 50px;
}
.btn-getapp_white {
    background: url(../images/getapp-ghostbuttons-white.png) no-repeat;
}
.btn-getapp_black {
    background: url(../images/getapp-ghostbuttons-black.png) no-repeat;
}
.btn-getatpp_android {
    background-position: 0 0;
    width: 151px;
}
.btn-getatpp_ios {
    background-position: -155px 0;
    width: 165px;
}


/*--------------------------------------------------------
*   HEADER
--------------------------------------------------------*/

.b-header {
    position: relative;
}
.b-header:before {
    background: #6f737f url(../../../../application/views/flatty/img/custom/mobile-photo.jpg) repeat-x center top;
    bottom: 0;
    content: "";
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
}
.b-header__topline {
    font-size: 14px;
    line-height: 16px;
    padding: 0;
    text-align: center;
}

@media (min-width: 768px) {
    .b-header__topline {
        padding-top: 30px;
    }
}

.b-header__message {
    text-align: center;
    margin-top: -20px;
}
.b-header__message h2 {
    font-size: 1.2em;
    text-transform: uppercase;
}
.b-header__message p {
    font-size: 0.75em;
}
.b-header__message .btn {
    margin-bottom: 5px;
}
.b-header__topnav {
    padding: 30px 0 30px;
    text-align: center;
}

.b-header__topnav a {
    color: #fff;
    font-weight: bold;
    text-decoration: underline;
    text-transform: uppercase;
}
.b-header__topnav a:hover {
    color: #e82864;
    font-weight: bold;
    text-decoration: underline;
}

@media (min-width: 768px) {
    .b-header {
        /*min-height: calc(100vh - 110px);*/
        min-height: calc(100vh - 260px);
    }
    .b-header:before {
        background: url(../../../../application/views/flatty/img/custom/main-photo.jpg) no-repeat scroll center center / cover;
    }
    .b-header__topline {
        text-align: left;
    }
    .b-header__topnav {
        padding: 0;
        text-align: right;
    }
    .col-sm-3 .b-header__topnav {
        text-align: left;
    }

    .col-sm-6 + .col-sm-3 .b-header__topnav {
        text-align: right;
    }
    .b-header__topnav a {
        margin-left: 10px;
    }
    .b-header__message {
        padding: 150px 0 50px;
        text-align: left;
    }
    .b-header__message h2 {
        font-size: 2em;
    }
    .b-header__message p {
        font-size: 1em;
    }
}

/*--------------------------------------------------------
*   END HEADER
--------------------------------------------------------*/


/*--------------------------------------------------------
*   AFTERHEADER
--------------------------------------------------------*/

.b-afterheader {
    padding: 30px 0;
    text-align: center;
}

@media (min-width: 768px) {
    .b-afterheader {
        padding: 60px 0 50px;
    }
}

.b-afterheader .col-sm-6 h3,
.b-afterheader .col-sm-6 p {
    max-width: 300px;
}

.b-afterheader__apps a {
    display: inline-block;
}

/*--------------------------------------------------------
*   END AFTERHEADER
--------------------------------------------------------*/


/*--------------------------------------------------------
*   FEATURES
--------------------------------------------------------*/

.b-features {
    background: #fff;
    font-size: 0.5833em;
    line-height: 1.5715;
    padding: 80px 0 5px;
    text-align: center;
}

.b-features__item {
    padding: 0 30px 75px;
}

.b-features__image {
    height: 160px;
}
.b-features__image img {
    max-width: 100%;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.b-features__title {}

@media (min-width: 768px) {
    .b-features {
        padding-bottom: 80px;
    }

    .b-features__item {
        padding-bottom: 0;
    }
}

/*--------------------------------------------------------
*   END FEATURES
--------------------------------------------------------*/


/*--------------------------------------------------------
*   MOBILE
--------------------------------------------------------*/

.b-mobile {
    background: #f9f9f9;
    padding: 30px 0;
    text-align: center;
}

.b-mobile .lnk-app {
    display: inline-block;
}

.b-mobile__img img {
    margin: 0 auto;
}

@media (min-width: 768px) {
    .b-mobile {
        text-align: left;
    }

    .b-mobile__text {
        padding: 45px 0;
    }
}

@media (min-width: 1080px) {
    .b-mobile__text {
        padding-top: 90px;
    }
}

/*--------------------------------------------------------
*   END MOBILE
--------------------------------------------------------*/

/*--------------------------------------------------------
*   REGISTRATION
--------------------------------------------------------*/

.b-registration {
    background: #4c3a3f url(../images/b-registration.jpg) no-repeat center center / cover;
    color: #fff;
    font-size: 0.5em;
    padding: 100px 0;
    text-align: center;
}
.b-registration h2 {
    margin-bottom: 50px;
    margin-top: 0;
}
.b-registration .form-group {
    text-align: left;
}
.b-registration .form-control {
    font-size: 18px;
    height: 49px;
}
.has-success .help-block {
    color: #94e596;
}
.has-error .help-block {
    color: #ea9e9c;
}
.b-registration .form-control-feedback {
    height: 49px;
    line-height: 49px;
}

/*--------------------------------------------------------
*   END REGISTRATION
--------------------------------------------------------*/

/*--------------------------------------------------------
*   FOOTER
--------------------------------------------------------*/

.b-footer {
    color: #fff;
    font-size: 12px;
    line-height: 28px;
    padding: 15px 0;
    text-align: center;
}

.b-footer a:hover {
    color: #fff;
}



@media (min-width: 768px) {
    .b-footer {
        text-align: left;
    }
    .b-footer__copy {
        text-align: right;
    }
}

/*--------------------------------------------------------
*   END FOOTER
--------------------------------------------------------*/

/*--------------------------------------------------------
*   LANG POPOVER
--------------------------------------------------------*/

#lang-block {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 0;
    background: #322B37;
    z-index: 10;
    overflow: hidden;
}
#lang-block {

}
.lang-block-header {
    color: #747f96;
    font-size: 0.75em;
    line-height: 1.6666;
    padding: 30px 0px 15px 40px;
}
#lang-block ul {
    padding-left: 40px;
}
#lang-block ul > li {
    list-style-type: none;
    color: #505664;
    font-size: 0.75em;
    line-height: 1.6666;
    cursor: pointer;
}
#lang-block ul > li:hover {
    color: rgba(255, 255, 255, 0.75);
}
li.lbi-selected {
    list-style-type: disc !important;
    color: #ffffff !important;
}
.lbi-selected {

}

/*--------------------------------------------------------
*   END LANG POPOVER
--------------------------------------------------------*/


/*--------------------------------------------------------
*   USERS CONNECTIONS
--------------------------------------------------------*/

.oauth-links a {
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    border: rgba(255, 255, 255, 0.1);
}

.oauth-links ins {
    text-decoration: none !important;
}

/*--------------------------------------------------------
*   USERS CONNECTIONS
--------------------------------------------------------*/
.ajax_notice {
    font-size: 14px;
    line-height: 20px;
}
.ajax_notice div {
    padding: 20px;
}
.alert-success,.alert-info,
.alert-warning,.alert-danger{
    border-width:1px;
    border-style:solid;
    border-radius:4px;
    padding:15px;
}
.alert-success{
    color:#3c763d;
    background-color:#dff0d8;
}
.alert-info{
    color:#111;
    background-color:#fff;
    border-color:#bce8f1;
}
.alert-warning{
    color:#8a6d3b;
    background-color:#fcf8e3;
}
.alert-danger{
    color:#a94442;
    background-color:#f2dede;
}
.dropdown{
    font-size: 15px;
    color: #4C4C4C;
    width: 100%;
    position: absolute;
    z-index: 1000;
    background: #fff;
    border: 1px solid #C4C4C4;
    -moz-box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
    -webkit-box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
    box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
    display: none;
}
.dropdown ul{margin: 0px; padding: 0px;}
.dropdown ul li{list-style: none; padding: 5px; line-height: 20px;}
.dropdown ul li span{white-space: nowrap;}
.dropdown ul li:hover, .dropdown ul li.active{background: #ECECEC;}
.dropdown .country-msg {
    text-align: center;
    border-top: 1px solid #ddd;
    color: #66afe9;
    cursor: pointer;
}
.dropdown .country-msg .pginfo {
    text-decoration: none;
    border-bottom: 1px dashed #66afe9;
}


/*--------------------------------------------------------
*   REGISTRATION
--------------------------------------------------------*/

/* country popup */
.load_content_bg,
.alert_bg {
    z-index: 1000;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    display: none;
    background-color: rgba(0,0,0,0.8);
}


/*.load_content_bg div {
   top: 10%; 
}*/

.load_content_bg div div:first-child {
    background: #fff;
    border-radius: 10px; 
    padding: 10px 20px;
}

@media (max-width: 767px) {
    .load_content_bg div {
        top: 0; 
    }
    .load_content_bg div div:first-child {
        border-radius: 0px; 
    }
    .load_content_inner {
        margin: auto;
    }
    .load_content_close {
        margin-right: 10px;
    }
}

.load_content_bg {
    font-size: 14px;
}
.load_content_bg h3 {
    font-size: 14px;
    font-weight: bold;
}
.load_content_bg ol,
.load_content_bg ul,
.load_content_bg li {
    list-style: outside none none;
    margin: 0;
    padding: 0;
}
.load_content_bg .load_content_close.w {
    position: absolute;
    top: -15px !important;
    right: -15px !important;
    color: #fff;
}
/* end country popup */

/*--------------------------------------------------------
*   END REGISTRATION
--------------------------------------------------------*/

.b-header__logo {
    text-align: center;
}

@media (min-width: 992px) {
    .b-header__topline .col-sm-6 {
        position: initial;
    }
    .b-header__logo {
        position: absolute;
        top: 20px;
        /*left: 250px;*/
        left: 20px;
    }
    .b-header__logo img {
        height: 35px;
    }
}

.nav-tabs {
    font-size: 16px;
    border: none;
}

.nav-tabs .nav-item {
    background: #fff;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.nav-tabs .nav-item + .nav-item {
    margin-left: 5px;
}

.nav-tabs > li > span {
    border: none !important;
    background: none !important;
    color: #ff2700 !important;
    padding: 6px 10px;
    display: inline-block;
}

.nav-tabs + .g-flatty-block {
    border-top-left-radius: 0 !important;
}

.dropdown-menu {
    max-height: 300px;
    overflow-x: hidden;
    overflow-y: auto;
}

.registration-block .dropdown-menu li a {
    overflow: hidden;
    text-overflow: ellipsis;
}

.registration-block .g-flatty-block {
    padding: 15px !important;
    font-size: 12px !important;
    border-radius: 15px !important;
    border-top-left-radius: 0 !important;
}

.registration-block .form-control {
    font-size: 15px;
}

.registration-block .btn-default,
.registration-block .btn-default:hover,
.registration-block .btn-default:focus,
.registration-block .btn-default:active,
.registration-block .btn-invert,
.registration-block .btn-invert:hover,
.registration-block .btn-invert:focus,
.registration-block .btn-invert:active,

.registration-block .form-control {
    background: #111;
    color: #fff;
}

.registration-block .nav-tabs {
    font-size: 14px;
}

.registration-block .nav-item.inacive {
    background: rgba(255,255,255,.5);
}

input::placeholder {
    color: #fff !important;
}

.btn-default,
.btn-default:hover,
.btn-default:focus,
.btn-default:active {
    color: #ff2700 !important;
}

.btn-invert,
.btn-invert:hover,
.btn-invert:focus,
.btn-invert:active {
    color: #fff !important;
}

.btn-border,
.btn-border:hover,
.btn-border:focus,
.btn-border:active {
    background: none !important;
    color: #ff2700 !important;
    border: 2px solid #ccc;
    border-radius: 15px;
    text-decoration: none !important;
}

input,
.btn-default {
    border-radius: 15px !important;
    height: 45px !important;
}

.registration-block .form-group {
    margin-bottom: 10px !important;
}

.registration-block .caret {
    display: none;
}

input.error,
.btn-default.error,
#birth_date.error + div > div > a,
#id_country.error + .btn,
#id_region.error + .btn {
    border-color: #ff2700 !important;
}

.captcha-block .input-group-addon {
    padding: 0;
    background: none;
    border: none;
    padding-right: 10px
}

.b-header__topnav {
    color: #ff2700;
}

.btn_tnl {
    text-transform: none !important;
    color: #ff2700 !important;
    text-decoration: none !important;
}

.b-afterheader {
    background: #000 !important;
    color: #ff2700;
}

.b-afterheader h3 {
    font-size: 22px;
}

@media (min-width: 768px) {
    .b-afterheader h3 {
        font-size: 40px;
    }
}

.users_count {
    margin-top: 10px;
    margin-bottom: 10px;
    width: auto;
    font-size: 50px !important;
    font-weight: bold;
    width: auto;
    height: auto;
    font-size: 50px;
    border-radius: 50px;
    display: inline-block;
    min-width: 200px;
    color: #0c0497 !important;
}

.b-afterheader + .b-afterheader {
    padding-top: 0;
}

@media (min-width: 768px) {
    margin-top: 30px;
    margin-bottom: 30px;
}

.b-afterheader img {
    display: inline-block;
}

.b-afterheader .row {
    display: flex;
    align-items: center;
}

.b-afterheader .col-xs-6,
.b-afterheader .col-xs-6 + .col-sm-6.col-xs-pull-6 {
    text-align: right;
}

.b-afterheader .col-xs-6 > div,
.b-afterheader .col-xs-6 + .col-xs-6.col-xs-pull-6 > div {
    float: right;
}

.b-afterheader .col-xs-6 + .col-xs-6,
.b-afterheader .col-xs-push-6 {
    text-align: left;
}

.b-afterheader .col-xs-6 + .col-xs-6 > div,
.b-afterheader .col-xs-push-6 > div {
    float: left;
}

@media (min-width: 768px) {
    .b-header__message h2 {
        font-size: 3em;
        font-family: 'Gochi Hand';
    }
    .b-header__message p {
        font-size: 1.5em;
        font-family: 'Gochi Hand';
    }
}

#first-registration-page {
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    #first-registration-page {
        margin-bottom: 100px;
    }
}

.b-footer__cp {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
}