html {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    max-width: 100vw !important;
}

html, body {
    height: 100%;
}

html body {
    background-size: cover !important;
    top: auto !important;
    position: initial !important;
    min-height: auto !important;
    max-width: 100vw;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-attachment: fixed;
}

html body * {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -webkit-overflow-scrolling: touch;
}

.page-body {
    position: relative;
    min-height: 100%;
    overflow: hidden;
}

.homepage .page-body {
    overflow: initial;
}

.full-width {
    width: 100%;
}

.container {
    position: relative;
    float: left;
    width: 100%;
    height: 100%;
    display: block;
}

.plugin-shoppingcart .container {
    margin-top: 0;
}

.plugin-map .container {
    height: calc(100% - 72px);
}

.plugin-normal > div > div > .container {
    margin-top: 0;
}

.homepage .container {
    margin-top: 0;
}

.top {
    position: absolute;
    top: 0;
}

.bottom {
    position: absolute;
    bottom: 0;
}

a.wrap {
    text-decoration: none;
}

button.link {
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    width: 100%;
    height: 100%;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
}

.plugin-map .island button.link {
    margin-top: 9px;
    font-weight: 600;
    display: none;
}

button.link:hover {
    text-decoration: underline;
}

button.link:focus {
    outline: 1px dotted;
}

button.link::-moz-focus-inner {
    border: 0;
}

dl.inline > dt,
dl.inline > dd {
    display: inline;
}

dl.inline > dt:before {
    content: ', ';
}

dl.inline > dt:first-child:before {
    content: '';
}

.island {
    margin-bottom: 1em;
}

.island{
    border: 0 solid;
    border-left: 0;
    border-right: 0 solid;
    border-top: 0 !important;
}

.left {
    float: left;
}

.right {
    float: right;
    right: 20px;
    position: absolute;
}

.clear {
    clear: both;
}

