html, body {
	height:100%;
	min-height:100%;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Fjalla One", Helvetica,Arial,sans-serif;
    font-weight: 400;
}

h1 {
    font-size: 195%;
}

h2 {
    font-size: 160%;
}

h3 {
    font-size: 140%;
}

ul{
    list-style-type: none;
}

.addContactControls{
    margin-top: 20px;
}

.iconButton{
    font-size: 20px;
    margin-right: 5px;
    cursor:pointer;
}

#spreadsheet td.active-cell input {
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    border-left: 1px solid black;
    border-right: 1px solid black;

}

.row-number-column{
    width: 40px;
    background-color: #eeeeee;
    text-align: center;
}

#spreadsheet td{
    border: 1px solid gray;
}

#spreadsheet input{
    border:0;
}

#spreadsheet .columnHeader{
    background-color: #eeeeee;
    text-transform: uppercase;
    text-align: center;
}

.current-item{
    background-color: lightgray;
}

.sort td{
    border: 1px solid black;
    padding: 15px;
}

#react-tree-view{
    font-size: 20px;
}

.moving-box{
    padding-top: 10px;
    border: 1px solid black;
    width: 150px;
    height: 40px;
    color: white;
    font-weight: bold;
    text-align: center;
    background-color: black;
    cursor: move;
}

.input-controls{
    margin-bottom: 30px;
}

.myndighetContainer {
    padding-left: 5.5em;
}

.messageContainer{
    min-height: 3em;
    padding:1em;
    border-radius: 5px;
    visibility: hidden;
    display:none;
    opacity: 0;
    -webkit-transition: all 1s ease-in-out;
    -moz-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    -ms-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
}

.messageContainer.show {
    visibility: visible;
    display:block;
    opacity: 1;
}

span.trash {
    background: url('../images/trash-16-000000.png');
    background-repeat: no-repeat;
    display: block;
    width: 100%;
    height: 16px;
    background-position: 50%;
}

.pull-up {
    margin-top:-3em;
}

.myndighetsTable {
    max-width:100%;
}

.myndighetsTable tbody tr td a {
    word-wrap: break-word;
}

/*html {
    height: 100%;
    overflow: hidden;    
}*/

form {
    min-height: 100%;
    background: rgba(255,255,255,1);
    /*box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.25), -5px 5px 5px rgba(0, 0, 0, 0.25);*/
}

body {
    height:100%;
    /*height:100vh;*/ /* this makes the page scroll when sorting links, se #mainBackground fix*/
    min-height: 100%;
    background: #fff;
    font-family: "Helvetica Neue", Helvetica,Arial,sans-serif;
    font-size: 14px;
    overflow: auto;
}

/* #mainBackground and #mainBackgroundColor fix */
/* adds a white background to fill the page height */
#mainBackground {
    position: absolute;
    z-index: -1;
}
#mainBackgroundColor {
    position: relative;
    background: #fff;
    top: 0;
    width: 85em; /* same as body max-width */
    height: 100vh;
    z-index: -1;
}

#mainSuperContainer {
    background: inherit;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    margin-top:0;
    max-width: 85em;
    min-height: 100%;
    height: 100%;    
}

#mainContainer {
    background: transparent;
    padding:0.3em;
    margin-bottom: 0px;
    margin-top:0px;
}

/*@media (min-width: 768px) {
    #mainContainer .container {
        padding-top: 8em;
    }    
}

@media (min-width: 992px) {
    #mainContainer .container {
        padding-top: 6em;
    }    
}

@media (min-width: 1200px) {
    #mainContainer .container {
        padding-top: 4em;
    }
}

@media (max-width: 768px) {
    #mainContainer .container {
        padding-top: 4em;
    }    
}*/

#mainContainer .container {
    padding-top: 4em;
} 

@media (min-width:1200px) {
    body {
        /*background: #fff url("../images/hallbar_stads_puff.jpg") no-repeat fixed 0 0 / cover !important;*/
        background-color: #e5f1f1;
    }
}

#footerContainer {
    background: transparent;
    padding-top: 1em;
    padding-bottom: 5em;
}

