@charset "UTF-8";

.clearfix {
	clear: both;
}

section.video_section {
	position: relative;
}

section.video_section .gallery-top {
	margin-top: 30px;
	margin-bottom: 15px
}
section.video_section .gallery-top .swiper-slide .fs-left {
	border: 3px solid #008034;
	border-radius: 5px;
	display: flex;
}
section.video_section .gallery-top .swiper-slide .fs-left iframe {
	width: 100%;
	height: 100%;
}
section.video_section .gallery-top .swiper-slide .fs-right {
	text-align: left;
	border: 1px solid #dedede;
	border-radius: 5px;
	padding: 20px;
}
section.video_section .gallery-top .swiper-slide .fs-right .mb4_right_title {
	font-weight: 700;
}
section.video_section .gallery-top .swiper-slide .fs-right .mb4_right_region {
	color: #0a871e;
	font-weight: 500;
	margin-top: 5px;
}

section.video_section .gallery-top .swiper-slide .fs-right .slide-content p {
	margin-top: 7px;
}

section.video_section .gallery-top .swiper-slide .fs-right p {
    -webkit-hyphens: auto;
    -webkit-hyphenate-limit-before: 3;
    -webkit-hyphenate-limit-after: 3;
    -webkit-hyphenate-limit-chars: 6 3 3;
    -webkit-hyphenate-limit-lines: 2;
    -webkit-hyphenate-limit-last: always;
    -webkit-hyphenate-limit-zone: 8%;

    -moz-hyphens: auto;
    -moz-hyphenate-limit-chars: 6 3 3;
    -moz-hyphenate-limit-lines: 2;
    -moz-hyphenate-limit-last: always;
    -moz-hyphenate-limit-zone: 8%;

    -ms-hyphens: auto;
    -ms-hyphenate-limit-chars: 6 3 3;
    -ms-hyphenate-limit-lines: 2;
    -ms-hyphenate-limit-last: always;
    -ms-hyphenate-limit-zone: 8%;

    hyphens: auto;
    hyphenate-limit-chars: 6 3 3;
    hyphenate-limit-lines: 2;
    hyphenate-limit-last: always;
    hyphenate-limit-zone: 8%;
}
section.video_section .gallery-top .swiper-slide .fs-right .youtube_characteristic-wrap {
	margin-top: 10px;
	padding-top: 8px;
	padding-bottom: 8px;
	position: relative;
}
section.video_section .gallery-top .swiper-slide .fs-right .youtube_characteristic-wrap:before {
	content: '';
	width: 100%;
	height: 1px;
	background: #f6f6f6;
	position: absolute;
	top: 0;
	left: 0;
}
section.video_section .gallery-top .swiper-slide .fs-right .youtube_characteristic-wrap:after {
	content: '';
	width: 100%;
	height: 1px;
	background: #f6f6f6;
	position: absolute;
	bottom: 0;
	left: 0;
}
section.video_section .gallery-top .swiper-slide .fs-right .youtube_characteristic {
	display: flex;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-content: space-between;
	align-items: flex-start;
}
section.video_section .gallery-top .swiper-slide .fs-right .youtube_characteristic:not(:last-child) {
	margin-bottom: 3px;
}
section.video_section .gallery-top .swiper-slide .fs-right .youtube_characteristic .name {
	color: #838080;
	font-size: 14px;
	position: relative;
}
section.video_section .gallery-top .swiper-slide .fs-right .youtube_characteristic .name:before {
	content: '';
	background: #eec454;
	height: 2px;
	width: 10px;
	display: inline-block;
	vertical-align: middle;
	margin-top: -2px;
	margin-right: 5px;
}
section.video_section .gallery-top .swiper-slide .fs-right .youtube_characteristic .content {
	color: #0d0d0d;
	font-size: 14px;
}

section.video_section .gallery-top .swiper-slide .fs-right .slide-date {
	margin-top: 5px;
	font-weight: 500;
}
section.video_section .gallery-thumbs .swiper-slide {
	opacity: 0.8;
	cursor: pointer;
	transition: all .25s ease-in-out;
}
section.video_section .gallery-thumbs .swiper-slide:hover {
	opacity: 1;
	transition: all .25s ease-in-out;
}
section.video_section .gallery-thumbs .swiper-slide.swiper-slide-thumb-active {
	opacity: 1;
	cursor: unset;
}
section.video_section .gallery-thumbs .swiper-slide img {
	max-width: 100%;
}

