/*icons*/

img.icon_ads{width: 20px !important; height: 20px !important; opacity: 0.3;}
img.icon_ads:hover{opacity: 0.8;}

div#header-menu{
    position: relative;
    padding: 8px 15px;
    color: #74788d;
}

div#header-menu a,
div#header-menu a:hover,
div#header-menu a:visited{
    color: #74788d;
}

div#header-menu p{
    position: absolute;
    right: 20px;
    top: 5px;
    margin: 0px;
    padding: 0px;
}

footer{
    color: gray;
}

.vertical-collpsed .main-content {
    margin-left: 0px !important;
}

.vertical-collpsed .vertical-menu{
    display: none;
}

#sidebar-menu a.btn-shop{
    float: left;
    font-size: 10pt;
    padding: 5px 8px;
    margin: 5px 0px 0px 5px;
    border: 1px solid #eee;
    color: gray;
    font-weight: normal;
    border-radius: 5px;
    box-shadow: inset 1px 1px 3px #f5f5f5;
}

#sidebar-menu a.btn-shop:hover{
    border: 1px solid #ddd;
    box-shadow: none;
    color: #1e3ed8;
}

.clear{clear: both; height: 1px; line-height: 1px;}

ul.errors{
    background: ivory;
    margin: 15px 0px;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 5px;
}

ul.errors li{
    padding: 3px 0px;
    color: red;
    list-style: none;
}

h4.card-title{
    padding-bottom: 10px;
    text-transform: uppercase;
}

input[type=radio]{
    margin: 12px 0px 0px 10px;
}

.center{
    text-align: center !important;
}

select.form-select{
    cursor: pointer;
    box-shadow: inset 1px 1px 3px #eee;
}

.form-input{
    padding: .47rem 1.75rem .47rem .75rem;
}

td{
    vertical-align: top;
}


/* ga table */


.right{text-align: right;}
.green{color: green;}
.red{color: red;}

.nav-dates{
    padding: 10px 0px 0px 0px;
    margin: 0px;
}

.nav-dates ul{
    margin: 0px !important;
    padding: 0px;
}

.nav-dates ul li a{
    margin-bottom: 3px;
    width: 60px;
}

.nav-dates ul li{
    list-style:  none;
    display: inline;
    padding: 0px;
}

.cst_dp{
    display: inline-block;
    padding: 5px 6px;
    margin: 0px 0px 5px 4px;
    color: gray;
    border: 1px solid #eee;
    border-radius: 5px;

}

.sel-line{
    display: block;
    margin: 0px 5px 5px 5px;
}

.cst_dp_desktop{
    margin: 0px;
    color: silver;
    background: #f3f3f3;
}

.breadcrumb-custom{
    color: silver;
    padding: 12px 0px;
}

.breadcrumb-custom a{
    position: relative;
    padding: 2px 10px;
    color: gray;
}

li.close{
    position: relative;
}

small.close{
    position: absolute;
    top: 0px;
    right: 0px;
    font-size: 10px;
    color: gray;
}

li.close:hover small.close{
    color: red;
    display: inline;
}

/* reporting */
div.scroller{

}

div.cats{
    /*
    width: 1150px;
    height: 260px;

    overflow-x: scroll;
    overflow-y: hidden;
    white-space: nowrap;
     */
}

div.ctg{
    vertical-align:top;
    background: white;
    display: inline-block;
    margin: 5px 10px 0 0;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(15,34,58,.12);
    height: 260px;
    width: 360px;
}

div.ctg ul{
    margin: 10px 20px;
    padding: 0px;
}

div.ctg ul li{
    list-style-type: none;
}

div.ctg p{
    padding: 0px 25px 8px 25px; color: gray;
    margin: 0px;
}

.rep-box{
    position: relative;
    float: left;
    width: 150px;
    margin: 0px 8px 0px 1px;
}

@media only screen and (max-device-width : 430px){
    .rep-box{width: 165px;}
}
@media only screen and (max-device-width : 360px){
    .rep-box{width: 140px;}
}

.rep-box .card-body{
    padding: 8px 0px;
    min-height: 107px;
    font-size: 10pt;
}

#wrapper-main-boxes .rep-box .card-body{
    min-height: 155px;
}
/* */

div.report{
    padding: 0px;
    margin-top: 20px;
}

div.report table{
    table-layout: fixed;
    width: 100%;
}

div.report table tr{
    background: #f5f5f5;
}

div.report table.white td{
    background: white;
}

div.report table tr.slc td{
    font-weight: bold;
    padding-top: 10px;
    padding-bottom: 10px;
    border-top: 1px solid silver;
    border-bottom: 1px solid silver;
    background: white !important;
}

div.report table tr.slc td{}

div.report table tr td,
div.report table tr th{
    position: relative;
    font-size: 12px;
    padding: 5px;

    text-align: right;
}

div.report table tr.share td{
    padding-top: 3px;
    padding-bottom: 15px;
    background:white;
    color: gray;
}

div.report table tr:focus td{
    padding: 20px 10px;
}


div.report table tr.share{
    padding-bottom: 15px;
}

div.report table tr.strong td{
    font-weight: bold;
}

div.report table tr.gray td{
    color: gray;
}

div.report table tr td span{
    float: left;
    padding: 0px 0px 3px 0px;
    text-align: right;
}

div.report table tr td span.revenue{
    color: green;
    width: 100px;
}

