@import url('https://fonts.googleapis.com/css?family=Rubik:500&subset=cyrillic');

/* EXTRA CSS DISCOUNT */
.ribbon-discount {
    position: absolute;
    top: 10px;
    right: 0;
    padding: 1px 15px 1px 0;
    color: #fff;
    background: #E60000;
    font: 300 20px/30px 'Roboto', sans-serif!important;
}
.ribbon-discount:before {
    content: '';
    position: absolute;
    top: 0;
    left: -32px;
    width: 0;
    height: 0;
    border: 16px solid #E60000;
    border-left-color: transparent;
}

/* EXTRA CSS TIME*/
.timeend-discount {
    position: absolute;
    bottom: 10px;
    right: 0;
    color: #fff;
    background: rgba(0,0,0,0.4);
    border-bottom-left-radius: calc(.25rem - 1px);
    border-top-left-radius: calc(.25rem - 1px);
}

.coupon-ribbons {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Заголовок по длине блока */
.coupon-title {
    white-space: nowrap!important; /* Запрещаем перенос строк */
    overflow: hidden!important; /* Обрезаем все, что не помещается в область */
    text-overflow: ellipsis!important; /* Добавляем многоточие */
}

/* Убираем отступы у купонов */
.k-portlet {
    margin-bottom: 0px;
}

/* METRO COUNTDOWN */
.countdown {
	display: flex;
	flex-flow: row nowrap;
	position: relative;
	width: 100%;
	justify-content: center;
	font-size: 1.5rem
}

.countdown .part {
	position: relative;
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	padding: .5rem .5rem .5em;
	flex-shrink: 0;
	flex-grow: 0
}

.countdown .digit {
	display: block;
	position: relative;
	padding: 0;
	line-height: 1;
	overflow: hidden
}

.countdown .digit .digit-placeholder {
	visibility: hidden
}

.countdown .digit .digit-value {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	font: inherit
}

.countdown .part+.part::before {
	top: 4px;
	left: 0;
	content: "";
	display: block;
	position: absolute;
	height: calc(100% - 8px);
	width: 1px;
	background: radial-gradient(at left, #dfdfdf, transparent)
}

.countdown .part.d-none+.part::before {
	display: none
}

.countdown .part.no-divider::before {
	display: none
}

.countdown .part.days::after,
.countdown .part.hours::after,
.countdown .part.minutes::after,
.countdown .part.seconds::after {
	position: absolute;
	content: attr(data-label);
	text-align: center;
	bottom: 3px;
	left: 0;
	width: 100%;
	font-size: .3em;
	color: inherit;
	background-color: inherit;
	z-index: 1
}

.countdown .days {
	order: 1
}

.countdown .hours {
	order: 2
}

.countdown .minutes {
	order: 3
}

.countdown .seconds {
	order: 4;
	display: none;
}

/* ScrollBar */
::-webkit-scrollbar-button {
    background-image: url('');
    background-repeat: no-repeat;
    width: 3px;
    height: 0px;
}

::-webkit-scrollbar-track {
    background-color: #eff3f6;
    box-shadow: 0px 0px 0px #000 inset;
}

::-webkit-scrollbar-thumb {
    -webkit-border-radius: 3px;
    border-radius: 0px;
    background-color: #5b6be8;
    box-shadow: 0px 0px 0px #fff inset;
    background-position: center;
    background-repeat: no-repeat;
}

::-webkit-resizer {
    background-image: url('');
    background-repeat: no-repeat;
    width: 4px;
    height: 0px
}

::-webkit-scrollbar {
    width: 7px;
    display: none;
}

/* Высота верхней навигации 
.k-header {
    height: 60px!important;
}

.k-header--fixed .k-wrapper {
    padding-top: 60px;
}*/

/* Убираем обводку у Yandex Maps */
iframe {
    border-width: 0px;
}

.ymaps-2-1-65-balloon {
    box-shadow: inset 0 0 0 0px rgba(0, 0, 0, 0), 0 0px 0px 0px rgba(0, 0, 0, 0) !important;
}

/* Лого */
.logo {
    color: #fff!important;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: .03em;
    text-transform: uppercase;
    font-family: 'Rubik', sans-serif;
}

.dark-logo {
    color: #5867dd!important;
}

.logo-mobile {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: .03em;
    text-transform: uppercase;
    padding: 35px 0 35px 29px;
    line-height: 61px;
}

.logo-icon {
    font-size: 18px;
}

.logo-sup {
    font-size: 10px;
}

/* Social Buttons */

.btn-facebook {
    color: #ffffff !important;
    background-color: #3b5998;
}

.btn-twitter {
    color: #ffffff !important;
    background-color: #00aced;
}

.btn-linkedin {
    color: #ffffff !important;
    background-color: #007bb6;
}

.btn-dribbble {
    color: #ffffff !important;
    background-color: #ea4c89;
}

.btn-googleplus {
    color: #ffffff !important;
    background-color: #dd4b39;
}

.btn-instagram {
    color: #ffffff !important;
    background-color: #e4405f;
}

.btn-vk {
    color: #ffffff !important;
    background-color: #4c75a3;
}

.btn-whatsapp {
    color: #ffffff !important;
    background-color: #25D366;
}

.btn-telegram {
    color: #ffffff !important;
    background-color: #0088cc;
}

.btn-viber {
    color: #ffffff !important;
    background-color: #59267c;
}

.btn-pinterest {
    color: #ffffff !important;
    background-color: #cb2027;
}

.btn-dropbox {
    color: #ffffff !important;
    background-color: #007ee5;
}

.btn-flickr {
    color: #ffffff !important;
    background-color: #ff0084;
}

.btn-tumblr {
    color: #ffffff !important;
    background-color: #32506d;
}

.btn-skype {
    color: #ffffff !important;
    background-color: #00aff0;
}

.btn-youtube {
    color: #ffffff !important;
    background-color: #bb0000;
}

.btn-github {
    color: #ffffff !important;
    background-color: #171515;
}

/* Убираем отступы в меню под лого */
.k-aside-menu .k-menu__nav {
    padding: 0;
}

.k-aside .k-aside-menu {
    margin: 0;
}

/* Красивые табы в профиле */
.profile-tab li a.nav-link,
.customtab li a.nav-link {
    border: 0px;
    padding: 15px 8px;
    color: #6c757d;
}

.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link {
    color: #495057;
    background-color: unset;
}

.profile-tab li a.nav-link.active,
.customtab li a.nav-link.active {
    border-bottom: 2px solid #5b6be8;
    color: #5b6be8;
}

.profile-tab li a.nav-link:hover,
.customtab li a.nav-link:hover {
    color: #5b6be8;
}
.profile-tab {
    margin: -15px -15px 0px -15px;
    font-size: 15px;
}

/* QR код по центру модального окна */
#modalQR>img {
    margin: 0 auto;
}


/* Модификация кнопки закрытия мобильного меню */
.k-aside-close {
    width: 25px;
    height: 25px;
    top: 0px;
    border-radius: 0px;
}

.k-aside--on .k-aside-close {
    left: 275px;
}

.k-aside-close {
    background-color: red;
}

.k-aside-close > i {
    color: white;
    font-size: 25px;
}

/* Фикс скрытого текста в формах */
input:-webkit-autofill, input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active {
    -webkit-box-shadow: unset !important;
    -webkit-text-fill-color: unset !important;
}

/* Убираем синию подсветку снизу меню пользователя */
.k-header__topbar-user {
    background-color: unset!important;
}
/* Выпадающее меню шире */
.dropdown-menu {
    min-width: 16rem;
}

/* Убираем лишний отступ */
.k-header__topbar-username {
    padding: 0!important;
}

/* Toastr модификация  */
#toast-container > div {
    top: 64px;
    -webkit-box-shadow: unset;
    box-shadow: unset;
    opacity: 1;
}

