/*Extra large devices (large desktops, 1200px and up)*/
@media (min-width: 1440px){
	.container{
		max-width: 1394px;
	}
	.hero_img{
		padding-left: calc((100% - 1394px) / 2 + 15px);
	}
}
@media (min-width: 1366px) and (max-width: 1439.98px){ 
	.container{
		max-width: 1240px;
	}
	.hero_img{
		padding-left: calc((100% - 1240px) / 2 + 15px);

	}
	.Group54 {
	    top: -91px;
	}
	html{
		font-size: 55.6%;
	}
}

@media (min-width:1200px) and (max-width: 1365.98px){ 
	.hero_img{
		padding-left: calc((100% - 1140px) / 2 + 15px);
	}
	.container{
		max-width: 1140px;
	}
	html{
		font-size: 51.11%;
	}
	.Group54 {
	    top: -83px;
	}	
}

@media (min-width:992px) and (max-width: 1199.98px){ 
	.hero_img{
		padding-left: calc((100% - 960px) / 2 + 15px);
	}
	html{
		font-size: 43.04%;
	}
	.Group54 {
	    top: -70px;
	}
	.Group38 {
	    right: -0.2rem;
	}	
}

@media (max-width: 991.98px) {
	.hero_img{
		padding-left: calc((100% - 720px) / 2 + 15px);
	}
	#menu{
		position: fixed;
		top: 0;
		left: -100%;
		background-color: #fff;
		text-align: center;
		z-index: -1;
		-webkit-transition: 0.3s;
		-o-transition: 0.3s;
		transition: 0.3s;
		overflow: auto;
		padding-top: 8.5rem;
		padding-bottom: 3rem;
		width: 100%;
		height: 100%;
		overflow: auto;
	}
	#menu.current{
		left: 0;
	}
	.hamburger-menu {
		display: block;
	}
	#menu li{
		display: block;
		margin-top: 2.5rem;
	}
	#menu li:last-child a{
		padding-left: 0;
	}
	.Group38 {
	    display: none;
	}
	.Group54 {
	    top: -41.1rem;
	}
	.mazgatava_card img {
	    height: 20.4rem;
	}
	.mazgatava_card_right img {
	    height: 20.4rem;
	}
	.Group8 {
	    left: 15.0rem;
	    top: 23rem;
	    max-width: 53rem;
	}
	.PATTERN {
	    max-width: 39.6rem;
	    width: 100%;
	    top: -12.8rem;
	    right: 4rem;
	}
	.carousel_area::before {
	   display: none;
	}
	.hero_heading {
	    font-size: 4rem;
	}
	.carousel_heading {
	    font-size: 4rem;
	}
	.mazgatava_heading h2 {
	    font-size: 4rem;
	}
	.parmums_heading h2 {
	    font-size: 4rem;
	}
	.kontakti_heading {
	    font-size: 4rem;
	    margin-bottom: 5rem;
	}
	.v-shaf {
	    display: none;
	}
	
}

/*Medium devices (tablets, 767px and down)*/
@media (max-width: 767.98px) {
	html{
		font-size: 50%;
	}
}

/*Small devices (landscape phones, 575px and down)*/
@media (max-width: 575.98px) {
	html{
		font-size: 2vw;
	}
	.menu_right{
		display: none;
	}
	.logo {
	    display: block;
	    -ms-flex-negative: 0;
	        flex-shrink: 0;
	    max-width: 33rem;
	}
	.menu_wrapper{
		width: auto;
	}
	.container{
		padding-left: 2.5rem;
		padding-right: 2.5rem;
	}
	.hero_img{
		padding-left: 2.5rem;
		padding-right: 2.5rem;
	}
	.hero_img img:first-child{
		height: 30rem;
		-o-object-fit: cover;
		   object-fit: cover;
		border-radius: 1.5rem;
	}
	main {
	    padding-top: 17.5rem;
	}
	.Group8 {
	    left: 2.5rem;
	    top: 23rem;
	    max-width: calc(100% - 5rem);
	}
	.hero_main{
		display: block;
	}
	.hero_heading{
		margin-bottom: 1.5rem;
	}
	.PATTERN{
		display: none;
	}
	.mazgatava_area{
		border-top: none;
	}
	.carousel_link_main{
		text-align: left;
		padding-left: 2.5rem;
		padding-right: 2.5rem;
	}
	.carousel_link{
		border: .1rem solid #707070;
		border-radius: 1rem;
	}
	.carousel_link {
	    padding: 1.5rem 4rem;
	}
	.mazgatava_card img,
	.mazgatava_card_right img {
	    height: 32.4rem;
	}
	.parmums_left h4 {
	    margin-top: 4rem;
	}
	.Group54{
		display: none;
	}
	.parmus_card {
	    padding: 2.5rem 1.9rem;
	}
	.parmums_right .row{
		margin-left: -1rem;
		margin-right: -1rem;
	}
	.parmums_right .row>div{
		padding-left: 1rem;
		padding-right: 1rem;
	}
	.kontakti_area {
	    border-top: none;
	    padding-top: 0rem;
	}
	.kon_icon{
		margin-top: 2rem;
	}
	.kon_icon a {
	    margin-top: 0.5rem;
	}
	.contaki_button_area .row{
		-webkit-box-orient: vertical;
		-webkit-box-direction: reverse;
		    -ms-flex-direction: column-reverse;
		        flex-direction: column-reverse;
	}
	.kontakti-pera{
		margin-bottom: 4rem;
	}
	.kontakti-pera br{
		display: none;
	}
	.map_area img{
		height: 30rem;
		-o-object-fit: cover;
		   object-fit: cover;
		border-radius: 1.5rem;
		-o-object-position: center center;
		   object-position: center center;
	}
	footer .row{
		-webkit-box-orient: vertical;
		-webkit-box-direction: reverse;
		    -ms-flex-direction: column-reverse;
		        flex-direction: column-reverse;
	}
	.footer_content {
	    -webkit-box-align: center;
	        -ms-flex-align: center;
	            align-items: center;
	    -webkit-box-pack: justify;
	        -ms-flex-pack: justify;
	            justify-content: space-between;
	    -webkit-box-orient: horizontal;
	    -webkit-box-direction: reverse;
	        -ms-flex-direction: row-reverse;
	            flex-direction: row-reverse;
	    margin-bottom: 3rem;
	}
	.footer_logo{
		margin-left: 0;
	}
	.footer_icon a:last-child{
		margin-right: 0;
	}
	footer {
	    padding: 4rem 0;
	}
}

