﻿/* Import TwpCustomDefault.css */

 @import url("TwpCustomDefault.css");

/* After update to 2.26.15.10 */
#header.ui-widget-header {
  display: block !important;
}

#title.TopMenu.Logon {
	height: 0px;
}

/* adjust main div */

html, body {
    height: 100%;
}

#main {
    height: 80vh;   /* or fixed height */
}


#logon {
	background-color: #1F3B71;
}

/* hide amcs logo */
.panel-header {
	display: none !important;
}

.ForgotPassword {
	margin-top: 10px;
}
.ForgotPassword a {
    font-family: Arial !important;
    font-size: .6em !important;
    color: #5c87b2 !important;
	text-decoration: none !important;
}

label {
	display: none !important;
}


@media only screen and (min-device-width: 480px) {
    #logon #UserName,
    #logon #Password {
        text-align: center !important;
    }
}

#ChangeServerUrlForNativeApp {
  display: none !important;
}

@media only screen and (min-device-width: 480px) {
    #logon.LogonPanel input[type=button] {
		font-size: 1.5em !important;
		color: #22505F !important;
	}
	#logon.LogonPanel #Login {
		color: #22505F !important;
	}
		
}

/* Adjust grid buttons */

#PortalButtonGrid .PortalButton .ButtonImage, #PortalButtonList .PortalButton .ButtonImage {
	width: 160px !important;
    height: 125px !important;
	left: 45% !important;
}

	


/* colors for trips*/ 
/*
Gul for "tur klar til pluk"
Grøn for "tur slutplanlagt"
Lyseblå "tur i gang"

a.TripAnchor.ui-btn.ui-btn-icon-right.ui-icon-carat-r.Scheduled {
  background-color: #3cde47;  status=slutplanlagt color: green 
}
 
a.TripAnchor.ui-btn.ui-btn-icon-right.ui-icon-carat-r.Arrived {
  background-color: #61efff;   status=i gang color: turkis 
}
*/

/* DataTables */

.paginate_disabled_previous,
.paginate_enabled_previous,
.paginate_disabled_next,
.paginate_enabled_next
{
	color: white !important;
}

/* Icon colors */
.TFPTable td .ButtonList li .ui-icon { background-image: url(../Content/images/ui-icons_22505F_256x240.png); }

.ui-icon.Disabled,
.TFPTable td .ButtonList li.Disabled .ui-icon
{ background-image: url(../Areas/Core/Content/Images/ui-icons_cccccc_256x240.png); }

thead.DataTableThead.ui-widget-header, .dataTable.ui-widget-content { border: none; }

button, .ui-button span, input[type='submit'], input[type='button'] { font-size: 0.9em; }

#RoutesTable td
{
	border-left: 1px solid #DDD !important;
}
#TourListTable td
{
	border-left: 1px solid #DDD !important;
}

.TFPTable tfoot td  {
	background: white;
}
.TFPTable  td{
	border-left: 1px solid #DDD !important;
}

