﻿/*

Theme Name: Namaz
Author: Noname

*/

*,
: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,
summary
p {
    margin: 0;
    padding: 0;
}

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

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

@font-face {
    font-family: inter;
    src: url('fonts/inter/inter-semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
	font-display: swap;
}

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

body {
	position: relative;
	background-color: #fff;
	min-width: 320px;
	font-family: inter;
	color: #202834;
	font-weight: 500;
}

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

fieldset,
img {
    border: 0;
}

img {
    vertical-align: middle;
}

ol,
ul,
summary {
    list-style: none;
}

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

h1 {
    text-align: center;
	letter-spacing: -0.035em;
}

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

a {
	color: #007e7b;
	text-decoration: none;
}

a:hover {
	color: #c11414;
}

.main {
    z-index: 2;
    position: relative;
    background-color: #fff;
    flex: 1 0 auto;
	overflow: hidden;
    padding-top: 30px;
    padding-bottom: 30px;
}

.row {
    font-size: 0;
}

.button {
	background-color: #202834;
	width: 100%;
	display: block;
	font-family: inherit;
	cursor: pointer;
    color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	border: none;
    outline: none;
	padding: 14px 30px 15px;
	margin-bottom: 20px;
}

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



.header .top button { 
	position: relative;
	display: inline-block;
	cursor: pointer;
	color: #fff;
	font-weight: 600;
	outline: none;
        border:none;
}

.header .top button:before {
	content: "";
	position: absolute;
	top: 50%;
	background-image: url(images/icons.png);
    background-repeat: no-repeat;
    background-size: 120px 140px;
	width: 16px;
	height: 16px;
	margin-top: -8px;
}

.header .top button[data-toggle="settings"]:before {
	background-position: 0 -16px;
}

.header .top button[data-toggle="qibla"]:before {
	background-position: -16px -16px;
}


.modal .side .checked_label {
    background: #2b373d;
    color: #fff;
    padding: 8px 20px;
    border-radius: 10px;
    margin-left: -20px;
}
.settings fieldset label.checked_label .info {
    color: #fff;
}
/* АДАПТИВ */


@media screen and (min-width: 980px)  {
	
	body {
		display: -webkit-flex;
		display: flex;
		flex-direction: column;
		font-size: 19px;
		line-height: 1.7;
	}
	
	h1 {
		font-size: 64px;
	}
	
	h2 {
		font-size: 24px;
	}

	h3 {
		font-size: 20px;
	}
	
	.button {
		border-radius: 22px;
	}
	
	.container {
		position: relative;
		width: 100%;
		max-width: 1280px;
		padding-left: 30px;
		padding-right: 30px;
		margin-right: auto;
		margin-left: auto;
	}
	
	.header .top .logotype { 
		font-size: 20px;
	}

	.header .top .logotype:before {
		margin-right: 14px;
	}
	
	.header .top button {
		background-color: transparent;
		font-size: 16px;
		border: none;
		padding-left: 28px;
		margin-left: 34px;
	}

	.header .top button:before {
		left: 0;
	}

	.header .bottom .popular li {
		font-size: 14px;
		padding: 5px 15px;
                border: 1px solid #000;
	}
	
	.hero {
		position: relative;
	}	

	.hero .left,
	.hero .right {
		z-index: 2;
		position: relative;
		display: inline-block;
		vertical-align: bottom;
	}
	
	.hero .left {
		width: 60%;
		padding-right: 20px;
	}
	
	.hero .right {
		width: 40%;
		padding-left: 20px;
	}
	
	.hero .right .timeleft {
		text-align: right;
		margin-bottom: 20px;
	}
	
	.hero .right .timeleft time {
		font-size: 62px;
	}
	
	.nav a {
		font-size: 18px;
	}
	
	.today {
		font-size: 15px;
	}
	
	.namaz {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		align-content: stretch;
		white-space: nowrap;
		margin-right: -20px;
	}

	.namaz dl {
		width: calc(16.6666% - 20px);
		width: -moz-calc(16.6666% - 20px);
		width: -webkit-calc(16.6666% - 20px);
		display: inline-block;
		vertical-align: top;
		border-radius: 22px;
		padding: 25px 30px 25px;
		margin-right: 20px;
	}
	
	.namaz dl dd time {
		font-size: 28px;
	}
	
	.table {
		margin-top: 50px;
	}
	
	.table tbody tr:after {
		border-radius: 22px;
	}
	
	.table tr th,
	.table tr td {
		padding: 14px;
	}
	
	.table tr th {
		font-size: 18px;
	}
	
	.table tr td {
		font-size: 20px;
	}
	
	.qa {
		border-radius: 22px;
	}

	.qa dl {
		padding: 24px 30px;
	}
	
	.qa dl dt {
		font-size: 18px;
	}
	
	.list dl {
		font-size: 16px;
	}
	
	.locations {
		margin-right: -40px;
	}
	
	.locations li {
		width: 20%;
		padding-right: 40px;
		margin: 5px 0;
	}
	
	.locations li a {
		font-size: 16px;
		white-space: nowrap;
	}
	
	.articles {
		margin-right: -12px;
		margin-left: -12px;
	}
	
	.articles .card {
		width: -moz-calc(25% - 24px);
		width: -webkit-calc(25% - 24px);
		width: calc(25% - 24px);
		margin: 12px;
	}
	
	.articles .card img,
	.articles .card .thumbnail {
		border-radius: 22px;
	}
	
	.articles .card span {
		font-size: 18px;
	}
	
	.content {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		align-content: stretch;
	}
	
	.content .article,
	.content .side {
		display: inline-block;
		vertical-align: middle;
	}
	
	.content .article {
		width: -moz-calc(100% - 300px);
		width: -webkit-calc(100% - 300px);
		width: calc(100% - 300px);
		padding-right: 70px;
	}
	
	.content .side {
		width: 300px;
	}
	
	.content .side .banner.fixed {
		z-index: 998;
		position: fixed;
		top: 10px;
	}
	
	.content .side .banner.sticking {
		position: absolute;
		bottom: 0;
	}
	
	.text {
		font-size: 17px;
	}
	
	.text .warning {
		padding: 15px 25px;
	}
	
	.social button {
		font-size: 14px;
		padding: 14px 18px 15px;
	}

	.modal .close {
		top: 20px;
		right: 20px;
	}
	
	.modal .side {
		position: absolute;
		top: 0;
		right: 0;
		bottom: 0;
		width: 450px;
		overflow: scroll;
		overflow-x: hidden;
		overflow-y: auto;
		padding-top: 70px;
		padding-left: 40px;
		padding-right: 30px;
		padding-bottom: 60px;
	}

	.modal .side::-webkit-scrollbar { 
		width: 0;
		height: 0; 
	}
	
	.modal .side .note {
		padding-left: 30px;
		padding-right: 30px;
		margin-left: -30px;
		margin-right: -30px;
	}
	
	.calendar {
		margin-top: 60px;
	}
	
	.calendar {
		margin-left: -20px;
		margin-right: -20px;
	}
	
	.calendar .month {
		width: calc(50% - 40px);
		width: -moz-calc(50% - 40px);
		width: -webkit-calc(50% - 40px);
		display: inline-block;
		vertical-align: top;
		margin-left: 20px;
		margin-right: 20px;
		margin-bottom: 20px;
	}
	
	.calendar .month .day .calendar-popup {
		left: 0;
	}
	
	.footer .container {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		justify-content: center;
		align-items: center;
	}
	
	
	.footer .menu {
		margin-left: auto;
	}
	
}


@media screen and (max-width: 979px) {
	
	body {
		font-size: 18px;
		line-height: 1.5;
	}
	
	h1 {
		font-size: 48px;
	}
	
	h2 {
		font-size: 24px;
	}

	h3 {
		font-size: 20px;
	}
	
	.button {
		border-radius: 12px;
	}
	
	.container {
		max-width: 768px;
		padding-left: 15px;
		padding-right: 15px;
		margin: 0 auto;
	}
	
	.header .top .logotype { 
		font-size: 19px;
	}
	
	.header .top .logotype:before {
		margin-right: 14px;
	}
	
	.header .top button {
		background-color: transparent;
		font-size: 16px;
		border: none;
		padding-left: 28px;
		margin-left: 34px;
	}

	.header .top button:before {
		left: 0;
	}
	
	.header .bottom .popular li {
		font-size: 13px;
		padding: 5px 15px;
                border: 1px solid #000;
	}
	
	.hero .right .timeleft {
		margin-bottom: 20px;
	}
	
	.hero .right .timeleft time {
		font-size: 62px;
	}
	
	.nav a {
		font-size: 17px;
	}
	
	.today {
		font-size: 14px;
	}
	
	.namaz dl {
		position: relative;
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		font-size: 21px;
		text-align: left;
		white-space: nowrap;
		border-radius: 12px;
		padding: 15px;
		margin-top: 10px;
	}
	
	.namaz dl dt {
		margin-right: auto;
	}
	
	.namaz dl dd time {
		font-size: 20px;
		margin-left: auto;
	}
	
	.namaz dl dd.note {
		width: 100%;
	}
	
	.table tbody tr:after {
		border-radius: 12px;
	}
	
	.table tr th,
	.table tr td {
		padding: 14px 10px;
	}
	
	.table tr th {
		font-size: 18px;
	}
	
	.table tr td {
		font-size: 20px;
	}
	
	.qa {
		border-radius: 12px;
	}

	.qa dl {
		padding: 24px 16px;
	}
	
	.qa dl dt {
		font-size: 17px;
	}
	
	.list dl {
		font-size: 15px;
	}
	
	.locations {
		margin-right: -40px;
	}
	
	.locations li {
		width: 33.3333%;
		padding-right: 40px;
		margin: 5px 0;
	}
	
	.locations li a {
		font-size: 16px;
		white-space: nowrap;
	}
	
	.articles {
		text-align: center;
		margin-right: -12px;
		margin-left: -12px;
	}
	
	.articles .card {
		width: -moz-calc(50% - 24px);
		width: -webkit-calc(50% - 24px);
		width: calc(50% - 24px);
		margin: 12px;
	}
	
	.articles .card img,
	.articles .card .thumbnail {
		border-radius: 12px;
	}
	
	.articles .card span {
		font-size: 18px;
	}
	
	.content .article,
	.content .side {
		width: 100%;
		display: block;
	}
	
	.content .article {
		margin-bottom: 50px;
	}
	
	.text {
		font-size: 17px;
	}
	
	.text .warning {
		padding: 15px;
	}
	
	.picture img {
		margin: 0 auto;
	}
	
	.social button {
		font-size: 14px;
		padding: 10px 12px 11px;
	}
	
	.modal {
		overflow: scroll;
		overflow-x: hidden;
		overflow-y: auto;
	}

	.modal::-webkit-scrollbar { 
		width: 0;
		height: 0; 
	}
	
	.modal .close {
		top: 10px;
		right: 15px;
	}
	
	.modal .side {
		position: relative;
		width: 100%;
		padding-top: 40px;
		padding-left: 40px;
		padding-right: 40px;
		padding-bottom: 60px;
	}
	
	.modal .side .note {
		padding-left: 40px;
		padding-right: 40px;
		margin-left: -40px;
		margin-right: -40px;
	}
	
	.calendar {
		margin-top: 50px;
	}
	
	.calendar .month {
		width: 100%;
		max-width: 405px;
		display: block;
		margin: 0 auto 40px;
	}
	
	.calendar .month .day:nth-child(1) .calendar-popup,
	.calendar .month .day:nth-child(2) .calendar-popup,
	.calendar .month .day:nth-child(3) .calendar-popup {
		left: 0;
	}
	
	.calendar .month .day:nth-child(4) .calendar-popup {
		left: 50%;
		-moz-transform: translate(-50%,0);
		-ms-transform: translate(-50%,0);
		-webkit-transform: translate(-50%,0);
		transform: translate(-50%,0);
	}
	
	.calendar .month .day:nth-child(5) .calendar-popup,
	.calendar .month .day:nth-child(6) .calendar-popup,
	.calendar .month .day:nth-child(7) .calendar-popup {
		right: 0;
	}
	
	.footer {
		text-align: center;
	}
	
	.footer .copyright,
	.footer .menu {
		margin: 0 auto 20px;
	}
	
	.footer .languages {
		margin: 0 auto;
	}
	
}


@media screen and (max-width: 640px) {
	
	.locations li {
		width: -moz-calc(50% - 10px);
		width: -webkit-calc(50% - 10px);
		width: calc(50% - 10px);
	}
	
}



@media screen and (max-width: 540px) {
	
	.header .top button {
		background: none;
		width: 46px;
		height: 46px;
		text-indent: -9999px;
		border-radius: 12px;
		padding-left: 0;
		margin-left: 10px;
	}
        

	.header .top button:before {
		left: 50%;
		margin-left: -8px;
	}
	.header .top button { 
	    border: 1px solid #424242!important;
        }
	.table {
	    display: inline-block;
		overflow-x: auto;
		overflow-y: scroll;
	}
	
	.articles {
		margin-right: 0;
		margin-left: 0;
	}
	
	.articles .card {
		width: 100%;
		margin: 12px auto;
	}
	
	.calendar {
		margin-top: 40px;
	}
	
}


@media screen and (max-width: 480px) {
	
	h1 {
		font-size: 44px;
	}
	
	.header .top .logotype { 
		font-size: 18px;
	}
	
	.table tr th {
		font-size: 14px;
	}
	
	.table tr td {
		font-size: 16px;
	}
	
	.text {
		font-size: 16px;
	}
	
	.social button {
		font-size: 13px;
	}
	
	.modal .side {
		padding-left: 40px;
		padding-right: 30px;
	}
	
	.modal .side .note {
		padding-left: 30px;
		padding-right: 30px;
		margin-left: -30px;
		margin-right: -30px;
	}
	
}


@media screen and (max-width: 360px) {
	
	h1 {
		font-size: 42px;
	}
	
	.header .top .logotype { 
		font-size: 17px;
	}

	.header .top .logotype:before {
		margin-right: 12px;
	}
	
	.header .bottom .popular li {
		padding: 4px 10px;
	}
	
	.locations {
		margin-right: -30px;
	}
	
	.locations li {
		padding-right: 30px;
	}
	
	.locations li a {
		font-size: 15px;
	}
	
	.modal .side {
		padding-left: 40px;
		padding-right: 20px;
	}
	
	.modal .side .note {
		padding-left: 20px;
		padding-right: 20px;
		margin-left: -20px;
		margin-right: -20px;
	}
	
}


@media screen and (max-width: 320px) {
	
	h1 {
		font-size: 38px;
	}
	
	.locations {
		margin-right: 0;
		margin-left: 0;
	}
	
	.locations li {
		width: 100%;
		padding-right: 0;
		margin: 5px auto;
	}
	
	.locations li a {
		white-space: normal;
	}
	
}


@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)  {
	
	.header .top .logotype:before {
		background-image: url(images/favicons/icon.svg) !important;
	}
	
	.header .top button:before {
		background-image: url(images/icons.png) !important;
	}
	
	.articles .card .thumbnail:after {
		background-image: url(images/icons.png) !important;
	}
	
	.modal .side.qibla:before {
		background-image: url(images/icons.png) !important;
	}
	
	.map .marker {
		background-image: url(images/icons.png) !important;
	}
	
	.settings fieldset label input:checked + .name::after {
		background-image: url(images/icons.png) !important;
	}
	
	.buttons button:before {
		background-image: url(images/icons.png) !important;
	}
	
}