section.video_section .swiper-button-next:after,
section.video_section .swiper-button-prev:after {
	display: none;
}
section.video_section .swiper-button-next {
	right: -12px;
	width: 50px;
	height: 50px;
	box-shadow: none;
	top: 45%;
}
section.video_section .swiper-button-prev {
	left: 0;
	width: 50px;
	height: 50px;
	transform: rotate(180deg);
	box-shadow: none;
	top: 45%;
}
/*bank*/
.space-between {
	display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-direction: row;
    -ms-flex-direction: row;
    flex-direction: row;
    -webkit-flex-wrap: nowrap;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: stretch;
    align-content: stretch;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
}
section.bank {
	background-image: url(/wp-content/themes/garage/f/img/g_main/1_pochta_1.png);
    background-position: center;
	color: #fff;
	text-align: left;
}

section.bank .left {
	text-align: left;
	max-width: 738px;
}
section.bank .right {
	max-width: 276px;
}
section.bank .right a {
	margin-top: 28px;
	width: calc(100% - 91px);
}

/* video */
.video-frame {
	box-shadow: 0.2em 0.2em 10px rgba(122,122,122);
	border-radius: 10px;
	width: 180px;
	position: fixed;
	left: 5%;
	bottom:  40px;
	background: #b7bdbf;
  padding: 4px 3px 2px 4px;
  z-index: 51;
}
.video-frame:after {
	content: '';
	width: 2px;
	height: calc(100% - 8px);
	background: #b7bdbf;
	position: absolute;
	top: 4px;
	right: 2px;
}
.video-frame video {
	border-radius: 7px;
}
.video-frame .sh_mo_wrp {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	cursor: pointer;
	z-index: 2;
}
.video-frame .show_more {
	position: absolute;
  top: calc(50% - 40px);
  right: calc(50% - 40px);
	cursor: pointer;
	z-index: 2;
}
.video-frame .show_more svg {
	width: 80px;
	height: 80px;
}
.video-frame .show_more .f-small {
	display: none;
}
.video-frame .speaker {
	display: none;
}
.video-frame .volume {
	position: absolute;
	width: 30px;
	bottom: 10px;
	right: 10px;
}
.video-frame .speaker,
.video-frame .mute {
	width: 30px;
}

.video-frame.active {
	position: fixed;
	width: auto;
	height: 583px;
	left: 5%;
	bottom: 20px;
  top: auto;
  z-index: 1000;
}
.video-frame.active video {
	width: auto;
	height: 580px;
}
.video-frame.active .show_more {
	position: absolute;
	top: 10px;
	right: 10px;
	cursor: pointer;
	z-index: 2;
}
.video-frame.active .show_more:after {
	display: none;
}
.video-frame.active .show_more svg {
	width: 30px;
	height: 30px;
}
.video-frame.active .speaker {
	display: block;
}
.video-frame.active .mute {
	display: none;
}
.video-frame.active .show_more .f-small {
	display: block;
}
.video-frame.active .show_more .f-large {
	display: none;
}

/* Custom, iPhone Retina */
@media only screen and (min-width: 320px) {
  .mt60 {
    margin-top: 28px; }
  .mb60 {
    margin-bottom: 28px; }
  .pt60 {
    padding-top: 28px; }
  .pb60 {
    padding-bottom: 28px; }
   }
/* Medium Devices, Desktops */
@media only screen and (min-width: 992px) {
  .mt60 {
    margin-top: 47px; }
  .mb60 {
    margin-bottom: 47px; }
  .pt60 {
    padding-top: 47px; }
  .pb60 {
    padding-bottom: 47px; }
}
/* Large Devices, Wide Screens */
@media only screen and (min-width: 1200px) {
  .mt60 {
    margin-top: 52px; }
  .mb60 {
    margin-bottom: 52px; }
  .pt60 {
    padding-top: 25px !important; }
  .pb60 {
    padding-bottom: 25px !important; }

	section.bank.space-between {
		padding-left: 50px;
		padding-right: 50px;
	}
}

@media (max-width: 359.5px) {
	section.video_section .gallery-top .swiper-slide .fs-left iframe {
		min-height: 149px;
	}
}
@media (min-width: 359.7px) and (max-width: 400px) {
	section.video_section .gallery-top .swiper-slide .fs-left iframe {
		min-height: 172px;
	}
}
@media (min-width: 400px) and (max-width: 440px) {
	section.video_section .gallery-top .swiper-slide .fs-left iframe {
		min-height: 190px;
	}
}
@media (min-width: 440px) and (max-width: 576px) {
	section.video_section .gallery-top .swiper-slide .fs-left iframe {
		min-height: 216px;
	}
}
@media (min-width: 1501px) and (max-width: 1700px) {
	.video-frame {
		left: 20px;
	}
}
@media (min-width: 1350px) and (max-width: 1500px) {
	.video-frame {
		left: 5px;
		bottom: 5px;
		width: 120px;
	}
	.video-frame video {
		width: 120px;
	}
	.video-frame .show_more {
		top: calc(50% - 25px);
    right: calc(50% - 25px);
	}
	.video-frame .show_more svg {
		width: 50px;
		height: 50px
	}
}

