.mf-media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(216px, 1fr));
  grid-gap: 10px;
}

.mf-media-item {
  border-radius: 8px;
  cursor: pointer;
  position:relative;
  padding:12px;
}

.mf-media-item .uploaded {
  font-weight: 400;
  font-size: 11px;
  margin-top: 0;
  color: #6B6B6B;
}

.mf-media-item .duration {
  position: absolute;
  top: 20px;
  right: 20px;
  background: black;
  color: white;
  font-size: 12px;
  padding: 3px 5px;
  border-radius: 5px;
  letter-spacing: 1px;
}

.mf-media-item:hover {
  background-color: #fff;
  color: #333840;
}
.mf-media-item .name {
  font-weight: 600;
  font-size: 14px;
  margin-top: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mf-media-item .description {
  margin-top: 8px;
  font-weight: 400;
  font-size: 12px;
}

.mf-media-item .img {
  width: 100%;
  max-width: 100%;
  height:auto;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
}
.mf-media-item .moreinfo {
  margin-top: 8px;
  font-weight: 400;
  font-size: 12px;
  text-decoration: underline;
  color: #4698CB;
  visibility: hidden;
  font-style:italic;
}
.mf-media-grid.mf-media-item .moreinfo:hover {
  color:#00B2A9;
}
.mf-media-item:hover .moreinfo {
  visibility: visible;

}
.mf-media-item.pending {
  border:dashed 1px #333840;
}

.mf-media-item.broadcasting {
  background:black;
  color:white;
}

.mf-media-item .live-indicator .live-ball {
  margin-right: 5px;
  vertical-align: sub;
}
.admin-font {
  font-family: SourceSansPro, "Open Sans", Arial, Helvetica, sans-serif;
}

/* prefixed by https://autoprefixer.github.io (PostCSS: v7.0.23, autoprefixer: v9.7.3) */
.fileview-1-subcomponent-2-1 > .preview {
  min-width: unset !important;
}

.filedetail-1 .file-info {
  user-select: text;
}
.selection-1 > .header > .selections:after {
  content: "" !important;
  -webkit-transform: translateY(-50%) rotate(225deg) !important;
  -ms-transform: translateY(-50%) rotate(225deg) !important;
  transform: translateY(-50%) rotate(225deg) !important;
}

select::-ms-expand {
  display: none;
} /* base.css template 1a */

.login-1 {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
  word-wrap: break-word;
  overflow: auto;
  box-sizing: border-box;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-1 .form {
  margin: auto;
}

.login-1 .login-form {
  max-width: 300px;
  margin: 0 auto;
}

.login-1 .logo {
  margin-bottom: 30px;
  max-width: 100%;
}

.login-1 .title {
  font-size: 20px;
  margin-bottom: 20px;
  width: 100%;
}

.login-1 .message {
  font-size: 14px;
  margin-bottom: 20px;
}
.login-1 > .login-form > form {
  width: 100%;
}
.login-1 label {
  font-size: 14px;
  font-weight: 600;
  width: 100%;
}
.login-1 input[type="text"],
.login-1 input[type="password"] {
  height: 40px;
  margin-bottom: 20px;
  margin-top: 5px;
  padding: 0 10px;
  width: 100%;
}
.login-1 input[type="submit"] {
  height: 40px;
  width: 100%;
}

@media (max-width: 599px) {
  .modalcropper-1 > .content {
    overflow-y: auto;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  .modalcropper-1 > .content > .main {
    width: 100%;
    min-width: 0;
    min-height: 0;
    height: calc(50% - 70px);
    max-height: calc(50% - 70px);
    position: static;
    display: inline-block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  .modalcropper-1 > .content > .navigation {
    height: 50%;
    left: 0;
    top: 0;
    width: 100%;
    position: static;
    display: inline-block;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  .modalcropper-1 > .content > .crop-button {
    display: inline-block;
    position: static;
    width: calc(100% - 40px);

    -webkit-box-sizing: border-box;

    box-sizing: border-box;
  }

  .filedetail-1 > .window > .scroller > .content-single .zoom-button svg {
    width: 25px;
    height: 25px;
  }
}

@media (max-height: 700px) {
  .filedetail-1 > .window > .scroller > .preview {
    left: initial;
    float: left;
    position: relative;
    right: initial;
    top: initial;
    width: 100%;
  }
  .filedetail-1 > .window > .scroller {
    overflow-x: hidden;
    overflow-y: auto;
  }

  .filedetail-1 > .window > .scroller > .content-single {
    bottom: initial;
    left: initial;
    float: left;
    position: relative;
    right: initial;
    top: initial;
    width: 100%;
  }

  .filedetail-1 > .window > .scroller > .content-single > .file-info {
    bottom: initial;
    left: initial;
    float: left;
    position: relative;
    right: initial;
    /*top: initial;*/
    width: 100%;
  }
  .filedetail-1 > .window > .scroller > .content-single > .options {
    bottom: initial;
    left: initial;
    float: left;
    position: relative;
    right: initial;
    top: initial;
    width: 100%;
  }

  .filedetail-1 > .window {
    background-color: #fff;
    bottom: auto;
    height: 100%;
    left: 0;
    position: absolute;
    right: auto;
    top: 0;
    width: 100%;
  }
}

.filedetail .file-info-separator::before {
  border-bottom: 1px solid #333;
}

.mark-color {
  font-size: 5px;
  width: 12px;
  height: 12px;
  max-width: 12px;
  max-height: 12px;
  overflow: hidden;
  border-style: solid;
  border-width: 1px;
  border-radius: 50%;
  margin-top: 2px;
  margin-right: 5px;
  float: left;
}

.rating-star {
  width: 1em;
  height: 1em;
  background: transparent
  url("//mfstatic.com/portalassets/images/icons/mfp-star.svg") no-repeat
  center center;
  background-size: 1em 1em;
  border-color: transparent;
  float: left;
  margin-right: 1px;
}
.mark-color-0 {
  opacity: 0;
}

.mark-color-1 {
  background-color: #0005f7;
  color: #0005f7;
}

.mark-color-2 {
  background-color: #ff3333;
  color: #ff3333;
}

.mark-color-3 {
  background-color: #25c62e;
  color: #25c62e;
}
.mark-color-4 {
  background-color: #9a0198;
  color: #9a0198;
}

.mark-color-5 {
  background-color: #6b0000;
  color: #6b0000;
}

.mark-color-6 {
  background-color: #d5d538;
  color: #d5d538;
}
.treenavmobile .close svg.ui-icon {
  stroke-width: 3px;
  stroke: #333;
}

svg.ui-icon {
  stroke-width: 1.7px;
  /*  stroke:#333;*/
}

/*
.button-2:not(:hover) svg {
stroke:#ddd;
}*/

/* Filedetail */

.zoom-button .image,
.button-save .icon {
  fill: none;
}

.filedetail {
  background: #fff;
}
.filedetail .marked-file-info {
  height: 40px;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  font-size: 13px;
}
.filedetail .marked-file-info a {
  color: inherit;
}

.filedetail .file-info-rights-description {
  font-weight: 600;
  float: none;
  display: block;
}

.file-info-rights-value.limited {
  color: red;
}
.file-info-rights-value {
  clear: both;
  display: block;
  margin-bottom: 0.5em;
}

.filedetail .preview-empty {
  background-color: #fff;
}

@media (max-width: 800px) {
  .filedetail-1 {
    top: 90px;
  }
}

.filedetail .remove,
.selection .remove {
  width: 20px;
  height: 20px;
  stroke-width: 3px;
  stroke: red;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  opacity: 0;
}

.filedetail .file:hover .remove,
.selection .file:hover .remove {
  opacity: 1;
}

/* admin */
.template-play .adminwrapper {
  overflow-y: auto;
}
.admin-no-content {
  border: 1px dashed #ddd;
}
.template-play-2 .admin-no-content {
  border-color: #333840;
}
.admin-hover-border {
  border: 2px solid rgb(98, 168, 204);
  bottom: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  right: 0;
  top: 0;
  /*z-index:-1;*/
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: opacity 267ms ease-in-out;
  -o-transition: opacity 267ms ease-in-out;
  transition: opacity 267ms ease-in-out;
  pointer-events: none;
}

.admin-image-edit {
  height: 30px;
  left: 10px;
  opacity: 0;
  position: absolute;
  -webkit-transition: opacity 267ms ease-in-out;
  -o-transition: opacity 267ms ease-in-out;
  transition: opacity 267ms ease-in-out;
  top: 10px;
  width: 30px;
  cursor: pointer;
}

div:hover > .admin-hover-border,
div:hover > .admin-image-edit,
div:hover > .admin-image-upload,
div:hover > .admin-image-link,
div:hover > .admin-image-upload-local,
.editable:hover > .admin-hover-border {
  opacity: 1;
}

.admin-image-upload {
  cursor: pointer;
  height: 30px;
  left: 10px;
  opacity: 0;
  position: absolute;
  top: 10px;
  -webkit-transition: opacity 267ms ease-in-out;
  -o-transition: opacity 267ms ease-in-out;
  transition: opacity 267ms ease-in-out;
  width: 30px;
}
.admin-image-link {
  cursor: pointer;
  height: 30px;
  left: 80px;
  opacity: 0;
  position: absolute;
  top: 10px;
  -webkit-transition: opacity 267ms ease-in-out;
  -o-transition: opacity 267ms ease-in-out;
  transition: opacity 267ms ease-in-out;
  width: 30px;
}

.admin-image-upload-local {
  cursor: pointer;
  height: 30px;
  left: 45px;
  opacity: 0;
  position: absolute;
  top: 10px;
  -webkit-transition: opacity 267ms ease-in-out;
  -o-transition: opacity 267ms ease-in-out;
  transition: opacity 267ms ease-in-out;
  width: 30px;
}

.admin-image-upload-local label {
  cursor: pointer;
}
.contenteditable-no-mce {
  border: 2px solid transparent;
}

.contenteditable-no-mce:focus {
  outline: none;
}
.contenteditable-no-mce:hover {
  border: 2px solid rgb(98, 168, 204);
}

/* end admin */

/* Controls */
.control {
  border: 1px solid #eee;
  /*border-radius: 5px;*/
}

.control.rounded {
  border-radius: 5px;
}
.control.center {
  text-align: center;
  margin: auto;
}
.control.active {
  background-color: #eee;
  color: #333;
}
.control:hover {
  background-color: #ddd;
  color: #333;
}

.control svg {
  stroke: #444;
  fill: #444;
  width: auto;
  height: 17px;
  position: relative;
  margin: auto;
  top: 6px;
}

/* mobile has larger buttons */
.subheader .control svg {
  height: 25px;
  top: 10px;
}

.button-1 .button-text,
.button-2 .button-text {
  display: inline-block;
  height: 100%;
  vertical-align: top;
  line-height: 33px;
}

.selection .header .button {
  height: 30px;
}
.selection .header .button .button-text {
  line-height: 30px;
}

/* Buttons */
button{font-family: inherit;}
.button {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  text-align: center;
  height: 35px;
  cursor: pointer;
  padding: 0 10px 0 10px;
  border-width: 1px;
  border-style: solid;
  color: #383838;
  border-radius: 5px;
  stroke: #383838;
  -webkit-transition: background-color 100ms ease-in-out,
  border-color 100ms ease-in-out, color 100ms ease-in-out,
  stroke 100ms ease-in-out;
  -o-transition: background-color 100ms ease-in-out,
  border-color 100ms ease-in-out, color 100ms ease-in-out,
  stroke 100ms ease-in-out;
  transition: background-color 100ms ease-in-out, border-color 100ms ease-in-out,
  color 100ms ease-in-out, stroke 100ms ease-in-out;
  font-size: 14px;
  padding: 0 15px 0 15px;
  overflow: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.button:focus {
  outline: none;
}


:root{
  --mf-font: "Source Sans Pro", sans-serif;

  --mf-button-border-radius: 5px;
  --mf-button-font-weight: normal;

  --mf-custom-button-background-color: #383838;
  --mf-custom-button-border-color: #383838;
  --mf-custom-button-text-color: #fff;

  --mf-custom-button-background-color-hover: #fff;
  --mf-custom-button-border-color-hover: #000;
  --mf-custom-button-text-color-hover: #000;
}

.button-2 {
  background-color: #383838;
  border-color: #383838;
  color: #fff;
  stroke: #fff;
  fill: none;
}

.button-1 {
  background-color: #cacaca;
  border-color: #cacaca;
  color: #383838;
  stroke: #383838;
  fill: none;
}

.admin-button {
  font-family: "SourceSansPro", Arial, Helvetica, sans-serif;
  background-color: #4698cb;
}

.button-2:focus {
  outline-style: none;
  border: 1px solid black;
  background-color: #282828;
  border: 1px solid #282828;
}

.button-1:hover,
.button-2:hover {
  background-color: #fff;
  border: 1px solid #000;
  color: #000;
  stroke: #000;
}

/*
a.button-2 {
color:#fff;
}*/

.fileview-1-subcomponent-4 .left-arrow svg,
.fileview-1-subcomponent-4 .right-arrow svg {
  fill: none;
  stroke: #333;
  width: 20px;
  height: 39px;
}
.fileview-1-subcomponent-4 > .container > .center > .left > .left-arrow svg {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.fileview-1-subcomponent-4 .left-arrow:hover svg,
.fileview-1-subcomponent-4 .right-arrow:hover svg {
  stroke: black;
}

span.close:not(.button-2) svg {
  stroke: #333;
  stroke-width: 3px;
}
.button-2-round {
  border-radius: 50%;
  border-color: transparent;
  padding: 0;
}

.button-2-round:hover {
  stroke: #000;
}
/* end buttons */

/* select dropdowns (always wrap in <div class="select"> </div>*/
.select:after {
  width: 7px;
  height: 7px;
  position: absolute;
  right: 10px;
  border-left: solid #aaa 1px;
  border-top: solid #aaa 1px;
  -webkit-transform: translateY(-50%) rotate(225deg);
  -ms-transform: translateY(-50%) rotate(225deg);
  transform: translateY(-50%) rotate(225deg);
  top: 45%;
  content: "";
  pointer-events: none;
}

.select {
  position: relative;
}
.select select {
  background-color: white;
  border: 1px solid #bbb;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border-radius: 5px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  height: 100%;
  outline: none;
  padding: 7px 20px 7px 7px;
  width: 100%;
}

select::-ms-expand {
  display: none;
}
.select select option {
  font-size: 14px;
}
.select .control {
  padding: 7px 12px;
  margin-right: 1em;
}

/* end select dropdowns */

/* dialogs */

.dialog {
  background-color: rgba(0, 0, 0, 0.2);
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  z-index: 1000000;
}

.dialog .dialog-window {
  left: 50%;
  max-height: 80%;
  max-width: 80%;
  position: relative;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 400px;
  background: white;
  border-radius: 5px;
}
.dialog .dialog-form {
  bottom: 0;
  left: 0;
  padding: 30px;
  position: relative;
  right: 0;
  top: 0;
  margin: auto;
  box-sizing: border-box;
}
.dialog .dialog-form.center {
  text-align: center;
}

.dialog .dialog-form .user-content {
  text-align: left;
  height: 100%;
  width: 100%;
  overflow-x: hidden;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
}

.dialog .dialog-label {
  font-size: 14px;
  font-weight: 600;
  padding-bottom: 6px;
  margin: 0 auto;
  display: block;
}

.dialog .dialog-title {
  font-size: 18px;
  font-weight: 600;
  margin: 0 auto;
  display: block;
  line-height: normal;
}

.dialog .dialog-button,
.dialog .select select {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
}

.dialog .dialog-field {
  display: block;
  font-size: 14px;
  margin: 20px auto;
  max-width: 300px;
  width: 100%;
}

.dialog .submit-area {
  padding-top: 20px;
  margin-bottom: 0;
}

.text-input {
  font-family: "Open Sans", Arial, Helvetica, sans-serif;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  /*  margin-top: 5px;*/
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  box-sizing: border-box;
  box-sizing: border-box;
  border-radius: 5px;
  border: 1px solid rgb(202, 201, 202);
  outline: none;
  padding: 7px 10px;
  width: 100%;
}
/*
.dialog .dialog-button {
padding: 10px 20px;
}
*/

.dialog .dialog-button.fixed-width {
  width: 100px;
}

.dialog .dialog-button.fixed-width:first-of-type {
  margin-right: 50px;
}

@media (max-width: 400px) {
  .dialog .dialog-button.fixed-width {
    width: 70px !important;
  }
  .dialog .dialog-button.fixed-width:first-of-type {
    margin-right: 30px;
  }
}

.dialog .close {
  height: 30px;
  position: absolute;
  right: -15px;
  top: -15px;
  width: 30px;
  padding: 0;
  z-index: 2;
}

@media (max-width: 799px) {
  .dialog .close {
    height: 45px;
    position: absolute;
    right: -22px;
    top: -22px;
    width: 45px;
    padding: 0;
  }
  dialog .close svg {
    top: 5px;
  }
}

.dialog .close > .image {
  left: 50%;
  max-width: 50%;
  position: absolute;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
}

/* end dialogs */

.fileview .sort-dropdown {
  background-color: white;
}
.fileview .mobileMarkedFilesCount {
  padding: 8px 20px 8px 20px;
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  top: 120px;
  border-bottom: solid #eee 1px;
}

.fileview .subheader {
  border-bottom: solid #eee 1px;
}

.fileview .mobileMarkedFilesCount a:link,
.fileview .mobileMarkedFilesCount a:visited {
  color: inherit;
  text-decoration: underline;
}
.fileview .mobileMarkedFilesCount .button-show {
  float: right;
  padding: 3px 8px;
  margin-top: -4px;
  cursor: pointer;
}

.folder-inline {
  display: none;
}

.folder-inline-item {
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  align-items: center;
  gap: 5px;
  border-bottom: 1px solid #eee;
  display: none;
  color: #333;
  text-decoration: none;
}

.folderlist-mobile-open .folder-inline-item {
  display: flex;
}

.folder-inline-toggle {
  justify-content: center;
  padding: 8px;
  font-size: 0.8125rem;
  background: #eee;
  display: flex;
}

.folder-list-mobile, .folder-list-mobile-toggle {
  display:none;
}

.folder-list-mobile {
  height:148px;
  overflow-y: auto;
  width: 100%;
  box-sizing: border-box;
}

.folder-list-mobile-toggle {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 20px;
  background-color:#eee
}

@media (max-width: 1038.99px) {
  .folder-inline {
    display: block;
  }
  .fileview .content.pushed-down {
    top: 159px;
  }
}

@media (max-width: 799px) {
  .button svg {
    width: 32px;
    height: 32px;
  }
  .button-1,
  .button-2 {
    height: 45px !important;
  }
  .button-1 .button-text,
  .button-2 .button-text {
    line-height: 43px;
  }
  .button-1 .button-text,
  .button-2 .button-text {
    font-size: 16px;
  }

  .filedetail-1 > .window > .marked-file-info > .title {
    font-size: 16px;
  }
}
@media (min-width: 600px) {
  .fileview .mobileMarkedFilesCount {
    display: none;
  }
}
@media (min-width: 769px) {
  .fileview-1-subcomponent-1 {
    left: 10px;
    top: 20px;
    padding-right: 10px;
  }
}
.fileview .navigator,
.filedetail .navigator {
  background-color: #383838;
}

.filedetail .marked-file-info .show,
.fileview .mobileMarkedFilesCount .button-show {
  font-size: 16px;
}
/*
.fileview .button {
border-bottom: 1px solid #eee;
border-top: 1px solid #eee
}*/

@media (min-width: 600px) {
  #app .filedetail {
    width: 340px;
  }
  #app .fileview {
    right: 340px;
  }
  #app .mediaview-play-1 .filedetail {
    /*padding-top: 22px;*/
    width: 100%;
    box-sizing: border-box;
  }
}

.fileview-subcomponent-2 {
  padding-right: 10px;
}

.fileview .sort-dropdown-entry:hover {
  background-color: #ddd;
  color: #333;
}

.filedetail-1 .marked-file-info .show:hover {
  background-color: #eee;
  color: #333;
}

.arrow {
  width: 20px;
  height: 22px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;

  position: absolute;
  left: calc(100% - 20px);
  cursor: pointer;
  display: inline-block;
  text-align: center;
  padding-top: 2px;
}

.arrow:after {
  width: 5px;
  height: 5px;
  position: absolute;
  right: 10px;
  border-left: solid #333 1px;
  border-top: solid #333 1px;
  -webkit-transform: translateY(-50%) rotate(225deg);
  -ms-transform: translateY(-50%) rotate(225deg);
  transform: translateY(-50%) rotate(225deg);
  top: 50%;
  -webkit-transform-origin: top right;
  -ms-transform-origin: top right;
  transform-origin: top top right;
  content: "";
  pointer-events: none;
}

/* TinyMCE */
.tox .tox-dialog {
  overflow: visible;
}
.tox .tox-dialog__header .tox-button {
  position: absolute;
  top: -19px;
  left: calc(100% - 19px);
  background-color: rgb(98, 168, 204);
  border-radius: 50%;
}
.tox .tox-dialog__header .tox-icon svg {
  fill: white !important;
  -webkit-transform: scale(0.75);
  -ms-transform: scale(0.75);
  transform: scale(0.75);
}

.tox .tox-dialog__header .tox-button:hover {
  border: solid #333 1px !important;
  background-color: white;
}

.tox .tox-dialog__header .tox-button:hover svg {
  fill: #333 !important;
}

.tox-tinymce,
.tox,
.tox-silver-sink,
.tox-tinymce-aux,
.tox-dialog-wrap,
.tox-dialog-wrap {
  z-index: 1000001;
}
.tox .tox-button[title="Save"],
.tox .tox-button[title="Spara"] {
  font-family: SourceSansPro, Arial, Helvetica, sans-serif;
  background-color: #4698cb;
  font-weight: 600;
  font-size: 13px;
  border-color: #4698cb;
  border-radius: 16px;
}

.tox .tox-button[title="Cancel"],
.tox .tox-button[title="Avbryt"] {
  font-family: SourceSansPro, Arial, Helvetica, sans-serif;
  font-weight: 600;
  font-size: 13px;
  background-color: #333840;
  border-color: #333840;
  border-radius: 16px;
  color: white;
}
.tox .tox-button--secondary {
  border-radius: 16px;
}

.tox .tox-button[title="Cancel"]:hover,
.tox .tox-button[title="Avbryt"]:hover,
.tox .tox-button[title="Save"]:hover,
.tox .tox-button[title="Spara"]:hover {
  background-color: white;
  color: #333;
  border-color: #333;
}

.tox .tox-button[title="Save"]:hover,
.tox .tox-button[title="Spara"]:hover {
  background-color: #00b2a9;
  border-color: #00b2a9;
  color: white;
}

.mce-edit-focus,
span[contenteditable="true"]:focus,
div[contenteditable="true"]:focus {
  outline: none;
}

/*
.tox .tox-button--icon .tox-icon svg,
.tox .tox-button.tox-button--icon .tox-icon svg,
.tox .tox-button.tox-button--secondary.tox-button--icon .tox-icon svg {
display: none;
}
*/

.startview-4 .footer a {
  margin: 20px;
  text-decoration: none;
  font-style: italic;
  cursor: pointer;
}
.startview-4 .blur {
  width: 100%;
  /*  height: 0;*/
  background: rgba(0, 0, 0, 0.6);
  -webkit-filter: blur(30px);
  filter: blur(30px);
  border-radius: 30%;
}

.startview-4 .foreground {
  color: white;
}

p.main-content-text-font,
.startview .content p {
  line-height: normal;
  font-size: 14px;
  margin-bottom: 0.6em;
}

/* Teasers */

.template-1a .startview h3.teaser-header-2-font,
.template-3 .startview h3.teaser-header-2-font,
.template-4 .startview h3.teaser-header-2-font {
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 700;
}

.template-1a .startview h2.teaser-header-1-font,
.template-3 .startview h2.teaser-header-1-font,
.template-4 .startview h2.teaser-header-1-font {
  margin-bottom: 0;
  font-weight: 600;
  font-size: 20px;
}

.template-1a .startview h2.teaser-header-1-font,
.template-3 .startview h2.teaser-header-1-font,
.template-1a .startview h3.teaser-header-2-font,
.template-3 .startview h3.teaser-header-2-font {
  color: white;
}

.template-4 .startview h2.teaser-header-1-font,
.template-4 .startview h3.teaser-header-2-font {
  color: #333;
}

.template-1a .startview h2.main-teaser-header-1-font,
.template-3 .startview h2.main-teaser-header-1-font,
.template-4 .startview h2.main-teaser-header-1-font {
  font-size: 32px;
  font-weight: normal;
  margin-bottom: 0px;
  color: white;
}

.startview h3.main-teaser-header-2-font,
.template-1a .startview h3.main-teaser-header-2-font,
.template-3 .startview h3.main-teaser-header-2-font,
.template-4 .startview h3.main-teaser-header-2-font {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 0px;
  color: white;
}

.startview p.teaser-text-font,
.startview p.main-teaser-text-font {
  margin-top: 3px;
  font-size: 13px;
}

.template-4 .startview p.teaser-text-font {
  color: #333;
  line-height: normal;
}

.template-4 .startview .row-1 .main-teaser-text-font,
.template-1a .startview .teaser-text-font,
.template-3 .startview .teaser-text-font {
  color: white;
  line-height: normal;
}

.startview p.footer-text-font {
  font-size: 13px;
  line-height: normal;
}
.startview h2.footer-header-1-font {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 0.6em;
}

h1.main-content-header-1-font,
.startview h1.header-content-header-1-font {
  margin-bottom: 0.6em;
  font-size: 32px;
  line-height: normal;
}

h2.main-content-header-2-font,
.startview h2.header-content-header-2-font {
  margin-bottom: 0.2em;
  font-size: 20px;
  line-height: normal;
  font-weight: normal;
}

.startview strong,
.startview b {
  font-weight: 700;
}

.startview em,
.startview i {
  font-style: italic;
}

.startview p {
  font-size: 14px;
  line-height: normal;
}

.startview a:link,
.startview a:visited,
.modalcropper a:link,
.modalcropper a:visited {
  color: #2D739F;
  text-decoration: none;
}


.startview a:hover, .modalcropper a:hover {
  text-decoration: underline;
}

.startview-2 .container-2 {
  border-right: solid #eee 1px;
}
.startview-2 .file-list-container {
  background: #eee;
}

.startview-2 .container-2:first-of-type {
  border-left: solid #eee 1px;
}

.startview-2 .more {
  text-align: center;
  font-size: 13px;
}

/* Adminheader */
.admin-header-1 > .title strong {
  font-weight: bold;
}

@media (max-width: 599px) {
  .admin-header-1 > .title {
    display: none;
  }
}

/* Filedetail */
.filedetail-1 {
  border-left: 1px solid #eee;
}

@media (max-width: 800px) {
  .filedetail {
    top: 90px;
  }
}

@media (max-width: 599px) {
  .filedetail-1 > .window > .close {
    display: initial;
    top: 15px;
    right: 20px;
  }
}

@media (max-width: 400px) {
  .breadcrumb {
    max-width: calc(100% - 190px);
  }
}

@media (max-width: 799px) {
  #app > .filedetail-1-open {
    display: inherit;
  }

  .filedetail-1 > .window {
    bottom: auto;
    height: 100%;
    left: 0;
    position: absolute;
    right: auto;
    top: 0;
    width: 100%;
  }
  .filedetail-1 > .window > .scroller {
    top: 55px;
  }
  .filedetail-1 > .window > .scroller > .zoom-button {
    height: 45px;
    top: 196px;
    width: 45px;
  }
  .filedetail-1 > .window > .scroller > .content-single > .file-info {
    bottom: 140px;
  }
  .filedetail-1 > .window > .scroller > .content-single > .options,
  .filedetail-1 > .window > .scroller > .content-multiple > .options {
    height: 140px;
  }
  /*
 .filedetail-1 > .window > .scroller > .content-single > .options > .button-save,
 .filedetail-1 > .window > .scroller > .content-multiple > .options > .button-save {
   top:unset;
   bottom:70px;
 }*/
}
.filedetail .marked-files .file .close {
  stroke: #a00;
}
/*#app > .filedetail {
width: 356px;
}*/
.selection {
  right: 0;
}
.selection.wide {
  right: 0px;
}
@media (min-width: 800px) {
  .fileview,
  .selection {
    right: 356px;
  }
}

@media (min-width: 600px) and (max-width: 799px) {
  .filedetail {
    width: 291px;
  }
  .fileview {
    right: 291px;
  }
  .selection {
    right: 354px;
  }
}

@media (max-width: 1125px) {
  .filedetail {
    bottom: 45px;
  }
}
@media (max-width: 599px) {
  #app > .filedetail {
    bottom: 0;
    display: none;
    left: 0;
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
    z-index: 1000;
  }
  #app > .filedetail-open {
    display: inherit;
  }
  .filedetail .window {
    bottom: auto;
    height: 100%;
    left: 0;
    position: absolute;
    right: auto;
    top: 0;
    width: 100%;
  }

  .filedetail .marked-file-info {
    height: 55px;
    border-bottom: solid #666 1px;
    margin-left: 10px;
  }

  .filedetail .marked-file-info a:link,
  .filedetail .marked-file-info a:visited {
    color: inherit;
  }
  .filedetail .marked-file-info .show {
    right: 70px;
  }
  .filedetail .scroller {
    top: 55px;
  }
  .filedetail .close {
    display: initial;
    top: 4px;
    right: 10px;
  }
  .filedetail .zoom-button {
    height: 45px;
    top: 196px;
    width: 45px;
  }

  .filedetail .file-info {
    bottom: 140px;
  }

  .filedetail .options {
    height: 140px;
  }
  .filedetail .options .button-save {
    height: 45px;
    top: 0px;
  }
  .filedetail .options .button-download {
    bottom: 40px;
    height: 45px;
  }
  .filedetail .close {
    height: 45px;
    width: 45px;
  }
}
@media (min-width: 1125px) {
  .filedetail {
    right: 0;
  }
}
@media (max-height: 700px) {
  .filedetail .scroller {
    overflow-x: hidden;
    overflow-y: auto;
  }
  .filedetail .preview {
    left: initial;
    float: left;
    position: relative;
    right: initial;
    top: initial;
    width: 100%;
  }
  .filedetail .content-single {
    bottom: initial;
    left: initial;
    float: left;
    position: relative;
    right: initial;
    top: initial;
    width: 100%;
  }
  .filedetail .content-single .file-info {
    bottom: initial;
    left: initial;
    float: left;
    position: relative;
    right: initial;
    top: initial;
    width: 100%;
  }
  .filedetail .content-single .options {
    bottom: initial;
    left: initial;
    float: left;
    position: relative;
    right: initial;
    top: initial;
    width: 100%;
  }
  .filedetail .content-multiple {
    bottom: initial;
    left: initial;
    float: left;
    position: relative;
    right: initial;
    top: initial;
    width: 100%;
  }
  .filedetail .content-multiple .marked-files {
    bottom: initial;
    left: initial;
    float: left;
    position: relative;
    right: initial;
    top: initial;
    width: 100%;
  }
  .filedetail .content-multiple .options {
    bottom: initial;
    left: initial;
    float: left;
    position: relative;
    right: initial;
    top: initial;
    width: 100%;
  }
}

.filedetail .preview-single,
.filedetail-1 .preview-empty {
  background-color: #efefef;
}

.filedetail .file-info-container {
  float: left;
  padding: 1px 10px 1px 10px;
  width: calc(100% - 20px);
  font-size: 13px;
}

.filedetail .file-info-key {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  float: left;
  font-weight: 600;
  min-height: 1px;
  padding-bottom: 5px;
  padding-right: 10px;
  width: 105px;
  line-height: normal;
  overflow-x: hidden;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
}

.filedetail .file-info-value {
  min-height: 1px;
  overflow: hidden;
  padding-bottom: 5px;
  line-height: normal;
}

.filedetail .file-info-keyword,
.filedetail .file-info-category {
  cursor: pointer;
  font-style: italic;
  color: #0037DB;
  text-decoration: none;
}

.filedetail .file-info-category:hover,
.filedetail .file-info-keyword:hover {
  text-decoration: underline;
}

/* Fileview */
.fileview {
  -webkit-transition: left 267ms ease-in-out, right 267ms ease-in-out;
  -o-transition: left 267ms ease-in-out, right 267ms ease-in-out;
  transition: left 267ms ease-in-out, right 267ms ease-in-out;
}
.fileview .preview {
  background-color: #f7f7f7;
}
.fileview .info {
  background-color: #f7f7f7;
  border-top: solid#eee 1px;
  /*border-bottom:solid #eee 1px;*/
}

.fileview .header {
  border-bottom: 1px solid #eee;
}

.fileview-selection-open {
  bottom: 125px;
}

@media (max-width: 599px) {
  .fileview {
    right: 0;
  }

  .fileview .preview .marker {
    opacity: 1;
    height: 20px;
    width: 20px;
  }

  .fileview-subcomponent-1,
  .fileview-subcomponent-2 {
    padding: 10px;
  }
}
@media (min-width: 600px) {
  .filedetail .marked-file-info .close {
    display: none;
  }
}

@media (max-width: 800px) {
  .fileview {
    left: 0px;
    top: 90px;
  }
}

@media (max-width: 1125px) {
  .fileview {
    bottom: 45px;
  }
}
@media (max-width: 1200px) {
  .fileview .header {
    border-bottom: none;
  }

  .fileview .breadcrumb {
    left: 20px;
  }
  .fileview .header .sort-label {
    display: none;
  }
  .fileview .header .sort-order {
    display: none;
  }
  .fileview .header .control-button {
    display: none;
  }
  .fileview .subheader {
    display: block;
  }
  .fileview .content {
    top: 117px;
  }
  .fileview .header .mark-button {
    display: inline;
    padding-right: 10px;
    margin-right: 20px;
    font-size: 16px;
  }
}

/* jans small thumbs */
@media (max-width: 359px) {
  .fileview-subcomponent-1-1 {
    width: calc(100% - 20px);
  }
}

/* This is to accommodate 2 images per row on iPhone and Galaxy S5. Allow downscaling */
@media (min-width: 360px) and (max-width: 720px) {
  .fileview-subcomponent-1-1 {
    width: calc(50% - 15px);
    min-width: 0;
  }
}

@media (min-width: 721px) and (max-width: 820.99px) {
  .fileview-subcomponent-1-1 {
    width: calc(50% - 15px);
  }
}

@media (min-width: 821px) and (max-width: 1038.99px) {
  .fileview-subcomponent-1-1 {
    width: calc(100% - 10px);
  }
}

@media (min-width: 1039px) and (max-width: 1251.99px) {
  .fileview-subcomponent-1-1 {
    width: calc(50% - 10px);
  }
}

/* min-width bound is calculated as n * 219 + 246 + 339 + 10 (n * thumbwidth + treenavwidth + filedetailwidth + scrollbarwidth) */
@media (min-width: 1252px) and (max-width: 1470.99px) {
  .fileview-subcomponent-1-1 {
    width: calc(33.33333% - 10px);
  }
}
@media (min-width: 1471px) and (max-width: 1689.99px) {
  .fileview-subcomponent-1-1 {
    width: calc(25% - 10px);
  }
}
@media (min-width: 1690px) and (max-width: 1909.99px) {
  .fileview-subcomponent-1-1 {
    width: calc(20% - 10px);
  }
}
@media (min-width: 1910px) and (max-width: 2117.99px) {
  .fileview-subcomponent-1-1 {
    width: calc(16.6667% - 10px);
  }
}

@media (min-width: 2118px) and (max-width: 2246.99px) {
  .fileview-subcomponent-1-1 {
    width: calc(14.29% - 10px); /* 7 in a row */
  }
}

@media (min-width: 2247px) and (max-width: 2565.99px) {
  .fileview-subcomponent-1-1 {
    width: calc(12.5% - 10px);
  }
}
@media (min-width: 2566px) and (max-width: 2784.99px) {
  .fileview-subcomponent-1-1 {
    width: calc(11.11111% - 10px);
  }
}

@media (min-width: 2785px) {
  .fileview-subcomponent-1-1 {
    width: calc(10% - 10px);
  }
}

/* large thumbs */
@media (min-width: 600px) and (max-width: 800px) {
  .fileview-subcomponent-2-1 .preview {
    min-width: 0;
  }
}

@media (min-width: 801px) and (max-width: 930px) {
  .fileview-subcomponent-2-1 {
    width: calc(100% - 10px);
  }
  .fileview-subcomponent-2-1 .preview {
    min-width: 0;
  }
}

@media (min-width: 931px) and (max-width: 1233px) {
  .fileview-subcomponent-2-1 {
    width: 100%;
    flex-basis: 100%;
  }
}

@media (min-width: 1234px) and (max-width: 1566px) {
  .fileview-subcomponent-2-1 {
    width: calc(50% - 10px);
    flex-basis: 33%;
  }
}
@media (min-width: 1567px) and (max-width: 1899px) {
  .fileview-subcomponent-2-1 {
    width: calc(33.333% - 10px);
  }
}
@media (min-width: 1900px) and (max-width: 2232px) {
  .fileview-subcomponent-2-1 {
    width: calc(25% - 10px);
  }
}
@media (min-width: 2233px) and (max-width: 2565px) {
  .fileview-subcomponent-2-1 {
    width: calc(20% - 10px);
  }
}
@media (min-width: 2566px) and (max-width: 2898px) {
  .fileview-subcomponent-2-1 {
    width: calc(16.6666% - 10px);
  }
}
@media (min-width: 2899px) and (max-width: 3231px) {
  .fileview-subcomponent-2-1 {
    width: calc(14.28571% - 10px);
  }
}
@media (min-width: 3232px) {
  .fileview-subcomponent-2-1 {
    width: calc(12.5% - 10px);
  }
}

@media (max-width: 799px) {
  .fileview-subcomponent-2-1 {
    width: calc(100% - 10px);
    flex-basis: 100%;
  }
  .fileview-subcomponent-2-1 .preview {
    min-width: 0;
  }

  .fileview-subcomponent-2 {
    margin-top: 10px;
  }
}

@media (max-width: 340px) {
  .fileview-subcomponent-2-1 .preview {
    min-width: 0;
  }
}

/* Links */
.links a:link,
.links a:visited {
  color: #606060;
}

.links a {
  font-size: 12px;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  align-items: center;
}

.links a:hover {
  color: #000;
  text-decoration: underline;
}

.links-1 .entry {
  float: left;
  padding: 0 0 0 18px;
}

@media (max-width: 800px) {
  .links {
    display: none;
  }
}

@media (max-width: 599px) {
  .admin-modalselectfolderorkeyword .close,
  .admin-modalimagecropper .close {
    height: 45px;
    width: 45px;
    right: -22.5px;
    top: -22.5px;
  }
}

/* Modalcropper */
@media (max-width: 599px) {
  .modalcropper .navigation {
    height: 50%;
    left: 0;
    top: 0;
    width: 100%;
  }
  .modalcropper .main {
    bottom: 70px;
    left: 0;
    top: 50%;
    right: 0;
  }
  .modalcropper .navigation .download {
    display: none;
  }
  .modalcropper .crop-button {
    display: initial;
  }
  .modalcropper .navigation .title-size {
    float: left;
    width: 20%;
    margin-top: 13px;
  }
  .modalcropper .navigation .row {
    float: left;
    width: 80%;
    margin-top: 5px;
  }
  .modalcropper .navigation .row .col-2 h5 {
    display: none;
  }
  .modalcropper .navigation .separator {
    display: none;
  }
}

/* Modaldownload */
@media (max-width: 599px) {
  .modal-download .close {
    height: 45px;
    width: 45px;
    right: -22.5px;
    top: -22.5px;
  }
  .modal-download .formats-box {
    height: 45px;
  }
  .modal-download .download {
    height: 45px;
    line-height: 45px;
    padding: 0 30px;
  }
}

/* Modalnewweblink */
@media (max-width: 599px) {
  .modalnewweblink .close {
    height: 45px;
    width: 45px;
    right: -22.5px;
    top: -22.5px;
  }
}

/* Modalpreview */
@media (max-width: 599px) {
  .modalpreview .close {
    height: 45px;
    width: 45px;
    right: -22.5px;
    top: -22.5px;
  }
}

/* Searchbox */
.searchbox .searchtxt,
.searchboc .seachtxt:focus {
  border: 1px solid #bbb;
  border-radius: 5px;
  outline: none;
}

.searchbtn {
  position: absolute;
  height: 30px;
  width: 30px;
  right: 0;
  top: 0;
  background-color: transparent;
  border: none;
  color: #333;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
  margin: 0;
  background-image: url("//mfstatic.com/portalassets/images/icons/mfp-search.svg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: 55% 55%;
  cursor: pointer;
}

.searchbtn:focus,
.keyword:focus {
  outline: none;
}

.treenavmobile .searchbtn {
  width: 45px;
  height: 45px;
}

.startview-4 .searchbtn {
  width: 40px;
  height: 40px;
}
@media (max-width: 800px) {
  .searchbox {
    display: none;
  }
}

/* Selection */
.selection {
  -webkit-transition: left 267ms ease-in-out, height 267ms ease-in-out;
  -o-transition: left 267ms ease-in-out, height 267ms ease-in-out;
  transition: left 267ms ease-in-out, height 267ms ease-in-out;
  background-color: #fff;
}

.selection .footer {
  border-top: 1px solid #eee;
}

.selection-1 .header {
  border-bottom: 1px solid #eee;
  border-top: 1px solid #eee;
}
.selection-1 .header .title {
  font-size: 12px;
}
@media (max-width: 800px) {
  .selection {
    left: 0;
  }
}
@media (max-width: 1125px) {
  .selection {
    height: 25px;
  }
  .selection .header {
    height: 25px;
  }

  .startview {
    bottom: 21px;
  }
  .selection .header .title {
    font-size: 16px;
  }
  .selection .header .options {
    display: none;
  }
  .selection-1-open {
    height: 100%;
    left: 0;
  }

  .selection .container {
    top: 47px;
    bottom: 100px;
  }
  .selection-1-open .footer {
    height: 100px;
  }
}

.selection .option {
  font-size: 12px;
}

@media (max-width: 599px) {
  .selection .header .selections .list,
  .selection .toggle-close,
  .selection .header .title {
    font-size: 16px;
  }

  .selection .header .selections .list {
    top: 0;
  }
}

/* Startview */
.startview-1 {
  -webkit-transition: left 267ms ease-in-out;
  -o-transition: left 267ms ease-in-out;
  transition: left 267ms ease-in-out;
  max-height: 1080px;
}

.startview-1 {
  max-height: 1200px;
}

@media (max-width: 1200px) {
  .startview-1 {
    max-height: unset;
  }
}
@media (min-height: 1024px) and (min-width: 1200px) and (max-width: 1600px) {
  .startview-1 {
    max-height: 768px;
  }
}

.startview-1 .left .container,
.startview-2 .left .container {
  cursor: pointer;
}
.startview-1 .container .image {
  -o-object-fit: cover;
  object-fit: cover;
  max-height: 100%;
  width: 100%;
  height: 100%;
  -o-object-position: center;
  object-position: center;
}

@media (max-width: 800px) {
  .startview-1 {
    left: 0px;
    top: 90px;
  }
}
@media (min-width: 801px) {
  .startview-1 {
    left: 247px;
  }
}
@media (max-width: 1125px) {
  .startview-1 {
    bottom: 0;
  }
}
@media (max-width: 1200px) {
  .startview-1 .right,
  .template-3 .startview-1 .right {
    min-height: 30%;
    height: unset;
    margin: 0;
    width: 100%;
  }
  .startview-1 .right .container {
    float: left;
    position: relative;
  }
  .startview-1 .left-wrapper {
    float: left;
    height: 70%;
    margin: 0;
    width: 100%;
  }
  .startview-1 .left {
    margin: 0;
  }

  /*
.startview-1 .row-1 {
max-height:60%;
}

.startview-1 .row-2 {
max-height:40%;
}

.startview-1 .row-1,
.startview-1 .row-2 {
height:250px;
}
.startview-1 .container-1,
.startview-1 .container-2 {
width:100%;
display:block;
}
*/
}
/*
.startview-1 .left-wrapper {
max-height:747px;
}*/

@media (min-width: 480px) {
  .modalaccounting-1 .right .entry,
  .modalaccounting-1 .instructions {
    font-size: 13px;
  }
}

.template-3 .right,
.template-1a .right {
  height: 1920px;
  max-height: 100%;
}
@media (max-width: 1920px) and (max-height: 1200px) and (min-width: 1200px) {
  .template-3 .startview-1 .left-wrapper {
    max-height: unset !important;
  }
  .template-3 .right {
    height: 100%;
  }
  .template-3 .startview-1 .start {
    max-width: unset;
  }
}

/*
@media(max-width:1919px) and (max-height:1999px) and (min-width:1600px) {
.template-3 .startview-1 .left-wrapper {
width:75%;
}
.template-3 .startview-1 .right {
width:25%;
}
}*/

@media (orientation: portrait) and (max-height: 1367px) and (max-width: 1200px) {
  .template-3 .startview-1 .left-wrapper {
    max-height: unset !important;
    width: 100%;
  }

  .template-3 .startview-1 .right {
    height: unset !important;
    width: 100%;
  }
}

.startview-1 .container .description {
  background-image: -o-linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
  background-image: -webkit-gradient(
          linear,
          left top,
          left bottom,
          from(rgba(0, 0, 0, 0)),
          to(rgba(0, 0, 0, 0.7))
  );
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.7));
  bottom: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  color: #fff;
  left: 0;
  padding: 80px 20px 20px;
  position: absolute;
  right: 0;
}

