/**********************************************
Title			: OscarMotor.id CSS
Author			: Ellendon Aaron Tingon (@Enztun)
Studio			: Aaron Strategic Partnership 
License			: All rights reserved
**********************************************/


/* GENERAL */
body {
	font-family:"Gotham", sans-serif;
	background: white;
}

h1 {
	font-size: 3em;
}

h2 {
	font-size: 2em;
	margin: 0.5em 0;
}

p {
	font-size: 1.2em;
	line-height: 1.7em;
}

section {
	width: 100%;
}

	.wrapper {
		width: 90%;
		margin: auto;
		display: table;
		clear: both;
	}
	.wrapper2 {
		width: 90%;
		margin: auto;
		display: block;
		clear: both;
	}
	
	.threeCol {
		width: 30%;
		margin-right: 3%;
		float: left;
	}
	
	.fourCol {
		width: 23%;
		margin-right: 2%;
		float: left;
	}
	
    .facebook-responsive {
        overflow:hidden;
        padding-bottom:56.25%;
        position:relative;
        height:0;
    }

    .facebook-responsive iframe {
        left:0;
        top:0;
        height:100%;
        width:100%;
        position:absolute;
    }

a {
	color: #000000;
	opacity: 0.8;
	font-weight: bold;
	text-decoration: none;
	line-height: 1.5em;
}

a:hover {
	opacity: 0.6;
	transition: 0.4s;
}


/* BREAK */
.break {
	background: black;
	width: 7em;
	height: 0.5em;
	margin: 1.5em 0;
}
.break2{
	background: white;
	width: 7em;
	height: 0.5em;
	margin: 1.5em 0;
}

/* FIXED NAV BAR */
#fixedNavBar {
	background: white;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	transition: 0.4s;
}

.fixedNavBarWrap {
	height: 5.6em;
	margin: auto;
}

	.fixedNavBarWrap a img {
		margin: 1em 0 0 0;
		position: relative;
	}

	.fixedNavBarWrap nav {
		float: right;
		font-weight: bold;
		margin: 2.2em 0 0 0;
	}

		.fixedNavBarWrap nav a {
			opacity: 1;
			margin: 0 0 0 2em;
			padding: 0.4em 0;
		}

		.fixedNavBarWrap nav a:hover {
			border-bottom: 0.2em solid #0000FF;
			opacity: 1;
			transition: 0s;
		}

.active {
	border-bottom: 0.2em solid #0000FF;
}


/* MOBILE NAV BAR */
#mobileNavBar, #mobileNavBarBottom {
	display: none;
}


/* BERANDA */
.w3-animate-fading{animation:fading 5s infinite}@keyframes fading{0%{opacity:0}30%{opacity:1}80%{opacity:1}100%{opacity:0}}	
#beranda img {
    width: 100%;
	margin-top: 5.6em;
    max-height: 100%;
}

#beranda button {
	background: #000000;
	color: white;
	border: none;
	display: inline-block;
	padding: 1.5em;
	cursor: pointer;
	opacity: 0.6;
}

#beranda button:hover {
	opacity: 1;
}

.left {
	position: absolute;
	top: 50vh;
	left: 0;
}

.right {
	position: absolute;
	top: 50vh;
	right: 0;
}


/* BERITAHALAMAN */
.w3-animate-fading{animation:fading 5s infinite}@keyframes fading{0%{opacity:0}30%{opacity:1}80%{opacity:1}100%{opacity:0}}	
#BeritaHalaman img {
    width: 100%;
	margin-top: 5.6em;
    max-height: 100%;
}

#BeritaHalaman button {
	background: #000000;
	color: white;
	border: none;
	display: inline-block;
	padding: 1.5em;
	cursor: pointer;
	opacity: 0.6;
}

#BeritaHalaman button:hover {
	opacity: 1;
}

.left {
	position: absolute;
	top: 50vh;
	left: 0;
}

.right {
	position: absolute;
	top: 50vh;
	right: 0;
}

