html {
    font-size: 100%;
    width: 1px;
    min-width: 100%;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: scroll;
}

*,
::after,
::before {
    box-sizing: inherit
}

div:focus-visible {
    outline: none !important;
}

.dontshow_in_sg {
    display: none !important;
}

select.aliasse, select.styleguide {
  height: auto;
  margin: 0 0 1rem;
  padding: .5rem;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border: 1px solid var(--border-color-light);
  border-radius: 0;
  background-color: var(--light-bg-color);
  font-family: inherit;
  font-size: 1rem;
  font-weight: var(--font-weight-bf);
  line-height: 1.5;
  color: var(--font-color-dark);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' width='32' height='24' viewBox='0 0 32 24'><polygon points='0,0 32,0 16,24' style='fill: rgb%28138, 138, 138%29'></polygon></svg>");
  background-origin: content-box;
  background-position: right -1rem center;
  background-repeat: no-repeat;
  background-size: 9px 6px;
  padding-right: 1.5rem;
  -webkit-transition: border-color .25s ease-in-out,-webkit-box-shadow .5s;
  transition: border-color .25s ease-in-out,-webkit-box-shadow .5s;
  transition: box-shadow .5s,border-color .25s ease-in-out;
  transition: box-shadow .5s,border-color .25s ease-in-out,-webkit-box-shadow .5s;
}
select.aliasse:focus, select.styleguide:focus {
  outline: 0;
  border: 1px solid var(--border-color-medium);
  background-color: var(--medium-bg-color);
  box-shadow: 0 0 5px var(--shadow);
  -webkit-transition: border-color .25s ease-in-out,-webkit-box-shadow .5s;
  transition: border-color .25s ease-in-out,-webkit-box-shadow .5s;
  transition: box-shadow .5s,border-color .25s ease-in-out;
  transition: box-shadow .5s,border-color .25s ease-in-out,-webkit-box-shadow .5s;
}

select.aliasse {
    width: 200px !important;
    margin-bottom: 2rem;
    font-size: .875rem;
    height: auto;
    padding: .25rem 1.75rem .25rem .75rem;
}

input[type="radio"].sg-aliasse {
    display: inline-block;
    -webkit-appearance: radio;
    -moz-appearance: radio;
    appearance: radio;
    color: var(--font-color-dark) !important;
    margin: 0;
    padding: 0;
    width: auto;
    height: auto;
    margin-right: .5rem;
}

div.sg-aliasse {
    margin: -10px 0 25px 0;
    padding: 0;
}

label.sg-aliasse {
    display: inline-block;
    margin: 0;
    margin-right: 1rem;
    padding: 0;
    font-size: .875rem;
    font-weight: var(--font-weight-bf);
    line-height: 1.8;
    color: var(--font-color-light) !important;
}

body.sg_elements {
    font-family: var(--b-font);
    margin: 0;
    background: var(--bg-color-body);
    font-weight: var(--font-weight-bf);
    line-height: 1.2;
    color: var(--font-color-dark);
    min-height: 100%;
}

body.sg_elements p.styleguide,
body.sg_elements div.styleguide,
body.sg_elements a.styleguide {
    font-family: var(--b-font);
}

button.styleguide, select.styleguide, textarea.styleguide {
    font-family: var(--b-font);
}      

button.styleguide {
    font-weight: var(--font-weight-hf);
    border-radius: 3px;
    padding: 8px 24px 7px 24px;
    font-size: 0.875rem;
    border: none;
    color: var(--light-bg-color);
    background-color: var(--primary-color);
    margin: 12px 0 0 0;
}

button.styleguide:hover {
    background-color: var(--primary-color-darken);
}

.give-comment textarea.styleguide {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 150px;
    min-height: 75px;
    max-height: 225px;
    margin: 0;
    border: none;
    background-color: var(--secondary-color);
    padding: 10px;
    font-size: 0.875rem;
    border-radius: 3px;
    outline: 0 !important;
}

.give-comment div.c-conversation {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 25vh;
    margin: 0;
    border: none;
    background-color: var(--color-white);
    padding: 0;
    font-size: 0.75rem;
    outline: 0 !important;
    overflow: hidden;
    overflow-x: hidden;
    overflow-y: auto;
}

body.sg_elements[data-color-scheme="dark"] .give-comment div.c-conversation {
    background-color: var(--light-bg-color);
}

.give-comment div.c-conversation.contain {
    margin: 0 0 16px 0;
    padding: 10px 0;
}

textarea.styleguide.send-message {
    font-weight: var(--font-weight-hf);
    color: var(--primary-color) !important;
}

body.sg_elements .c-message {
    margin: 0 0 2px;
    padding: 8px 10px;
}

body.sg_elements .c-message:hover, 
body.sg_elements .c-message:focus, 
body.sg_elements .c-message.selected {
    background-color: var(--light-bg-color);
}

body.sg_elements .c-message i.fi-trash {
    position: absolute;
    font-size: 0.875rem;
    top: 0;
    right: 8px;
    color: var(--border-color-dark);
    cursor: pointer;
    display: none;
}

body.sg_elements .c-message:hover i.fi-trash {
    display: inline;
}

body.sg_elements .c-message i.fi-trash:hover {
    color: var(--primary-color);
}

body.sg_elements .c-user {
    display: block;
    position: relative;
}

body.sg_elements .c-user b {
    color: var(--font-color-dark);
    font-weight: var(--font-weight-hf) !important;
}

body.sg_elements .c-user.myself b {
    color: var(--primary-color);
}

body.sg_elements .del-really {
    position: absolute;
    font-size: 0.75rem;
    top: 1px;
    right: 20px;
    color: var(--border-color-dark);
    display: none;
    font-weight: var(--font-weight-hf);
}

body.sg_elements .del-yes, body.sg_elements .del-no {
    padding: 0 3px 0 6px;
    cursor: pointer;
}

body.sg_elements .del-yes:hover, body.sg_elements .del-no:hover {
    color: var(--primary-color);
}

.styleguide_code textarea[readonly] {
    cursor: text;
}

input::placeholder, textarea::placeholder {
    color: var(--font-color-medium);
}

.sended {
    border: 2px solid green !important;
    background-color: rgba(0, 0, 0, .05) !important;
}

body.sg_elements *[onclick]{
    outline: none;
}

h3.styleguide a {
    outline: 0 !important;
}

h3.styleguide:hover, h3.styleguide:focus, h3.styleguide:focus-visible, h3.styleguide:active, h3.styleguide *[onclick] {
    outline: none;
}

body.sg_elements .primary-sg {
    color: var(--primary-color);
}

body.sg_elements select {
    width: 100%
}

body.sg_elements .open-in-tab {
    margin-right: 18px;
    float: right;
}

body.sg_elements .comment-icon {
    width: auto;
    height: 17px;
    fill: var(--h3-icon-color);
    float: right;
    margin-left: 15px;
    margin-top: 3px;
    cursor: pointer;
    display: block;
}

body.sg_elements .comment-icon.contain {
    fill: var(--color-black);
}

body.sg_elements[data-color-scheme="dark"] .comment-icon.contain {
    fill: var(--font-color-dark);
}

body.sg_elements .comment-icon.contain.not-yet-read {
    fill: var(--primary-color);
}

