/* ==========================================================================
   Custom font styles
   ========================================================================== */
/* Light */
@font-face {
    font-family: 'StagSans-Light-Web';
    font-style: normal;
    font-weight: normal;
    src: url(b3926eaee54ba34fb9fb.eot);
    src: url(b3926eaee54ba34fb9fb.eot?#iefix) format('embedded-opentype'),
         url(2faaa3e09512e72848d0.woff) format('woff'),
         url(9808a2b1bf0a86d3aec3.ttf) format('truetype'),
         url(cce073ac3e721114ad44.svg) format('svg');
}
/* Book */
@font-face {
    font-family: 'StagSans-Book-Web';
    font-style: normal;
    font-weight: normal;
    src: url(af9ebf9676b47e856153.eot);
    src: url(af9ebf9676b47e856153.eot?#iefix) format('embedded-opentype'),
         url(cc682f14bcce8278bcd3.woff) format('woff'),
         url(78c5666a53db7e75e430.ttf) format('truetype'),
         url(41bd0ce9008861a4e04a.svg) format('svg'); 
}
/* ==========================================================================
   General styles
   ========================================================================== */
body {
    background: #eee;
	margin:0;
	width:100%;
}
body,
td,
input,
button {
	color: #666;
	font-family: StagSans-Book-Web;
	font-size: 0.9375rem;
	line-height: 1rem;
}
h1 {
	color: #345d67;
	font-family: StagSans-Book-Web;
	font-size: 2rem;
	font-weight: normal;
	line-height: 2rem;
	margin: 1.5rem 0 0.5rem;
}
h2 {
	color: #000;
	font-family: StagSans-Book-Web;
	font-size: 1.25rem;
	font-weight: normal;
	line-height:1.25rem;
	margin: 2rem 0 0.25rem;
}
h3 {
	color: #000;
	font-family: StagSans-Book-Web;
	font-size: 1rem;
	font-weight: normal;
	line-height: 1rem;
	margin: 1rem 0 0;
}
p {
	margin: 0 0 0.5rem;
    line-height: 135%;
}
a:link,
a:visited {
	color: #597c90;
	outline: none;
	text-decoration: none;
}
a:hover,
a:focus {
	background: #597c90;
	color: #fff;
}
a:active {
	background: #345d67;
	color: #fff
}
::-webkit-scrollbar {    
    width: 7px;
    -webkit-appearance: none;
}
::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,.5);
    border-radius: 4px;
    -webkit-box-shadow: 0 0 1px rgba(255,255,255,.5);
}
/* ==========================================================================
   Top bar styles
   ========================================================================== */
.pagetop {
    background: #fff url(b946b581e91ad32742e2.png) no-repeat 99% 0.4rem;
	border-bottom: solid 0.5rem #345d67;
    overflow: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1;
    -webkit-touch-callout: none;
      -webkit-user-select: none;
       -khtml-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;
}
.logo,
.logo:hover {
    background: transparent;
}
.pagetop h1 {
	color: #597c90;
	display: inline-block;
    font-family: StagSans-Light-Web;
	font-size: 3rem;
	margin: 0.8rem 1rem 0 0.8rem;
}
.surname {
	color: #345d67;
}
/* ==========================================================================
   Top nav styles
   ========================================================================== */
.pagetop nav,
nav ul,
nav li,
nav a {
    display: inline-block;
	padding: 0;
    -webkit-touch-callout: none;
      -webkit-user-select: none;
       -khtml-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;	
}
.pagetop nav a:link,
.pagetop nav a:visited {
	padding: 1rem 1rem 0.5rem 1rem;
}
.pagetop nav a:hover,
.pagetop nav a:focus {
	background: #eaeef0;
	color: #345d67;
}
.pagetop nav a:active {
	background: #597c90;
	color: #fff;
}
.pagetop nav a.selected {
	background: #345d67;
	color: #fff;
}
nav div,
nav ul {
    clear: none !important;
    float: none !important;
}
/* ==========================================================================
   Structure styles
   ========================================================================== */
.content {
    clear: both;
    position: relative;
}
.col1,
.col2 {
	float: left;
	padding-bottom: 1em;}
.col1 {
    left: 25%;
    position: absolute;
    width: 71%;
}
.col2 {
    direction: rtl;
    height: 100%;
    overflow: auto;
    padding-top: 1rem;
    position: fixed;
    width: 25%;    
}
/* ==========================================================================
   Left pane  styles
   ========================================================================== */