#footer {
    border-top: 1px solid #a8a8a8;
    margin-right: 1em;
    height: 50px;
    display:flex;
    align-items: start;
    justify-content: space-between;
}

#footer #logo {
    max-width: 7vw;
    min-width: 6em;
    margin-top: 5px;
}

#footer #logo .tvv-logo {
    max-width: 7vw;
    min-width: 6em;
}

@media screen and (max-width:640px) {
    #footer {
        height: 70px;
    }
}

.form-group label {
    word-wrap: break-word;
}

.loggedInAsContainer {
    font-size: 80% !important;
    border: 1px solid #d8d8d8;
    border-radius: 3px;
    padding: 3px;
    margin-left: 10px;
    margin-top: 3px;    
}

.heading-userinfo-container {
    min-height: 4em;
}

.heading-userinfo-container h1 {
    display: inline-block;
    margin-top: 7px;
    padding-top: 0;
    float:left;
}

.loggedInAsUser {
    text-align: left;
    display: inline-block;
}

.loggedInAsUser, .loggedInAsUser span.ui-outputpanel.ui-widget {
    font-family: verdana,Helvetica,Arial,sans-serif;
    font-size: 8pt;
}

.loggedInAsUser .userInfo {
    padding-left: 2.3em;
    background: url('../images/user.png');
    background-repeat: no-repeat;
    background-position: 0 50%;
    cursor: default;
}

.loggedInAsUser .userRoles {
    min-width: 10em;
    padding: 0 0.5em;
}

@media (min-width: 768px) {
    .navbar-nav>li.navbar-login-logout {
        float: right;
    }
}

@media (min-width:768px) {
    .nav.navbar-nav {
        width: 100%;
    }

    .nav li a span.link {
        white-space: pre-wrap; 
    }

    .nav li a.link.adminLink {
        padding-top: 5px;
    }    

    .nav span.home,
    .nav span.login,
    .nav span.logout {
        opacity: 0.8;
        filter: alpha(opacity=80);
        display: block;
        float: left;
        margin-right:5px;
        font-family: "FontAwesome";
    	font-weight: 900;
    	font-size:2em;
    }
    
    .nav span.home:before {
    	content:"\f015";
    }
    
    .nav span.login:before {
    	content:"\f084";
    }
    
    .nav span.logout:before {
    	content:"\f08b";
    }

    .nav li a span.link {
        float: left;
    }    

    .nav li a {
        height: 50px;
    }    
}

.nav li[hidden] {
    display:none !important
}

.nav li a {
    clear:both;
    display: block;
}

.nav li a span.link {
    display: block;
    margin-top: 0;
} 

.login-form {
    margin-top:1em;
    border-radius: 4px;
    padding:1em;
    box-shadow: 5px 5px 5px rgba(0,0,0,.3);
    background-color: #f8f8f8;
    border:1px solid #e7e7e7;
    max-width: 40em;
}

.clearBoth {
    clear: both;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none;   /* Chrome/Safari/Opera */
  -khtml-user-select: none;    /* Konqueror */
  -moz-user-select: none;      /* Firefox */
  -ms-user-select: none;       /* IE/Edge */
  user-select: none;           /* non-prefixed version, currently
                                  not supported by any browser */
}

.buttonMargin {
    margin-left:0.5em;
}

.deleteButtonMargin {
    margin-right:2em;
}


.labelColumn {
    width: 16em;
}

.fieldColumn {
    width: auto;
}

table.editGrid tbody tr td{
    padding-bottom: 1em;
}

.buttonContainer {
    text-align: right;
    margin-top: 0.5em;
}

.preformatted {
    white-space: pre-wrap;
}

.form-group select {
    height:2em !important;
}

.form-group input, .form-group select {
    width:100%;
}

select:disabled {
    background: #e6e6e6;
    color: #a7a7a7;
}

.border-box {
    padding: 1em;
    border: 1px solid #a8a8a8;
    border-radius: 3px;
    margin-bottom: 1em;
    box-shadow: 3px 3px 5px rgba(0,0,0,.12);
}

@media all and (max-width:640px){
    .border-box {
        box-shadow: none;
    }
}