body.sg_elements .comment-icon:hover {
    fill: var(--font-color-dark);
}

.sgx.a__ctive {
    box-shadow: 0 0 0 1px rgba(255,82,82,1) !important;
    outline: 1px solid rgba(255,82,82,1);
}

.sgx.in-sg.a__ctive {
    box-shadow: 0 0 0 1px rgba(55,93,255,1) !important;
    outline: 1px solid rgba(55,93,255,1);
}

div.styleguide.styles div.gallery_sg h3.styleguide {
    margin-top: 2rem
}

div.styleguide.styles .fpflag {
    display: inline;
}

.sg-tooltip, 
div.fpsg {
    display: none !important;
}

div.fpsg.a__ctive {
    display: block !important;
}

div.styleguide.styles div.fpsg.a__ctive {
    display: inline !important;
}

div.fpsg_.a__ctive {
    display: none !important;
}

body.sg_elements .tooltip > a {
    color: var(--light-bg-color);
    text-decoration: none;
    font-weight: var(--font-weight-bf);
}

body.sg_elements .tooltip > a:hover {
    color: var(--secondary-color-darken);
    text-decoration: none;
}

section.styleguide {
    margin-bottom: 2rem;
}

div.styleguide {
    /*padding: calc(0.65rem + 1.5%) 33px calc(3.5rem + 1.5%) 33px;*/
    padding: 1.25rem 33px 5rem 33px;
    margin: 0;
    background: none;
    background-color: transparent;
    border: none;
}

.sg-label > div, 
div.styleguide {
    max-width: var(--max-width-plus);
}  

div.styleguide.template {
    max-width: var(--max-width);
}

div.styleguide.sg-container {
    padding: 0;
    margin: 0;
}

div.styleguide_note {
    font-size: 0.875rem;
    line-height: 140%;
    letter-spacing: var(--letter-space-2);
    word-spacing: var(--word-space);
    padding-left: 0;
    margin-bottom: 1.5rem;
    margin-top: 0.75rem;
    margin-left: 1px;
    max-width: 600px;
    color: var(--primary-color);;
}
.reveal div.styleguide_note {
    color: gray;
    max-width: none;
}
div.styleguide_note a {
  background-color: transparent;
  border: none;
  padding: 0px;
  text-decoration: none;
  margin: 0;
}
div.styleguide_note a:hover {
  color: var(--primary-color) !important;
}

div.styleguide_note.v1 {
    font-size: 0.875rem;
    letter-spacing: var(--letter-space-2);
    word-spacing: var(--word-space);
    padding-left: 9px;
    margin-bottom: 2rem;
    margin-top: 2rem;
    margin-left: 12px;
    max-width: 800px;
    border-left: 3px solid var(--primary-color);
    color: var(--font-color-mediumlight);
}
div.styleguide_note.v2 {
    margin: 0;
    padding: calc(0.65rem + 1.5%) 33px;
    color: var(--font-color-dark);
    width: 100%;
    background: none;
    background-color: var(--bg-color-body);
    font-size: 0.875rem;
    line-height: 1.5;
    font-family: var(--b-font);
    font-weight: var(--font-weight-bf);
    font-style: normal;
    text-transform: none;
    text-decoration: none;
    letter-spacing: var(--letter-space-2);
    word-spacing: var(--word-space);
    margin-bottom: 0;
}
div.styleguide.ch_d {
    font-size: 1rem;
    line-height: 140%;
    letter-spacing: var(--letter-space-2);
    word-spacing: var(--word-space);
    padding: 0;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
    margin-left: 1px;
    max-width: 800px;
    color: var(--font-color-dark);
}

div.styleguide_code > div.styleguide_note {
    margin-top: 0px;
    margin-bottom: 20px;
    min-width: 140px;
}

.gallery_sg div.styleguide_code > div.styleguide_note {
  min-width: auto;
  overflow: hidden;
  font-size: 0.75rem;
}

img.approved-icon {
  position: absolute;
  right: 17px;
  bottom: 20px;
}

p.var_inf { 
    position: absolute;
    right: 20px;
    bottom: 9px;
}

h3 p.var_inf_ {
  position: relative;
  margin: 0;
  float: right;
  margin-left: 18px;
  width: 16px;
  height: 16px;
}

p.var_inf > img { 
    position: relative;
    margin-right: 6px;
    top: -1px;
}

p.var_inf_ > img { 
    position: relative;
    margin-right: 0;
    top: -4px;
    /*filter: grayscale(1);*/
}

img.approved-icon + p.var_inf { 
    right: 64px;
}

div.styleguide_note > p {
    letter-spacing: 0;
    font-size: 0.875rem;
    font-weight: var(--font-weight-bf);
    line-height:1.5;
}

div.styleguide_note select {
    width: auto;
    height: auto;
    float: right;
    margin-top: -6px;
    font-size: 0.875rem;
    padding: 0.25rem 1.5rem 0.25rem 0.5rem;
}

select.element_state {
    width: auto !important;
    height: auto;
    float: right;
    font-size: 0.875rem;
    padding: 0.25rem 1.5rem 0.25rem 0.5rem;
    margin-right: 5px;
    margin-top: -5px;
    margin-bottom: 0;
    display: none;
}

select.element_state.approval { border: 1px solid red; }
h3.styleguide.state1 { border-color: lightgray; }
h3.styleguide.state2 { border-color: dodgerblue; }
h3.styleguide.state3 { border-color: var(--primary-color); }
h3.styleguide.state4 { border-color: gray; }

div.give-comment select.element_state {
    margin-top: 12px;
    margin-right: 0;
    padding: 0.2rem 1.5rem 0.2rem 0.5rem;
}

body[data-right="2"] select.element_state,
body[data-right="3"] select.element_state,
body[data-right="5"] select.element_state {
    display: inline-block;
}

hr.styleguide {
    max-width: none !important;
    color: var(--border-color-light);
}

h1.styleguide {
    padding: 0;
    color: var(--font-color-headlines);
    font-family: var(--h-font);
    font-weight: var(--font-weight-hf);
    font-style: normal;
    font-size: 3rem;
    margin: 1.5em 0 0.5em 0;
    width: 100%;
    background: none;
    background-color: transparent;
    line-height: 1.2;
    text-transform: var(--h-text-transform);
    text-decoration: none;
    letter-spacing: var(--h-letter-space);
    word-spacing: var(--word-space);
    word-break: 0;
    max-width: none;
    text-align: left;
}

h1.styleguide > img {
    width: 64px;
    height: 64px;
    margin: -8px 8px 0 -8px;
}

section.styleguide:first-of-type h1.styleguide, 
body.sg_elements h1.styleguide:first-of-type {
    margin-top: var(--h1-vertical-distance);
    margin-bottom: 1em;
}

div.h2.styleguide {
    margin: 0;
    padding: 0;
    color: var(--font-color-headlines);
    width: 100%;
    margin-top: var(--h3-vertical-distance1);
    margin-bottom: var(--h2-vertical-distance2);
    background: none;
    background-color: transparent;
    font-size: 2rem;
    line-height: 1.25;
    font-family: var(--h-font);
    font-weight: var(--font-weight-bf);
    font-style: normal;
    text-transform: none;
    text-decoration: none;
    letter-spacing: var(--letter-space-1);
    word-spacing: var(--word-space);
    word-break: 0;
    max-width: none;
}

