﻿/*

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: 20px 0;
}

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

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

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

.row {
    font-size: 0;
}

.button {
	position: relative;
    background-color: #000;
	height: 50px;
    display: inline-block;
    font-family: inherit;
	cursor: pointer;
    color: #fff;
	font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    text-align: center;
	line-height: 50px;
    border: none;
    outline: none;
    border-radius: 22px;
    -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 26px;
}

.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: 21px;
		line-height: 1.7;
	}
	
	h1 {
		font-size: 72px;
	}
	
	h2 {
		font-size: 54px;
	}

	h3 {
		font-size: 26px;
	}
	
	h4 {
		font-size: 22px;
	}
	
	.container {
		position: relative;
		width: 100%;
		max-width: 1400px;
		padding-left: 48px;
		padding-right: 48px;
		margin-right: auto;
		margin-left: auto;
	}
	
	.section {
		padding-top: 70px;
		padding-bottom: 70px;
	}
	
	.section-content {
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		flex-wrap: wrap;
	}
	
	.section-content .section-left-side-container,
	.section-content .section-right-side-container {
		width: 50%;
	}
	
	.section-content .section-left-side-container {
		padding-right: 40px;
	}
	
	.section-content .section-right-side-container {
		padding-left: 40px;
	}
	
	.navbar-component .logo-link {
		margin-right: 100px;
	}
	
	.navbar-component .navbar-menu {
		width: -moz-calc(100% - 380px);
		width: -webkit-calc(100% - 380px);
		width: calc(100% - 380px);
		line-height: 1;
		margin-right: auto;
		margin-left: auto;
	}

	.navbar-component .navbar-menu ul {
		max-width: 100%;
		display: inline-block;
		overflow-x: scroll;
		white-space: nowrap;
	}

	.navbar-component .navbar-menu ul::-webkit-scrollbar {
		width: 0;
		height: 0;
	}

	.navbar-component .navbar-menu ul li {
		display: inline-block;
		font-size: 16px;
		font-weight: 500;
		line-height: 1.3;
		user-select: none;
		margin-left: 8px;
		margin-right: 8px;
	}

	.navbar-component .navbar-menu ul li a {
		color: #43444d;
	}
	
	.navbar-component .navbar-menu-close,
	.navbar-component .navbar-menu-toggle {
		display: none;
	}
	
	.navbar-component .search-toggle,
	.navbar-component .navbar-menu-toggle {
		margin-left: 20px;
	}
	
	.hero-section {
		background-color: #fff;
	}
	
	.hero-section .hero-content {
		width: 50%;
	}
	
	.todays-namaz-section ol li time {
		top: 5px;
		font-size: 34px;
	}
	
	.additional-section .additional-wrapper {
		display: -webkit-flex;
		display: -ms-flexbox;
		display: flex;
		flex-wrap: wrap;
	}
	
	.additional-section .additional-wrapper .item {
		width: -moz-calc(50% - 10px);
		width: -webkit-calc(50% - 10px);
		width: calc(50% - 10px);
		display: inline-block;
		vertical-align: bottom;
		padding-left: 40px;
		padding-right: 40px;
	}
	
	.additional-section .additional-wrapper .item:first-child {
		margin-right: 10px;
	}
	
	.additional-section .additional-wrapper .item:last-child {
		margin-left: 10px;
	}

	.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: 24px;
		padding: 14px;
	}
	
	.qibla {
		min-height: 650px;
	}
	
	.listing .card span {
		padding: 15px 30px;
	}
	
	.listing.locations {
		margin-left: -10px;
		margin-right: -10px;
	}
	
	.listing.locations li {
		width: -moz-calc(20% - 20px);
		width: -webkit-calc(20% - 20px);
		width: calc(20% - 20px);
		margin-left: 10px;
		margin-right: 10px;
	}
	
	.listing.articles {
		margin-left: -12px;
		margin-right: -12px;
	}
	
	.listing.articles .card {
		width: -moz-calc(33.3333% - 24px);
		width: -webkit-calc(33.3333% - 24px);
		width: calc(33.3333% - 24px);
		margin: 12px;
	}
	
	.listing.articles .card span {
		font-size: 18px;
	}
	
	.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: 19px;
		line-height: 1.5;
	}
	
	h1 {
		font-size: 46px;
	}
	
	h2 {
		font-size: 36px;
	}

	h3 {
		font-size: 24px;
	}
	
	h4 {
		font-size: 21px;
	}
	
	.container {
		position: relative;
		width: 100%;
		max-width: 686px;
		padding-left: 15px;
		padding-right: 15px;
		margin: 0 auto;
	}
	
	.section {
		padding-top: 50px;
		padding-bottom: 50px;
	}
	
	.section-content .section-left-side-container {
		margin-bottom: 50px;
	}
	
	.navbar-component .logo-link {
		margin-right: auto;
	}
	
	.navbar-component .navbar-menu {
		z-index: 10002;
		position: fixed;
		top: 0;
		right: -100%;
		bottom: 0;
		background-color: #fff;
		width: 320px;
		height: 100%;
		visibility: hidden;
		overflow: hidden;
		opacity: 0;
		outline: none;
		transition: opacity 0.2s;
		padding: 90px 40px 45px;
	}
	
	.navbar-component .navbar-menu.show {
		right: 0;
		visibility: visible;
		opacity: 1;
		box-shadow: 0 0 20px 0 rgb(0 0 0 / 10%);
	}
	
	.navbar-component .navbar-menu .navbar-menu-close {
		position: fixed;
		top: 20px;
		right: 20px;
		background-color: #f5f5f5;
		width: 48px;
		height: 48px;
		overflow: hidden;
		cursor: pointer;
		border: none;
		outline: none;
		border-radius: 14px;
	}

	.navbar-component .navbar-menu .navbar-menu-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;
	}

	.navbar-component .navbar-menu ul {
		height: 100%;
		min-height: 100%;
		overflow: scroll;
		overflow-x: hidden;
		overflow-y: auto;
		-webkit-overflow-scrolling: touch;
		text-align: left;
	}

	.navbar-component .navbar-menu ul::-webkit-scrollbar { 
		width: 0;
		height: 0; 
	}

	.navbar-component .navbar-menu ul li {
		display: block;
		font-size: 21px;
		font-weight: 500;
		margin-top: 15px;
	}
	
	.navbar-component .navbar-menu ul li a {
		color: #000;
	}
	
	.navbar-component .search-toggle,
	.navbar-component .navbar-menu-toggle {
		margin-left: 10px;
	}
	
	.todays-namaz-section .section-content {
		display: flex;
		flex-direction: column;
	}
	
	.todays-namaz-section .section-left-side-container {
		order: 2;
	}
	
	.todays-namaz-section .section-right-side-container {
		order: 1;
		margin-bottom: 50px;
	}
	
	.todays-namaz-section ol li time {
		top: 7px;
		font-size: 33px;
	}
	
	.additional-section .additional-wrapper .item {
		width: 100%;
		display: block;
		padding-left: 20px;
		padding-right: 20px;
	}
	
	.additional-section .additional-wrapper .item:last-child {
		border-top: 1px solid rgb(0 0 0 / 8%);
	}
	
	.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;
	}
	
	.qibla {
		height: 95vh;
		min-height: 450px;
	}
	
	.listing .card span {
		padding: 15px 20px;
	}
	
	.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.articles {
		margin-left: -12px;
		margin-right: -12px;
	}
	
	.listing.articles .card {
		width: -moz-calc(50% - 24px);
		width: -webkit-calc(50% - 24px);
		width: calc(50% - 24px);
		margin: 12px;
	}
	
	.listing.articles .card span {
		font-size: 18px;
	}
	
	.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) {
	
	.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%;
		margin: 12px auto;
	}
	
}


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

	h3 {
		font-size: 23px;
	}
	
	.table-section .table-wrapper table tbody tr td {
		font-size: 17px;
		padding: 14px 5px;
	}
	
}


@media screen and (max-width: 360px) {
	
	.container {
		padding-left: 10px;
		padding-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: 16px;
	}
	
	.listing .card span {
		padding: 15px;
	}
	
	.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)  {
	
	.search .search-wrapper .search-close:after {
		background-image: url(images/close@2x.png) !important;
	}
	
	.navbar-component .navbar-menu .navbar-menu-close:after {
		background-image: url(images/close@2x.png) !important;
	}
	
	.navbar-component .search-toggle:after {
		background-image: url(images/search@2x.png) !important;
	}
	
	.navbar-component .navbar-menu-toggle:after {
		background-image: url(images/menu@2x.png) !important;
	}
	
	.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-content .section-left-side-container img,
.section-content .section-right-side-container img {
	width: 100%;
	height: auto;
}


/* ПОИСК */

