html {
	height: 100%;
	box-sizing: border-box;
}
*,
*:before,
*:after {
	box-sizing: inherit;
}

body {
	position: relative;
	min-height: 100%;
	background-color: white;
	width: 100%;
	margin: 0;
	font-family: Arial;
}
*:hover { 
  transition: all .3s;
}
a:hover { 
  color: #FF0000 !important;
  cursor: pointer;
}
.content {
	position: relative;
	max-width: 1200px;
	margin: auto;
}
.content_a {
	position: relative;
	max-width: 1000px;
	margin: auto;
}
.page {
    min-height: 14em;
}
#body {
    background-color: #FFFFFF;
    min-height: 20em;
    position: relative;
    top: -14em;
    padding: 2em 4em;
    width: 1000px;
    z-index: 2;
}
#body h1 {
    color: #FF0000;
}
#body p {
    text-align: justify;
    text-justify: inter-word;
}
.box {
    position: absolute;
    top: -14em;
    width: 1000px;
    height: 13em;
    -webkit-box-shadow: 0px 0px 8px 12px rgba(0,0,0,0.3);
    -moz-box-shadow: 0px 0px 8px 12px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 8px 12px rgba(0,0,0,0.3);
    z-index: 1;
}
#paslaugos {
    min-height: 330px;
    padding: 2em 4em;
    position: relative;
    top: -14em;
}
.pasl {
    width: 400px;
    height: 260px;
    display: inline-block;
    position: relative;
    background-size: 100%;
	background-repeat: no-repeat;
	background-position: center;
    z-index: 3;
}
.services {
    background-image: url("images/automobiliu_remontas.jpg");
    float: left;
}
.change {
    background-image: url("images/tepali_ir_filtru_keitimas.jpg");
    float: right;
}
.more {
    height: 100%;
    text-align: center;
    background-color: rgba(0,0,0,0.8);
    padding: 110px;
    font-size: 20px;
    text-decoration: underline;
    color: #FF0000;
    opacity: 0;
    font-style: italic;
}
.more:hover {
    opacity: 1;
}
.title {
    background-color: #000000;
    color: #FFFFFF;
    z-index: 4;
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 1.6em;
    text-align: center;
    padding: 0.25em;
    font-weight: bold;
}
#side {
    display: inline-block;
    width: 50%;
    margin-top: -4em;
    background-color: #FFFFFF;
    clip-path: polygon(5% 0, 95% 0, 100% 4%, 100% 100%, 0 100%, 0 4%);
    min-height: 40em;
    position: relative;
}
#side.left {
    float: left;
}
#side.right {
    float: right;
}
iframe {
    padding: 2em;
    max-width: 550px;
}
iframe.cha {
    position: absolute;
    bottom: 0;
    left: 0;
}
iframe.ser {
    position: absolute;
    bottom: 0;
    right: 0;
}
.head {
    background-color: #FFFFFF;
    margin: 0px;
    text-align: center;
    
}
#side h4 {    
    color: #FF0000;
    padding: 0.8em;
    height: 1.2em;
}
#side h5 {    
    padding: 0.9em;
}
p.adr {
    font-weight: bold;
    padding: 0 2em;
    text-align: justify;
    text-justify: inter-word;
}
p.le {
    text-align: right !important;
    padding: 0 2em;
}
p.bank {
    font-size: 14px;
    padding: 0 2.3em;
}
/*
	HEADER
*/
#header {
	position: relative;
	margin: 0px;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
    height: 44em;
    padding-top: 2.5em;
}
#header.in_change {
	background-image: url("images/header01.jpg");
}
#header.in_services {
	background-image: url("images/header02.jpg");
}
#header.about {
	background-image: url("images/header1.jpg");
}
#header.oil_filter {
	background-image: url("images/header2.jpg");
}
#header.service {
	background-image: url("images/header3.jpg");
}
#header.contact {
	background-image: url("images/header4.jpg");
}
.htitle {
    background-color: #FFFFFF;
    border-radius: 10px;
    width: 600px;
    padding: 15px 25px;
    text-align: center;
    margin: 6em 0 4em 0;
    opacity: 0.8;
    min-height: 190px;
}
.htitB {
    width: 490px;
    min-height: 220px;
    padding: 30px 25px;
}
.htitB h3 a {
    color: #000000;
}
.htitle h2 {
    color: #000000;
    font-size: 25px;
}
.htitle h2.hi {
    padding: 0 20px;
}
.htitle h2.mi {
    color: #FF0000;
}
.htitle h3 {
    color: #000000;
    font-style: italic;
    font-weight: normal;
}
img.guaranteed {
    height: 10em;
    float: right;
}
/* index ch*/
#side.in {
    min-height: 25em !important;
}


