/* !Blog (Author: mail@jandousek.cz) */

/*
  Adjust form-search
  ---
*/

.head-page .form-search {
  float: right;
  margin-top: -60px;
}

/*
  Adjust nav-tags
  ---
*/

.head-page .nav-tags {
  margin-top: 32px;
}
/*
  Adjust nav-sub
  ---
*/

.head-page .nav-sub {
  margin-top: 54px;
}

/*
  Adjust metadata
  ---
*/

.head-page .metadata {
  margin-top: 42px;
}

/*
  form-search
  ***
*/

.form-search {
  position: relative;
  font-size: 0;
}

/*
  input
  ---
*/

.form-search__input {
  display: inline-block;
  vertical-align: middle;
  padding: 12px 24px 14px 24px;
  border: 1px solid #ADB3BF;
  outline: none;
}

/*
  button
  ---
*/

.form-search__button {
  width: 50px;
  height: 50px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
  padding: 0 24px;
  background-color: #fff;
  border: 2px solid #01284D;
  outline: none;
  font-size: 0;
  transition: 150ms linear;
}

/* hover */

.form-search__button:hover {
  background-color: #01284D;
}

/*
  SVG
  ...
*/

.form-search__button svg {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  fill: #01284D;
  transition: inherit;
}

/* hover */

.form-search__button:hover svg {
  fill: #fff;
}

/*
  nav-tags
  ***
*/

.nav-tags {
  text-align: center;
  font-size: 0;
}

/*
  LINK
  ---
*/

.nav-tags a {
  display: inline-block;
  padding: 6px 12px;
  line-height: 1.5;
  text-decoration-thickness: 1px;
  font-weight: 500;
  font-size: 18px;
}




/*
  nav-sub
  ***
*/

.nav-sub {
  overflow-x: auto;
  overflow-y: hidden;
  background-color: #FFBC3E;
}
.nav-sub__inset {
  width: 100%;
  display: table;
}

/*
  LINK
  ---
*/

.nav-sub a {
  display: table-cell;
  vertical-align: middle;
  padding: 22px 24px;
  border-right: 1px solid #FFD28E;
  line-height: 1.4;
  text-align: center;
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 500;
  font-size: 22px;
  white-space: nowrap;
  color: #002D59;
  transition: 150ms linear;
}

/* hover */

.nav-sub a:hover {
  background-color: #FFD28E;
}

/*
  Gaps
  ---
*/

.nav-sub a:last-child {
  border-right: none;
}

/*
  item-category
  ***
*/

.item-category__inset__inset {
  width: 100%;
  position: relative;
  display: table;
  direction: ltr;
}

@media only screen and (min-width: 951px) {

  /*
    - align
    ---
  */

  .item-category--align-right .item-category__inset__inset {
    direction: rtl;
  }

}

/*
  Adjust item-new
  ---
*/

.item-category .item-new {
  width: 248px;
  display: table-cell;
  vertical-align: middle;
  padding: 86px 72px;
  background-color: #fff;
  border: 1px solid #E6E5E5;
  border-left: none;
}
.item-category .item-new__inset {
  direction: ltr;
}

@media only screen and (min-width: 951px) {

  /*
    - align
    ...
  */

  .item-category--align-right .item-new {
    border-left: 1px solid #E6E5E5;
    border-right: none;
  }

}

/*
  label
  ---
*/

.item-category__label {
  position: relative;
  margin: 0;
  color: inherit;
}

/*
  title
  ---
*/

.item-category__title {
  position: relative;
  margin: 0;
  color: inherit;
}

/*
  content
  ---
*/

.item-category__content {
  position: relative;
  display: table-cell;
  vertical-align: middle;
  background-color: #002D59;
  color: #fff;
}
.item-category__content__inset {
  width: 336px;
  float: left;
  padding: 86px 72px;
  direction: ltr;
}

@media only screen and (min-width: 951px) {

  /*
    - align
    ...
  */

  .item-category--align-right .item-category__content__inset {
    float: right;
  }

}

/*
  Adjust button
  ...
*/

.item-category__content .button {
  position: relative;
  margin: 42px 0 0 0;
  background-color: #002D59;
}

/*
  Adjust subtitle
  ...
*/

.item-category__content .subtitle {
  margin-bottom: 6px;
  color: #89B3DD;
}

/*
  image
  ---
*/

.item-category__image {
  pointer-events: none;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  background: center center no-repeat;
  background-size: cover;
}

/*
  Gradient
  ...
*/

.item-category__image:before {
  content: '';
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  background: linear-gradient(to right, rgba(0,45,89,1) 0%,rgba(0,45,89,1) 40%,rgba(0,45,89,0) 100%);
}