.search {
	display: none;
}

.search.show {
	z-index: 9999;
	position: absolute;
	left: 0;
	top: 0;
	background-color: #fff;
	width: 100%;
	display: block;
	padding: 20px 0;
}

.search .search-wrapper {
	position: relative;
	width: 100%;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	align-items: center;
}

.search .search-wrapper .search-form {
	background-color: #f5f5f5;
	width: 100%;
	border-radius: 14px;
	padding: 10px;
	margin-right: auto;
}

.search .search-wrapper .search-form input {
	background-color: transparent;
	width: 100%;
	height: 40px;
	font-size: 17px;
	white-space: nowrap;
	outline: none;
	border: none;
	padding: 0 10px;
}

.search .search-wrapper .search-close {
    position: relative;
    background-color: transparent;
    width: 48px;
    height: 48px;
	flex-shrink: 0;
    overflow: hidden;
    cursor: pointer;
    border: none;
    outline: none;
    border-radius: 8px;
	margin-left: 0;
}

.search .search-wrapper .search-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;
}


/* ШАПКА */

.navbar-component {
	background-color: #fff;
	padding-top: 20px;
	padding-bottom: 20px;
}

.navbar-component .container {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	align-items: center;
}

.navbar-component .logo-link {
	display: block;
	color: #000;
	font-size: 21px;
	font-weight: 600;
	white-space: nowrap;
}

