/*-----------------------------------------------------------

	Theme Name: MalangKota
	Theme URI: http://www.malangkota.go.id/
	Description: Theme Portal Resmi Pemerintah Kota Malang
	Author: Bidang Aptika (Diskominfo)
	Author Email: kominfo@malangkota.go.id 
	Version: 1.0

/* All Responsive
================================================== */
@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:landscape) {
	/* For landscape layouts only */
#page-title h2 {
	text-align: center;
}

#navigation {
	zoom: 1;
}
#menu li {
	padding:9px 15px 17px;
}

}

@media only screen and (min-device-width: 481px) and (max-device-width: 1024px) and (orientation:portrait) {
	/* For portrait layouts only */
#page-title h2 {
	text-align: center;
}

.desktop {
	display: none;
	visibility: hidden;
}

#navigation {
	zoom: 0.9;
}

.breadcrumbs {
	font-size:13px;
}

}

@media only screen and (max-width: 959px) {
	#logo {
	text-align: center;
	padding: 30px 0 10px;

}
#home-slider1{
	height: 350px;
}
#sub-header-wrap {
	height: 315px;
}
/* #home-slider {
	height: 312px;
} */
#sub-header-side {
	height: 315px;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}
#csr {
	height: 315px;
}
#csr img {
	height: 230px;
	width: auto;
	display: block;
    margin-left: auto;
    margin-right: auto;
}
#sub-header {
position: inherit;
}

.image-banner {
	margin-left: 3%;
}

#page-title h2 {
	text-align: center;
}

.desktop {
	display: none;
	visibility: hidden;
}
.full-page-excerpt {
	
    width: 100%;
    left: 0;
    padding: 15px 30px;
}
.full-nav-wrap {
    left: 15px;

    top: -20px;
}

}

/* Larger than Tablet portrait
================================================== */
@media only screen and (min-width: 768px) and (max-width: 959px) {
	.tablet {
	display: none;
	visibility: hidden;
}

#header-top {
	padding-bottom: 0;
}
#related-posts article .related-post-thumbnail {
	max-width: 35%;
}

.flexslider ul.slides {
	margin: 0;
	overflow: hidden;
}

#home-slider .flex-caption {
	width: 500px;
	top: 40%;
}

#home-slider .flex-caption h2 {
	font-size: 24px;
}

/*navigation*/
#navigation {
	position: static;
	display: table;
	margin: 0 auto;
	zoom: 0.9;
}

#navigation .main-menu > li {
	padding: 0 11px;
}
#navigation #menu > li {
	padding: 0 9px 0;
}
#menu li:hover .dropdown_1column, #menu li:hover .dropdown_2columns, #menu li:hover .dropdown_3columns, #menu li:hover .dropdown_4columns, #menu li:hover .dropdown_5columns {
	margin-top: 10px;
}

#news-box {
	height: 60%;
	overflow: hidden;
	min-height: 60%;
}

#news-box p {
	margin-bottom: 10px;
}

#news-box p:last-child,
#announcement-box p:last-child {
	display: none;
}

#announcement-box {
	height: 60%;
	overflow: hidden;
	min-height: 60%;
}

.announcement-box-title {
	float: none;
	margin-bottom: 10px;
}

#announcement-slider .slides {
	float: none;
	text-align: left;
	margin-left: 0;
}

#page-title h2 {
	text-align: center;
}

.home-category, .home-category-2 {
	width: 48.5%;
}
.home-post {
	width: 37%;
}


}

/* Smaller then tablet portrait
================================================== */
@media only screen and (max-width: 767px) {
	.tablet {
	visibility: hidden;
	display: none;
}

#header-ad {
	text-align: left;
}

.slide-inner .container {
	display: none;
}

#news-box {
	width: 50%;
	border-radius: 5px 0 0 0;
	margin-top: 20px;
	float: left;
	height: 100%;
}

#home-slider {
	width: 100%;
	height: auto;
}

