﻿/*general section*/

label {
    font-weight: normal;
}

.pointer {
    cursor: pointer;
}

.width100percent {
    width: 100%;
}

.button-line {
    margin-bottom: 6px;
    margin-top: 6px;
}

input[type="text"] {
    padding-left: 12px;
    background-color: #fff !important;
    border: 1px solid #ccc;
    color: #000 !important;
}

h1.page-header i {
    margin-right: 12px;
}

h1, h2 {
    color: #73879C;
}

h3, h4, h5, h6 {
    color: #7b7b7b;
}

h1, h2, h3 {
    margin-bottom: 20px;
}

h3 i {
    margin-right: 12px;
}

.bottom-margin-1x {
    margin-bottom: 24px;
}

.form-control[readonly] {
    color: #797979 !important;
}

.help {
    cursor: help;
}

.single-line {
    text-overflow: ellipsis;
    overflow-x: hidden;
    white-space: nowrap;
}

.single-line-nowrap {
    white-space: nowrap;
}

/*validation*/
input.ng-valid {
    border-left: 5px solid #42A948;
}

input.ng-pristine {
    border-left: 5px solid #42A948 !important;
}

input.ng-invalid {
    border-left: 5px solid #a94442;
}

/*customers*/

@media only screen and (max-width: 600px) {

    .customers-list-header {
        display: flex;
        flex-direction: column;
    }

    .customers-filter {
        display: flex;
        flex-direction: column;
    }

    .ui-corner-all {
        position: relative;
        top: 0 !important;
    }

    .ui-tabview-nav {
        display: flex;
        flex-direction: column;
    }


    .table-customers td {
        overflow: auto;
    }
}


/*dashboard*/
.dashboard-icon {
    font-size: 30px;
    padding: 15px;
    background-color: rgb(121, 132, 148);
    color: white;
    margin-right: 20px;
    width: 25%;
    height: 100%;
}

.alert-dashboard:hover .dashboard-icon {
        background-color: rgb(127, 144, 169);
}

.alert-granit {
    color: #616161;
    background-color: #e0e0e0;
    border-color: #abaaaa;
    cursor: pointer;
}

.static-urls-area {
    resize: vertical;
    height: 250px !important;
}

.alert-dashboard {
    color: #616161;
    background-color: #e0e0e0;
    border-color: #abaaaa;
    cursor: pointer;
    padding: 0;
    text-align: center;
    font-size: 20px;
    display: flex;
    align-items: center;
}

/*header menu*/
.menu__item {
    color:white;
}

.menu__item:hover {
    color:#e0e0e0;
}

/*banners*/
.table-banners th {
    background-color: #fff;
    color: #797979;
}

.table-banners tr.data-row {
    cursor: pointer;
}

.table-banners tr.data-row:hover {
    background-color: #f0f0f0;
}

.definition-form {
    margin-bottom: 30px;
}

.definition-form label, .slide-form label {
    font-weight: normal;
}

.banner-slide-list {
    min-height: 287px;
}

.ui-widget-header {
    color: black;
}

.ui-dialog-title {
    color: white;
}

.ui-datepicker .ui-datepicker-header a {
    color: #000;
}

.user-groups-container {
    overflow: visible;
    max-height: 450px;
    font-size: 12px;
}

/*login component*/
.developer-mode {
    font-size: 12px;
    color: palegreen;
}

.banner-slide-list .ui-widget-header {
    border: none;
    background: none;
    color: #000;
    font-weight: normal;
}

.image-bordered {
    border: solid black 1px;
}

/*product component*/
.product-list {
    border: 1px solid #a6c9e2;
    border-radius: 5px;
    background-color: white;
    cursor: pointer;
    padding: 10px;
    margin-bottom: 20px;
    height: 650px;
    overflow-y: auto;
}

.products-item:hover {
    background-color: rgb(121, 201, 236);
    border-radius: 5px;
}

.productSelected {
    background-color: rgb(99, 163, 198);
    border-radius: 5px;
}