.admin-menu .L1 {
    list-style: none;
    margin-top: 0;
    margin-bottom: 0;
    padding-left: 0;
    font-size: 0;
    overflow: hidden;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.menu > li {
    display: inline-block;
    font-size: 1rem;
    line-height: 3em;
    text-align: center;
    vertical-align: middle;
    width: 100%;
    position: relative;
}

.admin-menu .L1 > li {
    display: inline-block;
    font-size: 12px;
    line-height: 3em;
    text-align: center;
    vertical-align: middle;
    float: left;
    position: relative;
    min-width: 15%;
    flex: 1 1 auto;
}

.admin-menu .L1 > li a {
    border-radius: 3px !important;
}

.admin-menu .L1 a {
    display: block;
}

.content-area {
    width: auto;
    margin: 0 auto;
    position: relative;
}

.content-area.logo {
    top: 35px;
    position: absolute;
}

.logo img,
img.logo {
    vertical-align: top;
    max-width: 400px;
    max-height: 25vh;
    text-align: center;
    margin: 0;
    float: none;
    width: auto;
    height: auto;
}

.logo {
    padding: 0 10%;
}

.main.content-area {
    position: relative;
    top: 40px;
    bottom: 0;
    padding-bottom: 0;
    left: 150px;
    right: 0;
    float: left;
    width: calc(100% - 150px);
    min-height: 100%;
    height: auto;
}

.plugin-shoppingcart .main.content-area,
.plugin-normal .main.content-area {
    top: 0;
}

.plugin-mediabank .main.content-area,
.plugin-map .main.content-area {
    width: calc(100% - 150px);
    left: 150px;
}

.homepage .main.content-area, .plugin-blocks .main.content-area, .plugin-area .main.content-area {
    position: relative;
    top: 0;
    bottom: 0;
    background: transparent;
    padding-bottom: 0;
    left: 150px;
    right: 0;
    float: left;
    width: calc(100% - 150px);
    min-height: 100%;
    height: auto;
}

body.publishpage .main.content-area {
    width: calc(100% - 150px);
    left: 150px;
}

@media all and (min-width: 960px) {
    .plugin-mediabank .main.content-area {
        height: 100%;
        max-height: 100%;
        overflow: visible;
    }


    .logged-in.plugin-mediabank .main.content-area {
        height: calc(100% - 75px);
    }
}

.fieldset-unstyled {
    padding-left: 0;
    padding-right: 0;
    border: 0 !important;
}

label.main {
    text-transform: uppercase;
    font-weight: 500;
    justify-content: flex-start !important;
}

label.main > select,
label.main > input {
    box-sizing: border-box;
    display: block;
    width: 100%;
    box-shadow: none !important;
    border: 1px solid rgba(0, 0, 0, 0.2);
    line-height: 1.5em;
    padding: 2px 5px;
    border-radius: 4px;
}

.block {
    display: block;
}

.button {
    padding: 0.25em 1em 0.3em;
    border-radius: 3px;
    margin-top: 2px;
    margin-bottom: 2px;
    font-size: 13px;
    font-weight: normal;
    text-transform: uppercase;
    text-align: center;
    pointer-events: auto;
    display: inline-block;
    width: auto;
    transition: color 0.25s ease-in-out, background-color 0.25s ease-in-out;
}

.button,
.button:hover {
    text-decoration: none;
}

.unstyled-link {
    color: currentColor;
    text-decoration: none;
}

.unstyled-link:hover {
    text-decoration: none;
}

.main-column {
    position: relative;
    display: block;
    float: left;
    height: 100%;
    width: 100%;
    margin: 0;
    overflow: visible;
    min-height: 100%;
}

.logged-in.plugin-mediabank .main.content-area {
    min-height: calc(100% - 75px);
}

.logged-in.plugin-mediabank.publishpage .main.content-area {
    min-height: calc(100% - 75px);
}

.logged-in.plugin-mediabank .container {
    margin-top: 0;
}

.logged-in.plugin-mediabank .contents {
    top: 0;
}

.main-column:after {
    content: "";
    clear: both;
}

.contents {
    position: relative;
    display: flex;
    float: left;
    height: calc(100% - 80px);
    width: 100%;
    max-width: calc(100vw - 150px);
    overflow: auto;
}

.plugin-mediabank .contents {
    height: 100%;
    padding-bottom: 95px;
}

.readmore.plugin-mediabank .contents {
    background-color: #ffffff;
}

.plugin-normal .contents {
    height: 100%;
    padding-bottom: 50px;
}

.plugin-shoppingcart .contents {
    height: 100%;
    overflow: hidden !important;
    flex-direction: column;
}

.logged-in .contents {
    overflow-y: auto;
}

.plugin-map .contents {
    margin: 0;
    padding: 0;
    height: calc(100vh - 80px);
}

.logged-in.plugin-map .contents {
    margin: 0;
    padding: 0;
    height: calc(100vh - 114px);
    overflow: hidden;
}

.logged-in.plugin-map .contents.editing {
    height: 100%;
    padding-bottom: 5em;
    background-color: rgb(245, 245, 245);
}

.logged-in.homepage .contents {
    top: 0;
}

.homepage .contents {
    margin: auto;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-direction: row;
    flex-wrap: wrap;
    display: flex;
    height: auto;
    overflow: hidden;
    padding-bottom: 0;
    padding-top: 0;
}

.plugin-normal:not(.homepage) .contents #WIPSMAINCONTENTS,
.plugin-article .contents #WIPSMAINCONTENTS,
.plugin-projects .contents #WIPSMAINCONTENTS,
.plugin-normal:not(.homepage) .wips_module_name_none,
.plugin-normal:not(.homepage) table {
    width: 100%;
    float: none;
    padding-top: 50px;
    margin: auto;
}

.plugin-projects .contents h1 {
    font-size: 40px !important;
}

.plugin-projects .contents form {
    float: left;
    margin-right: 30px !important;
}

.plugin-projects .contents ul {
    float: left;
    max-width: 280px;
    box-sizing: border-box;
    padding-left: 30px !important;
}

.plugin-projects .contents form ~ h1,
.plugin-normal:not(.homepage) .wips_module_name_none h1 ~ h1 {
    font-size: 27px !important;
    text-transform: none;
}

.plugin-normal:not(.homepage) .wips_module_name_none table th {
    font-size: 16px !important;
    text-transform: uppercase;
}

.plugin-normal:not(.homepage) .wips_module_name_none table button {
    font-size: 14px !important;
    text-transform: uppercase;
    border: 0;
    border-radius: 3px;
    float: right;
    margin-top: 5px;
    margin-bottom: 5px;
}

.plugin-normal:not(.homepage) .wips_module_name_none table tr {
    line-height: 26px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.plugin-projects .contents form label,
.plugin-projects .contents form label input:not([type=checkbox]),
.plugin-projects .contents form label select {
    width: 100%;
}

.plugin-projects .contents form label {
    text-transform: uppercase;
    font-weight: 500;
}

.contents #WIPSMAINCONTENTS h1 {
    margin-top: 0 !important;
    display: block;
    height: auto;
    word-wrap: break-word;
    text-align: center;
    float: left;
    width: 100%;
    padding: 5px 8px;
}

.contents #WIPSMAINCONTENTS article h1.item-title {
    min-height: 2.75em;
}