.panel {
    background-color: #ddd;
    height: 90%;
    direction: ltr;
    padding-left: 0.5rem;
    padding-top: 4rem;
    -webkit-touch-callout: none;
      -webkit-user-select: none;
       -khtml-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;
}
.panel h1 {
	font-size: 1.5rem;
	line-height: 1.5rem;
	margin: 1.5rem 1.5rem 0.5rem;
}
.panel input[type=radio] + label,
.panel a:link,
.panel a:visited {
	background: none;
	color: #333;
	padding: 0.5rem 0rem 0.5rem 0.5rem;
    white-space: normal !important;
}
.panel input[type=radio]:not(:checked) + label:hover,
.panel input[type=radio]:not(:checked) + label:focus,
.panel a:hover,
.panel a:focus,
.panel .highlighted {
	background: #e7e7e7 !important;
    white-space: normal !important;
}
.panel input[type=radio]:checked,
.panel a.selected:link,
.panel a.selected:visited {
	background: #eee;
}
/*
  Hide radio button (the round disc)
  we will use just the label to create pushbutton effect
*/
.panel input[type=radio] {
    display:none; 
} 
/*
  Change the look'n'feel of labels (which are adjacent to radiobuttons).
  Add some margin, padding to label
*/
.panel input[type=radio] + label {
    display: block;
    user-select: none;
    width: auto;
    -webkit-touch-callout: none;
      -webkit-user-select: none;
       -khtml-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;
}
/*
 Change background color for label next to checked radio button
 to make it look like highlighted button
*/
.panel input[type=radio]:checked + label { 
    background-image: none;
    background-color: #eee;
}

.panel .serviceMenu {
    position: fixed;
    left: 0px;
    bottom: 0px;
    background-image: none;
    background-color: #ddd !important;
    width: 24%;
    height: 75px;
    padding-bottom: 30px;
    padding-left: 15px;
    border-top: #ddd;
}

.otherMenu #navigationTreeViewContainer {
    padding-bottom: 200px;
}


.otherMenu li.static a.selected {
    background-color: #ddd !important; /* Sorry :( */
    font-weight: bold;
}

.panel .serviceMenu a:hover {
    text-decoration: underline;
    background-color: #ddd !important; /* Sorry :( */
}

.panel .serviceMenu a:focus {
    text-decoration: none;
    background-color: #ddd !important; /* Sorry :( */
}
/* ==========================================================================
Left menu styles
========================================================================== */
.menuItem {
    margin: 0px 0px 5px 0px
}
.menuItemGroup {
    margin: 0px 0px 20px 0px;
}
.level1 span {
    display: block;
}
.level1 span.part-invalid {    
    margin-left: -1rem;
}
.panel .level2 {
    /*padding-left: 0.5rem !important;*/
}
.level2 span.part-invalid {    
    margin-left: -1rem;
}
.panel .level3 {
    /*padding-left: 0.5rem !important;*/
}
.level3 span.part-invalid {    
    margin-left: -1rem;
}
.panel .level4 {
    /*padding-left: 0.5rem !important;*/
}
.level4 span.part-invalid {
    margin-left: -1rem;
}
.panel .level5 {
    /*padding-left: 0.5rem !important;*/
}

.fixedMenu .selected {
    font-weight: bold;
}
/* ==========================================================================
   Search styles
   ========================================================================== */
.paragraphSearchBox {
    width: 100%;
}
.municipalitySearchBox {
    width: 96%;
}
/* ==========================================================================
   Content styles
   ========================================================================== */
