/**********************************************
GENERAL
**********************************************/
.no-padding {
    padding: 0;
}

.havasBorderDark {border: 1px solid #ccc;}
.havasBorderLight {border: 1px solid #eee;}

.pageAction {
    text-align: right;
}

.pageAction a img {
    height: 30px;
    margin-left: 17px;
}

.havasRedIcon {
    color: #821d03;
}

.havasGreenIcon {
    color: #589b4a;
}

.havasYellowIcon {
    color: #9e730c;
}

.havasIconRounded {
    background: #eee;
    border-radius: 50%;
    padding: 5px 7px 2px 6px;
}

.icon-menu-close:before {
    font-size: 12px;
}


/**********************************************
SEARCH
**********************************************/
.havasSearch {
    margin: 0 0 15px 0;
}
.havasSearch:after {
    content: '';
    display: block;
    clear: both;
}
.havasSearch input {
    width: calc( 100% - 50px );
    float: left;
    margin: 0;
    padding: 0 10px;
    border: none;
    font-weight: 700;
}
.havasSearch button {
    width: 50px;
    height: 48px;
    float: left;
    padding: 0;
    background-color: var(--kummel-color);
    border: none;
}

.havasSearch button .icon {
    width: 100%;
    height: 100%;
    display: inline-block;
    margin: 0;
    padding: 0;
}

.havasSearch button .icon:before {
    font-size: 14px;
    top: 22px;
    left: 18px;
}

/**********************************************
DATEPICKER
**********************************************/
.havasDatepicker label.from,
.havasDatepicker label.to {
    width: 20px;
    margin-right: 9px;
    /*float: left;*/
}

.havasDatepicker label.to {
    padding-left: 9px;
}

.havasDatepicker input {
    width: 100%;
    height: 50px;
    margin-right: 5px;
    margin-bottom: 25px;
    padding: 0 5px;
    text-transform: uppercase;
    background: url('../images/ico-calendar.svg') no-repeat 91% center;
    background-size: 20px;
}

.havasDatepicker input.from {
    width: calc( 100% - 10px);
}

#ui-datepicker-div {
    padding: 15px;
    border: 1px solid #ccc;
    background: #fff;
    z-index: 100 !important;
}
.ui-datepicker-prev {
    margin-bottom: 15px;
    float: left;
}
.ui-datepicker-next {
    float: right;
    margin-bottom: 15px;
}
.ui-datepicker-title {
    overflow: auto;
    clear: both;
    margin-bottom: 15px;
}
.ui-datepicker-month {
    float: left;
    width: calc( 100% - 45px);
}
.ui-datepicker-year {
    float: left;
    width: 45px;
    text-align: right;
    line-height: 0;
    font-weight: bold;
}
.ui-datepicker-calendar th {
    width: 36px;
}

/**********************************************
INPUT NUMBER SPINNER
**********************************************/
.ui-spinner {
    float: left;
    max-width: 100px;
    height: 50px;
    position: relative;
    display: inline-block;
    overflow: hidden;
    padding: 0 0 0 30px;
    vertical-align: middle;
}
.label-spinner {
    float: left;
    margin-right: 10px;
    line-height: 50px;
}
.ui-spinner-input {
    line-height: 39px;
    border: none;
    background: none;
    color: inherit;
    padding: .222em 0;
    margin: .2em 0;
    vertical-align: middle;
    margin-left: .4em;
    margin-right: 2em;
}
.ui-widget.ui-widget-content {
    border: 1px solid #c5c5c5;
}
.ui-spinner a.ui-spinner-button {
    width: 30px;
    border-top-style: none;
    border-bottom-style: none;
    border-right-style: none;
    height: 50%;
    padding: 0;
    margin: 0;
    text-align: center;
    position: absolute;
    display: block;
    overflow: hidden;
    right: 0;
}
.ui-button-icon-only .ui-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -8px;
    margin-left: -8px;
}
.ui-icon {
    width: 16px;
    height: 16px;
}
.ui-button {
    cursor: pointer;
}
.ui-spinner-up {
    top: 0;
}
.ui-spinner-down {
    bottom: 0;
}
.ui-spinner-up  .ui-icon {
    background: url('../images/ico-arrow-up.svg') no-repeat center center !important;
    background-size: 80% !important;
}
.ui-spinner-down  .ui-icon {
    background: url('../images/ico-arrow-down.svg') no-repeat center center !important;
    background-size: 80% !important;
}