#ajaxPreloader {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0);
    z-index: 9999;
    cursor: wait;
    visibility: hidden;
    display:none;
    opacity: 0;
}

#ajaxPreloader.active {
    display:block;
    visibility: visible;
    opacity: 1;
}

#ajaxLoader {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background: rgba(45, 89, 114, 0.3); /*rgba(0,0,0,.3);*/
    z-index: 10000;
    cursor: wait;
    visibility: hidden;
    display:none;
    opacity: 0;
}

#ajaxLoader.active {
    display:block;
    visibility: visible;
    opacity: 1;
}

#ajaxInfoBox {
    width:300px;
    height:220px;
    position:absolute;
    left:50%;
    top:50%;
    margin:-110px 0 0 -150px;
    cursor: wait;
}

#ajaxInfoBox .ajaxInfoBoxText {
    display: inline-block;
    width: 170px;
    vertical-align: top;
    height: 90px;
    padding-top: 33px;
    text-align: left;
}
#ajaxInfoBox .ajaxInfoBoxImage {
    display: inline-block;
    width: 90px;
    height: 90px;
    vertical-align: top;
}

/* -------------- Loader1 -------------- */

.loader1{
    position: relative;
    height: 80px;
    width: 80px;
    border-radius: 80px;
    border: 3px solid  rgba(52,86,158, 1);

    top: 28%;
    top: -webkit-calc(50% - 43px);
    top: calc(50% - 43px);
    left: 35%;
    left: -webkit-calc(50% - 43px);
    left: calc(50% - 43px);

    -webkit-transform-origin: 50% 50%;
            transform-origin: 50% 50%;
    -webkit-animation: loader1 3s linear infinite;
            animation: loader1 3s linear infinite;
}

.loader1:after{
    content: "";
    position: absolute;
    top: -5px;
    left: 20px;
    width: 11px;
    height: 11px;
    border-radius: 10px;
    background-color: #8bc0f7;
}

@-webkit-keyframes loader1{
    0%{-webkit-transform:rotate(0deg);}
    100%{-webkit-transform:rotate(360deg);}
}

@keyframes loader1{
    0%{transform:rotate(0deg);}
    100%{transform:rotate(360deg);}
}

table thead tr th, table tbody tr td {
    /*white-space: pre-line;*/
    word-wrap: break-word;
}

@media (min-width:641px) {
    .inforequirementsTableAuthority {
        width:15em;
    }

    .inforequirementsTableId {
        width:6em;
    }    

    .inforequirementsTableStatus {
        width: 8em;
    }

    .adminInforequirementsTableKravid {
        width:6em;
    }

    .adminInforequirementsTableBenamning {
        width: 15em;
    }

    .adminInforequirementsTablePublicerat {
        width: 8em;
    }

    .adminInforequirementsTableStatus {
        width:7em;
    }

    .adminInforequirementsTableInitierasAv {
        width:9em;
    }

    .adminInforequirementsTableInsamlandeMyndighet {
        width:14em;
    }
    
    .adminInforequirementsTableType {
        width:10em;
    }    

    .adminInforequirementsTableTaBort {
        width:5em;
    }
    
    .adminUserTableTaBort {
        width:5em;
    }

    .businessareaTableNamn {
        width: auto;
    }

    .businessareaTableTaBort {
        width:6em;
    }
    
    .claimareaTableNamn {
        width: auto;
    }

    .claimareaTableTaBort {
        width:6em;
    }

    .myndighetTableNamn {
        width: auto;
    }

    .myndighetTableInsamlande {
        width:13em;
    }

    .myndighetTableAnsvarig {
        width:12em;
    }

    .myndighetTableTaBort {
        width:6em;
    }

    .textTableLang {
        width: 6em;
    }

    .textTableNamn {
        width:30em;
    }

    .textTableValue {
        width: auto;
    }
    
    .sentApplicationTableAppType {
        width: 10.5em;
    }
    
    .sentApplicationTableRefNo {
        width: 5.5em;
    }
    
    .sentApplicationTablePermitName {
        width:15em;
    }
    
    .sentApplicationTableCountry {
        width:6em;
    }
    
    .sentApplicationTableOrgName {
        min-width: 10em;
        width: auto;
    }
    
    .sentApplicationTableTimeSent {
        width: 7em;
    }
}