@media all and (min-width: 960px) {
    body .context {
        font-size: 16px;
        border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
        bottom: 0;
        top: auto;
    }

    .plugin-normal.logged-in .contents {
        height: calc(100% - 34px);
    }
}

body .main nav {
    text-transform: uppercase;
    float: left;
    display: inline-block;
    width: 100%;
}

.plugin-mediabank.publishpage .main nav {
    left: 150px;
}

.fullscreen .context.top {
    height: 34px;
}

.fullscreen .context.top button {
    margin-top: 3px;
}

.plugin-map .logo {
    top: 34px;
}

.context {
    box-sizing: border-box;
    position: fixed;
    z-index: 200;
    padding: 0 0.8em;
    line-height: 1.7;
    text-transform: uppercase;
    text-align: right;
    float: left;
    width: calc(100% - 150px);
    border: 0;
    border-top: 0 solid rgba(0, 0, 0, 0.1) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    margin: 0 !important;
    font-size: 12px;
    height: 40px;
    font-weight: 500;
    display: flex;
}

.publishpage .context {
    width: calc(100% - 150px);
    right: 0;
}

.context > dl {
    width: 40%;
    display: flex;
    float: left;
    text-align: left;
    height: 40px;
    align-items: center;
}

.context > div {
    width: 60%;
    display: flex;
    float: right;
    text-align: right;
    justify-content: flex-end;
    align-items: center;
}

.context.bottom {
    margin-top: -2px !important;
    border-bottom: 0;
    border-top: 1px solid #eee !important;
    display: none;
}

#WIPSMAINCONTENTS .context .left {
    float: right;
    text-align: right;
    padding-left: 25px;
    padding-right: 15px;
    display: flex;
    align-items: center;
    width: 35%;
    justify-content: flex-end;
    white-space: nowrap;
}

.context dt {
    float: left;
    text-align: right;
    padding-left: 15px;
    padding-right: 15px;
}

.context dt:after {
    content: ' >';
}

.context dd {
    text-align: left;
}

.context p {
    margin: 0;
}

.context button {
    text-transform: uppercase;
}

.admin-menu {
    padding: 0;
    margin: 0;
    position: relative;
    top: 0;
    z-index: 1;
    width: 100%;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.homepage .admin-menu {
    margin: 0;
    position: absolute;
    top: 0;
    z-index: 1;
    width: 100%;
    font-weight: 500;
    /*noinspection CssOverwrittenProperties*/
    margin-top: 0 !important;
    border-bottom: 0 solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.3);
}

.admin-menu .L1 > li > a {
    border: 1px solid transparent;
    padding: 0 1.3em;
    margin-right: 0;
    margin-left: 0;
    font-weight: 500;
    line-height: 3em;
    height: 3em;
    font-size: 11px;
    transition: all 0.5s ease;
}

.admin-menu .L1 > li > a span {
    white-space: nowrap;
}

.admin-menu .L1 > li > a:hover {
    text-decoration: none;
    border: 1px solid;
    transition: all 0.5s ease;
}

.map {
    position: relative;
    overflow: hidden;
    width: 300px;
    height: 300px;
}

.large.map {
    height: 100%;
    width: 100%;
}

.logged-in .large.map {
    padding: 0 !important;
}

.fullscreen .large.map {
    height: calc(100% - 34px);
    width: 100%;
}

.plugin-map button {
    transition: all 0.5s ease;
}

.plugin-map .island button:hover {
    transition: all 0.5s ease;
    text-decoration: none;
}

.docs-at-coords {
    display: none;
}

.fullscreen {
    position: fixed;
    top: 0;
    left: 150px;
    right: 0;
    bottom: 0;
    margin: 0;
    z-index: 100;
}

.common-form,
.WipsForm {
    overflow: hidden;
}

form#login > div {
    float: left;
    position: relative;
}

.WipsForm--edit {
    padding-bottom: 3.4em;
}

.WipsForm .naering {
    float: left;
    width: 50%;
}

.common-form > fieldset {
    width: 100%;
}

.common-form > fieldset > legend {
    text-transform: uppercase;
    padding-left: 5px;
    padding-right: 5px;
    margin-bottom: 10px;
    margin-left: 10px;
    font-size: 14px;
    font-weight: bold;
}