div.report table tr td span.spend{
    color: #b20000;
    width: 70px;
}

div.report table tr td span.pno{
    color: gray;
    width: 50px;
}

div.report span.td{
    position: relative;
    float: left;
    margin: 0px 5px 5px 0px;
    padding: 5px 10px;
    border: 1px solid #ddd;
    min-height: 75px;
}

div.report span.td small{
    display: block;
    padding: 3px;
}

div.report span.td strong{
    font-weight: normal;
}

div.kurzy{
    padding: 10px;
    margin: 10px;
    border-top: 1px solid #ddd;
}

div.kurzy ul{
    margin:  0px;
    padding: 0px;
}

div.kurzy ul li{
    list-style: none;
    display: inline-block;
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
    background: #f5f5f5;
    margin-right: 5px;
    border-radius: 3px;
}

div.kurzy ul li span{
    display: block;
    padding: 0 0 3px 0;
}

div.kurzy ul li strong{
    font-weight: normal;
}

.clearfix{
    clear: both;
    height: 1px;
}


div.report div.table-responsive table.table thead tr th{
    border-bottom: 1px solid #ddd;
    border-top: 1px solid #ddd;
    background: #f5f5f5;
    font-weight: normal;
    color: gray;
}

div.report div.table-responsive table.table tbody tr td{
    border-bottom: 1px solid #ddd;
}

table.dataTable tbody tr.even{
    background: #f3f3f3;
}

div.report div.table-responsive table.table tbody tr:hover td,
table.dataTable tbody tr:hover td,
div.report table tr:hover tbody td{
    background: #f5f5f5 !important;
    opacity: 0.9;
}

div.report div.table-responsive table.table tbody tr.slc td,
div.report div.table-responsive table.table tbody tr.slc:hover td,
table.dataTable tbody tr.slc td,
table.dataTable tbody tr.slc:hover td{
    background: ivory !important;
}

div.dataTables_wrapper div.dataTables_filter input{
    background: white;
}


.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #ced5f4;
    border-top: 5px solid #7287ea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 9999;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}


/* form datepicker */

form.date-control{
    margin: 0px 0px 10px 1px;
}
form.date-control .date-controls {
    display: flex;
    align-items: center;
}

form.date-control .form-date{
    width: 120px;
    padding: 2px 5px;
    display: inline-block;
    margin-right: 4px;
    font-size: 11pt;
    background: white;
    color: gray;
    border: 1px solid #ddd;
    box-shadow: inset 1px 1px 3px #eee;
    border-radius: 6px;
    height: 30px;
    line-height: 30px;
    text-align: center;
    font-size: 11px;
}

form.date-control .form-date:focus {
    border: 1px solid #7287ea;
    outline: none;
    box-shadow: 0 0 4px rgba(0, 0, 255, 0.5);
}

form.date-control .date-submit {
    background: #f5f5f5;
    font-size: 11px;
    color: silver;
    border: 1px solid #ddd;
    box-shadow: inset 1px 1px 3px #eee;
    width: 35px;
    height: 30px;
    line-height: 30px;
    border-radius: 5px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

form.date-control .date-submit:hover{
    color: gray;
    border: 1px solid silver;
}

form.date-control div.date-controls{
    position: relative;
}

/* campaign visualization */
div#camp_wrapper {
    position: absolute;
    top: -35px;
    left: 380px;
    z-index: 9;
    width: 800px;

    display: flex;
    overflow-x: auto;
    overflow-y: visible;
    padding-top: 10px;

    scrollbar-width: thin;                /* užší */
    scrollbar-color: #ddd transparent;     /* thumb, track */
}

div#camp_wrapper::-webkit-scrollbar {
    height: 6px;                          /* výška pro horizontální scroll */
}

/* pozadí lišty (track) – nastav barvu stejné jako pozadí komponenty */
div#camp_wrapper::-webkit-scrollbar-track {
    background: transparent;                  /* sem dej barvu svého pozadí */
}

/* „jezdec“ (thumb) */
div#camp_wrapper::-webkit-scrollbar-thumb {
    background: transparent;                  /* jemná, nenápadná barva */
    border-radius: 999px;                 /* zaoblení */
    border: 2px solid #ddd;            /* aby opticky zúžil lištu a splynul s pozadím */
}

div#camp_wrapper div.camp_box{
    /* float pryč */
    /* float: left;  ← Smazat */

    flex: 0 0 auto;        /* nenechá flex položky zmenšovat */
    padding: 8px 25px;
    background: ivory;
    border: 1px solid #ddd;
    box-shadow: 1px 1px 3px white;
    border-radius: 5px;
    position: relative;
    margin-right: 10px;
    opacity: 0.9;
}

div#camp_wrapper div.camp_box a,
div#camp_wrapper div.camp_box a:visited{
    color: gray;
    text-decoration: underline !important;
}

div#camp_wrapper div.camp_box:hover {
    opacity: 1;
}

div#camp_wrapper div.camp_box:hover a{
    color: #1e3ed8;
    text-decoration: none !important;
}

div#camp_wrapper div.camp_box_waiting{
    background: #eee !important;
    opacity: 0.7;
}

div#camp_wrapper div.camp_box icon.paperclip{
    position: absolute;
    top: -10px;
    z-index: 10;
}

@media (max-width: 979px) {
    div#camp_wrapper {display: none;}
    .user_adapt {display: none;}
}