div.styles div.h2.styleguide {
    margin-bottom: var(--h2-vertical-distance3); 
}

h2.styleguide {
    margin: 0;
    padding: 0;
    color: var(--font-color-headlines);
    width: 100%;
    background: none;
    background-color: transparent;
    font-size: 2rem;
    line-height: 1.25;
    font-family: var(--h-font);
    font-weight: var(--font-weight-hf);
    font-style: normal;
    text-transform: none;
    text-decoration: none;
    letter-spacing: var(--letter-space-1);
    word-spacing: var(--word-space);
    max-width: none;
    text-align: left;
}

h2.styleguide.style_types {
    margin: 28px 0 24px 0;
    width: 100%;
    font-size: 1.5rem;
    line-height: 1.5;
    font-family: var(--h-font);
    font-weight: var(--font-weight-bf);
    font-style: normal;
    text-transform: none;
    text-decoration: none;
    letter-spacing: var(--h-letter-space);
    word-spacing: var(--word-space);
    max-width: none;
    background-color: var(--bg-color-h3);
    border-bottom: var(--line-h3);
    border-radius: 0px;
    color: var(--h3-icon-color);
    height: 40px;
    padding: var(--p_st);
}

div.fpflag + h2.styleguide.style_types {
    margin-top: 72px;
}

div.h2.styleguide:first-of-type {
    margin-top: var(--h2-vertical-distance2);
}

div.h2.styleguide > div.styleguide.label_text {
    margin: 0;
    padding: 0;
    color: var(--font-color-dark);
    width: 100%;
    margin-top: var(--h3-vertical-distance3);
    margin-bottom: var(--h3-vertical-distance3);
    background: none;
    background-color: transparent;
    font-size: 0.875rem;
    line-height: 1.5;
    font-family: var(--b-font);
    font-weight: var(--font-weight-bf);
    font-style: normal;
    text-transform: none;
    text-decoration: none;
    letter-spacing: var(--letter-space-2);
    word-spacing: var(--word-space);
    max-width: 680px;
    margin-left: 1px;
    text-align: left;
}

h3.styleguide {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid var(--border-color-light);
    color: var(--primary-color);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    margin-top: var(--h3-vertical-distance1);
    padding-bottom: 0.25rem;
    width: 100%;
    font-weight: var(--font-weight-hf);
    font-style: normal;
    line-height: 1.5;
    background: none;
    background-color: transparent;
    font-family: var(--h-font);
    text-transform: none;
    text-decoration: none;
    letter-spacing: var(--letter-space-2);
    word-spacing: var(--word-space);
    word-break: normal;
    position: relative;
    max-width: none;
    border-bottom-left-radius: 5px;
    text-align: left;
}

h3.styleguide * {
    letter-spacing: 0;
    word-spacing: 0;
}

h3.styleguide a, h3.styleguide i {
    font-weight: var(--font-weight-hf);
    text-decoration: none;
    font-family: var(--b-font);
    color: var(--h3-icon-color);
}

h3.styleguide a:hover, h3.styleguide a:focus, h3.styleguide a:focus-visible {
    font-weight: var(--font-weight-hf);
    text-decoration: none;
    font-family: var(--b-font);
    color: var(--font-color-dark);
}

div.h2.styleguide + div > h3.styleguide, div.h2.styleguide + div > div:first-of-type > h3.styleguide {
    margin-top: var(--h3-vertical-distance2); 
}

div.fpflag:first-of-type h3.styleguide {
    margin-top: var(--h1-vertical-distance);
}

div.h2.styleguide + div > h3.styleguide:first-of-type {
  margin-top: var(--h3-vertical-distance3);
}

h3.styleguide {
    padding: 5px 5px 5px 2px;
    background: var(--medium-bg-color);
    border-bottom: none;
}

.styleguide .fi-arrows-out {
    margin-top:1px;
}

h3.styleguide > i.fi-list, 
h3.styleguide > i.fi-arrow-down {
    margin-top:1px;
}

h3.styleguide > .in-h3 {
    width: 64%;
    display: inline-block;
}

body.sg_elements .icon_upload {
    text-decoration: none !important;
    border-bottom: none;
    float: right;
    margin-left: var(--icon-left);
    margin-right: 0;
    color: var(--h3-icon-color) !important;
}

body.sg_elements .icon_upload:hover {
    color: var(--font-color-dark) !important;
}

h3.styleguide > .fi-info, 
h3.styleguide > .fi-eye, 
.icon-align_right {
    cursor: pointer;
    font-style: normal;
    float: right;
    margin-left: 15px;
}

h3.styleguide .fi-information {
    color: var(--h3-icon-color);
    cursor: pointer;
    float: right;
    margin-left: 15px;
    width: 16px;
    height: 16px;
    font-size: 1.25rem;
    top: -3px;
    position: relative;
}

.gallery_sg .styleguide_code {
  width: 100% !important;
}

div.sg_col .fi-information {
  color: var(--h3-icon-color);
  position: absolute;
  bottom: 101px;
  right: 3px;
  font-size: 1rem;
  cursor: pointer;
}

div.sg_col .fi-information:hover  {
  color: var(--font-color-dark);
}

h3.styleguide .fi-information:hover {
  color: var(--font-color-dark);
}

h2.styleguide.style_types + div.fpflag > h3.styleguide {
  margin-top: 5rem;
}

.icon-align_right {
    margin-left: 0px;
}

.icon-align_right:hover, h3.styleguide > i:hover {
    color: var(--font-color-dark);
}

.styleguide_code {
    margin-bottom: 8px;
    margin-top: 20px;
}

.styleguide_code > div > div {
    cursor: pointer; 
    display: inline-block;
}

.styleguide_code > div > div::after {
    cursor: pointer;
    content: "\f10b";  
    font-family: "foundation-icons";
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 14.4px;
    display: inline-block;
    text-decoration: inherit;
    font-size: 12px;
    color: var(--primary-color);
    left: 5px;
    position: relative;
    visibility: hidden;
}

.styleguide_code > div > div:hover::after {
    cursor: pointer;
    content: "\f10b";  
    font-family: "foundation-icons";
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 14.4px;
    display: inline-block;
    text-decoration: inherit;
    font-size: 12px;
    color: var(--primary-color-darken);
    left: 5px;
    position: relative;
    visibility: visible;
}

.styleguide_code.reveal {
    margin-bottom: 0px;
    margin-top: 0px;
    top: 100px !important;
}

.sg_left_col {
    float: left;
    width: calc(50% - 12px);
    margin: 0 7px 0 0;
    max-width: calc(50% - 12px);
    min-width: calc(50% - 12px);
    font-size: 0.75rem;
    font-weight: var(--font-weight-hf);
}

.sg_right_col {
    float: right;
    width: calc(50% - 12px);
    margin: 0 0 0 7px;
    max-width: calc(50% - 12px);
    min-width: calc(50% - 12px);
    font-size: 0.75rem;
    font-weight: var(--font-weight-hf);
}

.reveal .sg_left_col, .reveal .sg_right_col {
/*
    float: none;
    width: 100%;
*/
    margin: 1rem 0 0.25rem;
    max-width: none; 
}

