/* NTI.Core.css definerer generelle regler for NTI programmer
Seneste edit 24/8-'16 - LWH */

/*henter NTIweb ikoner*/
@import url("../fonts/ntiweb-icons/styles.css");
/*henter googlefonten PT sans*/
@import url(https://fonts.googleapis.com/css?family=PT+Sans:400,400italic,700,700italic);

/* Resets
-------------------------------------------------- */
body
{
    font-size: 14px;
    font-family: 'PT sans', Arial, sans-serif;
    color: #31323d;
    padding: 0;
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'PT sans', Arial, sans-serif;
    font-weight: normal;
}
h1{
    font-size: 28px;
    text-transform: uppercase;
}

h2{
    font-size: 24px;
    text-transform: uppercase;
}
h3{ font-size: 20px;}
h4{ font-size: 16px;}
h5{ font-size: 14px;font-weight: bold}

label{
    font-weight:normal;
}
legend{
    padding-top:5px;
    font-size: 18px;
}
input:disabled {
    border-color:#f2f2f2;
    color:#bbb; 
    background-color: #f2f2f2
}
a{
    text-decoration: none;
}
a:hover{
    text-decoration: none;
}

/* Kendo + Bootstrap correction
-------------------------------------------------- */
*, :before, :after
{
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.form-control, /* if this class is applied to a Kendo UI widget, its layout may change */
.row,
.btn,
[class^=container],
[class^=col-]{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* knapper
------------------------------------------------- */
.button-small{ 
    padding: 2px 4px;
    text-transform: none;
}

@media only screen and (max-width: 768px) {
     .button-mobile-full{
        width: 100%; 
        margin-bottom: 15px;
    }
}
.btn-default{
    color: #fff;
    background-color: #31323d;
    border-color: #31323d;
    text-transform: uppercase;
    border-radius: 2px;
}
.btn-default:hover{
    color: #fff;
        background-color: #008888;
    border-color: #008888
}

/* animationer
------------------------------------------------- */
.nw-animated-icon{
    display: inline-block;
    height: 1.01em;
    width: 1.01em;
    line-height: 1;
    
}
.nw-x150{font-size: 1.5em;}
.nw-x200{font-size: 2em;}
.nw-x300{font-size: 3em;}

.icon-spin, .icon-pulse{
    animation-name: cw-spin;
    -webkit-animation-name: cw-spin;
}
.icon-spin-ccw, .icon-pulse-ccw{
    animation-name: ccw-spin;
    -webkit-animation-name: ccw-spin;
}

.icon-spin, .icon-spin-ccw {
    animation-duration: 2s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    -webkit-animation-duration: 2s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    transform-origin: 50% 50%;
}

.icon-pulse, .icon-pulse-ccw{
    animation-duration: 1s;
    animation-timing-function: steps(8);
    animation-iteration-count: infinite;
    -webkit-animation-duration: 1s;
    -webkit-animation-timing-function: steps(8);
    -webkit-animation-iteration-count: infinite;
    transform-origin: 50% 50%;
}
@-webkit-keyframes ccw-spin {
    0% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
    }
    100% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    }
}
@keyframes ccw-spin {
      0% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
      }
      100% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
      }
}
@-webkit-keyframes cw-spin {
    0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
    }
    100% {
    -webkit-transform: rotate(359deg);
    transform: rotate(359deg);
    }
}
@keyframes cw-spin {
      0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
      }
      100% {
        -webkit-transform: rotate(359deg);
        transform: rotate(359deg);
      }
}


/* Common classes / hjælpe class'er
-------------------------------------------------*/
.right{text-align: right}
.center{text-align: center}
.clear{clear: both}
.column2{
    -webkit-columns: 2; /* Chrome, Safari, Opera */
    -moz-columns: 2; /* Firefox */
    columns: 2;
}
.column3{
    -webkit-columns: 3; /* Chrome, Safari, Opera */
    -moz-columns: 3; /* Firefox */
    columns: 3;
}
.mousePointer {
    cursor: pointer;
}
/*
.scroll-y{
    overflow-x: hidden;
    overflow-y: scroll;
	-webkit-overflow-scrolling:touch
}
*/

 /* Test classes - benyttes til at skifte mellem mobil og screen visning i bl.a. helpdesk */
.isMobile {
        color: #000;
    }
 #gridMobile {
    display: none;
}
#grid {
    display: block;
}
@media only screen and (max-width: 480px) {
    .isMobile {
    color: #FFF;
    }
    #grid {
     display: none;
    }
    #gridMobile {
     display: block;
    }
}
.info{
    color: #888888;
    font-style: italic;
}
.form-text{margin-top: 0.5em;}
.form-info{
    color: #888888;
    font-style: italic;
    margin-top: 0.5em;
}

/* Login page styles
-------------------------------------------------*/
.loginPage {
    background-color: #4f5a5d;
}
.whiteBox, .loginBox{
    background-color: #fff;
    -moz-box-shadow: 5px 5px 5px rgba(0,0,0,0.2);
    -webkit-box-shadow: 5px 5px 5px rgba(0,0,0,0.2);
    box-shadow: 5px 5px 5px rgba(0,0,0,0.2);
    margin-top: 15px;
    padding:15px 30px 25px ;
    border-radius:2px
}

.loginLogo{
    margin: 30px auto;
    max-height: 150px;
}
.loginButtons{
    text-align: center;
    background-color:#f2f2f2;
    padding: 10px 0;
}
.loginButtons button{
    margin: 5px;
}
.loginFooter{
    font-size: 0.8em;
    position: relative;
    bottom: 0;
    text-align: center;
    margin-top: 25px
}
    .loginFooter a{
        font-weight: bold;
        text-decoration: none;
        color: inherit;
    }
    .loginFooter a:hover{
        color: #008888;
        text-decoration: underline;
    }