#blurA, #blurB {
    background-color: #666666 !important;
    color: #FFFFFF !important;
    cursor: pointer !important;
}

.sel_A {
    display: block;
}
.sel_B {
    display: none;
}
/*
	NAV
*/
#navbar {
    margin: 0;
    height: 7em;
    width: 100%;
    padding: 1em 0em;
}
img.logo {
    height: 4.3em;
    width: 6.55em;
    display: inline-block;
}
.nav {
    display: inline-block;
    text-align: right;
    width: calc(100% - 10em);
    vertical-align: top;
    margin-top: 1.5em;
}
.mobile {
  display: none;
}
img.facebook {
    height: 1.2em;
    margin-top: 1px;
    margin-bottom: -3px;
}
img.home {
    height: 0.9em;
}
a.link img.home:hover {
    filter: invert(24%) sepia(91%) saturate(7268%) hue-rotate(357deg) brightness(92%) contrast(113%);
}
a.link {
    text-decoration: none;
    font-size: 1.2em;
    font-weight: bold;
    color: #000000;
    vertical-align: middle;
    margin: 0.7em;
}
a.link:hover {
    color: #FF0000;
}
.marked {
    color: #FF0000 !important;
    font-size: 1.2em;
    font-weight: bold;
    vertical-align: middle;
    margin: 0.7em;
    text-decoration: none;
}
#phone {
    display: none;
}
/* phone nav */
@media only screen and (max-width: 700px) {
	#navbar {
        margin: 0;
        width: 100%;
        padding: 10px 0em;
        position: fixed;
        z-index: 10;
        height: auto;
        background-color: #FFFFFF;
    }
	img.logo {
		width: auto;
    margin: 0px 0px 0px 20px;
    height: 24px;
    position: absolute;
	}
	a.logo {
		height: 80px;
		width: 200px;
		display: inline-block;
		margin: 30px 0 10px 0;
	}
	.nav {
		display: none;
		height: auto;
        margin: 0px 0px -2px 0px;
        background-color: #FFF;
        text-align: center;
        width: 100%;
	}
	.nav br {
		display: inline;
	}
	.nav a {
		color: #000000 !important;
		padding: 10px 0px !important;
		text-decoration: none !important;
		font-size: 18px !important;
		display: block !important;
	}
	.nav a:hover {
		background-color: rgba(50, 50, 50, 0.1) !important;
		color: #FF0000 !important;

	}
	.nav img#fb {
		margin-bottom: -5px;
    }
    #phone {
        display: block;
        color: #000000;
        text-decoration: none;
	}
	#phone.icon {
        font-size: 18px;
        position: absolute;
        right: 0;
        top: 0;
        padding: 0 20px;
	}
	.marked {
		color: #FF0000 !important;
        font-size: 1.2em;
        font-weight: bold;
        vertical-align: middle;
        margin: 0.7em;
        text-decoration: none;
	}
  .mobile {
    display: inline-block;
  }
}