.sg_right_col > div {
    margin-right: 20px;
}

.sg_right_col > div.js-div {
    margin-top: 12px;
}

div.js-div {
    display: none !important;
}
div.js-div.a_js {
    display: block !important;
}

.sg_col {
    width: 100%;
    margin: 0 0 7px;
    max-width: 100%;
    min-width: 100%;
    font-size: 0.75rem;
    font-weight: var(--font-weight-hf);
}

textarea.html-code, textarea.css-code, textarea.js-code, 
textarea.html-code:focus, textarea.css-code:focus, textarea.js-code:focus {
    font-size: 0.75rem;
    line-height: 1.4;
    color: var(--font-color-medium) !important;
    border: 1px solid var(--secondary-color) !important;
    background-color: var(--secondary-color) !important;
    padding: 9px 11px;
    height: 150px;
    overflow-y: scroll;
    font-family: 'Roboto Mono', monospace;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    margin-top: 4px;
    margin-bottom: 5px;
    border-radius: 5px;
}

textarea.js-code {
    display: none;
}

textarea.js-code.a_js {
    display: block;
}

textarea.html-code.a_js {
    height: 332px;
}

.sg_col > .css-code {
    height: 220px !important;
}

.gallery_sg .sg_col > .css-code {
    height: 90px !important;
    margin-bottom: 0;
    font-size: 11px;
    padding: 5px 7px;
}

.reveal textarea.html-code, .reveal textarea.css-code, .reveal textarea.js-code, 
.reveal textarea.html-code:focus, .reveal textarea.css-code:focus, .reveal textarea.js-code:focus {
    height: 50vh;
}

.reveal textarea.css-code.a_js, .reveal textarea.js-code.a_js, 
.reveal textarea.css-code.a_js:focus, .reveal textarea.js-code.a_js:focus {
    height: 233px;
}

.reveal h3.styleguide {
  margin: 16px 0 32px -1px;
  width: calc(100% + 2px);
  position: relative;
  cursor: pointer;
  padding-right: 50px;
  background-color: transparent;
  border-left: none;
  border-bottom: 1px solid var(--border-color-light);
  font-weight: var(--font-weight-hf);
  font-style: normal;
  line-height: 1.5;
  padding-left: 0;
  color: var(--h3-icon-color);
}

.reveal h3.styleguide::after {
    content: "\f1ad"; 
    font-family: "foundation-icons";
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    display: inline-block;
    text-decoration: inherit;   
    position: absolute;
    right: 10px;
    top: 6px;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
}

.reveal h3.styleguide:hover::after {
    cursor: pointer;
    color: var(--primary-color);
}

.reveal.give-comment {
    max-height: 78vh;
}

.reveal.give-comment h3 {
    color: var(--h3-icon-color); 
    margin: 16px 0 12px 0;
    cursor: default;
}

.reveal.give-comment h3.styleguide::after {
  content: none; 
}



div.styleguide.no-padding {
    padding: 0;
    max-width: none;
}

div.styleguide.no-padding h1.styleguide {
    margin-left: 31px;
    margin-right: 31px;
    width: calc(100% - 62px);
}
div.styleguide.no-padding div.h2.styleguide {
    margin-left: 33px;
    margin-right: 33px;
    width: calc(100% - 66px);
}

div.styleguide.no-padding h3.styleguide {
    background-color: var(--bg-color-h3);
    border: none;
    border-bottom: var(--line-h3);
    height: 40px;
    width: 100%;
    padding: 9px 32px 9px 33px;
    margin-bottom: 0;
}

@media screen and (max-width: 45em) {
div.styleguide.no-padding h1.styleguide {
    margin-left: 19px;
    margin-right: 19px;
    width: calc(100% - 38px);
}
div.styleguide.no-padding div.h2.styleguide {
    margin-left: 20px;
    margin-right: 20px;
    width: calc(100% - 40px);
}

div.styleguide.no-padding h3.styleguide {
    padding: 9px 19px 9px 20px;
}
}

body.htm-file div.styleguide.no-padding h3.styleguide {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    margin-top: 0;
}
div.styleguide.no-padding h3.styleguide + .clearfix {
    top: 40px;
}
div.styleguide.no-padding div.styleguide_note {
    margin-left: 22px !important;
    margin-right: 22px !important;
    width: calc(100% - 44px) !important;
}
div.styleguide.no-padding div.ch_d {
    margin-left: 22px;
    margin-right: 22px;
    margin-bottom: 2rem;
    width: calc(100% - 44px);
}
div.styleguide.no-padding .styleguide_code:not(.reveal) {
    padding: 0px 22px;
}
div.styleguide.no-padding .styleguide_code:not(.reveal) > a {
    right: 4px;
    top: -20px;
    bottom: auto;
}





.styleguide .gallery_sg {
    display: inline-block;
    height: var(--cbz);
    width: var(--cbz);
    margin-right: 1.25rem;
}

div.styleguide h2.styleguide.style_types ~ div.fpflag > div.gallery_sg {
    margin-top: 4px;
}

.styleguide .gallery_sg b {
    left: 0;
    position: absolute;
    top: 47.5%;
    -webkit-transform: translateY(-50%);    
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    width: 100%;
    font-size: 2.4rem;
}

.styleguide .gallery_sg .color {
    height: 100%;
    width: 100%;
    margin-bottom: 5px;
    margin-right: 0px;
    position: relative;
    text-align: center;
    border-radius: var(--cbf);
    box-shadow: 1px 1px 3px 0px rgba(170,170,170,0.4);
}

body.sg_elements[data-color-scheme="dark"] .styleguide .gallery_sg .color {
    box-shadow: 1px 1px 3px 0px rgba(170,170,170,0.6);
}

body.sg_elements .typo {
    color: var(--font-color-mediumlight);
    margin-top: 0.2rem;
}

.styleguide .gallery_sg_sg .typo {
    display: block;
    text-align: left;
}

