/**
 * Created By: Salvador G. Jasso
 * Creation Date: 29/11/2019
 * Last Modifier: Salvador G. Jasso
 * Last Modification: 06/06/2023
 *
 * feat: Services_UpgradeChat PBI #94926
 * feat: ServicesImporter PBI #87225, #
 * feat: ServicesExpress_UpgradeContacts PBI #80051
 * fix: fix_ServicesFilters #78326
 * Feat: Upgrade_ServicesDynamicClientRender PBI #20821, #22911, #22912, #22913, #22914 #27266
 * Feat: ServiceMultimedia PBI #22915, #24658
 * Feat: fix_Services_v1.1 BUG #25764, #25770
 * Feat: fix_ServiceMultimedia BUG #24547
 */

/* Win styles look smooth*/
#servicesWin .x-panel-body-default {
    border: none;
}

/* .x-window-header-text-container-default {
    text-align: center;
} */

.x-tab-bar-default-left,
.x-tab-bar-strip {
    background-color: #fff !important;
}

#ServicesContainer .x-toolbar-default {
    border-color: white;
}

/* Excel download button style */
.icon_excel_services {
    background-image: url('../../../../ext-4/src/ux/exporter/excelbuttonhover.png') !important;
}
.x-btn.icon_excel_services {
    height: 22px !important;
    width: 65px !important;
    background: no-repeat;

    border: 0.0px;
    border-radius: 4px;

    margin-right: auto !important;
    margin-left: auto !important;

    -webkit-transition: all 150ms ease-in-out;
    -moz-transition: all 150ms ease-in-out;
    -ms-transition: all 150ms ease-in-out;
    -o-transition: all 150ms ease-in-out;
    transition: all 150ms ease-in-out;
    transition-duration: 0.2s;
}
.x-btn.icon_excel_services:hover {
    background-image: url('../../../../ext-4/src/ux/exporter/excelbutton.png') !important;
}

/* Estilos dedicados a los módulos de Servicios y Servicios Express */
.icon-upload-image {
    /* width: 18px!important;
    height: 18px!important;

    margin-right: auto !important;
    margin-left: auto !important;
    background-repeat: no-repeat; */

    background-image: url('../icons/upload-arrow.png') !important;
    /* height: 22px !important; */
}

.icon-download-promos {
    background-image: url('../icons/download_white.png') !important;
    vertical-align: middle;
    margin-right: 3px;
}

.promo-note {
    background-color: #d1fcdb !important;
}