/* Custom fonts */
@font-face
{
	font-family: 'DinNextRegular';
	src: url('../Content/Fonts/DINNextLTPro-Regular.eot');
	src: url('../Content/Fonts/DINNextLTPro-Regular.eot?#iefix') format('embedded-opentype'),
		url('../Content/Fonts/DINNextLTPro-Regular.woff2') format('woff2'),
		url('../Content/Fonts/DINNextLTPro-Regular.woff') format('woff'),
		url('../Content/Fonts/DINNextLTPro-Regular.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face
{
	font-family: 'DinNextBold';
	src: url('../Content/Fonts/DINNextLTPro-Bold.eot');
	src: url('../Content/Fonts/DINNextLTPro-Bold.eot?#iefix') format('embedded-opentype'),
		url('../Content/Fonts/DINNextLTPro-Bold.woff2') format('woff2'),
		url('../Content/Fonts/DINNextLTPro-Bold.woff') format('woff'),
		url('../Content/Fonts/DINNextLTPro-Bold.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

/* Use bold font instead of making the regular font bold. Bold makes regular look smudgy */
table thead th,
table td.bold,
.ui-toolbar .dataTables_info .Bold,
.TFPTable thead th,
.TFPTable tfoot tr td.GuaranteedHours,
.outerscrolltable thead th,
.outerscrolltable2 div.SchedulingGroup,
h1,
H2,
H3,
H4,
.h4,
.PortalGridMenuText,
.PortalMenuText,
.MenuItem,
td.eventsOnTrip,
td.driverAssigned,
#ordersPanel #unresolvedTable td.releaseOveraccounted,
#ordersPanel #unresolvedTable td.releaseUnaccounted,
#terminalCalendarDetailsPanel .terminalCalendarDetailsTitle,
div#NotificationTable table td,
#GreenergyCustomerWelcomeScreen span.NotificationDate,
.ui-widget-header,
b,
caption,
.ui-toolbar .LengthWrapper ul li.ui-selected,
.VerticalLabelValue .Head,
.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current,
#viewDeleteDetails div.AssociatedRolesMessage,
.DashboardButtons li,
.KOLabelTable .KOLabelText,
.KOLabelTable .KOLabelSubText,
.KOLabelTable .KOLabelHeader,
#dropboxDiv
{
	font-family: 'DinNextBold';
	font-weight: normal;
	color:white;
}

#title { background-color: #1F3B71; } /* Rema mørkeblå 114b94*/ 

.dataTables_wrapper .ui-widget-header, .TFPPanel, table.TFPTable , .KpisListControl
.DropDownFilter, .DropDownFilter, .DatePickerButtonGroup , .ui-widget-header,
.dataTables_wrapper .ui-widget-header { 
    background-color: #1F3B71;
	background: #1F3B71;
	border: #1F3B71;
}

.ui-widget-header {
    background: #1F3B71;
}

.dataTables_wrapper .ui-widget-header {
    background-color: #1F3B71;
}

.IconWrapper { height: 20px; }

.TFPTable tbody tr:hover {
    background-color: #e8e8e8 !important;
}

#StatusChangeViewMenuAnchor.MenuViewAnchor.ui-btn {display: none !important; }



#logo a
{
	position: absolute;
	background-image: Url('Images/Rema_logo2.jpg');
	background-repeat: no-repeat;
	background-size: 100%;
	width: 200px;
	height: 55px;
	top: 0px;
	z-index: 51;
	display: inline-block !important;
	overflow: hidden;
}

#pageheader {
    left: 195px;
}

.ui-widget-content {
	background: #1F3B71;
    color: #c8c8c8;	
	width:auto !important;
}

.TFPTable:not(.tr) {
    color: black;
}

H4, .h4 {
    color: white;
}

#MainPortalButtonGrid, #PortalButtonGrid {
    background-color: white;
}
#PortalButtonList .PortalAnchor, #PortalButtonList .PortalButton, #PortalButtonGrid .PortalAnchor, #PortalButtonGrid .PortalButton {

    border-radius: 15%;
}

#PortalButtonList .PortalButton .ButtonImage, #PortalButtonGrid .PortalButton .ButtonImage {
    position: absolute;
    z-index: 2;
    background-image: Url('Images/Rema-logo-lille4.svg');
    background-repeat: no-repeat;
    background-position: top;
	background-size: 75%;
	margin-top: 2%;
}
#PortalButtonList .PortalButton, #PortalButtonGrid .PortalButton {
    position: relative;
    background-image: none;
    background-color: #1F3B71;
}

@media only screen and (min-device-width: 480px) 
{.PortalMenuText {
    position: absolute;
    z-index: 3;
    top: 60%;
    font-size: 110%;
    font-weight: 200;
    width: 90%;
    text-align: center;
	color: white;
	margin-top: 20px;
}

 body.Logon{
	background-image: none;
	background-color: #1F3B71;
	background-size: 100%;
}

@media only screen and (max-device-width: 500px){
.Logon #logo a {
    visibility: visible !important;
}}

html, body {
    height: 100%;
	background-color: white
}

#version {
    font-size: 1em;
    color: #ffffff;
    bottom: 1%;
    z-index: 10;
	font-family: none;
}