/* ШАПКА */

.header {
	background-color: #202834;
	padding-top: 15px;
	padding-bottom: 20px;
}

.header .top {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom: 10px;
}

.header .top .logotype {
	height: 52px;
	display: block;
	color: #fff;
	font-weight: 600;
	line-height: 52px;
    white-space: nowrap;
	outline: none;
	margin-right: auto;
}

.header .top .logotype:before {
	content: "";
	background-image: url(images/favicons/icon.svg);
    background-repeat: no-repeat;
    background-size: 46px;
	width: 46px;
	height: 46px;
	display: inline-block;
	vertical-align: middle;
}


.header .bottom .search {
	width: 100%;
	height: 52px;
	line-height: 52px;
        position: relative;
}

.header .bottom .search input {
	background-color: #171c24;
	width: 100%;
	height: 52px;
	font-size: 16px;
	white-space: nowrap;
	border: 1px solid #444;
	border-radius: 12px;
	padding: 0 15px;
        color: #fff;
}
.header .bottom .search input:focus-visible{
    border: 1px solid #444;
    outline: 1px solid #444;
}

.header .search:before {
    content: "";
    position: absolute;
    top: 18px;
    right: 17px;
    z-index:1;
    background-image: url(images/icons.png);
    background-repeat: no-repeat;
    background-size: 120px 140px;
    background-position: -55px -20px;
    width: 20px;
    height: 20px;
    display: block;
}
.header input[type="search"]::-webkit-search-cancel-button {
  display: none;
}

