﻿
/***** Dansac Orange Colour Styles *****/

video {
    width: 100% !important;
    height: auto !important;
}

/*dxCalendar*/
.dx-calendar.dx-calendar-with-footer .dx-calendar-footer .dx-button {
    background: #f79239;
}

.dx-calendar-cell.dx-calendar-today {
    color: #f79239;
}

.dx-calendar-cell.dx-calendar-selected-date, .dx-calendar-cell.dx-calendar-selected-date.dx-calendar-today {
    background: #f79239;
}

/*dxButton*/
.dx-theme-generic .dx-button {
    background: #f79239;
}

.loginButton .dx-theme-generic.dx-button {
    background: transparent !important;
    border: solid 2px #FFE !important;
}

/*dxPopup*/
.dx-theme-generic .dx-popup-wrapper .dx-overlay-content .dx-popup-title {
    background: #f79239;
}

.dx-theme-generic .dx-dialog-root .dx-overlay-content .dx-popup-title {
    color: #f79239;
}

/*shLoadingIndicator*/
.loader {
    border-left: 0.6em solid #f79239;
}


/*Base Colours*/

.baseColourDark {
    color: #F09609;
}

.baseColourLight {
    color: #f79239 !important;
}

/*Pivot Tab Header Colour*/
.dx-theme-generic .dx-pivottabs .dx-pivottabs-tab.dx-pivottabs-tab-selected, .dx-theme-generic .dx-pivottabs .dx-pivottabs-ghosttab.dx-pivottabs-tab-selected {
    color: #F09609;
}


.dx-list .dx-list-item.dx-state-focused {
    background-color: #f79239 !important;
}

/*dxLookup*/

.dx-theme-generic .dx-popover-wrapper .dx-overlay-content .dx-popup-title {
    background: none;
    color: #F09609;
}

/*.dx-theme-generic .dx-popover-wrapper .dx-overlay-content .dx-popup-title {
    background-color: none!important
}*/

/*dxRadioGroup*/
.dx-radiobutton-checked .dx-radiobutton-icon-dot {
    background: #F09609;
}

/*dxSwitch*/
/*.dx-switch-on-value .dx-switch-handle {
    background-color: #F09609;
}*/


/* Sets the pivot container to be 100% */
/*.dx-pivot-itemcontainer {
    height: 100%;
}*/



/*.dx-fileuploader-files-container {
    position: absolute; 
    top: 0;
    right: 0;
    width: 200px;
}*/

.dx-fileuploader-input-wrapper {
    /*margin-right: 200px;*/
    /*height: 150px;
    position: absolute; 
    left: 200px;
    right: 200px;*/
}


.dx-fileuploader-dragover:hover {
    border: none !important;
}

.dx-fileuploader-dragover .dx-fileuploader-input-wrapper {
    border: none !important;
}

.dx-fileuploader-input-wrapper:hover {
    background-color: transparent;
}


/* Keeps the dashes the same on hover and not hover */
.dx-fileuploader-input-wrapper {
    border: 3px dashed lightgrey;
    /*padding: 1px;*/
}

.dx-fileuploader-dragover .dx-fileuploader-input-container {
    border: 3px dashed lightgrey;
}

.dx-fileuploader-show-file-list .dx-fileuploader-files-container {
    padding: 0;
}

.dx-fileuploader-file-container {
    padding-top: 10px;
}

.dx-theme-generic .dx-fileuploader-button {
    background: none;
    color: #f79239 !important;
}


.dx-theme-generic .dx-button.dx-fileuploader-button .dx-button-text {
    color: black !important;
    text-transform: none;
}

.dx-fileuploader-button.dx-fileuploader-cancel-button.dx-button.dx-button-normal.dx-widget.dx-button-has-icon {
    width: 50px;
    min-width: 50px;
}



.loginBackgroundImage {
    margin: 0;
    padding: 0;
    height: 100%;
    background-image: url(./images/shutterstock_161975297S.jpg);
    background-size: 100%;
    background-position: bottom;
    -webkit-transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    animation: fadeImage linear linear 1s;
    -webkit-animation: fadeImage linear 1s;
    -moz-animation: fadeImage linear 1s;
    -o-animation: fadeImage linear 1s;
    -ms-animation: fadeImage linear 1s;
    -webkit-animation-fill-mode: forwards;
}
/*.loginVideo {
    width: 100%;
    height: auto;
    max-height: 98%;    
}*/

