/* Medium to Mobile - MD to XS */
/* ------------------------------------------------------ */

@media (max-width: 1199px) {

	body,
	.btn {
		font-size: 11px;
	}

	#header .header-top-bar .header-language {
		margin: 0 0 0 30px;
	}

	#header .header-top-bar .header-search {
		margin: 0 30px 0 0;
		width: 300px;
	}

	#header .header-top-bar .header-social {
		display: none;
	}

	#page-content .master-slider{
		display: none;
	}

}



/* Medium - MD */
/* ------------------------------------------------------ */

@media (min-width: 992px) and (max-width: 1199px) {

	#page-content > .page-content {
		width: 1070px;
	}

	/* Header hero */
	.header-hero-slider .slides .container {
		min-height: 450px;
	}

	.header-hero-slider .slides .text {
		width: 360px;
	}

	.header-hero-slider .slides .text h1 {
		font-size: 40px;
	}

	.header-hero-slider .slides .text h1 > span {
		font-size: 75px;
	}

	.header-hero-slider .slides .video {
		width: 520px;
		height: 320px;
	}

	.coran-accordion ul > li > a .title-2 {
		width: 200px;
	}

	.coran-accordion ul > li > a .section {
		width: 150px;
	}

}



/* Small to Mobile - SM to XS */
/* ------------------------------------------------------ */

@media (max-width: 991px) {

	#mobile-search-toggle {
		display: inline-block;
	}

	#header #mobile-search-container .header-search {
		margin: 0;
		width: 100%;
	}

	#header .header-top-bar .header-language {
		margin: 0 0 0 15px;
	}

	#mobile-menu-toggle {
		display: block;
	}

	/* Header Nav Bar */
	#header .header-nav-bar .primary-nav {
		float: none;
		overflow: hidden;
		margin-bottom: 20px;
		-webkit-border-radius: 3px;
		border-radius: 3px;
	}

	#header .header-nav-bar .primary-nav > li {
		float: none;
		margin-left: 0;
	}

	#header .header-nav-bar .primary-nav li > a,
	#header .header-nav-bar .primary-nav ul > li > a {
		padding: 3px 15px;
		width: 100%;
		height: auto;
		border-bottom: 1px solid #2b617b;
		background: #264558;
		color: #ffffff;
		text-transform: none;
		font-weight: normal;
		line-height: 24px;
	}

	#header .header-nav-bar .primary-nav > li:last-child > a {
		border-bottom: 0;
	}


	#header .header-nav-bar .primary-nav > li.active > a,
	#header .header-nav-bar .primary-nav > li:hover > a,
	#header .header-nav-bar .primary-nav > li.hover > a {
		background: #2b617b;
		color: #ffffff;
	}

	#header .header-nav-bar .primary-nav > li.active > a {
		color: #d2b995a;
		cursor: default;
	}

	#header .header-nav-bar .primary-nav ul,
	#header .header-nav-bar .primary-nav li:hover > ul,
	#header .header-nav-bar .primary-nav > li > ul ul {
		position: relative;
		top: auto;
		left: auto;
		display: none;
		visibility: visible;
		padding: 0;
		border-top: 0;
		opacity: 1;
	}

	#header .header-nav-bar .primary-nav li.hover > ul {
		display: block;
	}

	#header .header-nav-bar .primary-nav ul > li {
		position: relative;
	}

	#header .header-nav-bar .primary-nav ul > li.has-submenu > a {
		padding: 3px 30px 3px 15px;
	}

	#header .header-nav-bar .primary-nav > li > ul ul > li:first-child > a,
	#header .header-nav-bar .primary-nav ul > li:last-child > a {
		-webkit-border-radius: 0;
		border-radius: 0;
	}

	#header .header-nav-bar .primary-nav ul > li:last-child > a {
		border-bottom: 1px solid #2b617b;
	}

	#header .header-nav-bar .primary-nav > li.has-submenu {
		padding-right: 0;
	}

	#header .header-nav-bar .primary-nav > li > .submenu-arrow,
	#header .header-nav-bar .primary-nav ul > li > .submenu-arrow {
		width: 30px;
		height: 30px;
		text-align: center;
		line-height: 30px;
	}

	#header .header-nav-bar .primary-nav > li:hover > .submenu-arrow,
	#header .header-nav-bar .primary-nav > li.hover > .submenu-arrow,
	#header .header-nav-bar .primary-nav > li.active > .submenu-arrow {
		color: #b4d8ea;
	}

	#header .header-nav-bar .primary-nav > li.has-submenu > ul > li > a {
		padding-left: 30px;
		background: rgba(65,128,165,.75);
	}

	#header .header-nav-bar .primary-nav > li.has-submenu > ul > li > ul > li > a {
		padding-left: 45px;
		background: rgba(65,128,165,.5);
	}

	#header .header-nav-bar .primary-nav > li.has-submenu > ul > li > ul > li > ul > li > a {
		padding-left: 60px;
		background: rgba(65,128,165,.25);
	}

	/* Footer */
	#footer > .container {
		padding-top: 0;
		padding-bottom: 50px;
	}

	#footer > .container h5 {
		margin: 60px 0 30px;
	}

	.crowdfunding-section .slides > li img {
		position: relative;
		margin: 0 auto 25px auto;
		max-width: 320px;
	}

	.coran-accordion ul > li > a {
		padding: 0 0 0 40px;
	}

	.coran-accordion ul > li > a .number {
		width: 40px;
	}

	.coran-accordion ul > li > a .title-1 {
		padding: 10px 15px;
	}

	.coran-accordion ul > li > a .title-2,
	.coran-accordion ul > li > a .section {
		padding: 10px 15px;
	}

	.coran-accordion ul > li > a .title-2 {
		width: 200px;
	}

	.coran-accordion ul > li > a .section {
		display: none;
	}

	.coran-accordion ul > li > div {
		margin-left: 40px;
	}

	.search-item .content .video,
	.search-item .content .flexslider {
		display: none;
	}

	.search-item .content .info {
		padding-left: 0;
		width: 100%;
	}

	.search-item .contact {
		padding: 10px 0;
	}

	.search-item .contact > li {
		float: none;
		padding: 0 30px;
		width: 100%;
		text-align: left;
	}

	.search-item .contact > li:nth-child(2) {
		border: 0;
	}

	.comments-section .comments .comment {
		padding-left: 80px;
		min-height: 60px;
	}

	.comments-section .comments .comment .avatar {
		width: 60px;
		height: 60px;
	}

}