.header .bottom .popular {
	margin: 15px 0px;
}

.header .bottom .popular li {
	background-color: #2d3439;
	display: inline-block;
	color: #fff;
	border-radius: 12px;
	margin: 4px;
}

.header .bottom .popular li a {
	color: #fff;
}


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

.breadcrumbs {
    text-align: center;
	margin-top: 10px;
	margin-bottom: 10px;
}

.breadcrumbs li {
	display: inline-block;
	color: #2b373d;
	font-size: 13px;
}

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

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

.breadcrumbs li a {
    color: #2b373d;
}

.breadcrumbs li a:hover {
	color: #c11414;
}


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

.hero .timeleft {
    text-align: center;
	font-size: 16px;
}

.hero .timeleft time {
    color: #007e7b;
    font-size: 50px;
	display: block;
	font-weight: 700;
	line-height: 1.3;
	white-space: nowrap;
        margin-bottom: 20px;
}


/* ВКЛАДКИ */

.nav {
	position: relative;
	overflow-x: scroll;
    white-space: nowrap;
	text-align: left;
	border-bottom: 1px solid #e3f0f2;
	margin-bottom: 30px;
}

.nav::-webkit-scrollbar {
	width: 0;
	height: 0;
}

.nav a {
	position: relative;
    display: inline-block;
	vertical-align: bottom;
    cursor: pointer;
    color: #2b373d;
	font-weight: 400;
	line-height: 1.3;
    outline: none;
    border: none;
	border-bottom: 2px solid transparent;
    padding: 0 0 15px;
	margin-right: 20px;
}

