/* Copyright (C) YOOtheme GmbH, http://www.gnu.org/licenses/gpl.html GNU/GPL */

/* ========================================================================
   Use this file to add custom CSS easily
 ========================================================================== */
em {
    color: inherit;
}
.uk-navbar-nav > li > a[href='#']{
    cursor: default;
}
/*Шапка сайта*/
.uk-container {
    max-width: 1585px;
}

.header-style2 .tm-headerbar {
    background: url("/templates/megastar/images/headerBg.jpg") no-repeat center;
    background-size: cover;
}

.header-fullwidth .tm-headerbar .uk-container-center {
    padding-top: 15px;
}

.tm-headerbar .uk-container-center > .headerBlock, .bottom-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.headerLeft {
    flex-basis: 415px;
    display: flex;
    flex-direction: column;
}

.headerRight {
    flex-basis: calc(100% - 415px - 50px);
}

.tm-headerbar .headerRight .uk-panel, .tm-headerbar .headerRight .tm-header-bar {
    max-width: none;
    overflow: hidden;
}
.tm-headerbar .headerRight .uk-panel:first-child{
	width: 100%;
}
.tm-headerbar .headerRight .uk-panel:last-child{
	width: calc(100% - 220px);
}
.header-style2 .menu-wrapper {
    border: none;
}

.tm-headerbar .infoContainer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tm-headerbar .infoContainer > div:first-child {
    margin-right: 20px;
}

.tm-headerbar .infoContainer > div:first-child p {
    color: #ccc;
    text-align: right;
    font-size: 31px;
    line-height: 29px;
    font-family: Calibri, serif;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.tm-headerbar .infoContainer > div:last-child p,
.bottom-b-wrapper .infoContainer > div:first-child p{
    margin-bottom: 0;
    font-size: 26px;
    line-height: 23px;
    color: #ff9900;
}

.header-style2 .menu-wrapper .uk-container {
    padding: 0;
}
#tmMainMenu > .uk-navbar{
	width: 100%;
}
.uk-navbar-nav{
	width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.uk-navbar-nav > li > a {
    color: #ff9900;
    font-family: Calibri, serif;
    font-size: 22px;
    text-transform: uppercase;
    line-height: 35px;
    height: 35px;
}

.uk-navbar-nav > li > a:first-child {
    padding-left: 0;
}
.uk-navbar-nav > li.uk-active > a, .uk-navbar-nav > li > a:hover,
.uk-navbar-nav > li:hover > a, .uk-navbar-nav > li > a:focus, .uk-navbar-nav > li.uk-open > a{
    color: #e9e9e9;
}
.uk-navbar-nav > li > a:active{
    background: none;
}
.tm-headerbar .infoContainer * + p, .bottom-b-wrapper .infoContainer * + p {
    margin-top: 5px;
}
.uk-dropdown:not(.uk-dropdown-stack) > .uk-dropdown-grid > [class*='uk-width-']{
	padding: 0 10px;
}

#offlajn-ajax-search611 {
    margin-top: 16px;
}
.sloganImg{
    max-width: 800px;
    padding-right: 17px;
}
.uk-sticky-placeholder, .header-style2.headertype-sticky .tm-headerbar {
    height: 270px !important;
}

.uk-open > .uk-dropdown-navbar {
    top: 41px !important;
}

.menu-wrapper > .uk-container.uk-container-center {
    max-height: 56px;
}

.underLogoText p {
    font-size: 32px;
    color: #ff9900;
    line-height: 50px;
    margin-bottom: 0;
}

.underLogoText .bigFont {
    font-size: 50px;
}

/*************/

/*Главная*/
#qx-section-671 p{
    margin: 0;
}
/*****************Блок новостей*****************/
.CatTitle{
	font-size: 30px;
	margin-bottom: 20px;
}
.cat-image{
	text-align: center;
	margin-bottom: 35px;
}
/*Фильтр вопросов*/
.k2CategoriesListBlock{
	margin-bottom: 30px;
}
.k2CategoriesListBlock .CatTitle {
  background-color: #f8f8f8;
  font-size: 1.5rem;
  line-height: normal;
  font-weight: bold;
  color: #434343;
  padding: 0.5em;
}

.k2CategoriesListBlock .cat-container {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 1rem;
}
.k2CategoriesListBlock .cat-container > div {
  margin-right: 2rem;
}
.k2CategoriesListBlock .cat-container > div:not(.parent) a {
  color: #ffa200;
}
.k2CategoriesListBlock .cat-container > div:nth-child(2n) a {
  color: #02ab4d;
}
.k2CategoriesListBlock .cat-container > div a {
  font-size: 1.125rem;
  font-weight: bold;
  border-bottom: 2px dotted;
  padding-bottom: 0.125em;
}
.k2CategoriesListBlock .cat-container > div a:hover {
  color: #ee1a30;
}