#sub-header-side {
	width: 100%;
	height: 320px;

}
.box-title-link{
	font-size: 14px;
	margin: 0;
}
#announcement-box {
	width: 50%;
	margin-top: 20px;
	height: 100%;
	border-radius: 0 5px 0 0;
}

#search-box {
	border-radius: 0 0 5px 5px;
	width: 50%;
}

.home-category {
	width: 47.5%;
}
.home-post {
	width: 39.5%;
	margin: 40px 10px 10px;
}
#footer .col {
	width: 50%;
}

#sidebar {
	margin-top: 20px;
	display: inline-block;
	float: none;
	clear: both;
	width: 100%;
	margin: 0 auto;
}

#left-sidebar {
	margin-top: 30px;
	display: inline-block;
	float: none;
	clear: both;
	margin: 30px auto 0;
}
#sidebar-slider {max-width: 200px;float: none;}
.side-nav-wrap {
	margin-top: 20px;
}

.loop-entry-thumbnail {
	margin-bottom: 20px;
}

.wpex-one-half,.wpex-one-third,.wpex-two-third,.wpex-three-fourth,.wpex-one-fourth,.wpex-one-fifth,.wpex-two-fifth,.wpex-three-fifth,.wpex-four-fifth,.wpex-one-sixth,.wpex-five-sixth {
	width: 100%;
	float: none;
	margin-right: 0;
	margin-bottom: 20px;
}

.wpex-pricing-table > div {
	margin-bottom: 25px;
}

.wpex-box,.wpex-box.left,.wpex-box.right {
	float: none;
	width: 100% !important;
}

#related-posts article .related-post-thumbnail {
	max-width: 100%;
	float: none;
	margin-right: 0;
	margin-bottom: 20px;
	display: block;
}

/*navigation*/
#navigation {
	position: relative;
	height: 55px;
	line-height: 55px;
	background: rgba(192, 223, 248, 1);
	top: 0;
	right: 0;
	left: 0;
}

#navigation .selector {
	position: absolute;
	left: 0;
	top: 0;
	height: 53px;
	line-height: 53px;
	padding: 0;
	padding-left: 60px;
	padding-right: 30px;
	border-right: 1px solid rgba(241, 151, 101, 0.23);
	color: rgb(9, 45, 59);
	font-weight: 400;
	font-size: 12px;
	text-transform: uppercase;
	margin: 0;
	display: block;
	vertical-align: middle;
	zoom: 1;
	cursor: pointer;
	text-align: left;
}

#navigation .selector .menu-mobile:hover {
	background: rgb(241, 241, 241);
}

#navigation .selector .menu-mobile:after {
	font-family: FontAwesome;
	font-weight: normal;
	font-style: normal;
	font-size: 16px;
	line-height: 16px;
	text-decoration: inherit;
	-webkit-font-smoothing: antialiased;
	line-height: normal;
	vertical-align: baseline;
	display: block;
	position: absolute;
	content:"\f0c9";
	color: rgb(9, 45, 59);
	right: 30px;
	top: 50%;
	margin-top: -8px;
}

#navigation .selector select {
	position: absolute;
	top: 0;
	left: 0;
	height: 55px;
	background: none;
	width: 100%;
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: rgb(27, 27, 27) !important;
	cursor: pointer;
}

#navigation .selector select:focus {
	outline: 0;
}

#navigation .selector option {
	background: #ECECEC;
	-webkit-appearance: none;
	padding: 15px 25px;
	border-color: #303030;
}

#navigation .selector:hover {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	opacity: 1;
	-moz-opacity: 1;
	-webkit-opacity: 1;
}

#navigation .selector span {
	display: block;
	overflow: hidden;

	-o-text-overflow: ellipsis;
	-ms-text-overflow: ellipsis;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#navigation .selector {
	display: inline-block;
}

#navigation ul.main-menu {
	display: none;
}
#navigation ul#menu {
	display:none;
}
}

/* Mobile (Landscape)
================================================== */
@media only screen and (max-width: 480px) {
	#header-ad,#header-social,#home-slider .flex-caption {
	display: none;
}