.nav a:last-child {
	margin-right: 0;
}

.nav a.active {
    cursor: default;
    color: #202834;
	border-color: #007e7b;
}

.segment {
	display: none;
}

.segment.active {
	display: block;
}


/* ТЕКУЩАЯ ДАТА */

.today {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #2b373d;
	margin-bottom: 15px;
}

.today li:first-child {
	text-align: left;
	padding-right: 5px;
	margin-right: auto;
}

.today li:last-child {
	text-align: right;
	padding-left: 5px;
	margin-left: auto;
}


/* РАСПИСАНИЕ МОЛИТВ */

.namaz dl {
	position: relative;
	background-color: #f3f8f9;
	cursor: pointer;
	font-size: 19px;
	text-align: left;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
        border: 1px solid #c4c4c4;
}

.namaz dl:hover {
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
}

.namaz dl.active {
	background-color: #2b373d;
	color: #fff;
	border: 1px solid #000;
}

.namaz dl dt,
.namaz dl dd time,
.namaz dl dd span {
	font-weight: 700;
}

.namaz dl dt {
	display: block;
}

.namaz dl dd span {
	margin-left: 5px;
}

.namaz dl dd.note {
	width: 100%;
	display: block;
	color: rgb(0 0 0 / 70%);
	font-size: 13px;
	font-weight: 400;
	margin-left: 0;
}