.navbar-component .search-toggle,
.navbar-component .navbar-menu-toggle {
    position: relative;
    background-color: transparent;
    width: 48px;
    height: 48px;
	flex-shrink: 0;
    overflow: hidden;
    cursor: pointer;
    border: none;
    outline: none;
    border-radius: 8px;
}

.navbar-component .search-toggle:after,
.navbar-component .navbar-menu-toggle:after {
	content: "";
    position: absolute;
	top: 12px;
	left: 12px;
    background-repeat: no-repeat;
    background-size: 24px;
    width: 24px;
    height: 24px;
    display: block;
}

.navbar-component .search-toggle:after {
	background-image: url(images/search.png);
}

.navbar-component .navbar-menu-toggle:after {
	background-image: url(images/menu.png);
}


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

.breadcrumbs {
	font-size: 16px;
	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;
	text-decoration: underline;
}


/* ТАБЫ */

.countries {
	margin-top: 30px;
}

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

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

.countries .country-list .country {
	background-color: #f5f5f5;
    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: 0;
	padding: 10px 15px;
	margin-right: 5px;
}

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

.countries .country-list .country.active {
	background-color: #f30;
    cursor: default;
	color: #fff;
}

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

.countries .countries-section.active {
    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 / 8%);
	border-bottom: 1px solid rgb(0 0 0 / 8%);
	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 .countdown {
	font-size: 23px;
	margin-bottom: 50px;
}

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


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

.toc ol {
    counter-reset: list;
}

.toc ol li {
    display: block;
	margin-bottom: 8px;
}

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

.toc ol li a {
    border-bottom: 1px solid rgb(0 0 0 / 20%);
}

.toc ol li a:hover {
	color: #FF3300;
    border-color: #FF3300;
}


/* НАМАЗ */

.todays-namaz-section ol li {
	position: relative;
	font-size: 20px;
	text-align: left;
	border-bottom: 1px solid rgb(0 0 0 / 8%);
	padding-top: 15px;
	padding-bottom: 14px;
}

.todays-namaz-section ol li:last-child {
	border-bottom: none;
}

.todays-namaz-section ol li h3 {
	display: block;
	font-weight: 600;
	margin-top: 0;
	margin-bottom: 15px;
}

.todays-namaz-section ol li p {
	display: block;
	color: rgb(0 0 0 / 85%);
	font-size: 16px;
	line-height: 1.2;
	margin-top: 5px;
	margin-bottom: 5px;
}

.todays-namaz-section ol li p span {
	color: rgb(0 0 0 / 45%);
}

.todays-namaz-section ol li time {
	position: absolute;
	right: 0;
	font-weight: 500;
}


/* НОЧНЫЕ ОТРЕЗКИ ВРЕМЕНИ */

.additional-section {
	background-color: #f5f5f5;
}

.additional-section .paragraph {
	margin-bottom: 27px;
}

.additional-section .additional-wrapper .item {
	background-color: #fff;
	line-height: 1.2;
	padding-top: 10px;
	padding-bottom: 25px;
}

.additional-section .additional-wrapper .item p {
	font-size: 16px;
}

.additional-section .additional-wrapper .item .time {
    font-size: 29px;
	font-weight: 500;
	margin-top: 12px;
}


/* СПИСОК */

.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 / 4%);
	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 / 4%);
    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 / 4%);
}

.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: #000;
	color: #fff;
	border-color: #000;
}


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

.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: 32px;
	font-weight: 500;
}


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

.faq {
    text-align: left;
}

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

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

.faq .item .question {
    position: relative;
	display: block;
	cursor: pointer;
	line-height: 1.6;
	padding-right: 30px;
	margin: 0;
}

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


/* КИБЛА */

.qibla {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	justify-content: center;
	align-items: center;
}

.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 #FF3300;
	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 #FF3300;
	width: 70px;
	height: 70px;
	border-radius: 50%;
}


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

.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: #f5f5f5;
    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.toc .side {
	width: 260px;
}

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

.modal .side p {
	font-size: 18px;
	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 {
	background-color: #fff;
	max-width: 403px;
    display: inline-block;
    vertical-align: top;
	overflow: hidden;
    text-align: left;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgb(0 0 0 / 14%);
}

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

.listing .card img,
.listing .card .thumbnail {
	width: 100%;
	max-height: 264px;
	display: block;
}

.listing .card .thumbnail {
	position: relative;
	border-bottom: 1px solid rgb(96 125 139 / 12%);
	padding-top: 65.104%;
}

.listing .card span {
    width: 100%;
    display: block;
    overflow: hidden;
}

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

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

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


/* ТЕКСТ */

.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;
}


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

.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: 24px;
	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: #fff;
	display: inline-block;
	font-family: inherit;
	color: #000;
    font-size: 15px;
	border: none;
	outline: none;
	border-radius: 12px;
	box-shadow: 0 1px 2px rgb(0 0 0 / 14%);
	padding: 12px 17px 10px;
	margin: 4px;
}

.pagination .current {
	background-color: #000;
	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: #f5f5f5;
    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);
}