/*
	FOOTER
*/
#footer {
	position: absolute;
	right: 0;
	bottom: -20px;
	left: 0;
	width: 100%;
	background-color: #ffffff;
	color: #000000;
	text-align: center;
	padding-top: 20px;
	padding-bottom: 40px;
	margin-bottom: -40px;
}
.footer-link{
	color: #000000;
	text-decoration: none;
}
.footer-link:hover{
	cursor: pointer;
	text-decoration: underline;
	color: #FF0000;
}
.footer-copy, .footer-made {
	position: absolute; 
	padding: 0px 15px 20px 15px;
	margin: 0px auto;
	display: inline-block;
}
.footer-copy {left: 0;}
.footer-made {right: 0;}
@media only screen and (max-width: 830px) {
	#footer {
		padding-bottom: 20px;
	}
	.footer-copy, .footer-made {
		position: static;
		margin: 0px auto;
		padding: 0px;
	}
}
/*	contact */
.contact {
	position: relative;
	height: inherit;
	padding: 0px;
    font-size: 16px;
    color: #FFFFFF;
    background-image: url("images/contact.jpg");
    background-size: cover;
	background-repeat: no-repeat;
    background-position: center;    
}
.c_tint {
    height: 100%;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 5px 0 30px 0;
}
.sides {
	width: 468px;
	height: 400px;
    display: inline-block;
	margin-left: 20px;
	margin-right: 20px;
	vertical-align: top;
	text-align: left;
	margin-top: 20px;
	font-size: 18px;
}
.sides a {
	text-decoration: none;
	color: #000000;
}
.sides a:hover {
	color: #3C92D5;
}

input, textarea {
    width: 100%;
    margin-left: 5px;
    margin-right: 5px;
    padding-left: 10px;
    padding-right: 10px;
    height: 35px;
    margin-bottom: 15px;
    border: 1px solid #FFFFFF;
	border-radius: 2px;
	font-family: arial;
}
.choose {
    width: 300px;
	display: inline-block;
	margin-left: 20px;
	margin-right: 20px;
	vertical-align: top;
	text-align: left;
}
textarea {
    height: 192px;
	padding-top: 5px;
}
label {
    display: inline-block;
    margin-bottom: 0.5rem;
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
button.submit-button {
    background-color: #000000;
	width: 100px;
	text-align: center;
	color: #ffffff;
	height: 30px;
	border: 1px solid #ffffff;
}
button.submit-button:hover {
	background-color: #FF0000;
	cursor: pointer;
}
#email { 
	display: none; 
} 
#r{
	color: red !important;
}

@media only screen and (max-width: 1000px) {
    #body, .box {
        width: 100%;
    }
    .pasl {
        width: 340px;
        height: 220px;
    }
}
@media only screen and (max-width: 880px) {
    .pasl {
        width: 300px;
        height: 200px;
    }
    .more {
        font-size: 16px;
        padding: 100px;
    }
    #side h4 {
        height: 2.2em;
    }
}
@media only screen and (max-width: 820px) {
    #side.left {
        float: none;
    }
    #side {
        width: 100%;
        margin-bottom: 4em;
    }
    iframe.ser {
        bottom: auto;
    }
    p.adr {
        text-align: left;
    }
}
@media only screen and (max-width: 820px) {
    a.link, .marked {
        margin: 0.2em;
    }
    #header {
        height: 34em;
    }
    .htitle {
        margin: 2em 0 1em 0;
    }
}
@media only screen and (max-width: 760px) {
    #paslaugos {
        text-align: center;
    }
    .pasl {
        width: 400px;
        height: 260px;
        float: none;
        margin: 30px;
    }
    .more {
        font-size: 20px;
        padding: 110px;
    }
}
@media only screen and (max-width: 720px) {
    a.link, .marked {
        margin: 0.2em;
    }
}
@media only screen and (max-width: 600px) {
    .page {
        min-height: 20em;
    }
    .pasl {
        width: calc(100% - 64px);
        max-height: 260px;
        height: auto;
    }
    #body {
        padding: 2em 2em;
    }
    #body p {
        text-align: left;
    }
    iframe {
        width: 100%;
    }
    .htitle {
        width: 400px;
        min-height: 160px;
    }
    .htitle h2 {
        font-size: 16px;
    }
    .htitle h2 {
        font-size: 16px;
    }
    .htitle h3 {
        font-size: 12px;
    }
}
@media only screen and (max-width: 520px) {
    .more {
        padding: 100px;
    }
}
@media only screen and (max-width: 480px) {
    #paslaugos {
        padding: 2em 2em;
    }
}
@media only screen and (max-width: 420px) {
    .more {
        padding: 76px;
    }
}
@media only screen and (max-width: 400px) {
    .htitle {
        width: 320px;
    }
}
@media only screen and (max-width: 360px) {
    .more {
        padding: 60px;
    }
}