﻿/*

Theme Name: Nanaz
Author: Tareq Salameh

*/

*,
:after,
:before {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

body,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
form,
fieldset,
input,
textarea,
p {
    margin: 0;
    padding: 0;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

@font-face {
    font-family: 'Inter';
    src: url('Inter-Regular.eot');
    src: local('Inter Regular'), local('Inter-Regular'),
		url('fonts/inter/inter-regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
	font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('Inter-Medium.eot');
    src: local('Inter Medium'), local('Inter-Medium'),
        url('fonts/inter/inter-medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
	font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('Inter-SemiBold.eot');
    src: local('Inter Semi Bold'), local('Inter-SemiBold'),
        url('fonts/inter/inter-semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
	font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('Inter-Bold.eot');
    src: local('Inter Bold'), local('Inter-Bold'),
        url('fonts/inter/inter-bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
	font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('Inter-ExtraBold.eot');
    src: local('Inter Extra Bold'), local('Inter-ExtraBold'),
        url('fonts/inter/inter-extrabold.woff2') format('woff2');
    font-weight: 800;
    font-style: normal;
	font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('Inter-Black.eot');
    src: local('Inter Black'), local('Inter-Black'),
        url('fonts/inter/inter-black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
	font-display: swap;
}

body {
	position: relative;
    background-color: #fff;
	min-width: 320px;
	display: -webkit-flex;
	display: flex;
	flex-direction: column;
	font-family: Inter, Arial, Helvetica Neue, Helvetica, FreeSans, sans-serif;
	color: #000;
	font-weight: 500;
	line-height: 1.3;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

fieldset,
img {
    border: 0;
}

img {
    vertical-align: middle;
}

ol,
ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: 100%;
	line-height: 1.2;
	font-weight: 600;
	margin: 25px 0;
}

p {
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: auto;
    margin: 25px 0;
}

a {
	color: #000;
	text-decoration: none;
}

.main-wrapper {
    position: relative;
    flex: 1 0 auto;
}

.row {
    font-size: 0;
}

.button {
	position: relative;
    background-color: #3e3e3e;
	height: 50px;
    display: inline-block;
    font-family: inherit;
	cursor: pointer;
    color: #fff;
	font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    text-align: center;
	line-height: 50px;
    border: none;
    outline: none;
    border-radius: 12px;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    padding: 0 20px;
}

.button:hover {
    background-color: #ef3024;
    color: #fff;
}

.hidden-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	white-space: nowrap;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	border: 0;
	padding: 0;
	margin: -1px;
}


/* АДАПТИВ */


@media screen and (min-width: 980px)  {
	
	body {
		font-size: 20px;
		line-height: 1.5;
	}
	
	h1 {
		font-size: 72px;
	}
	
	h2 {
		font-size: 44px;
	}

	h3 {
		font-size: 23px;
	}
	
	h4 {
		font-size: 21px;
	}
	
	.wrapper {
		position: relative;
		width: 100%;
		max-width: 1400px;
		padding-left: 48px;
		padding-right: 48px;
		margin-right: auto;
		margin-left: auto;
	}
	
	.main {
		position: relative;
		flex: 1 0 auto;
	}
	
	.section {
		padding-top: 70px;
		padding-bottom: 70px;
	}
	
	.section-parent {
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		flex-wrap: wrap;
		align-items: center;
	}
	
	.section-parent .section-child {
		width: 50%;
	}
	
	.section-parent .section-child.section-left {
		padding-right: 50px;
	}
	
	.section-parent .section-child.section-right {
		padding-left: 50px;
	}
	
	.header-section {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		align-items: center;
	}
	
	.header-section .sitename {
		flex-shrink: 0;
		margin-right: 90px;
	}
	
	.header-section .search-field {
		width: 250px;
		flex-shrink: 0;
		margin-right: 90px;
	}
	
	.header-section .popular {
		width: -moz-calc(100% - 570px);
		width: -webkit-calc(100% - 570px);
		width: calc(100% - 570px);
		margin-left: auto;
	}
	
	.header-section .popular ul li {
		font-size: 16px;
	}
	
	.index-section {
		padding-left: 40px;
		padding-right: 40px;
	}
	
	.breadcrumbs li,
	.breadcrumbs li a {
		font-size: 16px;
	}
	
	.toc .toc-inner {
		width: 100%;
		max-width: 1400px;
		padding-left: 48px;
		padding-right: 48px;
		margin-right: auto;
		margin-left: auto;
	}
	
	.toc .toc-inner ol li {
		margin-right: 6px;
		margin-left: 6px;
	}
	
	.toc .toc-inner ol li a {
		font-size: 14px;
		padding: 8px 16px;
	}
	
	.hero-section {
		background-color: #fff;
	}
	
	.namaz-section {
		padding-left: 50px;
		padding-right: 50px;
	}

	.namaz-section .namaz-wrap ol li {
		min-width: 156px;
		padding: 18px 25px 25px;
		margin-right: 17px;
	}

	.namaz-section .namaz-wrap ol li time {
		font-size: 35px;
	}
	
	.namaz-section .namaz-wrap ol li span {
		font-size: 17px;
	}
	
	.additional .item {
		font-size: 17px;
	}

	.table-section .table-wrapper table caption {
		padding: 0 0 10px;
	}
		
	.table-section .table-wrapper table thead tr th {
		font-size: 15px;
	}

	.table-section .table-wrapper table tbody tr td {
		font-size: 21px;
		padding: 10px 14px;
	}
	
	.faq {
		padding-top: 50px;
		padding-bottom: 50px;
		padding-left: 50px;
		padding-right: 50px;
	}
	
	.qibla {
		min-height: 650px;
	}
	
	.listing.locations {
		margin-left: -10px;
		margin-right: -10px;
	}
	
	.listing.locations li {
		width: -moz-calc(33.3333% - 20px);
		width: -webkit-calc(33.3333% - 20px);
		width: calc(33.3333% - 20px);
		margin-left: 10px;
		margin-right: 10px;
	}
	
	.listing.locations li .ellipsis {
		font-size: 19px;
	}
	
	.listing.articles {
		margin-left: -15px;
		margin-right: -15px;
	}
	
	.listing.articles .card {
		width: -moz-calc(33.3333% - 30px);
		width: -webkit-calc(33.3333% - 30px);
		width: calc(33.3333% - 30px);
		margin: 0 15px 35px;
	}
	
	.listing.articles .card span {
		font-size: 18px;
	}
	
	.content-wrapper {
		position: relative;
		padding-right: 325px;
	}
	
	.toc-side {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		width: 275px;
	}
	
	.toc-side .toc-wrapper {
		position: sticky;
		top: 15px;
		width: 275px;
		max-height: 95vh;
		overflow: scroll;
		overflow-x: hidden;
		overflow-y: auto;
	}
	
	.toc-side .toc-wrapper::-webkit-scrollbar { 
		width: 0; 
		height: 0;
	}
	
	.toc-side .toc-wrapper li a:before {
		background-color: #f3f3f9;
	}

	.toc-side .toc-wrapper li a.current:before {
		background-color: #ef3024;
	}
	
	.footer .bottom {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		align-items: center;
	}
	
	.footer .bottom .copyright {
		margin-right: auto;
	}
	
	.footer .bottom .link {
		margin-left: 20px;
	}
	
}


@media screen and (max-width: 979px) {
	
	body {
		font-size: 17px;
		line-height: 1.5;
	}
	
	h1 {
		font-size: 44px;
	}
	
	h2 {
		font-size: 36px;
	}

	h3 {
		font-size: 24px;
	}
	
	h4 {
		font-size: 20px;
	}
	
	.wrapper {
		position: relative;
		width: 100%;
		max-width: 686px;
		padding-left: 15px;
		padding-right: 15px;
		margin: 0 auto;
	}
	
	.section {
		padding-top: 50px;
		padding-bottom: 50px;
	}
	
	.section-parent .section-child {
		margin-bottom: 35px;
	}
	
	.header-section .sitename {
		text-align: center;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 10px;
	}
	
	.header-section .popular {
		width: 100%;
		margin-top: 13px;
	}
	
	.header-section .popular ul li {
		font-size: 15px;
	}
	
	.index-section {
		padding-left: 20px;
		padding-right: 20px;
	}
	
	.breadcrumbs li,
	.breadcrumbs li a {
		font-size: 15px;
	}
	
	.toc .toc-inner {
		width: 100%;
		max-width: 686px;
		padding-left: 15px;
		padding-right: 15px;
		margin: 0 auto;
	}
	
	.toc .toc-inner ol li {
		margin-right: 6px;
	}
	
	.toc .toc-inner ol li a {
		font-size: 13px;
		padding: 8px 10px;
	}
	
	.namaz-section {
		padding-left: 20px;
		padding-right: 20px;
		margin-left: -15px;
		margin-right: -15px;
	}
	
	.namaz-section .namaz-wrap {
		margin-left: -20px;
		margin-right: -20px;
	}

	.namaz-section .namaz-wrap ol li {
		min-width: 126px;
		padding: 23px 15px 25px;
		margin-right: 10px;
	}

	.namaz-section .namaz-wrap ol li time {
		font-size: 28px;
	}
	
	.namaz-section .namaz-wrap ol li span {
		font-size: 14px;
	}
	
	.additional .item {
		font-size: 16px;
	}
	
	.table-section .table-wrapper {
		margin-left: -15px;
		margin-right: -15px;
	}
	
	.table-section .table-wrapper table caption {
		padding: 0 15px 10px;
	}
	
	.table-section .table-wrapper table thead tr th {
		font-size: 14px;
	}

	.table-section .table-wrapper table tbody tr td {
		font-size: 19px;
		padding: 14px 12px;
	}
	
	.faq {
		padding-top: 40px;
		padding-left: 20px;
		padding-right: 20px;
		padding-bottom: 40px;
		margin-left: -15px;
		margin-right: -15px;
	}
	
	.qibla {
		height: 95vh;
		min-height: 450px;
	}
	
	.listing.locations {
		margin-left: -10px;
		margin-right: -10px;
	}
	
	.listing.locations li {
		width: -moz-calc(33.3333% - 20px);
		width: -webkit-calc(33.3333% - 20px);
		width: calc(33.3333% - 20px);
		margin-left: 10px;
		margin-right: 10px;
	}
	
	.listing.locations li .ellipsis {
		font-size: 18px;
	}
	
	.listing.articles {
		margin-left: -15px;
		margin-right: -15px;
	}
	
	.listing.articles .card {
		width: -moz-calc(50% - 30px);
		width: -webkit-calc(50% - 30px);
		width: calc(50% - 30px);
		margin: 0 15px 35px;
	}
	
	.listing.articles .card span {
		font-size: 18px;
	}
	
	.toc-side {
		background-color: #f3f3f9;
		border-radius: 12px;
		padding: 15px;
	}
	
	.toc-side .toc-wrapper li a:before {
		background-color: #ceced5;
	}
	
	.picture {
		margin: 0 -15px;
	}
	
	.picture .caption {
		margin: 0 15px;
	}
	
	.footer {
		text-align: center;
	}
	
	.footer .bottom .copyright {
		margin-bottom: 20px;
	}
	
}


@media screen and (max-width: 640px) {
	
	.section {
		padding-top: 40px;
		padding-bottom: 40px;
	}
  
}


@media screen and (max-width: 540px) {
	
	h1 {
		font-size: 44px;
		text-align: center;
	}
	
	.breadcrumbs {
		text-align: center;
	}
	
	.listing.locations li {
		width: -moz-calc(50% - 20px);
		width: -webkit-calc(50% - 20px);
		width: calc(50% - 20px);
	}
	
	.listing.articles {
		margin-right: 0;
		margin-left: 0;
	}
	
	.listing.articles .card {
		width: 100%;
		display: block;
		margin: 0 auto 35px;
	}
	
}


@media screen and (max-width: 480px) {
	
	h1 {
		font-size: 38px;
	}
	
	h2 {
		font-size: 30px;
	}

	h3 {
		font-size: 20px;
	}
	
	h4 {
		font-size: 18px;
	}
	
	.namaz-section .namaz-wrap ol li {
		min-width: 119px;
		padding: 18px 15px 22px;
		margin-right: 8px;
	}

	.namaz-section .namaz-wrap ol li time {
		font-size: 26px;
	}
	
	.namaz-section .namaz-wrap ol li span {
		font-size: 13px;
	}
	
	.table-section .table-wrapper table tbody tr td {
		font-size: 17px;
		padding: 14px 5px;
	}
	
}


@media screen and (max-width: 360px) {
	
	.wrapper {
		padding-left: 10px;
		padding-right: 10px;
	}
	
	.toc .toc-inner {
		padding-left: 10px;
		padding-right: 10px;
	}
	
	.namaz-section {
		margin-left: -10px;
		margin-right: -10px;
	}
	
	.table-section .table-wrapper {
		margin-left: -10px;
		margin-right: -10px;
	}
	
	.table-section .table-wrapper table caption {
		padding: 0 10px 10px;
	}
	
	.table-section .table-wrapper table tbody tr td {
		font-size: 14px;
	}
	
	.faq {
		margin-left: -10px;
		margin-right: -10px;
	}
	
	.picture {
		margin: 0 -10px;
	}
	
	.picture .caption {
		margin: 0 10px;
	}
	
}


@media screen and (max-width: 320px) {
	
	.table-section .table-wrapper table tbody tr td {
		font-size: 14px;
	}
	
}


@media 	only screen and (-webkit-min-device-pixel-ratio: 1.5),
only screen and (min--moz-device-pixel-ratio: 1.5),
only screen and (-o-min-device-pixel-ratio: 3/2),
only screen and (min-resolution: 1.5dppx),
only screen and (min-resolution: 144dpi)  {
	
	.modal .modal-close:after {
		background-image: url(images/close@2x.png) !important;
	}
	
}


/* СЕКЦИИ */

.section h2,
.section h3 {
	margin-top: 0;
}

.section .paragraph {
	margin-bottom: 45px;
}

.section .paragraph button {
	background-color: transparent;
	cursor: pointer;
	font-family: inherit;
	color: #000;
	font-size: inherit;
	font-weight: inherit;
	border: none;
	border-bottom: 1px dashed #000;
	padding: 0;
}


/* КОЛОНКИ */

.section-parent .section-child img {
	width: 100%;
	height: auto;
}


/* HEADER */

.header-section {
	background-color: #fff;
	position: relative;
	padding-top: 20px;
	padding-bottom: 20px;
}

.header-section .sitename {
	display: block;
	color: #000;
	font-size: 20px;
	font-weight: 600;
	white-space: nowrap;
}

.header-section .search-field {
	position: relative;
}

.header-section .search-field input {
	background-color: #f3f3f9;
	width: 100%;
	height: 40px;
	font-size: 15px;
	white-space: nowrap;
	border-radius: 12px;
	outline: none;
	border: none;
	padding: 0 18px;
}

.header-section .popular {
	line-height: 1;
}

.header-section .popular ul {
	max-width: 100%;
	display: inline-block;
	overflow-x: scroll;
	white-space: nowrap;
}

.header-section .popular ul::-webkit-scrollbar {
	width: 0;
	height: 0;
}

.header-section .popular ul li {
	display: inline-block;
	font-weight: 500;
	line-height: 1.3;
	user-select: none;
	margin-right: 16px;
}


/* MAIN PAGE */

.index-section {
	background-color: #f3f3f9;
	border-radius: 12px;
	padding-top: 20px;
	padding-bottom: 20px;
}


/* ХЛЕБНЫЕ КРОШКИ */

.breadcrumbs {
	margin-top: 50px;
	margin-bottom: 20px;
}

.breadcrumbs li {
	position: relative;
	display: inline-block;
}

.breadcrumbs li:after {
    content: "›";
    display: inline-block;
    margin: 0 5px;
}

.breadcrumbs li:last-child:after {
    content: none;
}

.breadcrumbs li a {
	color: #000;
}


/* ТАБЫ */

.countries,
.cities {
	margin-top: 30px;
	margin-bottom: 50px;
}

.countries .country-list,
.cities .cities-type {
	max-width: 100%;
	display: inline-block;
	overflow-x: scroll;
	white-space: nowrap;
	margin-bottom: 15px;
}

.countries .country-list::-webkit-scrollbar,
.cities .cities-type::-webkit-scrollbar {
	width: 0;
	height: 0;
}

.countries .country-list .country,
.cities .cities-type .type {
	background-color: #f3f3f9;
    display: inline-block;
    cursor: pointer;
	font-family: inherit;
    color: #000;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
    border: none;
	user-select: none;
	border-radius: 12px;
	padding: 10px 15px;
	margin-right: 5px;
}

.countries .country-list .country:last-child,
.cities .cities-type .type:last-child {
	margin-right: 0;
}

.countries .country-list .country.active,
.cities .cities-type .type.active {
	background-color: #ef3024;
    cursor: default;
	color: #fff;
}

.countries .countries-section,
.cities .cities-section {
	display: none;
}

.countries .countries-section.active,
.cities .cities-section.active {
    display: block;
}


/* СОДЕРЖАНИЕ */

.toc {
	z-index: 9999;
	position: fixed;
	left: 0;
	bottom: 0;
	background-color: #fdfdfd;
	width: 100%;
	text-align: center;
	box-shadow: 0 -1px 6px rgb(0 0 0 / 15%);
}

.toc .toc-inner {
	margin-right: auto;
	margin-left: auto;
}

.toc .toc-inner ol {
	max-width: 100%;
	display: inline-block;
	overflow-x: scroll;
	white-space: nowrap;
	font-size: 0;
	padding: 8px 0 0;
}

.toc .toc-inner ol::-webkit-scrollbar {
	width: 0;
	height: 0;
}

.toc .toc-inner ol li {
    display: inline-block;
}

.toc .toc-inner ol li a {
	background-color: #fdfdfd;
    display: block;
	line-height: 1.3;
	text-align: left;
	border-radius: 6px;
}

.toc .toc-inner ol li a.current {
	background-color: #f3f3f9;    
}


/* РЕКЛАМА */

.banner {
	max-width: 360px;
	display: table;
	overflow: hidden;
	border-radius: 5px;
	margin: 20px auto;
}

.banner img {
	width: 100%;
	max-width: 100%;
	display: block;
}


/* ГЛАВНЫЙ ЭКРАН */

.hero-section {
	background-color: #fff;
	padding-top: 10px;
}

.hero-section .current-date {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	font-size: 14px;
	align-items: center;
	border-top: 1px solid rgb(0 0 0 / 12%);
	border-bottom: 1px solid rgb(0 0 0 / 12%);
	margin-bottom: 50px;
	padding-top: 12px;
	padding-bottom: 12px;
}

.hero-section .current-date .gregorian {
	text-align: left;
    margin-right: 15px;
}

.hero-section .current-date .hijri {
	text-align: right;
    margin-left: auto;
}

.hero-section .breadcrumbs {
	margin-top: 0;
}

.hero-section p {
	line-height: 1.4;
	margin-bottom: 35px;
}


/* НАМАЗ */

.namaz-section {
	background-color: #f3f3f9;
	border-radius: 28px;
}

.namaz-section .countdown {
	font-size: 23px;
	margin-bottom: 50px;
}

.namaz-section .namaz-wrap ol {
	max-width: 100%;
	display: inline-block;
	overflow-x: scroll;
	white-space: nowrap;
	font-size: 0;
	margin-bottom: 50px;
}

.namaz-section .namaz-wrap ol::-webkit-scrollbar {
	width: 2px;
	height: 2px;
}

.namaz-section .namaz-wrap ol li {
	position: relative;
	background-color: #fff;
	display: inline-block;
	text-align: left;
	border-radius: 8px;
}

.namaz-section .namaz-wrap ol li:last-child {
	margin-right: 0;
}

.namaz-section .namaz-wrap ol li.active {
	background-color: #ef3024;
	color: #fff;
}

.namaz-section .namaz-wrap ol li span {
	display: block;
	color: rgb(0 0 0 / 85%);
	line-height: 1.3;
	font-weight: 400;
	margin-top: 5px;
}

.namaz-section .namaz-wrap ol li.active span {
	color: rgb(255 255 255 / 85%);
}

.namaz-section .namaz-wrap ol li time {
	font-weight: 500;
}


/* НОЧНЫЕ ОТРЕЗКИ ВРЕМЕНИ */
	
.additional .item {
	width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	align-items: flex-end;
	line-height: 1.2;
	padding-top: 15px;
	padding-bottom: 15px;
}

.additional .item:last-child {
	border-top: 1px solid rgb(0 0 0 / 8%);
}

.additional .item span {
    margin-right: 20px;
}

.additional .item .time {
	font-weight: 500;
	text-align: right;
	white-space: nowrap;
	margin-left: auto;
}


/* SOCIAL BUTTONS */

.share {
	text-align: center;
	margin-top: 60px;
	margin-bottom: 60px;
}

.share p {
	font-size: 16px;
}

.share .share-buttons {
	display: block;
}

.share .share-buttons li {
	display: inline-block;
	vertical-align: top;
	margin: 0 5px;
}

.share .share-buttons li button {
	background-color: transparent;
	height: 44px;
    display: block;
    font-family: inherit;
	cursor: pointer;
    color: #000;
	font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
	line-height: 44px;
    border: 1px solid rgb(0 0 0 / 24%);
    outline: none;
    border-radius: 4px;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    padding: 0 9px;
}

.share .share-buttons li button:hover {
    border-color: rgb(0 0 0 / 48%);
}


/* СПИСОК */

.list {
	margin-top: 20px;
}

.list dl {
	width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
	flex-wrap: wrap;
    align-items: center;
	text-align: left;
    border-bottom: 1px solid rgb(0 0 0 / 8%);
	padding: 12px 0;
	margin: 0;
}

.list dl:last-child {
    border-bottom: none;
}

.list dl dt {
	margin-right: auto;
}

.list dl dd {
	margin-left: 0;
}


/* ТАБЛИЦА */

.table-section .table-wrapper table {
	background-color: #fff;
    width: 100%;
	user-select: none;
	font-weight: 500;
	text-align: center;
	border: 1px solid rgb(0 0 0 / 8%);
	margin-bottom: 45px;
}

.table-section .table-wrapper table caption {
	background-color: #fff;
	font-size: 15px;
	text-align: left;
}

.table-section .table-wrapper table thead tr,
.table-section .table-wrapper table tbody tr {
	position: relative;
	width: 100%;
	border: none;
}

.table-section .table-wrapper table thead tr th {
    z-index: 3;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    background-color: #fff;
    font-weight: 600;
	border-bottom: 1px solid rgb(0 0 0 / 8%);
    padding-top: 10px;
    padding-bottom: 10px;
}

.table-section .table-wrapper table tbody tr td {
	white-space: nowrap;
	border-right: 1px solid rgb(0 0 0 / 8%);
}

.table-section .table-wrapper table tbody tr:nth-child(2n) td {
	background-color: #f8f8f8;
}

.table-section .table-wrapper table tbody tr td:last-child {
	border-right: none;
}

.table-section .table-wrapper table tbody tr td span {
	font-size: 14px;
}

.table-section .table-wrapper table tbody tr:hover td {
	background-color: #555;
	color: #fff;
	border-color: #555;
}

.table-section .table-wrapper table tbody tr.active td {
	background-color: #3e3e3e;
	color: #fff;
	border-color: #3e3e3e;
}


/* СУХУР И ИФТАР */

.fasting-section .items {
	background-color: #fff;
    font-size: 15px;
	border-radius: 14px;
}

.fasting-section .items .item {
	padding: 15px 0 10px;
}

.fasting-section .items .item:first-child {
	border-bottom: 1px solid rgb(0 0 0 / 8%);
}

.fasting-section .items .item h3 {
	margin-top: 0;
}

.fasting-section .items .item p {
	margin-bottom: 10px;
}

.fasting-section .items .item time {
	display: block;
    font-size: 26px;
	font-weight: 500;
}


/* ВОПРОСЫ НА ОТВЕТЫ */

.faq {
	background-color: #f3f3f9;
	border-radius: 28px;
    text-align: left;
}

.faq.article-faq {
	margin-bottom: 40px;
}

.faq .item {
	border-bottom: 1px solid rgb(0 0 0 / 8%);
	padding: 30px 0;
}

.faq .item:last-child {
	border-bottom: none;
}

.faq .item .question {
    position: relative;
	display: block;
	line-height: 1.3;
	margin: 0;
}

.faq .item .answer {
	font-weight: 400;
    padding: 16px 0 0;
}


/* КИБЛА */

.qibla {
	position: relative;
	border-radius: 12px;
}

.qibla .marker {
	position: relative;
	width: 70px;
	height: 70px;
}

.qibla .marker:after {
	content: "";
    position: absolute;
    left: 0;
    top: 0;
	width: 70px;
	height: 70px;
	display: block;
	border: 18px solid #ef3024;
	border-radius: 50%;
	border-bottom-right-radius: 0;
	transform: rotate(45deg);
}

.qibla .marker:before {
    content: "";
	z-index: 1;
    position: absolute;
    left: 0;
    top: 0;
	border: 18px solid #ef3024;
	width: 70px;
	height: 70px;
	border-radius: 50%;
}


/* СОДЕРЖАНИЕ СТАТЬИ */

.toc-side .toc-wrapper {
	overflow: hidden;
	counter-reset: list;
	text-align: left;
}
	
.toc-side .toc-wrapper li a {
	position: relative;
	display: block;
	color: #000;
	font-size: 18px;
	line-height: 1.3;
	padding-top: 11px;
	padding-left: 20px;
	padding-right: 20px;
	padding-bottom: 11px;
}

.toc-side .toc-wrapper li a:before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 4px;
	display: block;
}

.toc-side .toc-wrapper li a.current:before {
	background-color: #ef3024;
}


/* МОДАЛЬНОЕ ОКНО */

.modal {
	z-index: 10002;
	position: fixed;
	top: 0;
	right: -100%;
	bottom: 0;
	background-color: rgb(0 0 0 / 8%);
	width: 100%;
	height: 100%;
	visibility: hidden;
    overflow: hidden;
	opacity: 0;
    outline: none;
	transition: opacity 0.2s;
}

.modal.show {
	right: 0;
	visibility: visible;
	opacity: 1;
}

.modal .modal-close {
	z-index: 2;
    position: fixed;
	top: 20px;
	right: 20px;
    background-color: #f3f3f9;
    width: 48px;
    height: 48px;
    overflow: hidden;
    cursor: pointer;
    border: none;
    outline: none;
    border-radius: 14px;
}

.modal .modal-close:after {
	content: "";
    position: absolute;
	top: 12px;
	left: 12px;
    background-image: url(images/close.png);
    background-repeat: no-repeat;
    background-size: 24px;
    width: 24px;
    height: 24px;
    display: block;
}

.modal .side {
	z-index: 1;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	background-color: #fff;
	width: 320px;
	height: 100%;
	min-height: 100%;
	overflow: scroll;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	text-align: left;
	box-shadow: 0 0 20px 0 rgb(0 0 0 / 10%);
	padding: 80px 30px 45px;
}

.modal .side::-webkit-scrollbar { 
	width: 0;
	height: 0; 
}

.modal .side p {
	font-size: 15px;
	margin-bottom: 35px;
}

.modal .side li {
	display: block;
	font-size: 18px;
	margin-top: 20px;
}

.modal .side li a {
	color: #000;
    -webkit-transition: color .5s;
    -moz-transition: color .5s;
    transition: color .5s;
	border-bottom: 1px solid rgb(0 0 0 / 5%);
}

.modal .side li a:hover {
	border-color: rgb(0 0 0 / 15%);
}


/* БЛОГ */

.listing {
	margin-top: 15px;
}

.listing .card {
	max-width: 395px;
    display: inline-block;
    vertical-align: top;
	overflow: hidden;
    text-align: left;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
}

.listing .card:hover {
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
}

.listing .card img,
.listing .card .thumbnail {
	width: 100%;
	max-height: 264px;
	display: block;
	border-radius: 12px;
	margin-bottom: 10px;
}

.listing .card .thumbnail {
	position: relative;
	background-color: #f3f3f9;
	padding-top: 65.104%;
}

.listing .card span {
    width: 100%;
    display: block;
    font-size: 18px;
	font-weight: 600;
}

.listing.locations {
	text-align: left;
	margin-top: 25px;
}

.listing.locations li {
	display: inline-block;
	vertical-align: top;
	margin-bottom: 13px;
}

.listing.locations li .ellipsis {
	display: block;
    overflow: hidden;
	color: #000;
	font-weight: 500;
    white-space: nowrap;
    text-overflow: ellipsis;
	line-height: 1.4;
}

.listing.locations li .region {
	display: block;
	color: rgb(0 0 0 / 61%);
	font-size: 14px;
	margin-bottom: 10px;
}


/* ТЕКСТ */

.text {
	line-height: 1.7;
	text-align: left;
}

.text ul {
    display: table;
    margin: 25px 0;
}

.text ul li {
    position: relative;
    display: block;
    margin: 3px 0;
	padding-left: 16px;
}

.text ul li:after {
	content: ''; 
	position: absolute;
	left: 0;
    top: 12px;
    background-color: #e2213f;
    width: 4px;
	height: 4px;
}

.text ol {
    counter-reset: list;
    margin: 25px 0;
}

.text ol li {
    position: relative;
	padding-left: 18px;
	margin: 3px 0;
}

.text ol li:before {
    content: counter(list) ". ";
	counter-increment: list;
}

.text time {
    background-color: #3e3e3e;
	color: #fff;
	border-radius: 5px;
	padding: 4px 8px 3px;
}


/* ИЗОБРАЖЕНИЯ */

.picture {
	margin-top: 25px;
	margin-bottom: 25px;
}

.picture img {
    max-width: 100%;
    height: auto;
	display: block;
	margin: 0 auto;
}

.picture .caption {
    display: block;
	color: rgb(0 0 0 / 60%);
    font-size: 80%;
	padding: 5px 0 0;
}


/* ЗАГОЛОВОК */

.title {
	display: block;
	font-size: 20px;
	font-weight: 600;
	text-align: left;
	margin-bottom: 25px;
}


/* ПАГИНАЦИЯ */

.pagination {
	font-size: 0;
	text-align: center;
    margin: 45px auto;
}

.pagination a,
.pagination span {
	background-color: #f3f3f9;
	display: inline-block;
	font-family: inherit;
	color: #000;
    font-size: 15px;
	border: none;
	outline: none;
	border-radius: 12px;
	padding: 12px 17px 10px;
	margin: 4px;
}

.pagination .current {
	background-color: #ef3024;
	color: #fff;
}


/* ФОРМА */

.form fieldset {
	position: relative;
	text-align: left;
	border: 0;
	margin-bottom: 30px;
}

.form fieldset:last-child {
	margin-bottom: 0;
}

.form fieldset label {
	display: block;
	font-family: inherit;
    font-size: 16px;
	font-weight: 500;
	margin-bottom: 8px;
}

.form .select {
    background-color: #f3f3f9;
    width: 100%;
	height: 54px;
	display: block;
	font-family: inherit;
    font-size: 16px;
	line-height: 54px;
    border: none;
	outline: none;
	border-radius: 14px;
    padding: 0 12px;
}


/* ПОДВАЛ */

.footer {
    background-color: #fff;
	width: 100%;
	flex: 0 0 auto;
	color: #000;
	font-size: 14px;
	text-align: center;
	margin-top: 85px;
}

.footer a {
	color: #000;
}

.footer .top {
	border-top: 1px solid rgb(0 0 0 / 15%);
	padding-top: 15px;
	padding-bottom: 15px;
}

.footer .top ul {
	width: 100%;
	display: block;
}

.footer .top ul::-webkit-scrollbar {
	width: 0;
	height: 0;
}

.footer .top ul li {
	display: inline-block;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.3;
	user-select: none;
	margin-top: 5px;
	margin-left: 25px;
	margin-right: 25px;
	margin-bottom: 5px;
}

.footer .bottom {
	border-top: 1px solid rgb(0 0 0 / 15%);
	padding-top: 25px;
	padding-bottom: 25px;
}


/* AUTOCOMPLETE */

.autocomplete {
	z-index: 9999;
	position: absolute;
	left: 0;
	right: 0;
	top: -moz-calc(100% + 4px);
	top: -webkit-calc(100% + 4px);
	top: calc(100% + 4px);
    background-color: #fff;
	height: auto;
	text-align: left;
	border-radius: 12px;
	box-shadow: 0 10px 10px -10px rgb(0 0 0 / 14%);
	padding: 6px;
}

.autocomplete li {
	display: block;
}

.autocomplete li a {
	display: block;
	color: #43444d;
	font-size: 17px;
	line-height: 1.5;
	border-radius: 12px;
	padding: 5px 10px;
}

.autocomplete li a:hover {
	background-color: #e8e8e9;
}

.autocomplete li.focused a {
	background-color: #555;
	color: #fff;
}


/* Up */

.up {
	z-index: 9999;
	position: fixed;
	bottom: 80px;
	right: 10px;
	background-color: #fff;
	overflow: hidden;
	cursor: pointer;
	font-size: 15px;
	border: 1px solid rgb(0 0 0 / 8%);
	outline: none;
	padding: 8px 10px;
}

.up:active {
	-webkit-transform: scale(.85);
	-ms-transform: scale(.85);
	transform: scale(.85);
}