@font-face{
	font-family: "sanspro";
	src: url('../font/SourceSansPro-ExtraLight.otf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face{
	font-family: "fredoka";
	src: url('../font/FredokaOne-Regular.otf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face{
	font-family: "neue";
	src: url('../font/BebasNeue-Regular.otf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face{
	font-family: "copperlate";
	src: url('../font/CopperplateGothic.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

@font-face{
	font-family: "roboto";
	src: url('../font/Roboto-Light.ttf') format('truetype');
	font-weight: normal;
	font-style: normal;
}

body{
  font-family: "roboto";
}

li.error{
  list-style: none;
  color: red;
  font-size: 12px;
}

.clear{
  clear: both;
}

img{
  max-width: 100%;
  /*max-height: 100%;*/
}

/*header{
  width: 100%;
  height: 100px;
  background-color: rgb(0, 20, 71);
}*/

/* Topbar */
.top-bar{
	position: relative;
  width: 100%;
  height: 20px;
  background-color: maroon;
	box-sizing: border-box;
}

.top-bar .nama-rs{
	position: absolute;
	top: 0;
	left: 35px;
	font-size: 12px;
	line-height: 20px;
}

.top-bar .contact-rs{
	position: absolute;
	top: 0;
	right: 125px;
	font-size: 12px;
	line-height: 20px;
}
/* End Topbar */

/* Navigasi */

nav{
  position: relative;
  width: 100%;
  height: 75px;
  background-color: rgb(255, 255, 255);
  box-sizing: border-box;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  font-family: "neue";
  z-index: 999999999;
}

.nav-fixed{
  position: fixed;
  top: 0;
}

nav .logo{
  position: absolute;
  width: 5.5%;
  height: 100%;
  padding: 15px;
}

.logo img{
  width: 100%;
  height: 100%;
}

nav .nav-right{
  float: right;
}

#menu-textx{
  display: none;
}

#nav, #nav ul{
	margin:0;
	padding:0;
	list-style-type:none;
	list-style-position:outside;
	position:relative;
  z-index: 99999;
}

#nav a{
	display:block;
  padding: 0 20px;
  line-height: 75px;
	color: rgb(59, 87, 140);
	text-decoration:none;
  font-weight: bold;
}

#nav a.nav-active{
	color: rgb(213, 183, 28);
}

#nav ul a{
  background-color: #fff;
  color: rgb(59, 87, 140);
  padding: 0 20px;
  line-height: 40px;
}

#nav ul a.nav-active{
  color: rgb(213, 183, 28);
}

#nav a:hover{
	background-color: #fff;
  color: rgb(0, 20, 71);
}

#nav ul a:hover{
  color: rgb(0, 20, 71);
}

#nav li{
	float:left;
	position:relative;
}

#nav ul {
	position:absolute;
	display:none;
	width:15em;
	top:100%;
}

#nav li ul a{
	width:15em;
	height:auto;
	float:left;
}

#nav li ul{
  background-color: rgb(0, 20, 71);
  /*border: 1px solid rgba(0, 0, 0, .3);*/
  padding-top: 2px;
  box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  overflow: hidden;
}

#nav ul ul{
	top:auto;
}

#nav li ul ul {
	left:15em;
	margin:0px 0 0 10px;
}

#nav li:hover ul ul, #nav li:hover ul ul ul, #nav li:hover ul ul ul ul{
	display:none;
}

#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li li li li:hover ul{
	display:block;
  transition: 1s;
}

/* End Navigasi */

.title-halaman{
	width: 100%;
	padding: 10px 0 5px 0;
	background-color: rgba(0, 0, 0, .05);
	font-family: "sanspro";
}


/* Beranda */

/* Slide */
.slide-div{
  width: 100%;
  transition: 1s;
}

/* Slide */

