
@media only screen and (max-width: 1200px){

	.fp-heading-text{
		position: relative;
		bottom: 0;
		width: 100%;
	}

	.field--field-obrazok-slider{
		max-width: 100%;
		/*max-height: 300px;*/
		object-fit: cover;
		margin: 0;
	}

}

@media only screen and (max-width: 1200px){
    
    #block-mytheme-main-menu{
      display: none;
     }
  
    .menu_open #block-mytheme-main-menu {
		display: block;
		background-color: #fff;
		animation: 0.3s ease-out 0s 1 FadeIn;
		text-align: center;
		top: 0;
		right: 0;
		border-radius: 0;
		padding: 0;
		height: 100vh;
		width: 100%;
		position: fixed;
		z-index: 200;
  	}

    .menu_open #block-mytheme-main-menu .menu .menu-item a{
      color: #000;
    }

    .menu_open #block-mytheme-main-menu ul.menu {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        gap: 25px;
    }
  
    .menu_open #block-mytheme-main-menu ul.menu li {
        display: inline-block;
        margin: 0 15px;
        line-height: 1.3;
        animation: 0.6s ease-out 0s 1 slideInFromRight;
        text-align: center;
    }
  
    .menu_open #block-mytheme-main-menu .menu-item a {
        font-size: 18px;
        letter-spacing: 2px;
        text-transform: uppercase;
    }
  
    .menu_open #block-mytheme-site-branding {
        top: 23px;
        left: 25px;
        z-index: 2222;
        position: fixed;
    }
  
    .menu_open .site-name a {
        font-size: 40px;
        color: #fff;
    }
  
    .menu_open{
        position: fixed;
    }
  
    .menu_open #toggle_icon {
        position: fixed;
        background-image: url(/themes/mytheme/images/menu.svg);
    }
  
    #toggle_icon {
        width: 25px;
        height: 25px;
        background-image: url(/themes/mytheme/images/menu_white.svg);
        display: block;
        cursor: pointer;
        background-repeat: no-repeat;
        background-position: center;
        background-size: 25px;
        position: absolute;
        top: 25px;
        right: 25px;
        z-index: 202;
        transition: all 0.1s;
    }
  
    #header.active #toggle_icon {
        background-image: url(/themes/mytheme/images/menu.svg);
        transition: all 0.1s;
    }
  
    
    .menu_open .haader_logo_active{
        display: initial;
    }
    .menu_open .haader_logo{
        display: none;
    }

    #block-mytheme-languageswitcher{
    	right: 85px;
    	top: 21px;
    }

}

@media only screen and (max-width: 1100px){

	.go-to-main-web-right h2{
		font-size: 1.4em;
	}

}

@media only screen and (max-width: 1000px){

	.paragraph--type--why-metrans{
		flex-direction: column;
		gap: 5px;
		justify-content: space-between;
	}

	.paragraph--type--why-metrans .field--field-why-text{
		max-width: 100%;
	}

	.paragraph--type--why-metrans .field--field-fotka{
		max-height: 300px;
		object-fit: cover;
		width: 100%;
	}

}

@media (max-width: 950px){
    .whistleblowing_box > div{
        width: 100%;
    }
    .whistleblowing_box{
        gap: initial;
    }
  
    .page-node-18 div#block-mytheme-page-title h1{
        font-size: 40px;
    }
}

@media only screen and (max-width: 900px){

    .tabulka_slim {
        width: 130px;
    }

    .field--field-advantages{
    	flex-wrap: wrap;
    	gap: 10px;
    	padding-bottom: 50px;
    }

    .field--field-advantages > div{
    	width: calc(100% / 2 - 6px);
    }

    .about-heading-text{
    	position: relative;
    	bottom: initial;
    	width: 100%;
    	padding: 40px;
    }

}

@media only screen and (max-width: 860px){

    .field--field-osoby > div {
        width: calc(100%/2 - 14px);
    }

    .page__infolinky > div {
        width: calc(100%/2 - 14px);
    }

}

@media only screen and (max-width: 800px){

    .go-to-main-web{
    	flex-direction: column-reverse;
    }

    .go-to-main-web-right{
    	width: 100%;
    	text-align: center;
    }

    .go-to-main-web-left{
    	width: 100%;
    }

}

@media only screen and (max-width: 700px){

	.fp-webform-wrapper{
		flex-direction: column;
	}

	.fp-webform-wrapper > div{
		width: 100%;
	}

	.fp-links{
		display: block;
		padding: 0 10px 50px 10px;
	}

	.fp-links > div{
		width: 100%;
	}

	.fp-links-left{
		margin-bottom: 25px;
	}

	.fp-links h2{
		padding-bottom: 0;
	}

}

@media only screen and (max-width: 580px){
  
    .field--field-osoby > div {
        width: 100%;
    }

    .page__infolinky > div {
        width: 100%;
    }

    .paragraph--type--osoba,
    .paragraph--type--infolinka {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
  
    .page-node-18 div#block-mytheme-page-title h1{
        font-size: 30px;
    }

}

@media only screen and (max-width: 500px){
  
    /*div#block-headerlogo{
        top: 22px;
    }*/
    .field--field-obrazok > div{
        width: 100%;
    }

    .field--field-advantages > div{
    	width: 100%;
    }


    .field--field-slogan-title{
        line-height: 1.2;
    }

}

@media only screen and (max-width: 400px){

  	.page-node-18 div#block-mytheme-page-title h1{
  	  	font-size: 25px;
  	}

  	#block-mytheme-languageswitcher{
  		right: 55px;
  	}

  	#block-mytheme-languageswitcher ul.links{
  		gap: 10px;
  	}

  	#toggle_icon{
  		right: 15px;
  	}

}