.container {
  max-width: 1100px;
}
.container-nav {
	width: unset;
	text-align: justify;
}

/*
 * Custom translucent site header
 */

.site-header {
  background-color: rgba(0, 0, 0, .85);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
}
.site-header a {
  color: #f8fafb;
  transition: color .15s ease-in-out;
  text-decoration: none;
  font-size: 25px;
}
.site-header a:hover {
  color: #ED1C24;
}
.current {
  color: #ED1C24 !important;
}
.menu-item {
	color: #f8fafb;
	transition: color .15s ease-in-out;
	text-decoration: none;
	font-size: 25px;
	padding: .3rem;
}
.logo {
	text-align:center;
}
.section {
	margin: 5em 0em 0em 0em;
}
.section-name {
	color: black;
	text-decoration: none;
	font-size: 30px;
	margin: 0em 1em 0em 1em;
}
.section-header {
	margin: 1em 0em 1em 0em;
}
.carousel-caption {
    position: relative;
    left: auto;
    right: auto;
	color: black;
	font-size: 25px;
	text-align: justify;
}
.photos {
	text-align: center;
	overflow: hidden;    
}
.photos a {
	width: 33.3%;
	display: block;
	float: left;
}
.photos2 a {
	width: 50%;
	display: block;
	float: left;
}
/*
 * Dummy devices (replace them with your own or something else entirely!)
 */
.site-body {
  background-color: #ffffff;
}
.theme-header {
  color: #000000;
}
.base-text {
  color: #000000;
  text-align: justify;
  font-size: 18px;
}
.base-text-center {
  color: #000000;
  font-size: 18px;
}
.leftimg {
	float:left; /* Выравнивание по левому краю */
	margin: 7px 40px 15px 0; /* Отступы вокруг картинки */
   }
.rightimg  {
	float: right; /* Выравнивание по правому краю  */ 
	margin: 7px 0 15px 40px; /* Отступы вокруг картинки */
}
.centerimg  {
	display: block;
    margin-left: auto;
    margin-right: auto
}
.text-items {
	display: none;
}
footer {
    padding: 5px;
	color: white;
	background-color: #545454;
}
.footer-link {
	color: white;
}
.f-text {
	padding: 20px 5px 0 5px;
}

/* Кнопки соцсетей */
.social {
	display: inline-block;
	margin-top: 10px;
}
.social a {
	display: block;
	width: 48px;
	height: 48px;
	margin: 0 10px 10px 0;
	text-align: center;
	color: #fff;
	border: 1px solid #ccc;
	border-radius: 6px;
	box-shadow: 1px 1px 2px rgba(0,0,0,0.4), inset 1px 1px 0px rgba(255,255,255,0.5);
}
.social a:hover {
	border-color: #888;
	opacity: .8;
}
.social svg {
	margin-top: 7px;
	width: 32px;
	height: 32px;
}
.telegram a {
	background: #249bd7;
	display: none;
}
.vk a {
	background: #4a76a8;
	display: none;
}
.youtube a {background: #c4302b}
/* Кнопки соцсетей */

.carousel-control-next-icon, .carousel-control-prev-icon {
	width: 8rem;
	height: 8rem;
}
.img-tumbs {
	margin: 5px;
}
.cell-tumbs {
	width: 350px;
	height: 350px;
}

.product-device {
  position: absolute;
  right: 10%;
  bottom: -30%;
  width: 300px;
  height: 540px;
  background-color: #ffffff;
  border-radius: 21px;
  transform: rotate(30deg);
}

.product-device::before {
  position: absolute;
  top: 10%;
  right: 10px;
  bottom: 10%;
  left: 10px;
  content: "";
  background-color: rgba(255, 255, 255, .1);
  border-radius: 5px;
}

.product-device-2 {
  top: -25%;
  right: auto;
  bottom: 0;
  left: 5%;
  background-color: #e5e5e5;
}

.spl {
	text-decoration: none;
	color: white;
}


/*
 * Extra utilities
 */

.flex-equal > * {
  flex: 1;
}
@media (min-width: 768px) {
  .flex-md-equal > * {
    flex: 1;
  }
}
@media (max-width: 768px) { 
	.menu-item {
		font-size: 15px;
	}
	.rounded {
		padding: 1px;
	}
	.base-text {
		text-align: left;
		font-size: 16px;
	}
	.section-name {
		font-size: 21px;
	}
	.site-header {
		padding-top: 0px!important;
		padding-bottom: 5px!important;
	}
	.navbar {
		padding-top: 0px;
		padding-bottom: 0px;
	}
	.navbar-brand {
		padding-top: 0px;
		padding-bottom: 0px;
	}
}
@media (max-width: 358px) {
	iframe {
		width: auto;
		height: auto;
	}
}