#discount {	font-family: Roboto, sans-serif !important;
}

#discount .discount_text, #feed .discount_text {
    padding-top: 8px;
    padding-bottom: 8px;
}

#discount .discount_head, #feed .discount_head {
    height: 240px;
    overflow: hidden;
}

/*@media (orientation: landscape) and (max-width: 600px) {*/
@media (min-aspect-ratio: 121/80) and (max-width: 600px) {
    #discount .discount_head {
        height: 125px;
    }
}

#discount .rent_details_state_etalon, #feed .rent_details_state_etalon {
    font-size: 12px;
    line-height: inherit;
}

#discount .rent_details_state_etalon>span, #feed .rent_details_state_etalon>span {
    display: block;
}

#discount .rent_details_state_etalon>span span, #feed .rent_details_state_etalon>span span {
    display: inline-block;
    font-size: 13px;
    margin-bottom: 4px;
    margin-top: 2px;
    color: #607D8B;
    vertical-align: middle;
}

#discount .rent_details_state_etalon>span span:nth-child(1), #feed .rent_details_state_etalon>span span:nth-child(1) {
    width: 20px;
    text-align: left;
    font-size: 14px;
    vertical-align: top;
}

#discount .rent_details_state_etalon>span span:nth-child(2), #feed .rent_details_state_etalon>span span:nth-child(2) {
    max-width: calc(100% - 30px);
    /*    vertical-align: top;*/
}

#discount .discount_main {	cursor: pointer;}

.discount_main:hover {
    background-color: #FFF0A5;
}

#discount .discount_main .header, #feed .discount_main .header {
    padding: 24px 16px 16px 16px;
    position: relative;
}

.discount_shadow {
    right: 23px !important;
    top: -1.7rem !important;
    background: rgba(0, 0, 0, 0.35) !important;
    z-index: 1 !important;
}

.discount_shadow:before, .discount_shadow:after {
    background: rgba(0, 0, 0, 0.35) !important;
}

#discount .discount_main .header>div, #feed .discount_main .header>div {
    width: 3.5rem;
    height: 3.5rem;
    text-align: center;
    line-height: 3rem;
    background: #FF5722;
    /*border-radius: 50%;*/
    color: #ffffff;
    font-weight: bold;
    position: absolute;
    right: 24px;
    top: -1.75rem;
    z-index: 2;
}

#discount .discount_main .header>div>span, #feed .discount_main .header>div>span {
    display: block;
    position: absolute;
    font-size: 1.6rem;
    z-index: 10;
    width: 100%;
}

#discount .discount_main .header>div:before, #discount .discount_main .header>div:after, #feed .discount_main .header>div:before, #feed .discount_main .header>div:after {
    width: 3.5rem;
    height: 3.5rem;
    position: absolute;
    background: #FF5722;
    top: 0;
    left: 0;
    content: '';
}

#discount .discount_main .header>div:before, #feed .discount_main .header>div:before {
    -webkit-transform: rotate(60deg);
    -moz-transform: rotate(60deg);
    -ms-transform: rotate(60deg);
    -o-transform: rotate(60deg);
    transform: rotate(60deg);
}

#discount .discount_main .header>div:after, #feed .discount_main .header>div:after {
    -webkit-transform: rotate(30deg);
    -moz-transform: rotate(30deg);
    -ms-transform: rotate(30deg);
    -o-transform: rotate(30deg);
    transform: rotate(30deg);
}

.small_percent {
    vertical-align: super;
    font-size: 0.9rem;
}

#discount .discount_main .header>p, #feed .discount_main .header>p {
    margin: 0;
    font-weight: bold;
    color: #546E7A;
    font-size: 21px;
    line-height: 30px;
    margin-right: 5rem;
    text-align: left;
}

#discount .discount_main .header a{    text-decoration: none;
    color: #607D8B;
}

#discount .discount_main .header>span, #feed .discount_main .header>span {
    font-size: 12px;
    font-weight: 300;
    color: #616161;
    margin-top: 4px;
    margin-right: 96px;
}


/* android switch */

.switch {
    display: table-cell;
    vertical-align: middle;
    padding: 10px;
    position: relative;
    float: right;
    width: 60px;
    display: block;
}

.switch input {
    visibility: hidden;
}

input.cmn-toggle-round + label {
    padding: 2px;
    width: 60px;
    height: 30px;
    /*background-color: #dddddd;*/
    border-radius: 30px;
    position: absolute;
    top: 0;
    left: 0;
}

input.cmn-toggle-round + label:before, input.cmn-toggle-round + label:after {
    display: block;
    position: absolute;
    top: 1px;
    left: 1px;
    bottom: 1px;
    content: "";
}

input.cmn-toggle-round + label:before {
    right: 1px;
    background-color: #BF360C;
    border-radius: 30px;
    width: 60px;
    height: 22px;
    top: 4px;
    transition: background 0.4s;
    box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.25);
}

input.cmn-toggle-round + label:after {
    width: 29px;
    background-color: #FBE9E7;
    border-radius: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    transition: margin 0.4s;
    top: 0px;
}