/* ACCENT */
.accent {
	background: #000000;
	height: 1.5em;
	opacity: 0.8;
}


/* TENTANG */
#tentang {
	color: white;
	padding: 3em 0;
	text-align: justify;
    text-justify: auto;
}

	#tentang a {
		background: #000000;
		margin-top: 1.5em;
		padding: 1.5em 3em;
		display: inline-block;
		text-align: center;
		opacity: 0.8;
	}
	
	
/* ACCORDION */
.tab {
	width: 75%;
	color: white;
	overflow: hidden;
	background: black;
	margin-bottom: 1.5em;
}

.tab input {
	position: absolute;
	opacity: 0;
	z-index: -1;
}

.tab label {
	position: relative;
	display: block;
	width: 100%;
	margin: auto;
	padding: 1em 0 1em 1em;
	font-weight: bold;
	cursor: pointer;
	text-align: left;
	line-height: 1.5em;
}

.tab-content {
	max-height: 0;
	overflow: hidden;
	background: #606060;
	-webkit-transition: max-height 3s ease-out; /* Close */
	-o-transition: max-height 3s ease-out;
	transition: max-height 3s ease-out;
}

.tab-content p {
	margin: 0.75em 1em;
}

/* :checked */
.tab input:checked ~ .tab-content {
	max-height: 100vh;
	-webkit-transition: max-height 6s ease-out; /* Open */
	-o-transition: max-height 6s ease-out;
	transition: max-height 6s ease-out;
}

/* Icon */
.tab label::after {
	position: relative;
	display: block;
	width: 10%;
	height: 100%;
	float: right;
	text-align: center;
	-webkit-transition: all 1s ease-out; /* Icon */
	-o-transition: all 1s ease-out;
	transition: all 1s ease-out;
}

.tab input[type=checkbox] + label::after {
	content: "+";
}

.tab input[type=checkbox]:checked + label::after {
	transform: rotate(315deg);
}
	
	
/* LAYANAN */
#layanan {
	padding: 3em 0;
	background: white;
}

	#layanan a {
		background: #000000;
		margin-top: 1.5em;
		padding: 1.5em 3em;
		display: inline-block;
	}
	
	#layanan .fourCol {
		background-size: cover;
		min-height: 26em;
		margin-bottom: 1em;
	}
	
.hover1 {background-image: url('images/Lokasi.jpg');}
.hover1:hover {background-image: url('images/LokasiHover.jpg'); transition: 0.4s;}
.hover2 {background-image: url('images/Konsultasi.jpg');}
.hover2:hover {background-image: url('images/KonsultasiHover.jpg'); transition: 0.4s;}
.hover3 {background-image: url('images/Diagnosa.jpg');}
.hover3:hover {background-image: url('images/DiagnosaHover.jpg'); transition: 0.4s;}
.hover4 {background-image: url('images/Harga.jpg');}
.hover4:hover {background-image: url('images/HargaHover.jpg'); transition: 0.4s;}


/* BERITA */
#berita {
	background: black;
	color: white;
	padding: 3em 0;
	text-align: justify;
    text-justify: auto;
}

	#berita .break {
		background: white;
		margin-bottom: 1.5em;
	}
	
	#berita img {
		width: 100%;
	}
	
	#berita a {
		border: 0.15em solid white;
		margin-top: 1.5em;
		padding: 1.5em 3em;
		display: inline-block;
		text-align: center;
		color: white;
	}
	
	#berita a:hover {
		background: white;
		color: #0000FF;
		opacity: 1
	}
	
	
/* TENTANG KAMI */
#tentangKami {
	padding: 8.6em 0 3em 0;
	background: white;
	text-align: justify;
    text-justify: auto;
}
	
#tentangKami iframe {
	width: 100%;
	height: 100vh;
}

	
/* FAQ */
#faq {
	padding: 3em 0 1.5em 0;
	background: white;
}
	
	
/* LAYANAN SERVIS */
#LayananServis {
	padding: 8.6em 0 3em 0;
	background: white;
}

	#LayananServis img {
		width: 33%;
	}
	
	#LayananServis a.LayananServis {
		background: #0000FF;
		margin-top: 1.5em;
		padding: 1.5em 3em;
		display: inline-block;
	}
	

