/*панель хеадинг #f5f5f5*/
body {
background: #0C1E22;
max-width: 900px;
margin: auto;
background-position: center;
}

.navbar-default1 {
    background-color: #073642 !important;
    border-color: #2F5F6B;
}

.zagol {
    background-color: #17414C;
    border-radius: 4px;
}

.zagol h1 {
    font-size: 20px;
    margin-top: 0px;
    margin-bottom: 1px;
    font-family: AleksandraCRegular;
    font-weight: 500;
    line-height: 0.9;
    color: #fff;
    padding: 10px;
}

.zagol p {
    font-size: 20px;
    margin-top: 0px;
    margin-bottom: 1px;
    font-family: AleksandraCRegular;
    font-weight: 500;
    line-height: 0.9;
    color: #fff;
    padding: 10px;
}

.zagol10 {
    background-color: #D7D47B;
    border-radius: 4px;
    padding: 15px;
}

.zagol1 {
    background-color: #2D6270;
    border-radius: 4px;
}

.zagol1 p {
    font-size: 13px;
    margin-top: 0px;
    margin-bottom: 10px;
    font-family: AleksandraCRegular;
    font-weight: 500;
    line-height: 1.1;
    color: #fff;
    padding: 10px;
}

.zagol2 {
    background-color: #EBDB60;
    border-radius: 0px;
}

.zagol2 p {
    font-size: 13px;
    margin-top: 0px;
    margin-bottom: 0px;
    font-family: AleksandraCRegular;
    font-weight: 500;
    line-height: 1.0;
    color: #474745;
    padding: 10px;
}

.zagola {
    background-color: #922216;
    border-radius: 0px;
}

.zagola p {
    font-size: 13px;
    margin-top: 0px;
    margin-bottom: 0px;
    font-family: AleksandraCRegular;
    font-weight: 500;
    line-height: 1.0;
    color: #fff;
    padding: 10px;
}

.zagolaa {
    background-color: #447434;
    border-radius: 0px;
}

.zagolaa p {
    font-size: 13px;
    margin-top: 0px;
    margin-bottom: 0px;
    font-family: AleksandraCRegular;
    font-weight: 500;
    line-height: 1.0;
    color: #fff;
    padding: 10px;
}

.zagolf {
    background-color: #2D6270;
    border-radius: 0px;
}

.zagolf h3 {
    font-size: 13px;
    margin-top: 0px;
    margin-bottom: 0px;
    font-family: AleksandraCRegular;
    font-weight: 500;
    line-height: 1.0;
    color: #E0E2E2;
    padding: 7px;
}

.zagoln {
    background-color: #3A8328;
    border-radius: 6px;
}

.zagoln h3 {
    font-size: 16px;
    margin-top: 0px;
    margin-bottom: 0px;
    font-family: AleksandraCRegular;
    font-weight: 600;
    line-height: 1.0;
    color: #E0E2E2;
    padding: 7px;
}

.zagoln p {
    font-size: 15px;
    margin-top: 0px;
    margin-bottom: 0px;
    font-family: AleksandraCRegular;
    font-weight: 500;
    line-height: 1.0;
    color: #474745;
    padding: 10px;
    background-color: #F5E3A8;
    border-radius: 6px;
}

.zagol3 {
    background-color: #5cb85c;
    border-radius: 0px;
}

.zagol3 p {
    font-size: 13px;
    margin-top: 0px;
    margin-bottom: 0px;
    font-family: AleksandraCRegular;
    font-weight: 500;
    line-height: 1.0;
    color: #474745;
    padding: 10px;
}

.zagol4 {
    background-color: #2D6270;
    border-radius: 0px;
}

.zagol4 p {
    font-size: 13px;
    margin-top: 0px;
    margin-bottom: 10px;
    font-family: AleksandraCRegular;
    font-weight: 500;
    line-height: 1.1;
    color: #fff;
    padding: 10px;
}


.branmq{
    vertical-align: middle;
    margin-top: 4px;
    margin-left: 5px;
}

.panel-body1 {
    background-color: #F8F0B5;
    padding-top: 10px;
    padding-bottom: 15px;
    padding-left: 15px;
    padding-right: 15px;
    font: 15px AleksandraCRegular;
}

.panel-body3 {
    background-color: #2D6270;
    padding-top: 10px;
    padding-bottom: 15px;
    padding-left: 15px;
    padding-right: 15px;
    color:#E0E2E2;
    font: 15px AleksandraCRegular;
}

.panel-body2 {
    background-color: #BDFABD;
    padding-top: 10px;
    padding-bottom: 15px;
    padding-left: 15px;
    padding-right: 15px;
    font: 15px AleksandraCRegular;
}

.navbar-collapse1 {
    padding-left: 15px;
    overflow-x: visible;
    -webkit-overflow-scrolling: touch;
    border-top: 1px solid transparent;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1);
}

