/*
Theme Name: Uncode Child
Description: Child theme for Uncode theme
Author: Undsgn™
Author URI: http://www.undsgn.com
Template: uncode
Version: 1.0.0
Text Domain: uncode
*/
#yt-frame>a {
  display: inline-block !important;
}

.post-info .category-info {
  display: none;
}

.post-info .author-info {
  display: none;
}

/*** Global Settings ***/

.t-entry-excerpt {
  line-height: 1.5;
}

/* no link class */

.no_link {
  pointer-events: none;
}

/** Typo **/

/* uncode slider text lead */

.text-lead,
.text-lead>* {
  font-size: 17px !important;
}

/* h3 */

@media (max-width: 959px) {
  .heading-text h3 {
    font-size: 28px !important;
  }
}

/*** Menu ***
    
    /** Menu Items **/

/* transform text to lowerCase @959px*/
@media (max-width: 959px) {

  #menu-main .menu-item a,
  #menu-menu_en .menu-item a {
    text-transform: lowercase;
  }
}

/* disable arrow in menu */
#menu-main .menu-item .fa-angle-right,
#menu-menu_en .menu-item .fa-angle-right {
  display: none;
}

/* remove border / shadow from menu wrapper */
#masthead .menu-container {
  box-shadow: none;
}

/* change font-weight for overlay menu @959px */
@media (max-width: 959px) {

  #menu-main li a,
  #menu-menu_en li a {
    font-weight: 200;
  }
}

/*** Menu Images ***/
@media (max-width: 959px) {

  #menu-main .menu-image-title-below>img,
  #menu-menu_en .menu-image-title-below>img {
    max-width: 200px;
    padding-bottom: 0;
  }

  #menu-main .menu-image-title-below,
  #menu-menu_en .menu-image-title-below {
    padding-bottom: 10px !important;
  }
}

/***
Custom Menu
***/

.vc_wp_custommenu .menu-smart li a {
  font-size: 17px;
  font-weight: 400;
  text-transform: none;
}

@media(max-width: 959px) {
  .vc_wp_custommenu li {
    text-align: left;
  }
}

/*** 
Layout 
**/
@media (max-width: 569px) {

  .main-container .row-container .triple-h-padding,
  .uncode-slider .single-h-padding,
  #logo-container-mobile,
  .mobile-menu-button,
  .staged-padding .owl-stage,
  #colophon .single-h-padding,
  #colophon .menu-smart a {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

/*** Header ***/

@media(max-width: 569px) {
  .home #page-header .header-wrapper .row.single-h-padding {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/*** Portfolio ***/

/** Index **/

/* reduce distance between image and title+descriopton @959px */
@media (max-width: 959px) {

  .page-id-57 .isotope-system .t-entry-text .single-block-padding,
  .home .isotope-system .t-entry-text .single-block-padding {
    padding-top: 18px;
  }
}

/** Detail **/

/* set title-row grid-width */
.single-portfolio .row-portfolio-info {
  max-width: 1800px;
  margin: 0 auto;
  padding-left: 108px;
  padding-right: 108px;
}

.single-portfolio .row-portfolio-info .row {
  padding-left: 0;
  padding-right: 0;
}

@media (max-width: 1499px) {
  .single-portfolio .row-portfolio-info {
    padding-left: 54px;
    padding-right: 54px;
  }
}

@media (max-width: 959px) {
  .single-portfolio .row-portfolio-info {
    padding-left: 36px;
    padding-right: 36px;
  }
}

/*** Blog ***/

/** Blog Detail **/

/* remove border underneath social-share icons */
.post-wrapper .post-share {
  border-bottom: 0px !important;
}

/*** Buttons ***/

/** Global **/

/* set global font-size  */
.btn-container a {
  font-size: 28px !important;
}

/* tablet */
@media (max-width: 959px) {
  .btn-container a {
    font-size: 28px !important;
  }
}

/* phone */
@media (max-width: 569px) {
  .btn-container a {
    font-size: 24px !important;
  }
}

/*** Footer ***/

/** Social Share Icons **/

/* show them in a row */
.footer-social-icons .uncont {
  display: flex;
  flex-direction: row;
}

.footer-social-icons .uncont .icon-box {
  width: auto;
  margin-right: 15px;
}

.footer-social-icons .icon-box .fa-fw {
  width: auto;
}

/** Menu **/
/* transform dark into light menu */
.page-id-94 #contact a,
.page-id-94 #contact .icon-box .fa {
  color: #303133;
}

.page-id-94 #contact a:hover,
#contact li.current-menu-item a {
  color: #ff0000;
}

