/* buttons disabled */

.btn[disabled] {
    background-color: grey;
    cursor: default;
}

.btn[disabled]:hover {
    box-shadow: none;
}

.btn[disabled]:focus {
    background-color: gray;
}

.btn.btn-link.primary[disabled],
.btn.btn-link.primary[disabled]:focus {
    background: transparent;
    color: gray;
}

/* admin country */

.country-admin-data img {
    display: inline-block;
    height: auto;
    max-width: 20px;
}

/* header search */
.form-search-group .form-group .input ~ .alert {
    opacity: 0;
    -webkit-transform: translateY(150%);
    transform: translateY(150%);
    transition-delay: .5s;
    bottom: 0;
}

.form-search-group .form-group.error .input:focus ~ .alert {
    opacity: 1;
}

.form-search-group .form-group .alert:before {
    top: 0;
}

/* search */

.main-search .search-result .search-list figure {
    position: relative;
}

.model-simple .model-photo .photo-cover.horizontal img {
    height: 100%;
    width: auto;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.main-search .search-result .search-list figure img {
    max-width: none;
    display: block;
    height: 100%;
    min-width: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* models list */

.poster .video-detail.private .icon {
    color: #ff9100;
}

.poster .video-detail.private:after {
    background: #ff9100;
}

.posters-list.video-hover-list .poster .image-cover > img.logo {
    position: absolute;
    right: 15px;
    bottom: unset;
    height: 15%;
    left: unset;
    top: 20x;
    width: auto;
    transform: none;
}

/* livestream video */

.video-layout .video-wrapper .video-cover {
    background-color: #222;
}

.video-layout .video-wrapper .video-cover .lds-dual-ring {
    width: 100px;
    height: 100px;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}

.video-layout .video-wrapper .video-cover .lds-dual-ring:after {
    border-width: 8px;
    width: 100px;
    height: 100px;
}

.video-layout .video-wrapper .video-cover .wrapper {
    /*position: relative;*/
}

.video-layout .video-wrapper .video-cover video, .video-layout .video-wrapper .video-cover .video-js {
    background: transparent;
}

/* goal live */

.goal-part .profile-settings {
    border-radius: 3px;
    background-color: #313131;
    padding: 20px;
    margin-top: 7px;
    position: relative;
}

.goal-part .number-input .plus,
.goal-part .number-input .minus {
    right: 35px;
    font-size: 12px;
}

.goal-part .section-subtitle .btn {
    position: absolute;
    right: 0;
    top: 0;
}

.goal-part .section-subtitle .btn .icon {
    font-size: 12px;
    width: auto;
    vertical-align: middle;
    margin-left: 5px;
    margin-right: 0;
    line-height: 21px;
}

/* goal progress transition*/

.progress-cover .progress-wrap .progress {
    -webkit-transition: width 2s, height 4s; /* For Safari 3.1 to 6.0 */
    transition: width 2s, height 4s;
}

.progress-cover .progress-outer .goal-completed {
    color: #ff9100;
    font-size: 18px;
    vertical-align: middle;
    line-height: 36px;
    text-align: center;
    font-weight: bold;
}

/* custom tip */

.tip-form .custom-form .number-input .plus,
.tip-form .custom-form .number-input .minus {
    color: #ffd600;
    right: 12px;
    font-size: 12px;
}

.tip-form .custom-form .number-input .plus {
    top: 2px;
}

.tip-form .custom-form .number-input .minus {
    bottom: 2px;
}

/* forms error */

.form-group.error .input {
    box-shadow: inset 0 0 0 2px #ff4700;
}

/* buy tokens form */

.form-group[data-prefix][data-prefix="wallet"]:before {
    content: "\e93f";
}

/* form input number */

.number-input {
    position: relative;
}

.number-input .input[type="number"] {
    -webkit-appearance: textfield;
    -moz-appearance: textfield;
    appearance: textfield;
}

.number-input .input[type="number"]::-webkit-inner-spin-button,
.number-input .input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
}

.number-input .plus,
.number-input .minus {
    display: inline-block;
    border: 0;
    position: absolute;
    right: 0;
    background: none;
    color: #ff9100;
}

.number-input .plus:after,
.number-input .minus:after {
    font-family: 'icomoon' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.number-input .minus:after {
    content: "\e911";
}

.number-input .plus:after {
    content: "\e913";
}

.number-input .plus {
    top: 0;
}

.number-input .minus {
    bottom: 0;
}

/* fix inline inputs in model account preferably online */
.preferably-hours-form .input {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
    max-width: 100px;
}

.preferably-hours-form select.input {
    width: 100%;
    max-width: 150px;
}

.preferably-hours-form select.input option {
    color: #000;
}

.preferably-hours-form fieldset {
    border: 0;
    outline: 0;
    display: table;
    margin-bottom: 20px;
    width: 100%;
}

.preferably-hours-form .form-group {
    display: table-cell;
    width: 25%;
}

.preferably-hours-form .form-group.select {
    width: 35%;
}

.preferably-hours-form .checkbox {
    display: table-cell;
    text-align: right;
    width: 10%;
}

.preferably-hours-form .add-formset {
    float: left;
}

.preferably-hours-form .btn-primary {
    float: right;
}

.ui-timepicker-standard a {
    font-size: 12px;
}

/* form errors */
[data-dropdown] .dropdown-menu .error-caption.error {
    font-size: 12px;
    white-space: normal;
    margin-top: 25px;
}

/* about-me */
.profile-info .profile-settings .account-form .editable-inner.popup-inner .error-caption {
    font-size: 12px;
    background-color: #313131;
    padding: 0 20px 10px 20px;
    display: none;
}

.form-group .error {
    font-size: 12px;
    margin-top: 5px;
}

/* fix profile editable popups */
.profile-info .profile-settings .account-form .editable-inner.popup-inner .btn-list li {
    vertical-align: middle;
}

/* profile preferably-hours-form preloader */
.tags-form .lds-dual-ring,
.profile-settings .lds-dual-ring,
.preferably-hours-form .lds-dual-ring {
    width: 34px;
    height: 34px;
    margin-right: 25px;
    vertical-align: middle;
}

.preferably-hours-form .lds-dual-ring {
    float: right;
}

/* preloader */

.lds-dual-ring {
    display: inline-block;
    width: 64px;
    height: 64px;
}

.lds-dual-ring.active {
    display: inline-block;
}

.login .lds-dual-ring,
.signup .lds-dual-ring {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.lds-dual-ring:after {
    content: " ";
    display: block;
    width: 34px;
    height: 34px;
    margin: 1px;
    border-radius: 50%;
    border: 5px solid;
    border-color: #ff9100 transparent #ff9100 transparent;
    animation: lds-dual-ring 600ms linear infinite;
}

.profile-info .profile-settings .account-form .editable-inner.popup-inner .lds-dual-ring {
    width: 32px;
    height: 32px;
}

@keyframes lds-dual-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/*
* Fix flag borders and height
*/
.profile-info .profile-settings .country-list .item .flag-wrap {
    border-radius: 0 !important;
    vertical-align: middle;
}

.profile-info .profile-settings .country-list .item .flag-wrap img,
.profile-info .profile-settings .country-list .item .flag-wrap svg {
    height: auto !important;
}

/* Fix chat messages */

.chat .message > .btn-cover {
    margin-right: 3px;
    margin-left: 3px;
}

.chat .message.author .content .text {
    max-width: 100%;
}

.chat .message-item.author-item .content .text {
    max-width: 100%;
}

/* fix chat image in user list */

.table .square-image {
    margin-right: 10px;
    transition: .2s;
}

/* chat textarea error */
.chat textarea.input.error {
    box-shadow: inset 0 0 0 2px #ff4700;
}

/* fix flag in choice country model profile address information */

.profile-info .profile-settings .account-form .editable-inner.popup-inner .selectable-list .flag-wrap,
.profile-info .profile-settings .account-form .editable-inner.popup-inner .selectable-list .flag-wrap + span {
    display: inline-block;
    vertical-align: middle;
}

.profile-info .profile-settings .account-form .editable-inner.popup-inner .selectable-list .flag-wrap img,
.profile-info .profile-settings .account-form .editable-inner.popup-inner .selectable-list .flag-wrap svg {
    display: inline-block;
    width: 25px;
    height: auto;
    vertical-align: middle;
    margin-right: 5px;
}

.profile-info .profile-settings .account-form .title-position .flag-wrap {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px;
}

.profile-info .profile-settings .account-form .title-position .flag-wrap img,
.profile-info .profile-settings .account-form .title-position .flag-wrap svg {
    /*vertical-align: middle;*/
    width: 25px;
    height: auto;
    display: inline-block;
}


/* fix tabs in profile */
.profile-panel .profile-nav li a {
    display: block;
    padding: 0 25px;
    position: relative;
    color: #95989a;
}

.profile-panel .profile-nav li.active a {
    color: #ff9100;
}

.profile-panel .profile-nav li.disabled a {
    color: #55584a;
}

.profile-panel .profile-nav li:not('.disabled'):hover a {
    color: #ff9100;
}

.profile-panel .profile-nav li a:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 5px;
    background-color: #ff9100;
    z-index: 2;
    transition: .2s;
    -webkit-transform: scaleY(0);
    transform: scaleY(0);
}

.profile-panel .profile-nav li.active a:before,
.profile-panel .profile-nav li:not('.disabled'):hover a:before {
    -webkit-transform: scaleY(1);
    transform: scaleY(1);
}

/* enter private chat */

.enter-popup-body .model-image img {
    display: block;
    height: auto;
    width: 100%;
}

@media (max-width: 767px) {
    #video-chat-predefined-msg-btn {
        display: none !important;
    }
}