input.cmn-toggle-round:checked + label:after {
    background-color: #FFE082;
}

input.cmn-toggle-round:checked + label:before {
    background-color: #FFA000;
}

input.cmn-toggle-round:checked + label:after {
    margin-left: 31px;
}


/* android switch end */


/* android switch small */

.switch.small {
    float: left;
    width: 50px;
    padding: 4px;
}

.switch.small input.cmn-toggle-round + label {
    width: 50px;
    height: 25px;
    border-radius: 25px;
}

.switch.small input.cmn-toggle-round + label:before {
    border-radius: 25px;
    width: 50px;
    height: 17px;
    background-color: #BDBDBD;
    box-shadow: none;
}

.switch.small input.cmn-toggle-round + label:after {
    width: 24px;
    background-color: #EEEEEE;
}

.switch.small input.cmn-toggle-round:checked + label:after {
    margin-left: 26px;
}

.switch.small input.cmn-toggle-round:checked + label:after {
    background-color: #FF9800;
}

.switch.small input.cmn-toggle-round:checked + label:before {
    background-color: #FFCC80;
    box-shadow: none;
}


/* android small switch end */

@media (min-width: 516px) {
    #discount .ask_for_push {
        max-width: 500px;
        margin: 0 auto 8px;
    }
    #discount .rent_col1 .ask_for_push, #discount .rent_col2 .ask_for_push, #discount .rent_col3 .ask_for_push {
        margin: 0 8px 8px;
    }
}

.ask_for_push {
    padding: 24px 24px 24px 16px;
    background: #FF5722;
    font-weight: 300;
    color: #fff;
    font-size: 18px;
    /*    box-shadow: 0px -1px 8px rgba(0, 0, 0, 0.25);
    min-width: 288px;
    max-width: 568px;*/
}

.ask_for_push p {
    float: left;
    width: calc(100% - 72px);
    margin: 0;
    line-height: 20px;
    font-weight: 400/*bold*/
    ;
    color: #FBE9E7;
}

.ask_for_push p b {
    color: #fff;
    white-space: nowrap;
    /*    clear: both;
    display: block;*/
}

.ask_for_push p>span {
    white-space: nowrap;
}

.ask_for_push>span {
    font-size: 12px;
    display: block;
    float: left;
    width: calc(100% - 72px);
    margin-top: 4px;
    color: #FFCCBC;
}

.pinned-bottom {
    position: relative;
    overflow: hidden;
}

@media (min-width: 569px) {
    /*.ask_for_push {
        border-radius: 3px;
        margin: 0 auto;
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
    }
    #discount article {
        padding-bottom: 96px;
    }*/
}

#discount .discount_image {
    filter: saturate(1.25); /* slow scroll on iOS 10+*/
    -webkit-filter: saturate(1.25); /* slow scroll on iOS*/
}

#discount .discount_main .arrow, #feed .discount_main .arrow {
    color: #607D8B;
    display: inline-block;
    transform: rotateZ(180deg);
    -webkit-transform: rotateZ(180deg);
    margin-left: 4px;
    font-family: nedoma;
}

.discount_icon {
    font-family: nedoma;
    font-weight: 300;
    line-height: 3.4rem;
}

.discount_price-button {
    margin-left: 16px;
    display: inline-block;
    color: #4CAF50;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
}

#discount .discount_main .discount_icons_flex:last-child, #feed .discount_main .discount_icons_flex:last-child {
    margin: 8px 0;
    font-weight: 500;
    padding: 4px 0 0;
    height: 48px;
    line-height: 48px;
    text-align: left;
    border-top: 1px solid #E0E0E0;
}

.discount_final-price {
    padding: 8px 16px;
    font-weight: bold;
    color: #607d8b;
    font-size: 18px;
}

#discount article {
    background: rgb(225, 225, 225);
    background-image: none;
}

#discount article.no-items {
    background: url(../../images/mobile/tile.svg) #F5F5F5 0 0 repeat;
    background-size: 150px;
}

#discount article.history, #discount article.no-search-results {
    background-color: #fafafa;
}

.discounts-nothing-found {
    margin: 0;
    padding: 24px;
    text-align: center;
    color: #757575;
}

.discount_text {
    padding: 0 15px;
    font-weight: 300;
    padding-top: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    z-index: 1;
    display: block;
    position: relative;
    font-size: 16px;
}

.discount_image {
    height: 100%;
    background-position: center;
    position: relative;
    background-size: cover;
}

#discount .results-count {
    color: #424242;
}

#discount .results-count b {
    color: #616161;
}

#discount .rent_gradient {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0));
    height: 40%;
}

/*@media all and (orientation:landscape) {*/
@media all and (min-aspect-ratio: 121/80) {
    /*.discount_image {
        height: 180px;
    }*/
    #feed .discount_image {
        height: 169px;
    }
}

@media all and (min-width: 1024px) {
    .discount_image {
        height: 240px;
    }
}

#discount .end_text_arrow{
	font-size: 11px;
    margin-left: 5px;
    color: #A5D6A7;
    /*transform: rotateZ(180deg);
    -webkit-transform: rotateZ(180deg);*/
}