/**
 * Styles
 *
 * @author Lex Lexter <hi@leximo.cz>
 * @version 1.0.0
 * @website https://leximo.cz/
 */

/*
  Bodies
  ***
*/

html, body {
  background-color: #CCEA81;
}
body {
  font: 400 14px Tahoma, 'Trebuchet MS', sans-serif;
  color: #000;
}

/*
  Links
  ***
*/

a {
  text-decoration-thickness: 1px;
  color: #689101;
}
a:active {
  text-decoration-thickness: 1px;
  color: #4d6b00;
}

/*
  Forms
  ***
*/

input, textarea, select, button {
  font: 400 16px Tahoma, 'Trebuchet MS', sans-serif;
}

/*
  button
  ***
*/

.button {
  overflow: hidden;
  display: inline-block;
  padding: 12px 18px 13px 18px;
  background-color: #689101;
  border: none;
  border-radius: 6px;
  line-height: 1;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  color: #fff;
}

/* hover */

.button:hover {
  background-color: #4d6b00;
}

/*
  input
  ***
*/

.input {
  width: 100%;
  box-sizing: border-box;
  background-color: #fff;
  padding: 10px 17px 10px 17px;
  border: 1px solid #838383;
  border-radius: 6px;
  font-size: 13px;
}

/* focus */

.input:focus {
  outline: 0;
  border-color: #689101;
}

/*
  field
  ***
*/

.field {
  margin-bottom: 16px;
}

/*
  field__label
  ---
*/

.field__label {
  display: block;
  margin-bottom: 6px;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.5;
}

/*
  STRONG
  ...
*/

.field__label strong {
  color: #D75951;
}

/*
  field__error
  ---
*/

.field__error {
  display: block;
  margin-top: 8px;
  background-size: 15px 15px;
  font-weight: 700;
  font-size: 13px;
  color: #c93535;
}

/*
  form
  ***
*/

.form {
  margin-bottom: 16px;
}


/*
  flash
  ***
*/

.flash {
  position: relative;
  margin-bottom: 16px;
  padding: 12px 18px 13px 18px;
  border: 1px dashed #838383;
  line-height: 1.5;
  font-weight: 700;
  font-size: 13px;
}

/*
  type-*
  ---
*/

.flash--type-info {
  border-color: #3699C1;
  color: #3699C1;
}
.flash--type-error {
  border-color: #D75951;
  color: #D75951;
}
.flash--type-warning {
  border-color: #E49050;
  color: #E49050;
}
.flash--type-success {
  border-color: #73B585;
  color: #73B585;
}

/*
  form-search
  ***
*/

.form-search {
  position: relative;
  margin-bottom: 16px;
}

/*
  Adjust input
  ---
*/

.form-search .input {
  padding-right: 90px;
}

/*
  Adjust button
  ---
*/

.form-search .button {
  position: absolute;
  right: 0;
  top: 0;
}

/*
  list-galleries
  ***
*/

.list-galleries {
  margin: 0;
  line-height: 1;
  list-style: none;
}

/*
  item
  ---
*/

.list-galleries__item {
  width: 45%;
  width: calc(50% - 8px);
  margin: 0 0 16px 0;
  line-height: 1;
  text-align: center;
}
.list-galleries__item__inset {
  position: relative;
  display: block;
  text-decoration: none;
  font-size: 13px;
  color: #fff;
}

/*
  Zebra
  ...
*/

.list-galleries__item:nth-child(odd) {
  float: left;
}
.list-galleries__item:nth-child(even) {
  float: right;
}

/*
  title
  ...
*/

.list-galleries__item__title {
  position: relative;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  margin: 0;
  padding: 32px 16px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%);
  border-radius: 6px 6px 0 0;
  color: #fff;
}

/*
  params
  ...
*/

.list-galleries__item__params {
  position: relative;
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  margin: 0;
  padding: 24px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%);
  border-radius: 0 0 6px 6px;
  margin: 0;
}

/*
  image
  ...
*/

.list-galleries__item__image {
  display: block;
  border-radius: 6px;
}

/*
  nav-sub
  ***
*/

.nav-sub {
  position: relative;
}

/*
  list
  ---
*/

.nav-sub__list {
  margin: 0;
  list-style: none;
}
.nav-sub__list > li {
  position: relative;
  margin: 0;
  line-height: 1;
}
.nav-sub__list > li > a {
  display: block;
  padding: 6px 16px 4px 16px;
  border-bottom: 1px solid #85b900;
  line-height: 1.5;
  text-decoration: none;
  font-size: 13px;
}
.nav-sub__list > li > ul {
  display: none;
  margin: 0;
  list-style: none;
}
.nav-sub__list > li > ul > li {
  margin: 0;
  line-height: 1;
}
.nav-sub__list > li > ul > li > a {
  display: block;
  padding: 6px 16px 4px 32px;
  border-bottom: 1px solid #85b900;
  line-height: 1.5;
  text-decoration: none;
  font-size: 13px;
}

/* hover */

.nav-sub__list > li > a:hover {
  background-color: #85b900;
  border-bottom-color: #85b900;
  color: #fff;
}
.nav-sub__list > li > ul > li > a:hover {
  background-color: #85b900;
  border-bottom-color: #85b900;
  color: #fff;
}

/* active */

.nav-sub__list > li.--active > a {
  font-weight: 700;
}
.nav-sub__list > li > ul > li.--active > a {
  font-weight: 700;
}

/*
  Show
  ...
*/

.nav-sub__list > li.--active > ul {
  display: block;
}

/*
  ITALIC
  ...
*/

