@import url(../font-awesome-4.7.0/css/font-awesome.min.css);

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@200&family=Roboto+Condensed&display=swap');
 
 html, body { 
  overflow-x: hidden;
  margin:  0; 
  padding: 0; 
}

body {
 
  font-size: 20px;
  font-family: 'Oswald', sans-serif; 
  font-family: 'Roboto Condensed', sans-serif; 
  background-image: url(../../img/fon1.jpg );
}


img {
	width: 100%;
	/*border: 2px solid #808080;*/
	border-radius: 5px;
	padding: 4px;
}

label, button, input {
	/*width: 98%;*/
	margin-top: 20px;
	font-size: 16pt;
	color:  #00008B;
}

select {
  margin-top: 20px;
  font-size: 16pt;
  padding: 2px;
}

h1 {
	text-align: center;
	color: green;
  margin: 0;
  padding: 0;
}

h2 {
	text-align: center;
	color: green;
  margin: 0;
  padding: 0;
}

h3 {
	text-align: center;
	color: green;
  width: 100%;
}

/*скрываем все контейнеры с весом*/
#Polefronton, #Polepliti, #Poleplitiplus {
  display: none;
}

/*балка*/

#balka {
  /*border: 2px solid green;*/ 
  width:30px; 
  height:50px;
}



.vvod_dannyh {
	width: 25%;
	box-sizing: border-box;	
	padding:  10px;

}

.img  {
  width: 35%;
}


.viuvod {
	display: flex;
	flex-direction: column;
	width: 35%;
	box-sizing: border-box;	
	/*border: 2px solid #808080;*/
	margin-bottom: 10px;
  align-items: center;
  padding: 4px;
}


.data {
  width: 100%;
}


/*начало сечения*/

.sechenie {
  display: flex;
  margin-top: 30px;
  
}

.block-sechenie {
  border: none;
}

.bl {
  box-sizing: border-box; 
  position: relative;
  padding: 0;
  
}

#Bl, #Bl2, #Bl3{
  display: none;
}

.bl img {
  position: absolute;
  height: 100%;
  width: 100%;
  padding: 0;
  margin: 0;
}

.nadp {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;


}

/*конец сечения*/

.container {
	display: flex;
	flex-wrap: wrap; 
	flex-direction: column;
	box-sizing: border-box;
	align-items: center;

}

.flex-element {
	width: 90%;
	box-sizing: border-box;	
	padding:  10px;
	min-height: 100px;
	font-size: 16pt;
}



.el-container {
	display: flex;
  flex-flow: row wrap;
	justify-content: space-around;
	border: 2px solid #808080;
}


.el-child {
	box-sizing: border-box;
}

.site_header{
  display: flex;
  flex-direction: column;
  width: 90%;
  box-sizing: border-box;
  background-image: url(../../img/pano_venecya.jpg );
  background-size: 100%;
  opacity: 0.9;
  margin: 15px auto;  
}

.site_nav {
  height: 60px;
  width: 96%;
  margin: 15px auto;
}   

.site_nav a:hover {
  background-color: #FF8C00; 
}


.nav_center {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

/*перемычка*/
.site_nav a {
    display: inline-flex;
    margin: 10px;
    text-decoration: none;
    position: relative;
    font-size: 18px;
    line-height: 20px;
    padding: 4px 5px;
    color: #FFF;
    font-weight: bold;
    text-transform: uppercase; 
    font-family: 'Roboto Condensed', Тahoma, sans-serif;
    background: #008000;
    cursor: pointer; 
    border: 2px solid #006400;
    border-radius: 20px;
}
.site_nav a:hover,
.site_nav a:active,
.site_nav a:focus {
    color: #FFF;
}
.site_nav a:after,
.site_nav a:before {
    position: absolute;
    height: 4px;
    left: 50%;
    background: #006400;
    bottom: -6px;
    content: "";
    transition: all 280ms ease-in-out;
    width: 0;
}
.site_nav a:before {
    top: -6px;
}
.site_nav a:hover:after,
.site_nav a:hover:before,
.site_nav a:active:after,
.site_nav a:active:before,
.site_nav a:focus:after,
.site_nav a:focus:before {
    width: 100%;
    left: 0;
}

/*медиа запросы 1*/
@media (max-width: 1536px) {

  .flex-element {
  width: 99%;
  
}

}

/*2*/
@media (max-width: 1360px) {
.img {
  width: 23%;
}

.img img {
  /*width: 70%;*/
}

.vvod_danny {
  width: 37%;
}
.viuvod {
  width: 38%;
}
}  

/*3*/
@media (max-width: 1260px) {
.el-container {
  justify-content: left;
}


 .img {
  width: 40%;
}

.img img {
  width: 80%;
}

.vvod_danny {
  width: 58%;
}
.viuvod {
  flex-direction: row;
  width: 98%;
}

.data {
  width: 60%;
}
.block-sechenie {
  width: 40%;
}
}

/*4*/

@media (max-width: 740px) {

  h1, h2 {
    font-size: 18pt;
    min-height: 0;
  }

  select {
   font-size: 14pt;
  }


  .site_nav a {
    
    font-size: 16px;
  }

  .site_header {
    width: 99%;
    margin: 0 auto;
  }

  .flex-element {
    min-height: 0;
  }

  label {
    width: 99%;
    font-size: 16pt;
  }
  .vvod_dannyh {
  width: 80%; 
  padding:  5px;

}
  .img {
  width: 98%;
  text-align: center;
}

.img img {
  width: 100%;
}
.bl img {
  width: 100%;
  border: none;
}

.vvod_danny {
  width: 98%;
}
.viuvod {
  flex-direction: row;
  flex-wrap: wrap;
  width: 98%;
}

.data {
  width: 98%;
}

.sechenie {
  justify-content: center;
  align-items: center;
}
.block-sechenie {
  border: none;
  width: 98%;
}

.el-container {
  border: none;
}
    
}