/* Small - SM */
/* ------------------------------------------------------ */

@media (max-width: 991px) and (min-width: 768px) {

	#page-content > .page-content {
		width: 830px;
	}

	#header .header-top-bar .header-search {
		width: 260px;
	}

	/* Header hero */
	.header-hero-slider .slides .container {
		min-height: 385px;
	}

	.header-hero-slider .slides .text {
		width: 260px;
	}

	.header-hero-slider .slides .text h1 {
		margin-top: 50px;
		font-size: 28px;
	}

	.header-hero-slider .slides .text h1 > span {
		font-size: 52px;
	}

	.header-hero-slider .slides .video {
		width: 400px;
		height: 260px;
	}

	/* Pricing Tables */
	.pricing-tables.tables-4 .pricing-tables-column {
		margin-bottom: 30px;
		width: 50%;
	}

	.pricing-tables.tables-4 .pricing-tables-column:nth-child(n+3) {
		margin-bottom: 0;
	}

}



/* Mobile - XS */
/* ------------------------------------------------------ */

@media (max-width: 767px) {

	.pricing-tables.tables-2 .pricing-tables-column,
	.pricing-tables.tables-3 .pricing-tables-column,
	.pricing-tables.tables-4 .pricing-tables-column {
		margin-bottom: 30px;
		width: 100%;
	}

	.pricing-tables.tables-2 .pricing-tables-column:last-child,
	.pricing-tables.tables-3 .pricing-tables-column:last-child,
	.pricing-tables.tables-4 .pricing-tables-column:last-child {
		margin-bottom: 0;
	}

	#header .header-top-bar .header-call-to-action { float: left; }

	#mobile-menu-container .login-register {
		display: block;
	}

	#header .header-login > .btn,
	#header .header-register > .btn {
		display: none;
	}

	#mobile-menu-container .btn.clone {
		display: inline-block;
		margin-bottom: 15px;
		padding-right: 0;
		padding-left: 0;
		width: 50%;
		-webkit-border-radius:  0 3px 3px 0;
		border-radius:  0 3px 3px 0;
		text-align: center;
	}

	#mobile-menu-container .btn.clone:first-child {
		border-right: 1px solid #b8a182;
		-webkit-border-radius: 3px 0 0 3px;
		border-radius: 3px 0 0 3px;
	}

	/* Header hero */
	.header-hero-slider .slides .container {
		padding-bottom: 60px;
		min-height: 0;
		height: auto;
	}

	.header-hero-slider .slides .text {
		width: 100%;
	}

	.header-hero-slider .slides .text h1 {
		margin-top: 20px;
		font-size: 28px;
	}

	.header-hero-slider .slides .text h1 > span {
		font-size: 52px;
	}

	.header-hero-slider .slides .video {
		position: relative;
		top: auto;
		right: auto;
		margin-top: 25px;
		width: 100%;
		height: 260px;
	}

	#footer .footer-copyright p {
		float: none;
		margin: 0 0 15px 0;
	}

	#footer .footer-copyright .footer-social {
		float: none;
	}

	#footer .footer-copyright .footer-social li {
		margin-right: 10px;
		margin-left: 0;
	}

	/* Crowdfunding */
	.crowdfunding-section .slides > li .meta ul > li {
		display: block;
		float: none;
		padding: 5px 15px;
		width: 100%;
		border-right: 0;
		border-bottom: 1px solid #e9e8e9;
		text-align: left;
		font-size: 14px;
	}

	.crowdfunding-section .slides > li .meta ul > li > span {
		display: inline;
		font-size: 22px;
	}


	.crowdfunding-section .slides > li .meta ul > li:last-child {
		border: 0;
	}

	/* Smartphones  ----------- */
	@media only screen and (max-width : 767px) {
    	.hide-register {
        	display: none;
    	}
	}

	/* Tab ----------- */
	@media only screen and (max-width : 991px) and (min-width : 768px) {
		.hide-register {
		    display: none;
		}
	}


	/* Call to Action Section */
	.call-to-action-section {
		height: auto;
	}

	.call-to-action-section .icon {
		width: 80px;
	}

	.call-to-action-section .icon img {
		position: absolute;
		top: 50%;
		left: 50%;
		margin: -24px 0 0 -22px;
	}

	.call-to-action-section .text {
		padding: 0 30px 0 110px;
	}

	.call-to-action-section .text > div p {
		margin: 0;
		padding-right: 0;
	}

	.call-to-action-section .css-table-cell {
		display: block;
		padding: 15px 0;
	}

	/* Tables */
	.table-responsive {
		overflow-x: scroll;
		overflow-y: hidden;
		margin: 30px 0 60px 0;
		width: 100%;
		-ms-overflow-style: -ms-autohiding-scrollbar;
		-webkit-overflow-scrolling: touch;
	}

	.table-responsive > table {
		margin: 0;
	}

	.table-responsive > table > thead > tr > th,
	.table-responsive > table > tbody > tr > th,
	.table-responsive > table > tfoot > tr > th,
	.table-responsive > table > thead > tr > td,
	.table-responsive > table > tbody > tr > td,
	.table-responsive > table > tfoot > tr > td {
		white-space: nowrap;
	}

	/* Testimonials */
	.testimonials-section {
		height: auto;
		background: none;
	}

	.testimonials-section .testimonial {
		position: relative;
		top: auto;
		left: auto;
		margin: 0;
		padding: 30px 15px;
		width: 100%;
		height: auto;
		background: #d2b995;
		text-align: center;
	}

	.testimonials-section .testimonial > img {
		position: relative;
		top: auto;
		left: auto;
		margin: 0;
		width: 100px;
		height: 100px;
		-webkit-border-radius: 3px;
		border-radius: 3px;
	}

	.testimonials-section .testimonial > div {
		position: relative;
		top: auto;
		right: auto;
		display: block;
		width: 100%;
		height: auto;
	}

	.testimonials-section .testimonial > div blockquote {
		display: block;
		margin: 0;
		padding: 0;
	}

	.testimonials-section .testimonial > div h1 {
		margin: 15px 0 0 0;
		font-size: 30px;
	}

	.twitter-feed-section .twitter-logo {
		display: none;
	}

	.twitter-feed-section .css-table {
		display: block;
		padding: 30px 60px 30px 0;
		height: auto;
	}

	.twitter-feed-section .css-table:before,
	.twitter-feed-section .css-table:after {
		display: table;
		content: ' ';
	}

	.twitter-feed-section .css-table:after {
		clear: both;
	}

	.twitter-feed-section .css-table-cell {
		display: block;
	}

	#header .header-top-bar .header-search .toggle .header-search-dropdown {
		width: 320px;
	}

	/* Responsive Tabs */
	.responsive-tabs > .nav-tabs {
		display: none;
	}

	.responsive-tabs > .tab-content > a.acc-link {
		display: block;
	}

	.responsive-tabs > .tab-content > .tab-pane,
	.responsive-tabs.vertical > .tab-content > .tab-pane {
		border-bottom: 0;
		border-left: 1px solid #c8c0bb;
		-webkit-border-radius: 0;
		border-radius: 0;
	}

	.responsive-tabs > .tab-content > .tab-pane.last,
	.responsive-tabs.vertical > .tab-content > .tab-pane.last {
		border-bottom: 1px solid #c8c0bb;
		-webkit-border-radius: 0 0 3px 3px;
		border-radius: 0 0 3px 3px;
	}

	.responsive-tabs.vertical > .tab-content {
		margin-left: 0;
		border-left: 0;
	}

	.responsive-tabs > .tab-content.unstyled > .tab-pane,
	.responsive-tabs > .tab-content > .tab-pane.unstyled,
	.responsive-tabs.vertical > .tab-content.unstyled > .tab-pane,
	.responsive-tabs.vertical > .tab-content > .tab-pane.unstyled {
			padding: 30px;
			border-right: 1px solid #c8c0bb;
			border-left: 1px solid #c8c0bb;
	}

	.hadith-sunnah-tabs > .tab-content > a.acc-link {
		margin-bottom: 5px;
		border: 1px solid #c8c0bb;
		-webkit-border-radius: 3px !important;
		border-radius: 3px !important;
	}

	.hadith-sunnah-tabs > .tab-content > .tab-pane.last {
		border-bottom: 0;
	}

	.coran-accordion ul > li > a .title-2 {
		display: none;
	}

	.title-lines-2 h1,
	.title-lines-2 h2,
	.title-lines-2 h3,
	.title-lines-2 h4,
	.title-lines-2 h5,
	.title-lines-2 h6 {
		display: block;
		margin: 0 0 10px 0;
		padding: 0 !important;
		width: 100%;
		text-align: left;
	}

	.title-lines-2 .lines {
		display: none;
	}

	.page-content-search .form-control {
		margin-bottom: 5px;
		padding: 7px 15px;
		height: 40px;
	}

	.page-content-search input[type="submit"] {
		height: 40px;
	}

	#header .header-page-title .breadcrumbs {
		float: left;
		clear: both;
		margin: 0;
		padding-bottom: 0;
	}

	#page-content > .page-content {
		-webkit-border-radius: 0;
		border-radius: 0;
	}

	#page-content .page-sidebar {
		margin-top: 60px;
	}

	.filter-item {
		width: 100%;
	}

}



/* Small Mobile - XXS */
/* ------------------------------------------------------ */

@media (max-width: 480px) {



}