.common-form > fieldset fieldset legend {
    text-transform: none;
    font-size: 14px;
}

.common-form fieldset,
.WipsForm fieldset {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    margin-bottom: 2em;
}

.fieldset-unstyled {
    min-width: 200px;
    float: left;
    display: inline-block;
    break-inside: avoid;
}

.common-form > label,
.WipsForm > label,
.WipsForm .map {
    margin-bottom: 0.5em;
    float: left;
    width: 100%;
}

.WipsForm small {
    clear: right;
    width: 100% !important;
    text-transform: none;
    font-weight: normal;
}

.common-form .error,
.WipsForm .error {
    clear: right;
    color: #ff0000;
    font-size: 8px;
}

.WipsForm .text,
.WipsForm .email,
.WipsForm .textarea,
.WipsForm select,
.WipsForm .error,
.WipsForm small {
    box-sizing: border-box;
    float: right;
    width: 200px;
}

.WipsForm .text,
.WipsForm .email,
.WipsForm .textarea {
    min-height: 2em !important;
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 5px 10px !important;
    margin: 3px 0 0 0;
    font-size: 16px;
    background-color: #f9f9f9 !important;
}

.WipsForm select,
.WipsForm select option {
    height: 2em !important;
    border-radius: 3px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 5px !important;
    line-height: 1.5em !important;
}

.WipsForm--edit .textarea {
    float: none;
    width: 100%;
    height: 182px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.maxlength-feedback {
    display: block;
    clear: both;
}

.wips_module_name_none#WIPSMAINCONTENTS {
    margin: auto;
    position: relative;
    padding: 30px;
    box-sizing: border-box;
    display: inline-block !important;
    height: auto;
}

.plugin-normal:not(.homepage) .wips_module_name_none#WIPSMAINCONTENTS {
    display: block !important;
}

.homepage .wips_module_name_none#WIPSMAINCONTENTS {
    text-shadow: 0 0 2px rgba(0, 0, 0, 0.2), 1px 1px 0 rgba(0, 0, 0, 0.2), 1px 0 0 rgba(0, 0, 0, 0.2);
    margin: auto;
    position: relative;
    padding: 15px 15% 15px 15%;
    box-sizing: border-box;
    display: inline-block !important;
    height: auto;
    background-color: rgba(0, 0, 0, 0.3);
}

.homepage .wips_module_name_none#WIPSMAINCONTENTS:after {
    content: "";
    background: rgba(255, 255, 255, 0.6);
}

.homepage .wips_module_name_none > p > img {
    display: none;
}

.homepage .wips_module_name_none h1 {
    font-size: 500%;
    font-weight: bold;
    margin: 0 0 0 0;
    line-height: 1.5em;
}

.homepage .wips_module_name_none p {
    margin: 0 0 0 0;
    font-size: 16px;
    line-height: 1.5em;
    font-weight: 200;
    padding-bottom: 10px;
}

.homepage .wips_module_name_none * {
    text-align: left;
    max-width: 1500px;
}

.wips_module_name_none p strong {
    font-weight: 600;
}

.wips_module_name_plugins#WIPSMAINCONTENTS > * {
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

/* RESPONSIVE */

@media all and (max-width: 959px) {
    body .main nav {
        left: 0;
        right: 0;
    }

    .plugin-map .main nav .admin-menu {
        display: none;
    }

    .plugin-mediabank.publishpage .main nav {
        top: 0;
        left: 0;
    }

    .plugin-mediabank.publishpage #WIPSMAINCONTENTS .context {
        top: 41px;
    }

    .logged-in.plugin-mediabank.publishpage #WIPSMAINCONTENTS .context {
        top: -1px;
    }

    .plugin-mediabank .main nav {
        top: 90px;
        left: 0;
        right: 0;
    }

    .logo img,
    img.logo {
        max-width: 100%;
    }
}

.wips_module_name_plugins#WIPSMAINCONTENTS > div:nth-child(1),
.wips_module_name_plugins#WIPSMAINCONTENTS > div.context {
    padding-left: 0 !important;
    padding-right: 0;
    box-sizing: border-box;
}

@media all and (max-width: 959px) {
    .wips_module_name_plugins#WIPSMAINCONTENTS > * {
        padding-right: 20px;
    }
}

.plugin-map .page-footer {
    display: none;
}


/* ANIMATION WHEN IMAGE, VIDEO OR DOCUMENT IS NOT READY */