#logon input, #logon #ChangeServerUrlForNativeApp {
    background-color: rgb(255,255,255) !important;
}

#logon.LogonPanel
{
	position: static;
	margin-left: auto;
	margin-right: auto;
	width: max-content;
	font-size: 1.5em;
}
	

@media only screen and (max-device-width: 480px){
#logon {
    width: max-content;
}}

#logon {
    max-width: 3500px;
	width: 3500px;
	padding: 50px 30px;
}

#logon .buttons {
    position: relative;
    right: 0px; 
}


.Logon.MobileMode #PasswordWrapper {
	width: 100%;
	position: relative;
	top: 10%;
	padding-top: 30px;
	height: 300px;
	}
	
#logon.LogonPanel.MobileMode {
position: static;
margin-left: auto;
margin-right: auto;
width: 300px;
font-size: 1.5em;
}

.Logon.MobileMode #logon {
	padding: 0% 8%;
    vertical-align: top;
	max-width: 350px;

}
#logon input[type='text'], #logon input[type='password'] {
    width: 93%;
}

@media only screen and (max-device-width: 4800px){
#logon input, #logon #ChangeServerUrlForNativeApp {
    border: 1px solid black;
    -moz-border-radius: 10px!important;
    -webkit-border-radius: 10px!important;
    -khtml-border-radius: 10px!important;
    border-radius: 10px!important;
    font-size: 1.5em;
    padding: 4px 3px;
    outline: 0;
    -webkit-appearance: none;
    margin: 5px;
	text-align: center;
}

@media only screen and (max-device-width: 4800px){
#UserName, #Password {
    background: none!important;
}}

@media only screen and (max-device-width: 4800px){
#logon.  {
    position: absolute;
    width: 75%!important;
    margin-left: -52%;
    left: 50%;
    top: 55px;
    background: 0;
    visibility: hidden;
} }

#logon .ui-button {
	width: 75% !important;
    height: 50% !important;
	color: #22505F !important;
}
#logon.LogonPanel {
    font-size: 0.75em
}

.ForgotPassword {
    font-size: 2.75em
}

@media only screen and (max-device-width: 4800px){
#logon input[type='text'], #logon input[type='password'] {
    height: 25px!important;
    font-size: 1.5em!important;
}
}

#logon .buttons {
    text-align: center;
    margin-top: 10px;
}

ul.submenu li a {    
    color: white !important;    
}

#menu .ui-icon {    
    background-color: inherit;
}

#pageheader .ui-icon {
    display: inline-block;
    vertical-align: sub;
    background-image: url(../Areas/Core/Content/Images/ui-icons_ffffff_256x240.png);
}

.ui-widget-header .ui-icon {
    background-image: url(../Areas/Core/Content/Images/ui-icons_ffffff_256x240.png);
}

.ui-toolbar .dataTables_info .ShowingText {
    color:white;
}

.ui-widget-header a {
    color: white !important;	
}

table.dataTable thead th.sorting, table.dataTable thead th.sorting_asc, table.dataTable thead th.sorting_desc {    
    color: white;
}

.ui-toolbar .ButtonPlaceholder .ButtonList {   
    color: white;
}

.TableContainer{
	height:80vh;
}
div.dataTables_scrollHead{
	overflow:initial !important;
}

div.dataTables_scrollBody{
	overflow:initial !important;
}

div.dataTables_wrapper, table.TFPTable:not(.dataTable) {
    height:inherit;
}

.ui-dialog .ui-dialog-buttonpane {
    text-align: left;
    border-width: 1px 0 0 0;
    background-image: none;
    margin-top: .5em;
    padding: 0;
}

.ColumnFilterPlaceHolder, .dataTables_scroll {
    height: inherit;
    overflow: auto;
    scroll-behavior: auto;
}

.dataTable-green-row{
	background-color: rgb(207, 232, 202) !important;
}

.dataTable-yellow-row{
	background-color: rgb(255, 254, 214) !important;
}

.dataTable-orange-row{
	background-color: rgb(255, 210, 121) !important;
}

.dataTable-red-row{
	background-color: rgb(203, 0, 0) !important;
	color:white;
}