﻿html {
    background: url("../Images/bakgrund2.jpg") no-repeat fixed;
    background-size: 100% 100%;
    margin: 0;
    padding: 0;
}



body {
    color: #333;
    font-size: .85em;
    font-family: Arial, Helvetiva, sans-serif;
    font-weight: normal;
    margin: 0;
    padding: 0;
}

#alla-jobb {
    font-size: 0.9em;
}

a {
    color: #333;
    outline: none;
    text-decoration: underline;
}

    a:link, a:visited,
    a:active, a:hover {
        color: #333;
    }

    a:hover {
        background-color: #c7d1d6;
    }

.d-inline-block {
    display: inline-block;
}

nav .noHover:hover {
    background-color: transparent !important;
}

header, footer, hgroup,
nav, section {
    display: block;
}

nav {
    position: relative;
}

mark {
    background-color: #a6dbed;
    padding-left: 5px;
    padding-right: 5px;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.clear-fix:after, .clearfix:after {
    content: ".";
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

h1, h2, h3,
h4, h5, h6 {
    color: #000;
    margin-bottom: 0;
    padding-bottom: 0;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.75em;
    margin: 0;
    font-weight: normal;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

    h5 a:link, h5 a:visited, h5 a:active {
        padding: 0;
        text-decoration: none;
    }

.w-55 { width: 55%; }
.w-15 { width: 15%; min-width: 152px; }

.red, .color-red { color: red !important; }
.color-white { color: white; }

.bg-red { background-color: red !important; }
.bg-orange { background-color: orange !important; }
.bg-green { background-color: green !important; }

.disabled { cursor: not-allowed; }
.hidden {
    display: none;
}

/* login layout
----------------------------------------------------------*/
.identity-bg {
    height: 100vh;
    overflow: hidden;
}
.login-container {
    background-color: rgba(255, 255, 255, 0.70);
    padding: 30px;
    width: 100%;
    margin: 0;
    position: absolute;
    top: 50%;
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}
.login-container .logo-div {
    width: fit-content;
    margin: 0 auto 2em auto;
}
.login-div {
    max-width: 500px;
    margin: 0 auto;
}
.login-div .input-group {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: stretch;
    align-items: stretch;
    width: 100%;
}
.login-div .input-group input {
    margin: 0;
    padding: .5em;
}
.login-div .input-group-prepend {
    margin-right: -1px;
}
.login-div .input-group-prepend,
.login-div .input-group-append {
    display: -ms-flexbox;
    display: flex;
}
.input-group > .input-group-prepend > .btn, .input-group > .input-group-prepend > .input-group-text, .input-group > .input-group-append:not(:last-child) > .btn, .input-group > .input-group-append:not(:last-child) > .input-group-text, .input-group > .input-group-append:last-child > .btn:not(:last-child):not(.dropdown-toggle), .input-group > .input-group-append:last-child > .input-group-text:not(:last-child) {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}
.login-div .input-group-text {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    padding: 0.375rem 0.75rem;
    margin-bottom: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    white-space: nowrap;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    background-color: #8ca28d;
    color: #f6f6f6;
}
.login-div input[type="text"] {
    background: #ececec;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 0;
}
.login-div .form-control {
    display: block;
    width: 100%;
    height: calc(1.5em + 0.75rem + 2px);
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.login-div input[type="password"] {
    background: #ececec;
    border: none;
    -webkit-box-shadow: none;
    box-shadow: none;
    border-radius: 0;
}
.login-div label:hover {
    cursor: pointer;
}
.login-div label {
    color: rgb(65, 94, 55);
    font-weight: normal;
}
.login-div input[type="checkbox"] {
    box-sizing: border-box;
    padding: 0;
}
.login-div input[type="submit"] {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    color: #fff !important;
    background-color: #8ca28d !important;
    border-color: #8ca28d !important;
    margin: 0;
}
.login-div .d-flex {
    display: flex;
    justify-content: space-between;
}
.login-div .mb-3 {
    margin-bottom: 1rem !important;
}

/* main layout
----------------------------------------------------------*/
.content-wrapper {
    margin: 0 auto;
    max-width: 1460px;
    padding-left: 20px;
    padding-right: 20px;
}

#body {
    background-color: #fff;
    clear: both;
    padding-bottom: 35px;
    margin: 0 auto;
    max-width: 1500px;
    min-height: 300px;
}

.main-content {
    padding-top: 15px;
    min-height: 300px;
}

footer {
    clear: both;
    background-color: #fff;
    font-size: .8em;
    height: 100px;
    margin: 0 auto 15px auto;
    max-width: 1500px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
}

#sysinfo1 {
    display: block;
    background: #006d33;
    color: #fff;
    padding: 5px;
}

#sysinfo2 {
    display: none;
    background: #e80c4d;
    color: #fff;
    padding: 5px;
}

.cover {
    position: fixed;
    width: 100%;
    height: 100%;
    display: block;
    background-color: rgba(0,0,0,0.5);
    top: 0;
    left: 0;
    z-index: 99999;
    display: none;
}

.covertmsg {
    position: relative;
    width: 230px;
    height: 70px;
    color: #000;
    background: #fff;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    top: 40%;
    padding-top: 40px;
    font-weight: bold;
}


.list {
    min-height: 395px;
}

table {
    width: 100%;
}

.head th, .result th {
    width: 12.5%;
    font-size: 0.9em;
    font-weight: normal;
}

.head th {
    background: #749a83;
    border: 3px solid #91b09f;
    text-align: center;
    -moz-box-sizing:    border-box;
   -webkit-box-sizing: border-box;
    box-sizing:        border-box;
    position: relative;
}

.head a, .head a:link {
    color: #fff;
    line-height: 22px;
    text-align: left;
    margin-left: 1em;
}

.head a:hover {
    background: #749a83;   
    color: #fff;
    text-decoration: underline;
}

.head a::before { 
    content: "";
    position: absolute;
    line-height: 22px;
    width: 6px;
    height: 20px;
    right: 5%;
    background: url("../images/pil.png") center no-repeat;
}

 .sena a:link {
    color: #000;
}

.sena .head, .sena .nolink {
    color: #fff;
}

.head .ansvarig {
    text-transform: none;
}


.sena tr td {
    border: 1px solid #91b09f;
    padding: 0.35em 2em 0.35em 1em;
}
.sena .nolink {
    text-align: left;
    display: block;
    margin-left: 1em;
    line-height: 22px;
}

.list tr td,
.offert-table tr td {
     border: 1px solid #91b09f;
     padding: 0.35em 2em 0.35em 1em
}

tr.white td, tr.green td, tr.blank td {
    padding: 5px;
}

.green {
    background: #f3fcf8;
}

.pagination-container {
    bottom: 0;
}

.pagination {
    margin: 10px 0 !important;
    border-radius: 0px;
    max-height: 20px;
}

.pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus {
    z-index: 2;
    color: #ffffff;
    cursor: default;
    background-color: #006d33 !important;
    border-color: #006d33 !important;
}

.pagination > li > a, .pagination > li > span {
    /*background-color: #6dad80 !important;*/
    border-color: #6dad80 !important;
}

.pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus {
    background-color: #6dad80 !important;
}

form {
    margin-top: 1em;
}

.header {
    margin-top: 15px;
    padding-top: 15px;
    background-color: #fff;
    display: block;
    width: 100%;
    position: relative;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.theheader {
    width: 20%;
    float: left;
}

.kund, .ansvarig, .lop {
    display: table-cell;
    text-transform: capitalize;
}

.noborders td {
    border: none !important;
}

.search {
    width: 80%;
    float: right;
}

.stat {
    font-weight: bold;
    font-size: 0.9em;
}

.stat a:link, .stat a:visited, .stat a:hover {
    color: #fff;
}

.status0 {
    background: #cc0013;
}

.status1 {
    background: #f6b03f;
}

.status2 {
    background: #9bbf86;
}

.status3 {
    background: #377714;
}

.status4 {
    background: #977650;
}

.offertstatus0 { background-color: dimgrey; }
.offertstatus1 { background-color: #ffd800; }
.offertstatus2 { background-color: red; }
.offertstatus3 { background-color: green; }

.offertstatustext1 { color: #ffd800 !important; }
.offertstatustext2 { color: red !important; }
.offertstatustext3 { color: green !important; }

.offert-table th.offert-no { width: 6%; }
.offert-table th.offert-property { width: 15%; }
.offert-table th.offert-customer { width: 15%; }
.offert-table th.offert-manager { width: 8%; }
.offert-table th.offert-area { width: 7%; }
.offert-table th.offert-value { width: 8%; }
.offert-table th.offert-date { width: 8%; }
.offert-table th.offert-status { width: 13%; }
.offert-table th.offert-reason { width: 20%; }

.offert-table a { text-decoration: none; }

a.convert-to-job {
    float: right;
    color: white;
    text-decoration: none;
}
    a.convert-to-job:hover {
        background-color: transparent;
        text-decoration: underline;
    }
.convert-to-job-p {

}

.detaljstatus form {
    float: right;
    margin: 0;
}
input[type="submit"].convert-to-job {
    background-color: transparent;
    border: 0;
    padding: 0;
    margin: 0;
    color: white;
    font-size: 1em;
}
    input[type="submit"].convert-to-job:hover {
        text-decoration: underline;
    }

.select-box-wrapper { display: flex; }
.select-box-wrapper > div { margin-right: 2em; }

.detaljstatus {
    padding: 0.3em;
    color: #fff;
    font-weight: bold;
    font-size: 1.5em;
    margin-top: 1em;
    margin-bottom: 1em;
}

.detalj .display-label, .nyfaltarbetan .editor-label {
    font-size: 1em;
    font-weight: bold;
}

.detalj .display-field {
    margin-bottom: 1em;
}

.areatot {
    text-align: left;
    position: relative;
    display: block;
}

#piechart_3d {

}

.largeText {
    font-size: x-large;
}

.sena {
    /*background-color: rgba(255, 0, 0, 0.6);
    color: rgba(255, 0, 0, 0.6);
        */
    width: 98%;
    padding: 1%;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border: 1px solid #000;
}

.sena .head th {
    background: #ce2e2e;
    border: 3px solid #91b09f;
    text-align: center;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    position: relative;
}

.jobdone {
    /*margin-left: 3px;*/
    color: #fff;
}

.own, .ar {
    color: #e80c4d;
    font-weight: bold;
}

.sen_markering {
    height: 20px;
    width: 20px;
    border: 1px solid #000;
    text-align: center;
    font-size: 1.3em;
    color: #e80c4d;
    font-weight: bold;
    float: left;
}

.right {
    float: right;
    margin-left: 2%;
    width: 48%;
}

.left {
    float: left;
    margin-right:2%;
    width: 48%;
}

.upparbetat {
    background-color: #69a581;
    padding: 1%;
    width: 98%;
    color: #fff;
}

.addfalt {
    border: 1px solid #006d33;
    padding: 1%;
    width: 98%;

}


.upparbetat a, .upparbetat a:link {
    color: #fff;
}

.selected {
    background: #81b295;
    text-decoration: underline;
    color: #fff;
}

.signedin_username {
    text-transform: capitalize;
}

.smallsubmit {
    padding: 0;
    margin: 0;
}

.smallsubmit input[type="submit"], .smallsubmit input[type="button"], .smallsubmit button {
    background-color: #d3dce0;
    border: 1px solid #787878;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    padding: 3px;
    margin: 0;
}

.budgetbudgetlista {
    width: 100%;

}

.budgetcellhead {
    border-top: 3px solid #5a83bb;
    border-bottom: 3px solid #5a83bb;
    font-weight: bold;
    line-height: 20px;
    /*width: 12%;*/
    width: 10%;
    text-align: right;
}

.budgetcell {
    border-top: 0px solid #5a83bb;
    border-bottom: 0px solid #5a83bb;
    line-height: 20px;
    /*width: 14%;*/
    width: 13%;
    text-align: right;
}

.buudgetcell:first-child {
    text-transform: capitalize;
}

/*Utkommenterat för att budgetkommentar ej är med längre*/
/*.budgetcellhead:last-child, .budgetcell:last-child {
    width: 30%;
}*/

.budgetcellbottom {
    border-top: 3px solid #5a83bb;
    line-height: 20px;
    /*width: 12%;*/
    width: 10%;
    text-align: right;
}

.budgetcellbottom:last-child {
    /*width: 50%;*/
}

.max-800 {
    max-width: 800px;
}

.ui-datepicker-unselectable .ui-state-default {
    background: #ff0000 !important; color: #000 /*{fcDefault};*/ !important;
}

.alertBox {
    padding: 8px; background-color:rgba(255,0,0,0.3);
}

.infoBox {
    padding: 8px; background-color:rgba(51,197,65,0.3);
}

/* Radio switch */
.radio-switch {
    display: flex;
    margin-bottom: 36px;
    overflow: hidden;
}

.radio-switch input {
    position: absolute !important;
    clip: rect(0, 0, 0, 0);
    height: 1px;
    width: 1px;
    border: 0;
    overflow: hidden;
}

.radio-switch label {
    background-color: #e4e4e4;
    color: rgba(0, 0, 0, 0.6);
    font-size: 14px;
    line-height: 1;
    text-align: center;
    padding: 8px 16px;
    margin-right: -1px;
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.3), 0 1px rgba(255, 255, 255, 0.1);
    transition: all 0.1s ease-in-out;
    cursor: pointer;
}

.radio-switch input:checked + label {
    background-color: #006D33;
    color: #fff;
    box-shadow: none;
}

.radio-switch label:first-of-type {
    border-radius: 4px 0 0 4px;
}

.radio-switch label:last-of-type {
    border-radius: 0 4px 4px 0;
}
/**/

.th-5 { width: 5%; }
.th-10 { width: 10%; }
.th-25 { width: 25%; }

/* orderstock
----------------------------------------------------------*/
.pricelist {
    
}

.own-value-text {
    margin-top: 0.5rem;
    font-weight: bold;
    color: #050eba;
}

#orderstock {
    font-size: 0.9em;
}

#orderstock th {
    width: 10%;
}
#orderstock th.fastighet {
    width: 12%;
}
#orderstock th.lop,
#orderstock th.ej-faltarbetat,
#orderstock th.faltarbetat,
#orderstock th.utkast {
    width: 6%;
}
#orderstock th.inkom,
#orderstock th.ansvarig {
    width: 8%;
}
#orderstock th.prod-note {
    width: 18%;
}
#orderstock .table-summary td {
    padding: 5px;
    border: 0;
    font-weight: bold;
}