.cycle-slideshow {
 width: 100%;
 height: 525px;
 display: block;
 position: relative;
 margin: 0 auto;
 overflow: hidden;
}
.cycle-prev, .cycle-next {
 font-size: 200%;
 color: #fff;
 display: block;
 position: absolute;
 top: 50%;
 z-index: 9999;
 cursor: pointer;
 margin-top: -16px;
}
.cycle-prev { left: 42px; }
.cycle-next { right: 62px; }
.cycle-pager {
 display: none;
 position: absolute;
 width: 100%;
 height: 10px;
 bottom: 10px;
 z-index: 9999;
 text-align: center;
}
.cycle-pager span {
 text-indent: 100%;
 top: 100px;
 width: 10px;
 height: 10px;
 display: inline-block;
 border: 1px solid #fff;
 border-radius: 50%;
 margin: 0 10px;
 white-space: nowrap;
 cursor: pointer;
}
.cycle-pager-active { background-color: #eee; }

/*EndSlide*/

/* End Slide */

/* Box and Box */

.box-box{
  position: relative;
  width: 100%;
	padding: 20px 0;
	background-color: #fff;
	font-family: "fredoka";
}

.layanan-darurat, .jadwal-dokter, .jam-layanan{
	text-align: center;
}

.layanan-darurat i, .jadwal-dokter i, .jam-layanan i{
	font-size: 100px;
	color: rgb(64, 157, 62);
}

.layanan-darurat .akses, .jadwal-dokter .akses, .jam-layanan .akses{
	padding: 20px 0;
}

.akses a{
	text-decoration: none;
	font-size: 30px;
	font-weight: bold;
	color: rgb(59, 87, 140);
}

.akses a:hover{
	color: rgb(0, 20, 71);
}

/* End Box and Box */

/* Berita Index */
.berita-index{
	width: 100%;
	background-color: rgba(0, 0, 0, .05);
	padding: 30px 0;
}

.berita-card{
	width: 100%;
	position: relative;
	margin: 20px auto;
	background-color: rgb(255, 255, 255);
	border-bottom: 3px solid maroon;
	box-shadow: 0 0 20px grey;
	padding-bottom: 10px;
}

.berita-card .gambar{
	position: relative;
	overflow: hidden;
	width: 100%;
	height: 200px;
}

.berita-card .gambar img{
	width: 100%;
	height: 100%;
}

.berita-card .waktu{
	width: 100%;
	padding: 20px 15px 5px 15px;
	font-size: 14px;
}

.berita-card .waktu i{
	color: rgb(64, 157, 62);
}

.berita-card .judul{
	width: 100%;
	height: 55px;
	padding: 5px 15px;
	font-size: 18px;
	word-wrap: break-word;
	overflow: hidden;
}

.berita-card .judul a{
	text-decoration: none;
}

.berita-card .judul a:hover{
	color: rgb(0, 20, 71);
}

.berita-card .isi{
	width: 100%;
	height: 90px;
	padding: 5px 15px;
	font-size: 14px;
	word-wrap: break-word;
	overflow: hidden;
}
/* End Berita Index */

/* End Beranda */


/* Profil */
.profil{
	width: 100%;
	min-height: 550px;
}

.profil-isi, .layanan-isi{
	width: 100%;
	box-sizing: border-box;
	padding: 20px 5px;
	word-wrap: break-word;
}

.profil-isi-kerjasama, .profil-isi-dokter{
	margin-top: 20px;
	background-color: rgba(0, 0, 0, 0.05);
	transition: .5s;
}

.profil-isi-dokter-list{
	margin-top: 20px;
}

.profil-isi-dokter-list a{
	margin-bottom: 10px;
}

.profil-isi-dokter a{
	text-decoration: none;
}

.profil-isi-dokter:hover{
	background-color: rgba(0, 0, 0, 0.2);
}

#ModalDocter{
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, .4);
	z-index: 9999999999999;
	display: none;
}

#ModalDocter .closeModalDocter{
	position: absolute;
	top: 10px;
	right: 10.5%;
	background-color: rgba(255, 0, 0, .5);
	padding: 3px 14px;
	color: #fff;
	font-size: 20px;
	font-weight: bold;
	border-radius: 50%;
	cursor: pointer;
}

#ModalDocter .modal-content{
	margin: 0 auto;
	margin-top: 10px;
	width: 70%;
	height: 640px;
	box-sizing: border-box;
	padding: 5px 20px;
	overflow: scroll;
	box-shadow: 0 0 20px rgba(0, 0, 0, .5);
}