.type-video .image:before,
.type-document .image:before,
.type-image .image:before {
    font-family: "fotobank-ikoner";
    font-size: 28px;
    display: table;
    position: absolute;
    bottom: 0;
    top: -6%;
    left: 0;
    right: 0;
    margin: auto;
    width: 50%;
    vertical-align: middle;
    text-align: center;
    z-index: -1;
}

.type-image .image:before {
    content: "r";
}

.type-video .image:before {
    content: "p";
}

.type-document .image:before {
    content: "q";
}

.type-image .image:after,
.type-video .image:after,
.type-document .image:after {
    display: table;
    position: absolute;
    bottom: 42%;
    top: auto;
    left: 0;
    right: 0;
    margin: auto;
    width: 50%;
    vertical-align: middle;
    text-align: center;
    animation: pulse1 1s linear infinite;
    z-index: -1;
}

@keyframes pulse1 {
    0% {
        color: rgba(0, 0, 0, 0.5);
    }
    90% {
        color: rgba(0, 0, 0, 0);
    }
    100% {
        color: rgba(0, 0, 0, 0.5);
    }

}

.type-image .image:after {
    content: "loading";
}

.type-video .image:after {
    content: "converting";
}

.type-document .image:after {
    content: "loading";
}

/*SCROLL END */

@media all and (max-width: 959px) {

    aside label,
    aside legend,
    aside select {
        font-size: 14px;
        line-height: 1.5em;
    }

    .admin-menu .L1 {
        flex-wrap: wrap;
        box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    }

    .admin-menu .L1 li {
        margin-bottom: 10px;
    }

    div.context.paginator.island {
        height: 100%;
    }

    div.context.paginator.island * {
        float: left !important;
        padding: 0;
    }

    div.context.paginator.island > dl dt {
        display: none;
    }

    div.context.paginator.island > dl dd {
        padding-left: 20px;
        padding-right: 20px;
    }

    div.context.paginator.island > dl {
        width: auto;
        margin-left: 0;
        font-size: 13px;
    }

    div.context.island {
        padding-left: 0 !important;
        padding-right: 0 !important;
        font-size: 14px;
    }

    .content-area.logo {
        margin-top: 34px;
    }

    .homepage .wips_module_name_none#WIPSMAINCONTENTS {
        padding: 20px;
    }

    .homepage .wips_module_name_none h1 {
        font-size: 24px;
    }

    .plugin-shoppingcart .container {
        margin-top: 0;
        padding-top: 0;
    }

    body .main-column {
        padding-bottom: 40px;
        height: 100%;
        width: 100vw;
    }

    .plugin-normal .main-column {
        height: 100%;
    }

    body.plugin-mediabank:not(.publishpage) .main-column {
        padding-bottom: 40px;
    }

    body.logged-in.plugin-mediabank:not(.publishpage) .main-column {
        padding-top: 49px;
    }

    .plugin-map .island p.left,
    .plugin-map .island button.link,
    .homepage .island {
        display: none;
    }

    .plugin-map .large.map#map {
        position: fixed !important;
        top: 0;
        bottom: 0;
        height: auto;
        width: 100%;
        left: 0;
        right: 0;
    }

    .plugin-map .page-footer {
        display: none !important;
    }

    .plugin-article p img {
        width: 100%;
    }

    .page-footer {
        height: auto !important;
        margin-top: 0;
        display: block;
    }

    .page-footer .container {
        height: auto !important;
        margin-top: 0;
    }

    .page-footer .body {
        width: 100%;
        float: left;
        display: block;
        position: relative;
        margin: 0;
        padding: 20px;
    }

    .page-footer .logo {
        width: 60%;
        float: none !important;
        margin: auto !important;
        right: 0;
        left: 0 !important;
        text-align: center !important;
        margin-bottom: 20px !important;
        height: auto;
        display: block;
    }

    .plugin-map .gm-bundled-control {
        top: 9px !important;
    }
}

@media (max-width: 959px) {
    .container,
    .contents,
    .main.content-area,
    #WIPSMAINCONTENTS .context{
        margin: 0;
        min-width: 100%;
        max-width: 100%;
        min-height: 0;
        height: auto;
        width: 100% !important;
        left: 0 !important;
        right: auto !important;
        top: auto;
        bottom: auto;
        position: relative;
    }

    .contents {
        padding-top: 89px;
    }

    .plugin-normal .contents {
        padding-top: 0;
        padding-bottom: 100px;
    }

    .plugin-shoppingcart .contents {
        overflow-x: hidden;
        margin-top: 0;
        box-sizing: border-box;
        padding-top: 0;
    }

    .plugin-mediabank.logged-in .contents {
        padding-top: 0;
    }

    .plugin-mediabank.logged-in:not(.publishpage) .contents {
        padding-top: 40px;
        height: calc(100% - 140px);
        overflow: visible;
    }

    .plugin-mediabank.logged-in.publishpage .contents {
        margin-top: 0;
        overflow: visible;
    }

    #WIPSMAINCONTENTS .context {
        flex-wrap: wrap;
        border-top: 1px solid #ddd !important;
        position: fixed;
        top: 48px;
        z-index: 10000;
    }

    .plugin-map .context.paginator.top.island {
        display: none !important;
    }

    body.readmore .contents {
        margin-top: 0;
    }
}

