@import url('typography.css');
@import url('menu.css');
*{
	box-sizing: border-box;
}
html, body {
	padding: 0;
	margin: 0;
}

body {
	font-size: 1.1em;
	display: flex;
	flex-direction: column;
	height: 100%;
}

main {
	display: flex;
	flex-direction: column;
	height: 100%;
}
.layer{
	height: 100%;
	max-width: 1200px;
	margin:auto;	
}
.topNews{
	display: block;
    margin-top:100px;
	width: 100%;
    height: 600px;
	background: url(https://lockopen.dmd.by/images/headers/q1-1920x1280.jpg) no-repeat;
    background-size:cover;
}


#mod-custom112{
    display: block;
    margin-top:-100px;
    margin-left:30%;
}

.TopContent{
    display: flex;
	width:100%;
    min-height: 500px;
   // margin-left:100px;
	padding: 1em;
    background-color: #ffc900;
  
}
.TopContentList{
    display: flex;
    max-width:600px;
    flex-direction: column;
    justify-content: center;
    margin-left:20%;
}

.component{
   	display: block;
	max-width:1600px;
   // height: 200px;
    margin:auto;
	padding: 1em; 
}

.InfoCont{
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  width:100%;
 // min-height: 300px;
}

.InfoContLeft{
display: flex;
width:60%;
margin:20px;
min-height: 400px;
}

.InfoContLeft > img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
 
.InfoContRight{
  display: flex;
  width:30%;
  margin:20px;
  min-height: 400px;
}

.blockInfoCon{
  display: flex;
}
 
header {
	background-color: #fff;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

footer {
	flex: 0 0 5em;
	background-color: #ffc900;
}

.navigation{
	width: 100%;
	position: relative;
}
.navigation.fixed{
	position: fixed;
	z-index: 990;
}

.navigation.fixed.yes{
	width: 100%;	
}

#mod-custom111{
  display: flex;
  justify-content: center;
}



.blockInfoSite{
  display: flex;
  align-self: stretch;
  margin:10px;
  align-items: flex-end;
  //flex-direction: column;
  flex-flow: row wrap;
  width:300px;
  min-height: 400px;
  background-color: #EFEEEE;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.blockInfoSiteTxt{
  display: flex; 
  flex-direction: column;
  padding:1em;
}

.blockInfoSiteImg{
display: flex; 
width:100%;
height: 200px;  
}

.blockInfoSiteImg img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blockInfoSiteIco{
display: flex; 
width:100%;
justify-content: flex-end;
}

/*  кнопка*/

.arrow-button {
  padding: 5px 10px;
  font-size: 30px;
  cursor: pointer;
  background-color: #ffc900;
  color: #000;
  border: none;
}



.arrow-button:hover {
  background-color: #F3AF05;
 
}

@media (max-width: 800px){
  #mod-custom111 {
flex-direction: column;
}
.blockInfoSite {
  display: flex;
  width: 97%;
 justify-content: center;
}
  .InfoContLeft {
  width: 100%;
  margin: 10px;
}
.InfoContRight {
  display: flex;
  width: 100%;
  margin: 0 10px;
}
  .topNews {
  height: 500px;
}
  #mod-custom112 {
  margin-top: -80px;
  margin-left: 15%;
}

  nav.BlockContent a { 
  font-size: 30px;  
}


/* 48em = 768px */

@media (min-width: 48em) {
	
body{
	min-height: 100vh;
}
main {
	min-height: 100%;
	flex: 1 1 auto;
} 
.header li {
	float: left;
}

.header .menu {
	clear: none;
	float: right;
	max-height: none;
}
.header .menu-icon {
	display: none;
}

}