@media (min-width: 1270px) and (max-width: 1349.6px) {
	.video-frame {
		left: 2px;
		bottom: 2px;
		width: 100px;
	}
	.video-frame video {
		width: 100px;
	}
	.video-frame .show_more {
		top: calc(50% - 20px);
    right: calc(50% - 20px);
	}
	.video-frame .show_more svg {
		width: 40px;
		height: 40px
	}
}

@media (max-width: 1270px) {
   .video-frame {
   	display: none !important;
   }
}

@media (max-width: 576px) {
	section.video_section .gallery-top .swiper-slide .fs-left {
		margin-bottom: 10px
	}
	section.video_section .swiper-button-next,
	section.video_section .swiper-button-prev {
		width: 35px;
		height: 35px;
		top: 40%;
	}
	section.video_section .swiper-button-next {
		right: 0
	}
	section.video_section .gallery-thumbs {
		margin-left: -15px;
		margin-right: -15px;
		padding-left: 10px;
		padding-right: 10px;
	}
	section.video_section .gallery-top .swiper-slide .fs-right {
		max-height: 285px;
		overflow-x: scroll;
	}
	section.video_section .gallery-top .swiper-slide .fs-right {
		padding: 15px 15px 15px 15px;
	}
	section.video_section .gallery-top .swiper-slide .fs-right .mb4_right_title {
		font-size: 19px;
	}
	section.video_section .gallery-top .swiper-slide .fs-right .mb4_right_region {
		font-size: 13px;
	}
	section.video_section .gallery-top .swiper-slide .fs-right .slide-content p {
		margin-top: 0
	}
	section.video_section .gallery-top .swiper-slide .fs-right .slide-date {
		font-weight: 700;
		font-size: 13px
	}
	.space-between {
    	display: block;
    }
    section.bank .right {
    	margin: 20px auto 0;
    }
}

@media (min-width: 577px) and (max-width: 767px) {
	section.video_section .gallery-top .swiper-slide .fs-left {
		margin-bottom: 10px
	}
	section.video_section .swiper-button-next,
	section.video_section .swiper-button-prev {
		width: 35px;
		height: 35px;
	}
	section.video_section .swiper-button-next {
		right: 0
	}
	section.video_section .gallery-thumbs {
		margin-left: -15px;
		margin-right: -15px;
		padding-left: 10px;
		padding-right: 10px;
	}
	section.video_section .gallery-top .swiper-slide .fs-right {
		max-height: 350px;
		overflow-x: scroll;
	}
	section.video_section .gallery-top .swiper-slide .fs-left iframe {
		min-height: 300px;
	}
}

@media (min-width: 767.5px) and (max-width: 992px) {
	section.video_section .gallery-top .swiper-slide .fs-left iframe {
		min-height: 375px;
	}
	section.video_section .gallery-top .swiper-slide .fs-left {
		margin-bottom: 25px
	}
	section.bank .left {
	    max-width: 610px;
	}
}

@media (min-width: 991.5px) and (max-width: 1199.5px) {
	section.video_section .gallery-top .swiper-slide .fs-left,
	section.video_section .gallery-top .swiper-slide .fs-left iframe {
		min-height: 315px;
		max-height: 315px
	}

	section.video_section .gallery-top .swiper-slide .fs-right {
		min-height: 290px;
		max-height: 290px;
		padding: 15px 15px 15px 15px;
	}
	section.video_section .swiper-button-next {
		right: 0
	}
}

@media (min-width: 992px) {
	section.video_section .gallery-top {
		margin-left: 15px;
		margin-right: 15px;
		margin-top: 50px;
		margin-bottom: 35px
	}
	section.video_section .gallery-top .swiper-slide {
		display: grid;
		grid-template-columns: .586fr .414fr;
		grid-gap: 15px;
	}
	section.video_section .gallery-top .swiper-slide .fs-left {
		min-width: calc(63% - 15px);
		margin-right: 15px;
		display: flex;
	}

	section.video_section .gallery-thumbs {
		margin-left: -9px;
		margin-right: -9px;
		padding-left: 9px;
		padding-right: 9px;
	}
}

@media (min-width: 1200px) {
	section.video_section .gallery-top .swiper-slide .fs-left,
	section.video_section .gallery-top .swiper-slide .fs-left iframe {
		min-height: 350px;
		max-height: 350px
	}

	section.video_section .gallery-top .swiper-slide .fs-right {
		min-height: 315px;
		max-height: 315px;
	}
}