﻿/* roboto-300 - latin_latin-ext */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300;
    src: local('Roboto Light'), local('Roboto-Light'), url('fonts/Roboto-300.woff2') format('woff2'), /* Super Modern Browsers */
    url('fonts/Roboto-300.woff') format('woff'), /* Modern Browsers */
    url('fonts/Roboto-300.ttf') format('truetype'), /* Safari, Android, iOS */
    url('fonts/Roboto-300.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-regular - latin_latin-ext */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    src: local('Roboto'), local('Roboto-Regular'), url('fonts/Roboto-400.woff2') format('woff2'), /* Super Modern Browsers */
    url('fonts/Roboto-400.woff') format('woff'), /* Modern Browsers */
    url('fonts/Roboto-400.ttf') format('truetype'), /* Safari, Android, iOS */
    url('fonts/Roboto-400.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-500 - latin_latin-ext */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 500;
    src: local('Roboto Medium'), local('Roboto-Medium'), url('fonts/Roboto-500.woff2') format('woff2'), /* Super Modern Browsers */
    url('fonts/Roboto-500.woff') format('woff'), /* Modern Browsers */
    url('fonts/Roboto-500.ttf') format('truetype'), /* Safari, Android, iOS */
    url('fonts/Roboto-500.svg#Roboto') format('svg'); /* Legacy iOS */
}
/* roboto-700 - latin_latin-ext */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 700;
    src: local('Roboto Bold'), local('Roboto-Bold'), url('fonts/Roboto-700.woff2') format('woff2'), /* Super Modern Browsers */
    url('fonts/Roboto-700.woff') format('woff'), /* Modern Browsers */
    url('fonts/Roboto-700.ttf') format('truetype'), /* Safari, Android, iOS */
    url('fonts/Roboto-700.svg#Roboto') format('svg'); /* Legacy iOS */
}

html, body, .app, #wrapper, .app-body, .app-content, ng-view, .full-height {
    height: 100%;
}


body {
    /*background-color: #fff;*/ /*light theme*/ /*Added to dx-css*/
    /* background-color: #212529;*/ /*dark theme /*Added to dx-css*/
    overflow: hidden;
    font-family: "Roboto", "RobotoFallback", "Helvetica", "Arial", sans-serif;
}

ul {
    margin-top: 0;
    margin-bottom: 0;
}

p {
    margin: 0 0 10px;
}

[ng-click],
[data-ng-click],
[x-ng-click] {
    cursor: pointer;
}

.nowrap {
    white-space: nowrap;
}

.print-visible {
    display: none;
}

#wrapper {
    height: calc(100% - 56px);
}