.styleguide .type1 {
    font-size: 4.5em;
    line-height: 120%;
    margin-left: 0;
    margin-right: 2rem;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.styleguide .type2 {
    font-size: 2.5em;
    line-height: 112%;
    margin: -0.25rem 2rem 0.5rem 0px;
    display: inline-block;
}

.styleguide .type3 {
    font-size: 1.125em;
    line-height: 133%;
    display: block;
    margin-top: 0.25rem;
}

.styleguide .type4 {
    display: inline-block;
    margin-top: 0.25rem;
}

.styleguide .border_sg {
    display: inline-block;
    height: var(--cbz);
    width: 100%;
    margin-bottom: 0px;
    margin-right: 0px;
    margin-top: 0px;
    border: var(--cbzb) solid transparent;
}

.styleguide .border_sg.bor {
    border: 0px solid transparent;
}

body.sg_elements .small_sg {
    font-size: 0.875rem;
}

.x-small_sg {
    font-size: 0.75rem;
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 12px;
    text-align: var(--cbza);
    margin-left: -1px;
}

.dateinfo_sg {
    font-size: 0.675rem;
    margin-top: 2.5rem;
    color: var(--font-color-mediumlight);
}

h3.styleguide + .clearfix {
    min-height: 120px;
}

.styleguide div.clearfix {
    position: relative;
}

.styleguide .clearfix::before,
.styleguide .clearfix::after {
    display: table;
    content: ' ';
}

.styleguide .clearfix::after {
    clear: both;
}

/* new */


.gbx {
    width: 240px;
    background-color: var(--bg-color-body);
    display: block;
    margin-right: 8px;
    float: left;
    margin-bottom: 30px;
    border: 1px solid var(--border-color-light);
    border-radius: 5px;
    box-shadow: 1px 1px 3px 0px rgba(170,170,170,0.4);
}

body.sg_elements[data-color-scheme="dark"] .gbx {
    box-shadow: 1px 1px 3px 0px rgba(170,170,170,0.6);
}

.gbx-i {
    padding-top: calc(100% - 31px);
    width: 100%;
    position: relative;
}

.gbx-i > div {
  top: 0;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(100,100,100,0.1);
  height: 100%;
  width: 100%;
  font-size: 3rem;
  font-weight: var(--font-weight-hf);
  overflow: hidden;
  transition: all .3s ease-in-out;
  background-color: rgba(100,100,100,0.2);
  font-size: 2.25rem;
}

.gbx-i > div > img {
    max-width: 100%;
    object-position: center center;
    min-height: 100%;
    object-fit: cover;
    margin: 0px;
}

.gbx-i > div > video {
    max-width: 100%;
    object-position: center center;
    min-height: 100%;
    object-fit: cover;
}

.gbx-i > div > audio {
    max-width: 80%;
    object-position: center center;
    object-fit: cover;
}

.gbx-i > div > img.icon {
    min-height: unset;
    width: 68%;
    margin-top: -2px;
    object-fit: contain;
    height: 62%;
}

.gbx-n h3.styleguide {
border: none;
  margin: 0;
  padding: 31px 10px 10px 10px;
  background: transparent;
  height: auto;
  font-weight: var(--font-weight-bf);
}

div.gbx[id]:target h3 {
  color: var(--primary-color);
}

.styleguide.assets {
  padding-bottom: 120px;
}

h2.styleguide[id]:target {
  padding-top: 50px;
  margin-top: -50px;
}

.styleguide.assets div.h2.styleguide {
  margin-top: var(--h2-vertical-distance2);
}

div[data-open] { cursor: pointer; }

@media print, screen and (min-width: 40em) {
    body.sg_elements .reveal.large {
        width: 80%;
        max-width: 64rem;
        min-height: 400px;
        padding: 3.75rem 1.75rem;
    }
}

body.sg_elements div.reveal.image_modal {
    padding: 0;
}

div.reveal.image_modal div.sgc-sel {
    width: 100%;
    margin: -36px auto 30px;
    text-align: center;
}
div.reveal.image_modal div.bgcr {
    height: 16px;
    width: 16px;
    display: inline-block;
    box-sizing: border-box;
    cursor: pointer;
}
div.reveal.image_modal div.bgcr.active {
    border: 1px solid var(--primary-color);
}

div.reveal.image_modal span.icons {
    position: absolute;
    left: 2.02rem;
    top: 1.8rem;
    background-color: transparent;
}
div.reveal.image_modal span.icons > svg {
    fill: var(--h3-icon-color);
    margin-right: 0.85rem;
    cursor: pointer;
}
div.reveal.image_modal span.icons > nav {
    font-size: 11px;
    line-height: 1.2;
    width: calc(40vw - 4rem);
    max-width: 440px;
}
div.reveal.image_modal span.icons > svg.edit-icon {
    display: none;
}
body.sg_elements.php-version div.reveal.image_modal span.icons > svg.edit-icon {
    display: inline-block;
}
div.reveal.image_modal span.icons > svg.chat-icon {
    position: relative;
    top: 1px;
    margin-left: -1px;
    display: none;
}
div.reveal.image_modal span.icons > svg.share-icon {
    margin-left: -2px;
}
div.reveal.image_modal span.icons > svg.link-icon.show {
    fill: var(--font-color-dark);
    display: inline !important;
}
div.reveal.image_modal span.icons > svg.download-icon {
    margin-left: 0px;
}
div.reveal.image_modal span.icons > svg:hover {
    fill: var(--font-color-dark);
}

div.reveal.image_modal > button.close-button {
    right: 1.55rem;
    top: 1rem;
    background-color: transparent;
    z-index: +1;
}

div.reveal.image_modal svg.close-icon {
    fill: var(--secondary-color-darken);
}

div.reveal.image_modal svg.close-icon:hover {
    fill: var(--font-color-dark);
}

div.reveal.image_modal > div {
    margin: 0;
    padding: 0;
    width: 100%;
    display: table;
}

div.reveal.image_modal > div > div {
    margin: 0;
    width: 50%;
    padding: 4rem 2rem 5rem;
    display: table-cell;
    vertical-align: top;
}

div.reveal.image_modal div.col-left {
    padding: 4rem 3rem 5rem;
}

div.reveal.image_modal div.col-left {
    background-color: transparent;
}

div.reveal.image_modal div.col-right {
    background: none;
    background-color: var(--bg-color-body);
    padding-top: calc(16vh + 12px);
    padding-bottom: 3rem;
    margin: 0;
    color: var(--font-color-dark);
    font-size: 0.75rem;
    line-height: 1.4;
    font-family: var(--b-font);
    font-weight: var(--font-weight-bf);
    font-style: normal;
    text-transform: none;
    text-decoration: none;
    letter-spacing: var(--letter-space-2);
    word-spacing: var(--word-space);
    position: relative;
    overflow-x: hidden;
}

div.reveal.image_modal div.col-right section {
    color: var(--font-color-dark);
    margin-bottom: 2rem;
}

div.reveal.image_modal div.col-right section > * {
    color: var(--font-color-dark);
}

div.reveal.image_modal div.col-right div,
div.reveal.image_modal div.col-right div.dateinfo_sg {
    width: 84%;
    max-width: 320px;
    margin-bottom: 18px;
    margin-top: 0;
}


div.reveal.image_modal section {
    display: none;
}

div.reveal.image_modal section.show {
    display: block;
}

div.reveal.image_modal div.col-right section b {
    color: var(--primary-color-darken);
}

div.reveal.image_modal div.col-right section a {
    text-decoration: none;
}

div.reveal.image_modal div.col-right section a:hover {
    text-decoration: none;
    color: var(--primary-color);
}

div.reveal.image_modal h3 {
    margin: 0;
    padding: 0;
    color: var(--font-color-dark);
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    margin-left: -1px;
    width: 84%;
    max-width: 320px;
    font-weight: var(--font-weight-hf);
    font-style: normal;
    line-height: 1.25;
    background: none;
    background-color: transparent;
    font-family: var(--h-font);
    text-transform: none;
    text-decoration: none;
    letter-spacing: var(--letter-space-2);
    word-spacing: var(--word-space);
    word-break: normal;
    position: relative;
    border: none;
    cursor: default;
}
div.reveal.image_modal h3::after {
    content: "";
    position: relative;
}

div.reveal.image_modal div.col-right section div.sg-subline {
    color: var(--primary-color-darken);
    font-size: 0.875rem;
    margin-bottom: 0;
}
div.reveal.image_modal div.col-right section a {
    color: var(--font-color-dark);
    font-weight: var(--font-weight-bf);
}
div.reveal.image_modal div.col-right section a:hover {
    color: var(--primary-color-darken);
}

div.reveal.image_modal textarea.css-code {
    width: 84%;
    max-width: 320px;
    min-width: 200px;
    height: 110px;
    max-height: 160px;
    min-height: 80px;
    font-size: 11px;
    padding: 5px 7px;
    cursor: text !important;
    margin-bottom: 2rem;
    margin-top: 4px;
}

div.reveal.image_modal .atom_sec textarea.css-code,
div.reveal.image_modal .atom_sec textarea.js-code,
div.reveal.image_modal .atom_sec textarea.html-code {
    width: 84%;
    max-width: 320px;
    min-width: 200px;
    height: 55px;
    max-height: 160px;
    min-height: 55px;
    font-size: 11px;
    padding: 5px 7px;
    cursor: text !important;
    margin-bottom: 0.85rem;
    margin-top: 0px;
}

body.sg_elements .sg-slider {
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -ms-touch-action: none;
    touch-action: none;
    height: 1px;
    width: 100px;
    margin: -31px auto 55px;
    background-color: var(--primary-color);
    -webkit-transition-property: none;
    -moz-transition-property: none;
    -o-transition-property: none;
    transition-property: none;
}

body.sg_elements .sg-slider .sg-slider-fill {
    height: 1px;
    background-color: transparent;
}

body.sg_elements .sg-slider .sg-slider-handle {
    position: absolute;
    display: inline-block;
    top: 50%;
    left: 0;
    z-index: 1;
    width: 14px;
    height: 14px;
    border-radius: 16px;
    background-color: var(--primary-color);
    outline: none;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
    -webkit-transition-property: none;
    -moz-transition-property: none;
    -ms-transition-property: none;
    transition-property: none;
    -webkit-transform-origin: center;
    -moz-transform-origin: center;
    -ms-transform-origin: center;
    transform-origin: center;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
}

body.sg_elements .sg-slider-handle:hover {
    -webkit-transform: translateY(-50%) scale(1.15);
    -moz-transform: translateY(-50%) scale(1.15);
    -ms-transform: translateY(-50%) scale(1.15);
    transform: translateY(-50%) scale(1.15);
}

body.sg_elements div.reveal.image_modal div.sg_img {
    height: 35vh;
    margin-top: 42px;
    width: 100%;
    background-repeat: no-repeat !important;
    background-attachment: scroll !important;
    background-position: center center !important;
    background-size: contain !important;
}




/* Foundation Reveal */

body.sg_elements .close-button {
  padding: 0;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  line-height: 1;
  position: absolute;
  color: var(--font-color-mediumlight);
  cursor: pointer; }
  [data-whatinput='mouse'] .close-button { outline: 0; }
  body.sg_elements .close-button:hover, body.sg_elements .close-button:focus {
    color: var(--font-color-dark); }
  body.sg_elements .close-button.small {
    right: 12px;
    top: 6px;
    font-size: 1.5em;
    line-height: 1; }
  body.sg_elements .close-button, body.sg_elements .close-button.medium {
    right: 12px;
    top: 6px;
    font-size: 2em;
    line-height: 1; }


@media print, screen and (min-width: 40em) {
  body.sg_elements .position-left.reveal-for-medium {
    -ms-transform: none;
        transform: none;
    z-index: 1; }
    body.sg_elements .position-left.reveal-for-medium ~ .off-canvas-content {
      margin-left: 250px; }
  body.sg_elements .position-right.reveal-for-medium {
    -ms-transform: none;
        transform: none;
    z-index: 1; }
    body.sg_elements .position-right.reveal-for-medium ~ .off-canvas-content {
      margin-right: 250px; }
  body.sg_elements .position-top.reveal-for-medium {
    -ms-transform: none;
        transform: none;
    z-index: 1; }
    body.sg_elements .position-top.reveal-for-medium ~ .off-canvas-content {
      margin-top: 250px; }
  body.sg_elements .position-bottom.reveal-for-medium {
    -ms-transform: none;
        transform: none;
    z-index: 1; }
    body.sg_elements .position-bottom.reveal-for-medium ~ .off-canvas-content {
      margin-bottom: 250px; } }

@media print, screen and (min-width: 64em) {
  body.sg_elements .position-left.reveal-for-large {
    -ms-transform: none;
        transform: none;
    z-index: 1; }
    body.sg_elements .position-left.reveal-for-large ~ .off-canvas-content {
      margin-left: 250px; }
  body.sg_elements .position-right.reveal-for-large {
    -ms-transform: none;
        transform: none;
    z-index: 1; }
    body.sg_elements .position-right.reveal-for-large ~ .off-canvas-content {
      margin-right: 250px; }
  body.sg_elements .position-top.reveal-for-large {
    -ms-transform: none;
        transform: none;
    z-index: 1; }
    body.sg_elements .position-top.reveal-for-large ~ .off-canvas-content {
      margin-top: 250px; }
  body.sg_elements .position-bottom.reveal-for-large {
    -ms-transform: none;
        transform: none;
    z-index: 1; }
    body.sg_elements .position-bottom.reveal-for-large ~ .off-canvas-content {
      margin-bottom: 250px; } }


body.sg_elements.is-reveal-open {
  overflow: hidden; }

html.is-reveal-open,
html.is-reveal-open body.sg_elements {
  min-height: 100%;
  overflow: hidden;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none; }

body.sg_elements .reveal-overlay {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000005;
  display: none;
  background-color: rgba(10, 10, 10, 0.2);
  /* overflow-y: scroll; 31.01.2021 */  
  font-size: .875rem;
  font-weight: 400;
}

.styleguide_code:not(.reveal) {
  padding: 0px 12px 0px 2px;
}

.gallery_sg > .styleguide_code {
    padding: 0px !important;
}

.styleguide_code > a {
    position: absolute;
    left: 6px;
    top: 8px;
    width: 30px;
    text-align: center;
    padding-top: 6px;
    height: 29px;
}

.styleguide_code:not(.reveal) > a {
    left: calc(100% - 34px);
    top: -9px;
    bottom: auto;
}

.styleguide_code > a:hover > i, 
.sg_col > a:hover > i {
    color: var(--font-color-dark);
}

.styleguide_code .fi-arrow-right {
    color: var(--h3-icon-color);
}

.styleguide_code .fi-arrow-right:hover {
    color: var(--font-color-dark);
}

body.sg_elements .open-in-backend {
    color: var(--h3-icon-color);
    display: none;
} 

body.sg_elements.php-version .open-in-backend {
    display: inline-block !important;
}

body.sg_elements .reveal {
  z-index: 1000006;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  display: none;
  padding: 1.75rem 2.4rem 2.4rem 2rem;
  border: 1px solid var(--border-color-light);
  border-radius: 0;
  background-color: var(--color-white);
  position: relative;
  top: 100px;
  margin-right: auto;
  margin-left: auto;
  overflow-y: auto; 
  box-shadow: 0 2px 4px 0px var(--shadow-2), 0 4px 5px 0 var(--shadow-2), 0 1px 10px 0 var(--shadow-2);
}

body.sg_elements[data-color-scheme="dark"] .reveal {
  background-color: var(--light-bg-color);
}

[data-whatinput='mouse'] .reveal { outline: 0; }

@media print, screen and (min-width: 40em) {
    body.sg_elements .reveal {
      min-height: 0; } }

body.sg_elements .reveal .column, body.sg_elements .reveal .columns, body.sg_elements .reveal .columns {
    min-width: 0; }

body.sg_elements .reveal > :last-child {
    margin-bottom: 0; }

@media print, screen and (min-width: 40em) {
    
    body.sg_elements .reveal {
      width: 600px;
      max-width: 75rem; 
      max-height: 80vh;
    } 

    body.sg_elements .reveal .reveal {
      right: auto;
      left: auto;
      margin: 0 auto; 
    } 
    
}

body.sg_elements .reveal.collapse {
    padding: 0; }

@media print, screen and (min-width: 40em) {
    body.sg_elements .reveal.tiny {
      width: 30%;
      max-width: 75rem; } }

@media print, screen and (min-width: 40em) {
    body.sg_elements .reveal.small {
      width: 50%;
      max-width: 75rem; } }

body.sg_elements .reveal.full {
    top: 0;
    left: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    height: 100vh;
    min-height: 100vh;
    margin-left: 0;
    border: 0;
    border-radius: 0; }

@media screen and (max-width: 50em) {
    body.sg_elements .reveal, 
    .styleguide_code.reveal {
      top: 0 !important;
      left: 0 !important;
      width: 100% !important;
      max-width: none;
      height: 100%;
      height: 100vh;
      min-height: 100vh;
      margin-left: 0;
      border: 0;
      border-radius: 0; } 
    
    div.reveal.image_modal > div {
      height: 100%;
    }
    
    body.sg_elements .open-in-backend {
        display: none;
    }
}

@media screen and (max-width: 47.5em) {
      
    body.sg_elements .sg_left_col, 
    body.sg_elements .sg_right_col {
        float: none;
        width: 100%;
        margin: 1rem 0;
        max-width: none; 
    }
    .reveal textarea.html-code, 
    .reveal textarea.css-code,
    .reveal textarea.js-code, 
    .reveal textarea.html-code:focus,
    .reveal textarea.css-code:focus,
    .reveal textarea.js-code:focus,
    textarea.html-code.a_js, 
    textarea.css-code.a_js, 
    textarea.js-code.a_js {
        height: 150px !important;
    }
    .styleguide_code > a {
        right: 30px;
        top: 42px;
    }
    
}

#styleguide-albums {
  margin-left: -1px;
}

