/*
Theme Name: Silicon
Theme URI: http://silicon.8guild.com/
Author: 8Guild
Author URI: http://8guild.com/
Description: Startup Technology Theme
Version: 1.4.3
License: GNU General Public License v2
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: silicon
Tags: one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, flexible-header, custom-colors, custom-menu, editor-style, featured-images, full-width-template, sticky-post, theme-options, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

Silicon is based on Underscores http://underscores.me/, (C) 2012-2016 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
*/
/*body .intro-app-background{
	background-image: url(http://fcc.su/wp-content/uploads/2019/06/Depositphotos_129514696_xl-2015.jpg) !important;
}*/
body .site-header.header-fullwidth:not(.header-lateral) .navbar-inner{
	height: auto;
}
body .site-content, 
body .content-area, 
body main, 
body .row, 
body .woocommerce-page .container {
    flex-wrap: none !important; /* убираем лишнее */
    align-items: normal !important;
}
.product-tile .product-tile-body {
    padding: 12px !important;
}
input{margin: 0 !important;}
.container, .container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.flex-viewport {
    overflow: hidden !important;
}

.woocommerce-product-gallery {
    max-width: 100%;
    overflow: hidden;
}

.product-title, .product-title a, .navi-link-color {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    white-space: normal !important;
    overflow-wrap: break-word !important;
    line-height: 1.3 !important;
}

.product-tile {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}
.product-tile-body {
    display: flex !important;
    flex-direction: column !important;
    flex-grow: 1 !important;
    justify-content: space-between !important;
}
.product-title {
    flex-grow: 1 !important;
}