.logo {
background-color: #f5f5f5;	
padding: 1px;
}

.title {
background-color: #FF0000;	
padding: 15px;
margin: auto;
}

.content {
background-color: #FFFFFF;	
padding: 10px;
border: 1px solid black;	
}
.link {
background: #72C472;
padding: 6px;
border-radius: 4px;
border-bottom: 1px solid #86B086;
font: 14px AleksandraCRegular;

/*
border-left: 1px solid #eee;
border-right: 1px solid #eee;*/
display: block;
margin-bottom: 2px;
}

.link1 {
background: #4E7681;
padding: 6px;
color:#E0E2E2;
border-radius: 4px;
border-bottom: 1px solid #86B086;
/*
border-left: 1px solid #eee;
border-right: 1px solid #eee;*/
display: block;
margin: auto;
}

.link1 a {
color:#E0E2E2;
}

.llot {
color:#073642;
padding: 5px;
background: #D5BC00;
border-radius: 4px;
border-bottom: 1px solid #86B086;
}

.llot a {
color:#073642;
text-decoration: none;
}

.llotb {
margin-left: 22px;
color:#D4E8ED;

border-radius: 4px;
border-bottom: 1px solid #86B086;
font: 12px AleksandraCRegular;
margin-bottom: 6px;
}

.llotb a {
color:#D4E8ED;
text-decoration: none;
font: 12px AleksandraCRegular;
margin-bottom: 2px;
padding: 3px;
}

.llot1 {
color:#073642;

}

.llot1 a {
margin-right: 2px;
margin-left: 5px;
color:#073642;
text-decoration: none;
padding: 5px;
background: #C9C9C9;
border-radius: 4px;
border-bottom: 1px solid #86B086;
}

.foot {
  background: #073642;
  color: white;
  font-weight: bold;
  padding: 13px;
  border-radius: 7px;
  }
  
.foot1 {
  background: #073642;
  color: white;
  font-weight: bold;
  padding: 8px;
  border-radius: 7px;
  margin-bottom: 7px;
  }
  
  
  
/* High-contrast admin/cabinet readability fixes */
body {
    color: #eaf7fa;
}

a {
    color: #8ee8ff;
    text-decoration: underline;
}

a:hover,
a:focus {
    color: #ffffff;
}

.container-fluid {
    color: #eaf7fa;
}

.navbar-default1 .navbar-nav > li > a {
    color: #ffffff !important;
    text-decoration: underline;
}

.navbar-default1 .navbar-nav > li > a:hover,
.navbar-default1 .navbar-nav > li > a:focus {
    background-color: #2f7b54 !important;
    color: #ffffff !important;
}

.panel,
.panel-default {
    background-color: #123b45;
    border-color: #4f8794;
    color: #f1fbfd;
}

.panel-default > .panel-heading,
.panel-heading,
.panel-heading4 {
    background-color: #1f5663;
    border-color: #9ed7e2;
    color: #ffffff;
    font-weight: bold;
}

.panel-body,
.panel-body3 {
    background-color: #2f6672;
    color: #f4fbfd;
}

.panel-body1 {
    background-color: #fff7b8;
    color: #203034;
}

.panel-body2 {
    background-color: #bdfabd;
    color: #203034;
}

.panel-body1 a {
    color: #006a8f;
}

.panel-body2 a {
    color: #006a8f;
}

.panel-body1 b,
.panel-body1 label,
.panel-body1 p,
.panel-body1 small {
    color: #203034;
}

.panel-body2 b,
.panel-body2 i,
.panel-body2 label,
.panel-body2 p,
.panel-body2 small,
.panel-body2 strong,
.panel-body2 u {
    color: #203034;
}

.panel-body a,
.panel-body3 a,
.panel-heading a,
.panel-heading4 a {
    color: #ffffff;
}

.nav1,
.nav2,
.gend,
.menu,
.link,
.link1 {
    background-color: #2f6672;
    color: #f6fdff;
    border-color: #76aeb9;
}

.nav1,
.nav2,
.gend,
.menu {
    padding: 8px;
    margin-bottom: 6px;
    border-radius: 4px;
}

.nav1 a,
.nav2 a,
.gend a,
.menu a,
.link a,
.link1 a {
    color: #ffffff;
    text-decoration: underline;
}

.nav1 b,
.nav2 b,
.gend b,
.link b,
.link1 b {
    color: #ffffff;
}

.nav1 .panel-body1,
.nav1 .panel-body1 b,
.nav1 .panel-body1 label,
.nav1 .panel-body1 p,
.nav1 .panel-body1 small {
    color: #203034;
}

.nav1 .panel-body1 a {
    color: #006a8f;
}