.main {
    background: #eee !important;
}
.meta {
    background: #eee;
    display: inline-block;
    padding: 4.5rem 2rem 2rem 1.0rem; 
    -webkit-user-select: none;
     -khtml-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
}
.meta input,
.masterPreview,
.masterPreview h1,
.masterPreview h2,
.masterPreview h3,
.masterPreview h4,
.variableTextPartFrame,
.paragraphPartFrame,
.paragraphPartFrame h1,
.chapterPartFrame  h1,
.paragraphPartFrame td,
.preview {
     font-family: Times New Roman;
}
.workarea {
    background: #eee;
    display: inline-block;
    margin: 2rem 0 0 0;
    padding: 3.5rem 2rem 0 1rem;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.workspace {
    display: flex;
    align-items: baseline;
}
.rightSpace {
    margin: 0 3rem;
}

.editLeftCellDiv input[type="checkbox"] {
    margin-left: 4px;
 }

.paragraphPartFrame {
    margin-bottom: 50px;
    margin-top: 20px;
}

.chapterPartFrame {
    margin-bottom: 30px;
    margin-top: 20px;
}

.choiceTextPartFrame input[type="checkbox"]  {
	border: solid 1px #848484;
	box-shadow: 0 0 0.5rem #ccc;
    outline: solid 1px #848484;
}

.paradigmView.choiceTextPartFrame .variableTextPartFrame {
    padding: 0;
}

.paradigmView.choiceTextPartFrame {
    margin: 10px 0 10px 0;    
}

.paradigmView.choiceTextPartFrame .editCenterCellDiv {
    background: #ddd;
}

.regulationView.choiceTextPartFrame.part-error input[type="checkbox"]  {
	border: solid 1px #c00;
	box-shadow: 0 0 0.5rem #f00;
    outline: solid 1px #c00;
}

.sub-category {
	background: #ddd;
}
.anchor {
    display: none;
}
.frameContent {
    font-weight: bold;
    margin: 10px 0px 10px 0px;
}
.frameControl {
    align-items: center;
}
.frameControl h1 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 5px !important;
    margin-top: 0px !important;
    position: relative;
    text-align: left;    
}
.documentInfoStyleMarker {
    width: 15px;
    height: 15px;
}

/* ==========================================================================
   Form element styles
   ========================================================================== */

input[type="submit"],
input[type="button"] {
	background-color: #ccc;
	border: none;
	color: #000;
    outline: none;
}
input[type="submit"]:hover,
input[type="button"]:hover {
	background-color: #bbb;
}

.actionButtonImage {
    height: 31px;
    padding: 5px;
}

.actionButton {
    height: 31px;
    padding: 5px;
    border: solid 1px #ccc;
    border-radius: 6px;
}

.actionButton[disabled] {
    background-color: #BDBDBD;
    color: #A4A4A4;
}
.panel .actionButton {
    background-color: #345d67 !important;
    color: #fff !important;
}
.panel .actionButton:hover {
    background-color: #2f545c !important;
    color: #fff;
}
.workarea .actionButton {
    background-color: #345d67 !important;
    color: #fff !important;
}
.workarea .actionButton:hover {
    background-color: #2f545c !important;
    color: #fff;
}

.variableTextPartFrame  input[type="submit"]:hover,
.fixedTextPartFrame input[type="button"]:hover {
	background-color: #abc;
}
.editSection .saveButton{
    visibility: visible;
}
input.actionButtonImage,
input.actionButtonImage:hover  {
    background-color: transparent !important;
    background-position: 50%;
    background-repeat: no-repeat;
}

input.btn-check,
input.btn-check:hover {
    background-image: url(5650ff80d07efe70c57b.svg);
}
input.btn2-up,
input.btn2-up:hover {
    background-image: url(707c56b28c60ebf8d3ee.svg);
}
input.btn-up,
input.btn-up:hover {
    background-image: url(58ec0d3a87413c5bb797.svg);
}
input.btn-down,
input.btn-down:hover {
    background-image: url(400bda6b9c051b0dc020.svg);
}
input.btn2-down,
input.btn2-down:hover {
    background-image: url(9e4374521ef716f7b3f2.svg);
}
input.btn-erase,
input.btn-erase:hover {
    background-image: url(be04e9f07f9093b79eae.svg);
}
.floatR {
    float: right !important;
}

.paradigmView .variableTextPartFrame {
    margin: 0;
}
/* ==========================================================================
   center section styles
   ========================================================================== */
.addSectionRow {
    background-color: #bdb;
}
.addedSection {
    background-color: #ddd;
}
.addSection input[type=submit] {
    background-color: #aca;
}
.addSection input[type=submit]:hover{
    background-color: #9b9;
}

.centerSectionTable {
    display: table;
    table-layout: auto;
    width: 100%;
}

.centerSectionRow {
    display: table-row;
}

.centerSectionShrinkCell {
    display: table-cell;
    white-space: nowrap;
}