/****************/
.content-module-main {
    position: absolute;
    width: 100%;
    transition: all 0.5s linear 0s;
    z-index: 1;
}

.content-module-main.none {
    opacity: 0;
    z-index: 0;
}

.content-switcher {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 650px;
    margin: 0 auto 25px auto;
}

.content-switcher div {
    padding: 4px 10px;
    font-size: 16px;
    color: #3c9029;
    margin: 10px;
    border: 1px solid #3c9029;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s linear 0s;
}

.content-switcher div:hover, .content-switcher div.active-tab {
    background: #ffba00;
    color: #fff;
    border-color: #ffba00;
}

.MegastarBPost .detailHolder {
    background: none;
    position: static;
    padding: 20px 0 0;
    max-width: 235px;
    margin: 0 auto;
}

.MegastarBPost h3.moduleItemTitle {
    letter-spacing: normal;
    font-weight: bold;
    line-height: 12px;
    text-align: center;
}

.MegastarBPost h3.moduleItemTitle a {
    color: #102e0a;
    font-size: 12px;
    text-transform: none;
    font-weight: bold;
}

.MegastarBPost .introText {
    text-align: justify;
}

.MegastarBPost .moduleItemReadMore {
    text-align: center;
}

.MegastarBPost .moduleItemReadMore a {
    color: #102e0a;
    text-decoration: underline;
    font-size: 12px;
    font-weight: bold;
}

.MegastarBPost .moduleItemReadMore a:hover {
    color: #ffba00;
}
.su-heading-inner{
    font-style: italic;
}
/*********/
/*Футер*/
.bottom-b-wrapper{
    background-position: center;
    background-size: cover;
}
.bottom-b-wrapper .bottom-container {
    padding: 15px 30px;
}
.bottom-container .uk-panel:first-child{
    flex-basis: 903px;
}
.bottom-container .uk-panel:last-child{
    flex-basis: calc(100% - 903px);
}
.bottom-b-wrapper .infoContainer > div:last-child{
    margin-top: 10px;
}
.bottom-b-wrapper .infoContainer > div:last-child p{
    color: #999;
    font-size: 24px;
    line-height: 24px;
    text-align: right;
    font-style: italic;
    margin: 0;
}
.bottom-b-wrapper .infoContainer > div:first-child p{
    text-align: right;
}
/*Карточка товара*/
div.title {
    text-align: center;
}

/*****************/
/*Наши работы*/
.portfolio-table {
    width: 100%;
    border-collapse: collapse;
}

.portfolio-table th, .portfolio-table td {
    border: 1px solid #000;
    text-align: left;
    color: #000;
	padding-left: 10px;
}

.ItemBlog .itemTitle {
    font-weight: bold;
}