#orderstock a {
    text-decoration: none;
}

/* orderstockstatistik
----------------------------------------------------------*/
#orderstockstatistik th {
    width: calc(100% / 6);
}
#orderstockstatistik th.customer-name {
    width: calc((100% / 6) * 2);
}

/* site title
----------------------------------------------------------*/
noHover:hover {
    background-color: transparent !important;
}
/* login
----------------------------------------------------------*/
#login {
    display: block;
    font-size: .85em;
    margin: 0 0 10px;
    text-align: right;
    max-width: 300px;
    position: absolute;
    right: 0;
    top: 10px;
}

    #login a {
        background-color: #006d33;
        margin-left: 3px;
        margin-right: 3px;
        padding: 2px 3px;
        text-decoration: none;
        text-align: center;
        color: #fff;
    }

    #login a:hover {
        text-decoration: underline;
        background: #69a581;
    }

    #login a.username {
        background: none;
        margin: 0;
        padding: 0;
        text-decoration: underline;
        color: #000;
        font-weight: bold;
    }

    #login ul {
        margin: 0;
    }

    #login li {
        display: inline;
        list-style: none;
    }

#menu {
    margin-left: 20px;
}

nav ul ul {
	display: none;
}

	nav ul li:hover > ul {
		display: block !important
	}


