/* Base styles */
*, input[type=search] {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
html, body {
margin: 0;
padding: 0;
}
body {font-family: 'Beatrice', sans-serif}
@font-face {
font-family: "Beatrice";
font-weight: 200;
src: url("$assets-beatrice-thin-woff2") format("woff2"),
url("$assets-beatrice-thin-woff") format("woff");
}
@font-face {
font-family: "Beatrice";
font-weight: normal;
src: url("$assets-beatrice-regular-woff2") format("woff2"),
url("$assets-beatrice-regular-woff") format("woff");
}
@font-face {
font-family: "Beatrice";
font-weight: 500;
src: url("$assets-beatrice-medium-woff2") format("woff2"),
url("$assets-beatrice-medium-woff") format("woff");
}
@font-face {
font-family: "Beatrice";
font-weight: 600;
src: url("$assets-beatrice-semibold-woff2") format("woff2"),
url("$assets-beatrice-semibold-woff") format("woff");
}
@font-face {
font-family: "Beatrice";
font-weight: 700;
src: url("$assets-beatrice-bold-woff2") format("woff2"),
url("$assets-beatrice-bold-woff") format("woff");
}
@font-face {
font-family: "Beatrice";
font-weight: 800;
src: url("$assets-beatrice-extrabold-woff2") format("woff2"),
url("$assets-beatrice-extrabold-woff") format("woff");
}
.article-body a {
color: #EC5D4F;
text-decoration: underline;
}
.article {width: 100%}
.article-title {max-width: 800px}
.article-title {max-width: 800px}
* {box-sizing: unset}
.notification-alert, .notification-lock {display: none!important}
#preview-bar-container {box-sizing: border-box}
::selection {
background-color: rgba(251,93,80,0.99);
color: #fff;
}
::-moz-selection {
background-color: rgba(251,93,80,0.99);
color: #fff;
}
.spacer.big {padding: 90px 0}
#pagewrapper {
display: block;
position: relative;
max-width: 1120px;
margin: auto;
padding: 0 30px;
}
#pagewrapper-plakater {
display: block;
position: relative;
max-width: none;
margin: auto;
padding: 0;
}
.clearfix {
overflow: hidden;
clear: both;
}
h1, h2, h3, h4, h5, p, a, ul {color: #000960}
p, li {
font-weight: 400;
line-height: 28px;
}
main {
overflow: hidden;
width: 100%;
height: 100%;
}
#help-center-title {
text-align: center;
padding: 20px 0px 0px 0px;
}
#help-center-title h1, .h2-title {
font-size: calc(25px + (40 - 25) * ((100vw - 300px) / (1000 - 300)));
font-weight: 800;
line-height: 130%;
margin: 0;
}
#help-center-title p {
font-size: 22px;
font-weight: 300;
display: block;
margin: 10px 0 20px 0;
}
@media screen and (max-width: 750px) {
#help-center-title p {padding-top: 10px}
}
#help-center-title a {
border-bottom: 2px solid #fff;
font-size: inherit;
color: inherit;
text-decoration: none;
}
#help-center-title a:hover {border-bottom: 2px solid #EC5D4F}
/*--------------------------------------------------
NY CSS FRA NYTT THEME FIX
---------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
font-weight: 400;
margin-top: 0;
}
h1 {
font-size: 32px;
}
h2 {
font-size: 22px;
}
h3 {
font-size: 18px;
font-weight: 600;
}
h4 {
font-size: 16px;
}
a {
color: #000960;
text-decoration: none;
}
a:hover, a:active, a:focus {
text-decoration: underline;
}
input,
textarea {
color: #000;
font-size: 14px;
}
input {
font-weight: 300;
max-width: 100%;
box-sizing: border-box;
outline: none;
transition: border .12s ease-in-out;
}
input:focus {
border: 1px solid $color_1;
}
input[disabled] {
background-color: #ddd;
}
select {
-webkit-appearance: none;
-moz-appearance: none;
background: url("$assets-zd-dropdown-arrow-svg") no-repeat #fff;
background-position: right 10px center;
border: 1px solid #ddd;
border-radius: 4px;
padding: 8px 30px 8px 10px;
outline: none;
color: #555;
width: 100%;
}
select:focus {
border: 1px solid $color_1;
}
select::-ms-expand {
display: none;
}
textarea {
border: 1px solid #ddd;
border-radius: 2px;
resize: vertical;
width: 100%;
outline: none;
padding: 10px;
}
textarea:focus {
border: 1px solid $color_1;
}
.container {
max-width: 1400px;
margin: auto;
/*padding: 0px 25px;*/
margin-top: 30px;
}
@media (min-width: 1160px) {
.container {
padding: 0;
width: 90%;
}
}
.container-divider {
border-top: 1px solid #ddd;
margin-bottom: 20px;
padding: 10px;
visibility: hidden;
}
ul {
list-style: none;
margin: 0;
padding: 0;
}
.error-page {
max-width: 1160px;
margin: 0 auto;
padding: 0 5%;
}
@media (min-width: 1160px) {
.error-page {
padding: 0;
width: 90%;
}
}
.dropdown-toggle::after {
color: inherit;
}
/***** Buttons *****/
.button, [role="button"] {
cursor: pointer;
display: inline-block;
font-size: 12px;
line-height: 2.34;
margin: 0;
padding: 0 20px;
text-align: center;
transition: background-color .12s ease-in-out, border-color .12s ease-in-out, color .15s ease-in-out;
user-select: none;
white-space: nowrap;
width: auto;
-webkit-touch-callout: none;
border: 0;
color: #fff;
background: #000960;
}
.user-nav .button, [role="button"] {background: #000960}
.user-nav li {
display: inline-block;
vertical-align: middle;
}
.user-nav li:not(:last-child) {margin-right: 20px}
.user-info > [role="button"] {background: transparent}
@media (min-width: 768px) {
.button, [role="button"] {
width: auto;
}
}
.button::after, [role="button"]::after {
color: $color_1;
}
.button:hover, .button:active, .button:focus, .button[aria-selected="true"], [role="button"]:hover, [role="button"]:active, [role="button"]:focus, [role="button"][aria-selected="true"] {
background-color: #000960;
color: $color_2;
text-decoration: none;
}
.button[aria-selected="true"]:hover, .button[aria-selected="true"]:focus, .button[aria-selected="true"]:active, [role="button"][aria-selected="true"]:hover, [role="button"][aria-selected="true"]:focus, [role="button"][aria-selected="true"]:active {
background-color: darken($color_1, 20%);
border-color: darken($color_1, 20%);
}
.button[data-disabled], [role="button"][data-disabled] {
cursor: default;
}
.button-large, input[type="submit"] {
background-color: #000960;
border: 0;
border-radius: 4px;
color: #fff;
font-size: 14px;
font-weight: 400;
line-height: 2.72;
min-width: 190px;
padding: 0 1.9286em;
width: 100%;
box-sizing: border-box;
}
#search-wrap input[type="submit"] {display: none}
@media (min-width: 768px) {
.button-large, input[type="submit"] {
width: auto;
}
}
.button-large:hover, .button-large:active, .button-large:focus, input[type="submit"]:hover, input[type="submit"]:active, input[type="submit"]:focus {
background-color: darken($color_1, 20%);
}
.button-large[disabled], input[type="submit"][disabled] {
background-color: #ddd;
}
.button-secondary {
color: lighten($color_3, 20%);
border: 1px solid #ddd;
background-color: transparent;
}
.button-secondary:hover, .button-secondary:focus, .button-secondary:active {
color: $color_3;
border: 1px solid #ddd;
background-color: darken($color_5, 3%);
}
/***** Tables *****/
.table {
width: 100%;
table-layout: fixed;
}
@media (min-width: 768px) {
.table {
table-layout: auto;
}
}
.table th,
.table th a {
color: lighten($color_3, 20%);
font-size: 13px;
font-weight: 300;
text-align: left;
}
[dir="rtl"] .table th, [dir="rtl"]
.table th a {
text-align: right;
}
.table tr {
border-bottom: 1px solid #ddd;
display: block;
padding: 20px 0;
}
@media (min-width: 768px) {
.table tr {
display: table-row;
}
}
.table td {
display: block;
}
@media (min-width: 768px) {
.table td {
display: table-cell;
}
}
@media (min-width: 1024px) {
.table td, .table th {
padding: 20px 30px;
}
}
@media (min-width: 768px) {
.table td, .table th {
padding: 10px 20px;
height: 60px;
}
}
/***** Forms *****/
.form {
max-width: 650px;
}
.form-field ~ .form-field {
margin-top: 25px;
}
.form-field label {
display: block;
font-size: 13px;
margin-bottom: 5px;
}
.form-field input {
border: 1px solid #ddd;
border-radius: 4px;
padding: 10px;
width: 100%;
}
.form-field input:focus {
border: 1px solid $color_1;
}
.form-field input[type="text"] {
border: 1px solid #ddd;
border-radius: 4px;
}
.form-field input[type="text"]:focus {
border: 1px solid $color_1;
}
.form-field input[type="checkbox"] {
width: auto;
}
.form-field .nesty-input {
border-radius: 4px;
height: 40px;
line-height: 40px;
outline: none;
vertical-align: middle;
}
.form-field .nesty-input:focus {
border: 1px solid $color_1;
text-decoration: none;
}
.form-field textarea {
vertical-align: middle;
}
.form-field input[type="checkbox"] + label {
margin: 0 0 0 10px;
}
.form-field.required > label::after {
content: "*";
color: #f00;
margin-left: 2px;
}
.form-field p {
color: lighten($color_3, 20%);
font-size: 12px;
margin: 5px 0;
}
[data-loading="true"] input,
[data-loading="true"] textarea {
background: transparent url("$assets-zd-loader-gif") 99% 50% no-repeat;
background-size: 16px 16px;
}
.form footer {
margin-top: 40px;
padding-top: 30px;
}
.form footer a {
color: lighten($color_3, 20%);
cursor: pointer;
margin-right: 15px;
}
.form .suggestion-list {
font-size: 13px;
margin-top: 30px;
}
.form .suggestion-list label {
border-bottom: 1px solid #ddd;
display: block;
padding-bottom: 5px;
}
.form .suggestion-list li {
padding: 10px 0;
}
.form .suggestion-list li a:visited {
color: darken($color_4, 20%);
}
/***** User info in header *****/
.user-info {display: inline-block}
.user-info .dropdown-toggle::after {
display: none;
}
@media (min-width: 768px) {
.user-info .dropdown-toggle::after {
display: inline-block;
}
}
.user-info > [role="button"] {
border: 0;
color: $color_4;
min-width: 0;
padding: 0;
white-space: nowrap;
}
.user-info > [role="button"]:hover {
color: $color_4;
background-color: transparent;
}
.user-info > [role="button"]::after {
color: #000960;
padding-right: 15px;
}
[dir="rtl"] .user-info > [role="button"]::after {
padding-left: 15px;
padding-right: 0;
}
#user #user-name {
display: none;
font-size: 14px;
color: #000960;
}
@media (min-width: 768px) {
#user #user-name {
display: inline-block;
}
}
#user #user-name:hover {
text-decoration: underline;
}
/***** User avatar *****/
.user-avatar {
height: 25px;
width: 25px;
border-radius: 50%;
display: inline-block;
vertical-align: middle;
}
.avatar {
display: inline-block;
position: relative;
}
.avatar img {
height: 40px;
width: 40px;
box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.3);
}
.avatar .icon-agent::before {
background-color: #000960;
border: 2px solid #fff;
border-radius: 50%;
bottom: -4px;
color: $color_2;
content: "\1F464";
font-size: 14px;
height: 14px;
line-height: 14px;
position: absolute;
right: -2px;
text-align: center;
width: 14px;
}
/***** Breadcrumbs *****/
.breadcrumbs {
margin: 0;
padding: 0;
color: #555;
}
@media (min-width: 768px) {
.breadcrumbs {
margin: 0;
}
}
.breadcrumbs li {
display: inline;
font-weight: 300;
font-size: 13px;
max-width: 450px;
overflow: hidden;
text-overflow: ellipsis;
}
.breadcrumbs li + li::before {
content: ">";
margin: 0 4px;
color: #555;
}
.breadcrumbs a {color: #555}
/***** Search field *****/
.search {position: relative}
.search input[type="search"] {
font-size: 15px;
font-family: beatrice;
padding: 28px;
width: 100%;
box-sizing: border-box;
-webkit-appearance: none;
border: 0;
border-radius: 50px;
text-indent: 20px;
box-shadow: 0 0 30px 0 rgba(0,0,0,0.1);
}
.hero-unit.search-box {position: relative}
.search-box:before, .sub-nav .search:before {
color: #EC5D4F;
/*content: "\78";
font-family: "vigiloikonerDISABLE";
*/
display: none!Important;
font-size: 30px;
line-height: 0;
position: absolute;
text-align: center;
pointer-events: none;
left: auto;
right: 40px;
z-index: 1;
position: absolute;
top: 50%;
transform: translateY(-50%);
}
[dir="rtl"] .search input[type="search"] {
padding-right: 40px;
padding-left: 20px;
}
@media screen and (max-width: 980px) {
.search input[type="search"] {
font-size: 16px;
padding: 25px;
}
.search-box:before, .sub-nav .search:before {
top: 36px;
right: 39px;
font-size: 30px;
}
}
/***** Hero component *****/
.hero {
background-image: url($homepage_background_image);
background-position: center;
background-size: cover;
height: 300px;
padding: 0 20px;
text-align: center;
width: 100%;
}
.hero-inner {
position: relative;
top: 50%;
transform: translateY(-50%);
max-width: 610px;
margin: 0 auto;
}
.page-header {
display: flex;
flex-direction: column;
flex-wrap: wrap;
justify-content: space-between;
margin: 10px 0;
padding: 0;
}
.page-header.post {
font-size: 22px;
}
@media (min-width: 768px) {
.page-header {
align-items: baseline;
flex-direction: row;
margin: 0;
}
}
.page-header .section-subscribe {
flex-shrink: 0;
margin-bottom: 10px;
}
@media (min-width: 768px) {
.page-header .section-subscribe {
margin-bottom: 0;
}
}
.page-header h1 {
flex-grow: 1;
margin-bottom: 10px;
}
.page-header-description {
font-style: italic;
font-weight: 300;
margin: 0 0 30px 0;
word-break: break-word;
}
@media (min-width: 1024px) {
.page-header-description {
flex-basis: 100%;
}
}
.page-header .icon-lock::before {
content: "\1F512";
font-size: 20px;
position: relative;
left: -5px;
vertical-align: baseline;
}
.sub-nav {
display: flex;
flex-direction: column;
justify-content: space-between;
}
@media (min-width: 768px) {
.sub-nav {
align-items: baseline;
flex-direction: row;
}
}
@media (min-width: 768px) {
.sub-nav input[type="search"] {
min-width: 300px;
}
}
.sub-nav input[type="search"]::after {
font-size: 15px;
}
/***** Blocks *****/
/* Used in Homepage#categories and Community#topics */
.blocks-list {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
list-style: none;
padding: 0;
}
@media (min-width: 768px) {
.blocks-list {
margin: 0 -15px;
}
}
.blocks-item {
border: 1px solid $color_1;
border-radius: 4px;
box-sizing: border-box;
color: $color_1;
display: flex;
flex: 1 0 340px;
flex-direction: column;
justify-content: center;
margin: 0 0 30px;
max-width: 100%;
text-align: center;
}
@media (min-width: 768px) {
.blocks-item {
margin: 0 15px 30px;
}
}
.blocks-item:hover, .blocks-item:focus, .blocks-item:active {
background-color: $color_1;
}
.blocks-item:hover *, .blocks-item:focus *, .blocks-item:active * {
color: $color_2;
text-decoration: none;
}
.blocks-item-internal {
background-color: transparent;
border: 1px solid #ddd;
}
.blocks-item-internal .icon-lock::before {
content: "\1F512";
font-size: 15px;
bottom: 5px;
position: relative;
}
.blocks-item-internal a {
color: $color_3;
}
.blocks-item-link {
color: $color_1;
padding: 20px 30px;
}
.blocks-item-link:hover, .blocks-item-link:focus, .blocks-item-link:active {
text-decoration: none;
}
.blocks-item-title {
margin-bottom: 0;
}
.blocks-item-description {
font-weight: 300;
margin: 0;
}
.blocks-item-description:not(:empty) {
margin-top: 10px;
}
/***** Homepage *****/
.section-tree .section {
margin-bottom: 40px;
width: 50%;
border: 40px solid white;
box-sizing: border-box;
}
.section h2 {
margin-bottom: 10px;
text-align: center;
}
/***** Promoted articles *****/
.promoted-articles {
display: flex;
flex-direction: column;
flex-wrap: wrap;
}
@media (min-width: 1024px) {
.promoted-articles {
flex-direction: row;
}
}
.promoted-articles-item {
flex: 1 0 auto;
}
@media (min-width: 1024px) {
.promoted-articles-item {
align-self: flex-end;
flex: 0 0 auto;
padding-right: 30px;
width: 33%;
/* Three columns on desktop */
}
[dir="rtl"] .promoted-articles-item {
padding: 0 0 0 30px;
}
}
.promoted-articles-item:nth-child(3n) {
padding-right: 0;
}
.promoted-articles-item a {
border-bottom: 1px solid #ddd;
color: $color_3;
display: block;
padding: 15px 0;
}
.promoted-articles-item:last-child a {
border: 0;
}
@media (min-width: 1024px) {
.promoted-articles-item:last-child a {
border-bottom: 1px solid #ddd;
}
}
/***** Community section in homepage *****/
.community {
text-align: center;
}
.community-image {
min-height: 300px;
background-image: url($community_image);
background-position: center;
background-repeat: no-repeat;
max-width: 100%;
}
.community,
.activity {
border-top: 1px solid #ddd;
padding: 30px 0;
}
/***** Recent activity *****/
.recent-activity-header {
margin-bottom: 10px;
text-align: center;
}
.recent-activity-list {
padding: 0;
}
.recent-activity-item {
border-bottom: 1px solid #ddd;
overflow: auto;
padding: 20px 0;
}
.recent-activity-item-parent {
font-size: 16px;
}
.recent-activity-item-parent, .recent-activity-item-link {
margin: 6px 0;
color: #555;
display: inline-block;
width: 100%;
}
@media (min-width: 768px) {
.recent-activity-item-parent, .recent-activity-item-link {
width: 70%;
margin: 0;
}
}
.recent-activity-item-link {
font-size: 14px;
font-weight: 300;
}
.recent-activity-item-meta {
margin: 15px 0 0 0;
float: none;
}
@media (min-width: 768px) {
.recent-activity-item-meta {
margin: 0;
float: right;
}
[dir="rtl"] .recent-activity-item-meta {
float: left;
}
}
.recent-activity-item-time, .recent-activity-item-comment {
color: lighten($color_3, 20%);
display: inline-block;
font-size: 13px;
font-weight: 300;
}
.recent-activity-item-comment {
padding-left: 5px;
}
[dir="rtl"] .recent-activity-item-comment {
padding: 0 5px 0 0;
}
.recent-activity-item-comment::before {
display: inline-block;
}
.recent-activity-item-comment span::before {
color: $color_1;
content: "\1F4AC";
display: inline-block;
font-size: 15px;
padding-right: 3px;
vertical-align: middle;
}
[dir="rtl"] .recent-activity-item-comment span::before {
padding-left: 3px;
}
.recent-activity-controls {
padding-top: 15px;
}
/***** Category pages *****/
.section-tree {
display: flex;
flex-direction: row;
flex-wrap: wrap;
margin-top: -30px;
word-break: break-word;
}
.section-tree .icon-lock::before {
vertical-align: baseline;
}
.section-tree-title {margin-bottom: 0}
#category-page .section-tree-title {height: 100%}
.section-tree .see-all-articles {
display: block;
padding: 15px 0;
color: #EC5D4F
}
.icon-star::before {
color: $color_1;
font-size: 18px;
}
/***** Section pages *****/
.section-subscribe .dropdown-toggle::after {
display: none;
}
/***** Article *****/
@media (min-width: 1024px) {
.article {
padding: 0 30px;
}
}
.article-container {
display: flex;
flex-direction: column;
}
@media (min-width: 1024px) {
.article-container {
flex-direction: row;
}
}
.article-header {
align-items: flex-start;
display: block;
flex-direction: column;
flex-wrap: wrap;
justify-content: space-between;
margin-top: 20px;
padding: 0;
}
@media (min-width: 768px) {
.article-header {
flex-direction: row;
margin-top: 0;
}
}
.article-author {
margin-bottom: 10px;
}
.article-author .meta-group, .article-subscribe {display: none}
.article-title {
margin-bottom: 40px;
font-weight: 700;
font-size: calc(30px + (40 - 30) * ((100vw - 300px) / (1000 - 300)));
line-height: 107%;
word-break: break-word;
padding-right: 15px;
}
@media screen and (max-width: 800px) {
.article-title {padding-right 0}
.article-sidebyside {flex-direction: column}
}
.article-title .icon-lock::before {
content: "\1F512";
font-size: 20px;
position: relative;
left: -5px;
vertical-align: baseline;
}
.article [role="button"] {
flex-shrink: 0;
/*Avoid collapsing elements in Safari (https://github.com/philipwalton/flexbugs#1-minimum-content-sizing-of-flex-items-not-honored)*/
width: 100%;
}
@media (min-width: 768px) {
.article [role="button"] {
width: auto;
}
}
.article-info {
max-width: 100%;
}
.article-meta {
display: inline-block;
margin-left: 10px;
vertical-align: middle;
}
.article-body img {
height: auto;
max-width: 100%;
border-radius: 10px;
box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.1);
}
.article-body ul, .article-body ol {
padding-left: 20px;
list-style-position: outside;
margin: 20px 0 20px 20px;
}
[dir="rtl"] .article-body ul, [dir="rtl"] .article-body ol {
padding-right: 20px;
padding-left: 0;
margin-left: 0;
margin-right: 20px;
}
.article-body ul > ul, .article-body ol > ol, .article-body ol > ul, .article-body ul > ol {
margin: 0;
}
.article-body ul {
list-style-type: disc;
}
.article-body code {
background: darken($color_5, 3%);
border: 1px solid #ddd;
border-radius: 3px;
padding: 0 5px;
margin: 0 2px;
}
.article-body pre {
background: darken($color_5, 3%);
border: 1px solid #ddd;
border-radius: 3px;
padding: 10px 15px;
overflow: auto;
white-space: pre;
}
.article-body blockquote {
border-left: 1px solid #ddd;
color: lighten($color_3, 20%);
font-style: italic;
padding: 0 15px;
}
.article-body > p:last-child {
margin-bottom: 0;
}
.article-content {
line-height: 1.6;
margin: 0px 0px 50px 0px;
word-wrap: break-word;
}
.article-footer {
align-items: center;
display: flex;
justify-content: space-between;
padding-bottom: 20px;
}
.article-comment-count {
color: lighten($color_3, 20%);
font-weight: 300;
}
.article-comment-count:hover {
text-decoration: none;
}
.article-comment-count .icon-comments {
color: $color_1;
content: "\1F4AC";
display: inline-block;
font-size: 18px;
padding: 5px;
}
.article-sidebar {
margin-bottom: 20px;
padding: 30px;
background-color: #f2f2f2;
min-height: 600px;
margin-top: -30px;
z-index: 1;
max-width: 250px;
width: 100%;
border-radius: 15px;
}
.article-sidebar a {text-decoration: none}
.article-sidebar ul {list-style-type: none}
@media screen and (max-width: 1024px) {
.article {
padding: 0px 25px;
width: auto;
}
.article-sidebar {
min-height: 0px;
padding: 25px;
max-width: none;
width: auto;
border-radius: 0;
}
}
@media (min-width: 1024px) {
.article-sidebar {
border: 0;
height: auto;
}
}
.article-relatives {
border-top: 1px solid #ddd;
display: flex;
padding: 20px 0;
}
.article-comments, .article-relatives {display: none!important}
.article-relatives > * {margin-right: 0}
.article-relatives > *:last-child {
margin: 0;
}
@media (min-width: 768px) {
.article-relatives > * {
margin-right: 20px;
}
}
.article-votes {
border-top: 1px solid #ddd;
padding: 30px 0;
text-align: center;
}
.article-votes .button {
padding: 10px;
line-height: normal;
font-size: 19px;
}
.article-vote {
background: #000960;
border: 1px solid $color_1;
color: $color_1;
margin: 10px 5px;
min-width: 90px;
width: auto;
}
.article-vote::before {
font-size: 8px;
margin-right: 10px;
}
[dir="rtl"] .article-vote::before {
margin-right: 0;
margin-left: 10px;
}
.article-vote::after {
content: attr(title);
/* Yes/No label*/
}
.article-vote-up::before {
content: "\2713";
}
.article-vote-down::before {
content: "\2715";
}
.article-more-questions {
margin: 10px 0 20px;
text-align: center;
}
.article-return-to-top {
border-top: 1px solid #ddd;
}
@media (min-width: 1024px) {
.article-return-to-top {
display: none;
}
}
.article-return-to-top a {
color: $color_3;
display: block;
padding: 20px 0;
}
.article-return-to-top a:hover, .article-return-to-top a:focus {
text-decoration: none;
}
.article-return-to-top .icon-arrow-up::before {
font-size: 16px;
margin-left: 5px;
}
[dir="rtl"] .article-return-to-top .icon-arrow-up::before {
margin-right: 10px;
}
.article-unsubscribe {
background-color: $color_1;
color: $color_2;
text-decoration: none;
display: none
}
.article-sidebyside {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.article-unsubscribe:hover {
background-color: darken($color_1, 20%);
border-color: darken($color_1, 20%);
}
.sidenav-title {
font-size: 15px;
position: relative;
}
.sidenav-item {
color: #000;
display: block;
font-weight: 300;
padding: 10px 0px 10px 0px;
text-decoration: none;
hyphens: auto;
}
a.sidenav-item.current-article {
color: #EC5D4F;
font-weight: 500;
}
.sidenav-item:hover {color: #EC5D4F}
.recent-articles h3,
.related-articles h3 {
font-size: 15px;
margin: 20px 0;
}
.recent-articles li,
.related-articles li {
margin-bottom: 15px;
}
/***** Attachments *****/
/* Styles attachments inside posts, articles and comments */
.attachments .attachment-item {
padding-left: 20px;
position: relative;
margin-bottom: 10px;
}
.attachments .attachment-item:last-child {
margin-bottom: 0;
}
.attachments .attachment-item::before {
color: $color_3;
content: "\1F4CE";
font-size: 15px;
left: 0;
position: absolute;
top: 5px;
}
[dir="rtl"] .attachments .attachment-item {
padding-left: 0;
padding-right: 20px;
}
[dir="rtl"] .attachments .attachment-item::before {
left: auto;
right: 0;
}
.upload-dropzone span {
color: lighten($color_3, 20%);
}
/***** Attachments *****/
/* Styles attachments inside posts, articles and comments */
.attachments .attachment-item {
padding-left: 20px;
position: relative;
margin-bottom: 10px;
}
.attachments .attachment-item:last-child {
margin-bottom: 0;
}
.attachments .attachment-item::before {
color: $color_3;
content: "\1F4CE";
font-size: 15px;
left: 0;
position: absolute;
top: 5px;
}
[dir="rtl"] .attachments .attachment-item {
padding-left: 0;
padding-right: 20px;
}
[dir="rtl"] .attachments .attachment-item::before {
left: auto;
right: 0;
}
.upload-dropzone span {
color: lighten($color_3, 20%);
}
/***** Social share links *****/
.share {
padding: 0;
white-space: nowrap;
}
.share li, .share a {
display: inline-block;
}
.share a {
border-radius: 50%;
height: 25px;
line-height: 25px;
overflow: hidden;
width: 25px;
}
.share a::before {
color: lighten($color_3, 20%);
display: block;
font-size: 23px;
text-align: center;
width: 100%;
}
.share a:hover {
text-decoration: none;
}
.share a:hover::before {
color: $color_1;
}
.share-twitter::before {
content: "\e901";
}
.share-facebook::before {
content: "\e903";
}
.share-linkedin::before {
content: "\e900";
}
.share-googleplus::before {
content: "\e902";
}
/***** Comments *****/
/* Styles comments inside articles, posts and requests */
.comments {margin-bottom: 50px}
.comment {
border-bottom: 1px solid #ddd;
padding: 20px 0;
}
.comment-heading {
margin-bottom: 5px;
margin-top: 0;
}
.comment-overview {
border-bottom: 1px solid #ddd;
border-top: 1px solid #ddd;
padding: 20px 0;
}
.comment-overview p {
margin-top: 0;
}
.comment-callout {
color: lighten($color_3, 20%);
display: inline-block;
font-weight: 300;
font-size: 13px;
margin-bottom: 0;
}
.comment-callout a {
color: $color_1;
}
.comment-sorter {
display: inline-block;
float: right;
}
.comment-sorter a {
color: lighten($color_3, 20%);
font-weight: 300;
font-size: 13px;
text-decoration: none;
}
[dir="rtl"] .comment-sorter {
float: left;
}
.comment-wrapper {
display: flex;
position: relative;
}
.comment-wrapper.comment-official {
border: 1px solid $color_1;
padding: 40px 20px 20px;
}
@media (min-width: 768px) {
.comment-wrapper.comment-official {
padding-top: 20px;
}
}
.comment-info {
min-width: 0;
padding-right: 20px;
width: 100%;
}
[dir="rtl"] .comment-info {
padding-right: 0;
padding-left: 20px;
}
.comment-author {
align-items: flex-end;
display: flex;
flex-wrap: wrap;
margin-bottom: 20px;
}
@media (min-width: 768px) {
.comment-author {
justify-content: space-between;
}
}
.comment-avatar {
margin-right: 10px;
}
[dir="rtl"] .comment-avatar {
margin-left: 10px;
margin-right: 0;
}
.comment-meta {
flex: 1 0 auto;
}
.comment-labels {
flex-basis: 100%;
}
@media (min-width: 768px) {
.comment-labels {
flex-basis: auto;
}
}
.comment .status-label:not(.status-label-official) {
margin-top: 10px;
}
@media (min-width: 768px) {
.comment .status-label:not(.status-label-official) {
margin-top: 0;
}
}
.comment-form {
display: flex;
padding-top: 30px;
word-wrap: break-word;
}
.comment-container {
width: 100%;
}
.comment-form-controls {
display: none;
margin-top: 10px;
text-align: left;
}
@media (min-width: 768px) {
[dir="ltr"] .comment-form-controls {
text-align: right;
}
}
.comment-form-controls input[type="submit"] {
margin-top: 15px;
}
@media (min-width: 1024px) {
.comment-form-controls input[type="submit"] {
margin-left: 15px;
}
[dir="rtl"] .comment-form-controls input[type="submit"] {
margin-left: 0;
margin-right: 15px;
}
}
.comment-form-controls input[type="checkbox"] {
margin-right: 5px;
}
.comment-form-controls input[type="checkbox"] [dir="rtl"] {
margin-left: 5px;
}
.comment-ccs {
display: none;
}
.comment-ccs + textarea {
margin-top: 10px;
}
.comment-attachments {
margin-top: 10px;
}
.comment-attachments a {
color: $color_1;
}
.comment-body {
-moz-hyphens: auto;
-ms-hyphens: auto;
-webkit-hyphens: auto;
word-break: break-word;
font-family: $font_2;
line-height: 1.6;
}
.comment-body img {
height: auto;
max-width: 100%;
}
.comment-body ul, .comment-body ol {
padding-left: 20px;
list-style-position: outside;
margin: 20px 0 20px 20px;
}
[dir="rtl"] .comment-body ul, [dir="rtl"] .comment-body ol {
padding-right: 20px;
padding-left: 0;
margin-left: 0;
margin-right: 20px;
}
.comment-body ul > ul, .comment-body ol > ol, .comment-body ol > ul, .comment-body ul > ol, .comment-body li > ul, .comment-body li > ol {
margin: 0;
}
.comment-body ul {
list-style-type: disc;
}
.comment-body a:visited {
color: darken($color_4, 20%);
}
.comment-body code {
background: darken($color_5, 3%);
border: 1px solid #ddd;
border-radius: 3px;
padding: 0 5px;
margin: 0 2px;
}
.comment-body pre {
background: darken($color_5, 3%);
border: 1px solid #ddd;
border-radius: 3px;
padding: 10px 15px;
overflow: auto;
white-space: pre;
}
.comment-body blockquote {
border-left: 1px solid #ddd;
color: lighten($color_3, 20%);
font-style: italic;
padding: 0 15px;
}
.comment-mark-as-solved {
display: inline-block;
}
/***** Vote *****/
/* Used in article comments, post comments and post */
.vote {
display: inline-block;
text-align: center;
width: 35px;
}
.vote a {
outline: none;
}
.vote a:active, .vote a:hover, .vote a:focus {
text-decoration: none;
}
.vote-sum {
color: lighten($color_3, 20%);
display: block;
margin: 3px 0;
}
[dir="rtl"] .vote-sum {
direction: ltr;
unicode-bidi: bidi-override;
}
.vote-up:hover::before,
.vote-down:hover::before {
color: $color_1;
}
.vote-up::before, .vote-down::before {
color: lighten($color_3, 20%);
font-size: 24px;
}
.vote-up::before {
content: "\2B06";
}
.vote-down::before {
content: "\2B07";
}
.vote-voted::before {
color: $color_1;
}
.vote-voted:hover::before {
color: darken($color_1, 20%);
}
/***** Actions *****/
/* Styles admin and en user actions(edit, delete, change status) in comments and posts */
.actions {
text-align: center;
flex-shrink: 0;
/*Avoid collapsing elements in Safari*/
}
.actions .dropdown-toggle {
font-size: 0;
margin: 15px 0;
}
.actions .dropdown-toggle:hover::before, .actions .dropdown-toggle:focus::before, .actions .dropdown-toggle:active::before {
background-color: darken($color_5, 3%);
}
.actions .dropdown-toggle::before {
background-color: transparent;
border-radius: 50%;
color: lighten($color_3, 20%);
content: "\2699";
display: block;
font-size: 13px;
margin: auto;
padding: 5px;
}
/***** Community *****/
.community-hero {
background-image: url($community_background_image);
margin-bottom: 10px;
}
.community-footer {
padding-top: 50px;
text-align: center;
}
.community-featured-posts, .community-activity {
padding-top: 40px;
width: 100%;
}
.community-header {
margin-bottom: 30px;
}
.community-header h4 {
margin-bottom: 0;
}
.post-to-community {
margin-top: 10px;
}
@media (min-width: 768px) {
.post-to-community {
margin: 0;
}
}
/* Community topics grid */
.topics {
max-width: none;
width: 100%;
}
.topics-item .meta-group {
justify-content: center;
margin-top: 20px;
}
/* Community topic page */
.topic-header {
border-bottom: 1px solid #ddd;
font-size: 13px;
}
@media (min-width: 768px) {
.topic-header {
padding-bottom: 10px;
}
}
.topic-header .dropdown {
display: block;
border-top: 1px solid #ddd;
padding: 10px 0;
}
@media (min-width: 768px) {
.topic-header .dropdown {
border-top: 0;
display: inline-block;
margin-right: 20px;
padding: 0;
}
}
.no-posts-with-filter {
margin-top: 20px;
margin-bottom: 20px;
}
/* Topic, post and user follow button */
.community-follow {
margin-bottom: 10px;
width: 100%;
}
@media (min-width: 768px) {
.community-follow {
margin-bottom: 0;
width: auto;
}
}
.community-follow .dropdown {
width: 100%;
}
.community-follow [role="button"] {
line-height: 30px;
padding: 0 10px 0 15px;
position: relative;
width: 100%;
}
@media (min-width: 768px) {
.community-follow [role="button"] {
width: auto;
}
}
.community-follow [role="button"]:hover {
background-color: $color_1;
}
.community-follow [role="button"]:hover::after, .community-follow [role="button"]:focus::after {
border-color: $color_2;
color: $color_2;
}
.community-follow [role="button"][aria-selected="true"] {
background-color: #f2f2f2;
color: #000;
border: none;
}
.community-follow [role="button"][aria-selected="true"]::after {
border-left: 1px solid $color_2;
color: #000;
}
.community-follow [role="button"][aria-selected="true"]:hover {
background-color: darken($color_1, 20%);
border-color: darken($color_1, 20%);
}
.community-follow [role="button"]::after {
border-left: 1px solid $color_1;
content: attr(data-follower-count);
color: $color_1;
display: inline-block;
font-family: $font_1;
margin-left: 15px;
padding-left: 10px;
position: absolute;
right: 10px;
}
@media (min-width: 768px) {
.community-follow [role="button"]::after {
position: static;
}
}
[dir="rtl"] .community-follow [role="button"]::after {
border-left: 0;
border-right: 1px solid $color_1;
margin: 0 10px 0 0;
padding: 0 10px 0 0;
}
/***** Striped list *****/
/* Used in community posts list and requests list */
.striped-list {
padding: 0;
}
.striped-list-item {
align-items: flex-start;
border-bottom: 1px solid #ddd;
display: flex;
flex-direction: column;
justify-content: flex-end;
padding: 20px 0;
}
@media (min-width: 768px) {
.striped-list-item {
align-items: center;
flex-direction: row;
}
}
.striped-list-info {
flex: 2;
}
.striped-list-title {
color: $color_4;
margin-bottom: 10px;
margin-right: 5px;
}
.striped-list-title:hover, .striped-list-title:focus, .striped-list-title:active {
text-decoration: underline;
}
.striped-list-title:visited {
color: darken($color_4, 20%);
}
.striped-list .meta-group {
margin: 5px 0;
}
.striped-list-count {
color: lighten($color_3, 20%);
font-weight: 300;
font-size: 13px;
justify-content: flex-start;
text-transform: capitalize;
}
@media (min-width: 768px) {
.striped-list-count {
display: flex;
flex: 1;
justify-content: space-around;
}
}
.striped-list-count-item::after {
content: "·";
display: inline-block;
padding: 0 5px;
}
@media (min-width: 768px) {
.striped-list-count-item::after {
display: none;
}
}
.striped-list-count-item:last-child::after {
display: none;
}
.striped-list-number {
font-weight: 300;
text-align: center;
}
@media (min-width: 768px) {
.striped-list-number {
color: $color_3;
display: block;
font-weight: 400;
}
}
/***** Status labels *****/
/* Styles labels used in posts, articles and requests */
.status-label {
background-color: #1eb848;
border-radius: 4px;
color: #fff;
font-size: 12px;
margin-right: 2px;
padding: 3px 10px;
vertical-align: middle;
white-space: nowrap;
display: inline-block;
}
.status-label:hover, .status-label:active, .status-label:focus {
text-decoration: none;
}
.status-label-pinned, .status-label-featured, .status-label-official {
background-color: $color_1;
}
.status-label-official {
border-radius: 0;
margin-right: 0;
position: absolute;
right: 0;
text-align: center;
top: 0;
width: 100%;
}
@media (min-width: 768px) {
.status-label-official {
border-radius: 0 0 4px 4px;
right: 30px;
width: auto;
}
}
[dir="rtl"] .status-label-official {
left: 30px;
right: auto;
}
.status-label-pending, .status-label-not-planned {
background-color: #eee;
color: lighten($color_3, 20%);
}
.status-label-pending {
text-align: center;
}
.status-label-open {
background-color: #e03b30;
}
.status-label-closed {
background-color: #ddd;
}
.status-label-solved {
background-color: #999;
}
.status-label-new {
background-color: #ffd12a;
}
.status-label-hold {
background-color: #000;
}
.status-label-open, .status-label-closed, .status-label-solved, .status-label-new, .status-label-hold, .status-label-answered {
text-transform: lowercase;
}
/***** Post *****/
/*
* The post grid is defined this way:
* Content | Sidebar
* 70% | 30%
*/
.post {
flex: 1;
margin-bottom: 10px;
}
@media (min-width: 1024px) {
.post {
flex: 1 0 70%;
max-width: 70%;
}
}
.post-container {
display: flex;
flex-direction: column;
}
@media (min-width: 1024px) {
.post-container {
flex-direction: row;
}
}
.post-header {
align-items: center;
display: flex;
flex-direction: column;
justify-content: space-between;
margin-bottom: 10px;
}
@media (min-width: 768px) {
.post-header {
align-items: baseline;
flex-direction: row;
}
}
.post-header .status-label {
vertical-align: super;
}
.post-title {
margin-bottom: 20px;
width: 100%;
}
@media (min-width: 768px) {
.post-title {
margin-bottom: 0;
padding-right: 10px;
}
}
.post-title h1 {
display: inline;
vertical-align: middle;
}
@media (min-width: 768px) {
.post-title h1 {
margin-right: 5px;
}
}
.post-author {
align-items: flex-start;
display: flex;
justify-content: space-between;
}
.post-avatar {
margin-bottom: 30px;
}
.post-content {
font-family: $font_2;
line-height: 1.6;
word-break: break-word;
}
.post-info-container {
display: flex;
margin-bottom: 40px;
}
.post-info {
min-width: 0;
padding-right: 20px;
width: 100%;
}
[dir="rtl"] .post-info {
padding-right: 0;
padding-left: 20px;
}
.post-meta {
display: inline-block;
flex: 1;
margin-left: 10px;
vertical-align: middle;
}
[dir="rtl"] .post-meta {
margin-left: 0;
margin-right: 10px;
}
.post-body img {
height: auto;
max-width: 100%;
}
.post-body ul, .post-body ol {
padding-left: 20px;
list-style-position: outside;
margin: 20px 0 20px 20px;
}
[dir="rtl"] .post-body ul, [dir="rtl"] .post-body ol {
padding-right: 20px;
padding-left: 0;
margin-left: 0;
margin-right: 20px;
}
.post-body ul > ul, .post-body ol > ol, .post-body ol > ul, .post-body ul > ol, .post-body li > ul, .post-body li > ol {
margin: 0;
}
.post-body ul {
list-style-type: disc;
}
.post-body a:visited {
color: darken($color_4, 20%);
}
.post-body code {
background: darken($color_5, 3%);
border: 1px solid #ddd;
border-radius: 3px;
padding: 0 5px;
margin: 0 2px;
}
.post-body pre {
background: darken($color_5, 3%);
border: 1px solid #ddd;
border-radius: 3px;
padding: 10px 15px;
overflow: auto;
white-space: pre;
}
.post-body blockquote {
border-left: 1px solid #ddd;
color: lighten($color_3, 20%);
font-style: italic;
padding: 0 15px;
}
.post-footer {
align-items: center;
display: flex;
justify-content: space-between;
padding-bottom: 20px;
}
.post-comment-count {
color: lighten($color_3, 20%);
font-weight: 300;
}
.post-comment-count:hover {
text-decoration: none;
}
.post-comment-count .icon-comments {
color: $color_1;
content: "\1F4AC";
display: inline-block;
font-size: 18px;
padding: 5px;
}
.post-sidebar {
border-top: 1px solid #ddd;
flex: 1;
padding: 30px 0;
text-align: center;
}
@media (min-width: 1024px) {
.post-sidebar {
border: 0;
flex: 1 0 30%;
padding: 0 0 0 50px;
text-align: initial;
}
[dir="rtl"] .post-sidebar {
padding: 0 50px 0 0;
}
}
.post-sidebar h5 {
font-weight: 600;
}
@media (min-width: 1024px) {
.post-sidebar h5 {
border-bottom: 1px solid #ddd;
padding-bottom: 20px;
}
}
.post-comments {
margin-bottom: 20px;
}
@media (min-width: 1024px) {
.post-comments {
margin-bottom: 0;
}
}
/* Navigation element that collapses on mobile */
.collapsible-nav {
border-bottom: 1px solid #ddd;
border-top: 1px solid #ddd;
flex-direction: column;
max-height: 45px;
overflow: hidden;
font-size: 14px;
}
@media (min-width: 768px) {
.collapsible-nav {
border: 0;
height: auto;
flex-direction: row;
max-height: none;
}
}
.collapsible-nav-list {
display: flex;
flex-direction: column;
}
.collapsible-nav-list li a {transition: unset}
@media (min-width: 768px) {
.collapsible-nav-list {
flex-direction: row;
}
}
.collapsible-nav-list li {
color: $color_3;
line-height: 45px;
order: 1;
}
@media (min-width: 768px) {
.collapsible-nav-list li {
line-height: normal;
margin-right: 30px;
}
[dir="rtl"] .collapsible-nav-list li {
margin-left: 30px;
margin-right: 0;
}
.collapsible-nav-list li a {
text-decoration: none;
padding: 15px 0;
}
}
.collapsible-nav-list li a {
color: $color_3;
display: block;
}
@media (min-width: 768px) {
.collapsible-nav-list li:hover {
border-bottom: 4px solid #ddd;
}
.collapsible-nav-list li:hover a {
padding: 15px 0 11px 0;
text-decoration: none;
}
}
.collapsible-nav-list li[aria-selected="true"] {
order: 0;
position: relative;
}
@media (min-width: 768px) {
.collapsible-nav-list li[aria-selected="true"] {
border-bottom: 4px solid #000960;
order: 1;
padding: 15px 0 11px 0;
}
}
.collapsible-nav-list li[aria-selected="true"] a {
color: $color_3;
}
.collapsible-nav-list li[aria-selected="true"]::after {
position: relative;
top: 50%;
transform: translateY(-50%);
content: "\25BE";
position: absolute;
right: 0;
}
@media (min-width: 768px) {
.collapsible-nav-list li[aria-selected="true"]::after {
display: none;
}
}
[dir="rtl"] .collapsible-nav-list li[aria-selected="true"]::after {
left: 0;
right: auto;
}
.collapsible-nav[aria-expanded="true"] {
max-height: none;
}
.collapsible-nav[aria-expanded="true"] li[aria-selected="true"]::after {
content: "\2715";
}
/* Sidebar navigation that collapses on mobile */
.collapsible-sidebar {
flex: 1;
max-height: 15px;
overflow: hidden;
padding: 10px 0;
position: relative;
}
@media (min-width: 1024px) {
.collapsible-sidebar {
max-height: none;
padding: 0;
}
}
.collapsible-sidebar[aria-expanded="true"] {
max-height: none;
}
.collapsible-sidebar[aria-expanded="true"] .collapsible-sidebar-title::after {
content: "\2715";
}
@media (min-width: 1024px) {
.collapsible-sidebar[aria-expanded="true"] .collapsible-sidebar-title::after {
display: none;
}
}
.collapsible-sidebar-title {
margin-top: 0;
color: #000;
font-weight: 700;
}
.collapsible-sidebar-title::after {
position: relative;
top: 50%;
transform: translateY(-50%);
content: "\25BE";
position: absolute;
right: 10px;
}
@media (min-width: 1024px) {
.collapsible-sidebar-title::after {
display: none;
}
}
[dir="rtl"] .collapsible-sidebar-title::after {
left: 10px;
right: auto;
}
/***** My activities *****/
.my-activities-nav {
background-color: darken($color_5, 5%);
border: 0;
margin-bottom: 20px;
}
.my-activities-sub-nav {
background-color: transparent;
border-bottom: 1px solid #ddd;
margin-bottom: 30px;
}
@media (min-width: 768px) {
.my-activities-sub-nav li:hover {
border-bottom: 4px solid #ddd;
}
}
.my-activities-sub-nav li[aria-selected="true"] {
border-color: $color_1;
}
.my-activities-table .striped-list-title {
/* My activities tables */
display: block;
margin-bottom: 10px;
max-width: 350px;
white-space: normal;
}
@media (min-width: 1024px) {
.my-activities-table .striped-list-title {
margin-bottom: 0;
max-width: 500px;
min-width: 350px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
.my-activities-table thead {
display: none;
}
@media (min-width: 768px) {
.my-activities-table thead {
display: table-header-group;
}
}
.my-activities-table th:first-child,
.my-activities-table td:first-child {
padding-left: 0;
}
@media (min-width: 1024px) {
.my-activities-table th:first-child,
.my-activities-table td:first-child {
width: 500px;
}
}
.my-activities-table th:last-child,
.my-activities-table td:last-child {
padding-right: 0;
}
.my-activities-table td:not(:first-child) {
display: none;
}
@media (min-width: 768px) {
.my-activities-table td:not(:first-child) {
display: table-cell;
}
}
/* Requests table */
.requests-search {
width: 100%;
}
.requests-table-toolbar {
align-items: flex-end;
display: flex;
flex-direction: column;
}
@media (min-width: 768px) {
.requests-table-toolbar {
flex-direction: row;
}
}
.requests-table-toolbar .search {
flex: 1;
width: 100%;
}
.requests-table-toolbar .request-table-filter {
width: 100%;
}
@media (min-width: 768px) {
.requests-table-toolbar .request-table-filter {
width: auto;
}
}
.requests-table-toolbar .request-filter {
display: block;
}
@media (min-width: 768px) {
.requests-table-toolbar .request-filter {
margin: 0 0 0 30px;
}
[dir="rtl"] .requests-table-toolbar .request-filter {
margin: 0 30px 0 0;
}
}
.requests-table-toolbar .request-filter-label {
font-size: 13px;
margin-top: 30px;
}
@media (min-width: 768px) {
.requests-table-toolbar .request-filter-label {
margin-top: 0;
}
}
.requests-table-toolbar select {
max-height: 40px;
margin-bottom: 30px;
width: 100%;
}
@media (min-width: 768px) {
.requests-table-toolbar select {
margin-bottom: 0;
max-width: 300px;
width: auto;
}
}
.requests-table-toolbar .organization-subscribe,
.requests-table-toolbar .organization-unsubscribe {
line-height: 40px;
max-height: 40px;
padding: 0 20px;
}
@media (min-width: 768px) {
.requests-table-toolbar .organization-subscribe,
.requests-table-toolbar .organization-unsubscribe {
margin-left: 10px;
}
[dir="rtl"] .requests-table-toolbar .organization-subscribe, [dir="rtl"]
.requests-table-toolbar .organization-unsubscribe {
margin: 0 10px 0 0;
}
}
.requests-table-toolbar .organization-unsubscribe {
background-color: $color_1;
color: $color_2;
}
.requests-table-toolbar + .requests-search-info {
margin-top: 15px;
}
.requests-table-toolbar + .requests-search-info.meta-data::after {
content: "";
margin: 0;
}
.requests-table-toolbar + .requests-search-info + .requests {
margin-top: 20px;
}
.requests-table-toolbar + .requests {
margin-top: 40px;
}
.requests .requests-table-meta {
display: block;
}
@media (min-width: 768px) {
.requests .requests-table-meta {
display: none;
}
}
.requests .requests-table thead {
display: none;
}
@media (min-width: 768px) {
.requests .requests-table thead {
display: table-header-group;
}
}
.requests .requests-table-info {
display: block;
}
@media (min-width: 768px) {
.requests .requests-table-info {
display: table-cell;
vertical-align: middle;
width: auto;
}
}
.requests .requests-table .requests-link {
position: relative;
}
.requests .requests-table .requests-sort-symbol {
position: absolute;
left: calc(100% + 3px);
bottom: 0;
font-size: 10px;
}
/* Following table */
.subscriptions-unsubscribe a {
background: $color_1;
border-radius: 4px;
color: $color_2;
display: inline-block;
font-size: 12px;
line-height: 2.34;
padding: 0 20px;
text-align: center;
width: 100%;
}
@media (min-width: 768px) {
.subscriptions-unsubscribe a {
width: auto;
}
}
.subscriptions-unsubscribe a:hover {
background-color: darken($color_1, 20%);
text-decoration: none;
}
.subscriptions-table td:last-child {
display: block;
}
@media (min-width: 768px) {
.subscriptions-table td:last-child {
display: table-cell;
}
}
.subscriptions-table td:first-child {
display: flex;
align-items: center;
}
.subscriptions-table .user-avatar {
margin-right: 10px;
}
.subscriptions .striped-list-title {
display: inline-block;
vertical-align: middle;
}
/* Contributions table */
.contributions-table td:last-child {
color: lighten($color_3, 20%);
font-size: 13px;
font-weight: 300;
}
@media (min-width: 768px) {
.contributions-table td:last-child {
color: inherit;
font-size: inherit;
font-weight: inherit;
}
}
.no-activities {
color: lighten($color_3, 20%);
}
/***** Request *****/
.request-container {
display: flex;
flex-direction: column;
flex-wrap: wrap;
justify-content: space-between;
}
@media (min-width: 1024px) {
.request-container {
align-items: flex-start;
flex-direction: row;
}
}
.request-container .comment-container {
min-width: 0;
}
.request-breadcrumbs {
margin-bottom: 40px;
}
@media (min-width: 1024px) {
.request-breadcrumbs {
margin-bottom: 60px;
}
}
.request-main {
flex: 1 0 auto;
order: 1;
}
.request-main .comment-fields, .request-main .request-submit-comment {
display: none;
}
.request-main .comment-fields.shown {
display: block;
}
.request-main .request-submit-comment.shown {
display: inline;
}
@media (min-width: 1024px) {
.request-main {
flex: 0 0 66%;
order: 0;
min-width: 0;
}
}
.request-main .comment-form-controls {
display: block;
}
.request-main .comment-ccs {
display: block;
}
.request-main .comment-show-container {
border-radius: 2px;
border: 1px solid #ddd;
cursor: pointer;
display: flex;
padding: 8px 15px;
width: 100%;
}
.request-main .comment-show-container.hidden {
display: none;
}
.request-main .comment-show-container-content {
align-self: center;
color: lighten($color_3, 20%);
margin-left: 10px;
}
.request-main .form-field.comment-ccs > ul {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
border-bottom: 0;
}
.request-main .form-field.comment-ccs > ul[data-hc-focus="true"] {
border: 1px solid $color_1;
}
.request-main .form-field.comment-ccs > input[type="text"] {
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
border-bottom: 0;
}
.request-main .comment-ccs + textarea {
border-top-left-radius: 0;
border-top-right-radius: 0;
margin-top: 0;
}
.request-main .comment-ccs + textarea:focus {
border-top: 1px solid $color_1;
}
.request-main input#mark_as_solved {
display: none;
}
.request-title {
width: 100%;
}
@media (min-width: 1024px) {
.request-title {
border-bottom: 1px solid #ddd;
margin-bottom: 0;
max-width: 66%;
padding-bottom: 20px;
}
}
.request-sidebar {
border-bottom: 1px solid #ddd;
border-top: 1px solid #ddd;
flex: 1 0 auto;
order: 0;
}
@media (min-width: 1024px) {
.request-sidebar {
background-color: darken($color_5, 3%);
border: 0;
font-size: 13px;
flex: 0 0 auto;
padding: 0 20px;
width: 30%;
}
}
.request-sidebar h5 {
font-size: 15px;
font-weight: 600;
position: relative;
}
@media (min-width: 1024px) {
.request-sidebar h5 {
display: none;
}
}
.request-details {
border-bottom: 1px solid #ddd;
font-size: 0;
margin: 0;
padding-bottom: 20px;
}
.request-details:last-child {
border: 0;
}
.request-details dt, .request-details dd {
display: inline-block;
vertical-align: top;
font-size: 13px;
margin: 20px 0 0 0;
}
.request-details dd {
padding: 0 10px;
width: 60%;
}
.request-details dd::after {
content: "\A";
white-space: pre;
}
.request-details dt {
color: lighten($color_3, 20%);
font-weight: 300;
width: 40%;
}
.request-details .request-collaborators {
display: inline-block;
}
.request-attachments dt, .request-attachments dd {
width: 100%;
}
.request-attachments dd {
margin: 10px 0 0 0;
}
.request-form textarea {
min-height: 120px;
}
.request-follow-up {
padding-top: 20px;
}
/***** Pagination *****/
.pagination {
margin: 70px 0 0 0;
text-align: center;
padding: 30px 0;
}
.pagination * {display: inline-block}
.pagination li {
border-radius: 50%;
height: 40px;
float: left;
margin-left: 5px;
width: 40px;
font-weight: 500;
}
@media (min-width: 768px) {
.pagination li {
height: 30px;
width: 30px;
}
}
[dir="rtl"] .pagination li {
float: right;
}
.pagination li:hover:not(.pagination-current) {
background-color: #17a4be;
color: #fff;
}
.pagination li:hover:not(.pagination-current) span, .pagination li:hover:not(.pagination-current) a {
color: #fff;
text-decoration: none;
}
.pagination a, .pagination span {
font-size: 15px;
color: lighten($color_3, 20%);
padding: 10px 12px;
}
@media (min-width: 768px) {
.pagination a, .pagination span {
font-size: 13px;
padding: 5px 12px;
}
}
.pagination-current {
background-color: #000960;
color: #fff;
}
.pagination-current a, .pagination-current span {
color: $color_2;
}
.pagination-first {
border-radius: 3px 0 0 3px;
}
[dir="rtl"] .pagination-first {
border-radius: 0 3px 3px 0;
}
.pagination-last {
border-radius: 0 3px 3px 0;
}
[dir="rtl"] .pagination-last {
border-radius: 3px 0 0 3px;
}
/***** Metadata *****/
/***** Icons *****/
[class^="icon-"]::before,
[class*=" icon-"]::before,
.icon,
.search::before,
.recent-activity-item-comment span::before,
.article-vote::before,
.attachments .attachment-item::before,
.share a::before,
.vote-up::before,
.vote-down::before,
.actions .dropdown-toggle::before,
.collapsible-nav-list li[aria-selected="true"]::after,
.collapsible-sidebar-title::after,
.search-result-votes::before,
.search-result-meta-count::before {
font-family: "copenhagen-icons";
font-style: normal;
font-weight: normal;
speak: none;
line-height: 1em;
vertical-align: middle;
-webkit-font-smoothing: antialiased;
}
.search-result-votes {display: none}
.icon-lock::before {
content: "\1F512";
}
.icon-star::before {
content: "\2605";
}
.icon-linkedin::before {
content: "\e900";
}
.icon-twitter::before {
content: "\e901";
}
.icon-googleplus-::before {
content: "\e902";
}
.icon-facebook::before {
content: "\e903";
}
.icon-agent::before {
content: "\1F464";
}
.icon-close::before {
content: "\2715";
}
.icon-arrow-up::before {
content: "\2B06";
}
.icon-arrow-down::before {
content: "\2B07";
}
.icon-attachments::before {
content: "\1F4CE";
}
.icon-comments::before {
content: "\1F4AC";
}
.icon-search::before {
content: "\1F50D";
}
.icon-vote::before {
content: "\1F44D";
}
.icon-handle::before {
content: "\25BE";
}
.icon-check::before {
content: "\2713";
}
.icon-gear::before {
content: "\2699";
}
.icon-menu::before {
content: "\2630";
}
.icon-article::before {
content: "\1F4C4";
}
.icon-post::before {
content: "\1F4D4";
}
.icon-notification-alert::before {
content: "\26A0";
}
.icon-notification-error::before {
content: "\00D7";
}
.icon-notification-info::before {
content: "\2139";
}
.icon-notification-success::before {
content: "\2714";
}
/* User Profiles */
.profile-header {
padding: 30px 0;
background-color: darken($color_5, 3%);
}
.profile-header .container {
display: flex;
flex-wrap: wrap;
}
@media (min-width: 768px) {
.profile-header .container {
flex-wrap: nowrap;
}
}
.profile-header .profile-info {
flex-basis: 100%;
display: flex;
flex-wrap: wrap;
min-width: 0;
}
.profile-avatar {
position: relative;
line-height: 0;
align-self: center;
margin-right: 10px;
}
[dir="rtl"] .profile-avatar {
margin-left: 10px;
margin-right: 0;
}
.profile-avatar .user-avatar {
width: 65px;
height: 65px;
}
.profile-avatar .icon-agent::before {
bottom: 0;
right: 0;
}
.profile-header .basic-info {
-moz-hyphens: auto;
-ms-hyphens: auto;
-webkit-hyphens: auto;
word-break: break-word;
display: flex;
flex-direction: column;
justify-content: center;
flex-grow: 1;
flex-basis: 0;
min-width: 0;
}
.profile-header .basic-info .name {
margin: 0;
}
.profile-header .options {
display: flex;
flex-basis: 100%;
margin-top: 12px;
align-items: flex-start;
flex-wrap: wrap;
}
@media (min-width: 768px) {
.profile-header .options {
flex-wrap: nowrap;
flex-basis: auto;
margin-top: 0;
margin-left: 10px;
}
[dir="rtl"] .profile-header .options {
margin-left: 0;
margin-right: 10px;
}
.profile-header .options > :not(:last-child) {
margin-bottom: 0;
margin-right: 10px;
}
[dir="rtl"] .profile-header .options > :not(:last-child) {
margin-left: 10px;
margin-right: 0;
}
}
.profile-header .options [data-action="edit-profile"] {
background-color: #000960;
border-radius: 0;
border: 0;
color: $color_2;
line-height: normal;
padding: 8px 20px;
}
.profile-header .description {
-moz-hyphens: auto;
-ms-hyphens: auto;
-webkit-hyphens: auto;
word-break: break-word;
margin: 15px 0;
flex-basis: 100%;
}
.profile-stats {
font-size: 13px;
display: flex;
flex-direction: column;
flex-basis: 100%;
}
.profile-stats .stat {
display: flex;
margin-bottom: 10px;
}
.profile-stats .stat-label {
color: lighten($color_3, 20%);
font-weight: 300;
flex: 0 0 100px;
margin-right: 10px;
}
[dir="rtl"] .profile-stats .stat-label {
margin-left: 10px;
margin-right: 0;
}
.profile-stats-activity {
border-top: solid 1px #ddd;
margin-top: 15px;
}
@media (min-width: 768px) {
.profile-stats-activity {
border-top: 0;
flex-direction: row;
}
}
@media (min-width: 768px) {
.profile-stats-activity .stat {
flex-direction: column;
}
}
.profile-stats-activity .stat:first-child {
margin-top: 10px;
}
@media (min-width: 768px) {
.profile-stats-activity .stat:first-child {
margin-top: 0;
}
}
@media (min-width: 768px) {
.profile-stats-activity .stat:not(:last-child) {
margin-right: 40px;
}
[dir="rtl"] .profile-stats-activity .stat:not(:last-child) {
margin-left: 40px;
margin-right: 0;
}
}
@media (min-width: 768px) {
.profile-stats-activity .stat-label {
flex: 0 1 auto;
}
}
.profile-stats-counters {
border-bottom: solid 1px #ddd;
}
@media (min-width: 768px) {
.profile-stats-counters {
flex: 0 0 200px;
border-bottom: 0;
margin-left: 40px;
}
[dir="rtl"] .profile-stats-counters {
margin-left: 0;
margin-right: 40px;
}
}
@media (min-width: 1024px) {
.profile-stats-counters {
flex: 0 0 270px;
margin-left: 60px;
}
[dir="rtl"] .profile-stats-counters {
margin-right: 60px;
margin-left: 0;
}
}
@media (min-width: 768px) {
.profile-stats-counters .stat {
flex-direction: column;
}
}
@media (min-width: 1024px) {
.profile-stats-counters .stat {
flex-direction: row;
}
}
@media (min-width: 768px) {
.profile-stats-counters .stat:not(:last-child) {
margin-bottom: 15px;
}
}
@media (min-width: 768px) {
.profile-stats-counters .stat-label {
flex: 0 1 auto;
}
}
@media (min-width: 1024px) {
.profile-stats-counters .stat-label {
flex: 0 0 100px;
}
}
.profile-private-badge {
flex-basis: 100%;
border: solid 1px $color_1;
border-radius: 4px;
color: $color_1;
padding: 5px 20px;
font-size: 12px;
text-align: center;
}
.profile-private-badge::after {
content: "\1f512";
margin-left: 5px;
font-family: "copenhagen-icons";
vertical-align: middle;
line-height: 15px;
}
@media (min-width: 768px) {
.profile-private-badge {
flex-basis: auto;
}
}
.profile-nav {
background-color: darken($color_5, 5%);
border: 0;
margin-bottom: 37px;
}
.profile-section {
width: 100%;
}
@media (min-width: 1024px) {
.profile-section {
width: calc(100% - 330px);
}
}
.profile-section-header {
display: flex;
flex-wrap: wrap;
}
.profile-section-title {
flex-basis: 100%;
margin-bottom: 0;
}
.profile-section-description {
flex-basis: 100%;
padding: 10px 0;
color: lighten($color_3, 20%);
font-weight: 300;
font-size: 13px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
@media (min-width: 768px) {
.profile-section-description {
flex: 1 0 50%;
padding-bottom: 0;
}
}
.profile-section-sorter {
flex-basis: 100%;
border-top: solid 1px #eee;
font-size: 13px;
}
.profile-section-sorter .dropdown-toggle {
padding: 10px 0;
width: 100%;
}
.profile-section-sorter .dropdown-toggle::after {
position: absolute;
right: 0;
}
[dir="rtl"] .profile-section-sorter .dropdown-toggle::after {
left: 0;
right: initial;
}
@media (min-width: 768px) {
.profile-section-sorter .dropdown-toggle::after {
position: relative;
}
}
@media (min-width: 768px) {
.profile-section-sorter {
flex: 0 1 auto;
padding-top: 0;
border-top: 0;
margin-left: 20px;
}
[dir="rtl"] .profile-section-sorter {
margin-left: 0;
margin-right: 20px;
}
}
.profile-contribution {
-moz-hyphens: auto;
-ms-hyphens: auto;
-webkit-hyphens: auto;
word-break: break-word;
padding: 20px 0;
position: relative;
}
.profile-contribution-header {
margin-bottom: 5px;
}
.profile-contribution-title {
margin: 0 0 5px 0;
display: inline;
line-height: 21px;
font-size: 15px;
vertical-align: middle;
}
.profile-contribution-body {
margin: 10px 0;
}
.profile-contribution-list > .profile-contribution {
border-top: 1px solid #eee;
}
@media (min-width: 768px) {
.profile-contribution-list > .profile-contribution {
padding-left: 30px;
}
[dir="rtl"] .profile-contribution-list > .profile-contribution {
padding-right: 30px;
padding-left: 0;
}
}
.profile-contribution-list > .profile-contribution:last-child {
border-bottom: 1px solid #eee;
}
.profile-contribution-list > .profile-contribution::before {
left: 0;
position: absolute;
font-size: 16px;
color: #ccc;
font-family: "copenhagen-icons";
line-height: 25px;
}
[dir="rtl"] .profile-contribution-list > .profile-contribution::before {
right: 0;
}
.profile-contribution-list .profile-contribution-header {
margin-left: 30px;
}
[dir="rtl"] .profile-contribution-list .profile-contribution-header {
padding-right: 30px;
padding-left: 0;
}
@media (min-width: 768px) {
.profile-contribution-list .profile-contribution-header {
margin-left: 0;
}
[dir="rtl"] .profile-contribution-list .profile-contribution-header {
padding-right: 0;
}
}
.profile-comments .profile-contribution-breadcrumbs {
margin-left: 30px;
}
[dir="rtl"] .profile-comments .profile-contribution-breadcrumbs {
padding-right: 30px;
padding-left: 0;
}
@media (min-width: 768px) {
.profile-comments .profile-contribution-breadcrumbs {
margin-left: 0;
}
[dir="rtl"] .profile-comments .profile-contribution-breadcrumbs {
padding-right: 0;
}
}
.profile-section .no-activity,
.profile-section .private-activity {
display: block;
margin-top: 40px;
color: #999;
}
.profile-section .private-activity::before {
content: "\1f512";
font-family: "copenhagen-icons";
font-style: normal;
font-size: 12px;
font-weight: normal;
vertical-align: middle;
margin-right: 10px;
}
[dir="rtl"] .profile-section .private-activity::before {
margin-right: 0;
margin-left: 10px;
}
.profile-activity-list {
margin-top: 25px;
}
.profile-activity {
position: relative;
padding-bottom: 30px;
}
@media (min-width: 768px) {
.profile-activity {
padding-left: 20px;
}
[dir="rtl"] .profile-activity {
padding-right: 20px;
padding-left: 0;
}
}
@media (min-width: 768px) {
.profile-activity:not(:last-child) {
border-left: 1px solid #ddd;
}
[dir="rtl"] .profile-activity:not(:last-child) {
border-left: 0;
border-right: 1px solid #ddd;
}
}
.profile-activity-header {
display: flex;
align-items: center;
margin-left: 35px;
}
[dir="rtl"] .profile-activity-header {
margin-left: 0;
margin-right: 35px;
}
@media (min-width: 768px) {
.profile-activity-header {
margin-left: 0;
}
[dir="rtl"] .profile-activity-header {
margin-right: 0;
}
}
.profile-activity-header .user-avatar {
width: 40px;
height: 40px;
margin-right: 10px;
min-width: 40px;
align-self: flex-start;
}
[dir="rtl"] .profile-activity-header .user-avatar {
margin-left: 10px;
margin-right: 0;
}
.profile-activity-description {
-moz-hyphens: auto;
-ms-hyphens: auto;
-webkit-hyphens: auto;
word-break: break-word;
margin: 0;
min-width: 0;
width: 100%;
}
.profile-activity-description span:first-child {
font-weight: 600;
display: inline;
}
.profile-activity-contribution {
padding: 20px;
margin-top: 10px;
background-color: darken($color_5, 3%);
}
@media (min-width: 768px) {
.profile-activity-contribution {
margin-top: 0;
margin-left: 50px;
}
[dir="rtl"] .profile-activity-contribution {
margin-left: 0;
margin-right: 50px;
}
}
.profile-activity::before {
position: absolute;
left: 0;
width: 28px;
border-radius: 50%;
content: "";
background-size: 14px 14px;
background-repeat: no-repeat;
background-color: #fff;
background-position: 50% 50%;
text-align: center;
line-height: 40px;
font-size: 16px;
color: #ccc;
font-family: "copenhagen-icons";
}
[dir="rtl"] .profile-activity::before {
right: 0;
}
@media (min-width: 768px) {
.profile-activity::before {
left: -14px;
}
[dir="rtl"] .profile-activity::before {
right: -14px;
}
}
.profile-articles > .profile-contribution::before,
.profile-activity-list > li[class$="-article"]::before {
content: "\1f4c4";
}
.profile-posts > .profile-contribution::before,
.profile-activity-list > li[class$="-post"]::before {
content: "\1f4d4";
}
.profile-comments > .profile-contribution::before,
.profile-activity-list > li[class$="-comment"]::before {
content: "\1f4ac";
line-height: 35px;
}
/***** Search results *****/
.search-results {
display: block;
padding: 90px 0 150px 0;
}
.not-found-wrapper {
display: block;
padding: 0 0 150px 0;
}
.nt {
margin: auto;
text-align: center;
padding-top: 70px;
}
.nt-button-wrap {margin-top: 30px}
.nf-button {
display: inline-block;
width: calc(50% - 40px);
max-width: 300px;
}
.nf-button p {
color: #555;
font-weight: 400;
font-size: 16px;
margin-bottom: 25px;
}
.nf-button a {
background-color: #000960;
border-radius: 50px;
color: #fff;
font-size: 16px;
font-weight: 400;
padding: 20px 40px;
font-weight: 500;
text-decoration: none;
transition: 0.2s ease;
}
.nf-button a:hover {background-color: #EC5D4F}
@media screen and (max-width: 600px) {
.nf-button {width: 100%}
.nf-button:not(:last-child) {margin-bottom: 30px}
}
/*--------------------------------------------------
NY STRUKTUR ZENDESK FREMSIDE OG UNDERSIDER
---------------------------------------------------*/
/*
.search-result-meta a:nth-child(1),
.search-result-meta a:nth-child(2),
.search-result-meta a:nth-child(4),
.search-result-meta a:nth-child(5),
.search-result-meta time {display: none}
.search-result-meta {font-size: 0px}
.search-result-meta a:nth-child(3) {
font-size: 15px
}
*/
.search-result-breadcrumbs div:nth-child(2) {
display: none
}
.search-result-breadcrumbs [title] {
font-size: 15px;
padding: 10px;
border-radius: 5px;
color: #fff;
background-color: #000960;
display: inline-block;
font-weight: 400;
text-transform: uppercase;
margin: 0 auto 20px 0;
}
.meta-group {
margin: auto;
font-size: 18px;
font-weight: 600;
color: #000960;
word-break: break-word;
}
.main-box h2 {
font-size: 20px;
text-align: center;
font-weight: 800;
color: #000960;
word-break: break-word;
margin: auto;
}
.main-box img {
max-height: 45px;
max-width: 45px;
object-fit: contain;
margin: auto;
width: 100%;
margin-bottom: 10px;
}
.search-result-breadcrumbs [title~="Administrasjon Barnehage"] {background-color: #17a4be}
.search-result-breadcrumbs [title~="Barnehage"] {background-color: #000960}
.search-result-breadcrumbs [title~="Administrasjon Skole"],
.search-result-breadcrumbs [title~="Skole"]{background-color: #EC5D4F}
.search-result-breadcrumbs [title~="SFO"] {
background-color: #fbe328;
color: #000;
}
/*FREMSIDE PLAKATER*/
.fremside-plakat-wrap {
padding: 90px 0px;
position: relative;
display: block;
background-color: #fff;
}
#fremside-plakater {
position: relative;
display: block;
width: 100%;
}
.plakat {
position: relative;
display: inline-block;
float: left;
box-sizing: border-box;
padding-bottom: 23%;
width: 20%;
max-height: 300px;
overflow: hidden;
background-color: #555;
cursor: pointer;
transition: all 0.5s ease;
}
.plakat.fremside {padding-bottom: 60%}
.plakat-tekst {
position: absolute;
text-align: center;
box-sizing: border-box;
width: 100%;
padding: 10% 20px 0 20px;
margin: auto;
z-index: 9;
color: #fff;
}
.plakat-tekst h1 {
font-size: 30px;
font-weight: 500;
margin: auto;
line-height: 40px;
text-shadow: 0px 0px 6px rgba(0,0,0,0.5);
}
.plakat-button-wrap {
position: relative;
display: block;
width: 200px;
padding-top: 20px;
margin: 0;
}
.plakat-button {
position: relative;
display: block;
padding: 12px 0px;
background-color: #000960;
color: #fff;
text-decoration: none;
text-align: center;
margin: 10px auto;
font-size: 18px;
}
.plakat-button:hover {background-color: #EC5D4F}
.plakat-bilde {
background-repeat: no-repeat;
background-size: cover;
width: 100%;
position: absolute;
bottom: 0;
z-index: 0;
transition: all 0.5s ease-out;
}
.plakat:hover .plakat-bilde {filter: brightness(.5)}
.plakat-bilde.bhg {
background-position: 47% bottom;
padding-bottom: 147%;
}
.plakat-bilde.sfo {
background-position: 47% bottom;
padding-bottom: 147%;
}
.plakat-bilde.skole {
background-position: 48% bottom;
padding-bottom: 147%;
}
.plakat-bilde.adminbhg {
background-position: 50% bottom;
padding-bottom: 147%;
}
.plakat-bilde.adminskole {
background-position: 50% bottom;
padding-bottom: 147%;
}
.plakat.bhg {
border-left: 4px solid #edf5f7;
border-right: 2px solid #edf5f7;
}
.plakat.skole {
border-left: 2px solid #edf5f7;
border-right: 2px solid #edf5f7;
}
.plakat.sfo {
border-left: 2px solid #edf5f7;
border-right: 2px solid #edf5f7;
}
.plakat.adminskole {
border-left: 2px solid #edf5f7;
border-right: 2px solid #edf5f7;
}
.plakat.adminbhg {
border-left: 2px solid #edf5f7;
border-right: 4px solid #edf5f7;
}
@media screen and (max-width: 1300px) {
.plakat-tekst h1 {
font-size: 23px;
line-height: normal;
}
}
@media screen and (max-width: 1200px) {
.fremside-plakat-wrap {padding: 20px 0px}
.plakat {padding-bottom: 36%}
.plakat.adminskole, .plakat.adminbhg {padding-bottom: 43%}
.plakat.bhg,
.plakat.skole,
.plakat.sfo {width: 33.3%}
.plakat.adminskole, .plakat.adminbhg {width: 50%}
.plakat.sfo {border-right: 4px solid #edf5f7}
.plakat.adminskole {
border-top: 4px solid #edf5f7;
border-left: 4px solid #edf5f7;
border-right: 2px solid #edf5f7;
}
.plakat.adminbhg {
border-top: 4px solid #edf5f7;
border-left: 2px solid #edf5f7;
border-right: 4px solid #edf5f7;
}
.plakat-bilde.adminskole,
.plakat-bilde.adminbhg {padding-bottom: 128%}
}
@media screen and (max-width: 700px) {
.plakat-tekst h1 {font-size: 30px}
.fremside-plakat-wrap {padding: 30px 0px}
.plakat, .plakat.adminskole, .plakat.adminbhg {padding-bottom: 65%}
.plakat.bhg, .plakat.sfo, .plakat.skole, .plakat.adminbhg, .plakat.adminskole {
width: 100%;
border-top: 0;
border-left: 0;
border-right: 0;
border-bottom: 4px solid #edf5f7;
}
.plakat.adminbhg {border-bottom: 0}
.plakat-bilde.bhg, .plakat-bilde.skole, .plakat-bilde.sfo,
.plakat-bilde.adminskole, .plakat-bilde.adminbhg {padding-bottom: 82%}
}
@media screen and (max-width: 500px) {
.plakat.fremside {padding-bottom: 100%}
.plakat.ansatt, .plakat.foresatt {
width: 100%;
border-top: 0;
border-left: 0;
border-right: 0;
border-bottom: 4px solid #fff
}
.plakat-bilde.ansatt {
background-position: 50% bottom;
padding-bottom: 120%;
}
.plakat-bilde.foresatt {
background-position: 50% bottom;
padding-bottom: 100%;
}
.plakat, .plakat.adminskole, .plakat.adminbhg {padding-bottom: 85%}
.plakat-bilde.bhg, .plakat-bilde.skole, .plakat-bilde.sfo,
.plakat-bilde.adminbhg, .plakat-bilde.adminskole {padding-bottom: 110%}
}
/*FREMSIDE PLAKATER END*/
/*Fremhevde artikler*/
.section-container, .category-container {padding: 90px 0px 150px 0}
.section-container {text-align: center}
.articles {
padding: 90px 0 0 0;
}
.articles-title {
margin: auto;
font-size: 30px;
padding-bottom: 30px;
font-weight: 500;
}
.main-box-wrap, .rewrap {padding: 90px 0}
#section-boxes ul, #category-tree .article-list, .main-box, #category-page .section-tree, .search-results-list {
list-style-type: none;
margin: 0;
padding: 0;
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
margin: -5px;
}
#section-boxes li, #category-tree .article-list li, .main-box li, #category-page .section, .search-results-list li {
width: 33.33%;
box-sizing: border-box;
border: 10px solid #fff;
}
.main-box li {width: 25%}
#section-boxes a, #category-tree .article-list li a, .main-box li a, #category-page .section a, .search-results-list li a {
text-decoration: none;
padding: 30px;
border-radius: 10px;
position: relative;
display: inline-block;
box-sizing: border-box;
background-color: white;
width: 100%;
height: 100%;
cursor: pointer;
transition: all 0.5s ease-out;
box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.1);
}
#section-boxes a, #category-tree .article-list li a, .main-box li a {
display: flex;
flex-direction: column;
justify-content: center;
padding: 25px;
}
#section-boxes a:hover, #category-tree .article-list a:hover, .main-box li a:hover, #category-page .section a:hover, .search-results-list li a:hover {background-color: #F6F6E3}
.main-box .fremhevet {
font-size: 15px;
padding: 10px 20px;
border-radius: 50px;
color: #fff;
display: inline-block;
font-weight: 400;
text-transform: uppercase;
margin: 0 auto 20px 0;
}
.main-box p, #category-page .section a, #section-page a {
margin: auto;
font-size: 18px;
font-weight: 600;
color: #000960;
word-break: break-word;
}
#section-page a {text-align: center}
.section-tree-title a {
color: #000960;
font-size: 26px;
font-weight: 800;
margin-bottom: 10px;
position: relative;
display: block;
}
.section-tree .article-list li {padding: 15px 0}
.section-tree .article-list li:not(:last-child) {border-bottom: 1px solid #ddd}
.main-box .fremhevet.bhg {background-color: #000960}
.main-box .fremhevet.bhgadmin {background-color: #17a4be}
.main-box .fremhevet.skole, .article-list .fremhevet.skoleadmin {background-color: #EC5D4F}
.main-box .fremhevet.sfo {
background-color: #fbe328;
color: #000;
}
#category-page {background-color: #edf5f7}
#category-page .page-header h1 {
margin-bottom: 25px;
color: #000960;
font-weight: bold;
font-size: 35px;
}
#category-page .category-content, #category-page .section-tree .section {
flex: inherit;
text-align: center;
}
#category-page .article-list, #category-page .section-tree .see-all-articles, #category-page .section-empty {display: none}
#section-page #category-page .article-list {display: flex}
#category-page .section {margin: 0}
#category-page * {text-decoration: none}
@media screen and (max-width: 940px) {
.main-box li {width: 33.33%}
}
@media screen and (max-width: 750px) {
.main-box-wrap, .rewrap {padding: 50px 0}
.section-tree .section {width: 100%}
}
@media screen and (max-width: 700px) {
.main-box li, #category-page .section, .search-results-list li, #section-boxes li, #category-tree .article-list li {width: 50%}
}
@media screen and (max-width: 500px) {
.main-box li, #category-page .section, .search-results-list li, #section-boxes li, #category-tree .article-list li {width: 100%}
.articles-title {
font-size: 20px;
padding-bottom: 20px;
}
}
/*Fremhevde artikler END*/
/*HEADER*/
.header-wrap {
position: absolute;
z-index: 99999;
width: 100%;
}
header {
display: flex;
position: relative;
padding: 2% 3%;
max-width: none;
justify-content: space-between;
align-items: center;
}
.logo img {
max-height: 150px;
height: auto;
}
.user-nav {
text-align: right;
}
.user-nav h1 {
font-weight: 200;
color: #fff;
font-size: 19px;
margin: auto;
}
.logo, .user-nav {
display: table-cell;
vertical-align: middle;
}
.search {position: relative}
.search-results-subheading {display: none}
[class^="icon-"]:before, [class*=" icon-"]:before {vertical-align: inherit}
#search-wrap {
max-width: 850px;
margin: auto;
padding-bottom: 40px;
position: relative;
}
#search-wrap input[type="submit"] {display: none}
@media screen and (max-width: 650px) {
.user-nav .hide {display: none}
}
/*HEADER END*/
/*PORTAL*/
.portal-wrap {
max-width: 1100px;
margin: auto;
}
.portal-test {
display: inline-block;
width: 50%;
float: left;
box-sizing: border-box;
text-align: center;
padding: 30px;
border: 20px solid white;
background-color: #000960;
color: #fff;
height: 50vh;
position: relative;
}
.portal-test h1 {
left: 0;
right: 0;
margin: auto;
position: absolute;
top: 50%;
transform: translateY(-50%)
}
.hidden-div, .hidden-div-2 {display: none}
.temp-header {
width: 100%;
background-color: #000960;
color: #fff;
padding: 20px;
text-align: center;
}
@media screen and (max-width: 1080px) {
header {padding: 30px}
}
.front-page-wrap {
position: relative;
padding: 0 30px;
display: block;
background-color: #C5BCF4;
color: #fff;
background-image: url('$assets-circle-mask-svg');
background-size: 105%;
background-position: center bottom -1px;
background-repeat: no-repeat;
}
.front-page-img {
position: absolute;
top: 0;
left: 0;
bottom: 0;
width: 100%;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
z-index: -1;
}
.front-page-img.bhg {background-image: url($assets-emptybg_bhg-jpg)}
.front-page-img.skole {background-image: url($assets-emptybg_skole-jpg)}
.front-page-img.sfo {background-image: url($assets-emptybg_sfo-jpg)}
.front-page-img.oas {background-image: url($assets-emptybg_oas-jpg)}
#help-center-title {
text-align: center;
padding: 130px 0 20px 0;
max-width: 1120px;
margin: auto;
}
#help-center-title h2 {
font-size: calc(25px + (35 - 25) * ((100vw - 300px) / (1000 - 300)));
font-weight: 800;
margin: auto;
max-width: 900px;
line-height: 1
}
#help-center-title p {
font-size: calc(15px + (19 - 15) * ((100vw - 300px) / (1600 - 300)));
line-height: 160%;
margin: auto;
max-width: 700px;
font-weight: normal;
padding: 10px 0;
}
#help-center-title button {
background-color: transparent;
color: inherit;
border: none;
padding: 0;
font-size: 22px;
font-weight: 300;
box-shadow: 0;
cursor: pointer;
outline: inherit;
border-bottom: 1px solid #fff;
display: inline;
margin-left: 10px;
transition: all 0.4s ease;
}
#help-center-title button:hover {border-bottom: 1px solid #EC5D4F}
#help-center-title a {
border-bottom: 2px solid #fff;
font-size: inherit;
color: inherit;
text-decoration: none;
}
#help-center-title a:hover {border-bottom: 2px solid #EC5D4F}
/*PORTAL + HEADER END*/
/*BANNER BILDE*/
.banner-bilde-wrap {
overflow: hidden;
position: relative;
height: 800px;
}
.banner-bilde {
position: absolute;
top: -80px;
left: 0;
right: 0;
bottom: 0;
background-repeat: no-repeat;
background-size: cover;
width: 100%;
height: 900px;
background-position: 60% center;
z-index: 0;
}
.fremside-innhold-boks {
position: absolute;
top: 50%;
transform: translateY(-50%);
-ms-transform: translateY(-50%);
-webkit-transform: translateY(-50%);
text-align: left;
z-index: 99;
left: 0;
right: 0;
padding: 0px 25px;
max-width: 900px;
margin: auto;
color: #fff;
}
.fremside-innhold-boks h1, .fremside-innhold-boks p {margin: auto}
.fremside-innhold-boks.black {color: #000}
.fremside-innhold-boks h1 {
font-size: 40px;
padding: 10px 0px;
}
.fremside-innhold-boks.center {text-align: center}
.fremside-innhold-boks span {
font-size: 18px;
font-weight: 200;
vertical-align: middle;
position: relative;
display: block;
}
.fremside-innhold-boks.post h1 {
font-size: 50px;
padding: 0px 0px 10px 0px;
}
.fremside-innhold-boks.underside.fullscreen h1 {padding: 0px 0px 20px 0px}
.fremside-innhold-boks.left h1 {text-align: left}
.fremside-innhold-boks p {
font-size: 25px;
word-wrap: break-word;
max-width: 500px;
margin: 0;
line-height: 35px;
}
.fremside-innhold-boks.new-poster p {
font-size: 22px;
max-width: 380px;
margin: 0px auto 20px auto;
}
.fremside-innhold-boks {
-webkit-animation: .7s ease 0s normal forwards 1 fadein;
animation: .7s ease 0s normal forwards 1 fadein;
}
@keyframes fadein{
0% { opacity:0; }
66% { opacity:0; }
100% { opacity:1; }
}
@-webkit-keyframes fadein{
0% { opacity:0; }
66% { opacity:0; }
100% { opacity:1; }
}
/*BARNEHAGE BANNER*/
.banner-bilde.bhg {background-image: url('$assets-banner_bhg-jpg')}
.banner-bilde-mobil.bhg {background-image: url('$assets-banner_bhg_mobil-jpg')}
/*SFO BANNER*/
.banner-bilde.sfo {background-image: url('$assets-banner_sfo-jpg')}
.banner-bilde-mobil.sfo {background-image: url('$assets-banner_sfo_mobil-jpg')}
/*SKOLE BANNER*/
.banner-bilde.skole {background-image: url('$assets-banner_skole-jpg')}
.banner-bilde-mobil.skole {background-image: url('$assets-banner_skole_mobil-jpg')}
/*ADMIN SKOLE BANNER*/
.banner-bilde.adminskole {background-image: url('$assets-banner_oas-jpg')}
.banner-bilde-mobil.adminskole {background-image: url('$assets-banner_oas_mobil-jpg')}
/*ADMIN BARNEHAGE BANNER*/
.banner-bilde.adminbhg {background-image: url('$assets-banner_jobb_1-jpg')}
.banner-bilde-mobil.adminbhg {background-image: url('$assets-banner-jobb-mobil-jpg')}
.banner-bilde-mobil {
position: relative;
display: none;
background-repeat: no-repeat;
background-size: cover;
width: 100%;
height: 1150px;
background-position: center;
}
@media screen and (max-height: 830px) {
.banner-bilde-wrap {height: 80vh}
.banner-bilde-wrap.nofix {height: 800px}
.banner-bilde {height: auto}
}
@media screen and (max-height: 570px) {
.banner-bilde-wrap {height: 800px}
.banner-bilde {height: 900px}
}
@media screen and (max-width: 740px) {
.fremside-innhold-boks.underside h1, .fremside-innhold-boks.underside.fullscreen h1, .fremside-innhold-boks.post h1 {
font-size: 30px;
padding: 20px 0px;
text-align: center;
}
.fremside-innhold-boks.underside.fullscreen p, .fremside-innhold-boks.post p {text-align: center}
.banner-bilde {display: none}
.banner-bilde-mobil {
display: block;
height: 850px;
background-position: bottom;
background-size: 750px;
top: -200px;
}
.banner-bilde-wrap {height: 645px}
.banner-bilde-wrap.nofix {height: 800px}
.banner-bilde-mobil.notekst {
height: 890px;
background-size: 800px;
}
.fremside-innhold-boks.main {margin: 70px auto 0px auto}
.fremside-innhold-boks {
top: 0;
margin: 90px auto 0px auto;
transform: none;
text-align: center;
max-width: 550px;
}
.fremside-innhold-boks p {max-width: none}
}
@media screen and (max-width: 500px) {
.banner-bilde-mobil.notekst {
height: 840px;
background-size: 710px;
}
.banner-bilde-wrap.littekst {height: 640px}
.banner-bilde-mobil {background-size: 705px}
.banner-bilde-wrap {height: 750px}
.fremside-innhold-boks h1 {
font-size: 30px;
padding: 10px 0 10px 0;
}
.fremside-innhold-boks p {
font-size: 20px;
padding: 0px;
}
}
@media screen and (max-width: 460px) {
.banner-bilde-wrap.nofix {height: 800px}
}
/*--------------------------------------------------
NY STRUKTUR ZENDESK FREMSIDE OG UNDERSIDER END
---------------------------------------------------*/
/*
==============================================
==============================================
==============================================
FOOTER
==============================================
==============================================
==============================================
*/
.vigilocity-wrap {
position: relative;
overflow: hidden;
}
.vigilocity {
position: relative;
display: block;
margin: 0 0 -1px 0;
overflow: hidden;
padding: 0;
width: 100%;
}
@media screen and (max-width: 1360px) {
.vigilocity {
width: 150%;
left: -22%;
margin-top: -40px;
}
}
@media screen and (max-width: 870px) {
.vigilocity {margin-top: 0}
}
#Aa {
display: none;
position: fixed;
z-index: 99999999;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0,0,0,0.4);
}
#Aa-content {
margin: auto;
text-align: left;
background-color: #fff;
border-radius: 2px;
color: #000;
max-width: 380px;
padding: 30px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
box-shadow: 0px 0px 16px 0px rgba(0,0,0,0.2);
}
#Aa h1 {
margin: auto;
font-size: 28px;
color: #000;
}
#Aa a {
font-weight: 400;
text-decoration: none;
}
#Aa p {
font-size: 17px;
font-weight: 400;
line-height: 29px;
margin: 20px 0 20px 0;
color: #555;
}
#acc-button {
padding: 15px 20px;
margin: 0;
background-color: #005788;
color: #fff;
font-size: 17px;
border-radius: 4px;
line-height: normal;
margin-top: 20px;
}
#acc-button:hover {background-color: #e96169}
.close-aa {
float: right;
font-size: 28px;
font-weight: bold;
}
.close-aa a {color: #555}
#Aa a, #Aa p {display: inline-block}
#footer {
background-color: #143AB4;
position: relative;
display: block;
padding: 90px 0;
}
.footer-top, .footer-list {
max-width: 90%;
margin: auto;
}
.footer-top h1 {
color: #fff;
font-size: calc(30px + (40 - 30) * ((100vw - 300px) / (1600 - 300)));
font-weight: 700;
max-width: 800px;
margin: 0 0 50px 0;
line-height: 140%;
}
.button {
padding: 15px 30px;
border: 3px solid #fff;
position: relative;
border-radius: 50px;
font-weight: 700;
font-size: 20px;
font-size: 1.6vw;
transition: all 0.2s ease;
}
.button.footer {
padding: 15px 30px;
font-weight: 700;
font-size: 22px;
border: 3px solid #fff;
color: #fff;
background-color: transparent;
line-height: normal;
width: auto;
}
.button.footer:hover {
background-color: #ec5d4f;
border: 3px solid #ec5d4f;
color: #fff;
}
.footer-list {
display: flex;
justify-content: space-between;
padding: 4.2% 0;
flex-wrap: wrap;
}
.footer-list h1 {
font-size: calc(25px + (30 - 25) * ((100vw - 300px) / (1000 - 300)));
font-weight: 800;
color: #fff;
word-break: break-word;
}
.footer-list a {
font-size: calc(15px + (17 - 15) * ((100vw - 300px) / (1000 - 300)));
line-height: 260%;
color: #fff;
}
.footer-list ul {
margin: 0;
padding: 0;
border: 20px solid #143AB4;
border-left: 0;
box-sizing: border-box;
}
.footer-bottom {
padding: 0 3%;
margin: auto;
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.footer-bottom, footer-top {
font-weight: 400;
font-size: 17px;
}
.footer-bottom img {
max-height: 50px;
width: auto;
object-fit: contain;
}
.footer-bottom ul {
display: flex;
justify-content: space-between;
flex-wrap: wrap;
}
.footer-bottom ul li {
padding: 0 30px;
width: auto;
position: relative;
}
.footer-bottom ul li:before {
content: '';
position: absolute;
width: 20px;
height: 20px;
border: 2px solid #fff;
border-radius: 50%;
left: -5px;
top: -2px;
}
.footer-bottom ul p, .footer-bottom ul a {
margin: 0;
padding: 0;
color: #fff;
font-weight: 400;
}
.footer-bottom p {
color: #fff;
font-weight: 400;
}
.zd_satisfaction * {display: inline}
@media screen and (max-width: 1300px) {
.footer-list {justify-content: flex-start}
.footer-list ul {width: 50%}
}
@media screen and (max-width: 1100px) {
.footer-bottom a {margin: auto}
.footer-bottom {flex-direction: column}
.footer-bottom p {
text-align: center;
margin-top: 50px;
}
.footer-bottom ul {margin: 70px 0 50px 0}
}
@media screen and (max-width: 650px) {
.footer-bottom ul {margin: 0px 0 50px 0}
.footer-bottom ul li {
margin-top: 20px;
width: 100%;
}
#footer {padding: 90px 0 40px 0}
.footer-bottom img {display: none}
}
@media screen and (max-width: 570px) {
.footer-top, .footer-list {
max-width: none;
padding: 0 30px;
}
.footer-top {margin-bottom: 30px}
.footer-bottom ul {padding: 0 30px}
.footer-list ul {width: 100%}
}
/*
==============================================
==============================================
==============================================
FOOTER END
==============================================
==============================================
==============================================
*/