
@media only screen and (max-width: 1200px){

	.fp-heading-text{
		position: relative;
		bottom: 0;
		width: 100%;
	}

	.field--field-obrazok-slider{
		max-width: 100%;
		object-fit: cover;
		margin: 0;
	}

    .fp-heading-text{
        box-shadow: initial;
    }

    .fp-map h2, 
    .field--body h2, 
    .fp-gallery h2, 
    .fp-next h2, 
    .fp-why-ema-rail h2{
        font-size: 46px;
    }

    .fp-video-wrapper:before,
    .fp-video-wrapper:after{
        content: none;
    }

    .fp-video-wrapper video{
        height: initial;
    }

    .fp-highlighted .field--field-highlighted-text{
        font-size: 28px;
        line-height: 43px;
    }
    
    /*#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;
    }

    .fp-heading-text{
        padding: 60px 40px;
    }

    .paragraph--type--companies .field--field-company-gallery > div{
        width: calc(100% / 2 - 7px);
    }

    .paragraph--type--companies .field--field-company-gallery img{
        min-height: initial;
    }

    .field--field-why-ema{
        justify-content: center;
    }

    .field--field-why-ema > div{
        width: calc(100% / 2 - 14px);
    }

}

@media only screen and (max-width: 860px){

    .field--field-osoby > div {
        width: calc(100%/2 - 14px);
    }

    .page__infolinky > div {
        width: calc(100%/2 - 14px);
    }

    .field--field-company > div{
        padding-bottom: 35px;
    }

    .field--field-why-ema .field--field-why-title{
        font-size: 27px;
        line-height: 33px;
        min-height: 100px;
    }

}

@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%;
    }

    div#block-headerlogo .haader_logo{
        gap: 25px;
        padding: 15px 0;
        flex-direction: column;
        text-align: center;
    }

    div#block-headerlogo,
    header#header{
        height: initial;
    }

    div#block-headerlogo .haader_logo a:nth-child(1){
        padding-left: 15px;
        text-align: left;
    }

    div#block-headerlogo .haader_logo a:nth-child(3){
        padding-right: 25px;
        text-align: right;
    }


}

@media only screen and (max-width: 700px){

	.fp-webform-wrapper{
		flex-direction: column;
	}

	.fp-webform-wrapper > div{
		width: 100%;
	}

	

	.fp-links > div{
		width: 100%;
	}

	.fp-links-left{
		margin-bottom: 25px;
	}

	.fp-links h2{
		padding-bottom: 0;
	}

    .fp-video-wrapper .video-start-button{
        background-size: 75px;
        width: 75px;
        height: 75px;
    }

    .fp-map h2, 
    .field--body h2, 
    .fp-gallery h2, 
    .fp-next h2, 
    .fp-why-ema-rail h2{
        font-size: 32px;
    }

}

@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;
    }

    .field--field-why-ema > div{
        width: 100%;
    }

    .field--field-why-ema .field--field-why-title{
        font-size: 25px;
        line-height: 31px;
        min-height: initial;
    }

    .fp-links{
        display: block;
        padding: 0 15px 50px;
    }

    .footer_logo{
        flex-direction: column;
    }

}

@media only screen and (max-width: 500px){
  
    .field--field-obrazok > div{
        width: 100%;
    }

    .field--field-advantages > div{
    	width: 100%;
    }


    .field--field-slogan-title{
        line-height: 1.2;
    }

    .fp-highlighted .field--field-highlighted-text{
        font-size: 23px;
        line-height: 39px;
    }

}

@media only screen and (max-width: 450px){

    .paragraph--type--companies .field--field-company-gallery > div{
        width: 100%;
    }

}

@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;
  	}

  	.branding img{
  		width: 200px;
  	}

}