.nav1 .panel-body2,
.nav1 .panel-body2 b,
.nav1 .panel-body2 i,
.nav1 .panel-body2 label,
.nav1 .panel-body2 p,
.nav1 .panel-body2 small,
.nav1 .panel-body2 strong,
.nav1 .panel-body2 u {
    color: #203034;
}

.nav1 .panel-body2 a {
    color: #006a8f;
}

.error {
    background-color: #ffe1e1;
    border: 1px solid #d86a6a;
    border-radius: 4px;
    color: #6c1111;
    font-weight: bold;
    margin-bottom: 6px;
    padding: 8px;
}

.good {
    background-color: #dbf7df;
    border: 1px solid #65b76e;
    border-radius: 4px;
    color: #0f5018;
    font-weight: bold;
    margin-bottom: 6px;
    padding: 8px;
}

.alert {
    color: #1b2528;
}

.alert a {
    color: #004e73;
}

.form-control,
input,
textarea,
select {
    background-color: #ffffff;
    color: #1b2528;
}

label,
td,
th,
p,
small {
    color: inherit;
}

table {
    color: #f1fbfd;
}
.foot2 {
margin-bottom: 7px;
  background: #073642;
  color: white;
  font-weight: bold;
  padding: 5px;
  border-radius: 7px;

  }  
  


.hide-on-mobile { display: inline; }
/* Smartphone Portrait and Landscape */
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px){ .hide-on-mobile { display: none; }}
































  
  
  

/* Адаптивные iframe: не дают списку площадок растягивать мобильный экран */
iframe {
    max-width: 100%;
}

.iframe-sites-panel,
.iframe-list,
.iframe-site-item {
    max-width: 100%;
    overflow: hidden;
}

.iframe-site-item {
    margin-bottom: 10px;
}

.iframe-preview {
    background: #ffffff;
    border: 1px solid #76aeb9;
    border-radius: 4px;
    height: 200px;
    max-width: 100%;
    overflow: hidden;
    width: 100%;
}

.iframe-preview-frame {
    background: #ffffff;
    border: 0;
    display: block;
    height: 100%;
    max-width: 100%;
    width: 100%;
}