#styleguide-albums > span {
    display: inline;
    margin-right: 8px;
    background-color: var(--font-color-light);
    font-size: 12px;
    color: var(--color-white);
    font-weight: var(--font-weight-hf);
    line-height: 12px;
    padding: 6px 11px 4px 13px;
    border-radius: 15px;
    letter-spacing: 0.025rem;
    cursor: pointer;
    margin-bottom: 10px;
}

#styleguide-albums span.active {
  background-color: var(--primary-color);
}

#styleguide-albums span:hover, #albums span.active:hover {
  background-color: var(--font-color-dark);
}

@media only screen and (orientation:landscape) {
    body.sg_elements div.reveal.image_modal div.sg_img {
        height: 50vh;
        max-height: 500px;
    }
}

@media only screen and (max-height:640px) and (orientation:landscape) {
    
    body.sg_elements .reveal, 
    body.sg_elements .reveal.large, 
    body.sg_elements .styleguide_code.reveal {
      top: 0 !important;
      left: 0 !important;
      width: 100% !important;
      max-width: none;
      height: 100%;
      height: 100vh;
      min-height: 100vh;
      margin-left: 0;
      border: 0;
      border-radius: 0;
      padding-top: 7vh;
    }
    
    div.reveal.image_modal > div {
      height: 100%;
    }
    
    body.sg_elements div.reveal.image_modal div.sg_img {
        height: 45vh;
    }
    
    .reveal textarea.html-code, .reveal textarea.css-code, .reveal textarea.js-code, 
    .reveal textarea.html-code:focus, .reveal textarea.css-code:focus, .reveal textarea.js-code:focus {
        height: 68vh;
    }
    
    .styleguide_code > a {
        top: 9vh;
    }
    
}