nav ul {
    font-size: 1em;
    font-weight: 600;
	padding: 0px;
	list-style: none;
	position: relative;
	display: inline-table;
    font-weight: normal;
    z-index: 10000;
    text-transform: uppercase;
}
	nav ul:after {
		content: ""; clear: both; display: block;
	}

	nav ul li {
		float: left;
        background: #006d33;
        margin-right: 10px;
	}

    ul#menu li a {
        color: #fff;
        text-align: center;
    }
		ul#menu li:hover {
            background: #69a581;
		}
			nav ul li:hover a {
				color: #fff;
			}

            ul#menu li a:hover {
                background: #69a581;
            }
		
		nav ul li a {
			display: block; 
            min-width: 130px;
            min-height: 30px;
            line-height: 30px;
			color: #fff; 
            text-decoration: none;
		}
			
		
	nav ul ul {
		background: #69a581; border-radius: 0px; padding: 0;
		position: absolute; top: 100%;
	}
		nav ul ul li {
			float: none; 
			border-top: 1px solid #81b295;
            position: relative;
            margin-right: -10px;
		}
			nav ul ul li a {
                min-width: 190px;
                min-height: 30px;
				color: #fff;
                text-align: left !important;
                padding-left: 14px;
			}	

            nav ul li ul li {
                                text-align: left;
            }
				nav ul ul li a:hover {
					background: #69a581;
				}
		
	nav ul ul ul {
		position: absolute; left: 100%; top:0;
	}
	