/*navigation*/
#navigation .selector {
	border-right: 0;
	width: 100%;
	padding-left: 30px;
}

#navigation .selector:before {
	left: auto;
	right: 30px;
}

/*top-menu*/
#top-menu {
	width:100%;
}
#top-menu .selector {
	position: relative;
	float: left;
	left: 0;
	top: 0;
	height: 39px;
	line-height: 40px;
	padding: 0;
	padding-left: 60px;
	padding-right: 30px;
	border-right: 1px solid rgba(101, 151, 241, 0.23);
	color: rgb(32, 107, 202);
	font-weight: 400;
	font-size: 12px;
	text-transform: uppercase;
	margin: 0;
	display: block;
	vertical-align: middle;
	zoom: 1;
	cursor: pointer;
	text-align: left;
}

#top-menu .selector:hover {
	background: rgba(192, 223, 248, 1);
}

#top-menu .selector:before {
	font-family: FontAwesome;
	font-weight: normal;
	font-style: normal;
	font-size: 16px;
	line-height: 16px;
	text-decoration: inherit;
	-webkit-font-smoothing: antialiased;
	line-height: normal;
	vertical-align: baseline;
	display: block;
	position: absolute;
	content:"\f0c9";
	color: rgb(32, 107, 202);
	left: 30px;
	top: 50%;
	margin-top: -8px;
}

#top-menu .selector select {
	position: absolute;
	top: 0;
	left: 0;
	height: 40px;
	background: none;
	width: 100%;
	font-family: 'Open Sans', Helvetica, Arial, sans-serif;
	font-size: 13px;
	font-weight: 500;
	color: rgb(27, 27, 27) !important;
	cursor: pointer;
}

#top-menu .selector select:focus {
	outline: 0;
}

#top-menu .selector option {
	background: #ECECEC;
	-webkit-appearance: none;
	padding: 15px 25px;
	border-color: #303030;
}

#top-menu .selector:hover {
	-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
	filter: alpha(opacity=100);
	opacity: 1;
	-moz-opacity: 1;
	-webkit-opacity: 1;
}

#top-menu .selector span {
	display: block;
	overflow: hidden;

	-o-text-overflow: ellipsis;
	-ms-text-overflow: ellipsis;
	text-overflow: ellipsis;
	white-space: nowrap;
}

#top-menu .selector {
	display: inline-block;
}
#top-menu ul.menu-header {
	display:none;
}
#logo,#logo img,#logo h2,#site-description {
	float: none;
	text-align: center;
	margin: 8px auto 0;
}

.menu-header li {
	padding: 0 3px;
}

.slider-controller {
	display: none;
}

#banner-slider {
	width: 100%;
}

.image-banner {
	max-width: 45%;
	margin-left: 0;
	margin-right: 10%;
	margin-top: 20px;
}

.image-banner:last-child {
	margin-right: 0;
}

.home-category, .home-category-2 {
	width: 100%;
}
.home-category-2 {
	padding-top: 30px;
}
.home-post {
	width: 100%;
    float: left;
    margin: 40px 0 0;
}
.home-post img {
	display: block;
	margin-right: auto;
	margin-left: auto;
} 
.home-post h4 a, .home-post label {
	float: left;
	width: 100%;
	text-align: center;
	padding-top: 5px;
}

#sub-header-side {
	height: 100%;
}

#news-box {
	width: 100%;
	float: none;
	display: block;
	border-radius: 5px 5px 0 0;
}

#announcement-box {
	width: 100%;
	margin-top: 0;
	border-radius: 0;
}

#search-box {
	width: 100%;
}

.full-page-excerpt {
	
    width: 100%;
    left: 0;
    padding: 15px 30px;
    position: static;
}
.full-nav-wrap {
    width: 100%;
    position: static;
    display: block;
}
.full-width-content {
    float: none;
	
    width: 100%;
    margin-top: 130px;
    display: inline-block;
}

#footer .col {
	width: 100%;
	text-align: center;
}

}