﻿/* Vestas fonts */

@font-face {
	font-family: "VestasSansLight";
	src: url(../font/VestasSans_Light.ttf) format("truetype");
}

@font-face {
	font-family: "VestasSansSemibold";
	src: url(../font/vestassans_Semibold.ttf) format("truetype");
}

@font-face {
	font-family: "VestasSans";
	src: url(../font/VestasSans_Standard.ttf) format("truetype");
}

@font-face {
	font-family: "VestasSansHeadline";
	src: url(../font/VestasSans_Headline.ttf) format("truetype");
}

/* CSS rules that override the original select2 CSS */

.select2-container .select2-choice > .select2-chosen {
	margin-right: 26px;
}

.select2-container .select2-choice span {
	margin-right: 0;
}

.select2-container .select2-choice {
	background-image: none;
}

.select2-container-active .select2-choice {
	background-image: none;
}

.select2-drop-active {
	border-top: 1px solid #ccc;
	border-left: 1px solid #5e6365;
	border-right: 1px solid #5e6365;
	border-bottom: 1px solid #5e6365;
	box-shadow: none;
}

.header .select2-container.select2-container-active .select2-choice,
.select2-container.select2-container-active .select2-choice,
.select2-container-active .select2-choice {
	border: 1px solid #5e6365;
}

.select2-container {
	z-index: 1;
}

	.select2-container.select2-container-active {
		z-index: 3;
	}

.select2-results .select2-highlighted {
	background-color: #dddddd;
}

.select2-container .select2-choice .select2-arrow {
	background-color: rgb(238, 238, 238);
	background-image: none;
}

.select2-dropdown-open .select2-choice div {
	background-color: rgb(238, 238, 238);
	background-image: none;
	border-left: 1px solid #aaa;
}

.select2-dropdown-open .select2-choice {
	background-color: #fff;
}

	.select2-dropdown-open .select2-choice .select2-arrow {
		border-left: 1px solid #aaa;
	}

.header .select2-container .select2-choice.focused,
.select2-container .select2-choice.focused {
	border-left: 1px solid #5e6365;
	border-right: 1px solid #5e6365;
	border-top: 1px solid #5e6365;
	border-bottom: 1px solid #ccc;
}

/* CSS rules that override the original VestasOnline CSS to avoid inline styling */

/* Font */

html, body, div, ul, li, span, input, * {
	font-family: Roboto, Arial, Verdana, sans-serif;
}

/* Header */

#content .box div.header {
	box-shadow: none;
	border-bottom: 1px solid #888;
}

	#content .box div.header h2 {
		font-family: 'VestasSansHeadline';
		font-size: 20px;
		line-height: 27px;
		padding-top: 6px;
	}

/* Tabs */
#subnavigation ul li h4 {
	padding: 0 24px;
}

	#subnavigation ul li h4 a {
		font-family: 'VestasSansHeadline';
		font-size: 18px;
		line-height: 27px;
		padding-top: 7px;
	}

/* Controls */

input.text.focused,
textarea.textarea.focused {
	border-color: #5e6365;
}

/* Dropdown */

.header .select2-container.disabled > .select2-choice {
	border-color: #999;
}

.header .select2-container.disabled > a > span {
	color: #aaa;
}

.select2-container .select2-choice.focused {
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

#content .app-container .box .custom-select-menu {
	padding: 0;
	margin-left: 0;
}

.header .select2-container .select2-choice {
	border-color: #999;
}

#content .app-container .box .actions > li {
	display: inline-block;
	vertical-align: top;
}

#content .box .custom-select-menu .select-timeframe .wrapper {
	left: 0;
	min-width: 100px;
	display: none;
	/*max-height: 200px;*/
	overflow: auto;
	box-shadow: none;
	border: 1px solid #5e6365;
	/*border-top-width: 0;*/
	border-bottom-left-radius: 4px;
	border-bottom-right-radius: 4px;
	z-index: 2;
	padding: 0;
}

/* */

#content .header > ul {
	float: right;
}

	#content .header > ul > li {
		padding-top: 5px;
		margin-right: 5px;
		display: inline-block;
	}

.form-container input {
	padding-top: 9px;
}

input.text, textarea.textarea {
	border: 1px solid #aaa;
	padding: 5px 9px 5px 9px;
}

img.ui-datepicker-trigger {
	display: inline-block;
	margin-left: 10px;
}

#content .box .table-view {
	display: block;
	padding-bottom: 50px;
	min-height: 20px;
}

	#content .box .table-view th, #content .box .table-view td {
		text-align: left;
	}

#content .box .table-overview {
	border-top: 1px solid #bbb;
	padding-bottom: 50px;
}

    #content .box .table-overview th {
		background-color: transparent;
		padding: 10px 20px 10px 15px;
    }
	#content .box .table-overview thead th {
		border-bottom: 2px solid #0094ff;
	}
	#content .box .table-overview tfoot th {
		padding: 10px 15px 10px 15px;
	}