/* remove horizontal padding */
#colophon .menu-smart {
  padding-left: 0;
  padding-right: 0;
}

#colophon .menu-smart li:first-of-type a {
  padding-left: 0;
}

@media (min-width: 960px) {
  .menu-horizontal .menu-smart>.mega-menu .mega-menu-inner>li>a {
    pointer-events: auto !important;
    cursor: pointer !important;
  }
}

/* mobile menu layout */
@media (max-width: 959px) {
  #colophon .menu-smart {
    display: flex;
    flex-direction: column;
  }

  #colophon .menu-smart li {
    width: auto;
    float: left;
  }

  #colophon .menu-smart a {
    text-transform: none;
  }

  #colophon .menu-smart a {
    padding: 6px 18px 6px 0px;
  }

  #colophon .menu-smart #menu-item-514 {
    width: 100%;
  }

  #colophon .menu-smart #menu-item-514 a {
    padding-left: 0;
  }
}

/** footer rows vertical spacing control **/
@media (max-width: 959px) {
  #colophon>.vc_row:last-of-type>.row {
    padding-top: 0;
  }

  #footer-row>.row {
    padding-bottom: 54px;
  }

  #social-icons .uncont {
    display: flex;
  }

  #social-icons .icon-box {
    margin-top: 0;
    width: 50px;
  }
}

/* disable mobile smart-menu uppercase */
@media (max-width: 959px) {
  #colophon .menu-smart li a {
    text-transform: none;
    font-weight: 400;
  }
}

#sticky-submenu>div {
  padding-top: 26px;
  padding-bottom: 23px;
}

#sticky-submenu.is_stucked {
  transition: top 0.5s ease-in-out;
}

#sticky-submenu:not(.is_stucked) {
  top: 0 !important;
}

#menu-main .mega-menu-inner li a,
#menu-menu_en .mega-menu-inner li a {
  pointer-events: auto;
  cursor: pointer;
}

#masthead .hide-menu {
  visibility: hidden !important;
}

#sticky-submenu.sticky {
  position: fixed !important;
  z-index: 100;
  top: 0;
}

#sticky-submenu.sticky .row-parent {
  padding-bottom: 0;
}

@media (max-width: 959px) {

  #menu-main .mega-menu-inner .menu-image-title,
  #menu-menu_en .mega-menu-inner .menu-image-title {
    font-size: 4vw;
  }
}

@media (max-width: 569px) {

  body .menu-item:has(.menu-image) a,
  body .menu-image-title {
    max-width: 95%;
    min-width: 200px;
    margin: 0 auto 0 0 !important;
  }

  .menu-image-title {
    font-size: 15px;
    text-align: left !important;
  }

  #menu-main>li>a,
  #menu-menu_en>li>a {
    font-size: 5vw !important;
  }

  #menu-interaction {
    margin-top: 10px;
  }
}

@media(max-width: 350px) {

  body.menu-mobile-off-canvas .main-menu-container {
    width: 100% !important;
  }

  .menu-image,
  .menu-image-title {
    min-width: auto;
    max-width: 100%;
  }
}

#menu-onepager li a {
  font-size: 13px;
}

@media (max-width: 959px) {
  #menu-onepager li a {
    text-transform: none;
    font-size: 15px;
    font-weight: 300;
  }

  #menu-onepager li {
    padding: 4px 0;
  }
}

@media (max-width: 959px) {
  #sticky-submenu>div {
    padding-top: 18px;
    padding-bottom: 15px;
  }

  #sticky-submenu .widget-container.widget-style .widget-title {
    border-bottom: 0px !important;
  }

  #sticky-submenu .widget-title {
    text-align: left;
  }

  #sticky-submenu .widget-mobile-collapse .widget-title:after {
    right: 0;
  }

  #sticky-submenu #menu-onepager {
    text-align: left;
  }

  #sticky-submenu .widget-title {
    margin-bottom: 0;
  }

  #sticky-submenu .widget-collapse-content:after {
    border-bottom: 0px;
  }
}

/*** ACCORDION ***/

.style-light .panel {
  border-color: #c9d3c7 !important;
}

.uncode-accordion .panel-title>a span {
  font-size: 16px;
}

@media(min-width: 960px) {
  .uncode-accordion .panel-title span {
    font-size: 24px !important;
    font-weight: 500 !important;
  }
}

@media(max-width: 569px) {
  .uncode-accordion .panel-title>a span {
    font-size: 15px !important;
  }
}

/*** PLACEHOLDER ***/
::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  opacity: 0.5;
}