@media (min-width:1024px) {

    .adminInforequirementsTableBenamning {
        width: auto;
    }
}

@media (max-width:640px) {
    .adminInforequirementsTableKravid {
        width:7em;
    }    
    .adminInforequirementsTableBenamning {
        width: auto;
    }    
    .adminInforequirementsTablePublicerat {
        display: none;
    }
    .adminInforequirementsTableStatus {
        display: none;
    }
    .adminInforequirementsTableInitierasAv {
        display: none;
    }
    .adminInforequirementsTableInsamlandeMyndighet {
        display: none;
    }
    .adminInforequirementsTableTaBort {
        display: none;
    }
}

td.adminInforequirementsTableTaBort, td.businessAreaTableTaBort, td.myndighetTableTaBort, td.adminUserTableTaBort {
    text-align: center;
}

div.simpleTable {
    border-bottom: 1px solid #dfdfdf;
}

div.simpleTable.no-bottom-border {
    border-bottom: none;
}

div.simpleTable dl {
    display: table;
    width: 100%;
    border-bottom: 1px solid #efefef;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-bottom: 0;
}

div.simpleTable dl dt, div.simpleTable dl dd {
    display:block;
    float:left;
}

div.simpleTable dl dt {
    width: 100%;
    min-height: 1em;
    padding-right: 1em;
    margin-top: 5px;
}

@media (min-width: 1200px) {
    div.simpleTable dl dt {
       width: 14em;
    }
}

div.simpleTable.dialogLayout dl dt{
    width: 100%;
}

div.simpleTable dl dd {
    width: 100%;
    max-width: 61em;
    word-wrap: break-word;
}

div.simpleTable dl.nolabel dt {
    height: 0;
    min-height: 1px;
}

div.questionModule div.simpleTable dl dd {
	max-width: 57em;
}

div.checklistSection div.simpleTable dl dd {
    max-width: 55em;
}

div.simpleTable dl.checklistRecordType, div.simpleTable dl.checklistNameReadonly {
	padding-top:0;
	padding-bottom:5px;
}

div.simpleTable dl.checklistRecordType dd table.checklistRadio {
    margin-top:0;
}

div.simpleTable dl dd input[type="text"], div.simpleTable dl dd input[type="number"], div.simpleTable dl dd input[type="password"], div.simpleTable dl dd input[type="email"], div.simpleTable dl dd select, div.simpleTable dl dd textarea {
    width: 100%;
    border:1px solid #a8a8a8;
}

select {
	background: rgba(255,255,255,1);
}

div.simpleTable dl dd select, div.simpleTable dl dd input[type="text"], div.simpleTable dl dd input[type="number"], div.simpleTable dl dd input[type="password"], div.simpleTable dl dd input[type="email"] {
    height: 2em;
}

div.simpleTable dl dd input[type="text"].hasDatepicker {
    width:auto;
    margin-right:0.5em;
}

div.simpleTable dl dt label {
    display:inline;
}

div.simpleTable.dialogLayout dl dt label {
    display:block;
}

div.simpleTable dl dd label {
    margin-left:5px;
}

div.simpleTable dl dd input:disabled+label {
    color:#dfdfdf;
}

.preformatted {
    white-space: pre-wrap;
}


input[type="text"],input[type="email"], select, textarea {
    border:1px solid #a8a8a8;
    -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
    -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
    -o-transition: border linear 0.2s, box-shadow linear 0.2s;
    transition: border linear 0.2s, box-shadow linear 0.2s;
}

input[type="text"].fieldError,input[type="password"].fieldError,input[type="email"].fieldError, select.fieldError, textarea.fieldError, input[type="text"].ui-state-error {
    background: #f2dede;
}

input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, select:focus, textarea:focus {
    background: rgba(255,255,204,1);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(82, 168, 236, 0.6) !important;
    border: 1px solid #333333;
}

