/* ### FURRIES FOR KIDS DESIGN ### */

:root {
  --f4k-green: #8dde1a;
  --f4k-green-dark: #71b315;
  --f4k-green-light: #b9e972;
  --f4k-blue: #38c5d6;
  --f4k-blue-dark: #2d9eab;
  --f4k-blue-darker: #167b87;
  --f4k-blue-light: #77d7e3;
  --f4k-blue-lighter: #b6eaf0;
  --f4k-grey: #f0f0f0;
  --f4k-grey-medium: #cdcecf;
  --f4k-grey-dark: #9d9e9f;
  --f4k-grey-light: #f4f5f7;
  --f4k-black: #000;
  --f4k-white: #fff;
  --f4k-red: #f44;
  --f4k-orange: #ffbb00;
  --f4k-orange-light: #ffdd55;
  --input-color: #666;
}


/* ### FURRIES FOR KIDS FONTS ### */

@font-face {
  font-family: "Chewy";
  src: url("../fonts/Chewy.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "EdoSZ";
  src: url("../fonts/EdoSZ.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "IcoMoon";
  src: url("https://static.furries4kids.org/fonts/IcoMoon-Free.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "SourceSansPro";
  src: url("../fonts/SourceSansPro-Light.woff") format("woff");
  font-display: swap;
}

:root {
  --font-family-text: SourceSansPro, sans-serif;
  --font-family-headline: Chewy;
  --font-family-highlight: EdoSZ;
  --font-family-symbols: IcoMoon;
}


/* ### REACTIVE SIZING DEFAULTS ### */

:root {
  --box-2col-width: 50.00%;
  --box-3col-width: 33.33%;
  --box-4col-width: 25.00%;
  --box-5col-width: 20.00%;
}


/* ### PAGE DEFAULTS ### */

* {
  box-sizing: border-box;
}

html, body {
  color: var(--f4k-blue-dark);
  height: 100%;
  margin: 0;
  padding: 0;
  width: 100%;
}

body {
  font-family: var(--font-family-text);
  overflow-y: scroll;
}

body.noscroll,
body.mfp-noscroll {
  overflow-y: hidden;
}

a {
  color: var(--f4k-blue-dark);
  text-decoration: none;
}

a.read-more::after {
  content: "\00bb";
  margin-left: 6px;
}

button, input[type="submit"] {
  border: none;
}

h1, h2, h3, h4, h5, h6 {
  font-size: 1rem;
  font-weight: normal;
  margin: 0 0 10px;
}
h1 {
  font-family: var(--font-family-highlight);
  letter-spacing: 1px;
}
h2 {
  font-size: 1.3rem;
}
h3 {
  font-size: 1.1rem;
}
h3.small {
  margin: 10px 0 0;
  font-size: 1rem;
  font-weight: bold;
}

header h2,
header h3,
footer h2,
footer h3,
section:not(.content-section) h2,
section:not(.content-section) h3,
h2.alt,
h3.alt {
  font-family: var(--font-family-headline);
  letter-spacing: 1px;
}

section.content-section [itemprop=articleBody] > h2 {
  font-weight: bold;
  letter-spacing: 1px;
}
section.content-section [itemprop=articleBody] > h3 {
  letter-spacing: 1px;
  text-decoration: underline;
}

img {
  max-width: 100%;
}
img.circle {
  border-radius: 50%;
}
img.block {
  display: block;
  margin: var(--text-spacing-large) auto;
}
img.pull-left {
  float: left;
  margin-right: 20px;
}
img.pull-right {
  float: right;
  margin-left: 20px;
}

ol, ul {
  list-style-position: outside;
  margin: 0 0 0 1em;
  padding: 0;
}

ol {
  list-style-type: decimal;
}

ul {
  list-style-type: square;
}

ul.p {
  margin-bottom: 10px;
}

ul.space li {
  margin: 10px 0;
}

[itemprop=articleBody] > ul {
  margin-bottom: 10px;
}

p {
  margin: 0 0 10px;
}

p > a:not(.button),
p > em > a:not(.button),
p > strong > a:not(.button),
p > span > a:not(.button),
label > a:not(.button),
[itemprop=articleBody] a:not(.button) {
  border-bottom: dotted 1px;
}

p > a.plain,
p > span > a.plain,
label > a.plain,
[itemprop=articleBody] a.plain {
  border-bottom: none;
}

p.center,
h2.center,
h3.center {
  text-align: center;
}

p.highlight,
p.highlight a,
h2.highlight,
h2.highlight a,
h3.highlight,
h3.highlight a,
strong.highlight {
  color: var(--f4k-green-dark);
}

p.red {
  color: var(--f4k-red);
}

p.grey {
  color: var(--f4k-grey-medium);
}

span.warn {
  color: red;
  font-family: var(--font-family-highlight);
  font-weight: bold;
}

small {
  color: inherit;
}

table {
  border-collapse: collapse;
}

td {
  padding: 0 10px 0 0;
}
td.center {
  text-align: center;
}
td.right {
  text-align: right;
}

th {
  font-weight: bold;
  padding: 0 10px 5px 0;
  text-align: left;
}

.noscreen,
.hidden {
  display: none;
}

@media only screen and (min-width: 1024px) {
  .nodesktop {
    display: none;
  }
}

@media only screen and (max-width: 1023px) {
  .nomobile {
    display: none;
  }
}


/* ### NAVIGATION DEFAULTS ### */

nav ul {
  display: flex;
  list-style: none;
  margin: 0;
}


/* ### CONTENT WRAPPER ### */

.content-wrapper {
  margin: auto;
  max-width: 100%;
  padding: 0 var(--box-spacing);
  position: relative;
  width: var(--wrapper-width);
}


/* ### ANCHOR HOVER EFFECT ### */

:root {
  --trans-hover-fnc: ease-in-out;
  --trans-hover-time: .3s;
}

a, button, input[type="submit"], .trans {
  transition-duration: var(--trans-hover-time);
  transition-property: background-color, border-color, color, opacity, text-shadow, transform;
  transition-timing-function: var(--trans-hover-fnc);
}
a:hover, button:hover, input[type="submit"]:hover {
  color: var(--f4k-green);
}


/* ### FORMULARS ### */

fieldset {
  border: none;
  margin: 0;
  padding: 0;
}

form {
  position: relative;
}

form input,
form select,
form button {
  margin: 4px 0;
}

form input,
form textarea,
form select {
  font-family: var(--font-family-text);
  font-weight: bold;
}

form input[type="text"],
form input[type="email"],
form input[type="number"],
form textarea,
form select,
.f4k-file-wrapper {
  width: 400px;
}

form input[type="text"],
form input[type="email"],
form input[type="number"],
form select {
  height: 40px;
}

form input[type="text"],
form input[type="email"],
form input[type="number"],
form textarea,
form select {
  background-color: var(--f4k-white);
  border: lightgrey solid 1px;
  border-bottom: var(--f4k-blue-dark) solid 2px;
  border-radius: 3px;
  box-shadow: inset 0 0 2px lightgrey;
  color: var(--input-color);
  outline: none;
  padding: 10px;
}

form select {
  padding: 0 10px;
}
form option {
  color: var(--input-color);
  font-weight: normal;
}

form select.green {
  background-color: var(--f4k-green);
  border-color: var(--f4k-green-dark);
  color: var(--f4k-white);
}
form select.green option {
  color: var(--f4k-white);
}

@media only screen and (max-width: 479px) {
  form input[type="text"],
  form input[type="number"],
  form textarea,
  form select,
  .f4k-file-wrapper {
    width: 100%;
  }
}

form input[type="text"]:focus,
form textarea:focus {
  border-bottom-color: var(--f4k-blue);
}

form input[type="file"] {
  font-size: var(--font-size-small);
  font-weight: normal;
}

form .controls, form .controls strong {
  color: var(--f4k-grey-dark);
}

form .control-label .star {
  color: red;
}

input[type=checkbox] {
  cursor: pointer;
  height: 16px;
  margin-right: 5px;
  width: 16px;
}

input[type=checkbox] + span.checkbox,
input[type=radio] + span.radio {
  background-color: white;
  border: lightgrey solid 1px;
  border-radius: 50%;
  display: inline-block;
  height: 30px;
  position: relative;
  width: 30px;
}
input[type=checkbox].small + span.checkbox,
input[type=radio].small + span.radio {
  height: 20px;
  width: 20px;
}

input[type=checkbox]:checked + span.checkbox::before {
  color: var(--f4k-blue);
  content: "\ea10";
  display: inline-block;
  font-family: var(--font-family-symbols);
  font-size: 20px;
  font-style: normal;
  height: 20px;
  left: 4px;
  position: absolute;
  top: 2px;
  width: 20px;
}
input[type=checkbox].small:checked + span.checkbox::before {
  font-size: 12px;
  height: 12px;
  left: 3px;
  top: 3px;
  width: 12px;
}

input[type=radio]:checked + span.radio::before {
  background-color: var(--f4k-blue);
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 18px;
  left: 5px;
  position: absolute;
  top: 5px;
  width: 18px;
}
input[type=radio].small:checked + span.radio::before {
  height: 12px;
  left: 3px;
  top: 3px;
  width: 12px;
}

input[type=checkbox]:disabled + span.checkbox,
input[type=radio]:disabled + span.radio {
  background-color: var(--f4k-grey);
}

input[type=checkbox]:disabled:checked + span.checkbox::before {
  color: var(--f4k-grey-dark);
}

input[type=radio]:disabled:checked + span.radio::before {
  background-color: var(--f4k-grey-dark);
}

input[type=checkbox] + span.checkbox,
input[type=checkbox]:checked + span.checkbox::before {
  border-radius: 0;
}

input[type=checkbox] + span.switch {
  background-color: var(--f4k-white);
  border: var(--f4k-grey-dark) solid 2px;
  border-radius: 15px;
  cursor: pointer;
  display: inline-block;
  height: 30px;
  position: relative;
  width: 60px;
}

input[type=checkbox] + span.switch::before {
  background-color: var(--f4k-grey-dark);
  border-radius: 50%;
  content: "";
  display: inline-block;
  height: 22px;
  left: 2px;
  position: absolute;
  top: 2px;
  width: 22px;
}

input[type=checkbox]:checked + span.switch {
  background-color: var(--f4k-green);
  border-color: var(--f4k-green);
}

input[type=checkbox]:checked + span.switch::before {
  background-color: var(--f4k-white);
  transform: translateX(30px);
}

input[type=checkbox]:disabled + span.switch {
  background-color: var(--f4k-grey);
  border-color: var(--f4k-grey);
  cursor: not-allowed;
}

input[type=checkbox]:disabled + span.switch::before {
  background-color: var(--f4k-white);
}

@media only screen and (max-width: 1279px) {
  form input[type="text"],
  form input[type="number"] {
    height: 30px;
    padding: 5px;
  }

  form select {
    height: 30px;
    padding: 0;
  }
}

@media only screen and (max-width: 579px) {
  input[type=radio] + span.radio {
    height: 20px;
    width: 20px;
  }

  input[type=radio]:checked + span.radio::before {
    height: 12px;
    left: 3px;
    top: 3px;
    width: 12px;
  }
}

.f4k-file-wrapper {
  border: lightgrey solid 1px;
  border-radius: 3px;
  box-shadow: inset 0 0 2px lightgrey;
  outline: var(--f4k-blue-dark) dashed 2px;
  outline-offset: -10px;
  padding: 20px;
}

.f4k-file-wrapper.dragover {
  outline-color: var(--f4k-blue);
}

.f4k-file-wrapper .controls::before {
  display: block;
  font-size: var(--font-size-x-large);
  margin: 0 0 20px;
  text-align: center;
}

.f4k-file-wrapper label {
  cursor: pointer;
}

.f4k-file-wrapper.dragover label {
  color: var(--f4k-blue);
}


/* ### BUTTONS ### */

.button, input[type="submit"] {
  background-color: var(--f4k-blue-dark);
  border: var(--f4k-blue-dark) solid 2px;
  border-radius: 6px;
  color: var(--f4k-white);
  cursor: pointer;
  display: inline-block;
  font-weight: bold;
  padding: 6px 16px;
  text-align: center;
}
.button:hover, input[type="submit"]:hover {
  background-color: var(--f4k-blue);
  border-color: var(--f4k-blue);
  color: var(--f4k-white);
}

.button.green, input[type="submit"].green {
  background-color: var(--f4k-green);
  border-color: var(--f4k-green);
  color: var(--f4k-white);
  text-shadow: #8a8 1px 0 10px;
}
.button.green:hover, input[type="submit"].green:hover {
  background-color: var(--f4k-white);
  color: var(--f4k-green);
  text-shadow: none;
}

@media only screen and (min-width: 1024px) {
  .button.small {
    padding: 0px 4px;
  }
}

@media only screen and (max-width: 1279px) {
  .button, input[type="submit"] {
    border-radius: 2px;
    padding: 3px 8px;
  }
}


/* ### TABLES ### */

table.grid {
  border-collapse: separate;
  width: 100%;
}

table.grid th,
table.grid td {
  padding: 5px;
}

table.grid thead th {
  background-color: var(--f4k-blue-dark);
  color: var(--f4k-white);
  text-align: center;
}

table.grid tbody tr.even td {
  background-color: var(--f4k-grey-light);
}

table.grid tbody tr.odd:last-child td {
  border-bottom: var(--f4k-grey-light) solid 2px;
}

table.radios td {
  padding-top: 10px;
}

table.radios label {
  cursor: pointer;
}

table.space {
  margin-bottom: var(--text-spacing-large);
}


/* ### ICONS ### */

[class*="icon-"]::before {
  font-family: var(--font-family-symbols);
  font-size: 82%;
  font-style: normal;
  margin-right: .5em;
}
.icon-about::before {
  content: "\e972";
}
.icon-address::before {
  content: "\e903";
}
.icon-bell::before {
  content: "\e951";
}
.icon-check::before {
  content: "\ea10";
}
.icon-circle::before {
  content: "\ea56";
}
.icon-circle-checked::before {
  content: "\ea54";
}
.icon-circle-right::before {
  content: "\ea42";
}
.icon-config::before {
  content: "\e995";
}
.icon-contact::before {
  content: "\e970";
}
.icon-donate::before {
  content: "\e9da";
}
.icon-fax::before {
  content: "\e954";
}
.icon-home::before {
  content: "\e900";
}
.icon-mail::before {
  content: "\e945";
}
.icon-menu::before {
  content: "\e9bd";
}
.icon-news::before {
  content: "\e91a";
}
.icon-next::before {
  content: "\ea3c";
}
.icon-phone::before {
  content: "\e942";
}
.icon-prev::before {
  content: "\ea40";
}
.icon-shop::before {
  content: "\e93a";
}
.icon-signout::before {
  content: "\ea14";
}
.icon-signup::before {
  content: "\ea11";
}
.icon-upload::before {
  content: "\e960";
}
.icon-web::before {
  content: "\e9c9";
}

.icon-facebook::before {
  content: "\ea91";
}
.icon-instagram::before {
  content: "\ea92";
}
.icon-twitter::before {
  content: "\ea96";
}
.icon-youtube::before {
  content: "\ea9d";
}

button[class*="icon-"] {
  cursor: pointer;
}
button[class*="icon-"]::before {
  margin-right: 0;
}

button[class*="icon-"].graph {
  background-color: var(--f4k-white);
  font-size: 0 !important;
  overflow: hidden;
  padding: 0;
}
button[class*="icon-"].graph::before {
  display: block;
  font-size: 28px;
  height: 28px;
  line-height: 28px;
  padding: 2px;
}

button[class*="icon-"].green {
  color: var(--f4k-green);
}
button[class*="icon-"].green:hover {
  background-color: var(--f4k-green);
  color: var(--f4k-white);
}


/* ### SOCIAL MEDIA ### */

[class*="social-"] {
  background-image: url(/assets/icons/contact.png);
  background-size: 128px;
  display: inline-block;
  height: 40px;
  overflow: hidden;
  padding: 0;
  text-indent: -1000px;
  width: 40px;
}
.social-fb {
  background-position: 0 0;
}
.social-ig {
  background-position: -88px -44px;
}
.social-tw {
  background-position: -44px 0;
}
.social-yt {
  background-position: -88px 0;
}


/* ### PAYMENT ICONS ### */

[class*="payment-"] {
  background-image: url("/assets/icons/payment.png");
  background-repeat: no-repeat;
  display: inline-block;
  height: 40px;
  text-align: initial;
  text-indent: -10000px;
  vertical-align: middle;
  width: 123px;
}
.payment-cash {
  background-position: 10px -160px;
}
.payment-cash.cut {
  background-position-x: -32px;
  width: 38px;
}
.payment-creditcard {
  background-position: 10px -200px;
}
.payment-creditcard.cut {
  background-position-x: 0;
  width: 102px;
}
.payment-eps {
  background-position: 10px -280px;
}
.payment-eps.cut {
  background-position-x: -23px;
  width: 62px;
}
.payment-paypal {
  background-position: 10px -80px;
}
.payment-paypal.cut {
  background-position-x: 0;
  width: 102px;
}
.payment-paysafe {
  background-position: 10px -360px;
}
.payment-paysafe.cut {
  background-position-x: 0;
  width: 103px;
}
.payment-prepaid {
  background-position: 10px 0;
}
.payment-prepaid.cut {
  background-position-x: -32px;
  width: 38px;
}
.payment-sepa {
  background-position: 10px -328px;
}
.payment-sepa.cut {
  background-position-x: -6px;
  width: 92px;
}
.payment-sofort {
  background-position: 10px -120px;
}
.payment-sofort.cut {
  background-position-x: -22px;
  width: 58px;
}


/* ### FLAGS ### */

.flag-at {
  background-image: url(https://static.furries4kids.org/icons/flags-iso/48/at.png);
}
.flag-de {
  background-image: url(https://static.furries4kids.org/icons/flags-iso/48/de.png);
}
.flag-en {
  background-image: url(https://static.furries4kids.org/icons/flags-iso/48/gb.png);
}

ul.flags {
  list-style-type: none;
  margin: 0;
}

ul.flags li {
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
  padding-left: 36px;
}


/* ### BRUSHES ### */

[class*="brush-"] {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-block;
}
.brush-1, .brush-nm-1 {
  background-image: url(../assets/brushes/brush-1.png);
}
.brush-2, .brush-nm-2 {
  background-image: url(../assets/brushes/brush-2.png);
}
.brush-3, .brush-nm-3 {
  background-image: url(../assets/brushes/brush-3.png);
}
.brush-4, .brush-nm-4 {
  background-image: url(../assets/brushes/brush-4.png);
}
.brush-5, .brush-nm-5 {
  background-image: url(../assets/brushes/brush-5.png);
}
.brush-6, .brush-nm-6 {
  background-image: url(../assets/brushes/brush-6.png);
}
.brush-7, .brush-nm-7 {
  background-image: url(../assets/brushes/brush-7.png);
}
.brush-8, .brush-nm-8 {
  background-image: url(../assets/brushes/brush-8.png);
}
.brush-9, .brush-nm-9 {
  background-image: url(../assets/brushes/brush-9.png);
}
.brush-10, .brush-nm-10 {
  background-image: url(../assets/brushes/brush-10.png);
}
.brush-11, .brush-nm-11 {
  background-image: url(../assets/brushes/brush-11.png);
}
.brush-12, .brush-nm-12 {
  background-image: url(../assets/brushes/brush-12.png);
}
.brush-13, .brush-nm-13 {
  background-image: url(../assets/brushes/brush-13.png);
  padding: 4.2% 14% 1% 9%;
}
.brush-14, .brush-nm-14 {
  background-image: url(../assets/brushes/brush-14.png);
}
@media only screen and (max-width: 1023px) {
  [class*="brush-nm-"] {
    background-image: unset;
    padding: unset;
  }
}


/* ### CIRCLE ### */

.circle-wrapper {
  margin: 0 auto;
  position: relative;
}

.circle-wrapper::before {
  background: transparent url('../assets/circles/circle-256.png') no-repeat center center;
  background-size: cover;
  content: '';
  display: block;
  filter: drop-shadow(calc(var(--header-height) * .01) calc(var(--header-height) * .01) calc(var(--header-height) * .02) #ccc);
  height: 100%;
  position: absolute;
  width: 100%;
}

.circle-wrapper img {
  border-radius: 50%;
  height: 72%;
  left: 14%;
  position: absolute;
  top: 14%;
}

.circle-wrapper h3 {
  font-size: 1rem;
  margin: 0 auto;
  position: relative;
  top: 66%;
  z-index: 1;
}

.circle-wrapper h3 a {
  color: white;
  background-color: var(--f4k-blue);
  border: white solid 2px;
  display: inline-block;
  font-family: var(--font-family-highlight);
  padding: 1px 10px;
}

.circle-wrapper h3 a[class*="brush-"] {
  color: var(--f4k-blue);
  background-color: unset;
  border: unset;
  filter: drop-shadow(calc(var(--header-height) * .02) calc(var(--header-height) * .02) calc(var(--header-height) * .05) #bbb);
  padding: 6px 1px 10px;
  width: 90%;
}


/* ### FLEX BOXES ### */

:root {
  --box-spacing: 20px;
}

.box-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style: none;
  margin: calc(0px - var(--box-spacing));
}
.box-wrapper.left {
  justify-content: left;
}
.box-wrapper.middle {
  align-items: center;
}

.box-wrapper.flex2 .box {
  width: var(--box-2col-width);
}
.box-wrapper.flex3 .box {
  width: var(--box-3col-width);
}
.box-wrapper.flex4 .box {
  width: var(--box-4col-width);
}
.box-wrapper.flex5 .box {
  width: var(--box-5col-width);
}

.content-section .box-wrapper {
  margin-top: 0;
}

.box-wrapper.space {
  margin-top: var(--section-spacing);
}

.box {
  display: inline-block;
  padding: var(--box-spacing);
  position: relative;
}
.box.center {
  text-align: center;
}


/* ### SLICK ### */

.slick-slider {
  position: relative;
}

.slick-slider > button {
  position: absolute;
}

.slick-list {
  display: block;
  width: 100%;
}

.slick-track {
  margin-left: unset;
  margin-right: unset;
}

.slick-arrow {
  background-color: var(--f4k-green);
  border: var(--f4k-green) solid 3px;
  color: var(--f4k-white);
}
.slick-arrow:hover {
  background-color: var(--f4k-white);
  border-color: var(--f4k-green);
  color: var(--f4k-green);
}

.slick-disabled,
.slick-disabled:hover {
  background-color: var(--f4k-grey);
  border-color: var(--f4k-grey);
  color: var(--f4k-white);
}

.f4k-gallery {
  cursor: pointer;
}