.modal-content .gambar{
	width: 100%;
	box-sizing: border-box;
	padding: 5px 100px;
}

.modal-content .biodata{
	width: 100%;
	box-sizing: border-box;
	padding: 5px 100px;
}

.biodata .doc-nama, .biodata .doc-spesialis{
	text-align: center;
	font-size: 25px;
	font-weight: bold;
}

.biodata .doc-datadiri{
	margin-top: 10px;
	text-align: justify;
}

/* End Profil */

/* Layanan */
.layanan{
	width: 100%;
	min-height: 550px;
}

.layanan .list-poliklinik{
	margin-top: 20px;
	min-width: 100%;
}

.list-poliklinik a{
	display: block;
	text-decoration: none;
	width: 100%;
	height: 40px;
	border: 2px solid grey;
	line-height: 30px;
	margin-bottom: 2px;
	padding: 3px 10px;
	box-sizing: border-box;
	font-size: 14px;
	color: #000;
	font-weight: bold;
	transition: .2s;
}

.list-poliklinik a:hover{
	background-color: rgb(59, 87, 140);
	border: 2px solid rgb(59, 87, 140);
	color: #fff;
}

.content-poliklinik{
	margin-top: 20px;
}

.content-poliklinik .isi-tabs{
	padding: 5px 10px;
}
/* End Layanan */

/* Jadwal */
.jadwal-tabel{
	width: 100%;
	margin: 20px 0;
}

.jadwal-tabel table{
	width: 100%;
}

.jadwal-tabel table thead{
	background-color: rgb(59, 87, 140);
	color: #fff;
	text-align: center;
}

.jadwal-tabel table tbody .jam{
	text-align: center;
	font-size: 13.5px;
}

.jadwal-tabel table tbody .nama-dokter{
	text-indent: 10px;
}
/* End Jadwal */

/* Informasi */
.informasi{
	width: 100%;
	min-height: 550px;
}

/* Berita */
.hal-berita{
  margin: 20px auto;
  width: 85%;
  height: auto;
  background-color: rgba(236, 230, 254, 0);
}

.hal-berita .berita-header{
  position: relative;
  padding: 20px 50px;
  font-size: 20px;
}

.hal-berita .berita-header .icon-ber i{
  color: rgb(64, 157, 62);
}

.hal-berita .berita-header .oleh-waktu{
  position: absolute;
  top: 25px;
  right: 6.7%;
  font-size: 15px;
}

.hal-berita .berita-header .oleh-waktu span{
  width: 100%;
  padding: 3px;
  color: #fff;
  border-radius: 10px;
  border: 2px solid maroon;
  background-color: maroon;
}

.hal-berita .berita-header .oleh-waktu .tanggal{
  display: inline-block;
  padding: 3px;
  border-radius: 10px;
  border: 1px solid grey;
  box-sizing: border-box;
}

.hal-berita .berita-header .oleh-waktu .tanggal i{
  color: rgb(64, 157, 62);
}

.hal-berita .gambar{
	padding: 0 60px;
	width: 100%;
	height: 500px;
}

.hal-berita .gambar img{
	width: 100%;
	height: 100%;
	/* box-shadow: 0 0 10px grey; */
}

.hal-berita .judul{
  font-size: 30px;
  padding: 0 60px;
  margin-bottom: 10px;
}

.hal-berita .description{
  padding: 0 60px;
  font-size: 14px;
  margin-bottom: 10px;
}

.hal-berita .link{
  padding: 0 60px 20px 60px;
}

.detail-konten-i{
	margin: 20px auto;
	width: 85%;
	height: auto;
}

.detail-konten-i .header, .detail-konten-i .body{
	padding: 0 50px;
}

.detail-konten-i .header .info span{
	padding-right: 15px;
}

.detail-konten-i .gambar{
	width: 100%;
	margin: 15px 0;
}

.detail-konten-i .body .isi{
	width: 100%;
	padding: 0 5px;
}
/* End Berita */

/* Publikasi */
.content-publikasi{
	margin: 20px 0;
}

.content-publikasi .judul{
	font-size: 30px;
	margin-bottom: 10px;
}