/*.loginVideo {    
    min-width: 100%;
    min-height: 100%;
}*/

.loginVideoContainer {
    position: absolute;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

    .loginVideoContainer video {
        /*min-width: 100%;
    min-height: 100%;*/
        position: absolute;
        min-width: 100%;
        min-height: 100%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

@keyframes fadeImage {
    0% {
        filter: brightness(1);
        -webkit-filter: brightness(1);
    }

    50% {
        filter: brightness(0.8);
        -webkit-filter: brightness(0.8);
    }

    100% {
        filter: brightness(0.6);
        -webkit-filter: brightness(0.6);
    }
}

.sh-view-margin {
    margin: 20px 0 0 20px;
}

/*app colours*/

.sh-color-dansac {
    background: #f79239 !important;
}

.sh-color-dansac-font {
    color: #f79239 !important;
}

.sh-color-patientSummary {
    background: #fa6800 !important;
}

.sh-color-patientSummary-font {
    color: #fa6800 !important;
}

.sh-color-patientSummary .dx-button {
    background: none;
}

.sh-color-episodeOfCare {
    background: #56C5FF !important;
}

.sh-color-episodeOfCare-font {
    color: #56C5FF !important;
}

.sh-color-episodeOfCare .dx-button {
    background: none;
}

.sh-color-timeline {
    background: #9f00a7 !important;
}

.sh-color-timeline-font {
    color: #9f00a7 !important;
}

.sh-color-timeline .dx-button {
    background: none;
}

.sh-color-discharges {
    background: #09b9aa !important;
}

.sh-color-discharges-font {
    color: #09b9aa !important;
}

.sh-color-inpatients {
    background: #449A6B !important;
}

.sh-color-inpatients-font {
    color: #449A6B !important;
}

.sh-color-inpatients .dx-button {
    background: none;
}

.sh-color-activities {
    background: #A11055 !important;
}

.sh-color-activities-font {
    color: #A11055 !important;
}

.sh-color-activities .dx-button {
    background: none;
}

.sh-color-procedures {
    background: #D24726 !important;
}

.sh-color-procedures-font {
    color: #D24726 !important;
}

.sh-color-procedures .dx-button {
    background: none;
}

.sh-color-products {
    background: #30B2C9 !important;
}

.sh-color-products-font {
    color: #30B2C9 !important;
}

.sh-color-products .dx-button {
    background: none;
}

.sh-color-correspondence {
    background: #696969 !important;
}

.sh-color-correspondence-font {
    color: #696969 !important;
}

.sh-color-correspondence .dx-button {
    background: none;
}

.sh-color-system {
    background: rgb(50, 54, 57) !important;
}

.sh-color-system-font {
    color: rgb(50, 54, 57) !important;
}

.sh-color-system .dx-button {
    background: none;
}

.sh-color-white {
    background: #fff !important;
}

.sh-color-white {
    color: #fff !important;
}

    .sh-color-white .dx-button {
        background: none;
        /*color: black!important;*/
    }
/*.sh-color-white.dx-toolbar .dx-button .dx-icon {
        color: black !important;
    }*/


.dx-datagrid-rowsview .dx-selection.dx-row > td,
.dx-datagrid-rowsview .dx-selection.dx-row:hover > td {
    background-color: #f79239;
    color: white;
}

.dx-pager .dx-pages .dx-selection, .dx-pager .dx-page-sizes .dx-selection {
    background-color: #f79239;
}

/*Grid Highlight Types*/

.checked-grid-highlight .dx-datagrid-rowsview .dx-selection.dx-row > td,
.checked-grid-highlight .dx-datagrid-rowsview .dx-selection.dx-row:hover > td {
    background-color: #e6e6e6;
    color: #333;
}

.inpatients-grid-highlight .dx-datagrid-rowsview .dx-selection.dx-row > td,
.inpatients-grid-highlight .dx-datagrid-rowsview .dx-selection.dx-row:hover > td {
    background-color: #449A6B;
    color: #fff;
}

.activities-grid-highlight .dx-datagrid-rowsview .dx-selection.dx-row > td,
.activities-grid-highlight .dx-datagrid-rowsview .dx-selection.dx-row:hover > td {
    background-color: #A11055;
    color: #fff;
}

.products-grid-highlight .dx-datagrid-rowsview .dx-selection.dx-row > td,
.products-grid-highlight .dx-datagrid-rowsview .dx-selection.dx-row:hover > td {
    background-color: #30B2C9;
    color: #fff;
}

.correspondence-grid-highlight .dx-datagrid-rowsview .dx-selection.dx-row > td,
.correspondence-grid-highlight .dx-datagrid-rowsview .dx-selection.dx-row:hover > td {
    background-color: #696969;
    color: #fff;
}


/* Tag box */
.dx-tag-content {
    color: #fff;
    background-color: #f79239;
}

.dx-tag-remove-button:before, .dx-tag-remove-button:after {
    background: #fff;
}



/* Changes the grid headers to orange and gives them an orange border */
.dx-datagrid-headers .dx-datagrid-table .dx-row {
    color: black;
}

/* Changes tab text orange */

/* Gives tabs an orange display to show which tab is selected */
.dx-tab-selected .dx-tab-text {
    color: #f79239 !important;
    border-bottom: 2px solid #f79239 !important;
}

/* Removes the border from checkboxes */
.dx-checkbox.dx-state-readonly .dx-checkbox-icon {
    border: none;
    background-color: #e8e8e8;
}

.dx-datagrid-rowsview .dx-row:nth-last-child(2) {
    padding-bottom: 10px;
}


/*Stoma Gallery*/

#stomaGallery img {
    /*width:  166px;;
    height: 190px;*/
}

#stomaGallery .galleryDate {
    font-weight: 600 !important;
    padding: 2px 5px;
    color: black;
    text-align: left;
}