input[type="text"].fieldError:focus, input[type="password"].fieldError:focus, input[type="email"].fieldError:focus, select.fieldError:focus, textarea.fieldError:focus, .ui-calendar.fieldError input[type="text"]:focus, input[type="text"].ui-state-error:focus {
    background: #ff9999;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset, 0 0 8px rgba(255,51,0, 0.6);
    border: 2px double #e60000;
}

.fieldError, input[type="text"].ui-state-error {
    border: 2px double #e60000 !important;
}

table.fieldError {
    border-collapse: separate;
    border-radius: 3px;
    padding:0.5em;
}

.ui-calendar.fieldError {
    border:none !important;
}

.ui-calendar.fieldError input[type="text"] {
    border: 2px double #e60000;
}


/*dl dt::after {
    content: ":";
    margin-right: 5px;
}*/

a[href$=".pdf"]:before {
        opacity: 0.8;
        filter: alpha(opacity=80);
	    display: inline;
	    margin-left:-16px;
        margin-right:5px;
        font-family: "FontAwesome";
    	content:"\f1c1";
    	color: #8A0002;
}

.manual-link:before {
    display: none !important;
}

span.externalLink:before {
        opacity: 0.8;
        filter: alpha(opacity=80);
	    display: inline;
        margin-left:5px;
        font-family: "FontAwesome";
    	content:"\f08e";
    	color: #312a2a
    }

table.informationomuppgiftskravetTable {
    width:100%
}

table.informationomuppgiftskravetTable tbody tr td {
    border-bottom: 1px solid #efefef;
}

table.informationomuppgiftskravetTable tbody tr:last-child td {
    border-bottom: none;
}

table.informationomuppgiftskravetTable tbody tr td {
    padding-top: 5px;
}

table.informationomuppgiftskravetTable tbody tr td.column-link {
    width:auto;
}

table.informationomuppgiftskravetTable tbody tr td.column-edit {
    width:3em;
    padding:0.4em 0;
}

table.informationomuppgiftskravetTable tbody tr td.column-linktype {
    width:auto;
    max-width: 8em;
    padding-right: 0.5em;
}

table.informationomuppgiftskravetTable tbody tr td.column-orgLang {
    width:auto;
    max-width: 20em;
    padding-right: 0.5em;
}

.add-more-info-menu {
    width: 17em;
}


.editRadio td {
    padding-left:5px;
    padding-top:2px;
}

.editRadio label {
    margin-left: 4px;
    margin-right: 10px;
}

.forfattningsstodTable, .ingivningssattTable, .informationomuppgiftskravetTable {
    width: 100%;
    border-collapse: separate;
    padding: 0.5em;
    border: 1px solid #efefef;
    border-radius: 3px;
    margin-bottom: 1em;
}

.forfattningsstodTable thead tr th, .ingivningssattTable thead tr th, .informationomuppgiftskravetTable thead tr th {
    font-weight: bold;
}

.forfattningsstodTable thead tr th,
.forfattningsstodTable tbody tr td,
.ingivningssattTable thead tr th,
.ingivningssattTable tbody tr td,
.informationomuppgiftskravetTable thead tr th,
.informationomuppgiftskravetTable tbody tr td {
    padding-right: 3px;
    vertical-align: top;
}

.forfattningsstodTable .beteckning {
    width: 8em;
    max-width: 33%;
}

.ingivningssattTable .ingivningssatt {
    width: 12em;
    max-width: 33%;
}

.forfattningsstodTable .lank, .forfattningsstodTable .lankText, .ingivningssattTable .lank, .ingivningssattTable .lankText {
    width: auto;
}

.forfattningsstodTable .trash, .ingivningssattTable .trash {
    width:2.5em;
    padding-left: 5px;
}

.forfattningsstodTable button.trashButton {
}

.forfattningsstodTable button.trashButton span, .ingivningssattTable button.trashButton span {
    background: url('../images/trash-16-000000.png');
    background-position: 50%;
    background-repeat: no-repeat;
    height: 1.8em;
}

.selectManyCheckboxTable {
    width:100%;
}

.selectManyCheckboxTable label {
    margin-left: 4px;
    margin-right: 10px;
}