.centerSectionShrinkCell.addSectionCell:first-child {
    padding-left: 10px;
}

.centerSectionShrinkCell.addSectionCell {
    padding-right: 10px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.centerSectionFillCell {
    display: table-cell;
    width: 100%;
    max-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;    
}

/* ==========================================================================
   DocumentEdit Table div styles
   ========================================================================== */
.editTableDiv {
    border-collapse: collapse;
    display: table;
    table-layout: fixed;
}

.editCellHeaderDiv {
    display: none;
}

.editRowDiv {
    display: table-row;
    /*border-bottom: #A4A4A4 solid 1px;*/
}
.editLeftCellDiv {
    display: table-cell;
    width: 8mm;
    min-width: 8mm;
    max-width: 8mm;
    /*background-color: lightpink;*/
    vertical-align:middle;
}

.editCenterCellDiv {
    display: table-cell;   
    width: 160mm; 
    min-width: 160mm;
    max-width: 160mm;
    /*background-color: lightgreen;*/
    vertical-align:middle;
    height: 8mm;
    min-height: 8mm;
}

.editRightCellDiv {
    display: table-cell;  
    width: 40mm;  
    min-width: 40mm;
    max-width: 40mm;
    vertical-align:middle;
    position:relative;
}

.rightMenuTable {
    width: 40mm;  
    min-width: 40mm;
    max-width: 40mm;
    display: table;
    position:absolute;
     top:0;
     right:0;
     width:20mm;
}

.rightMenuRow {
    display: table-row;
}

.rightMenuRow > div {
    display: table-cell;
    vertical-align:middle;
    /*border: #000000 solid medium;*/
    width: 8mm;
    min-width: 8mm;
    max-width: 8mm;
    position: relative;
    height: 8mm;
    min-height: 8mm;
    max-height: 8mm;
}
.rightMenuRow:empty {
    border: none;
}

.rightMenuRow > div:nth-of-type(1) {
    width: 16mm;
    min-width: 16mm;
    max-width: 16mm;
}

.rightMenuRow > div > div {
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%)
}

.textbox.fullWidth {
    width: 100%;
}

/* ==========================================================================
   Table div styles
   ========================================================================== */
.tableDiv {
    border-collapse: collapse;
    display: table;
}
.rowDiv {
    display: table-row;
}
.rowDiv:not(:last-child) {
    border-bottom: #A4A4A4 solid 1px
}
.cellHeaderDiv {
    font-weight: bold;

}
.cellHeaderDiv, .cellDiv {
    display: table-cell;
    height: 50px;
    padding: 5px 10px 0 10px;
    white-space:nowrap;
    vertical-align: middle;
}
.cell-number {
    text-align: right;
}
/* ==========================================================================
   Kendo styles
   ========================================================================== */
.paradigmView span.fritekst,
.regulationView span.fritekst {
    padding-left: 0px !important;
    padding-right: 0px !important;
    color: blue;
}

.textbox {
    border: solid 1px #ccc;
    border-radius: 4px;
    outline: 0;
    height: 25px;
    padding-left: 5px;
    padding-right: 10px;
    padding-bottom: 3px;
}

.textbox.header {
    color: #345d67;
	font-family: StagSans-Book-Web;
	font-weight: normal;
    line-height: 25px;
    font-size: 25px;    
}

div.k-window-content {
    padding: 0;
}
.k-editor-inline.k-state-active {
    border-width: 1px;
}
.kendoTextbox {
    max-width: 155mm;
    width: 155mm;
}
span.fritekst {
    display: inline-block;
    min-width: 10px;
}
.k-list .k-state-selected { 
    background-color: #345d67; 
    border: none 
}
.k-tooltip {
    display: none !important;
}
.k-state-active, .k-state-active:hover, .k-active-filter, .k-tabstrip .k-state-activ {
        border: solid 1px #369;
    box-shadow: 0 0 0.5rem #09f;
    background-color: #F5FAFF;
}
.k-editor {
    border: solid 1px #ccc;
    min-height: 1.3rem;
}