@media screen and (max-width: 60em) {
    div.reveal.image_modal textarea.css-code,
    div.reveal.image_modal textarea.html-code,
    div.reveal.image_modal textarea.js-code,
    div.reveal.image_modal h3,
    div.reveal.image_modal div.col-right > div,
    div.reveal.image_modal div.col-right > div.dateinfo_sg {
        width: 100%;
        max-width: 380px;
    }
}

@media screen and (max-width: 50em) {
    
    div.reveal.image_modal span.icons > nav {
        font-size: 11px;
        line-height: 1.2;
        width: calc(100vw - 4rem);
    }
    
    div.reveal.image_modal > div > div {
        width: 100%;
        display: block;
        height: 50vh;
    }
    
    div.reveal.image_modal div.col-right {
        padding: 2rem;
        padding-top: 5rem;
        overflow: hidden;
        overflow-y: auto;
    }
    
    div.reveal.image_modal h3 {
        font-size: 1rem;
    }
    
    div.reveal.image_modal > button.close-button {
        right: 1.275rem;
        top: calc(50vh + 1rem);
    }
    
    body.sg_elements .sg-slider {
        margin: -30px auto 4vh;
    }
    
    body.sg_elements div.reveal.image_modal div.sg_img {
        height: 32.5vh;
    }
    
    div.reveal.image_modal textarea.css-code {
        width: calc(100vw - 4rem);
        max-width: 380px !important;
        height: 80px !important;
    }
    
    div.reveal.image_modal .atom_sec textarea.css-code,
    div.reveal.image_modal .atom_sec textarea.js-code,
    div.reveal.image_modal .atom_sec textarea.html-code {
        width: calc(100vw - 4rem);
        max-width: 380px !important;
        height: 55px !important;
    }   

}