/* page elements
----------------------------------------------------------*/
/* featured */
.featured {
    background-color: #fff;
}

    .featured .content-wrapper {
        background-color: #7ac0da;
        background-image: -ms-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        background-image: -o-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #7ac0da), color-stop(1, #a4d4e6));
        background-image: -webkit-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        background-image: linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        color: #3e5667;
        padding: 20px 40px 30px 40px;
    }

        .featured hgroup.title h1, .featured hgroup.title h2 {
            color: #fff;
        }

        .featured p {
            font-size: 1.1em;
        }

/* page titles */
hgroup.title {
    margin-bottom: 10px;
}

hgroup.title h1, hgroup.title h2 {
    display: inline;
}

hgroup.title h2 {
    font-weight: normal;
    margin-left: 3px;
}

/* features */
section.feature {
    width: 300px;
    float: left;
    padding: 10px;
}

/* ordered list */
ol.round {
    list-style-type: none;
    padding-left: 0;
}

    ol.round li {
        margin: 25px 0;
        padding-left: 45px;
    }

        ol.round li.zero {
            background: url("../Images/orderedList0.png") no-repeat;
        }

        ol.round li.one {
            background: url("../Images/orderedList1.png") no-repeat;
        }

        ol.round li.two {
            background: url("../Images/orderedList2.png") no-repeat;
        }

        ol.round li.three {
            background: url("../Images/orderedList3.png") no-repeat;
        }

        ol.round li.four {
            background: url("../Images/orderedList4.png") no-repeat;
        }

        ol.round li.five {
            background: url("../Images/orderedList5.png") no-repeat;
        }

        ol.round li.six {
            background: url("../Images/orderedList6.png") no-repeat;
        }

        ol.round li.seven {
            background: url("../Images/orderedList7.png") no-repeat;
        }

        ol.round li.eight {
            background: url("../Images/orderedList8.png") no-repeat;
        }

        ol.round li.nine {
            background: url("../Images/orderedList9.png") no-repeat;
        }