/* BERITA PAGE */
#beritaTerkini {
	background: #0000FF;
	color: white;
	padding: 8.6em 0 3em 0;
}

	#beritaTerkini .break {
		background: white;
	}
	
	#beritaTerkini img {
		width: 100%;
	}
	
	#beritaTerkini a {
		border: 0.15em solid white;
		margin-top: 1.5em;
		padding: 1.5em 3em;
		display: inline-block;
		text-align: center;
	}
	
	#beritaTerkini a:hover {
		background: white;
		color: #0000FF;
		opacity: 1
	}
	
.beritaLainnya {
	padding-top: 3em;
	background: white;
}

	.beritaLainnya img {
		width: 100%;
	}
	
	.beritaLainnya a {
		background: #0000FF;
		margin-top: 1.5em;
		padding: 1.5em 3em;
		display: inline-block;
		text-align: center;
	}
	
	.beritaLainnya .threeCol {
		margin-bottom: 3em;
	}

#beritaSingle {
	padding: 8.6em 0 3em 0;
	background: white;
}

	#beritaSingle iframe {
		width: 100%;
		height: 100vh;
	}
	
	#beritaSingle img {
		width: 100%;
		-webkit-transition: .5s ease;
		transition: .5s ease;
	}
	
	#beritaSingle img:hover {
		-webkit-transform: scale(2.2);
		-webkit-transition: .5s ease;
		transform: scale(2.2);
		transition: .5s ease;
	}
	
	#beritaSingle a {
		background: #0000FF;
		margin-top: 1.5em;
		padding: 1.5em 3em;
		display: inline-block;
		text-align: center;
	}
	
	#beritaSingle p a {
		background: none;
		margin-top: 0;
		padding: 0;
		color: white;
	}
	
	#beritaSingle p a:hover {
		color: #0000FF;
	}
	

/* PETA */
.resp-container {
    position: relative;
    overflow: hidden;
	padding-top: 5%;
    padding-left: 5%;
	padding-right: 5%;
	width: 90%;
    height: 90%;
}

.resp-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 90%;
    height: 90%;
    border: 0;
	padding-top: 2.5%;
    padding-left: 5%;
	padding-right: 5%;
}


    
/* KONTAK */
#kontak {
	background: #000000;
	color: white;
	padding: 3em 0;
}
	
	
/* FORM */
form {
	width: 100%;
	margin: auto;
	display: table;
	clear: both;
}

label {
	width: 10%;
	float: left;
	text-align: right;
	margin-top: 1em;
	font-size: 1.2em;
	font-weight: bold;
}

input, textarea {
	width: 80%;
	font-family:"Gotham", sans-serif;
	font-size: 1.2em;
	margin-bottom: 1.25em;
	padding: 1em;
}

textarea {
	height: 9em;
	margin-top: -0.75em;
}

textarea:focus, input:focus {
	border: 2px solid #0000FF;
}

input.submitButton {
	width: 20%;
	background: #0000FF;
	border: none;
	color: white;
	font-weight: bold;
	margin-top: 1em;
	padding: 1.5em 0;
	cursor: pointer;
}

input.submitButton:hover {
	opacity: 0.6;
	transition: 0.4s;
}


/* COPYRIGHT */
.copy {
	text-align: center;
	padding: 1.5em 0;
	line-height: 1.5em;
	width: 100%;
	background: white;
}

	.copy a {
		color: #D1D1D1;
	}
	
	.copy a:hover {
		color: #0000FF;
		opacity: 1;
	}


/* BACK TO TOP */ 
.top {
	background: #0000FF;
	bottom: 1.5em;
	right: 1.5em;
	padding: 1.5em;
	position: fixed;
	opacity: 0.9;
}


/* MEDIA QUERY */
@media only screen and (max-width: 1440px) {
#layanan .fourCol {
	min-height: 19.4em;
}
}