/**********************************************
HAVAS TABLE BLOCK
**********************************************/
.havasTableBlock {
    font: 12px 'Noto Sans', sans-serif;
    color: #666666;
    margin-top: 20px;
}
.havasTableBlock .thead {
    background-color: #EEEAE5;
    overflow: auto;
}

.havasTableBlock .thead > div {
    padding: 15px 10px 15px 15px;
    float: left;
}

.havasTableBlock .thead a:hover {
    text-decoration: none;
    color: #666;
}

.havasRowTable {
    position: relative;
    margin-bottom: 10px;
}

.havasRowTable .box-content {
    padding-bottom: 20px;
    border-left: 1px solid  #eeeeee;
    border-right: 1px solid  #eeeeee;
    border-bottom: 1px solid  #eeeeee;

}


.havasRowTable .box-content > div {
    width: 100%;
}

.havasRowTable .box-content .thead-mobile {
    background-color: #eeeeee;
    padding: 15px 15px;
    margin-bottom: 15px;
    text-align: left;
}

.havasRowTable .thead-mobile span {
    padding-right: 10px;
}

.havasRowTable .box-content .label-mobile  {
    float: left;
    display: inline-block;
}

.havasRowTable .box-content > div {
    padding: 5px 15px;
    text-align: right;
}

.havasRowTable .detail {
    position: absolute;
    top: 12px;
    right: 15px;
}

.havasRowTable .detail a {
    text-decoration: none !important;
}

.havasRowTable .havasIconRounded {
    margin-left: 10px;
}

.havasTableBottom {
    margin-top: 30px;
}

.havasRowTable .icon.icon-download {
    font-size: 18px;
    line-height: 14px;
    top: 0;
}

@media screen and (min-width: 640px) {
  .havasDatepicker label.from,
  .havasDatepicker label.to {
    float: left;
  }
}

/*IPAD*/
@media screen and (min-width: 768px) {

    .havasDatepicker label.from,
    .havasDatepicker label.to {
        line-height: 50px;
    }
    .havasDatepicker input {
        float: left;
        padding: 0 15px;
        width: calc( 100% - 30px);
        margin-right: 0px;
        margin-bottom: 0px;
        font-size: 11px;
    }

    .havasDatepicker input.from {
        width: calc( 100% - 30px);
    }

    .pageAction a img {
        height: 18px;
        margin-left: 15px;
    }

    .havasRowTable{
        padding: 0 7px 0px 7px;
    }
}

@media screen and (min-width: 1200px) {
    .pageAction {
        padding-top: 15px;
        text-align: center;
    }

    .havasDatepicker input {
        max-width: 150px;
    }

    .havasTableBlock {
        padding: 0 10px;
    }

    .havasTableBlock .thead .sort {
        position: absolute;
        top: 17px;
        right: 20px;
    }

    .havasRowTable {
        padding: 0;
        margin-bottom: 0;
    }
    .havasRowTable .box-content {
        overflow: auto;
        margin: 0;
        padding: 0;
    }

    .havasRowTable .box-content > div {
        text-align: left;
        padding: 15px;
        padding-right: 0;
        float: left;
    }

    .havasTableBlock .thead .col-5-percent,
    .havasRowTable .box-content .col-5-percent{ width: 5%}
    .havasTableBlock .thead .col-9-percent,
    .havasRowTable .box-content .col-9-percent{ width: 9%}
    .havasTableBlock .thead .col-11-percent,
    .havasRowTable .box-content .col-11-percent{ width: 11%}
    .havasTableBlock .thead .col-12-percent,
    .havasRowTable .box-content .col-12-percent{ width: 12%}
    .havasTableBlock .thead .col-14-percent,
    .havasRowTable .box-content .col-14-percent{ width: 14%}
    .havasTableBlock .thead .col-22-percent,
    .havasRowTable .box-content .col-22-percent{ width: 22%}

    .havasRowTable .box-content .thead-mobile {
        background-color: transparent;
        margin-bottom: 0;

    }

    .havasRowTable .box-content .thead-mobile:hover {
        color: var(--kummel-color);
    }

    .havasRowTable .icon-state {
        float: left;
        margin: 0 10px 0 0;
    }

    .havasRowTable .icon.icon-download {
        top: 0;
        font-size: 18px;
    }

    .havasRowTable .detail {
        position: static;
        text-align: center !important;
    }
}