/* content */
article {
    float: left;
    width: 70%;
}

aside {
    float: right;
    width: 25%;
}

    aside ul {
        list-style: none;
        padding: 0;
    }

        aside ul li {
            background: url("../Images/bullet.png") no-repeat 0 50%;
            padding: 2px 0 2px 20px;
        }

.label {
    font-weight: 700;
}

/* login page */
#loginForm {
    
    float: left;
    width: 55%;
}

    #loginForm .validation-error {
        display: block;
        margin-left: 15px;
    }

    #loginForm .validation-summary-errors ul {
        margin: 0;
        padding: 0;
    }

    #loginForm .validation-summary-errors li {
        display: inline;
        list-style: none;
        margin: 0;
    }

    #loginForm input {
        width: 250px;
    }

    #loginForm input[type="checkbox"],
    #loginForm input[type="submit"],
    #loginForm input[type="button"],
    #loginForm button {
        width: auto;
    }

#socialLoginForm {
    margin-left: 40px;
    float: left;
    width: 40%;
}

    #socialLoginForm h2 {
        margin-bottom:  5px;
    }

#socialLoginList button {
    margin-bottom: 12px;
}

#logoutForm {
    display: inline;
}

/* contact */
.contact h3 {
    font-size: 1.2em;
}

.contact p {
    margin: 5px 0 0 10px;
}