.iframe-site-info,
.iframe-site-info a {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.iframe-check-preview {
    height: 500px;
}

@media only screen and (max-width: 480px) {
    .panel-body.iframe-list {
        padding-left: 8px;
        padding-right: 8px;
    }

    .iframe-preview {
        height: 180px;
    }

    .iframe-check-preview {
        height: 360px;
    }
}

/* Единый баланс и управляемые рекламные места */
.top-traffic-image {
    height: auto;
    width: 100%;
    border-radius: 7px;
    margin-bottom: 5px;
    border: 3px solid #86B086;
    display: block;
}

.balance-box,
.balance-big {
    background: #e9fff0;
    border: 1px solid #65b76e;
    border-radius: 4px;
    color: #203034;
    margin-bottom: 10px;
    padding: 8px;
}

.balance-box a,
.balance-big a {
    color: #006a8f;
}

.balance-big {
    font-size: 18px;
}

.balance-deposit-form {
    margin-top: 10px;
}

.ad-slot {
    background: #073642;
    border: 1px solid #2f6672;
    border-radius: 6px;
    box-sizing: border-box;
    color: #ffffff;
    display: block;
    margin: 0 0 8px 0;
    max-width: 100%;
    overflow: hidden;
    padding: 6px;
    text-align: center;
    width: 100%;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.ad-slot-full {
    clear: both;
    width: 100%;
}

.ad-slot-panel {
    margin-bottom: 8px;
}

.ad-slot a {
    max-width: 100%;
    overflow-wrap: anywhere;
}

.ad-slot img,
.ad-slot embed,
.ad-slot object,
.ad-slot video {
    height: auto !important;
    max-width: 100% !important;
}

.ad-slot iframe {
    border: 0;
    max-width: 100% !important;
    width: 100% !important;
}

.ad-slot table {
    max-width: 100% !important;
    width: 100% !important;
}

.ad-slot-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    max-width: 100%;
}

.ad-slot-grid .ad-slot {
    flex: 1 1 260px;
    margin-bottom: 0;
}

.ad-bottom-row {
    margin-top: 8px;
}

.ad-admin-slot textarea {
    color: #1b2528;
}

.iframe-traffic-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.traffic-frame-item {
    background: #ffffff;
    border-radius: 4px;
    flex: 1 1 200px;
    height: 300px;
    max-width: 100%;
    overflow: hidden;
}

.traffic-frame {
    background: #ffffff;
    display: block;
    height: 100%;
    max-width: 100%;
    width: 100%;
}

@media only screen and (max-width: 768px) {
    body {
        max-width: 100%;
        overflow-x: hidden;
    }

    .container-fluid,
    .row,
    .panel,
    .panel-default,
    .panel-body,
    .panel-body1,
    .panel-body2,
    .panel-body3,
    .zagol,
    .zagol1,
    .zagol2,
    .zagol4,
    .tabsi,
    .tabs,
    .ad-slot,
    .ad-slot-grid {
        max-width: 100%;
        box-sizing: border-box;
    }

    .ad-slot {
        padding: 5px;
    }

    .ad-slot-grid {
        display: block;
    }

    .ad-slot-grid .ad-slot {
        margin-bottom: 8px;
    }

    .traffic-frame-item {
        flex-basis: 100%;
        height: 240px;
    }
}

.billing-service-nav .btn {
    margin-bottom: 4px;
}

.billing-service-nav a {
    overflow-wrap: anywhere;
}

.service-stats-panel .link1,
.panel2 .zagol4 {
    overflow-wrap: anywhere;
}


/* Креативное заполнение пустых мест на главной */
.traffic-lab-card,
.footer-quickstart-card {
    background: linear-gradient(135deg, #073642 0%, #124d5b 55%, #2f6672 100%);
    border: 1px solid #76aeb9;
    border-radius: 7px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
    color: #f6fdff;
    margin: 8px 0;
    max-width: 100%;
    overflow: hidden;
    padding: 12px;
}

.traffic-lab-head {
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 10px;
}

.traffic-lab-kicker {
    background: #d5bc00;
    border-radius: 999px;
    color: #073642;
    display: inline-block;
    font-weight: bold;
    margin-bottom: 8px;
    padding: 4px 10px;
}

.traffic-lab-head h2,
.footer-quickstart-title {
    color: #ffffff;
    font-family: AleksandraCRegular;
    font-size: 18px;
    font-weight: bold;
    line-height: 1.1;
    margin: 0 0 7px 0;
}

.traffic-lab-head p {
    color: #e9fbff;
    font-size: 13px;
    line-height: 1.25;
    margin: 0;
}

.traffic-lab-steps {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin: 10px 0;
}

.traffic-lab-step {
    background: #f8f0b5;
    border-left: 4px solid #5cb85c;
    border-radius: 6px;
    color: #203034;
    flex: 1 1 120px;
    min-width: 0;
    padding: 8px;
}

.traffic-lab-step b {
    color: #0b7285;
    display: block;
    font-size: 18px;
    line-height: 1;
}

.traffic-lab-step span {
    display: block;
    font-size: 12px;
    line-height: 1.15;
    margin-top: 4px;
}

.traffic-lab-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.traffic-lab-tile {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(158,215,226,0.35);
    border-radius: 6px;
    padding: 9px;
}

.traffic-lab-tile i {
    color: #f5d900;
    font-size: 17px;
    margin-bottom: 5px;
}

.traffic-lab-tile strong {
    color: #ffffff;
    display: block;
    font-size: 13px;
    line-height: 1.1;
    margin-bottom: 4px;
}

.traffic-lab-tile span {
    color: #e9fbff;
    display: block;
    font-size: 12px;
    line-height: 1.2;
}

.footer-extra-row {
    align-items: stretch;
    display: flex;
    flex-wrap: wrap;
}

.footer-extra-row > div {
    float: none;
}

.footer-quickstart-card {
    min-height: 100%;
}

.footer-quickstart-title {
    margin-bottom: 10px;
}

.footer-quickstart-grid {
    display: grid;
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.footer-quickstart-grid a {
    background: rgba(248,240,181,0.96);
    border: 1px solid #d5bc00;
    border-radius: 6px;
    color: #203034;
    display: block;
    min-width: 0;
    padding: 9px;
    text-decoration: none;
}

.footer-quickstart-grid a:hover,
.footer-quickstart-grid a:focus {
    background: #ffffff;
    color: #073642;
    text-decoration: none;
}

.footer-quickstart-grid span {
    background: #5cb85c;
    border-radius: 999px;
    color: #ffffff;
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 5px;
    padding: 2px 7px;
}

.footer-quickstart-grid b,
.footer-quickstart-grid small {
    display: block;
    overflow-wrap: anywhere;
}

.footer-quickstart-grid b {
    font-size: 13px;
    line-height: 1.1;
}

.footer-quickstart-grid small {
    color: #36545c;
    font-size: 11px;
    line-height: 1.1;
    margin-top: 3px;
}

.footer-extra-slot {
    min-height: 100%;
}

@media only screen and (max-width: 768px) {
    .traffic-lab-grid,
    .footer-quickstart-grid {
        grid-template-columns: 1fr;
    }

    .traffic-lab-card,
    .footer-quickstart-card {
        padding: 10px;
    }

    .traffic-lab-head h2,
    .footer-quickstart-title {
        font-size: 16px;
    }
}