.namaz dl.active dd.note {
	color: rgb(255 255 255 / 70%);
}


/* ТЕКУЩИЕ НАСТРОЙКИ */

.setting {
	background-color: transparent;
	display: block;
    cursor: pointer;
    font-family: inherit;
	color: #2b373d;
	font-size: 15px;
	text-align: center;
    border: none;
    outline: none;
	padding: 0;
	margin-right: auto;
	margin-left: auto;
	margin-top: 30px;
	margin-bottom: 30px;
}

.setting:hover {
	color: #007e7b;
}


/* ТАБЛИЦА */

.table {
	width: 100%;
	text-align: center;
	margin-bottom: 30px;
}

.table thead tr,
.table tbody tr {
	position: relative;
    width: 100%;
	border: 1px solid rgb(0 0 0 / 20%);
}

.table tbody tr:hover {
	background-color: #f3f8f9; 
}

.table tbody tr.active {
	background-color: #2b373d; 
	color: #fff; 
        border: 1px solid #000;
}

.table thead tr th,
.table tbody tr td {
	z-index: 2;
	position: relative;
	font-weight: 400;
    white-space: nowrap;
}


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

.qa {
	background-color: #f3f8f9;
    text-align: left;
	margin: 50px 0 70px;
            border: 1px solid #939393;
}

.qa dl {
	border-bottom: 1px solid #939393;
}

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

.qa dl dt {
    position: relative;
	display: block;
	cursor: pointer;
	color: #202834;
	font-weight: 500;
	line-height: 1.6;
	padding-right: 30px;
}

.qa dl dt:after {
    content: "+";
    position: absolute;
	top: 2px;
    right: 0;
	color: #007e7b;
    font-size: 23px;
	line-height: 1;
    -webkit-transition: all 1s;
    -moz-transition: all 1s;
    transition: all 1s;
}

.qa dl.active dt:after {
	-o-transform: rotate(135deg);
	-ms-transform: rotate(135deg);
	-moz-transform: rotate(135deg);
	-webkit-transform: rotate(135deg);
	transform: rotate(135deg);
}

.qa dl dd {
	display: none;
    font-size: 17px;
	line-height: 1.5;
    padding: 16px 0 0;
}