.contact iframe {
    border: 1px solid #333;
    margin: 5px 0 0 10px;
}

/* forms */
fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

    fieldset legend {
        display: none;
    }

    fieldset ol {
        padding: 0;
        list-style: none;
    }

        fieldset ol li {
            padding-bottom: 5px;
        }

label {
    display: block;
    font-size: 1.2em;
    font-weight: 600;
}

label.checkbox {
    display: inline;
}

input, textarea {
    border: 1px solid #e2e2e2;
    background: #fff;
    color: #333;
    font-size: 1.2em;
    margin: 5px 0 6px 0;
    padding: 5px;
    width: 500px;
}

textarea {
    font-family: inherit;
    width: 500px;
}

    input:focus, textarea:focus {
        border: 1px solid #7ac0da;
    }

    input[type="checkbox"] {
        background: transparent;
        border: inherit;
        width: auto;
    }

    input[type="submit"],
    input[type="button"],
    button {
        background-color: #d3dce0;
        border: 1px solid #787878;
        cursor: pointer;
        font-size: 1.2em;
        font-weight: 600;
        padding: 7px;
        margin-right: 8px;
        width: auto;
    }

    td input[type="submit"],
    td input[type="button"],
    td button {
        font-size: 1em;
        padding: 4px;
        margin-right: 4px;
    }

/* info and errors */
.message-info {
    border: 1px solid;
    clear: both;
    padding: 10px 20px;
}