.tooltip-indicator {
    background: url('../images/help-circled-14-50.png');
    background-repeat: no-repeat;
    display: inline;
    width: auto;
    height: 14px;
    background-position: right top;
    padding-right: 15px;
}

.textAreaCounter {
    font-size: 10px;
    color: #777;
    display: block;
    margin-top: 2px;
}

.heading-add-container {
    padding-bottom: 0.5em;
    padding-top: 0.2em;
}

.heading-add-container h3{
    margin-bottom: 0;
    margin-top: 0.25em; 
}

.paginationContainer {
    display: table;
    width: 100%;
    padding:0.3em 0;
}

.paginationContainerRow {
    display:table-row;
}

.paginationContainer .paginationLinks {
    text-align: center;
    width: auto;
    display: table-cell;
    vertical-align: top;
}

.paginationContainer .paginationLinks .pagination {
    margin:0;
}

.paginationContainer .paginationLinks .pagination ul {
    margin-bottom: 0;
}

.paginationContainer .paginationPrevious {
    text-align: left;
    width:2em;
    display: table-cell;
    vertical-align: top;
    /*padding-top: 1.5em;*/
}

.paginationContainer .paginationNext {
    text-align: right;
    width:2em;
    display: table-cell;
    vertical-align: top;
    /*padding-top: 1.5em;*/
}

div.noscriptwarning {
    background-color: #ffd1d1;
    border: 2px double #e60000;
    color: #e60000;
    font-size: 200%;
    font-weight: bold;
    margin-bottom: 1em;
    padding: 0.2em;
    text-align: center;
}

.footerLinks {
    margin-top: 0.5em;
}

.footerLinks ul li {
    display: inline-block;
    margin-right: 5px;
    /* border-right: 1px solid #a8a8a8; */
    padding-right: 5px;
    margin-top: 2px;
}

.footerLinks li a {
    margin: 0 1em 0 .5em;
    display:flex;
    align-items:center;
}

.footerLinks li a span.icon {
        opacity: 0.8;
        filter: alpha(opacity=80);
        display: block;
        float: left;
        margin-right:5px;
    	font-size:2em;
        font-family: "FontAwesome";
    	font-weight: 400;
    	color:#555;
    }
    
    .footerLinks li a .manual:before {
    	font-weight: 900;
    	content: "\f02d";
    }

	.footerLinks li a .contact:before {
	    content: "\f003";
	}

	.footerLinks li a .about:before {
	    content: "\f29c";
	}

.ddFieldContainer {
    display:inline-block;
    width:100%;
    padding-right:3em;    
}

.ddFieldContainer.twoButtons {
    padding-right:6em;    
}


.ddFieldAddContainer {
    float: right;
    margin-top: -2.0em;    
}

textarea {
    resize: none;
}

.icon-refresh {
    background-image: url("../images/icon-refresh.png") !important;
    opacity: 0.6;
}

.js div[id="form:additionalFields"] {
    display: none;
}

.no-js button[id="form:additionalFieldsButton"] {
    display: none;
}

.bottomButtonsContainer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3.5em;
    background: transparent;
}

.bottomButtonsContainer .container {
    height: 3.5em;
    padding: 0.5em;
    text-align: right;
    background: inherit;
    overflow: hidden;
}

.bottomButtonsContainer .container:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: inherit;
    -webkit-filter: blur(20px) saturate(2);
    -moz-filter: blur(25px);
    -o-filter: blur(25px);
    -ms-filter: blur(25px);
    filter: blur(25px);
}

.bottomButtonsContainer .container .container-fluid {
    width: 100%;
    height: 3.5em;
    background: rgba(255,255,255,0.8);     
    border-top: 1px solid #a8a8a8;
    z-index: 1000;
    padding-top: 0.5em;
}

.ui-tree.categoryTree {
    display: inline-block;
    width: 100%;
    padding: 0.5em;
    max-width: 39em;
    float: left;
    margin-right: 1em;
    margin-bottom: 1em;
}

.ui-tree.categoryTree.categoryTreeInLegalReq {
    height: 20em;
    /*max-width: 30em;*/
    overflow: auto;
    margin: 0;
    width: 23em;
}

.ui-tree.categoryTree .ui-treenode-content {
    display: block;
}