#toast-container > .toast {
    background-image: none !important;
}

#toast-container > .toast:before {
    position: fixed;
    font-family: "Font Awesome 5 Free"!important;
    font-weight: 900;
    font-size: 24px;
    line-height: 18px;
    float: left;
    color: #FFF;
    padding-right: 0.5em;
    margin: 0.37em 0.5em auto -1.5em;
}        
#toast-container > .toast-warning:before {
    content: "\f071";
}
#toast-container > .toast-error:before {
    content: "\f00d";
}
#toast-container > .toast-info:before {
    content: "\f129";
}
#toast-container > .toast-success:before {
    content: "\f00c";
}
.toast-message a {
    color: #fff;
}
.toast-message a:hover {
    color: #5b6be8;
    background-color: #fff;
}
  
/* Кастомная загрузка файла */
.custom-file-label::after {
    content: 'Выбрать';
}

.input-group-text {
    z-index: 3;
}

/*Стиль картинки в модальном окне, при проверке купона */
.modalCheckImage{
    width: 100%;
    border-radius: 8pt;
}


/* Стиль страницы ошибки */
.k-error404-v1 {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
}
@media (max-width: 768px) {
	.k-error404-v1 {
		padding: 2rem;
		-webkit-box-align: stretch;
		-ms-flex-align: stretch;
		align-items: stretch;
	}
}
.k-error404-v1 .k-error404-v1__content {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
}
@media (max-width: 768px) {
	.k-error404-v1 .k-error404-v1__content {
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
		-webkit-box-align: center;
		-ms-flex-align: center;
		align-items: center;
	}
}
.k-error404-v1 .k-error404-v1__content .k-error404-v1__title {
	font-size: 12rem;
	color: #fb2f73;
	font-weight: 700;
}
.k-error404-v1 .k-error404-v1__content .k-error404-v1__desc {
	font-size: 1.5rem;
}
.k-error404-v1 .k-error404-v1__image {
	width: 50%;
	position: relative;
}
@media (max-width: 768px) {
	.k-error404-v1 .k-error404-v1__image {
		width: 100%;
		-ms-flex-preferred-size: 100%;
		flex-basis: 100%;
	}
}
.k-error404-v1 .k-error404-v1__image .k-error404-v1__image-content {
	width: 100%;
}

