@import url(https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900&subset=latin,cyrillic);

html {
    font-size: 100%;
}

html * {
    font-weight: 300;
}

body {
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    font-size: 100%;
    line-height: 1.5em;
    letter-spacing: 0.03em;
    font-weight: 300;
    background-color: #fafafa;
}

b, strong { font-weight: 700; }

/**
 * Links
 */

a:link {
    /*color: #33ccff;*/
    color: #26b;
    text-decoration: none;
}
a:visited {
    /*color: #33ccff;*/
    color: #26b;
    text-decoration: none;
}
a:hover,
a:focus {
    color: #f15a24;
    text-decoration: none;
}
a:active {
    color: #f15a24;
    text-decoration: none;
}

.destr { color: Red !important; }

label {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.75rem;
    /*margin-top: 1em;*/
    margin-bottom: 0.35rem;
}

.radio label, .checkbox label {
    text-transform: none;
    font-weight: 300;
    font-size: 1rem;
}

p {
    margin-bottom: 0.75rem;
}

.p-list p {
    margin-bottom: 0.1rem;
}

.input-suffix {
    position: absolute;
    font-size: 1.2em;
    top: 2.2rem;
    right: 1.2em;
    z-index: 2;
}

/* animate */

a {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

/*main*/

header { font-size: 1.4em; text-transform: uppercase; margin: 1em 0; }

h1 + .row,
h1 + .panel {
    margin-top: 2em;
}

.glyphicon {
    font-size: inherit;
    line-height: inherit;
}

.panel-body { background-color: #fbfbfb; }
.panel-body:empty {
    display:none;
}

.col-free {
    float: left;
    margin: 0 15px 15px 0;
}

/* NAV */

.navbar {
    padding-top: 1em;
    margin-bottom: 0;
}

.navbar-brand {
    font-size: 2em;
    letter-spacing: -1px;
    margin-top: -.2em;
    padding-right: 1em;
}

.navbar-toggle .icon-bar {
    background-color: #888;
}

.navbar-brand b { font-weight: 900; }
.navbar-brand i { font-style: normal; font-weight: 100; }

.navbar-nav>li>a:hover,
.navbar-nav>li>a:focus,
.nav .open>a,
.nav .open>a:hover,
.nav .open>a:focus,
.nav>li>a,
.nav>li>a:hover,
.nav>li>a:focus {
    background-color: transparent;
    border-color: transparent;
}

.nav-tabs {
    border: none;
    margin-bottom: 1em;
    background-color: #fff;
}

.nav-tabs>li.active>a,
.nav-tabs>li.active>a:hover,
.nav-tabs>li.active>a:focus {
    color: #000;
    cursor: default;
    background-color: #fafafa;
    border-color: transparent;
}

.nav-tabs>li.active {
    border: 1px solid #000;
    border-bottom: 2px solid #fafafa;
}

.nav-tabs>li:first-child>a {
    padding-left: 0;
}

.nav-tabs>li:last-child>a {
    padding-right: 0;
}

.nav-tabs>li {
    border-bottom: 2px solid #000;
}

.nav-stacked>li>a {
    padding: 0;
}

.nav.offers {
    padding: 0 0 0 3em;
    float: right;
}

.nav.offers li {
    text-align: right;
    line-height: 1.2;
}

.nav>li>span {
  position: relative;
  display: block;
  padding: 10px 15px;
  color: #adadad;
}

/*tables*/

.table th.rt,
.table td.rt {
    text-align: right;
}

.table th.cntr,
.table td.cntr {
    text-align: center;
}

.nowrap-td {
    white-space: nowrap;
}

.table-clean {
    margin-left: -0.75rem;
}

.table-clean th,
.table-clean td {
    border: none !important;
    padding: 0.75rem !important;
}

.table-clean th {
    font-size: 0.85em;
}

.table-narrow {
    margin-left: -0.35rem;
    width: 100%;
}

.table-narrow th,
.table-narrow td {
    border: none !important;
    padding: 0.75rem 0.35rem !important;
}

.table-narrow th {
    font-size: 0.85em;
    vertical-align: top !important;
}

.table-clean tbody tr:hover,
.table-narrow tbody tr:hover {
    background-color: #fff;
    transition: all 0.3s;
}

.table .type {
    font-size: 0.85em;
    margin: 0;
}

.table .date {
    font-weight: 400 !important;
}

.date {
    font-weight: 400;
    font-size: 0.85em;
}

.date.create,
.date.send {
    margin: 0;
    margin-left: 1.2em;
}
.date.send { font-weight: 600; }
.date.send:before {
    content: "\2714";
    position: absolute;
    margin-left: -1.2em;
}

.sent,
.recd,
.open,
.buy {
    text-align: right;
    max-width: 50%;
    white-space: nowrap;
}
.open { font-weight: 900; }
.buy { font-weight: 900; color: #009245; }

.dropdown.open {
    max-width: 100%;
}

.target {
    margin-bottom: 0;
}
.target:before {
    content: "\21e2  ";
}

.user {
    font-size: 0.75rem;
    margin-top: 1em;
}

.offer-image {
    float: left;
    width: 200px;
    height: auto;
    margin: 2em 2em 1em 0;
}

form .offer-image {
    width: 100%;
    height: auto;
    margin: 0;
}

.type {
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 2em;
    display: inline-block;
    padding: 0.2em 0.6em;
    border: 1px solid #000;
}

.coupon-expired {
    display: inline-block;
    margin-left: 1em;
}

.offer-stat {
    width: 28em;
    height: 3em;
    margin-bottom: -1.5;
}

.offer-stat-correct {
    height: 12em !important;
}

.offer-dates {
    float: left;
    line-height: 1.5;
}

.offer-rate {
    font-size: 3em;
    line-height: 1;
    font-weight: 400;
}

.offer-rate:after {
    content: '%';
    font-weight: 100;
}

.offer-stat .table-clean {
    width: auto;
    float: right;
    margin: 0;
}

.offer-stat .table-clean * {
    padding: 0 0 0 1em !important;
}

.select2-container {
    width: 100%;
}


#map {
    width: 100%;
    height: 100%;
    min-height: 300px;
    padding: 0;
    margin: 0;
}

.alfa.badge {
    background-color: Red;
    text-decoration: underline;
    font-size: 1em;
    line-height: 1;
    margin-right: 1em;
}

.offer_expired {
    background-color: #F0F0F0;
    transition: all 0.5s;
}

.updateDataBtn {
    margin-top: 10px;
}

/****************************************************/
 /********** NEW OFFERS */

 /*icons*/

.what-partner {
    display: inline-block;
    width: 90px;
    height: 60px;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: url(../../../im/backend/loyaltyProgram/admin_ico_partner.png);
}

.ico-pb-app { background-image: url(../../../im/backend/loyaltyProgram/admin_ico_pb_app.png); }
.ico-ac-app { background-image: url(../../../im/backend/loyaltyProgram/admin_ico_ac_app.png); }
.ico-qwb-app { background-image: url(../../../im/backend/loyaltyProgram/admin_ico_qwb_app.png); }

.ico-pinbonus { background-image: url(../../../im/backend/loyaltyProgram/admin_ico_pinbonus_logo.png); }
.ico-alfabank { background-image: url(../../../im/backend/loyaltyProgram/admin_ico_alfabank_logo.png); }
.ico-qiwi { background-image: url(../../../im/backend/loyaltyProgram/admin_ico_qiwi_logo.png); }

.app_target_radios .form-group *,
.partner_radios .form-group * {
    vertical-align: top;
}

.app_target_radios input,
.partner_radios input {
    display: none;
}

.app_target_radios input + label {
    height: 60px;
    width: 60px;
    display: inline-block;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #fff;
    cursor: pointer;
    margin-right: 15px;
    opacity: 0.2;
}

.partner_radios input + label {
    height: 60px;
    width: 60px;
    display: inline-block;
    border-radius: 50%;
    position: relative;
    transition: all 0.3s; 
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: #fff;
    cursor: pointer;
    margin-right: 15px;
    opacity: 0.2;
}

.app_target_radios input + label:hover,
.partner_radios input + label:hover {
    opacity: 1;
}

.app_target_radios input:checked + label,
.partner_radios input:checked + label {
    opacity: 1;
    box-shadow: 0 0 15px #444;
} 

.pinbonus_app_ico { background-image: url(../../../im/backend/loyaltyProgram/admin_ico_pb_app.png); }
.anycard_app_ico { background-image: url(../../../im/backend/loyaltyProgram/admin_ico_ac_app.png); }
.qiwibonus_app_ico { background-image: url(../../../im/backend/loyaltyProgram/admin_ico_qwb_app.png); }

.pinbonus_partner_ico { background-image: url(../../../im/backend/loyaltyProgram/admin_ico_pinbonus_logo.png); }
.alfabank_partner_ico { background-image: url(../../../im/backend/loyaltyProgram/admin_ico_alfabank_logo.png); }
.qiwi_partner_ico { background-image: url(../../../im/backend/loyaltyProgram/admin_ico_qiwi_logo.png); }

.small-app-ico {
    height: 24px;
    width: 24px;
    margin: 0 !important;
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #fff;
}

.medium-app-ico {
    height: 50px;
    width: 50px;
    margin: 0 !important;
    display: block;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #fff;
}

/*admin-filter*/

.admin-filter {}

.admin-filter label {
    text-transform: none;
    font-size: 0.85rem;
    font-weight: 400;
    cursor: pointer;
}

.admin-filter .divider { 
    display: inline-block;
    padding: 0 10px;
    font-weight: 400;
}

.admin-filter input[type="checkbox"] {
    /*display: none;*/
    position: relative;
    z-index: 2;
    left: 8px;
    top: 4px;
}

.admin-filter input[type="checkbox"] + label {
    height: 34px;
    min-width: 60px;
    display: inline-block;
    position: relative;
    margin-bottom: 0;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    padding: 6px 8px;
    padding-left: 24px;
    margin-left: -16px;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transition: all 0.3s; 
    background-position: right center;
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #fff;
    cursor: pointer;
    opacity: 0.2;
    border: 1px solid #fff;
}

.admin-filter input[type="checkbox"] + label:hover {
    opacity: 1;
    border: 1px solid #333;
}

.admin-filter input[type="checkbox"]:checked + label {
    opacity: 1;
    border: 1px solid #ccc;
}

.offers_filter_published_label { color: #33cc33; }
.offers_filter_pending_label { color: #cc33cc; }
.offers_filter_rejected_label { color: #ff0000; }
.offers_filter_expired_label { color: #808080; }
.expired_offer, .trashed_offer { background-color: #eaecec; }
.with4PxMarginRight { margin-right: 4px; }

.offer-info-text {
    max-width: 400px;
    font-size: 0.75rem;
    white-space: nowrap;
    display: block;
    vertical-align: middle;
    overflow: hidden;
    text-overflow: ellipsis;
}

/*images for offers - ipload */

.image-placeholder-label {
    position: relative;
    -moz-box-sizing: padding-box; 
    box-sizing: padding-box;
    display: block;
    /*padding: 20px 0 20px 20px;*/
    background-color: #fff;
    cursor: pointer;
    box-shadow: 0 0 8px #808080;
    background-size: 100%;
    background-position: top left;
    background-repeat: no-repeat;
    padding: 0;
}

.image-placeholder-label span,
.image-placeholder-label input {
    padding: 4px 8px;
    background-color: rgba(255,255,255,0.8);
}

.image-placeholder-label span {
    font-weight: 600;
}

.site-image-wrapper {
    width: 340px;
    height: 340px;
}
.app-image-wrapper {
    width: 344px;
    height: 172px;
}

.app-big-image-wrapper {
    width: 340px;
    height: 600px;
}

.app-banner-image-wrapper {
    width: 340px;
    height: 100px;
}

.brand-logo-wrapper {
    width: 200px;
    height: 100px;
}

.brand-logo-wrapper * {
    white-space: nowrap;
    margin-left: 200px;
}

.category-logo-wrapper {
    width: 100px;
    height: 100px;
    background-color: #ccc;
}

.category-logo-wrapper * {
    white-space: nowrap;
    margin-left: 100px;
}


/*brands & category view*/

.brands img {
    width: 50px;
    height: auto;
    margin-right: 20px;
}

.category {
    display: block;
    width: 110px;
    height: 110px;
    position: relative;
}

.category-logo {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 40%;
    height: 40%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.category-name {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-size: 18px;
    line-height: 1;
    color: #fff;
}

.category-list .category {
    float: left;
    margin: 0 10px 10px 0;
}

.category-list .category a {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255,255,255,0);
}

.category-list .category a:hover {
    background-color: rgba(255,255,255,0.5);
}

/*offer previews*/

.offer_preview {
    background-color: #fff;
    box-shadow: 0 0 8px #808080;
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.image-wrapper {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #ccc;
    position: relative;
}

.brand_logo-wrapper {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: rgba(255,255,255,0.5);
    position: absolute;
}

.offer_preview-site {
    width: 238px;
    height: auto;
    text-align: center;
}

.offer_preview-site img {
    width: 238px;
    height: auto;
}

.offer_preview-site .card-expires-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 238px;
    height: 238px;
    background-color: rgba(0,0,0,0);
    -webkit-transition: all .7s;
    -moz-transition: all .7s;
    -o-transition: all .7s;
    transition: all .7s;
}

.offer_preview-site .card-expires {
  position: absolute;
  width: 100%;
  top: 6rem;
  text-align: center;
  color: rgba(255,255,255,0);
  font-size: 0.75em;
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
}


.offer_preview:hover .card-expires-wrapper { background-color: rgba(0,0,0,0.66); }
.offer_preview:hover .card-expires { color: rgba(255,255,255,1); }

.offer_preview .card-expires .time {
  font-size: 1.5em;
  font-weight: normal;
}

.offer_preview .merchant {
    width: 160px;
    height: 80px;
    -moz-border-radius-topleft: 160px;
    -moz-border-radius-topright: 160px;
    -moz-border-radius-bottomright: 0;
    -moz-border-radius-bottomleft: 0;
    -webkit-border-radius: 100%;
    border-radius: 100%;
    position: absolute;
    left: 50%;
    margin-left: -80px;
    margin-top: -26px;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    -moz-background-size: 70%;
    background-size: 70%;
}

.offer_preview-site .text-wrapper {
    position: relative;
    font-size: 1em;
    padding: 3rem .85em 0 1em;
}

.offer_preview-site .offer-text1 {
    margin: 0 0 .4rem;
    font-size: 1.25em;
    color: #000;
    line-height: 1.15;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.offer_preview-site .offer-text2 {
    margin: 0 0 .4rem;
    height: 2rem;
    font-size: .85rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.offer_preview-site .info-wrapper {
    background: url(../../../im/backend/loyaltyProgram/offer_preview-site-footer.png) center no-repeat;
    height: 80px;
    width: 100%;
}

/*app*/

.offer_preview-app_list {
    width: 320px;
    padding: 84px 8px 16px 8px;
    background-color: #ff9e16;
}

.offer_preview-app_list .app_header {
    width: 100%;
    height: 77px;
    position: absolute;
    left: 0;
    top: 0;
    padding: 40px 0 0 72px;
    border-bottom: 2px solid rgba(0,0,0,0.1);
    background: #ff9e16 url(../../../im/backend/loyaltyProgram/app_header.png) no-repeat;
    color: #fff;
    font-weight: 400;
    font-size: 19px;
}

.offer_preview-app_list .card-wrapper {
    width: 100%;
    border: 1px solid #fff;
    background-color: #fff;
    border-radius: 1px;
}

.offer_preview-app_list .card-wrapper img {
    width: 100%;
    height: auto;
}

.offer_preview-app_list .merchant {
    width: 160px;
    height: 80px;
    -moz-border-radius-topleft: 160px;
    -moz-border-radius-topright: 160px;
    -moz-border-radius-bottomright: 0;
    -moz-border-radius-bottomleft: 0;
    -webkit-border-radius: 100%;
    border-radius: 100%;
    position: absolute;
    left: 50%;
    margin-left: -80px;
    margin-top: -26px;
    background-color: #fff;
    background-repeat: no-repeat;
    background-position: center;
    -moz-background-size: 70%;
    background-size: 70%;
}


.offer_preview-app_list .text-wrapper {
    position: relative;
    font-size: 1em;
    padding: 3rem .85em 0 1em;
    text-align: center;
}

.offer_preview-app_list .offer-text1 {
    margin: 0 0 .4rem;
    font-size: 1.65em;
    color: #000;
    line-height: 1.15;
    font-weight: 700;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.offer_preview-app_list .offer-text2 {
    margin: 0 0 .4rem;
    height: 2rem;
    font-size: .85rem;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.offer_preview-app_list .info-wrapper {
    padding: 16px 32px;
    background: url(../../../im/backend/loyaltyProgram/offer_preview-app-footer.png) center no-repeat;
    height: 60px;
    width: 100%;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 500;
    border: 1px solid #fff;
    border-top: 1px solid #ff9e16;
    background-color: #fff;
}

.offer_preview-app_list .info-wrapper .time {
    font-size: 11px;
    font-weight: 500;
}


.offer_preview-app_details {
    width: 320px;
    padding: 77px 0 0 0;
}

.offer_preview-app_details .app_header {
    width: 100%;
    height: 77px;
    position: absolute;
    left: 0;
    top: 0;
    padding: 40px 0 0 72px;
    background: #0023a0 url(../../../im/backend/loyaltyProgram/app_header.png) no-repeat;
    color: #fff;
    font-weight: 400;
    font-size: 19px;
}

.offer_preview-app_details img {
    width: 100%;
    height: auto;
}

.offer_preview-app_banner {
    width: 320px;
    padding: 120px 0 0 0;
}

.offer_preview-app_banner img {
    width: 100%;
    height: auto;
}

.offer_preview-app_banner .app_header {
    width: 100%;
    height: 127px;
    position: absolute;
    left: 0;
    top: 0;
    padding: 40px 0 0 72px;
    background: transparent url(../../../im/backend/loyaltyProgram/app_header_main.png) no-repeat;
    color: #fff;
    font-weight: 400;
    font-size: 19px;
}
.offer_preview-app_banner .app_footer {
    width: 320px;
    height: 22px;
    background: transparent url(../../../im/backend/loyaltyProgram/app_footer_main.png) bottom no-repeat;
    padding: 2px 0 0 0;
}


/*MODERATE*/

.moderate-zone { /*background-color: #fff;*/ }
.moderate-header { background-color: #fff; }

.moderate-zone .nav-tabs>li.active {
    border: none;
    border-bottom: 2px solid #000;
}

.moderate-zone .nav-tabs>li.active>a, 
.moderate-zone .nav-tabs>li.active>a:hover, 
.moderate-zone .nav-tabs>li.active>a:focus {
    background-color: transparent;
}

.moderate-header header {
    padding: 20px 0 20px 140px;
}

.user-block-in-header {
    float: right;
    padding: 40px 0;
}

.moderate-header .container {
    background: url(../../../im/backend/loyaltyProgram/head-logo-qiwi.png) no-repeat;
}

.nav .badge {
    position: relative;
    left: 10px;
    top: -10px;
}

.inline-block {
    display: inline-block;
}

.paginator-align {
    text-align: right;
}

/*fix .fileinput*/

.form-group .fileinput {
    display: block;
}

.showAdmitadOffer:hover {
    cursor: pointer;
}

.admitadConditionsTable {
    margin-top: 20px;
}

.admitadConditionsTable th {
    text-transform: uppercase;
    font-weight: 600;
    font-size: 0.75rem;
}

.dashboard-content {
    margin-top: 20px;
}

.cursor-pointer {
    cursor: pointer;
}

.nowrap {
    white-space: nowrap
}

.form-description {
    margin: 0.5em 0 1em 0;
    font-size: 0.75em;
    line-height: 1.4;
    color: #000;
    opacity: 0.5;
}
.form-description:hover {
    opacity: 1;
}
.tariff-description {
    font-size: 0.65em;
    line-height: 1.4;
    color: #000;
    opacity: 0.5;
    width: 150px;
}