#content .box table thead th > span {
	background-image: url(../img/bg_sort_arrows_double.png);
	display: inline-block;
	height: 10px;
	width: 11px;
	margin-left: 5px;
	background-repeat: no-repeat;
	/*vertical-align: top;*/
}

#content .box table thead th.sorting > span {
	background-position: -7px 0;
}

#content .box table thead th.sorting_asc > span {
	background-position: -18px 0;
}

#content .box table thead th.sorting_desc > span {
	background-position: 4px 0;
}

#content .box .table-overview td {
	border-bottom: 1px solid #bbb !important;
	padding: 15px;
}

#content .box .table-overview tr:hover {
	background-color: #fff !important;
}


.dataTables_paginate {
	padding: 10px 0;
}

	.dataTables_paginate a {
		display: inline-block;
		padding: 0 5px;
	}

/* Primary button */

#content ul.actions > li {
	margin-right: 5px;
}

a.primary.button, input.primary.button {
	background-color: rgb(55, 66, 74);
	border-color: rgb(55, 66, 74);
}

#content .box .body {
	z-index: auto;
}

/* navigation */

div.navigation-menu {
	position: absolute;
	padding: 9px 0 2px 0;
	margin: 0;
	background-color: #fff;
	width: 200px;
	border: 1px solid #ddd;
	display: none;
}

	div.navigation-menu ul {
		padding: 6px 0 2px 0;
	}

		div.navigation-menu ul li {
			padding: 0 3px;
		}

	div.navigation-menu h4 {
		padding: 4px 5px 3px 5px;
	}

		div.navigation-menu h4 a {
			color: #0091d7;
			text-decoration: none;
			font-size: 13px;
			padding: 3px 12px 3px 12px;
			font-weight: normal;
			display: block;
			text-align: left;
		}

		div.navigation-menu h4:hover {
			background-color: #ecf5fb;
		}

/* Date picker */

/*
.ui-widget-content {
	background-image: url(../img/jqui/ui-bg_inset-soft_25_ffffff_1x100.png);
}

	.ui-state-active, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active {
		background-image: url(../img/jqui/ui-bg_inset-soft_30_5e6365_1x100.png);
	}

	.ui-state-highlight, .ui-widget-content .ui-state-highlight, .ui-widget-header .ui-state-highlight {
		background-image: url(../img/jqui/ui-bg_highlight-soft_80_ffffff_1x100.png);
	}
*/

/* Inline datepicker*/
#content .box table.ui-datepicker-calendar th {
	padding: .7em .3em;
	font-size: 13px;
	text-align: center;
}

	#content .box table.ui-datepicker-calendar th > span {
		background: none;
	}

#content .box table.ui-datepicker-calendar td {
	border: none;
	padding: 1px;
	vertical-align: inherit;
}

	#content .box table.ui-datepicker-calendar td:first-child {
		padding: 1px;
	}

#content .box .ui-datepicker select {
	color: #5e6365 !important;
	display: inline-block;
	-webkit-appearance: menulist;
}

/* Login page support info */
#content.logon .box .colA {
    width: 468px;
    min-height: 400px;
    position: relative;
}

    #content.logon .box .colA .input-wrapper input {
        width: 309px;
    }

#content.logon .box .colB  {
    width: 388px;
    padding-top: 34px;
}

ul#PasswordOptions {
    position: absolute;
    bottom: 0;
    left: 20px;
    padding-bottom: 34px !important;
}

@media screen and (max-width:640px) {

    html body {
        background-color: #fff !important;
    }

    #header {
        min-width: 100px;
    }

    #logon #header .c400 {
        min-width: 100px;
        width: 100%;
        padding-left: 40px;
    }

    #content.logon {
        width: 100%;
        margin-top: 0 !important;
    }

        #content.logon .box {
            box-shadow: none;
        }

            #content.logon .box h3 {
                padding-top: 32px;
                padding-bottom: 16px;
                background-color: #F5F5F5;
            }

            #content.logon .box .body {
                width: 100%;
            }

            #content.logon .box .body .field {
                padding-right: 40px;
            }

            #content.logon .box .colA {
                width: 100%;
                border-right-width: 0;
            }

            #content.logon .box .input-wrapper {
                width: 100%;
            }

            #content.logon .box .colA .input-wrapper input {
                width: 100%;
                box-sizing: border-box;
            }

            #content.logon .box .colB {
                display: none;
            }

    .logon .notifications-container {
        display: none;
    }

    #content.logon .servicenavigation {
        display: none;
    }

    .actions input[value=Cancel] {
        display: none;
    }
}