.qa dl dd span[role=button] {
	cursor: pointer;
	color: #007e7b;
	border-bottom: 1px solid #007e7b;
}

.qa dl dd span[role=button]:hover {
	color: #c11414;
	border-color: #c11414;
}


/* СПИСОК */

.list {
	margin-bottom: 30px;
}

.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 / 10%);
	padding: 15px 0;
	margin: 0;
}

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

.list dl dt {
	color: rgb(43 55 61);
	margin-right: auto;
	padding-right: 10px;
}

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


/* ГОРОДА */

.locations {
	font-size: 0;
	margin-top: 40px;
	margin-bottom: 50px;
}

.locations li {
    display: inline-block;
    vertical-align: top;
    text-align: left;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
}

.locations li:hover {
    -webkit-transform: translateY(-3px);
    transform: translateY(-3px);
}

.locations li a {
	max-width: 100%;
    display: block;
	overflow: hidden;
	color: #202834;
    text-overflow: ellipsis;
	line-height: 1.4;
}

.locations li a:hover {
	color: #007e7b;
}


/* БЛОГ */

.articles {
	font-size: 0;
	margin-top: 40px;
	margin-bottom: 50px;
}

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

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

.articles .card img,
.articles .card .thumbnail {
	width: 100%;
	display: block;
	margin-bottom: 12px;
}

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

.articles .card .thumbnail:after {
    content: "";
    position: absolute;
	top: 50%;
    left: 50%;
	background-image: url(images/icons.png);
    background-repeat: no-repeat;
    background-size: 120px 140px;
	background-position: -32px 0; 
	width: 16px;
	height: 16px;
	display: block;
	margin: -8px 0 0 -8px;
}

.articles .card span {
    width: 100%;
    display: block;
	color: #202834;
    overflow: hidden;
}

.articles .card span {
	line-height: 1.4;
}


/* КОНТЕНТ */

.content {
	width: 100%;
	margin: 0 0 50px;
}


/* БАННЕР */

.banner,
.banner img {
	width: 300px;
	height: auto;
	display: block;
        border-radius: 20px;
	margin: 0 auto;
        overflow: hidden;
}


/* ОГЛАВЛЕНИЕ */

.toc {
	border: 1px solid #e3f0f2;
	font-size: 15px;
	border-radius: 8px;
	padding: 10px 20px 11px;
}

.toc summary {
	position: relative;
	cursor: pointer;
}

.toc summary:after {
	content: "";
	background-image: url(images/icons.png);
    background-repeat: no-repeat;
    background-size: 120px 140px;
	background-position: -32px -32px; 
	width: 16px;
	height: 16px;
	display: inline-block;
	vertical-align: middle;
	margin-left: 2px;
}

.toc[open] summary:after {
    background-position: -16px -32px;
}

.toc a {
	color: #202834;
}

.toc a:hover {
	color: #c11414;
}


/* ТЕКСТ */

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

.text ul,
.text ol {
    margin: 25px 0;
}

.text ol {
    counter-reset: list;
}

.text ul li,
.text ol li {
    position: relative;
    display: block;
    margin: 4px 0;
}

.text ul li:before {
	content: ""; 
	background-color: #202834;
	width: 3px;
	height: 3px;
	display: inline-block;
	vertical-align: middle;
	border-radius: 50%;
	margin-right: 10px;
}

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

.text .video,
.text audio {
	text-align: center;
	margin: 25px 0; 
}

.text .video iframe {
	border: none;
}

.text blockquote {
    font-style: italic;
    line-height: 1.5;
	border-left: 3px solid #202834;
    padding: 0 0 0 20px;
	margin: 0; 
}

.text .warning {
	background-color: #ff4d4f;
	color: #fff;
	line-height: 1.5;
	border-radius: 8px;
	margin: 25px 0; 
}


/* ВЫДЕЛЯЕМ ФРАГМЕНТ ТЕКСТА «МАРКЕРОМ» */

mark {
    background-color: #ffffa1;
}


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

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

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

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


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

.title {
	display: block;	
	font-size: 20px;
	font-weight: 700;
	text-align: left;
	margin-bottom: 15px;
        color: #000000;        
}
.side .title {
    margin-left: -18px;
}

/* КНОПКИ СОЦИАЛЬНЫХ СЕТЕЙ */

.social {
	font-size: 0;
	text-align: center;
	margin-top: 50px;
	margin-bottom: 50px;
}