/* Адаптивность для купонов на главной */
@media (max-width: 620px) {
    .card-columns {
        -webkit-column-count: 1;
        column-count: 1;
        -webkit-column-gap: 1.25rem;
        column-gap: 1.25rem;
        orphans: 1;
        widows: 1;
    }
}
@media (min-width: 620px) and (max-width: 768px) {
    .card-columns {
        -webkit-column-count: 2;
        column-count: 2;
        -webkit-column-gap: 1.25rem;
        column-gap: 1.25rem;
        orphans: 1;
        widows: 1;
    }
}
@media (min-width: 768px) and (max-width: 992px) {
    .card-columns {
        -webkit-column-count: 2;
        column-count: 2;
        -webkit-column-gap: 1.25rem;
        column-gap: 1.25rem;
        orphans: 1;
        widows: 1;
    }
}
@media (min-width: 992px) and (max-width: 1200px) {
    .card-columns {
        -webkit-column-count: 2;
        column-count: 2;
        -webkit-column-gap: 1.25rem;
        column-gap: 1.25rem;
        orphans: 1;
        widows: 1;
    }
}
@media (min-width: 1200px) {
    .card-columns {
        -webkit-column-count: 3;
        column-count: 3;
        -webkit-column-gap: 1.25rem;
        column-gap: 1.25rem;
        orphans: 1;
        widows: 1;
    }
}