body .ui-autocomplete {
    z-index: 12000;
    font-size: 12px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    max-width: 168px;
    border-top: 0;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
    width: 168px !important;
}

.fullscreen-iframe {
    display: block;
    z-index: 20001;
    width: 100vw;
    height: 100%;
    pointer-events: auto;
    position: relative;
}

@media all and (max-width: 959px) {
    .fullscreen-iframe {
        overflow-y: scroll !important;
        -webkit-overflow-scrolling: touch !important;
        overflow-x: hidden !important;
    }

}

.fullscreen-iframe iframe {
    display: block;
    z-index: 10002;
}

.close-icon {
    line-height: 1.75em;
    font-family: 'fotobank-ikoner';
    -webkit-font-smoothing: antialiased;
    font-size: 22px;
    vertical-align: sub;
    padding-left: 10px;
}

.add-button-one {
    display: none;
}

@media (max-width: 959px) {
    body .ui-autocomplete {
        font-size: 16px;
        max-width: 100%;
        width: calc(100vw - 50px) !important;
    }
}

/*
-----------------------------------------
ADMIN EDIT CATEGORIES - CONTAINER STYLING
-----------------------------------------
*/
.wips_module_name_plugins form#edit {
    margin: 20px 10px !important;
    padding: 41px 15px 60px 15px;
    border-radius: 4px;
    float: left;
    min-height: 300px;
    max-width: 100%;
    display: block;
}

.wips_module_name_plugins form#edit h1 {
    position: relative;
    float: left;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.wips_module_name_plugins form#edit {
    padding: 15px 15px 20px 15px;
}

.wips_module_name_plugins form#edit {
    width: calc(100% - 360px);
    display: flex;
    flex-wrap: wrap;
    overflow: auto;
    max-height: 95%;
    flex: 2 1 400px;
    order: 2;
}

@media all and (max-width: 959px) {
    .wips_module_name_plugins form#edit {
        width: 100%;
        margin: 20px 0 0 0 !important;
        padding-top: 0;
    }

    .wips_module_name_plugins form#edit h2 {
        font-size: 24px;
        margin-top: 20px;
    }

    .wips_module_name_plugins form#edit > div > fieldset {
        min-width: 200px;
    }
}

.wips_module_name_plugins h2 {
    margin-top: 0;
    column-span: all;
}

.wips_module_name_plugins form#edit > * {
    margin-right: 3%;
    position: relative;
}

.wips_module_name_plugins form#edit > button {
    max-width: 100%;
    margin: 0 !important;
    order: 3;
    position: fixed;
    bottom: 0;
    display: flex;
    font-size: 18px;
    justify-content: center;
    left: 0;
    right: 0;
    background-color: #ff8c00;
    color: #ffffff;
    border-radius: 0;
    z-index: 10;
}

.wips_module_name_plugins form#edit > button:hover {
    color: #ff8c00;
    background-color: #ffffff;
    border: 1px solid;
}

body:not(.plugin-map):not(.plugin-mediabank) #WIPSMAINCONTENTS {
    padding-top: 0;
    max-height: none;
    height: 100%;
    float: left;
    position: relative;
    display: flex !important;
    padding-bottom: 50px;
    flex-wrap: wrap;
    max-width: 100%;
    flex: 1 1 100%;
}

/* ----------------- HOMEPAGE AREA ARTICLES ----------------- */

body.plugin-normal .contents {
    min-height: 95vh;
}

.homepage:not(.readmore) .main .container article:nth-child(1) a.button {
    font-size: 1.5em;
    padding: 0.5em 2em;
}