@media (min-width: 768px){
    .loginBox{
        margin-top: 50px;
        margin-bottom: 50px;
    }
}
@media (max-width: 768px){
    .loginLogo{
        margin: 20px auto 10px;
        max-height: 100px;
    }
}
/* FORMS
-------------------------------------------------- */
.k-textbox,
.input-iconlink{
    vertical-align: top;
}
p.input-note{
    font-style: italic;
    color: #666;
    font-size: 0.9em;
    margin: 5px 0;
}
.input-zip {
    width: 7em;
}
.input-city {
    width: calc(100% - 7em - 4px);
}
.input-address-nr, .input-street-nr{
    width: 6em;
}
.input-street {
    width: calc(100% - 6em - 4px);
}
.input-wide{
    width: 20em;
}
.input-full{
    width: 100%;
}
span.input-full-iconlink,
textarea.input-full-iconlink,
input.input-full-iconlink{
    width: calc(100% - 2.2em - 12px);
    max-width: calc(100% - 2.2em - 12px);
    vertical-align: top;
}
    span.input-full-iconlink input.input-full-iconlink{
        width: 100%;
        max-width: 100%
    }
.iconlink{
    /*margin-left: 10px;*/
    font-size: 2.2em;
    color: #31323d;

}
.input-full-iconlink + .iconlink,
.input-full-iconlink + [class*=nw-] {
    float: right;
    margin-left: 0;
}
    .iconlink:hover{
        color: #00aaaa;
}
textarea.input-full,
textarea.input-wide,
textarea.input-full-iconlink{
    height:6em;
}
textarea{
    max-width: 100%;
}
.iconlink:hover,
.iconlink:active,
.iconlink:focus{
    text-decoration: none
}
.form-horizontal .checkbox-group,
.form-horizontal .radio-group{
    padding-top: 9px;
}
.checkbox-group .k-checkbox-label,
.radio-group .k-radio-label{
    margin-right: 15px
}
.checkbox-group ul,
.radio-group ul{
    list-style:none;
    padding: 0;
    margin: 0
}
/* Notes komponenet
-------------------------------------------------- */
.notes-table{
        border-color: transparent
    }
    .notes-table .k-grid-header-wrap,
    .notes-table .k-grid-header .k-header
    {
        border-color: transparent;
        background-color: #fff;
        padding: 0.2em 0.6em;
    }
    .notes-table.k-grid tr:hover{
        background-color: transparent;
    }
    .notes-table.k-grid tr td{
        border-style: dotted;
        border-color: #ddd;
    }
    .notes-table td:nth-child(2n+2){
        font-size: 11px;
        color: #888
}
	
@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

    .notes-table table, 
    .notes-table thead, 
    .notes-table tbody, 
    .notes-table th, 
    .notes-table td, 
    .notes-table tr { 
        display: block; 
    }

    /* Hide table headers (but not display: none;, for accessibility) */
    .notes-table thead tr { 
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    .notes-table td { 
        position: relative;
    }
    .notes-table.k-grid td:nth-child(2n+2){
        border-color: transparent;
        padding-bottom: 0;
        text-align: right;
    }
    .notes-table.k-grid td:nth-child(3n+3){
        padding-top: 5px;
    }
}
		


/* Print/PDF
-------------------------------------------------- */
.size-a4 {
    width: 8.3in;
    height: 11.7in;
}
.size-letter {
    width: 8.5in;
    height: 11in;
}
.size-executive {
    width: 7.25in;
    height: 10.5in;
}
.pdf-page {
    margin: 0 auto;
    box-sizing: border-box;
    box-shadow: 0 5px 10px 0 rgba(0,0,0,.3);
    background-color: #fff;
    color: #333;
    position: relative;
}
    .pdf-page .k-edit-form-container{
        width: 100%;
    }
    .pdf-page .k-dropdown .k-state-default,
    .pdf-page .k-textbox,
    .pdf-page .k-picker-wrap.k-state-default
    {
        border-color: transparent ;
        background-color: #fff;

    }
    .pdf-page .k-datepicker .k-input, 
    .pdf-page .k-timepicker .k-input{
        background-color: #fff;
    }
    .pdf-page .k-textbox:hover,
    .pdf-page .k-textbox:active,
    .pdf-page .k-textbox:focus{
        box-shadow: none;
    }
    .pdf-page textarea{
        padding: 7px 12px;
        color: #000;
    }
    .pdf-page .k-input{
        color: #000;
    }
.pdf-page input[type="checkbox"]{
    margin: 11px 0 0 16px;
}
    .pdf-page .control-label{
        color: #666;
    }

    .pdf-page .k-icon{
        display: none;
    }
    .pdf-page ::-webkit-resizer{
        display: none
    }
    .pdf-page .pdf-hidden{
        display: none;
    }
.pdf-header {
    position: absolute;
    top: .5in;
    height: .6in;
    left: .5in;
    right: .5in;
}
.pdf-body {
    position: absolute;
    top: 1.2in;
    bottom: 1.2in;
    left: .5in;
    right: .5in;
}
.pdf-footer {
    position: absolute;
    bottom: .5in;
    height: 20px;
    left: .5in;
    right: .5in;
    padding-top: 5px;
    border-top: 1px solid #e5e5e5;
    text-align: left;
    color: #787878;
    font-size: 10px;
}
    .pdf-footer [class^=nw-]{
        font-size: 1.1em;
        vertical-align: -1px;
    }
.pdf-data{
    color: #000;
    padding: 6px 0 0 0;
}
.pdf-company-logo {
        float: right;
}
.pdf-company-logo img{
    max-width: 150px;
    max-height: 75px;
}
.pdf-title{
    margin: 10px 0;
}