/* 
Theme Name:		 YOOtheme Child
Theme URI:		 http://childtheme-generator.com/
Description:	 yootheme-child is a child theme of YOOtheme, created by ChildTheme-Generator.com
Author:			 nikcenter
Author URI:		 http://childtheme-generator.com/
Template:		 yootheme
Version:		 1.0.15
Text Domain:	 yootheme-child
*/

/*
 * Header styles
 */
.tm-header,
.tm-header :is(div:not(.uk-navbar-dropdown), nav),
.tm-header-mobile {
    max-height: 80px;
}

.uk-navbar-nav>.pll-parent-menu-item.uk-active>a::before,
.uk-navbar-nav>.pll-parent-menu-item:hover>a::before,
.uk-navbar-nav>.pll-parent-menu-item>a[aria-expanded=true]::before {
    display: none;
}

.tm-header .lang-item {
    margin-top: 26px;
    color: #fff;
    text-indent: -9999px;
    background: url("/wp-content/uploads/2023/03/ua-lang.png") no-repeat;
    width: 40px;
    height: 25px;
}

.tm-header .lang-item-ru {
    background: url("/wp-content/uploads/2023/03/ru-lang.png") no-repeat;
}

/*
 * Homepage styles
 */
.home .uk-section-default .el-meta time+a[href*="novyny-kompaniy"] {
    padding: 5px;
    background: #0f4798;
    color: #fff;
}

/*
 * Single styles
 */

 /*
.expand-img{
    width: 90vw !important;
    max-width: 90vw !important;
    margin: 2% calc(-45vw + 50%);
} 
*/

.single .tm-main .uk-container :not(.exp-big):not(.exp-med):is(img:not([alt="YouTube video"]), iframe) {
    width: 100% !important;
    height: 100%;
    max-width: 680px;
}


/*
.single .tm-main .uk-container :not(.exp-big):not(.exp-med):is(img:not([alt="YouTube video"]), iframe) {
    width: 100% !important;
    max-width: 680px;
}
*/




.single .uk-container-small {
    max-width: 680px;
}

.single .tm-main .uk-container img:not([alt="YouTube video"]) {
    /* overwrite inline styles */
    height: auto !important;
}

.single article figure {
    width: 100% !important;
    height: auto;
}

.single article figcaption {
    margin: 10px;
    font-size: 0.9em !important;
    font-weight: 700 !important;
}

/*
 * Footer styles
 */
.uk-section-secondary .form .form-description {
    font-size: 18px;
    margin: 0;
}

.uk-section-secondary .wpforms-container {
    margin: 0;
}

.uk-section-secondary .wpforms-container .wpforms-form {
    display: flex;
}

.uk-section-secondary .wpforms-container .wpforms-field-container:first-of-type {
    flex-basis: 100%;
}

.uk-section-secondary .wpforms-container .wpforms-field-container:first-of-type .wpforms-field-medium {
    max-width: 99%;
    height: 45px;
}

@media (min-width: 640px) {
    .uk-section-secondary .form .form-description {
        margin-top: 10px;
        margin-right: 40px;
        height: 45px;
        text-align: right;
        line-height: 45px;
        font-size: 22px;
    }
}