.app-content {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.navbar {
    margin-bottom: 0;
    /*background-color: transparent;*/
    border-bottom: 1px solid #a6a6a6;
    border-radius: 0;
}

.navbar-header .logo {
    padding: 8px 0 8px 15px;
    float: left;
}

.navbar-default .navbar-brand {
    color: #474747;
}

.navbar-default .navbar-nav > li > a {
    color: #474747;
}


.language-selector-wrapper .form-control {
    width: auto;
}

.language-selector-wrapper .dx-selectbox {
    margin-top: 3px;
    margin-right: 10px;
    margin-left: 10px;
    max-width: 200px;
}

.language-selector-wrapper .dx-selectbox .dx-texteditor-input {
    color: rgba(0, 0, 0, 0.5);
}

@media (min-width: 768px) {
    .language-selector-wrapper .dx-selectbox {
        margin-left: 0;
        margin-right: 15px;
    }
}

.login-container {
    position: relative;
    width: 400px;
    max-width: 90%;
    margin: 80px auto;
    text-align: center;
}

.login-loading-icon {
    font-size: 10em;
    margin-top: 1em;
}

.form-box input {
    width: 100%;
    padding: 10px;
    text-align: center;
    height: 40px;
    border: 1px solid #ccc;
    background: #fafafa;
    transition: 0.2s ease-in-out;
    margin: 5px 0;
}

.form-box .login {
    margin-top: 15px;
    margin-bottom: 15px;
    padding: 10px 20px;
}

.personal-info-container.module-wrapper {
    padding-top: 10px;
}

.personal-info-container .portrait {
    width: 100%;
    max-width: 256px;
}

.personal-info-container > .row {
    margin-left: -5px;
    margin-right: -5px;
}

.dx-form-group-caption .edit-icon {
    float: right;
    cursor: pointer;
}

    .dx-form-group-caption .edit-icon img {
        height: 24px;
    }

.form-buttons {
    margin-top: 1em;
}

.form-group .control-label {
    text-align: left;
}

/*.tab-container {
    padding: 10px;
}*/


/*Hide search on mobile*/
@media screen and (max-width: 480px) {
    .dx-searchbox {
        display: none;
    }
}

/*Mobile column: Column that only shows on mobile*/
@media screen and (min-width: 401px) and (max-width: 1024px) {
    .mobilecolumn {
        display: none;
    }
    /* hide it elsewhere */
}

/*Override - Show search always in contactList*/
@media screen and (max-width: 480px) {
    .contactListGridContainer .dx-searchbox {
        display: inline-block;
    }
}


.contactListGridContainer .img-container {
    height: 60px;
}

.contactListGridContainer img {
    width: 100%;
    max-width: 60px;
}


.no-scroll .dx-datagrid .dx-scrollable-native.dx-scrollable-native-ios .dx-scrollable-content {
    min-height: 100%;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

#ActAndSceneGridContainer img {
    width: 100%;
    max-width: 60px;
}

.ActandSceneh4 {
    color: black;
    font-size:14px;
    font-weight:500;
}

.module-wrapper {
    padding: 0;
}

    .module-wrapper > h2 {
        margin: 0;
        padding: 10px;
    }

.module-heading {
    margin-left: 0.5em;
}

.sidemenu-module-wrapper {
    padding: 0;
    overflow-y: auto;
}

    .sidemenu-module-wrapper .selected-item {
        margin: 0;
        padding: 10px;
    }

.report-list {
    padding-top: 15px;
}

    .report-list .report {
        text-align: center;
    }

        .report-list .report img {
            margin: 0 auto;
        }

        .report-list .report .reportname {
            margin-top: 10px;
        }

        .report-list .report a {
            color: inherit;
        }

.opacityHide {
    opacity: 0;
}

.milestone-grid {
    margin-bottom: 4em;
    width: 50%;
    min-width: 500px;
}

.custom-datagrid-toolbar {
    padding: 0.5em;
}

    .custom-datagrid-toolbar .item {
        float: left;
        margin-right: 1em;
    }

        .custom-datagrid-toolbar .item:last-child {
            float: none;
            margin-right: 0;
        }

.pivotgrid-toolbar-header {
    border-bottom: 1px solid #e0e0e0;
    padding: 0 14px 0 24px;
}

.popup-header {
    margin-top: 0px;
    margin-bottom: 10px;
}


.balance-time-error {
    position: relative;
    margin-top: 10px;
    padding-left: 25px;
    color: #d9534f;
    font-weight: 500;
}

    .balance-time-error:after {
        left: 0px;
        pointer-events: none;
        font-weight: 500;
        background-color: #d9534f;
        color: #fff;
        content: '!';
        position: absolute;
        top: 50%;
        margin-top: -8px;
        width: 16px;
        height: 16px;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        -ms-border-radius: 50%;
        -o-border-radius: 50%;
        border-radius: 50%;
        text-align: center;
        line-height: 16px;
        font-size: 11px;
    }

.welcome-message {
    /*background-color: #fff; moved to theme specific css*/
    width: 100%;
    min-height: 600px;
}

.iframe-message {
    /*background-color: transparent;*/
    background-color: #fff;
    width: 100%;
    min-height: 600px;
}

    dx-datagrid-table .dx-row > td .dx-cell {
    display: flex;
}

.dx-datagrid tr.canceled > td:not(.dx-datagrid-group-space) {
    text-decoration: line-through;
}

.dx-datagrid tr.changesBackHighlight > td:not(.dx-datagrid-group-space) {
    color: #d9534f;
}

.master-detail-caption {
    padding: 0 0 5px 10px;
    font-size: 14px;
    font-weight: 700;
}

.dx-datagrid-headers .dx-datagrid-table .dx-row > td {
    padding-top: 6px;
    padding-bottom: 6px;
}

.dx-datagrid .dx-row > td {
    padding-top: 4px;
    padding-bottom: 4px;
}

.dx-datagrid-rowsview .dx-row > .dx-master-detail-cell {
    padding: 5px;
}
/*............LAB AREA..................................*/
/*Kommer åt dx-grid så de inte åker så långt åt höger
    none hides expand button but also masterdetail
    this version needs grid rows set to max width.*/

/* Petra ofärdigt arbete...
.dx-datagrid-group-space:first-of-type :not(.master-detail) {
    padding: 0px !important;
    width: 1px !important;
    min-width: 1px !important;
    display: none;
}*/

*/
/*This is what they say works (but it doesn't)*/
/*
.dx-datagrid-group-space {
    width: 1px !important;
    min-width: 1px !important;
}  */
/*......................................................*/

/*rehearsal-schedule datecolumn*/
.rehearsaldate::first-line {
    font-weight: 500;
    font-size: 14px;
}

.rehersal-schedule .dx-datagrid-rowsview .dx-datagrid-table .dx-freespace-row {
    border: 0;
}

.rehersal-schedule .dx-datagrid .dx-row-lines > td {
    border-left: 1px solid #e0e0e0;
}

    .rehersal-schedule .dx-datagrid .dx-row-lines > td:first-child {
        border-left: none;
    }

.rehersal-schedule .appointment-grid .dx-datagrid {
    background-color: transparent;
}

    .rehersal-schedule .appointment-grid .dx-datagrid .dx-row-lines > td {
        border-left: none;
    }

.rehersal-schedule .appointment-grid .dx-datagrid-table tbody tr:nth-last-child(2) td {
    border-bottom: none;
}

.dx-datagrid .dx-datagrid-rowsview .dx-datagrid-content .dx-datagrid-table .dx-row > td.table-containing-cell {
    padding: 0;
    vertical-align: top;
}

.rehersal-schedule .appointment-grid .activity-row {
    font-weight: bold;
}

.rehersal-schedule .appointment-grid .comment {
    font-style: italic;
}

.rehersal-schedule tr.collection-detail > td {
    font-size: 0.8em;
}

.limited-width-form {
    max-width: 400px;
}

.scroll-view-container .dx-popup-content {
    padding-right: 4px;
}

    .scroll-view-container .dx-popup-content .dx-scrollable-container {
        padding-right: 20px;
    }

        .scroll-view-container .dx-popup-content .dx-scrollable-container .form-buttons {
            margin-left: 2px;
            margin-bottom: 2px;
        }

/* Fix for drawer being hidden behind calendar group scheduler toolbar */
.dx-drawer .dx-drawer-panel-content {
    z-index: 2 !important;
}


.submenu-toolbar {
    background-color: rgba(191, 191, 191, .15);
    padding: 5px 10px;
}

    .submenu-toolbar.dx-toolbar .dx-toolbar-items-container {
        height: 40px;
    }


.submenu-drawer.full-height {
    height: calc(100% - 50px);
}

.submenu-drawer .dx-list-item.dx-state-hover {
    color: #000;
    background: rgba(191, 191, 191, .5);
}


.selected-submenu-item-name {
    font-size: 1.3em;
    font-weight: bold;
    margin-left: 0.5em;
    position: relative;
    top: 1px;
}

.panel-list {
    height: 100%;
}

.dx-list-item-content {
    padding-left: 10px !important;
}

.panel-list .dx-list-item {
    color: #fff;
    border-bottom: 1px solid rgba(221, 221, 221, .2);
}

    .panel-list .dx-list-item .dx-icon {
        color: #fff !important;
    }

/* This is to fix a bug in the material design style-sheet that does not show a top border on a datagrid if the headers are hidden.*/
.no-headers .dx-datagrid-borders > .dx-datagrid-rowsview, .dx-datagrid-borders > .dx-datagrid-total-footer {
    border-top: 1px solid #e0e0e0;
}

.large-button-with-icon {
    border: 1px solid #e7e7e7;
    margin: 0.5em;
    padding: 1em;
    text-align: center;
    min-height: 150px;
    width: 145px;
    background-color: #41a5ee;
    color: #fff;
    position: relative;
    float: left;
    display: block;
}

    .large-button-with-icon .name {
        margin-bottom: 1em;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .large-button-with-icon:hover {
        color: #fff;
        text-decoration: none;
        border: 1px solid #aaa;
        background-color: #0277ac;
    }

    .large-button-with-icon:active,
    .large-button-with-icon:focus {
        text-decoration: none;
        color: #fff;
    }

    .large-button-with-icon .icon {
        position: absolute;
        bottom: 0;
        font-size: 2em;
        transform: translateX(-50%) translateY(-50%);
    }

    .large-button-with-icon img {
        position: absolute;
        bottom: 0;
        transform: translateX(-50%) translateY(-50%);
    }

/* Fix for popup title getting cut off */
.dx-popup .dx-toolbar-label .dx-toolbar-item-content > div {
    overflow: visible;
}

#AboutPopup .button {
    margin-top: 1em;
}


#AttendanceForm {
    padding: 1em;
}

    #AttendanceForm .field {
        clear: both;
        margin-bottom: 2em;
    }


    #AttendanceForm .field-label {
        font-weight: bold;
    }

    #AttendanceForm .field-time,
    #AttendanceForm .field-label {
        float: left;
        margin-right: 2em;
        width: 100px;
        text-align: right;
    }

#AttendanceBreakGrid {
    max-width: 350px;
}

    #AttendanceBreakGrid label.breakList {
        margin-left: -20px;
        margin-top: -8px;
        position: absolute;
        font-size: 14px;
        color: #333;
    }

.workTimeMeasureTable {
    float: left;
    margin-top: 10px;
    margin-bottom: 10px;
}

    .workTimeMeasureTable td, .workTimeMeasureTable th {
        padding: 4px 14px 4px 14px;
        vertical-align: middle;
    }

.inlineGridButton {
    font-size: inherit !important;
    margin-right: 1em !important;
    white-space: nowrap;
}

.img-container img {
    padding-left: 2px;
    padding-top: 1.5px;
    height: 45px;
    width: 45px;
    border-radius: 50%;
}

/*Very small description text under main info in data grids*/
.undertext {
    font-size: 10px;
}


/*Language selector when logged in*/
.language-selector-wrapper2 {
    width: 145px;
}

/*@media only screen and (min-width: 600px) {
    .mobileonly {
        display: inline;
    }
}*/