::-moz-placeholder {
  /* Firefox 19+ */
  opacity: 0.5;
}

:-ms-input-placeholder {
  /* IE 10+ */
  opacity: 0.5;
}

:-moz-placeholder {
  /* Firefox 18- */
  opacity: 0.5;
}

/* #wpforms-1024 .wpforms-field input,
#wpforms-1024 .wpforms-field-select .choices__inner {
  border-color: #f3ebeb;
}

#wpforms-1024 .wpforms-field input:focus,
#wpforms-1024 .wpforms-field-select .choices__inner:focus {
  border-color: #a8b6a8;
} */

.wpforms-submit-container button {
  font-size: 28px !important;
}

@media (max-width: 569px) {
  .wpforms-submit-container button {
    font-size: 24px !important;
  }
}

.choices:focus>.choices__inner,
div .wpforms-container-full input[type="text"]:focus,
div .wpforms-container-full input[type="email"]:focus,
div .wpforms-container-full input[type="phone"]:focus,
div .wpforms-container-full textarea:focus {
  border-color: #3a4644 !important;
  box-shadow: none !important;
}


div.wpforms-container-full .wpforms-form .wpforms-field.wpforms-field-select-style-modern .choices.is-open .choices__list--dropdown {
  box-shadow: none !important;
}

.choices__list.is-active {
  border-color: #3a4644 !important;
}

div.wpforms-container-full .wpforms-form .wpforms-field.wpforms-field-select-style-modern .choices .choices__list--dropdown .choices__item--selectable.is-highlighted {
  background-color: #3a4644 !important;
}

#wpforms-1024-field_19-container,
#wpforms-6508-field_19-container {
  padding: 36px 0;
}

.wpforms-container .choices__inner,
.wpforms-container input,
.wpforms-container .choices__inner:focus,
.wpforms-container input:focus {
  border-color: #a9b2a8 !important;
  box-shadow: none !important;
}

.wpforms-submit {
  height: auto !important;
}

.wpforms-field-label {
  font-weight: 400 !important;
  margin-bottom: 10px !important;
}

.wpforms-field:not(.dsgvo-consent) {
  padding: 10px 0 !important;
}

.dsgvo-consent {
  padding: 20px 0 !important;
}

.wpforms-container .wpforms-field-checkbox .wpforms-field-label-inline {
  font-size: 14px !important;
}

.wpforms-container .wpforms-field-checkbox .wpforms-field-label-inline a {
  text-decoration: underline !important;
}

.wpforms-submit-container button[type="submit"] {
  border: 1px solid #a8b6a8 !important;
}

.wpforms-submit-container button[type="submit"]:focus {
  box-shadow: none !important;
}

/** Galleries */

.carousel-gallery .t-entry-excerpt {
  margin-top: 18px !important;
}

.owl-carousel .tmb-dark .fa-plus2:before {
  color: #fff;
}

/*** 
Owl Carousel 
**/

/** Controls **/

/* remove default control box-shadow */
.owl-dots-inside .owl-dots .owl-dot span {
  box-shadow: none !important;
}

/***
LighBox
**/

/** backdrop **/

.lg-backdrop {
  background-color: #1d2327;
  opacity: 1 !important;
}

/*** 
CUSTOM 
***/

/** Play Button **/

.play-btn {
  padding: 40px 40px !important;
}

.play-btn i {
  margin-right: 0 !important;
  margin-left: 7px;
}

.play-btn:hover .fa-play2:before {
  color: #000;
}

/*** BORLABS ***/

._brlbs-caption input[type="checkbox"]:checked:before {
  content: none;
}

/***
Video-Gallery youtube
***/

.youtube-frame {
  padding-top: 66.7%;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  margin: 0 1px 1px 0;
}

.youtube-frame:hover .youtube-overlay {
  opacity: 1;
}

.youtube-frame:hover img {
  transform: scale(1.09);
}

.youtube-frame iframe {
  position: absolute;
  top: 0;
  left: 0;
  display: none;
}

.youtube-frame img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease-in-out;
}

.youtube-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  opacity: 0;
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  transition: 0.4s ease-in-out;
  background: rgb(0, 0, 0);
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8071603641456583) 0%, rgba(0, 0, 0, 0) 50%);
}

.youtube-overlay p {
  font-size: 20px;
  color: #fff;
  position: absolute;
  bottom: 36px;
  left: 36px;
}

/**********
Custon Breakpoints
**********/
@media(max-width: 1199px) {
  .xl-hidden {
    display: none !important;
  }

  .xl-show {
    display: block !important;
  }
}