@media (max-width: 959px) {
    .admin-menu {
        border-bottom: 0;
        padding: 0 !important;
    }

    .admin-menu .L1 > li > a span {
        display: none;
    }

    .admin-menu .L1 li {
        flex: 1 1 25%;
        width: 25%;
        min-width: 0;
        margin-bottom: 0;
    }

    .admin-menu .L1 li a {
        padding: 3px 0;
        line-height: 3.1em;
        margin: 0;
        height: 3.75em;
        border-radius: 0 !important;
        border: 0 !important;
    }

    body input,
    body select,
    body textarea,
    body label,
    body legend {
        font-size: 16px !important;
    }

    body input {
        margin-top: 1px !important;
    }

    .ui-button-text-icon-primary .ui-button-text span {
        font-size: 16px;
        line-height: 1.5em;
    }

    .admin-menu .L1 > li:nth-child(2) > a:before {
        content: "U";
        font-size: 23px;
    }

    body .main.content-area .admin-menu li:nth-child(1) > a:before {
        font-size: 28px !important;
    }

    body .main.content-area .admin-menu li:nth-child(2) > a:before {
        font-size: 22px !important;
        line-height: 1.6em;
    }
}

.admin-menu .L1 > li > a:before {
    content: "d";
    font-family: "fotobank-ikoner";
    text-transform: none;
    vertical-align: middle;
    font-size: 25px;
    line-height: 0;
    display: inline-block;
    padding-left: 5px;
    padding-right: 7px;
    font-weight: 100;
}

.admin-menu .L1 > li:nth-child(2) > a:before {
    content: "U";
    font-size: 19px !important;
    vertical-align: sub;
}

.admin-menu .L1 > li:nth-child(3) > a:before {
    content: "(";
    font-size: 21px !important;
}

.admin-menu .L1 > li:nth-child(4) > a:before {
    content: ")";
    font-size: 19px !important;
}

.admin-menu .L1 li a {
    line-height: 3em;
    border-radius: 0 !important;
    border: 0 !important;
}

.admin-menu .L1 li a:before {
    vertical-align: middle;
    font-size: 22px !important;
}

h6 {
    font-size: calc(0.98125em + 0.12vw);
}

h5 {
    font-size: calc(1.10625em + 0.12vw);
}

h4 {
    font-size: calc(1.2em + 0.3vw);
}

h3 {
    font-size: calc(1.4em + 0.5vw);
}


h2,
.homepage article:not(:nth-child(1)) h1 {
    font-size: calc(1.7em + 0.88vw);
}

h1 {
    font-size: calc(2em + 1.3vw);
}

h1, h2, h3, h4, h5, h6 {
    line-height: 1.2em;
}

.fileinput {
    display: inline-block;
    position: relative;
    overflow: hidden;
    line-height: normal;
    vertical-align: bottom;
    z-index: 0;
}

html {
    font-size: 10px;
    line-height: 1.5;
}

body {
    font-size: 16px;
}

.contents #WIPSMAINCONTENTS {
    width: 100%;
    height: 100%;
    position: relative;
    display: block !important;
    font-size: 14px;
    font-weight: 300;
}

.readmore .contents #WIPSMAINCONTENTS {
    background-color: #ffffff;
}

.wips_module_name_plugins {
    min-height: 100%;
}

h1, h2, h3, h4, h5, h6 {
    padding-bottom: 5px;
    margin-bottom: 0;
    padding-top: 10px;
    margin-top: 0;
    line-height: 1.2em;
}

#WIPSMAINCONTENTS p,
#WIPSMAINCONTENTS ul {
    padding-top: 0;
    margin-top: 0;
    padding-bottom: 0.75em;
    margin-bottom: 0;
    line-height: 1.5em;
    overflow-wrap: anywhere;
    word-break: normal;
}

#WIPSMAINCONTENTS .context p,
#WIPSMAINCONTENTS .context ul {
    padding-top: 0 !important;
    margin-top: 0;
    padding-bottom: 0;
    margin-bottom: 0;
    width: auto;
}

.plugin-map #WIPSMAINCONTENTS .context p {
    flex: 1 1 50%;
    width: 50%;
}

h1 {
    font-size: 40px;
}

h2 {
    font-size: 35px;
}

h3 {
    font-size: 30px;
}

h4 {
    font-size: 25px;
}

h5 {
    font-size: 20px;
}

h6 {
    font-size: 16px;
}

th {
    text-align: left;
}

td {
    vertical-align: top;
}

dl, dt, dd {
    margin: 0;
    padding: 0;
}

dt:after {
    content: ':\0a0';
}

figure img {
    vertical-align: bottom;
}

figcaption {
    padding-top: 4px;
}

a {
    text-decoration: none;
    cursor: pointer;
}

a:hover {
    text-decoration: underline;
}