.content-publikasi .waktu{
	margin-bottom: 10px;
}

.content-publikasi .waktu span i{
	color: rgb(64, 157, 62);
}

.content-publikasi .isi{
	font-size: 14px;
	margin-bottom: 10px;
}
/* End Publikasi */

/* Karir */
.content-karir{
	margin: 20px 0;
}

.content-karir .judul{
	font-size: 30px;
	margin-bottom: 10px;
}

.content-karir .waktu{
	margin-bottom: 10px;
}

.content-karir .waktu span i{
	color: rgb(64, 157, 62);
}

.content-karir .isi{
	font-size: 14px;
	margin-bottom: 10px;
}
/* End Karir */
/* End Informasi */

/* Kontak */
.kontak{
	width: 100%;
	min-height: 550px;
}

.kontak-info{
	margin-top: 20px;
	width: 100%;
	box-sizing: border-box;
	padding: 20px 40px;
	border: 1px solid rgba(0, 0, 0, 0.2);
}

.icon-kontak{
	margin-top: 10px;
}

.icon-kontak span i{
	font-size: 120px;
	color: rgb(64, 157, 62);
}

.title-kontak{
	font-size: 20px;
	font-weight: bold;
}

.content-kontak{
	margin-bottom: 10px;
}
/* End Kontak */

/* Footer */
footer{
	width: 100%;
	padding: 50px 0;
	background-color: maroon;
	color: #fff;
	font-family: "sanspro";
}

footer .info{
	font-size: 15px;
}

.media-soc{
  margin-top: 25px;
  text-align: center;
}

.media-soc a{
  margin: 0 10px;
}

.media-soc img{
  width: 35px;
  height: 35px;
}

.copy-right{
	width: 100%;
	padding: 10px 0;
	background-color: rgb(17, 3, 27);
	text-align: center;
	color: #fff;
	font-family: "sanspro";
}
/* End Footer */

@media only screen and (max-width: 1200px){
  nav .logo{
    width: 7.5%;
  }
}

@media only screen and (max-width: 960px){
  nav .logo{
    width: 9%;
  }
}

@media only screen and (max-width: 720px){
	.nav-fixed{
	  position: relative;
	}

  nav .logo{
    width: 11.5%;
  }

	.contact-rs{
		display: none;
	}

  #menu-textx{
    display: block;
    position: absolute;
    top: 35%;
    right: 15%;
    color: rgb(59, 87, 140);
    font-weight: bold;
    transition: .5s;
  }

  #menu-textx:hover{
    cursor: pointer;
    color: rgb(0, 20, 71);
  }

	#nav, #nav ul{
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background-color: #fff;
  }

	#nav li ul a{
		width:100%;
		background-color: rgb(0, 20, 71);
	}

	#nav ul{
		position: relative;
		display: block;
	}

  .menu-open{
    max-height: 10000% !important;
  }

  #nav li{
    width: 100%;
    display: block;
    text-align: center;
    margin: 0;
    border-bottom: 2px solid maroon;
  }

  #nav a{
    line-height: 50px;
  }

	.hal-berita{
	  width: 95%;
	}
}

@media only screen and (max-width: 650px){
  nav .logo{
    width: 15%;
  }

	.hal-berita{
	  width: 100%;
	}

	.cycle-slideshow{
		height: auto;
	}
}

@media only screen and (max-width: 500px){
  nav .logo{
    width: 18.5%;
  }

	.hal-berita .gambar{
		padding: 0 20px;
		height: auto;
		margin-top: 10px;
	}

	.hal-berita .berita-header{
	  padding: 20px 0;
	}

	.hal-berita .berita-header .oleh-waktu{
	  position: relative;
	}

	.hal-berita .berita-header .oleh-waktu .tanggal{
	  display: block;
		margin-top: 10px;
	}

	.hal-berita .judul{
	  padding: 0 20px;
		font-size: 20px;
	}

	.hal-berita .description{
	  padding: 0 20px;
	}

	.hal-berita .link{
	  padding: 0 20px 20px 20px;
	}
}

@media only screen and (max-width: 360px){
  nav .logo{
    width: 25%;
  }
}