.productSelected.products-item:hover {
    background-color: rgb(90, 146, 179);
    border-radius: 5px;
}

.url-list {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px 0px 0px 5px;
    height: 200px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.add-button:hover {
    color: limegreen;
}

.cancel-button:hover {
    color: red;
}
/* end product*/

/* orders*/
.orders-list-header {
    font-weight: bold;
    //color: white;
    border-bottom: 2px #2191c0 solid;
}

.orders-list {
    border: 1px solid #a6c9e2;
    border-radius: 5px;
    background-color: white;
    cursor: pointer;
    padding: 10px;
    margin-bottom: 20px;
    height: 650px;
    overflow-y: auto;
}

.order-item:nth-child(1){
    background-color: #d9edf7;
}

.order-item:nth-child(odd){
    background-color: #d9edf7;
}

.order-item:hover {
    background-color: rgb(121, 201, 236);
}

.order-header {
    padding: 10px;
    margin-bottom: 20px;
    margin-top: 20px;
    background-color: white;
    border: 1px solid #a6c9e2;
    border-radius: 5px;
}

.order-detail.order-item {
    cursor: default;
}

.bold {
    font-weight: bold;
}
/* end orders*/

.articles-microsite-produst-selection-mode {
    border-radius: 5px;

}

.articles-microsite-produst-selection-mode .ui-button {
    padding: 7px;
    width: 160px;
    background-color: #e2e2e2;
    color: #717171;
    border: 0;
    text-shadow: 0px 0px 5px rgba(255,255,255,1);

    border-left: solid 2px #e9e9e9;
    border-top: solid 2px #eaeaea;
    border-right: solid 2px #dddddd;
    border-bottom: solid 2px #dddddd;
}

.articles-microsite-produst-selection-mode .ui-button.ui-state-active {
    background-color: #ffb60a;
    color: #f5f5f5;
    font-weight: bold;
    text-shadow: 0px 0px 10px rgba(0,0,0,0.15);

    border-left: solid 2px #f3aa0a;
    border-top: solid 2px #f4ad0a;
    border-right: solid 2px #ffbf1c;
    border-bottom: solid 2px #ffbf1c;
}

.articles-microsite-produst-selection-mode .ui-button:hover {
    border:solid 2px #ffffff !important;
    background: #e7e7e7 !important;
    color: #858585 !important;
    text-shadow: 1px 1px 1px rgba(255,255,255,1);
}
.articles-microsite-produst-selection-mode .ui-button.ui-state-active:hover {
    border:solid 2px #f3aa0a !important;
    background: #f4ab0a !important;
    color: #ffffff !important;
    text-shadow: 0px 0px 5px rgba(0,0,0,0.3);
}

.articles-microsite-produst-selection-mode .ui-button:first-child:not(:last-child) {
    border-bottom-left-radius: 7px;
    border-top-left-radius: 7px;
}

.articles-microsite-produst-selection-mode .ui-button:last-child:not(:first-child) {
    border-bottom-right-radius: 7px;
    border-top-right-radius: 7px;
}

p-dialog .ui-dialog.ui-widget.ui-dialog-draggable{
    position:absolute;
    z-index: 2000!important;

}
p-dialog .ui-dialog-content.ui-widget-content{
    height:70%;
    /*position: relative;*/
}


.producer-selector-selected{
    background-color: rgba(0, 166, 221, 0.54);
}

.thumb-div {
    background-color: #efefef;
    color: #777;
    padding: 6px;
    border: solid #bebebe 1px;
    font-weight: bold;
    cursor: pointer;
    margin: 0 6px 6px 0;
}

.model-table {
    width: 100%;
}

.half-width {
    width: 50%;
    padding: 6px;
}

.full-width {
    width: 100%;
    padding: 6px;
}

.header-cell-inner {
    height: 100px;
}

.tall-cell-inner {
    height: 250px;
}

.model-paper {
    border: solid #d0d0d0 1px;
    padding: 6px;
    margin: 24px auto;
    /*width: 866px;*/
}

.link-input {
    width: 75%;
}

.dynamic-row {
    border: solid #ddd 1px;
    min-height: 40px;
    display: block;
}

.dynamic-row-selected {
    border: solid red 1px !important;
}

.label-calendar {
    display: block;
}

.image-container {
    position: relative;
    display: inline-block;
    border: dotted #ddd 2px;
}

.product-container {
    position: relative;
    display: inline-block;
    border: dotted #ddd 2px;
    width: 263px;
}

.snippet-container {
    position: relative;
    width: 100%;
}

.dynamic-item-selected {
    border: dotted #dd8c07 2px;
}

.image-tools {
    position: absolute;
    right: 5px;
    padding: 3px;
}

.tool-link {
    cursor: pointer;
    border: solid #000064 1px;
    padding: 3px;
    border-radius: 3px;
    color: #fff;
    background-color: #9090ff;
}

.button-icon {
    margin-right: 5px;
}

.btn-left-margin {
    margin-left: 61px;
}

.newsletter-select-container {
    display: block;
    overflow: visible;
    height: 325px;
}

/* NEWSLETTER PRODUCT-BOX */

.product-text-info {
    margin-top: 5px;
    position: relative;
    float: left;
    width: 100%;
    min-height: 1px;
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
}

.product-text-info a {
    text-decoration: none;
}

.product-text-info a:hover {
    color: #003a7c
}

.product-image {
    text-align: center;
    margin-top: 5px;
}

.product-image-image {
    width: 250px;
}

.product-title {
    margin-bottom: 5px;
}

.product-link-title {
    word-break: break-all;
    color: #000;
    font-weight: 700;
    font-size: 16px;
    line-height: 22px;
    height: 44px;
    overflow: hidden;
    display: inline-block;
    max-width: 100%;
}

.product-code {
    font-size: 12px;
    margin-bottom: 3px;
}

.product-annotation {
    color: #6d7878;
    font-size: 13px;
    font-weight: 300;
    line-height: 18px;
    display: inline-block;
    height: 54px;
    overflow: hidden;
}

.product-price-main {
    font-weight: 700;
    font-size: 20px;
    position: relative;
    color: #ff8400;
    height: 28px;
    text-align: right;
}

/* END NEWSLETTER PRODUCT-BOX */

.newsletter-textarea {
    width: 100%;
    min-height: 250px;
    font-family: monospace;
}

.file-upload {
    display: inline-block !important;
}

.upload-attr {
    font-weight: 700;
    color: #777;
}

.dialog-message {
    margin: 10px 0 10px;
}

.input-group-btn {
    font-size: inherit;
}

.grey-icon {
    color: #777;
}

.green-icon {
    color: #00b100;
}

.access {
    padding: 4px;
    text-align: center;
    width: 55px;
}

.access-none {
    background-color: #d8d8d8;
}

.access-read {
    background-color: rgba(13, 147, 216, 0.34);
}

.access-write {
    background-color: rgba(0, 177, 0, 0.22);
}

.access-user-name {
    vertical-align: middle;
}

/**
 * Defines the stytes for debug window.
 */
.debug {
    position: fixed;
    left: 80px;
    top: 10px;
    width: 250px;
    z-index: 1050;
    padding: 1px;

    font-family: Arial, sans-serif;
    background-color: rgb(255, 255, 255);
}

.debug table {
    border: 1px solid #DBDBDB;
    width: 100%;
    border-collapse: collapse;
}

.debug table tr td {
    border: 1px solid #DBDBDB;
    font-size: 12px;
    color: #000;
    padding: 2px 2px;
    width: 50%;
}

.debug table thead tr th {
    border: 1px solid #DBDBDB;
    font-size: 12px;
    color: #000;
    padding: 2px 2px;
    width: 50%;
}

.debug table tr td:nth-child(1) {
    text-align: left;
}

/*Quill editor*/
.ql-snow .ql-editor img {
    max-width:none!important;
}

/*Redis Cahce*/
.redis-note {
    margin-left: 12px;
}

.redis-heading-small {
    font-size: 61%;
    color: black;
}

.btn-redis {
    width: 150px;
}

/*options page*/
.img-server-input {
    width: 315px !important;
}

/*growl*/
.zIndex div.ui-growl.ui-widget {
    z-index: 2000 !important;
}

.top-margin {
    margin-top: 12px;
}

/*product search*/
.search-container {
    overflow: scroll;
    height: 250px;
    background-color: white;
    border: solid 1px #c0c0c0;
    position: absolute;
    z-index: 1;
    width: 100%;
}

.searchTable tr:hover {
    background-color: rgba(0,0,0,0.1);
}

.searchTable td {
    padding:2px;
    cursor: pointer;
}

/*reviews*/
.review-item {
    background-color: white;
    padding: 12px;
    border: solid 1px #c0c0c0;
}

.review-text {
    margin-top: 12px;
    margin-bottom: 12px;
}

.review-delete {
    position: absolute;
    right: 30px;
    width: 17px;
    height: 17px;
    text-align: center;
    background-color: #e2e2e2;
    cursor: pointer;
}

.review-rating-pro {
    color: green;
    margin-right: 6px;
}

.review-rating-con {
    color: red;
    margin-right: 6px;
}

/*company address in Emails section*/

.half-top-margin {
    margin-top: 6px;
}

.input-middle {
    width: 23em;
}

.input-short {
    width: 7em;
}

.grey-blue {
    color: #73879C;
}

/*timer service*/
.h3-timer {
    margin-right: 12px;
    cursor: default;
}

/*translations component*/
.translationsSearchResult {
    cursor: pointer;
    padding: 3px;
}

.translationsSearchResult:hover {
    background-color: rgba(115, 135, 156, 0.3);
}

.search-fix {
    display: flex;
}

.search-fix button {
    height: auto !important;
}

/*Rights page*/
.col-rights {
    max-width: calc(100vw - 260px);
    overflow-x: auto;
}

.table-rights th:first-child,
.table-rights td:first-child {
    position: sticky;
    left: 0;
    background-color: #f5f5f5;
}

.ui-autocomplete-multiple {
    width: 100%;
}

.ui-autocomplete-multiple .ui-inputtext {
    background-color: #ffffff;
    width: 100%;
}

.ui-autocomplete-multiple.ui-autocomplete-dd .ui-inputtext {
    width: calc(100% - 26px);
}

.ui-autocomplete-multiple input[type=text] {
    border: 0;
    background-color: transparent !important;
}

/*contacts*/
.address-list-header {
    font-weight: bold;
    border-bottom: 2px #2191c0 solid;
}

.address-list {
    border: 1px solid #a6c9e2;
    border-radius: 5px;
    background-color: white;
    padding: 10px;
    margin-bottom: 20px;
}

.address-item:nth-child(1) {
    background-color: #d9edf7;
}

.address-item:nth-child(odd) {
    background-color: #d9edf7;
}

.address-item:hover {
    background-color: rgb(121, 201, 236);
}


/* FontAwesome + PrimeNg fix */
.fa-close:before {
    content: "\f00d";
}

/* PrimeNG AutoComplete */
p-autocomplete.stretch .ui-autocomplete {
    width: 100%;
}

p-autocomplete.stretch .ui-autocomplete .ui-inputtext {
    background-color: #ffffff;
    width: 100%;
}

p-autocomplete.stretch .ui-autocomplete-dd .ui-inputtext {
    width: calc(100% - 26px);
}

p-autocomplete.stretch .ui-autocomplete-multiple input[type=text] {
    border: 0;
    background-color: transparent !important;
}

/* BootStrap Tabs */
.tab-pane .panel.panel-default {
    border-top: 0px;
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
}

.marginTooltip.ui-tooltip {
    max-width: 20em;
}