/*
Theme Name: Московская академия Бильярда
Theme URI: #
Author: InstallCRM
Author URI: https://installcrm.ru/
Version: 1.0
Text Domain: ul
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/*--------------------------------------------------------------
# Alignments
--------------------------------------------------------------*/
.alignleft {
	display: inline;
	float: left;
	margin-right: 1.5em;
}

.alignright {
	display: inline;
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

/*--------------------------------------------------------------
## Galleries
--------------------------------------------------------------*/
.gallery {
	margin-bottom: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-columns-5 .gallery-item {
	max-width: 20%;
}

.gallery-columns-6 .gallery-item {
	max-width: 16.66%;
}

.gallery-columns-7 .gallery-item {
	max-width: 14.28%;
}

.gallery-columns-8 .gallery-item {
	max-width: 12.5%;
}

.gallery-columns-9 .gallery-item {
	max-width: 11.11%;
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
## Additional styles. Builder not provided
--------------------------------------------------------------*/
.price__bottom{
	text-align: center;
	margin-bottom: 20px;
	width: 100%;
}
.price__bottom .m-button{
	margin: 0 auto;
	padding: 0 30px;
}
.price__item_hidden{
	display: none;
}
.price__button{
	transform: translateY(50%);
}
.price__content{
	flex-wrap: wrap;
}

@media screen and (max-width: 1320px) {
  .price__content {
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
  }
}

@media screen and (max-width: 1100px) {
  .price__content {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}
@media screen and (max-width: 1024px) {
	.adv__img-cont {
		margin-left: auto;
		margin-right: auto;
	}
}
.facebook_icon{
	width: 34px!important;
	opacity: 0.5;
}
.new_slide .main-title{
	color: #000;
/*	height: 50px;*/
}
.video-background {
 background: #000;
 top: 0; right: 0; bottom: 0; left: 0;
 z-index: -99;
}
.video-foreground,
.video-background iframe {
 position: absolute;
 top: 0; left: 0;
 width: 100%; height: 100%;
 pointer-events: none;
}
#vidtop-content {
 top: 0;
}
.nb_n{
	position: relative;
}
@media (max-width: 767px) {
  
}

.container3 {
    position: relative;
    text-align: center;
    color: white;}
.centered3 {
   position: relative;
    text-align: center;
	top: 0px;
    left: 0px;
    }
.centered4 {
   position: absolute;
    top: 15px;
    right: 40px;
    }
.page-id-1248 .first {
    background: none;
    height: auto !important;
    padding: 0;
}
.page-id-1248 .first .wrapper, .page-id-1248 .first .breadcrumbs {
    align-items: flex-start;
    justify-content: flex-start;
}
.page-id-1248 h1.main-title {
    color: #000;
    height: auto !important;
}
.page-id-1248 .first .breadcrumbs {
    margin-top: 80px;
    margin-bottom: 18px;
}
.privacy-agree input[type="checkbox"] {
    width: auto;
    height: auto;
}
.privacy-agree {
    display: flex;
	align-items: center;
}
label input[type="checkbox"], label input[type="radio"]{display:block!important}

body.archive.tax-typeproduct.term-podarochnye-sertifikaty.term-6 ul.tab__list.swiper-wrapper li:nth-of-type(2), 
body.archive.tax-typeproduct.term-podarochnye-sertifikaty.term-6 ul.tab__list.swiper-wrapper li:nth-of-type(3) {
    display: none;
}