@media only screen and (min-width: 951px) {

  /*
    - align
  */

  .item-category--align-right .item-category__image:before {
    background: linear-gradient(to left, rgba(0,45,89,1) 0%,rgba(0,45,89,1) 40%,rgba(0,45,89,0) 100%);
  }

}

/*
  tags
  ***
*/

.tags {
  line-height: 1;
  font-size: 0;
}

/*
  item
  ---
*/

.tags__item {
  display: inline-block;
  text-decoration: none;
  font-size: 14px;
  color: #808388;
}

/*
  Dot
  ...
*/

.tags__item:after {
  content: '';
  width: 2px;
  height: 2px;
  display: inline-block;
  vertical-align: middle;
  margin: 0 6px 0 3px;
  background-color: #808388;
}

/*
  Gaps
*/

.tags__item:last-child:after {
  display: none;
}

/*
  author
  ***
*/

.author {
  margin: 0;
  line-height: 1;
  font-weight: 500;
  font-size: 16px;
  color: #002D59;
}

/*
  IMG
  ---
*/

.author img {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  border-radius: 50%;
}

/*
  metadata
  ***
*/

.metadata {
  position: relative;
  font-size: 0;
  color: #2D5C8B;
}

/*
  - line
  ---
*/

.metadata--line:before {
  content: '';
  width: 100%;
  height: 1px;
  position: absolute;
  left: 0;
  top: 50%;
  margin-top: -4px;
  background-color: #F2F2F2;
}

/*
  Adjust tags
  ---
*/

.metadata .tags {
  position: relative;
  float: right;
  margin: 2px 0 0 0;
  padding-left: 32px;
}
.metadata--line .tags {
  background-color: #fff;
}

/*
  Adjust author
  ---
*/

.metadata .author {
  position: relative;
  float: right;
  margin-top: -6px;
  padding-left: 32px;
}
.metadata--line .author {
  background-color: #fff;
}

/*
  icon
  ---
*/

.metadata__icon {
  position: relative;
  bottom: -1px;
  display: inline-block !important;
  vertical-align: middle;
  padding-right: 10px;
}
.--os-mac .metadata__icon {
  bottom: auto;
  top: -2px;
}
.metadata--line .metadata__icon {
  background-color: #fff;
}

/*
  date
  ---
*/

.metadata__date {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  font-weight: 500;
  font-size: 16px;
}
.metadata--line .metadata__date {
  background-color: #fff;
}

/*
  terms
  ...
*/

.metadata__terms {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin: 0;
  padding: 0 32px 0 10px;
  line-height: 1;
}
.metadata--line .metadata__terms {
  background-color: #fff;
}

/*
  item
  ...
*/

.metadata__terms__item {
  display: inline-block;
  vertical-align: middle;
  margin-left: 10px;
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
}

/* hover */

.metadata__terms__item:hover span {
  text-decoration: underline;
}

/*
  Gaps
*/

.metadata__terms__item:first-child {
  margin-left: 0;
}

/*
  Dot
*/

.metadata__terms__item:before {
  content: '';
  width: 4px;
  height: 4px;
  position: relative;
  top: -1px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
  background-color: #2D5C8B;
}

/*
  player
  ***
*/

.player {
  position: relative;
  display: block;
  background-color: #333;
  text-decoration: none;
  color: #fff;
}

/* hover */

.player:hover {
  color: #fff;
}

/*
  image
  ---
*/

.player__image {
  width: 100%;
  display: block;
  text-align: center;
}

/*
  title
  ---
*/

.player__title {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  font-size: 14px;
}

/*
  quote
  ***
*/

.quote {
  position: relative;
  padding: 72px 104px;
  background-color: #EFF1F3;
  font-size: 24px;
  color: #002D59;
}

/*
  Quotes
  ---
*/

.quote:before, 
.quote:after {
  content: '';
  width: 27px;
  height: 21px;
  position: absolute;
  background: center center no-repeat;
  background-size: contain;
}
.quote:before {
  left: 40px;
  top: 40px;
  background-image: url('../img/icons/blue/quote-top.svg');
}
.quote:after {
  right: 40px;
  bottom: 40px;
  background-image: url('../img/icons/blue/quote-bottom.svg');
}

/*
  text
  ---
*/

.quote__text {
  transform: rotate(0.03deg);
  margin: 0;
  line-height: 1.6;
  font-style: italic;
}

/*
  source
  ---
*/

.quote__source {
  quotes: none;
  display: block;
  margin-top: 24px;
  line-height: 1.6;
  font-weight: 700;
  font-size: 17px;
}

/*
  icon
  ...
*/

.player__title:before {
  content: '';
  width: 82px;
  height: 82px;
  display: block;
  margin: 0 auto 12px auto;
  background: #fff url('../img/icons/red/play.svg') center center no-repeat;
  background-size: 56px auto;
  border-radius: 50%;
}