@media screen and (max-width: 25em) {
    
    div.reveal.image_modal span.icons > nav {
        font-size: 10px;
        line-height: 1.15;
        width: calc(100vw - 2.5rem);
    }
    body.sg_elements .sg-slider {
        margin: -30px auto 3vh;
    }
    div.reveal.image_modal span.icons {
        left: 1.25rem;
    }
    div.reveal.image_modal > div > div {
        padding: 3.3rem 2rem;
    }
    div.reveal.image_modal div.col-right {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    div.reveal.image_modal div.col-right div {
        margin-bottom: 9px;
    }
    div.reveal.image_modal div.col-right div.dateinfo_sg {
        display: none;
    }
    div.reveal.image_modal textarea.css-code,
    div.reveal.image_modal .atom_sec textarea.css-code,
    div.reveal.image_modal .atom_sec textarea.js-code,
    div.reveal.image_modal .atom_sec textarea.html-code {
        width: calc(100vw - 2.5rem) !important;
        min-width: calc(100vw - 2.5rem) !important;
        max-width: calc(100vw - 2.5rem) !important;
    }
    select.aliasse {
        width: 100% !important;
    }
}

div.sg-image h3.styleguide > div.in-h3 {
    width: 100%;
}

h3.styleguide > a.fi-list,
h3.styleguide > i.fi-list,
h3.styleguide > a.fi-arrow-down {
    margin-left: 18px;
    margin-top: 1px; 
    cursor: pointer;
}

h3.styleguide > a.open-in-tab {
    margin-right: 0;
    float: right;
}

h3.styleguide svg.download-icon {
  float: right;
  position: relative;
  margin-right: 17px;
  top: 3px;
  fill: var(--h3-icon-color);
  cursor: pointer;
}

h3.styleguide svg.download-icon:hover {
  fill: var(--font-color-dark);
}

div.sg-image h3.styleguide > i.fi-list {
    display: none;
}





h1.styleguide {
    margin-left: -2px;
}
h1.styleguide > img {
    display: none;
}
div.h2.styleguide {
    padding: 18px 0 0 0;
}
h3.styleguide {
  background-color: var(--bg-color-h3);
  border-bottom: var(--line-h3);
  border-left: var(--blw_h3) solid var(--bg-color-h3);
  border-bottom-left-radius: 0px;
  color: var(--h3-icon-color);
  height: 40px;
  width: 100%;
  padding: 9px 16px 9px 15px;
  margin-bottom: 1.75rem; 
}
div.gallery_sg h3.styleguide {
  background-color: transparent;
  border-left: none;
  color: var(--h3-icon-color);
  height: auto;
  width: 100%;
  padding: 5px 5px 5px 2px;
  margin-bottom: 0.1rem;
  font-weight: 600;
   border-bottom: none;
}

.gallery_sg .sg_col > div {
  margin-left: 2px;
  color: var(--h3-icon-color);
  font-size: 0.75rem;
}

.gallery_sg .styleguide_code {
  margin-top: 12px;
}

.element-wrapper {
    position: relative;
}

.xoverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255,82,82,0.1);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    z-index: +1;
}

.xename {
    position: absolute;
    top: 0;
    left: 0;
    width: auto;
    height: auto;
    padding: 3px 7px;
    background-color: rgba(255,82,82,1);
    opacity: 0;
    font-weight: var(--font-weight-hf);
    color: var(--color-white);
    font-size: 0.75rem;
    transition: opacity 0.3s ease-in-out;
    z-index: 999999999999999;
    cursor: pointer;
}

.sgx .sgx:hover .xoverlay, .sgx .sgx .xoverlay:hover, .element-wrapper:hover .xoverlay,
.sgx .sgx:hover .xename, .sgx .sgx .xename:hover, .element-wrapper:hover .xename {
    opacity: 1;
}


body.sg_elements .reveal.without-overlay {
    position: fixed; 
}

.reveal.in_sg {
  color: var(--font-color-light);
}

.reveal.in_sg a {
    text-decoration: none;
    white-space: nowrap;
    color: var(--primary-color);
}

.reveal.in_sg a:hover {
    text-decoration: none;
    white-space: nowrap;
    color: var(--font-color-medium);
    cursor: pointer;
}

.reveal.in_sg b {
    color: var(--primary-color);
    line-height: 1.5;
    font-size: 0.75rem;
}



body.sg_elements .founded {
    background-color: var(--primary-color) !important;
    color: var(--light-bg-color) !important;
    font-weight: bold !important;
    border-color: var(--primary-color) !important;
}

h3.styleguide:target {
    font-weight: var(--font-weight-hf) !important;
    border-color: var(--primary-color) !important;
    padding-right: 10px;
}

h3.styleguide:target .fi-information {
    color: var(--primary-color);
}

h3.styleguide:target .fi-information:hover {
    color: var(--font-color-dark); 
}

h3.styleguide:target * {
    color: var(--primary-color) !important;
    fill: var(--primary-color) !important;
}

h3.styleguide:target > *:hover, h3.styleguide:target > *:hover * {
    color: var(--font-color-dark) !important;
    fill: var(--font-color-dark) !important;
}



@media screen and (max-width: 45em) {

    div.styleguide {
        padding: calc(0.65rem + 1.5%) 20px calc(3rem + 1.5%) 20px;
    }
    .styleguide .gallery_sg {
        display: inline-block;
        height: 260px;
        width: 48.1%;
        margin-right: 2.5%;
        margin-bottom: 1rem;
    }
    .styleguide .gallery_sg .color {
        border-radius: var(--cbf);
    }
    .styleguide > .fpflag:nth-child(even) .gallery_sg {
        margin-right: 0;
    } 
    h1.styleguide {
        font-size: 2rem;
    }
    h1.styleguide > img {
        width: 42px;
        height: 42px;
        margin: -6px 6px 0 -6px;
    }
    .styleguide .x-small_sg {
        font-size: 0.875rem;
    }
    /*.icon_upload, .icon_upload:hover {
        margin-top: -1px;
    }*/
}

@media screen and (max-width: 37.5em) {
    
    .gbx {
    width: calc(50% - 8px)
    }
    
    .styleguide .gallery_sg {
        height: 200px;
    }  
    
    .dontshow_xs {
        display: none;
    }

    body.sg_elements h3 svg.download-icon {
        margin-right: 9px;
    }

    body.sg_elements .open-in-tab {
        margin-right: 10px;
    }

    body.sg_elements .comment-icon {
        margin-left: 10px;
    }
    
    h3.styleguide .fi-information {
        margin-left: 10px;
    }
    
    h3.styleguide > a.fi-list,
    h3.styleguide > i.fi-list,
    h3.styleguide > a.fi-arrow-down {
        margin-left: 10px;
    }
    
}

@media screen and (max-width: 32em) {
    
    /* Hide scrollbar for Chrome, Safari and Opera */
    html::-webkit-scrollbar {
      display: none;
    }
    /* Hide scrollbar for IE, Edge and Firefox */
    html {
      -ms-overflow-style: none;  /* IE and Edge */
      scrollbar-width: none;  /* Firefox */
    }
    .gbx {
      width: 100%;
    }
    /*
    div.styleguide {
      padding: calc(0.65rem + 1.5%) 0px calc(3rem + 1.5%) 0px;
    }
    h1.styleguide {
      padding-right: 10px;
      padding-left: 15px;
    }
    h2.styleguide.style_types {
      padding: 5px 10px 6px 14px;
      width: calc(100% - 28px) !important;
      margin-left: 14px !important;
      margin-right: 14px !important;
      font-size: 1.25rem;
    }
    div.h2.styleguide {
      padding: 5px 10px 0px 14px;
    }
    h3.styleguide {
      padding: 5px 10px 5px 14px;
    }
    .styleguide .gallery_sg .color, .styleguide .x-small_sg {
      margin-left: 14px !important;
      margin-right: 14px !important;
      width: calc(100% - 28px) !important;
    }
    */
}

@media screen and (max-width: 25em) {
    
    body.htm-file div.styleguide.no-padding h3.styleguide {
        display: none;
    }
    div.styleguide.no-padding h3.styleguide + .clearfix {
        top: unset;
    }
    .styleguide .gallery_sg {
        display: inline-block;
        height: var(--cbz);
        width: 100%;
        margin-right: 0;
    }
    section.styleguide {
        margin-bottom: 1rem;
    }
    body.sg_elements .icon_upload {
        margin-top: 0 !important;
    }
    
}