#stomaGallery .galleryExpandButton {
    position: absolute;
    top: 0;
    right: 0;
    background: #323a45 !important;
    opacity: 0.7;
    color: #fff !important;
    display: none;
}


#stomaGallery .dx-gallery-item {
    width: 170px !important;
}

    #stomaGallery .dx-gallery-item:hover {
        cursor: pointer;
        opacity: 0.7;
    }

        #stomaGallery .dx-gallery-item:hover .galleryExpandButton {
            display: block;
        }


/****** patient image Change Style *******/

.imagePickerButtons {
    width: 100%;
    text-align: center;
    position: absolute;
    bottom: 0px;
    left: 0;
    opacity: 1;
    background-color: rgba(211,211,211, 0.4);
}

    .imagePickerButtons div {
        /*border-radius: 50%;*/
        /* border: 3px solid #fff; */
        height: 46px;
        width: 50px;
        text-align: center;
        display: inline-block;
    }

        .imagePickerButtons div h3 {
            color: #fff;
            margin-top: 13px;
        }

        .imagePickerButtons div:active {
            opacity: 0.6;
        }

        .imagePickerButtons div:hover {
            opacity: 0.7;
            cursor: pointer;
        }

.patient-img-preLoad-trans {
    background: url('images/img_preload_80px.gif') no-repeat;
}

.patient-img-preLoad {
    background: url('images/img_preload_70px.gif') no-repeat;
}


/*.dx-fileuploader-file-name {
    max-width: 100% !important;
}*/


/*@media screen and (min-width : 1025px)  { 
    .iPadLandscapeSize {
        display: block;
    }   
}

@media screen and (max-width : 1024px)  { 
    .iPadLandscapeSize {
        display: none;
    }   
}*/

/*generic screen media queries*/
@media screen and (min-width : 923px) {
    .readingPaneSwitch {
        display: block;
    }

    .smallScreenSize {
        display: none;
    }

    .largeScreenSize {
        display: block;
    }
}

@media screen and (max-width : 922px) {
    .readingPaneSwitch {
        display: none;
    }

    .smallScreenSize {
        display: block;
    }

    .largeScreenSize {
        display: none;
    }
}


/*specific screen media queries*/
@media screen and (min-width : 1088px) {
    .smallScreenSize-inpatients {
        display: none;
    }
    .largeScreenSize-inpatients {
        display: block;
    }
}

@media screen and (max-width : 1087px) {
    .smallScreenSize-inpatients {
        display: block;
    }

    .largeScreenSize-inpatients {
        display: none;
    }
}


.sh-container-after-toolbar {
    position: absolute;
    top: 50px;
    bottom: 0;
    left: 0;
    right: 0;
}