/* Edit section  */
.variableTextPartFrame.part-error .k-editor {
	border: solid 1px #c00;
	box-shadow: 0 0 0.5rem #f00;
}
.fixedTextPartFrame.part-error .k-editor {
	border: solid 1px #c00;
	box-shadow: 0 0 0.5rem #f00;
}
.noteTextPartFrame.part-error .k-editor {
	border: solid 1px #c00;
	box-shadow: 0 0 0.5rem #f00;
}
.editSection {
    border: solid 1px #369;
    box-shadow: 0 0 0.5rem #09f;
    background-color: #F5FAFF;
}
.editSection.part-error .k-editor {
	border: solid 1px #369;
    box-shadow: 0 0 0.5rem #09f;
}

.noteView, .noteTextKendoTextbox {
    margin-top: 5px;
    margin-bottom: 10px!important;
    background-color: #eee;
    font-style: italic;
}

.noteView {
    padding: 5px 5px 5px 5px!important;
    border: dotted 1px
}
/* ==========================================================================
   Preview styles
   ========================================================================== */
.preview {
    font-size: 1rem;
    margin: 0 auto;
    max-height: 600px;
    max-width: 155mm;
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    white-space: normal;
    width: 155mm;
    padding: 0 0 5px 0;
}
.preview:before {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
}
.preview > p, .kendoTextbox > p {
    margin: 2px 0 5px 0;
    text-align: left;
}
.masterPreview {
    background: transparent;
    border: none;
    height: auto;
    max-height: none !important;
    overflow-y: hidden !important;
}
.masterPreview a:hover {
    background-color: transparent;
    color: #000;
}
/* ==========================================================================
   Helper styles
   ========================================================================== */
.notVisible {
    visibility: hidden;
}
.noresize {
    resize: none;
}
.part-invalid {
    border-left: solid 0.5rem #c00;
	color: #900;
    padding-left: 0.5rem;
}
/* ==========================================================================
   Blocked page and loader styles
   ========================================================================== */
/* Absolute Center CSS Spinner */
.skts-loading {
	background-color: rgba(0, 0, 0, 0.8);
	bottom: 0;
	color: transparent;
	height: 100%;
	left: 0;
	overflow: visible;
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	z-index: 999;
}
.skts-loading span {
	background-color: #fff;
	border: 0.09em solid #496a87;
	border-radius: 0.4em;
	box-shadow: 1rem 1rem 1rem rgba(0, 0, 0, 0.2);
	color: black;
	display: block;
	left: 50%;
	margin-left: -8em;
	padding: 0.5em;
	position: absolute;	
	text-align: center;
	top: 50%;
	width: 16em;
}
.skts-spinner {
	border-bottom: 0.5em solid rgba(0,0,0,.15);
	border-left: 0.5em solid rgba(0,0,0,.15);
	border-right: 0.5em solid rgba(0,0,0,.15);
	border-top: 0.5em solid rgba(0,0,0,.8);
	border-radius: 100%;
	display: block;
	font-size: 1rem;
	height: 4em;
	left: 50%;
	margin-left: -2em;
	margin-top: -2em;
	position: fixed;
	top: 42%;
	width: 4em;
	-webkit-animation: rotation .6s infinite linear;
	-moz-animation: rotation .6s infinite linear; /* for older FF */
	animation: rotation .6s infinite linear;	
}
.no-cssanimations  .skts-spinner {
	display: none;
}
@-webkit-keyframes rotation {
    from {-webkit-transform: rotate(0deg);}
    to {-webkit-transform: rotate(359deg);}
}
/* for older FF */
@-moz-keyframes rotation {
    from {-moz-transform: rotate(0deg);}
    to {-moz-transform: rotate(359deg);}
}
@keyframes rotation {
from {
	-webkit-transform: rotate(0deg);
	-moz-transform: rotate(0deg); /* for older FF */
	transform: rotate(0deg);
	}
to {
	-webkit-transform: rotate(359deg);
	-moz-transform: rotate(359deg); /* for older FF */
	transform: rotate(359deg);
	}
}

/* ==========================================================================
   NOT USED styles
   ========================================================================== */
/*
.SelectedNodeStyle {
    margin: 0 0 0 0 !important;
    background: none !important;
    border-style: outset;
    border-color: black !important;
}
        
.HoverNodeStyle {
    margin: 0 0 0 0 !important;
    background: none !important;
    border-style: outset;
    border-color: black !important;
}

.NodeStyle {
    font-family: monospace;
    font-size: 120%;
    font-weight: bolder!important;
    border-style: solid;
    border-color: white;
}
*/