.startview-1 .container-1 .description {
  font-size: 28px;
}

.startview-1 .container .image {
  border: none;
  bottom: 0;
  left: 0;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}

.startview-2 .container-1 .description {
  font-size: 28px;
  background-image: -o-linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  background-image: -webkit-gradient(
          linear,
          left top,
          left bottom,
          from(transparent),
          to(rgba(0, 0, 0, 0.7))
  );
  background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
}

/* Toggletreenav */
@media (max-width: 800px) {

  .toggletreenav {
    display: block;
  }
}
@media (min-width: 801px) {
  .toggletreenav {
    display: none;
  }
}

/* Topnav */
@media (max-width: 800px) {

  .topnav-1 {
    height: 90px;
  }
  .topnav-1 .logo-container {
    top: 10px;
    bottom: 10px;
  }
  .topnav-1 .separator {
    display: none;
  }
  .topnav-1 .title {
    display: none;
  }
}

.topnav {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 120px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  z-index: 1;
}
.topnav.topnav-3 {
  z-index: 1;
}
.topnav .container {
  bottom: 0;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  display: flex;
  width: calc(100% - 300px);
}
.template-3 .topnav .container {
  width: 100%;
  display: block;
}
.topnav .logo-wrapper {
  float: left;
  height: 100%;
}
.topnav .logo-container {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 20px 0 20px 30px;
  height: 100%;
  float: left;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.topnav .logo {
  display: inline-block;
  max-height: 100%;
  max-width: none;
  vertical-align: middle;
  transform-origin: 0 0;
}
.topnav .separator {
  display: inline-block;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  height: 100%;
  width: 40px;
  vertical-align: middle;
}

.topnav .tabledisplay-wrapper {
  position: relative;
  height: 100%;
  display: inline-block;
}

.topnav .title-container {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding-left: 0;
  height: 100%;
  display: table;
  word-break: break-word;
}
.topnav .title {
  display: table-cell;
  vertical-align: middle;
  font-size: 22px;
}

@media (min-width: 800px) {
  .template-3 .topnav .title-container {
    display: inline-block;
  }

  .template-3 .topnav .title {
    display: inline-block;
  }
}

.topnav .dropdown {
  cursor: pointer;
  padding-right: 25px;
  background: url("//mfstatic.com/portalassets/images/icons/MFP-arrow-down-black.svg")
  no-repeat center right;
  background-size: 19px;
}

.topnav-2 .slide-enter-active {
  -webkit-transition-duration: 0.2s;
  -o-transition-duration: 0.2s;
  transition-duration: 0.2s;
  -webkit-transition-property: height;
  -o-transition-property: height;
  transition-property: height;
  -webkit-transition-timing-function: ease-out;
  -o-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
  overflow: hidden;
}

.topnav-2 .slide-leave-active {
  -webkit-transition-duration: 0.2s;
  -o-transition-duration: 0.2s;
  transition-duration: 0.2s;
  -webkit-transition-timing-function: ease-out;
  -o-transition-timing-function: ease-out;
  transition-timing-function: ease-out;
  overflow: hidden;
}

.topnav-2 .slide-enter-to,
.topnav .slide-leave {
  height: auto;
  overflow: hidden;
}

.topnav-2 .slide-enter,
.topnav-2 .slide-leave-to {
  overflow: hidden;
  height: 0em;
}

.topnav-2 .folders-dropdown,
.topnav-3 .folders-dropdown {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  left: 0;
  position: absolute;
  right: 0;
  text-align: left;
  top: 60%;
  margin-top: 5px;
  padding: 0 0 0 0;
  margin-left: 40px;
  width: 190px;
  border: 1px solid #eee;
  border-radius: 5px;
  background-color: white;
}

.topnav-3 .folders-dropdown {
  margin-left: 20px;
  border-style: none;
  margin-top: 20px;
}

.topnav-2 .folders-dropdown ul,
.topnav-3 .folders-dropdown ul {
  border: 1px solid #eee;
  border-radius: 5px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background: white;
}

.topnav-1,
.topnav-2 {
  background-color: #fff;
  border-bottom: 1px solid #eee;
}

@media (min-width: 700px) {
  .topnav .separator {
    border-right: 1px solid #eee;
    width: 40px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }
  .topnav .title-container {
    padding-left: 40px;
  }
}

@media (max-width: 320px) {
  .topnav .title {
    font-size: 12px !important;
  }
}

.topnav .title {
  cursor: pointer;
  min-width: 30px;
}

.topnav-1 .folders-dropdown a:link,
.topnav-1 .folders-dropdown a:visited,
.topnav-2 .folders-dropdown a:link,
.topnav-2 .folders-dropdown a:visited {
  text-decoration: none;
  font-size: 13px;
  color: #222;
  vertical-align: middle;
}
.topnav-3 .folders-dropdown a:link,
.topnav-3 .folders-dropdown a:visited {
  text-decoration: none;
  font-size: 13px;
  font-style: italic;
  color: #000;
  font-weight: 500;
  vertical-align: middle;
}

.topnav .folders-dropdown .toggle {
  background: transparent
  url("//mfstatic.com/portalassets/images/icons/MFP-Arrow-down-round.svg")
  no-repeat center center;
  -webkit-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
  transform: rotate(270deg);
}

.topnav-1 .folders-dropdown li:hover,
.topnav-2 .folders-dropdown li:hover {
  background: #ddd;
}

.topnav-3 .folders-dropdown li:hover a {
  color: black;
}

.topnav-3 .folders-dropdown li a:hover {
  text-decoration: underline;
}

.topnav .folders-dropdown li.children:not(.topnav-2.topnav .folders-dropdown li.children),
.topnav-2.topnav .folders-dropdown li.children > a{
  background-image: url("//mfstatic.com/portalassets/images/icons/MFP-arrow-right-black.svg");
  background-repeat: no-repeat;
  background-position: calc(100% - 12px) center;
  background-size: 7px;
}

.topnav .folders-dropdown a {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: calc(100% - 30px);
  padding: 10px;
  display: inline-block;
  margin-left: 10px;
  margin-right: 0;
  overflow: hidden;
  white-space: nowrap;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
}

.topnav .folders-dropdown .toggle {
  width: 10px;
  height: 10px;
  display: inline-block;
  background-size: 10px;
}

.topnav .folders-dropdown li {
  display: block;
  position: relative;
}

.topnav .folders-dropdown li.closed > ul {
  display: none;
}

.topnav .folders-dropdown li.open > ul {
  position: absolute;
  display: block;
  width: 170px;
  left: 100%;
  top: 0;
}


@media (max-width: 800px) {
  .topnav {
    z-index: 0;
    height: 90px;
  }
  .topnav .container {
    width: calc(100% - 80px);
  }

  .topnav .logo-wrapper {
    max-width: 60%;
  }
  /*
.topnav .logo-container {
height: 90px;

}
*/

  .topnav .separator {
    width: 30px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  .topnav .dropdown {
    background-image: none !important;
    padding-right: 0;
  }

  .topnav .title {
    font-size: 20px;
  }

  .topnav .folders-dropdown {
    display: none;
  }
}

@media (max-width: 460px) {

  .topnav .container {
    width: 100%;
    flex-flow: row wrap;
  }

  .topnav .logo-wrapper {
    max-width: calc(100% - 100px);
  }

  .topnav .separator {
    display: none;
  }

  .topnav .tabledisplay-wrapper {
    max-width: none;
    width: 100%;
    overflow: hidden;
    height: 24px;
    padding: 5px 30px;
    margin-top: -34px;
  }

  .template-3 .topnav .tabledisplay-wrapper {
    position: absolute;
    bottom: 5px;
    left: 0;
    box-sizing: border-box;
  }

  .topnav .tabledisplay-wrapper.emptytitle {
    display: none;
  }

  .topnav .logo-container.emptytitle {
    padding: 20px 0 20px 30px;
  }


  .topnav .title-container {
    margin-left: 0;
  }

  .topnav .title {
    font-size: 14px !important;
  }

  .topnav .logo-container {
    padding: 20px 0 30px 30px;
    max-width: 80%;
  }

  .topnav .logo {
    height: auto !important;
    margin-left: 0 !important;
    transform: none !important;
    max-width: 100%;
  }
}
@media (max-width: 640px) {
  .topnav .title {
    font-size: 16px;
    margin-left: 0;
  }
}

/* Treenav */
.treenav {
  -webkit-transition: left 267ms ease-in-out;
  -o-transition: left 267ms ease-in-out;
  transition: left 267ms ease-in-out;
}
@media (max-width: 800px) {
  .treenav {
    display: none;
  }
}
@media (min-width: 801px) {
  .treenav {
    left: 0;
  }
}
@media (min-width: 801px) {
  .treenavmobile {
    display: none;
  }
}

/* Treenavmobile */
.treenavmobile {
  -webkit-transition: width 267ms ease-in-out;
  -o-transition: width 267ms ease-in-out;
  transition: width 267ms ease-in-out;
  z-index: 202;
}
@media (max-width: 800px) {
  .treenavmobile {
    bottom: 0;
    display: block;
    overflow-x: hidden;
    top: 0;
    width: 0;
  }
  .treenavmobile-1-open {
    width: 100%;
  }
}
@media (min-width: 801px) {
  .treenavmobile {
    display: none;
  }
}

/* Modallinks and startview fonts */
.modallinks .container h1 /*,*/
  /*.startview > .start > .right > .container h1*/ {
  font-size: 28px;
  line-height: 34px;
  padding-bottom: 30px;
}
.modallinks .container h2,
.startview-3 .right .container h2 {
  font-size: 18px;
  line-height: 25px;
  padding-bottom: 5px;
}

.modallinks .dialog-window {
  max-width: 80%;
  width: 600px;
  max-height: 80%;
  height: 400px;
}

.modallinks .dialog-window {
  max-width: 80%;
  width: 800px;
  max-height: 80%;
  height: 600px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.modallinks .dialog-window .dialog-form {
  position: absolute;
  /*overflow-y: auto;*/
  max-height: 100%;
  max-width: 100%;
  width: 100%;
  height: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.modallinks p,
.startview p,
.startview li,
.modallinks li {
  font-size: 14px;
  line-height: 20px;
}

.startview ul,
.startview ol,
.modallinks ol,
.modallinks ul {
  margin-top: 1em;
  margin-bottom: 1em;
}

.startview ul li,
.modallinks ul li {
  margin-left: 20px;
  list-style: disc;
}

.startview ol li,
.modallinks ol li {
  margin-left: 20px;
  list-style: decimal;
}

.modallinks strong,
.modallinks b,
.startview strong,
.startview b {
  font-weight: 600;
}

.startview em,
.modallinks em {
  font-style: italic;
}

/* Fonts and font-sizes. */
@media (max-width: 599px) {
  .selection .header .selections {
    padding-top: 2px;
    padding-bottom: 2px;
    top: 4px;
  }
  .treenavmobile-subcomponent-4 .searchtxt,
  .selection .option,
  .selection .title,
  .selection list,
  .filedetail .title,
  .filedetail .file-info-key,
  .filedetail .file-info-value,
  .fileview .field-1,
  .fileview .breadcrumb,
  .modalnewweblink .name-container,
  .modalnewweblink .name .modalnewweblink .duration-container,
  .modalnewweblink .duration,
  .modal-download .description,
  .modal-download .formats .modal-download .download {
    font-size: 16px;
  }
}

/* Selection overrides */
.selection-1-empty ~ .startview {
  bottom: 0;
}
.selection-1-empty ~ .fileview {
  bottom: 0;
}
.selection-1-empty ~ .filedetail {
  bottom: 0;
}

.selection-1-open ~ .startview {
  bottom: 125px;
}
.selection-1-open ~ .fileview {
  bottom: 125px;
}
/*.selection-1-open ~ .filedetail { bottom: 125px; }*/

/*
.startview-3 .admin-hover-border {
position:relative;
}*/

/* template specific styles */
.template-3 .topnav .logo {
  margin-left: 0 !important;
  height: 100% !important;
  transform: none !important;
}

.template-3 .topnav .separator {
  margin-left: 0 !important;
  display: none !important;
}

@media (min-width: 800px) {

  .template-3 .searchbox {
    left: 30px;
    top: 265px;
    width: 188px;
  }

  .template-3 .treenav {
    top: 305px;
  }

  .template-3 .startview,
  .template-3 .fileview,
  .template-3 .filedetail {
    top: 0;
  }

  .template-3 .links {
    bottom: 2em;
    left: 30px;
    right: unset;
    top: auto;
    width: 200px;
  }

  .template-3 .topnav {
    border-right: 1px solid;
    border-bottom: none;
    /*background: transparent;*/
    width: 247px;
  }

  .template-3 .links .entries {
    background: transparent;
    width: 217px;
  }

  .template-3 .treenav {
    background-color: transparent;
    z-index: 1;
  }
  .template-3 .topnav {
    height:100%;
  }

  .template-3 .links .entries .entry {
    float: none;
    margin-bottom: 10px;
  }

  .template-3 .topnav .title-container {
    width: 247px;
    margin: auto;
    padding: 0;
    text-align: center;
  }

  .template-3 .topnav .title {
    font-size: 18px;
    padding: 0;
  }

  .template-3 .topnav .logo-wrapper {
    width: 247px;
    height: auto;
  }

  .template-3 .topnav .logo-container {
    text-align: center;
    width: 100%;
    height: unset;
    padding: 30px 30px 20px 30px;
    justify-content: center;
    flex-flow: row wrap;
  }

  .template-3 .topnav .logo {
    max-width: 140px;
    margin-left: 0 !important;
    height: auto !important;
    transform: none !important;
  }

  .template-3 .topnav .separator {
    border: none;
    width: 1px;
    display: none;
  }

  .template-3 .treenav .scroller {
    padding: 10px 20px 10px 30px;
    max-height: 70%;
  }

  .template-3 .treenav > .treenav-1-subcomponent-1 .children a:before {
    right: 0;
  }

  .template-3 .almtr_box > a {
    max-width: calc(100% - 16px);
  }
}

.template-4 .treenav .scroller {
  padding-top: 35px;
}

/* component-specific base styles */
.treenav {
  background-color: #fff;
}

.treenav-subcomponent-1 {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  line-height: 22px;
  list-style: none;
  width: 100%;
  position: relative;
}

.treenav .active > a {
  font-weight: 600;
}

.treenav a {
  color: black;
  font-size: 13px;
}
.treenav-1-subcomponent-1 .almtr_box {
  text-align: left;
  /*width: calc(100% - 10px);*/
  vertical-align: middle;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.treenav-1-subcomponent-1 .almtr_box a {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  display: inline-block;
  overflow: hidden;
  position: relative;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  white-space: nowrap;
  width: calc(100% - 20px);
  text-decoration: none;
  vertical-align: middle;
}

.treenav-1-subcomponent-1 > .nochildren > .arrow,
.treenav-1-subcomponent-1 > .nochildren.open > .arrow {
  background-image: none !important;
}
.treenav-1-subcomponent-1 > .closed > .treenav-1-subcomponent-2 {
  display: none;
}

.treenav .nochildren > .arrow {
  background-image: none !important;
}

.treenav .closed > .arrow:after {
  -webkit-transform: translateY(50%) rotate(135deg);
  -ms-transform: translateY(50%) rotate(135deg);
  transform: translateY(50%) rotate(135deg);
}
/*
.treenav-1-subcomponent-1 .open > .arrow {
-webkit-transform: none;
  -ms-transform: none;
      transform: none;
}
*/

.treenav-1-subcomponent-2 {
  line-height: 20px;
}

.treenav-subcomponent-2:first-of-type li:first-of-type {
  margin-top: 5px;
}

.modalnewselection-1 .name {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #fff;
  border-radius: 3px;
  border: 1px solid #cac9ca;
}
.fileview .preview-container .marker {
  background-color: white;
  border: solid #eee 1px;
  cursor: pointer;
  height: 25px;
  /* left: 7px; */
  /*  opacity: 0;*/
  position: absolute;
  bottom: 10px;
  width: 25px;
  border-radius: 2px;
  right: 10px;
}
.fileview .preview-container:hover .marker,
.fileview .preview-container:focus .marker {
  border-color: #383838;
}

.fileview .preview-container:hover .preview {
  background: #e0e0e0;
  border-color: #e0e0e0;
}

/*
.fileview .preview-container:hover .info {
border-color:#d0d0d0;
}*/

.fileview .preview-container .field-1 {
  display: inline-block;
  font-size: 12px;

  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 13px 40px 13px 15px;
  -webkit-user-select: text;
  -moz-user-select: text;
  -ms-user-select: text;
  user-select: text;
  width: 100%;
  text-align: left;
}
.fileview .preview-container .field-1 .ellipsis {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  display: inline-block;
  width: 100%;
  line-height: normal;
}
.fileview .preview-container .marker.disabled {
  border-color: #777;
  background-color: #aaa;
}
.fileview .preview-container .unmark,
.fileview .preview-container.marked .marker {
  background: #383838
  url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAACeSURBVCiRpdChikJxEMXhuaDFjYI2k3bB4AtsN2/XYvMNBF9DfAvZN1jBLKZNJrNbDMpn8C9cZK9e8cQzvzPDnIgXlZUF0YmIQ6kAmhHxExG7MnANK5wwCPTQLYCr+HbV8GZusEf7Ds6wSPA0P+jjDzu0cv4swfP/Tn/imK7VMUrwEpWi575wxjY9uMbHs0bGafMvGg/hXGhyX8BbugDRU6Rgm9onAwAAAABJRU5ErkJggg==")
  no-repeat center center;
  background-size: 10px;
  border-color: #383838;
}
.fileview .preview-container.marked .marker {
  opacity: 1;
}

.fileview .preview-container .preview:hover .hover-border,
.fileview .preview-container:hover .marker {
  opacity: 1;
}

.fileview .preview-container.marked .preview,
.fileview .preview-container.marked:focus .info,
.fileview .preview-container.marked:hover .preview,
.fileview .preview-container.marked .info {
  border: none;
  background-color: transparent;
}

.fileview .preview-container.marked,
.fileview .preview-container.marked:focus,
.fileview .preview-container.marked:hover {
  background-color: #dddddd;
  border-color: #dddddd;
}

.fileview .preview-container:focus {
  outline-offset: 0;
  outline: solid #383838 1px;
}

.fileview .fileview-1-subcomponent-3 .preview-container:focus {
  outline-offset: -3px;
  outline-width: 3px;
}

.modalcropper-1 > .content > .navigation > .title {
  color: #333;
  font-size: 14px;
  font-weight: 600;
}
.modalcropper-1 > .content > .navigation > .description {
  color: #333;
  font-size: 14px;
}
.modalcropper-1 > .content > .navigation > .description > h5 {
  font-size: 18px;
  font-weight: 600;
  padding-bottom: 10px;
}
.modalcropper-1 > .content > .navigation > .format {
  color: #333;
  font-size: 13px;
}

.modalcropper-1 > .content > .navigation > .back {
  display: block;
}

.treenavmobile {
  background-color: #fff;
  border-right: 1px solid #eee;
}

.treenavmobile-1-subcomponent-1 {
  line-height: 45px;
}
.treenavmobile-1 .separator {
  border-bottom: solid #eee 1px;
}

.treenavmobile a {
  color: #000;
  font-size: 16px;
  text-decoration: none;
}

.treenavmobile .active > a {
  font-weight: 600;
}

.treenavmobile .toggle {
  width: 30px;
  height: 30px;
}

.treenavmobile .toggle svg {
  width: 30px;
  height: 30px;
}

.treenavmobile .toggle svg .circle {
  stroke: none;
  fill: black;
}

.treenavmobile .toggle svg .arrow {
  stroke: white;
  fill: none;
}

.treenavmobile .open > .toggle svg {
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
}
.treenavmobile .closed > .toggle svg {
  -webkit-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
  transform: rotate(270deg);
}

.treenavmobile-1-subcomponent-2 {
  line-height: 45px;
}

@media (max-width: 768px) {
  .treenavmobile-1-subcomponent-4 > .searchbox-form > .searchtxt {
    font-size: 16px;
  }
}

.template-play .topnav .title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.75px;
  text-transform: uppercase;
}
.template-play .topnav .title:hover {
  text-decoration: underline;
}
.template-play .links-1 {
  height: 120px;
  line-height: 119px;
  left: 344px;
  top: 0;
  right: unset;
}
.template-play .topnav {
  border-bottom: none;
}
.template-play .links .entry {
  padding: 0 0 0 30px;
}
.template-play .links a {
  font-size: 14px;
  color: #000;
  letter-spacing: 0.75px;
}
.template-play .links a:hover {
  color: #000;
}
.template-play .links a:hover svg {
  stroke: #333840;
}
.template-play .topnav .dropdown {
  background-image: none;
  padding-right: 0;
}

.template-play .topnav .separator {
  border-color: transparent;
}

.template-play .searchbox-1 {
  top: 47px;
}
.template-play .searchbox-1 > .searchbox-form > .searchtxt {
  background-color: #f0f0f0;
  border: none;
}

.links-1 {
  position: relative;
  z-index: 200;
  order: 1;
}

.topnav-3 .links-1 {
  position: static;
  float: left;
}
.links-1 > .entries {
  display: flex;
  align-items: center;
}

.template-3 .links-1 > .entries {
  display:initial;
}
.template-3 .links-1 {
  position: absolute;
}
.links-1 .external {
  stroke-width: 0.4px;
  stroke: #a5a5a5;
  fill: none;
  width: 14px;
  height: 14px;
  margin-left: 5px;
}
@media (min-width: 801px) {
  .template-play .top-nav-wrap {
    position: absolute;
    top: 10px;
    bottom: auto;
    right: 50px;
    z-index: 202;  
  }
  .template-play {
    display: block;
    position: relative;
    width: 100%;
    height: 100%;
  }
}
@media (min-width: 800px) {
  .pagefooter footer {
    max-width: 1920px;
    margin: auto;
    width: 100%;
    padding: 0 52px 0 52px;
    display: flex;
    box-sizing: content-box;
  }
}

footer a {
  color: inherit!important;
  text-decoration: underline!important;
}

footer a:hover { 
  text-decoration: none!important;
}

.medialist {
  max-width: 1920px;
  margin: auto;
}

.template-play .mediaview-play-1 .flex-wrapper {
  max-width: 1920px;
  width: 100%;
  position: relative;
  z-index: 1;
  margin: auto;
  clear: both;
  padding: 0 52px 0 52px;
  box-sizing: border-box;
}
.template-play .flex-wrapper.categories {
  padding: 0 40px 0 40px;
  z-index: 0;
}
#app > .template-play .searchbox {
  position: absolute;
  right: 52px;
}

.template-play .logo-container {
  padding-left: 52px;
}

@media (max-width: 799px) {
  .template-play .adminwrapper .logo-container {
    padding-left: 30px;
  }
  .template-play .mediaview-play-1 .flex-wrapper.categories {
    margin-top: 40px;
  }
  .template-play .mediaview-play-1 .flex-wrapper:not(.categories) {
    padding: 0 20px 0 20px;
  }

  .mediafolderview-play-1 .view-wrapper,
  .startview-play-1 .categories {
    padding-left: 28px;
    padding-right: 28px;
  }
}

@media (max-width: 460px) {
  .template-play .logo-container {
    padding-left: 30px;
  }
}

@media (min-width: 801px) and (max-width: 1023px) {
  .medialist .listitem {
    width: 33%;
    min-width: 33%;
  }
}

@media (min-width: 1024px) and (max-width: 1279px) {
  .medialist .listitem {
    width: 25%;
    min-width: 25%;
  }
}

@media (min-width: 1280px) {
  .medialist .listitem {
    width: 20%;
    min-width: 20%;
  }
}

.medialist .listwrapper {
  margin-bottom: 20px;
  border-bottom: 1px #dedede solid;
}

.medialist:last-child .listwrapper {
  border-bottom: none;
}

.medialist .listitem {
  padding: 20px;
}

.medialist .listitem .name {
  font-size: 16px;
}

.medialist .listitem .description {
  font-size: 13px;
}

.mediaview-play-1 .left {
  border-radius: 8px 0 0 8px;
}

.mediaview-play-1 .name {
  font-size: 22px;
  margin-bottom: 5px;
}

.medialist .listitem .moreinfo {
  font-size: 13px;
}

.mediafolderview .listitem .name {
  font-size: 16px;
  font-weight: 600;
}

/* name / header */
.mediaview-play-1 .filedetail .file-info .file-info-value-3 {
  font-size: 22px;
  padding: 0;
  width: 100%;
  margin-bottom: 5px;
  font-weight: 600;
}

/* duration / upload date */
.mediaview-play-1 .filedetail .file-info .file-info-container-9,
.mediaview-play-1 .filedetail .file-info .file-info-container-6 {
  width: auto;
}

.mediaview-play-1 .filedetail .file-info .file-info-value-9,
.mediaview-play-1 .filedetail .file-info .file-info-value-6,
.mediaview-play-1 .filedetail .file-info .file-info-key-6 {
  font-family: "Open sans", Helvetica, Arial, sans-serif;
  font-size: 12px;
  color: #6B6B6B;
  font-weight: 400;
  float: left;
}

.mediaview-play-1 .filedetail .file-info .file-info-key-6,
.mediaview-play-1 .filedetail .file-info .file-info-container-6 {
  width: auto;
  padding-right: 0;
  margin-right: 5px;
}

.file-info-container-6 + .file-info-container-9 .file-info-value-9:before {
  float: left;
  content: "|";
  margin-right: 5px;
}

/* don't type out 'Beskrivning' */
.mediaview-play-1 .filedetail .file-info .file-info-key-9 {
  display: none;
}

.mediaview-play-1 .filedetail .file-info .file-info-value-55 {
  padding-top: 4px;
}

.mediaview-play-1 .filedetail .file-info .file-info-value-56 {
  padding-top: 2px;
}

.mediaview-play-1 .filedetail .file-info .file-info-key-6:after {
  content: ":";
}

.mediaview-play-1 .filedetail .file-info .file-info-key-3,
.mediaview-play-1 .filedetail .file-info .file-info-key-51 {
  display: none;
}

.mediaview-play-1 .filedetail .file-info .file-info-value-51 {
  font-size: 14px;
  padding-top: 10px;
  padding-bottom: 20px;
  white-space: pre-wrap;
}

@media (max-width: 599px) {
  .mediaview-play-1 .filedetail .file-info .file-info-value-51 {
    font-size: 16px;
  }

  .mediafolderview .listitem .description,
  .mediaview-play-1
  .filedetail
  .file-info
  .file-info-value:not(.file-info-value-3),
  .mediaview-play-1 .filedetail .file-info .file-info-key {
    font-size: 14px;
  }
  .mediaview-play-1 .filedetail .file-info .file-info.value.file-info-value-3 {
    font-size: 22px;
  }
}
.template-play-2 .topnav {
  background-color: transparent;
  border-color: transparent;
}

.template-play-2 .searchbox-1 > .searchbox-form > .searchtxt {
  opacity: 0;
  transition: opacity 0.3s;
}

.template-play-2 .searchbox-1 > .searchbox-form > .searchtxt:focus {
  opacity: 1;
}

.template-play-2 .searchbox-1:hover > .searchbox-form > .searchtxt {
  opacity: 1;
}

.template-play-2 .links-1 .external {
  stroke: #000000;
}
.template-play-2 .topnav-3 {
  background: linear-gradient(
          180deg,
          rgba(255, 255, 255, 0.75) 30%,
          rgba(255, 255, 255, 0) 100%
  );
}
.template-play-2 .topnav-3 .title {
  color: #000;
}
.template-play-2 .links a {
  color: #000;
}
.template-play-2 .topnav-3 .folders-dropdown a:link,
.template-play-2 .topnav-3 .folders-dropdown a:visited {
  color: #000;
}
.template-play-2 .topnav-3 .folders-dropdown li:hover {
  background: #fff;
}

.startview-1 .left .container p.main-content-text-font,
.startview-1 .left .container h1.main-content-header-1-font,
.startview-1 .left .container h2.main-content-header-2-font,
.startview-2 .left .container h1.main-content-header-1-font,
.startview-2 .left .container h2.main-content-header-2-font,
.startview-2 .left .container p.main-content-text-font {
  margin-bottom: 0;
}

.startview-5 .container h1.main-content-header-1-font,
.startview-5 .container h2.main-content-header-2-font,
.startview-5 .container p.main-content-text-font {
  margin-bottom: 0;
}


.template-play .button-1 {
  color: #333840;
  background-color: white;
  border: solid white 1px;
  padding: 8px 14px;
  border-radius: 23px;
  font-weight: 600;
  box-sizing: border-box;
  cursor: pointer;
  height: 46px;
  padding: 0 20px 0 43px;
  line-height: 46px;
}

.template-play .button-1 svg {
  width: 16px;
  height: 16px;
  fill: #000;
  stroke: none;
  position: absolute;
  top: 16px;
  left: 20px;
}

.template-play .button-2:not(.button-2-round) svg {
  width: 16px;
  height: 16px;
  fill: black;
  stroke: none;
}

.template-play .button-1:hover {
  background-color: transparent;
  border: 1px solid #fff;
  color: #fff;
}

.template-play .button-1:hover svg {
  fill: white;
}

.template-play .button-1.light-bg:hover {
  background-color: transparent;
  border: 1px solid #333840;
  color: #333840;
}

.template-play .button-1.light-bg:hover svg {
  fill: #333840;
}

.template-play .button-2:not(.button-2-round) {
  border-radius: 24px;
  border-style: none;
  background-color: #f4f4f4;
  color: #333840;
}

.fileview .usage-count {
  position: absolute;
  left:10px;
  top:10px;
  background-color:#cacaca;
  color:#333840;
  border-radius: 50%;
  display:inline-block;
  width:18px;
  height: 18px;
  text-align: center;
  font-size: 11px;
  line-height: 18px;
}

@media only screen and (max-width:1170px) {
  .selection-1-open ~ .startview{
    bottom:180px;
  }
}
@media only screen and (max-width:1510px) {
  .fileview.fileview-selection-open{
    bottom:150px;
  }
}
@media only screen and (max-width:1181px) {
  .fileview.fileview-selection-open{
    bottom:180px;
  }

}

.modal-download-1 option:disabled {
  font-style:italic;
  color:#aaa;
}

.mediaview .right video {
  max-height:800px;
}

:fullscreen video { max-height: 100% !important; }
:-webkit-full-screen video { max-height: 100% !important; }
:-moz-full-screen video { max-height: 100% !important; }
:-ms-fullscreen video { max-height: 100% !important; }

.mce-content-body
.mce-content-body * {
  line-height: normal;
}
.mce-content-body em, .mce-content-body i {
  font-style:italic;
}

.mce-content-body strong, .mce-content-body b {
  font-weight: bold;
}

.mce-content-body ul {
  list-style: disc;
  margin:initial;
  padding:initial;
  margin-block-start: inherit;
  margin-block-end: inherit;
}
.mce-content-body ol {
  list-style: number;
  margin:initial;
  padding:initial;
  margin-block-start: inherit;
  margin-block-end: inherit;
}
.mce-content-body li {
  padding-left: 7px;
  margin-left: 15px;
}

.top-nav-wrap {
  position: absolute;
  top: 20px;
  right: 25px;
  display: flex;
  align-items: center;
}

.login ~ .language-selector {
  float: right;
  margin: 10px;
}
.template-3 .top-nav-wrap {
  top:5px;
  right:5px;
}
@media only screen and (max-width:799px) {
  .top-nav-wrap .language-selector {
    display:none;
  }
  .language-selector {

    margin: 10px 0;
  }
  .language-selector ~ .treenavmobile-1-subcomponent-4 {
    padding-right:0;
  }

  .language-selector ~ .treenavmobile-1-subcomponent-4 > .close {
    transform: translateY(-48px);
  }

}

/* Fix media player responsiveness (not for play portals) */
@media (min-width: 600px) {
  .preview .plyr__controls {
    flex-wrap: wrap;
  }
  .preview .plyr__controls .plyr__progress__container {
    order: -1;
    width: 100%;
    flex: 0 1 auto;
  }
}


.button-show-document, .button-2.button-show-document {
  display:none!important;
}
