* {
	margin:0;
	padding:0;
}
*, *::before, *::after {
    box-sizing: border-box;
}

a {
    transition: all 200ms ease-in-out;
}
a {
    color: #172588;
    text-decoration: none;
}
a:hover {
  color: #566bff;
}
img {
	height:100%;
	max-width:100%;
}
.h1 .small,.h1 small,.h2 .small,.h2 small,.h3 .small,.h3 small,.h4 .small,.h4 small,.h5 .small,.h5 small,.h6 .small,.h6 small,h1 .small,h1 small,h2 .small,h2 small,h3 .small,h3 small,h4 .small,h4 small,h5 .small,h5 small,h6 .small,h6 small{
    font-weight:400;
    line-height:1;
    color:#777
}
.h1,h1{
    font-size:36px;
    line-height:42px;
}
.h2,h2{
    font-size:30px;
    line-height:36px;
}
.h3,h3{
    font-size:28px;
    line-height:33px;
}
.h4,h4{
    font-size:21px
}
.h5,h5{
    font-size:16px
}
.h6,h6{
    font-size:12px
}
p{
    margin:0 0 10px
}
.small,small{
    font-size:85%
}
.mark,mark{
    padding:.2em;
    background-color:#fcf8e3
}
.text-left{
    text-align:left
}
.text-right{
    text-align:right
}
.text-center{
    text-align:center
}
.text-justify{
    text-align:justify
}
.text-nowrap{
    white-space:nowrap
}
.text-lowercase{
    text-transform:lowercase
}
.text-uppercase{
    text-transform:uppercase
}
.text-capitalize{
    text-transform:capitalize
}
.text-primary{
    color:#337ab7
}
ol,ul{
    margin-top:0;
    margin-bottom:10px;
    padding-left: 15px;
}
ol ol,ol ul,ul ol,ul ul{
    margin-bottom:0
}
.list-unstyled{
    padding-left:0;
    list-style:none
}
.list-inline{
    padding-left:0;
    margin-bottom:0px;
    list-style:none;
    display:flex;
}
.list-inline>li:not(:first-child){
    padding-left:5px
}
body {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    background-color: #ffffff;
    overflow: visible;
    overflow-x: hidden;
}
table {
	width:100%;
    border-spacing: 0;
    border-collapse: collapse;
	margin-bottom:15px;
	display: table;
	max-width: 100%;
}
table th { 
  border: 1px solid #5b93de;
  padding: 10px;
}
table td { 
    vertical-align: top;
	padding: 5px 10px;
}



#main {
    overflow: visible;
    position: relative;
}
.header {
    position: relative;
    overflow: hidden;
	background-color: #000;
}
.header img {
    opacity: 0.3;
    width: 100%;
    display: block;
}
.header h1 {
    position: absolute;
    top: 50%;
    bottom: 0;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    z-index: 11212;
    text-align: center;
    color: white;
    font-size: 48px;
    line-height: 50px;
}
.panoram{
    height: 100vh;
	overflow-x:auto;
	overflow-y:hidden;
}
.panoram div{
    height: 100vh;
	position:relative;
}
.panoram figure{
	width:100%;
    height: 100%;
	position:absolute;
	top:0;
	left:0;
	z-index:2;
}
.panoram span{
    border: 1px solid white;
    cursor: pointer;
    display: block;
    position: absolute;
    background: #ffffff54;
	z-index:3;
}
.panoram span:hover{
    background: #ffffffbd;
}
.panoram div img{
    display: block;
    max-width: none;
	z-index:1;
}

#main > div{
	max-width:1300px;
	width:80%;
    overflow: visible;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

div[rel]{
	display:none;
}

/*это затемнение экрана при вызове формы*/
.modal_background{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background: rgba(0,0,0,0.6);
	backdrop-filter: blur(2px);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
	overflow-y: auto;
}
/*это кнопка для закрытия формы*/
.modal_form > a.close_form{
	color: white;
    /* opacity: 0.8; */
    position: absolute;
    right: 15px;
    top: -25px;
    z-index: 5;
	text-transform:uppercase;
	font-size:11px;
}
.modal_form > a.close_form:hover{
	color:#ccc;
}
/*это контейнер самой формы*/
.modal_form{
    border-radius: 2px;
    padding: 0px 10px;
    position: relative;
    display: none;
	min-width:320px;
    max-width: 700px;
	/* min-height:50%; */
    margin: 30px auto;
}
.modal_body > div{
	/* width:50%; */
	padding:10px;
	max-height:100%;
}
.modal_body div img {
    height: auto;
    padding: 10px;
}
.modal_body{
    width: 100%;
    height: 100%;
	background:white;
	padding:10px;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-content: flex-start;
}

@media (max-width: 800px) {
	table {
		overflow-x: scroll;
	}
	body {
		font-size: 12px;
	}
	.header h1 {
		top:20%;
		font-size:	20px;
		line-height: 25px;
	}
}