.social button {
    position: relative;
    width: 40px;
    height: 40px;
    display: inline-block;
    overflow: hidden;
    cursor: pointer;
    text-indent: -9999px;
    border: none;
    outline: none;
    background-color: #202834;
    border-radius: 12px;
	margin: 3px;
}

.social button:after {
    content: "";
    position: absolute;
    left: 10px;
    bottom: 10px;
    background-image: url(images/icons.png);
    background-repeat: no-repeat;
    background-size: 120px 140px;
    width: 20px;
    height: 20px;
    display: block;
}
.social button.fb:after {
    background-position: -35px 0px;
}
.social button.tw:after {
    background-position: -55px 0px;
}
.social button.telegram:after {
    background-position: -75px 0px;
}
.social button.whatsapp:after {
    background-position: -95px 0px;
}

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

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

.pagination a,
.pagination span {
	background-color: #f3f8f9;
	display: inline-block;
	font-family: inherit;
	color: #0c2520;
    font-size: 15px;
	font-weight: 500;
	border: none;
	outline: none;
	border-radius: 12px;
	padding: 12px 20px 10px;
	margin: 4px;
}

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


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

.modal {
	z-index: 1000;
	position: fixed;
	top: 0;
	right: -100%;
	bottom: 0;
	background-color: rgb(0 0 0 / 40%);
	width: 100%;
	height: 100%;
	opacity: 0;
	visibility: hidden;
}

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

.modal .close {
	z-index: 3;
	position: absolute;
	background-color: #f3f8f9;
	width: 52px;
    height: 52px;
	cursor: pointer;
	font-size: 0;
	border: none;
	outline: none;
    border-radius: 50%;
}

.modal.show .close {
	position: fixed;
}

.modal .close:after {
        content: "";
    position: absolute;
    top: 17px;
    left: 17px;
    background-image: url(images/icons.png);
    background-repeat: no-repeat;
    background-size: 120px 140px;
    background-position: -76px -20px;
    width: 20px;
    height: 20px;
    display: block;
}

.modal .side {
	z-index: 2;
	background-color: #fff;
	min-height: 100%;
	text-align: left;
}

.modal .side .note {
	background-color: #f3f8f9;
	display: block;
	font-size: 15px;
	line-height: 1.4;
    padding-top: 25px;
	padding-bottom: 25px;
	margin-bottom: 40px;
}

.modal .side .note ul li {
	margin: 8px 0;
}


/* КАРТА */

.map {
	z-index: 1;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	width: 100%;
	height: 100%;
}

.map .marker {
    background-color: transparent;
	background-image: url(images/icons.png);
    background-repeat: no-repeat;
    background-size: 120px 140px;
	background-position: 0 -48px;
	width: 60px;
	height: 78px;
	display: block;
}


/* НАСТРОЙКИ */

.settings fieldset {
	border: none;
	margin-bottom: 30px;
}

.settings fieldset label {
	display: block;
    cursor: pointer;
	font-family: inherit;
    font-size: 16px;
	font-weight: 400;
	line-height: 1.4;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
	margin-bottom: 15px;
        background: #f3f8f9;
    padding: 8px 20px;
    border-radius: 10px;
    margin-left: -20px;
    border: 1px solid #ccc;
}

.settings fieldset label input {
	z-index: -1;
    position: absolute;
    opacity: 0;
}

.settings fieldset label .name {
	position: relative;
	display: block;
}


.settings fieldset label .info {
	display: block;
    color: #2b373d;
	font-size: 13px;
	margin-top: 6px;
}

.settings fieldset label .info span {
	display: inline-block;
	margin-right: 10px;
}

.settings fieldset label .info span:before {
	content: attr(data-name);
}


/* ОСОБЕННОСТИ */

.feature {
	font-size: 16px;
}

.feature dl dd:before {
	content: attr(data-before) " ";
}

.feature dl dd:after {
	content: " " attr(data-after);
}

.feature span[role=button] {
	cursor: pointer;
	color: #007e7b;
	border-bottom: 1px solid #007e7b;
}

.feature span[role=button]:hover {
	color: #c11414;
	border-color: #c11414;
}


/* КАЛЕНДАРЬ */

.calendar .month table,
.calendar .month table caption,
.calendar .month table thead,
.calendar .month table thead .islamic-month,
.calendar .month table tbody {
	width: 100%;
	text-align: center;
}

.calendar .month table caption {
	font-size: 22px;
}

.calendar .month table thead .islamic-month {
	font-size: 15px;
	margin-bottom: 10px;
}