.ui-tree.categoryTree .ui-treenode.tab .ui-treenode-content {
    /*padding-top: 0.5em;
    padding-bottom: 0.5em;*/
}

.ui-tree.categoryTree .ui-treenode.category .ui-treenode-content {
    padding-top: 0em;
    padding-bottom: 0em;    
}

.ui-tree.categoryTree .ui-treenode-label {
    display: inline-block;
    margin: 2px 0 0 0;
    vertical-align: top;
    padding: 0 3px;
    width: 97%;
    overflow-x: hidden;
    margin-top: 4px;
}

.ui-tree.categoryTree.categoryTreeInLegalReq .ui-treenode-label {
    width:auto;
}

.ui-tree.categoryTree .ui-treenode.tab .ui-treenode-label {
    /*padding:0.5em;*/
    /*border:1px solid red;*/
}

.ui-tree.categoryTree .ui-treenode.category .ui-treenode-label {
    padding:0em;
    /*border:1px solid green;*/
}

.ui-tree.categoryTree .ui-treenode.tab .ui-tree-toggler {
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    margin-top: 13px;
}

.ui-tree.categoryTree.categoryTreeInLegalReq .ui-treenode.tab .ui-tree-toggler {
    margin-top: 7px;
}

.ui-tree.categoryTree .ui-treenode.tab .ui-treenode-icon {
    display: inline-block;
    vertical-align: top;
    margin-top: 15px;
    border-radius: 0;
}

.ui-tree.categoryTree.categoryTreeInLegalReq .ui-treenode.tab .ui-treenode-icon {
    margin-top: 8px;
}

.ui-tree.categoryTree .ui-treenode.category .ui-tree-toggler {
    cursor: pointer;
    display: inline-block;
    vertical-align: top;
    margin-top: 6px;
    border-radius: 0;
}

.ui-tree.categoryTree .ui-treenode.category .ui-treenode-icon {
    display: inline-block;
    vertical-align: top;
    margin-top: 7px;
    border-radius: 0;
}

.categoryContainerPanel, .orgContainerPanel {
    display: inline-block;
    vertical-align: top;
    padding: 0 0.5em 1em 0;
}

.categoryContainerPanel.middle, .orgContainerPanel.middle {
    padding-top:8em;
}

.categoryList, .orgLangList {
    height: 20em;
    /*max-width: 24em;*/
    width: 23em;
    /*min-width: 15em;*/
    overflow: auto;
}

.categoryList .ui-selectlistbox-listcontainer, .orgLangList .ui-selectlistbox-listcontainer {
    height: 19.5em !important;
    overflow-wrap: break-word;
    overflow: hidden;
    overflow-y: auto;
}

.categoryList.has-filter .ui-selectlistbox-listcontainer, .orgLangList.has-filter .ui-selectlistbox-listcontainer {
    height: 17.5em !important;
}

.categoryList .ui-selectlistbox-item, .orgLangList .ui-selectlistbox-item{
    border-bottom: 1px solid #efefef;
    padding-bottom: 5px;
    padding-top:5px;
    padding-left: 5px;
}

.categoryViewEditContainer {
    /* margin-top: 1em; */
    float: left;
    width: 100%;
    max-width: 39em;
    display: inline-block;
}

.deleteCategoryDialogBody {
    width:26em;
    min-height: 6em;
}

.legalreq-bottom-button-bar {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 85em;
    min-height: 42px;
    background: rgba(247,247,247,.8);
    border-top: 1px solid rgba(168,168,168,.5);
    width: 100%;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    box-shadow: none;
}

.legalreq-bottom-button-bar .container-fluid {
	padding-left: 8px;
	padding-right: 8px;
}

div.reorderCategoriesTable table thead {
	display:none;
}

.iconMove {
    background-image: url("../images/arrow-move.png");
    background-repeat: no-repeat;
    background-position: 50% 50%;
    display: inline-block;
    width: 28px;
    height: 28px;
    opacity: 0.4;
}

.legalreqTable {
	display: table;
	width: 100%;
}

.legalreqTableRow {
	display: table-row;
}