/*
  item-new
  ***
*/

.item-new__inset {
  display: block;
  text-decoration: none;
  font-size: 14px;
  color: #808388;
}

/*
  Adjust label
  ---
*/

.item-new .label {
  margin: 0 0 26px 0;
}

/*
  Adjust tags
  ---
*/

.item-new .tags {
  margin: 22px 0 0 0;
}

/*
  - size
  ...
*/

.item-new--size-small .tags {
  margin-top: 18px;
}


/*
  Adjust metadata
  ---
*/

.item-new .metadata {
  margin: 0 0 22px 0;
}

/*
  - size
  ...
*/

.item-new--size-small .metadata {
  margin-bottom: 18px;
}

/*
  title
  ---
*/

.item-new__title {
  margin: 0;
  font-weight: 500;
  font-size: 22px;
}

/* hover */

.item-new__inset:hover .item-new__title {
  text-decoration: underline;
}

/*
  - size
  ...
*/

.item-new--size-small .item-new__title {
  font-size: 18px;
}

/*
  image
  ---
*/

.item-new__image {
  display: block;
  margin-bottom: 24px;
  font-size: 0;
}

/*
  IMG
  ...
*/

.item-new__image img {
  display: block;
}

/*
  archive-blog
  ***
*/

.archive-blog {
  max-width: 1224px;
  margin: 0 auto;
  padding: 140px 4%;
}

/*
  Adjust head-page
  ---
*/

.archive-blog .head-page {
  padding-top: 0;
}

/*
  - tpl
  ...
*/

.tpl-blog-tag .archive-blog .head-page {
  padding-bottom: 0;
  border-bottom: none;
}


/*
  head
  ---
*/

.archive-blog__head {
  padding-bottom: 0 !important;
  border-bottom: none;
}

/*
  content
  ---
*/

.archive-blog__content {
  margin-top: 72px;
}

/*
  socials
  ---
*/

.archive-blog__socials {
  margin-top: 132px;
}

/*
  Adjust list-socials
  ...
*/

.archive-blog__socials .list-socials {
  float: right;
  margin: 22px 0 0 0;
}

/*
  title
  ...
*/

.archive-blog__socials__title {
  float: left;
  margin: 0;
}

/*
  content
  ...
*/

.archive-blog__socials__content {
  margin-top: 62px;
  font-size: 0;
}

/*
  detail-blog
  ***
*/

.detail-blog {
  max-width: 1224px;
  position: relative;
  margin: 0 auto;
  padding: 120px 4%;
}
.detail-blog__inset {
  width: calc(100% - 248px - 64px);
  float: left;
}

/*
  Adjust head-page
  ---
*/

.detail-blog .head-page {
  padding: 0 !important;
  border-bottom: none;
}

/*
  image
  ---
*/

.detail-blog__image {
  margin-top: 72px;
}

/*
  IMG
  ...
*/

.detail-blog__image img {
  width: 100%;
  display: block;
}

/*
  title
  ...
*/

.detail-blog__image__title {
  margin: 0;
  border-bottom: 2px solid #F2F2F2;
}

/*
  SPAN
*/

.detail-blog__image__title span {
  max-width: 704px;
  display: block;
  margin: 0 auto;
  padding: 20px 0;
  font-size: 14px;
  color: #808388;
}

/*
  content
  ---
*/

.detail-blog__content {
  max-width: 704px;
  margin: 72px auto 0 auto;
}

/*
  Adjust vcard
  ...
*/

.detail-blog__content .vcard {
  margin: 24px 0;
}

/*
  Adjust quote
  ...
*/

.detail-blog__content .quote {
  margin: 72px -104px;
}

/*
  Adjust player
  ...
*/

.detail-blog__content .player {
  margin: 72px -104px;
}

/*
  Adjust gallery
  ...
*/

.detail-blog__content .gallery {
  margin: 72px -116px 54px -116px;
}

/*
  side
  ---
*/

.detail-blog__side {
  width: 248px;
  float: right;
  margin-top: -42px;
  padding-top: 42px;
  padding-bottom: 120px;
}

/* !Responsive (Author: mail@jandousek.cz) */

@media only screen and (max-width: 1400px) {

  .detail-blog__content .player, 
  .detail-blog__content .quote {
    margin-left: -52px;
    margin-right: -52px;
  }
  .detail-blog__content .gallery {
    margin: 52px -64px 52px -64px;
  }

}

@media only screen and (max-width: 1250px) {

  .quote {
    padding: 40px 62px;
    font-size: 20px;
  }
  .quote:before, 
  .quote:after {
    width: 20px;
    height: 16px;
  }
  .quote:before {
    left: 24px;
    top: 24px;
  }
  .quote:after {
    right: 24px;
    bottom: 24px;
  }
  .quote__source {
    margin-top: 18px;
  }

  .detail-blog__content .player, 
  .detail-blog__content .quote {
    margin: 42px 0;
  }
  .detail-blog__content .gallery {
    margin: 42px -12px 16px -12px;
  }

}