address {
    font-style: normal;
}

fieldset {
    margin-left: 0;
    margin-right: 0;
}

label, legend, select {
    font-size: 14px;
}

label {
    display: block;
    cursor: pointer;
}

:hover::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    transition: color 0.25s ease-in-out;
}

:hover::-moz-placeholder { /* Firefox 19+ */
    transition: color 0.25s ease-in-out;
}

:hover:-ms-input-placeholder { /* IE 10+ */
    transition: color 0.25s ease-in-out;
}

:hover:-moz-placeholder { /* Firefox 18- */
    transition: color 0.25s ease-in-out;
}

.button {
    cursor: pointer !important;
}

/* Extra styling in page.css */

body:not(.readmore) #WIPSMAINCONTENTS article:not(:nth-child(1)) .logo {
    display: block !important;
    padding-bottom: 20px;
}

body:not(.readmore) #WIPSMAINCONTENTS article:not(:nth-child(1)) .logo img {
    max-width: 120px;
    max-height: 104px;
    display: none;
}

.readmore .images figure {
    margin-bottom: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    overflow: hidden;
    padding-bottom: 5px;
}

.readmore .images figure > *:not(img) {
    padding-left: 10px;
    padding-right: 10px;
}

.readmore .images figure > *:not(img):not(figcaption) {
    font-size: 12px;
}

/* FILTER BAR MENU - ANIMATION */

@keyframes pulse_animation2 {
    0% {
        opacity: 1;
    }
    25% {
        opacity: 0.1;
    }
    50% {
        opacity: 1;
    }
    75% {
        opacity: 0.1;
    }
    100% {
        opacity: 1;
    }
}


.plugin-mediabank .page-body {
    background: #ddd;
}

/* RESTRICTED WARNING */
#WIPSMAINCONTENTS .restricted-button {
    margin-top: -74px;
    width: 96%;
}

#WIPSMAINCONTENTS .restricted-button a {
    padding: 8px 10px;
    color: #ff8c00;
    background-color: #ffffff;
    float: right;
    font-weight: bold;
    text-transform: uppercase;
    border-radius: 4px;
    width: 100%;
    text-align: center;
    border: 1px solid #ffffff;
    text-decoration: none;
}

#WIPSMAINCONTENTS .restricted-button a:hover {
    background-color: #ff8c00 !important;
    color: #ffffff;
}

/* FILTER MENU STYLING
------------------------------------------
*/
.categories.active > label {
    background-color: rgba(0, 0, 0, 0.05);
}

/* KATEGORY ADMIN STYLES
------------------------------------------ */

> div > div > form {
    flex: 1 1 300px;
    order: 3;
    margin: 0 10px;
}

.wips_module_name_feedback_2#WIPSMAINCONTENTS form {
    padding: 0 20px 100px 20px !important;
}

/* HIDDEN OBJECTS IN READ MORE - RELATED ARTICLES
------------------------------------------
*/
.readmore .context.top.media-item-readmore-nav {
    display: none;
}

.readmore.plugin-mediabank .main-column {
    padding-top: 0 !important;
}

/* MEDIABANK main title H1 styling
------------------------------------------
*/

/* FIXES - NOT SORTED
------------------------------------------
*/


body.homepage #WIPSMAINCONTENTS {
    padding-bottom: 0 !important;
}

/* SCROLL ISSUES ON MOBILE */
@media all and (max-width: 959px) {
    body.plugin-mediabank:not(.publishpage) .main-column {
        padding-bottom: 0;
        min-height: 100%;
        height: 100%;
        max-height: 100%;
    }
}

/* READ MORE FIXES - LINK PAGE */


.readmore.plugin-mediabank .main.content-area {
    top: 0;
}

.readmore.plugin-mediabank .context.top.media-item-readmore-nav {
    display: flex;
}

@media all and (max-width: 959px) {
    .readmore.plugin-mediabank .contents {
        padding-top: 50px;
    }

    .readmore.plugin-mediabank h1.item-title {
        text-align: center !important;
        padding-top: 30px !important;
    }
}

/* LOGGED IN ISSUES */
@media all and (max-width: 959px) {
    body.logged-in.plugin-mediabank:not(.publishpage) .main-column {
        padding-bottom: 100px;
    }

}

/* ADMIN MENU PARTNER LOGIN */

@media all and (max-width: 959px) {
    .plugin-shoppingcart.logged-in .admin-menu,
    .plugin-mediabank.logged-in .admin-menu {
        top: 40px;
    }
}
