body, html{
	margin: 0;
	padding: 0;
}

ul{
  padding-top: 4px;
  display:inline-flex;
}
li{
  /*display: inherit;*/
}

 #gallery62 > img:hover
   {
    width: 200px;
    /*transform: translateX(100px);*/
   }

#gallery62:hover
   {
    max-width: 100%;
   }

.submenu1{
      /*transform: rotateX(-90grad);*/
      position: absolute;
      margin: 0;
      padding: 8px 0;
      top:100%;
      left:0;
      width:200px;
      transform-origin: 0 0;      /*координаты точки начала трансформации*/
      background-color: #555;
      display: block;
      visibility: hidden;
      opacity: 0.2;
      transition: 0.1s;
      font-size: 17px;
      overflow: hidden;
      text-transform: none;
      z-index: 30; 
     }
.submenu1 > li{
          display: block;
          background-color: #ffc883;
          z-index: 30; 
         }
.submenu1 > li > a{
          display: block;
          width: 100%;
          color: #ffc883;
          text-decoration: none;
          padding: 8px 15px;
          transition: 0.3s;
          background-color: #555;
          letter-spacing: 1px;
          z-index: 30; 
        }
.submenu1 > li > a:hover{
        transform: translateX(3px);
        color: #fff;
        }

@media (min-width: 767px){
       .menu:hover > .submenu1{
            visibility: visible;
            opacity: 1;
            /*transform: rotateX(0);*/
            }
        }

.nav{             /*полоса в заголовке с меню и лого*/
	height: 46px;
	width: 100%;
	margin-top: 20px;
	position: fixed;
	top: 0;
  min-width: 700px;
	background-color: #505050;
	display: flex;
	justify-content: space-between;
  color: #fff;
	z-index: 5;
}
.menu{
  margin-top: 1px;
  position: relative;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 7px 15px;
	color: #000;
  font-weight: 600;
	text-transform: uppercase;
	background-color: #dbdbdb;
	transition: 0.3s;
  box-shadow: inset 0 -5px 10px 0 rgba(0,0,0, 0.9), 0 0 12px rgba(0,0,0,0.23) ;
}
.menu:hover{
	background-color: #ffc883;
	cursor: pointer;
  transition: 0.3s;
}
.gam{
     width: 25px;
     height: 25px;
     border-radius: 50%;
     background-color: #590000;
     margin-right: 10px;
     position: relative;
     display: flex;
     justify-content: center;
     align-items: center;
}

.gam>span{
	height: 1px;
	width: 50%;
	margin: 0 auto;
	background: #dbdbdb;
	position: relative;
	}

.gam>span::before, .gam>span::after{
	content: " ";
	position: absolute;
	top:0;
	left:0;
	width: 100%;
	height: 100%;
	transition: 0.3s;
	background: #dbdbdb;
}
.gam>span::before{
    transform: translateY(-3px);
}
.gam>span::after{
	transform: translateY(3px);
}

.header{
	  width: 100%;
	  height: 100vh;
    max-height: 850px;
	  position: relative;
	  display: flex;
    justify-content: flex-start;
    align-items: center;    /*vert*/
    background: url(img/hero_blue_background.jpg);
    background-size: cover;
     }

 .info{
 	width: 50%;
 	height: 100%;
 	display: flex;
 	flex-flow: column;
 	justify-content: center;
 	align-items: center;
  }

  .info_img{
    position: relative;
  	left: 20px;
  	width: 100%;
  	flex-basis: 70%;
  	background: url(images/First11.png) no-repeat;
    background-position: 0 0%:
    background-size: cover; 
    z-index: 0;
  }

  .info_btm{
  	position: fixed;
    left: 320px;
    top: 20px;
    margin-left: 10px;
  }

   .info_btm > a{
    display: block;
    margin-top: 1px;
    text-decoration: none;
    color: #000;
    font-size: 20px;
    height: 45px;
    line-height: 10px;
    box-sizing: border-box;
    /*background-color: rgb(149,155,0);*/
    background-color: #ddd;
    padding: 15px 15px;
    border-radius: 5px;
    letter-spacing: 1px;
    box-shadow: inset 0 -5px 10px 0 rgba(0,0,0, 0.9), 0 0 12px rgba(0,0,0,0.23) ;
  }

 .header_hause{
     	width: 50%;
 	    height: 100%;
 	    border-top-left-radius:  500px;
 	    border-bottom-left-radius: 500px;
 	    background: url(images/sad2.jpg);
 	    background-position: 70% 50%;
 	    background: cover;
     }


  .logo-link {
    position: fixed;
    left: 120px;
    top: 0px;
    /*
    position: related;
    top: -20px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;*/
    width: 165px;
    height: 79px;
    padding: 4px;
    align-items: center;
    border: 2px solid #000;
    border-radius: 30%;
    /*background-color: #ffc883;*/
    background-color: #aba;
    background-image: url(images/Castle2.png);
    background-position: 55% 50%;
    background-size: 160px;
    background-repeat: no-repeat;
    -webkit-transition: all 200ms ease;
    transition: all 200ms ease;
}