.nav-sub__list > li > i {
  width: 22px;
  height: 22px;
  position: absolute;
  right: 3px;
  top: 3px;
  background-color: #eee;
  border-radius: 6px;
  cursor: pointer;
}

/*
  Icon
*/

.nav-sub__list > li > i:before, 
.nav-sub__list > li > i:after {
  content: '';
  width: 8px;
  height: 2px;
  position: absolute;
  left: 50%;
  top: 50%;
  margin: -1px 0 0 -4px;
  background-color: #85b900;
}
.nav-sub__list > li > i:after {
  transform: rotate(90deg);
}

/* - active */

.nav-sub__list > li.--active > i:after, 
.nav-sub__list > li > i.--active:after {
  display: none;
}

/*
  gallery-images
  ***
*/

.gallery-images {
  margin: 0 -8px;
  font-size: 0;
}

/*
  item
  ---
*/

.gallery-images__item {
  box-sizing: border-box;
  width: 25%;
  display: inline-block;
  padding: 0 8px 16px 8px;
}

/*
  - columns
  ...
*/

.gallery-images--columns-1 .gallery-images__item {
  width: 100%;
}
.gallery-images--columns-2 .gallery-images__item {
  width: 50%;
}
.gallery-images--columns-3 .gallery-images__item {
  width: 33.33%;
}
.gallery-images--columns-4 .gallery-images__item {
  width: 25%;
}
.gallery-images--columns-5 .gallery-images__item {
  width: 20%;
}
.gallery-images--columns-6 .gallery-images__item {
  width: 16.66%;
}
.gallery-images--columns-7 .gallery-images__item {
  width: 14.28%;
}
.gallery-images--columns-8 .gallery-images__item {
  width: 12,5%;
}
.gallery-images--columns-9 .gallery-images__item {
  width: 11.11%;
}
.gallery-images--columns-10 .gallery-images__item {
  width: 10%;
}

/*
  LINK
  ...
*/

.gallery-images__item a {
  display: block;
  padding: 12px;
  background-color: #F3FFD5;
  border: 1px solid #95D001;
  border-radius: 6px;
}

/*
  IMG
  ...
*/

.gallery-images__item img {
  width: 100%;
  display: block;
  border-radius: 4px;
}

/*
  title
  ---
*/

.gallery-images__title {
  margin: -3px 0 16px 0;
  text-align: center;
  font-size: 13px;
}

/*
  LINK
  ...
*/

.gallery-images__title a {
  overflow: hidden;
  display: block;
  padding: 0 16px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/*
  box
  ***
*/

.box {
  overflow: hidden;
  background-color: #95D001;
  border-radius: 6px;
}
.box__inset {
  margin: 6px;
  padding: 16px;
  overflow: hidden;
  background-color: #fff;
  border-radius: 6px;
}

/*
  + Same
  ---
*/

.box + .box {
  margin-top: 8px;
}

/*
  - padding
  ---
*/

.box__inset--padding-content {
  padding-bottom: 0;
}
.box__inset--padding-none {
  padding: 0;
}

/*
  title
  ---
*/

.box__title {
  margin: 0;
  padding: 12px 16px 13px 16px;
  background-color: #689101;
  border-radius: 6px;
  font-size: 14px;
  color: #fff;
}

/*
  - link
  ...
*/

.box__title--link {
  padding: 0;
}

/*
  LINK
  ...
*/

.box__title a {
  display: block;
  padding: 12px 16px;
  color: #fff;
}

/*
  foot
  ---
*/

.box__foot {
  padding: 12px 16px 14px 16px;
  background-color: #F3FFD5;
  border: 6px solid #95D001;
  border-top: 1px solid #95D001;
  border-radius: 12px;
  font-size: 12px;
}

/*
  SPAN, LINK
  ...
*/

.box__foot > span, 
.box__foot > a {
  margin-right: 8px;
}

/*
  Line
*/

.box__foot > span:before {
  content: '';
  width: 1px;
  height: 8px;
  display: inline-block;
  margin-right: 6px;
  background-color: #333;
}

/*
  site-wrap
  ***
*/

.site-wrap {
  max-width: 970px;
  margin: 0 auto;
  padding: 8px 8px 0 8px;
  background-color: #F3FFD5;
  box-shadow: 0 0 32px rgba(0, 0, 0, 0.1);
}

/*
  site-head
  ***
*/

.site-head {
  margin-bottom: 8px;
}
.site-head__inset {
  height: 220px;
  position: relative;
  display: block;
  background: #fff center center no-repeat;
  background-size: cover;
  border-radius: 6px;
  text-decoration: none;
}

/*
  title
  ---
*/

.site-head__title {
  display: block;
  padding: 32px 38px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.65) 0%,rgba(0,0,0,0) 100%);
  border-radius: 6px;
  line-height: 1.6;
  font-weight: 700;
  font-size: 26px;
  color: #fff;
}

/*
  site-breads
  ***
*/

.site-breads {
  margin-bottom: 8px;
  padding: 10px 16px 13px 16px;
  background-color: #86bb01;
  border-radius: 6px;
  font-size: 12px;
  color: #fff;
}
/*
  SMALL, SPAN, LINK
  ---
*/

.site-breads small, 
.site-breads span, 
.site-breads a {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}
.site-breads small {
  position: relative;
  bottom: -1px;
}
.site-breads a {
  color: inherit;
}


/*
  site-content
  ***
*/

.site-content {
  width: calc(100% - 268px);
  float: right;
}

/*
  site-side
  ***
*/

.site-side {
  width: 260px;
  float: left;
}

/*
  foot
  ***
*/

.site-foot {
  margin-top: 8px;
  padding: 14px 16px;
  background-color: #689101;
  text-align: center;
  font-size: 13px;
  color: #fff;
}