.portfolio-title {
    margin-bottom: 30px;
}
.bottom-container .infoContainer.left{
	display: flex;
    flex-wrap: wrap;
}
.bottom-container .infoContainer.left > div:last-child{
	flex-basis: calc(100% - 185px);
	box-sizing: border-box;
	padding-left: 20px;
}
.bottom-container .infoContainer.left > div:last-child p{
	text-align: left;
}
#tmMainMenu > .uk-navbar {
	float: right;
	margin-right: 0;
}
.uk-navbar-nav > li:last-child > a:first-child{
	padding: 0;
}
div.item-Author-Latest-Related, div.ItemBlog div.ItemText{
	margin: 0;
}
#itemListLeading{
	overflow-y: auto;
}
/*************/
@media (max-width: 1560px) {
	.header-style2 .tm-headerbar > .uk-container{
		padding-top: 10px;
		padding-bottom: 10px;
	}
	
    .tm-headerbar .infoContainer > div:first-child p {
        font-size: 25px;
        line-height: 23px;
    }

    .tm-headerbar .infoContainer > div:last-child p, .bottom-b-wrapper .infoContainer > div:first-child p {
        font-size: 20px;
        line-height: 17px;
    }

    .sloganImg {
        max-width: 590px;
    }

    #offlajn-ajax-search611 {
        width: 170px;
        margin-top: 10px;
    }
	
	.tm-headerbar .headerRight .uk-panel:last-child{
		width: calc(100% - 170px);
	}
	.headerLeft{
		flex-basis: 360px;
	}
	.tm-logo, .auto-hw-logo{
		height: auto !important;
	}
	.headerRight{
		flex-basis: calc(100% - 360px - 50px);
	}
    .uk-navbar-nav > li > a {
        font-size: 16px;
    }
    .underLogoText p {
        line-height: 48px;
    }
    .underLogoText .bigFont {
        font-size: 48px;
    }
    .header-style2 .menu-wrapper{
		margin-top: 0;
	}
    .bottom-container .uk-panel:first-child{
        flex-basis: 702px;
    }
    .bottom-container .uk-panel:last-child{
        flex-basis: calc(100% - 702px);
    }
}
@media(min-width: 1400px){
	.bottom-b-wrapper{
		margin-top: 100px;
	}
}
@media(max-width: 1300px){
	.headerLeft{
		flex-basis: 30%;
	}
	.headerRight{
		flex-basis: calc(70% - 20px);
	}
	.underLogoText .bigFont{
		font-size: inherit;
	}
	.tm-headerbar .infoContainer > div:first-child{
		flex-basis: calc(100% - 170px - 20px);
	}
	.tm-headerbar .infoContainer > div:first-child p{
		text-align: left;
	}
	.tm-headerbar .headerRight .uk-panel:last-child{
		width: 100%;
	}
	#k2ModuleBox608 .blog-post-inner{
		padding: 10px;
	}
	.bottom-container .uk-panel:first-child{
		flex-basis: 60%;
	}
	.bottom-container .uk-panel:last-child{
		flex-basis: 40%;
	}
}
@media(max-width: 959px){
	.tm-headerbar .headerRight .uk-panel:last-child{
		display: none;
	}
	.headerBlock .underLogoText{
		display: none;
	}
	.tm-offcanvas{
		position: absolute;
    	top: 5px;
    	right: 10px;
	}
	.uk-navbar-toggle{
		font-size: 25px;
		color: #fff;
	}
	
	
	#qx-text-7866 *, #suhead5a54ae97660fc.su-heading .su-heading-inner,
	#suhead5a54ae9768ef8.su-heading .su-heading-inner{
		font-size: 18px;
		line-height: 18px;
	}
	#qx-bdt_heading-18620 .su-heading-inner{
		font-size: 18px !important;
		line-height: 18px !important;
	}
	#qx-blurb-47248 h4, #qx-blurb-66328 h4,
	#qx-blurb-81334 h4, #qx-blurb-31336 h4,
	#qx-blurb-80330 h4, #qx-blurb-11338 h4,
	#qx-text-4541 *{
		font-size: 16px;
		line-height: 16px;
		text-align: center;
	}
	
	
	.bottom-container .uk-panel:first-child{
		display: none;
	}
	.bottom-container .uk-panel:last-child{
		flex-basis: 100%;
	}
	.bottom-container .infoContainer > div:first-child{
		display: flex;
    	flex-wrap: wrap;
    	justify-content: space-around;
	}
	.bottom-container .infoContainer > div:first-child p{
		margin: 0;
		padding: 5px;
	}
}
@media(max-width: 959px) and (min-width: 768px){
	.headerBlock{
		padding-right: 30px;
	}
}
@media(max-width: 767px){
	.headerRight{
		flex-basis: calc(70% - 5px);
	}
	.header-style2 .tm-headerbar > .uk-container{
		padding: 10px;
	}
	.tm-headerbar .infoContainer{
		flex-wrap: wrap;
	}
	.tm-headerbar .infoContainer > div:first-child{
		flex-basis: 100%;
    	margin-right: 0;
    	padding-right: 20px;
	}
	.tm-headerbar .infoContainer > div:first-child p{
		text-align: center;
	}
	.tm-headerbar .infoContainer > div:last-child{
		flex-basis: 100%;
		display: flex;
    	flex-wrap: wrap;
    	justify-content: center;
	}
	.tm-headerbar .infoContainer > div:last-child p, 
	.bottom-b-wrapper .infoContainer > div:first-child p,
	.bottom-b-wrapper .infoContainer > div:last-child p{
		margin: 0;
		padding: 5px;
		font-size: 15px;
	}
	.tm-offcanvas{
		right: 5px;
	}
	
	.su-counter-number{
		font-size: 55px !important;
	}
	.su-counter-text{
		font-size: 20px !important;
	}
	
	
	.bottom-b-wrapper .bottom-container, .bottom-container .uk-panel:last-child{
		padding: 0 !important;
	}
	.bottom-b-wrapper > .uk-container{
		padding: 10px;
	}
}
@media(max-width: 479px){
	.tm-headerbar .uk-container-center > .headerBlock{
		justify-content: center;
	}
	.headerLeft{
		flex-basis: 50%;
	}
	.headerRight{
		margin-top: 10px;
		flex-basis: 100%;
	}
	.tm-headerbar .infoContainer > div:first-child{
		padding-right: 0;
	}
	.uk-offcanvas-bar{
		width: 70%;
	}
	
	
	.vm-product-container .vm-product-media-container{
		width: 100%;
		float: none;
	}
}