@media only screen and (max-width: 1366px) {
#layanan .fourCol {
	min-height: 18.4em;
}
}

@media only screen and (max-width: 640px) {
h1 { font-size: 1.25em; line-height: 1.25em; }
h2 { font-size: 1em; line-height: 1.5em; }
p {	font-size: 1em;	line-height: 1.5em;	}

#beranda img {
	margin-top: 4.2em;
	height: 56vw;
}

#beranda button {
	padding: 0.75em;
}

#BeritaHalaman img {
	margin-top: 4.2em;
	height: 56vw;
}

#BeritaHalaman button {
	padding: 0.75em;
}

.left, .right {
	top: 25vh;
}

#tentang, #layanan, #berita, .beritaLainnya {
	padding: 1.5em 0;
}

#faq {padding:1.5em 0 0 0;}

#tentang a, #layanan a {
	display: none;
}

.tab {
	width: 100%;
	Background: Black;
	color: white;
}

.tab label {
	width: 90%;
}

.tab label::after {
	width: 1.5em;
	height: 1.5em;
	-webkit-transition: all .5s ease-out; /* Icon */
	-o-transition: all .5s ease-out;
	transition: all .5s ease-out;
}

.tab-content {
	-webkit-transition: max-height .5s ease-out; /* Close */
	-o-transition: max-height .5s ease-out;
	transition: max-height .5s ease-out;
}

.tab input:checked ~ .tab-content {
	-webkit-transition: max-height 3s ease-out; /* Open */
	-o-transition: max-height 3s ease-out;
	transition: max-height 3s ease-out;
}

.beritaLainnya .break {
	margin-bottom: 0;
}

.beritaLainnya .threeCol {
	margin-bottom: 0;
}

#tentangKami, #LayananServis, #kontak, #beritaTerkini, #beritaSingle {
	padding: 6em 0 1.5em 0;
}

#tentangKami iframe {	
	height: 56vw;
}

#beritaSingle iframe {
	height: 56vw;
}

#beritaSingle img {
	-webkit-transition: none;
	transition: none;
}
	
#beritaSingle img:hover {
	-webkit-transform: none;
	-webkit-transition: none;
	transform: none;
	transition: none;
}

.hover1, .hover2, .hover3, .hover4 {
	display: block;
	width: 17em;
	height: 20.17em;
	margin: 1.5em auto;
	float: none;
}

label {
	display: block;
	float: none;
	width: 90%;
	text-align: left;
	font-size: 1em;
	margin-top: 0;
	margin-bottom: 0.5em;
}

input, textarea {
	width: 90%;
	font-family:"Gotham", sans-serif;
	font-size: 1em;
	margin-bottom: 1em;
	padding: 0.5em;
}

input.submitButton {
	width: 60%;
	background: #0000FF;
	border: none;
	color: white;
	font-weight: bold;
	margin-top: 0.5em;
	padding: 1.5em 0;
}

.copy {
	width: 100%;
	margin-bottom: 4.5em;
}

.break {
	width: 3em;
}

.threeCol {
	width: 100%;
	margin-right: 0;
	margin-top: 1.5em;
}

#fixedNavBar { visibility: hidden; }
.accent { height: 1em; }

#mobileNavBar {
	display: block;
	width: 100%;
	margin: auto;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	z-index: 9999;
	background: white;
}

	#mobileNavBar a img {
		width: 25%;
		display: block;
		float: left;
	}
	
	#mobileNavBar a img.logo {
		width: 75%;
		display: block;
		float: left;
	}

#mobileNavBarBottom {
	display: block;
	width: 100%;
	margin: auto;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 9999;
	background: white;
}

	#mobileNavBarBottom a img {
		width: 25%;
		display: block;
		float: left;
	}

#layanan .break { margin-bottom: 0; }

#layanan .fourCol {
	min-height: 19em;
	margin-bottom: 0;
}

#LayananServis img {
	width: 100%;
	max-width: 640px;
}

.top { visibility: hidden; }
}