.legalreqTableRow .reorderCategory {
	display:table-cell;
	min-width: 30em;
}

.legalreqTableRow .reorderCategoryDragDecoration {
	display: table-cell;
    text-align: center;
    vertical-align: bottom;
    min-width: 30em;
}

.ui-menu.menuStyle {
	width: 20em;
}

.ui-menu.menuStyle ul li a {
    color: #333;
}

div[id="form:legalreqActionButtonMenu_menu"]{
    z-index: 100000!important;
}

.navigationButtonsContainer {
    padding:0.7em;
}

div.moreInfoTable .column-published {
    width:8em;
}

div.moreInfoTable .column-type {
    width:10em;
}

div.moreInfoTable .column-management {
    width:10em;
}

div.moreInfoTable .column-verified-url-date {
    width:10em;
}

div.moreInfoTable .column-lang {
    width:6em;
}

div.moreInfoTable .column-urltype {
    width:auto;
}

div.moreInfoTable .column-status {
    width:12em;
}

div.moreInfoTable .column-linkcount {
    width:12em;
}

div.moreInfoTable .column-linkokcount {
    width:12em;
}

div.moreInfoTable .column-orglangnames {
    width:12em;
}

div.moreInfoTable .column-count {
    width:5em;
}

div.demoLinkContainer {
    padding-top: 0.5em;
}

a.brokenLink {
    color: #cd003a;
}

@-webkit-keyframes brokenlinkjob-is-running{
    0%{color: #40A0FB;}
    50%{color: #aaffaa;}
    100%{color: #40A0FB;}
}

@keyframes brokenlinkjob-is-running{
    0%{color: #40A0FB;}
    50%{color: #aaffaa;}
    100%{color: #40A0FB;}
}

div.moreInfoTable table tbody tr td.isRunning {
    background: #982828;
}

span.mce-text {
    background: none !important;
}

div.orgAddButtonsContainer, div.orgRemoveButtonsContainer {
    padding: 1em 0 0 0;
    font-size: 75% !important;
}

div.orgAddButtonsContainer button, div.orgRemoveButtonsContainer button {
    margin-right: 0.5em;
    margin-bottom: 0.5em;
}

.searchTermAutoComplete {
    width:100%;
}

.searchTermAutoCompletePanel {
    max-width: 50em;
}

.dialogContent {
    margin-bottom: 0.5em;
}

dl.tobedeleted {
    background: url('../images/tbd.png');
}

.column-show-details {
    width: 4em;
}

.history-panel {
    float: right;
    margin: 0.5em;
}

div[id='form:historyDialog'] {
    margin: auto 4em auto 1em;
}

.sticky {
  position: fixed;
  z-index: 9999;
  top: 50px;
}
.not-sticky {
    padding-right:12em;
}

/* select one fix */
.ui-selectonemenu .ui-selectonemenu-trigger {
    padding: 0;	
}
.ui-inputfield .ui-inputfield {
    padding: 0 4px;
}

.uppgiftskrav-show ul {
    list-style-type: disc;
}
.uppgiftskrav-show ol {
    list-style-type: decimal;
}
.uppgiftskrav-show li {
    display: list-item;
    margin-left: 2em;
}

.periodicityResponsive .ui-grid-row:nth-child(2) {
    margin-bottom: 2em;
}

.linkTable.draggable tbody tr td:nth-child(1) {
    padding-left: 18px;
}

.linkTable.draggable tbody tr:hover td {
    background-color: #eee;
}

.linkTable.draggable tbody tr:hover td:nth-child(1) {
    background-image: url('../images/drag-handle.png');
    filter: alpha(opacity=40);
    background-position: 5px center;
    background-repeat: no-repeat;
}
.linkTable {
    margin-bottom: .6em;
}
.editFields {
    text-align: right; 
    margin-top: 1em;
    padding-right: 2em;
}
.editFields input[type=button] {
    padding: .3em 1em;
}

.addLinkPanel {
    text-align: right; 
    margin: .5em 0 0;
}

.back-link {
	margin-top:0.85em;
}

.back-link a:before {
	font-family: "FontAwesome";
    content: "\f053";
    margin-right: 5px;
}