/* Action Chat */
div.chat_send.x-btn {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ServicesMultimedia Styles */

.multimedia_sectionSelector .x-panel-body {
    background: #323232 !important;
}

/* ServicesMultimedia Panel Selector */

.x-btn.multimedia_toggleCategoryButton {
    cursor: pointer;
    font-size: 24px !important;
    font-weight: bold !important;
    color:rgb(181, 181, 181);

    padding: 12px 7px 12px 7px;
    margin-top: 7px;
    margin-bottom: 7px;
    
    border: 0.0px;
    border-radius: 10px;

    background: #323232;

    text-align: center;
    text-decoration: none;

    -webkit-transition: all 150ms ease-in-out;
    -moz-transition: all 150ms ease-in-out;
    -ms-transition: all 150ms ease-in-out;
    -o-transition: all 150ms ease-in-out;
    transition: all 150ms ease-in-out;
    transition-duration: 0.2s;
}

.multimedia_toggleCategoryButton:hover {
    font-size: 18px !important;
    color:rgb(255, 255, 255);
    background: #494949;
}

.x-btn-pressed.multimedia_toggleCategoryButton  {
    cursor: pointer;
    font-size: 24px !important;
    font-weight: bold !important;
    color:rgb(255, 255, 255);

    padding: 14px 14px 14px 14px;
    margin-top: 8px;
    margin-bottom: 8px;

    border: 0.0px;
    border-radius: 10px;
    
    background: #494949 !important;

    -webkit-transition: all 150ms ease-in-out;
    -moz-transition: all 150ms ease-in-out;
    -ms-transition: all 150ms ease-in-out;
    -o-transition: all 150ms ease-in-out;
    transition: all 150ms ease-in-out;
    transition-duration: 0.2s;
}

/* ServicesMultimedia Interaction Buttons */

.multimedia_createFileButton {
    background-image: url('../images/servicesMultimedia/fileCreate.png') !important;
}
.x-btn.multimedia_createFileButton {
    /* height: 39px !important; */
    width: 110px !important;
    background: no-repeat;

    border: 0.0px;
    border-radius: 4px;

    margin-right: auto !important;
    margin-left: auto !important;

    -webkit-transition: all 150ms ease-in-out;
    -moz-transition: all 150ms ease-in-out;
    -ms-transition: all 150ms ease-in-out;
    -o-transition: all 150ms ease-in-out;
    transition: all 150ms ease-in-out;
    transition-duration: 0.2s;
}
.x-btn.multimedia_createFileButton:hover {
    background-image: url('../images/servicesMultimedia/fileCreate_hover.png') !important;
}
.x-btn-pressed.multimedia_createFileButton {
    background-image: url('../images/servicesMultimedia/fileCreate_pressed.png') !important;
}
.multimedia_createFileButton_disabled {
    background-image: url('../images/servicesMultimedia/fileCreate_disabled.png') !important;
}
.x-btn.multimedia_createFileButton_disabled {
    height: 39px !important;
    width: 110px !important;

    border: 0.0px;
    border-radius: 4px;

    margin-right: auto !important;
    margin-left: auto !important;
}

.multimedia_updateFileButton {
    background-image: url('../images/servicesMultimedia/fileUpdate.png') !important;
}
.x-btn.multimedia_updateFileButton {
    /* height: 39px !important; */
    width: 110px !important;
    background: no-repeat;

    border: 0.0px;
    border-radius: 4px;

    margin-right: auto !important;
    margin-left: auto !important;

    -webkit-transition: all 150ms ease-in-out;
    -moz-transition: all 150ms ease-in-out;
    -ms-transition: all 150ms ease-in-out;
    -o-transition: all 150ms ease-in-out;
    transition: all 150ms ease-in-out;
    transition-duration: 0.2s;
}
.x-btn.multimedia_updateFileButton:hover {
    background-image: url('../images/servicesMultimedia/fileUpdate_hover.png') !important;
}
.x-btn-pressed.multimedia_updateFileButton {
    background-image: url('../images/servicesMultimedia/fileUpdate_pressed.png') !important;
}
.multimedia_updateFileButton_disabled {
    background-image: url('../images/servicesMultimedia/fileUpdate_disabled.png') !important;
}
.x-btn.multimedia_updateFileButton_disabled {
    height: 39px !important;
    width: 110px !important;

    border: 0.0px;
    border-radius: 4px;

    margin-right: auto !important;
    margin-left: auto !important;
}

.multimedia_deleteFileButton {
    background-image: url('../images/servicesMultimedia/fileDelete.png') !important;
}
.x-btn.multimedia_deleteFileButton {
    /* height: 39px !important; */
    width: 110px !important;
    background: no-repeat;

    border: 0.0px;
    border-radius: 4px;

    margin-right: auto !important;
    margin-left: auto !important;

    -webkit-transition: all 150ms ease-in-out;
    -moz-transition: all 150ms ease-in-out;
    -ms-transition: all 150ms ease-in-out;
    -o-transition: all 150ms ease-in-out;
    transition: all 150ms ease-in-out;
    transition-duration: 0.2s;
}
.x-btn.multimedia_deleteFileButton:hover {
    background-image: url('../images/servicesMultimedia/fileDelete_hover.png') !important;
} 
.x-btn-pressed.multimedia_deleteFileButton {
    background-image: url('../images/servicesMultimedia/fileDelete_pressed.png') !important;
}
.multimedia_deleteFileButton_disabled {
    background-image: url('../images/servicesMultimedia/fileDelete_disabled.png') !important;
}
.x-btn.multimedia_deleteFileButton_disabled {
    height: 39px !important;
    width: 110px !important;

    border: 0.0px;
    border-radius: 4px;

    margin-right: auto !important;
    margin-left: auto !important;
}

.multimedia_downloadFileButton {
    background-image: url('../images/servicesMultimedia/fileDownload.png') !important;
}
.x-btn.multimedia_downloadFileButton {
    /* height: 39px !important; */
    width: 110px !important;
    background: no-repeat;

    border: 0.0px;
    border-radius: 4px;

    margin-right: auto !important;
    margin-left: auto !important;

    -webkit-transition: all 150ms ease-in-out;
    -moz-transition: all 150ms ease-in-out;
    -ms-transition: all 150ms ease-in-out;
    -o-transition: all 150ms ease-in-out;
    transition: all 150ms ease-in-out;
    transition-duration: 0.2s;
}
.x-btn.multimedia_downloadFileButton:hover {
    background-image: url('../images/servicesMultimedia/fileDownload_hover.png') !important;
}
.x-btn-pressed.multimedia_downloadFileButton {
    background-image: url('../images/servicesMultimedia/fileDownload_pressed.png') !important;
}
.multimedia_downloadFileButton_disabled {
    background-image: url('../images/servicesMultimedia/fileDownload_disabled.png') !important;
}
.x-btn.multimedia_downloadFileButton_disabled {
    height: 39px !important;
    width: 110px !important;

    border: 0.0px;
    border-radius: 4px;

    margin-right: auto !important;
    margin-left: auto !important;
}
.redBackground .x-grid-cell  {
	background-color: rgb(255, 133, 133) !important;
}

/* stylish smooth appearance on disabled items. */
:is(#ServicesExpress_tabContacts, #ServicesImporter_tabContacts, #ServicesImporter_tabPlaces) .x-item-disabled .x-form-item-label,
:is(#ServicesExpress_tabContacts, #ServicesImporter_tabContacts, #ServicesImporter_tabPlaces) .x-item-disabled .x-form-field,
:is(#ServicesExpress_tabContacts, #ServicesImporter_tabContacts, #ServicesImporter_tabPlaces) .x-item-disabled .x-form-display-field,
:is(#ServicesExpress_tabContacts, #ServicesImporter_tabContacts, #ServicesImporter_tabPlaces) .x-item-disabled .x-form-cb-label,
:is(#ServicesExpress_tabContacts, #ServicesImporter_tabContacts, #ServicesImporter_tabPlaces) .x-item-disabled .x-form-trigger {
    opacity: 0.8;
}

/* TabpanelContacts - bar settings */
:is(#ServicesExpress_tabContacts, #ServicesImporter_tabContacts, #ServicesImporter_tabPlaces) .x-tab-bar-default {
    background-color: transparent;
}
:is(#ServicesExpress_tabContacts, #ServicesImporter_tabContacts, #ServicesImporter_tabPlaces) .x-tab-bar-body-default-bottom {
    padding-top: 0px;
}

/* TabpanelContacts - panel content */
:is(#ServicesExpress_tabContacts, #ServicesImporter_tabContacts) .x-panel-body-default {
    color: black;
    /* border: 0.0px; */
    border-radius: 0.5em;
    border-width: 1px;
    border-color: #2890b1;
}

/* TabpanelPlaces - panel content */
:is(#ServicesImporter_tabPlaces) .x-panel-body-default {
    color: black;
    /* border: 0.0px; */
    border-radius: 0.5em;
    border-width: 1px;
    border-color: #b16a28;
}
:is(#ServicesExpress_tabContacts, #ServicesImporter_tabContacts, #ServicesImporter_tabPlaces) .x-tab-bar-body-default-bottom {
    padding-top: 0px;
}

/* TabpanelContacts - tab buttons global */
:is(#ServicesExpress_tabContacts, #ServicesImporter_tabContacts, #ServicesImporter_tabPlaces) .x-tab {
    display: block;
    white-space: nowrap;
    float: left;
    outline: none;

    margin-top: 0px;
    border-radius: 0.5em;
    border: 1px solid #ccc;
    background-color: transparent;

    transition: 0.3s;
}

/* TabpanelContacts - tab button state default */
:is(#ServicesExpress_tabContacts, #ServicesImporter_tabContacts, #ServicesImporter_tabPlaces) .x-tab-default {
    background-color: white;
}
:is(#ServicesExpress_tabContacts, #ServicesImporter_tabContacts, #ServicesImporter_tabPlaces) .x-tab-inner {
    font-weight: normal;
    color: black;
}

/* TabpanelContacts - tab button state active */
:is(#ServicesExpress_tabContacts, #ServicesImporter_tabContacts) .x-tab-active {
    background-color: #2890b1;
    -webkit-transition: all 150ms ease-in-out;
    -moz-transition: all 150ms ease-in-out;
    -ms-transition: all 150ms ease-in-out;
    -o-transition: all 150ms ease-in-out;
    transition: all 150ms ease-in-out;
    transition-duration: 0.2s;
}

/* TabpanelPlaces - tab button state active */
:is(#ServicesImporter_tabPlaces) .x-tab-active {
    background-color: #b16a28;
    -webkit-transition: all 150ms ease-in-out;
    -moz-transition: all 150ms ease-in-out;
    -ms-transition: all 150ms ease-in-out;
    -o-transition: all 150ms ease-in-out;
    transition: all 150ms ease-in-out;
    transition-duration: 0.2s;
}

/* TabpanelContacts - tab button state active (text apperance) */
:is(#ServicesExpress_tabContacts, #ServicesImporter_tabContacts) .x-tab-active .x-tab-inner {
    background-color: #2890b1;
    font-weight: bold;
    color:white !important;
}

/* TabpanelPlaces - tab button state active (text apperance) */
:is(#ServicesImporter_tabPlaces) .x-tab-active .x-tab-inner {
    background-color: #b16a28;
    font-weight: bold;
    color:white !important;
}

/* TabpanelContacts - tab button state active (over mouse) */
:is(#ServicesExpress_tabContacts, #ServicesImporter_tabContacts, #ServicesImporter_tabPlaces) .x-tab:hover {
    cursor: pointer;
}

/* ServicesImporter - Row tint */
.yellowBackground .x-grid-cell  {
	background-color: yellow !important;
}
.redBackground .x-grid-cell  {
	background-color: rgb(255, 133, 133) !important;
}
.grayBackground .x-grid-cell  {
	background-color: #e0e0e0 !important;
}