.div-logobox
   {
   margin-left: -1px;
   margin-top: -1px;
   border: 1px solid #000;
   border-radius: 30%;
   width:100%;
   height: 100%; 
   }

  .phone{
      display: flex;
      align-items: right;
      margin: 8px 0;
      width: 170px;
      /*display: inline-block;*/
     }
  .img-phone{
      display: block;
      width: 20px;
      }   
  .text-block{
      width: 140px;
      padding: 5px;
      }

     h2{
        font-size: 4vh;
      	padding: 10px 40px;
      	margin: 0 auto;
      	text-align: center;
      	display: block;
      	border-bottom: 1px solid;
      	color: #000;
      }
      .Text1{
      	margin-top: 20px; 
        padding: 20px 40px 30px;
      	font-size: 17px;
        background: #b4dcb2;
      }

     .map{
       width: 90%;
       margin: 10px auto;
       }

     .plan-box{
        padding: 20px;
        }

     .kod-box{
      	padding: 20px;
        }

      .kod{
      	display: flex;
      	justify-content: flex-start;
      	padding: 30px 50px;
      	border: 1px solid;
      	flex-wrap: wrap;
      }

      .dom{
      	/*box-sizing: border-box;*/
      	width: 31%;
      	/*margin: 10px 1%;*/
        margin: 10px 5px;
      	border: 1px solid;
        box-shadow: 5px 5px 5px;
        background: #777;
      }
      .dom img{
          width: 100%;
      	  border-radius: 5px;
      }
/*      .dom:not(:first-child){
      	 background: #999;
      }*/

    .dom:nth-child(2){
      	 background: #999;
      }
      

      .active{
      	color: 777;
      	/*background: #432;*/
        background: #777;
      }

      .active .gam span{
      	height: 1;
      }

      .active .gam span::before{
      	transform: rotate(45deg);
      }
      .active .gam span::after{
      	transform: rotate(-45deg);
      }

      /*======================================================*/
      .footer{
      	width:100%;
      	min-height: 100px;
      	display: block;
      	justify-content: center;
      	padding: 10px auto;
      	background-color: #333;
      	color: #ffc883;
      }
      .footer-top{
      	color: #ffc883;
      	width:100%;
      	display: flex;
      	justify-content: center;
      	padding: 10px 10px;
      	background-color: #333;
      	font-size: 30px;
      }
      .footer-top >span{
      	   color: #ffc883;
      	   font-size: 50px;
      	   justify-content: center;
      	   display: flex;
      	   width: 100%%;
      }
      .footer-mid{
      	width: 100%;
      	display: flex;
      	min-height: 100px;
      	background-color: #333;
      	flex-flow: row;
      }
      .footer-left{
      	padding-left: 40px;
      	width: 50%;
      	display: block;
      	min-height: 200px;
        font-size: 17px;
      	background-color: #333;
      }
      .footer-right{
      	padding-left: 50px;
      	width: 100%%;
      	display: block;
      	min-height: 200px;
        font-size: 17px;
      	background-color: #333;
      }
      .footer-button{
      	display: block;
      	  clear: both;
      	  width: 190px;
      	  /*height: 40px;*/
      	  border: 2px solid;
      	  border-radius: 40px;
      	  color: #ffc883;
      	  margin: 30px auto;
      	  margin-bottom: 50px;
      }
      .footer-button a{
      	      display: block;
      	      font-size: 24px;
      	      color: #ffc883;
      	      padding: 20px;
              }

      @media (max-width: 1000px){
               .info{
                      width: 70%;
                    }
                .header_hause{
                    width: 30%;
                    }
                  }
      @media (max-width: 767px){
               .info{
                      width: 85%;
                    }
                .header_hause{
                    width: 15%;
                    }
              /*.logo {
               	 position: absolute;
               	     left: 50%;
                     transform: translateX(-39px);
                     }*/
                 /*.menu>span{display: none;}*/
                 /*.menu > .submenu1{
                      transform: scaleX(0);
                      transition: 1s;
                     }*/
                 /*.menu > .submenu1{
     	              opacity: 1;
     	              visibility: visible;
	     	         }*/
               }

     /*.menu:hover > .submenu1{
     	opacity: 0;
     	visibility: hidden;
     }*/
     




