/* root */

:root {

  --color-black: #2A2829;
  --color-gray: #F5F5F5;

  --color-yellow: #FAC31B;
  --color-red: #E62A33;
  --color-blue: #0098D4;

  --color-blue-dark: #033F6F;
  --color-purple: #B4193B;
  --color-green: #006F6D;
  --color-orange: #EA5800;

  --font-sans-serif: 'Formular', sans-serif;

}

/* edit */

#editpage {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 3000;
  padding: 5px 15px;
  background: red;
  color: white;
}

/* hover */


a:hover {
  text-decoration: none;
	animation: animation 1s 1 linear;
}

.glide__slides a,
a.uk-transition-toggle {
	animation: none;
}

@keyframes animation {
  0% {
    opacity: .5;
  }
  50% {
    opacity: 1;
  }
}

/* main */

* {
}

html {
}

body {
  font-family:  var(--font-sans-serif);
}

h1, h2, h3, h4, h5, h6 {
  font-family:  var(--font-sans-serif);
  font-weight: 400;
}

.uk-h1, .uk-h2, .uk-h3, .uk-h4, .uk-h5 {
  font-family:  var(--font-sans-serif);
}

.uk-heading-2xlarge, .uk-heading-large, .uk-heading-medium, .uk-heading-small, .uk-heading-xlarge {
  font-family:  var(--font-sans-serif);
}

.uk-navbar-item,
.uk-navbar-nav > li > a,
.uk-navbar-toggle {
  font-family:  var(--font-sans-serif);
}

/* colors */

.uk-light {
  color: white;
}

.uk-section-primary {
  background-color:  var(--color-red);
}

.uk-background-primary {
  background-color:  var(--color-red);
}

.uk-text-primary {
  color:  var(--color-red) !important;
}

.uk-text-secondary {
  color:  var(--color-blue) !important;
}

.uk-section-muted {
  background-color: var(--color-gray);
}

.uk-background-muted {
  background-color: var(--color-gray);
}

.uk-text-danger {
  color:  var(--color-red) !important;
}

/* custom */

.uk-light h3::first-letter {
  color: black;
}

.uk-button-default {
  background-color: transparent;
  color: #333;
  border: 1px solid #333;
}

.uk-input, .uk-select, .uk-textarea {
  border: 1px solid #333;
}

.uk-input:focus, .uk-select:focus, .uk-textarea:focus {
  border-color:  var(--color-red);
}

.uk-table-striped tbody tr:nth-of-type(odd), .uk-table-striped>tr:nth-of-type(odd) {
  border-top: 0;
  border-bottom: 0;
}

.uk-table-striped tbody tr:nth-of-type(2n):last-child, .uk-table-striped>tr:nth-of-type(2n):last-child {
  border-bottom: 0;
}

.uk-table-small td, .uk-table-small th {
  padding: 3px 12px;
}

.uk-table-small.uk-table-striped td, .uk-table-small.uk-table-striped th {
  padding: 6px 12px;
}

/* categories */

#categories {

}

#categories > div:nth-child(3n-2) .uk-cover-container {
  display: block;
  background-color: var(--color-yellow)
}

#categories > div:nth-child(3n-1) .uk-cover-container {
  display: block;
  background-color: var(--color-red)
}

#categories > div:nth-child(3n) .uk-cover-container {
  display: block;
  background-color: var(--color-blue)
}

#categories.even > div:nth-child(3n-2) .uk-cover-container {
  display: block;
  background-color: var(--color-blue)
}

#categories.even > div:nth-child(3n-1) .uk-cover-container {
  display: block;
  background-color: var(--color-yellow)
}

#categories.even > div:nth-child(3n) .uk-cover-container {
  display: block;
  background-color: var(--color-red)
}

/* spin */

#request {
  animation-name: spin;
  animation-duration: 60s;
  animation-iteration-count: infinite;
  animation-timing-function: linear; 
}

#request:hover {
  animation-play-state: paused;
}

@keyframes spin {
  from {
    transform:rotate(0deg);
  }
  to {
    transform:rotate(360deg);
  }
}

/* index glide */

#js-index-glide {

}


#js-index-glide .glide__slide__0 .background {
  background-color: var(--color-red)
}

#js-index-glide .glide__slide__1 .background {
  background-color: var(--color-yellow)
}

#js-index-glide .glide__slide__2 .background {
  background-color: var(--color-blue)
}

#js-index-glide .glide__slide__3 .background {
  background-color: var(--color-yellow)
}


#js-index-glide .glide__slide .uk-flex-bottom .background {
  height: 75%;
  transition: height 0.3s ease-out;
}

#js-index-glide .glide__slide--active .uk-flex-bottom .background {
  height: 100%;
}


#js-index-glide .glide__slide .uk-flex-top .background {
  height: 0%;
  transition: height 0.3s ease-out;
}

#js-index-glide .glide__slide--active .uk-flex-top .background {
  height: 100%;
}


#js-index-glide .glide__slide .uk-flex-middle img {
  opacity: .75;
  transform: scale(.8) rotate(-5deg);
  transition: opacity 0.3s ease-out, transform 0.3s ease-out;
}

#js-index-glide .glide__slide--active .uk-flex-middle img {
  opacity: 1;
}

#js-index-glide .glide__slide:hover .uk-flex-middle img {
  transform: scale(1) rotate(0deg);
  opacity: 1;
}


#js-index-glide .glide__slide .uk-h2 {
  transition: color 0.3s ease-out;
}

#js-index-glide .glide__slide:hover .uk-h2 {
  color: black;
}


#js-index-glide .glide__slide .divider {
  width: 30px;
  height: 20px;
  transition: width 0.3s ease-out;
  background-color: var(--color-black);
}

#js-index-glide .glide__slide:hover .divider {
  width: 200px;
}


#js-index-glide .glide__arrow {

}

#js-index-glide .glide__bullets {
  display: flex;
  gap: 20px;
}

#js-index-glide .glide__bullet {
  background: #D9D9D9;
  border: 2px solid var(--color-gray);
  border-radius: 20px;
  width: 20px;
  height: 20px;
  transition: all 0.3s ease-out;
}

#js-index-glide .glide__bullet--active {
  border: 2px solid var(--color-red);
  background: var(--color-red);
}


/* index glide 2 */

#js-index-glide-2 .glide__bullets {
  display: flex;
  gap: 20px;
}

#js-index-glide-2 .glide__bullet {
  background: #D9D9D9;
  border: 2px solid var(--color-gray);
  border-radius: 20px;
  width: 20px;
  height: 20px;
  transition: all 0.3s ease-out;
}

#js-index-glide-2 .glide__bullet--active {
  border: 2px solid var(--color-red);
  background: var(--color-red);
}

#js-index-glide-2 .glide__slide .uk-flex img {
  width: 75%;
  border: 1px solid #D9D9D9;
  transition: all 0.3s ease-out;
}

#js-index-glide-2 .glide__slide--active .uk-flex img {
  width: 100%;
}

/* tabs */

#tabs {
}

#tabs > div {
  padding: 20px 40px;
}

#tabs > div:not(.uk-active) {
  border-bottom: 1px solid #e5e5e5;
  color: #e5e5e5;
}

#tabs > div.uk-active {
  border-left: 1px solid #e5e5e5;
  border-right: 1px solid #e5e5e5;
  border-top: 1px solid #e5e5e5;
}

/* search */

.uk-search-default {
    width: 150px;
}

.uk-search-default .uk-search-input:focus {
    background-color: rgba(0, 0, 0, 0);
    border-color: var(--color-red);
}