@media (max-width: 767px) {
    .owl-carousel, .owl-stage-outer, .owl-stage, .owl-item {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .owl-item {
        margin-bottom: 30px !important;
    }
    .owl-dots {
        display: none !important;
    }
    .product-tile {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}


html, body {
    overflow-x: hidden !important;
}
article.post-1364{
	margin: 25px auto;
}
body .intro-personal .personal-info-wrap{
	display: none;
}
body .intro-personal {
    margin-bottom: 50px;
}
body.home.page .intro-personal.intro-section>.container{
    background: rgba(0,0,0,0);
    padding: 0px;
}
body.page .intro-personal.intro-section>.container{
    background: rgba(0,0,0,0.5);
    padding: 10px;
}
body .navbar-horizontal.navbar-ghost{
    background-color: #00000040;
}
body footer{
	padding-top: 60px;
}
footer ul{
	display: block;
    margin: 0;
    padding: 0;
    list-style: none;
	color: #999999;
}
footer .widget .sub-menu{
	margin-left: 10px;
}
footer .widget .sub-menu li{
	padding: 3px 0px;
}
footer .widget .sub-menu a{
	font-size: 12px;
}
footer ul li {
    position: relative;
    padding: 10px 0;
}
footer .row .container{
	padding: 10px 0px;
}
footer .row .container:first-child{
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
footer .row+.row p{
	text-align: center;
}

#registerform input[type]:not([type=submit]):not([type=button]):not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea {
	max-width: 320px;
    display: inline-block;
}
.form-mail .form-button{
    border: 1px solid #555555;
    border-radius: 30px;    
}
.form-mail{
    text-align: center;
}

.row.padding-bottom-2x .col-md-push-3 {
	left: 12%;
}

.status-publish{
	margin: 10px auto;
    /*width: fit-content;*/
}
.test_contener{
	margin: 50px 0px;
}
.quest_block{
	border-bottom: 1px solid #dddddd;
	padding: 10px 0px;
}
.quest_block li{
	display: flow-root;
	list-style-type: none;
}
.quest_block li>input,
.quest_block li>label{
	float: left;
}
.totalWeidth{
    max-width: 700px;
    margin: 0 auto;
}
.totalWeidth h3{
	margin: 10px auto;
    text-align: center;
    font-size: 24px;
	font-weight: bold;
}
.totalWeidth p{
	margin: 5px auto;
    text-align: center;
    font-size: 14px;
}
.test_contener .finishedButton.active{
	color: #333333;	
    background: #d7e8e5;
}
.test_contener .finishedButton{
	border: 1px solid #777777;
    border-radius: 5px;
    background: #eeeeee;
	color: #eeeeee;
}

.cat-psihologiya .archive-title{
    text-align: center;
}
.cat-psihologiya article{
    border-bottom: 1px solid #eeeeee;
}
.cat-psihologiya h2{
    margin-bottom: 5px;
}
.cat-psihologiya h2 a{
    color: #333333;
    font-weight: bold;
    font-size: 28px;
}

.related.products {
    overflow-x: auto !important;
    overflow-y: hidden !important;
    position: relative;
    padding-bottom: 20px; /* место для скролла */
}

.related.products .owl-carousel {
    display: block !important;
    width: 100% !important;
}

.related.products .owl-stage-outer {
    overflow-x: visible !important;
    width: 100% !important;
}

.related.products .owl-stage {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: auto !important;
    gap: 30px;
}

.related.products .owl-item {
    flex: 0 0 auto !important;
    width: calc(33.333% - 20px) !important;
    margin-right: 0 !important;
}

@media (max-width: 767px) {
    .related.products .owl-item {
        width: calc(100% - 20px) !important;
    }
}

.related.products .owl-dots {
    display: none !important;
}
.col-md-6.col-md-offset-3.col-sm-8.col-sm-offset-2 {
  float: none !important;
}
#text-4,
#text-8 {
    display: none;
}

.row .container .textwidget li {
    text-align: center;
}
.row .container .col-lg-3 li,
.row .container .col-md-3 li,
.row .container .col-sm-6 li,
.row .container .col-xs-12 li,
[class*="col-"] li {
    text-align: left !important; /* или initial, или то, что было по умолчанию */
}

.shop-wrapper {
    width: 100%;
    margin: 6em 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 20px; /* добавляем отступ между категориями и товарами */
}

.product-categories {
    font-family: sans-serif;
    flex: 0 0 250px; /* фиксированная ширина на десктопе, можно менять */
}

.products {
    flex: 1; /* занимает оставшееся место */
    min-width: 0; /* предотвращает переполнение */
}

@media (max-width: 992px) {
    .product-categories {
        flex: 0 0 220px;
    }
        h4,.h4,.portfolio-post .portfolio-tile-title a,.product-tile .product-tile-body .product-title a,.woocommerce-cart .cart-collaterals .carttotals table th {
    font-size: 16px !important;
}
    .adaptive-tile {
        width: calc(33.333% - 12px) !important; /* 3 колонки */
    }
}

@media (max-width: 1240px) {
    .adaptive-tile {
        width: calc(33.333% - 12px) !important; /* 3 колонки */
    }
}

@media (max-width: 768px) {
    .shop-wrapper {
        flex-direction: column; /* категории над товарами */
        gap: 30px;
        margin: 3em 0 0;
    }
    .product-categories {
	flex-direction: column;
        flex: auto;
        width: 100%;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 10px;
    }
    
    .product-categories a {
        display: inline-block;
        padding: 8px 12px;
        background: #f5f5f5;
        border-radius: 30px;
        font-size: 14px;
    }
    
    .products {
        width: 100%;
        margin-left: 0 !important;
    }
    
    .sform .bar {
        flex-direction: column;
        align-items: stretch !important;
    }
    
    .sform form {
        margin: 10px 0 !important;
        width: 100%;
    }
    
    .sform .order {
        width: 100%;
        margin-top: 10px;
    }
    
    /* Карточки товаров – 2 колонки */
    .adaptive-tile {
        width: calc(50% - 12px) !important;
    }
}

@media (max-width: 480px) {
    .adaptive-tile {
        width: 100% !important; /* 1 колонка */
    }

    .product-categories a {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    .product-title {
        font-size: 14px;
    }
}
            .row > div {
                float: left !important; 
                display: table;
                margin: auto;
            }

.row.border-default-top.padding-top-3x {
    display: flex;
    justify-content: center;
}

@media (min-width: 1201px) {
  .adaptive-shop {
    display: flex !important;
    flex-wrap: wrap !important;
    margin: -6px !important;
    padding: 0 !important;
    justify-content: flex-start !important;
  }
  width: 17rem;
  .adaptive-tile {
    flex: 0 0 calc(33.333% - 12px) !important;
    width: calc(33.333% - 12px) !important;
    max-width: none !important;
    margin: 6px !important;
    box-sizing: border-box !important;
  }
  
  .adaptive-filler {
    display: none !important;
  }
}

@media (max-width: 360px) {
	#swc {
    		max-width: 18em !important;
	}
}

.owl-carousel .owl-stage-outer .product-thumb-wrapper{
	max-height:280px;
}
.product-thumb-wrapper {
	height:auto !important;
}
.sform .bar {
    justify-self: center;
}
.woocommerce-no-products-found{
    height: 100vh;
}