@media only screen and (max-width: 1200px) {

  .nav-sub a {
    padding: 16px 20px 18px 20px;
    font-size: 18px;
  }

  .archive-blog {
    padding-top: 64px;
    padding-bottom: 64px;
  }

  .archive-blog__socials {
    margin-top: 84px;
  }
  .archive-blog__socials__content {
    margin-top: 52px;
  }
  .archive-blog__socials .list-socials {
    margin-top: 10px;
  }

  .detail-blog {
    padding-top: 64px;
    padding-bottom: 64px;
  }

}

@media only screen and (max-width: 1100px) {

  .item-category .item-new {
    padding: 62px 72px;
  }
  .item-category__content__inset {
    width: 300px;
    padding: 62px 72px;
  }
  .item-category__content .button {
    margin-top: 26px;
  }

  .detail-blog__inset {
    max-width: 760px;
    width: auto;
    float: none;
    margin: 0 auto;
  }
  .detail-blog aside {
    display: none !important;
  }

}

@media only screen and (max-width: 1000px) {

  .head-page .nav-sub {
    margin-top: 32px;
  }

  .archive-blog__content {
    margin-top: 42px;
  }

}

@media only screen and (max-width: 950px) {

  .item-category__inset__inset {
    width: auto;
    display: block;
  }
  .item-category__content {
    display: block;
  }
  .item-category__content__inset {
    width: auto;
    float: none;
    padding: 42px 54px;
  }
  .item-category .item-new {
    width: auto;
    display: block;
    padding: 42px 54px;
    border-left: 1px solid #E6E5E5
  }

  .head-page .metadata {
    margin-top: 32px;
  }

  .detail-blog__content {
    margin-top: 42px;
  }
  .detail-blog__image {
    margin-top: 42px;
  }

}

@media only screen and (max-width: 800px) {

  .nav-sub a {
    padding: 14px 20px 15px 20px;
    font-size: 17px;
  }

  .head-page .form-search {
    float: none;
    margin: 24px 0 0 0;
  }

  .item-new .tags {
    margin-top: 16px;
  }
  .item-new .metadata {
    margin-bottom: 16px;
  }
  .item-new__title {
    font-size: 20px;
  }

  .item-category__content__inset {
    padding: 32px 42px;
  }
  .item-category__content .button {
    margin-top: 16px;
  }
  .item-category .item-new {
    padding: 32px 42px;
  }

  .archive-blog__socials {
    margin-top: 64px;
  }
  .archive-blog__socials__content {
    margin-top: 42px;
  }

}

@media only screen and (max-width: 750px) {

  .metadata--line:before {
    top: 60%;
  }
  .metadata .author {
    display: none;
  }
  .metadata .tags {
    margin-top: 0;
  }

}

@media only screen and (max-width: 650px) {

  .nav-sub a {
    padding: 13px 18px 15px 18px;
    font-size: 16px;
  }

  .form-search__input {
    padding: 9px 16px 11px 16px;
  }
  .form-search__button {
    width: 40px;
    height: 44px;
  }

  .item-category__content__inset {
    padding: 24px 32px 32px 32px;
  }
  .item-category__content .button {
    margin-top: 16px;
  }
  .item-category .item-new {
    padding: 24px 32px;
  }

  .archive-blog {
    padding-top: 42px;
    padding-bottom: 54px;
  }
  .archive-blog .head-page {
    padding-bottom: 42px;
  }
  .archive-blog__socials {
    margin-top: 54px;
  }
  .archive-blog__socials .list-socials {
    margin-top: 2px;
  }
  .archive-blog__socials__content {
    margin-top: 32px;
  }

  .detail-blog {
    padding-top: 42px;
    padding-bottom: 54px;
  }

}

@media only screen and (max-width: 600px) {

  .quote {
    font-size: 18px;
  }

  .detail-blog__content .player, 
  .detail-blog__content .quote {
    margin: 32px 0;
  }
  .detail-blog__content .gallery {
    margin-top: 32px;
    margin-bottom: 12px;
  }

}

@media only screen and (max-width: 550px) {

  .metadata--line:before {
    display: none;
  }
  .metadata .tags {
    display: none;
  }

  .head-page .metadata {
    margin-top: 24px;
  }

  .detail-blog__content {
    margin-top: 32px;
  }
  .detail-blog__image {
    margin-top: 32px;
  }

}

@media only screen and (max-width: 400px) {

  .form-search__input {
    width: 160px;
  }

}