.calendar .month table th {
	font-size: 12px;
	font-weight: normal;
}

.calendar .month table th,
.calendar .month table td {
	padding: 9px 5px 10px;
}

.calendar .month table td {
	font-size: 12px;
	text-align: center;
	border: 1px solid rgb(0 0 0 / 20%);
}

.calendar .month table tr th:nth-child(6), 
.calendar .month table tr th:nth-child(7),
.calendar .month table tr td:nth-child(6), 
.calendar .month table tr td:nth-child(7) {
	color: #c11414;
}	

.calendar .month .day.event {
	position: relative;
	background-color: #007e7b;
	cursor: pointer;
	color: #fff;
	border-color: #007e7b;
}

.calendar .month .day.current {
	background-color: #c11414;
	color: #fff;
    border-color: #c11414;
}

.calendar .month .day time,
.calendar .month .day small {
	display: block;
	line-height: 1.2;
}

.calendar .month .day time {
	font-size: 18px;
	font-weight: 500;
	margin-bottom: 5px;
}

.calendar .month .day small {
	font-size: 12px;
}

.calendar .month .day .calendar-popup {
	z-index: 100;
	position: absolute;
	top: 40px;
	width: 200px;
	display: none;
	background-color: #fff;
	white-space: normal;
	color: #2c292e;
	font-size: 13px;
	line-height: 18px;
	text-align: left;
	box-shadow: 0 0 10px rgba(0,0,0,0.5);
	padding: 15px;
}

.calendar .month .day.event:hover .calendar-popup {
	display: block;
}


/* ПЛАВАЮЩИЕ КНОПКИ */

.buttons {
	display: none;
}

.buttons button { 
	z-index: 999;
	position: fixed;
	left: 10px;
	width: 46px;
	height: 46px;
	display: block;
	cursor: pointer;
	text-indent: -9999px;
	outline: none;
	border: 1px solid #a8a8a8;
	box-shadow: 0 0 3px rgb(0 0 0 / 7%);
	-webkit-backdrop-filter: blur(15px);
	backdrop-filter: blur(15px);
	border-radius: 12px;
}

.buttons button:last-child { 
	margin-bottom: 0;
}

.buttons button[data-toggle="qibla"] {
	bottom: 106px;
}

.buttons button[data-toggle="settings"] {
	bottom: 50px;
}

.buttons button:before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background-image: url(images/icons.png);
    background-repeat: no-repeat;
    background-size: 120px 140px;
	width: 16px;
	height: 16px;
	margin-top: -8px;
	margin-left: -8px;
}

.buttons button[data-toggle="settings"]:before {
	background-position: 0 0;
}

.buttons button[data-toggle="qibla"]:before {
	background-position: -16px 0;
}


/* ПОДВАЛ */

.footer {
	width: 100%;
	flex: 0 0 auto;
	color: #202834;
	font-size: 15px;
	text-align: center;
	border-top: 1px solid #f3f8f9;
	padding: 30px 0;
}

.footer a {
	color: #202834;
}

.footer a:hover {
	color: #c11414;
}

.footer .menu li {
    display: inline-block;
	margin: 0 10px;
}

/* КУКИ */

.cookies {
    z-index: 999;
    position: fixed;
    right: auto;
    left: 10px;
    bottom: 10px;
    background-color: #fff;
    width: 300px;
    display: none;
    color: #202834;
    line-height: 1.4;
    border: 1px solid #bebebe;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgb(0 0 0 / 10%);
    padding: 20px;
}

.cookies.show {
	display: block;
}

.cookies span {
	position: relative;
	display: block;
	font-size: 15px;
}

.cookies button {
	background-color: #202834;
	width: 100%;
	height: 40px;
	cursor: pointer;
	font-family: inherit;
	color: #fff;
	font-size: 12px;
	text-transform: uppercase;
	text-align: center;
	outline: none;
	border: none;
	border-radius: 12px;
	margin-top: 20px;
}

.cookies button:hover {
	background-color: #007e7b;
}


/* АВТОЗАПОЛНЕНИЕ */

.ui-menu {
	z-index: 1001;
        width: 250px;
	background-color: #171c24;
	padding: 10px 0;
}

.ui-menu .ui-menu-item {
	width: 100%;
	cursor: pointer;
	font-size: 15px;
    margin: 0;
    padding: 5px 10px;
    color: #fff;
}

.ui-menu .ui-menu-item:hover {
	background-color: #000;
	
}

.ui-helper-hidden-accessible { 
	position: absolute; 
	left: -9999px; 
}