.message-error {
    clear: both;
    color: #e80c4d;
    font-size: 1.1em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.message-success {
    color: #7ac0da;
    font-size: 1.3em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.error {
    color: #e80c4d;
}

/* styles for validation helpers */
.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #e80c4d;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1em;
}

.validation-summary-valid {
    display: none;
}


/* tables
----------------------------------------------------------*/
table {
    border-collapse: collapse;
    border-spacing: 0;
    margin-top: 0.75em;
    border: 0 none;
}

th {
    font-size: 1.2em;
    text-align: left;
    border: none 0px;
    padding-left: 0;
}

th a {
    display: block;
    position: relative;
}

th a:link, th a:visited, th a:active, th a:hover {
    text-decoration: none;
    padding: 0;
}

th a:hover {
    color: #000;
}

th.asc a, th.desc a {
    margin-right: .75em;
}

th.asc a:after, th.desc a:after {
    display: block;
    position: absolute;
    right: 0em;
    top: 0;
    font-size: 0.75em;
}

th.asc a:after {
    content: '▲';
}

th.desc a:after {
    content: '▼';
}

td {
    /*padding: 0.25em 2em 0.25em 0em;*/
    padding: 5px 10px 5px 10px;
    border: 0 none;
}

tr.pager td {
    padding: 0 0.25em 0 0;
}



/********************
*   Mobile Styles   *
********************/
@media only screen and (max-width: 850px) {

    html, body {
        background: #ffffff;
    }


    nav ul#menu li {
        margin-right: 0px;
    }

    nav ul.sub-menu li {
        margin-right: 0px !important;
    }

    /* header
    ----------------------------------------------------------*/
    header .float-left,
    header .float-right {
        float: none;
    }

    /* logo */
    header .site-title {
        margin: 10px;
        text-align: center;
    }

    /* login */
    #login {
        font-size: 1em;
        margin: 0 0 12px;
        text-align: left;
    }

        #login ul {
            margin: 5px 0;
            padding: 0;
        }

        #login li {
            display: inline;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        #login a {
            background: none;
            color: #000;
            margin: 2px;
            padding: 0;
        }

            #login a:hover {
                color: #000;
            }

    #logoutForm a, #logoutForm a:hover {
        background: #006d33;
        padding: 10px;
        border-radius: 5px;
        color: #fff;
    }

    #logoutForm {
        text-align: right;
        position: absolute;
        right: 0;
        top: -15px;
    }

    .signedin_username {
        margin-top: 10px;
    }

    /* menu */
    nav {
        /*margin-bottom: 5px;*/
        margin-top: 15px;
    }

    ul#menu {
        margin: 0;
        padding: 0;
        text-align: center;
        font-size: 1.1em;
        margin-top: 60px;
        width: 100%;
    }

        ul#menu li {
            margin-bottom: 10px !important;
            font-weight: bold;
        }

            ul#menu li:hover {
                background: #006d33;
            }

            ul#menu li .sub-menu li {
                margin-bottom: 5px !important;
                font-weight: normal;
            }

    nav ul ul li a {
        padding-left: 0px;
    }

    #menu .sub-menu {
        display: none;
    }

        #menu .sub-menu li a {
            text-align: center !important;
        }

    nav ul ul {
        position: relative;
        background: none;
    }


    ul#menu li {
        float: none;
    }

    nav ul li a {
        min-width: 65px;
    }

    ul#menu li {
        margin: 0;
        padding: 0;
    }


    #login {
        width: 100%;
        max-width: 2000px;
    }


    .mhide {
        display: none;
    }

    /* main layout
    ----------------------------------------------------------*/

    .content-wrapper {
        padding-left: 5px;
        padding-right: 5px;
    }

    .featured .content-wrapper {
        padding: 10px;
    }

    /* page content */
    article, aside {
        float: none;
        width: 100%;
    }

    /* ordered list */
    ol.round {
        list-style-type: none;
        padding-left: 0;
    }

        ol.round li {
            padding-left: 10px;
            margin: 25px 0;
        }

            ol.round li.zero,
            ol.round li.one,
            ol.round li.two,
            ol.round li.three,
            ol.round li.four,
            ol.round li.five,
            ol.round li.six,
            ol.round li.seven,
            ol.round li.eight,
            ol.round li.nine {
                background: none;
            }

    /* features */
    section.feature {
        float: none;
        padding: 10px;
        width: auto;
    }

    section.feature img {
        color: #999;
        content: attr(alt);
        font-size: 1.5em;
        font-weight: 600;
    }

    /* forms */
    input {
        width: 90%;
    }

    /* login page */
    #loginForm {
        border-right: none;
        float: none;
        width: auto;
    }

    #loginForm .validation-error {
        display: block;
        margin-left: 15px;
    }

    #socialLoginForm {
        margin-left: 0;
        float: none;
        width: auto;
    }

    .kund, .ansvarig, .lop {
        display: none;
    }

    .head a, .head a:link {
        margin-left: 0.5em;
    }

    .list tr td {
        padding: 0 0 0 0;
    }

    .sena {
        width: 100%;
        padding-bottom: 20px;
        margin-bottom: 20px;
        border: 1px solid #000;
        overflow: hidden;
    }

    .franvaroTable tr th:first-child {
        width: 50%;
    }


    /* footer
    ----------------------------------------------------------*/
    footer .float-left,
    footer .float-right {
        float: none;
    }

    .float-left {
        margin-bottom: 20px;
    }

    footer {
        text-align: center;
        height: auto;
    }

    footer p {
        margin: 0;
    }
}



@media print {
    /*@page {
       margin: 3cm;
    }*/

    html, body {
        background: none; /*font-size: 0.75em !important;*/ margin: 0; padding: 0;
    }

    body {
        font-size: 16px;
    }

    select, option {
        font-size: 0.85em !important;
    }

    .head th {
        border: 1px solid #91b09f;
    }

    #menu {
        display: none;
    }

    .upparbetat {
        padding: 0%; width: 100%;
    }

    /*.chart {
        display: none;
    }*/

    header .content-wrapper {
        padding-top: 0px;
    }

    .head a, .head a:link {
        line-height: 16px;
    }

    .head a::before {
        line-height: 16px; height: 14px;
    }

    body.chartsEnabled {
        font-size: 1.5em !important; 
    }

 }