/* Профиль пользователя */
/* $k-media-breakpoints: ( // Small screen / phone sm: 576px, // Medium screen / tablet md: 768px, // Large screen / desktop lg: 1024px, // Extra large screen / wide desktop xl: 1200px, // Extra large screen / wide desktop xxl: 1600px )!default;
 */
 .k-profile .k-profile__content {
    padding: 2rem;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #ebedf2;
}
@media (max-width: 1024px) {
    .k-profile .k-profile__content {
        padding: 1.5rem;
   }
}
.k-profile .k-profile__content > .row > div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: stretch;
    -ms-flex-align: stretch;
    align-items: stretch;
}
.k-profile .k-profile__content .k-profile__main {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-right: 1px solid #ebedf2;
}
@media (max-width: 1024px) {
    .k-profile .k-profile__content .k-profile__main {
        border-right: 0;
        border-bottom: 1px solid #ebedf2;
        padding-bottom: 1rem;
   }
}
.k-profile .k-profile__content .k-profile__main .k-profile__main-pic {
    position: relative;
    max-width: 130px;
    max-height: 130px;
    margin-right: 2rem;
}
@media (max-width: 1024px) {
    .k-profile .k-profile__content .k-profile__main .k-profile__main-pic {
        max-width: 80px;
        max-height: 80px;
        margin-right: 1rem;
   }
}
.k-profile .k-profile__content .k-profile__main .k-profile__main-pic input {
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
}
.k-profile .k-profile__content .k-profile__main .k-profile__main-pic img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(103, 92, 139, 0.05);
    box-shadow: 0px 0px 20px 0px rgba(103, 92, 139, 0.05);
}
.k-profile .k-profile__content .k-profile__main .k-profile__main-pic .k-profile__main-pic-upload {
    cursor: pointer;
    background-color: #5578eb;
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    position: absolute;
    bottom: 0.25rem;
    right: 0.25rem;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(103, 92, 139, 0.05);
    box-shadow: 0px 0px 20px 0px rgba(103, 92, 139, 0.05);
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.k-profile .k-profile__content .k-profile__main .k-profile__main-pic .k-profile__main-pic-upload i {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    color: #ffffff;
    font-size: 1.25rem;
}
.k-profile .k-profile__content .k-profile__main .k-profile__main-pic .k-profile__main-pic-upload:hover {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    background-color: #2754e6;
}
.k-profile .k-profile__content .k-profile__main .k-profile__main-pic .k-profile__main-pic-upload:hover i {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    color: #e6e6e6;
}
.k-profile .k-profile__content .k-profile__main .k-profile__main-info {
    margin: 1.5rem 0;
}
.k-profile .k-profile__content .k-profile__main .k-profile__main-info .k-profile__main-info-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #464457;
}
.k-profile .k-profile__content .k-profile__main .k-profile__main-info .k-profile__main-info-position {
    font-weight: 500;
    color: #b2afc6;
}
.k-profile .k-profile__content .k-profile__contact {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    border-right: 1px solid #ebedf2;
}
@media (max-width: 1024px) {
    .k-profile .k-profile__content .k-profile__contact {
        border-right: 0;
        border-bottom: 1px solid #ebedf2;
        padding-top: 1rem;
        padding-bottom: 1rem;
   }
}
.k-profile .k-profile__content .k-profile__contact .k-profile__contact-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 1rem;
}
@media (max-width: 1024px) {
    .k-profile .k-profile__content .k-profile__contact .k-profile__contact-item {
        margin-bottom: 0.75rem;
   }
}
.k-profile .k-profile__content .k-profile__contact .k-profile__contact-item:last-child {
    margin-bottom: 0;
}
.k-profile .k-profile__content .k-profile__contact .k-profile__contact-item .k-profile__contact-item-icon i {
    font-size: 1.5rem;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.k-profile .k-profile__content .k-profile__contact .k-profile__contact-item .k-profile__contact-item-icon.k-profile__contact-item-icon-whatsup {
    color: #45cb9a;
}
.k-profile .k-profile__content .k-profile__contact .k-profile__contact-item .k-profile__contact-item-icon.k-profile__contact-item-icon-twitter {
    color: #18c1f8;
}
.k-profile .k-profile__content .k-profile__contact .k-profile__contact-item .k-profile__contact-item-text {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    font-weight: 500;
    padding-left: 1.5rem;
    padding-bottom: 0.15rem;
    color: #b2afc6;
}
.k-profile .k-profile__content .k-profile__contact .k-profile__contact-item:hover {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.k-profile .k-profile__content .k-profile__contact .k-profile__contact-item:hover .k-profile__contact-item-text {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    color: #536be2;
}
.k-profile .k-profile__content .k-profile__stats {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
@media (max-width: 1399px) {
    .k-profile .k-profile__content .k-profile__stats {
        padding: 1.5rem 0;
   }
}
@media (max-width: 1024px) {
    .k-profile .k-profile__content .k-profile__stats {
        padding: 1rem 0 0 0;
   }
}
@media (min-width: 1025px) and (max-width: 1399px) {
    .k-profile .k-profile__content .k-profile__stats {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
   }
}
@media (max-width: 576px) {
    .k-profile .k-profile__content .k-profile__stats {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
   }
}
.k-profile .k-profile__content .k-profile__stats .k-profile__stats-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-right: 1rem;
}
@media (min-width: 1025px) and (max-width: 1399px) {
    .k-profile .k-profile__content .k-profile__stats .k-profile__stats-item {
        padding-right: 0;
   }
}
.k-profile .k-profile__content .k-profile__stats .k-profile__stats-item:last-child {
    padding-right: 0;
}
@media (max-width: 576px) {
    .k-profile .k-profile__content .k-profile__stats .k-profile__stats-item:last-child {
        padding-right: 1rem;
   }
}
.k-profile .k-profile__content .k-profile__stats .k-profile__stats-item .k-profile__stats-item-label {
    color: #5d5b6f;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}
.k-profile .k-profile__content .k-profile__stats .k-profile__stats-item .k-profile__stats-item-chart {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}
.k-profile .k-profile__content .k-profile__stats .k-profile__stats-item .k-profile__stats-item-chart span {
    color: #b2afc6;
    font-size: 1rem;
    font-weight: 400;
}
.k-profile .k-profile__content .k-profile__stats .k-profile__stats-item .k-profile__stats-item-chart canvas {
    margin-left: 1rem;
}
@media (max-width: 576px) {
    .k-profile .k-profile__content .k-profile__stats .k-profile__stats-item {
        -ms-flex-preferred-size: auto;
        flex-basis: auto;
   }
}
.k-profile .k-profile__nav {
    padding: 0 2rem;
}
.k-profile .k-profile__nav .nav.nav-tabs.nav-tabs-line {
    border-bottom: 1px solid transparent !important;
    margin-bottom: 0;
}
.k-profile .k-profile__nav .nav.nav-tabs.nav-tabs-line .nav-item {
    margin-right: 2rem;
}
.k-profile .k-profile__nav .nav.nav-tabs.nav-tabs-line .nav-item:last-child {
    margin-right: 0;
}
.k-profile .k-profile__nav .nav.nav-tabs.nav-tabs-line .nav-item a.nav-link {
    padding: 10px;
    font-weight: 500;
    font-size: 1rem;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.k-profile .k-profile__nav .nav.nav-tabs.nav-tabs-line .nav-item a.nav-link.active, .k-profile .k-profile__nav .nav.nav-tabs.nav-tabs-line .nav-item a.nav-link:hover {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    color: #536be2;
    border-bottom-width: 2px;
}
@media (max-width: 1024px) {
    .k-profile .k-profile__nav {
        padding: 0 1rem;
   }
    .k-profile .k-profile__nav .nav.nav-tabs.nav-tabs-line .nav-item {
        margin-right: 1rem;
   }
    .k-profile .k-profile__nav .nav.nav-tabs.nav-tabs-line .nav-item:last-child {
        margin-right: 0;
   }
    .k-profile .k-profile__nav .nav.nav-tabs.nav-tabs-line .nav-item a.nav-link {
        padding: 1.5rem 0;
        font-size: 1rem;
   }
}

/* Отступы дополнительные */
.k-margin-2 {
    margin: 2px !important;
}


/*фиксированный размер для кнопки ПОДНЯТЬ КУПОН
.featuredButtonSpan{
    width: 11rem;
}

.featuredButton{
    width: 100%;
}
*/


.grid-item{
    margin: 0 4px 20px 4px;
}

@media (max-width: 1200px) {
    .grid-item{
        margin: 0 2px 20px 2px;
    }
    
  }



/* Add to Home Screen */
.ath-viewport * {
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
}

.ath-viewport {
	position: relative;
	z-index: 2147483641;
	pointer-events: none;

	-webkit-tap-highlight-color: rgba(0,0,0,0);
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-text-size-adjust: none;
	-moz-text-size-adjust: none;
	-ms-text-size-adjust: none;
	-o-text-size-adjust: none;
	text-size-adjust: none;
}

.ath-modal {
	pointer-events: auto !important;
	background: rgba(0,0,0,0.6);
}

.ath-mandatory {
	background: #000;
}

.ath-container {
	pointer-events: auto !important;
	position: absolute;
	z-index: 2147483641;
	padding: 0.7em 0.6em;
	width: 18em;
	background: #fff;
	background-size: 100% auto;
	box-shadow: 0 0.0em 0 #d1d1d1;
	font-family: sans-serif;
	font-size: 15px;
	line-height: 1.5em;
    text-align: center;
    border-radius: 3px;
}

.ath-container small {
	font-size: 0.8em;
	line-height: 1.3em;
	display: block;
	margin-top: 0.5em;
}

.ath-ios.ath-phone {
	bottom: 1.8em;
	left: 50%;
	margin-left: -9em;
}

.ath-ios6.ath-tablet {
	left: 5em;
	top: 1.8em;
}

.ath-ios7.ath-tablet {
	left: 0.7em;
	top: 1.8em;
}

.ath-ios8.ath-tablet,
.ath-ios9.ath-tablet,
.ath-ios10.ath-tablet,
.ath-ios11.ath-tablet,
.ath-ios12.ath-tablet{
	right: 0.4em;
	top: 1.8em;
}

.ath-android {
	bottom: 1.8em;
	left: 50%;
	margin-left: -9em;
}

/* close icon */
.ath-container:before {
	content: "\f191";
	position: relative;
	display: block;
	float: right;
	margin: -0.43em -0.39em 0 0.5em;
	background-color: rgba(255, 0, 0, 0.8);
	background-size: 50%;
	background-repeat: no-repeat;
	background-position: 50%;
	text-align: center;
	overflow: hidden;
	color: #fff;
    z-index: 2147483642;
    border-top-right-radius: 3px;
    font: normal normal normal 24px/1 "LineAwesome";
}

.ath-container.ath-icon:before {
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	float: none;
}

.ath-mandatory .ath-container:before {
	display: none;
}

.ath-container.ath-android:before {
	/* float: left; */
	margin: -11px -9px;
}

.ath-container.ath-android.ath-icon:before {
	position: absolute;
    right: 0;
    left: auto;
	margin: 0;
	float: none;
}


/* applied only if the application icon is shown
.ath-container.ath-icon {

} */

.ath-action-icon {
	display: inline-block;
	vertical-align: middle;
	background-position: 50%;
	background-repeat: no-repeat;
	text-indent: -9999em;
	overflow: hidden;
}

.ath-ios7 .ath-action-icon,
.ath-ios8 .ath-action-icon,
.ath-ios9 .ath-action-icon,
.ath-ios10 .ath-action-icon,
.ath-ios11 .ath-action-icon,
.ath-ios12 .ath-action-icon{
	width: 1.6em;
	height: 1.6em;
	background-image:url('../../../pwa/action-icon-ios7.png');
	margin-top: -0.3em;
	background-size: auto 100%;
}

.ath-ios6 .ath-action-icon {
	width: 1.8em;
	height: 1.8em;
	background-image:url('../../../pwa/action-icon-ios6.png');
	margin-bottom: 0.4em;
	background-size: 100% auto;
}

.ath-android .ath-action-icon {
	width: 1.4em;
	height: 1.5em;
	background-image:url('/../../../pwa/action-icon-android.png');
	background-size: 100% auto;
}

.ath-container p {
	margin: 0;
	padding: 0;
	position: relative;
	z-index: 2147483642;
	text-shadow: 0 0.1em 0 #fff;
	font-size: 1.1em;
}

.ath-ios.ath-phone:after {
	content: '';
	background: #fff;
	position: absolute;
	width: 2em;
	height: 2em;
	bottom: -0.9em;
	left: 50%;
	margin-left: -1em;
	-webkit-transform: scaleX(0.9) rotate(45deg);
	transform: scaleX(0.9) rotate(45deg);
}

.ath-ios.ath-tablet:after {
	content: '';
	background: #eee;
	position: absolute;
	width: 2em;
	height: 2em;
	top: -0.9em;
	left: 50%;
	margin-left: -1em;
	-webkit-transform: scaleX(0.9) rotate(45deg);
	transform: scaleX(0.9) rotate(45deg);
	z-index: 2147483641;
}

.ath-application-icon {
	position: relative;
	padding: 0;
	border: 0;
	margin: 0 auto 0.2em auto;
	height: 6em;
	width: 6em;
	z-index: 2147483642;
}

.ath-container.ath-ios .ath-application-icon {
	border-radius: 1em;
	box-shadow: 0 0.2em 0.4em rgba(0,0,0,0.3),
		inset 0 0.07em 0 rgba(255,255,255,0.5);
	margin: 0 auto 0.4em auto;
}

@media only screen and (orientation: landscape) {
	.ath-container.ath-phone {
		width: 24em;
	}

	.ath-android.ath-phone {
		margin-left: -12em;
	}

	.ath-ios.ath-phone {
		margin-left: -12em;
	}

	.ath-ios6:after {
		left: 39%;
	}

	.ath-ios8.ath-phone {
		left: auto;
		bottom: auto;
		right: 0.4em;
		top: 1.8em;
	}

	.ath-ios8.ath-phone:after {
		bottom: auto;
		top: -0.9em;
		left: 68%;
		z-index: 2147483641;
		box-shadow: none;
	}
}

/*для купонов на главной страницы*/
.zeroOpacity {
    opacity: 0;
    transition: opacity 0.17s ease-in;
}

/*более медленный фейд ин для купонов на Firefox чтобы не было скачков*/
@-moz-document url-prefix() {
    .zeroOpacity{
        opacity: 0;
        transition: opacity 0.17s ease-in;
        transition-delay: 1s;
    }
}

/* Фикс уведомления отзыва */
.k-header__topbar .k-header__topbar-item .k-header__topbar-wrapper .k-badge.k-badge--notify {
    left: unset;
    margin-left: unset;
}

/* Дополнительные цвета лейблов для рейтинга */
.btn.btn-label-5 {
    background-color: rgba(67,201,0, 0.1);
    color: #43C900;
    cursor: text !important;
}
.btn.btn-label-4 {
    background-color: rgba(185,206,0, 0.1);
    color: #B9CE00;
    cursor: text !important;
}
.btn.btn-label-3 {
    background-color: rgba(249,208,0, 0.1);
    color: #F9D000;
    cursor: text !important;
}
.btn.btn-label-2 {
    background-color: rgba(255,144,0, 0.1);
    color: #FF9000;
    cursor: text !important;
}
.btn.btn-label-1 {
    background-color: rgba(255,42,0, 0.1);
    color: #FF2A00;
    cursor: text !important;
}

/* Стили отзывов */
.review-pic {
    height: 3.5em;
    width: 3.5em;
    margin: 0 auto;
    display: block;
}
.review-text {
    text-align: center;
}

.review-author {
    padding-top: 5px;
    text-align: center;
}

/* Вкладки на странице купона */
.tab-body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem 1.25rem 0 1.25rem;
}

/* Длина кнопки Мне нравится */
.ajaxFav, .ajaxUnfav {
    width: 140px;
}

/* Вкладки на мобильном */
.mobile-tabs {
    font-size: 0.95rem!important;
}

/* Pull to Refresh */
.ptr--box {
    padding: 3px!important;
}

/* Фикс dropdown-menu */
.dropdown-menu.show {
    z-index: 999;
}
img {
    max-width: 100%; /* This rule is very important, please do not ignore this! */
  }

  .cropper-crop-box {
    background-color: white;
  }

  .cropper {
    background-color: white;
  }
  
  #canvas {
    height: 100px;
    width: 100px;
    background-color: #ffffff;
    cursor: default;
    border: 1px solid black;
  }

/* Прокрутка в списке городов */
.k-nav-scrollable {
    height: 300px;
    overflow-y: auto;
}