﻿/*

Theme Name: Template
Author: Namaz

*/

*,
: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;
}

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

fieldset,
img {
    border: 0;
}

img {
    vertical-align: middle;
}

ol,
ul {
    list-style: none;
}

@font-face {
    font-family: roboto;
    src: url('fonts/roboto/robotoregular.eot');
    src: url('fonts/roboto/robotoregular.eot?#iefix') format('embedded-opentype'),
         url('fonts/roboto/robotoregular.woff2') format('woff2'),
         url('fonts/roboto/robotoregular.woff') format('woff'),
         url('fonts/roboto/robotoregular.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
	font-display: swap;
}

@font-face {
    font-family: roboto;
    src: url('fonts/roboto/robotomedium.eot');
    src: url('fonts/roboto/robotomedium.eot?#iefix') format('embedded-opentype'),
         url('fonts/roboto/robotomedium.woff2') format('woff2'),
         url('fonts/roboto/robotomedium.woff') format('woff'),
         url('fonts/roboto/robotomedium.ttf') format('truetype');
    font-style: normal;
    font-weight: 500;
	font-display: swap;
}

@font-face {
    font-family: roboto;
    src: url('fonts/roboto/robotobold.eot');
    src: url('fonts/roboto/robotobold.eot?#iefix') format('embedded-opentype'),
         url('fonts/roboto/robotobold.woff2') format('woff2'),
         url('fonts/roboto/robotobold.woff') format('woff'),
         url('fonts/roboto/robotobold.ttf') format('truetype');
    font-style: normal;
    font-weight: 600;
	font-display: swap;
}

@font-face {
    font-family: 'PT Serif';
    src: url('fonts/ptserif/ptserif-regular.eot');
    src: url('fonts/ptserif/ptserif-regular.eot?#iefix') format('embedded-opentype'),
         url('fonts/ptserif/ptserif-regular.woff2') format('woff2'),
         url('fonts/ptserif/ptserif-regular.woff') format('woff'),
         url('fonts/ptserif/ptserif-regular.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
	font-display: swap;
}

@font-face {
    font-family: 'PT Serif';
    src: url('fonts/ptserif/ptserif-bold.eot');
    src: url('fonts/ptserif/ptserif-bold.eot?#iefix') format('embedded-opentype'),
         url('fonts/ptserif/ptserif-bold.woff2') format('woff2'),
         url('fonts/ptserif/ptserif-bold.woff') format('woff'),
         url('fonts/ptserif/ptserif-bold.ttf') format('truetype');
    font-style: normal;
    font-weight: bold;
	font-display: swap;
}

body {
	position: relative;
	background-color: #fff;
	min-width: 320px;
	display: -webkit-flex;
	display: flex;
	flex-direction: column;
	font-family: roboto;
	color: #2c292e;
	font-weight: 400;
}

body.dark {
	background-color: #252b2d;
	color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: roboto;
    font-size: 100%;
	line-height: 1.4;
	font-weight: 600;
	text-align: center;
	margin: 25px 0;
}

h1 {
	text-align: center;
}

p {
    margin: 25px 0;
}

a {
	color: #55ab7d;
	text-decoration: none;
}

a:hover {
    color: #f67d50;
}

.row {
    font-size: 0;
}

.main {
	flex: 1 0 auto;
}

.link {
	cursor: pointer;
	color: #55ab7d;
	border-bottom: 1px solid #55ab7d;
}

.link:hover {
    color: #f67d50;
	border-color: #f67d50;
}

.button {
	position: relative;
    background-color: transparent;
    width: 100%;
	height: 44px;
    display: block;
    font-family: inherit;
	cursor: pointer;
    color: rgb(0 0 0 / 75%);
    font-weight: 500;
    white-space: nowrap;
    text-align: center;
	line-height: 42px;
    border: 1px solid rgb(0 0 0 / 20%);
    outline: none;
    border-radius: 16px;
    -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;
	margin-top: 20px;
}

.button:hover:not([disabled="disabled"]) {
	color: #2c292e;
    border-color: rgb(0 0 0 / 40%);
}

.dark .button {
    color: rgb(255 255 255 / 75%);
    border-color: rgb(255 255 255 / 20%);
}

.dark .button:hover:not([disabled="disabled"]) {
	color: #fff;
    border-color: rgb(255 255 255 / 40%);
}

.button.color {
    background-color: #55ab7d;
    color: #fff;
    border-color: #55ab7d;
}

.button.color:hover:not([disabled="disabled"]) {
    background-color: #f67d50;
    color: #fff;
    border-color: #f67d50;
}

.button:disabled {
	pointer-events: none; 
    cursor: not-allowed;
	opacity: .5;
}

.grey {
	color: rgb(0 0 0 / 80%);
}

.dark .grey {
	color: rgb(255 255 255 / 80%);
}


/* АДАПТИВ */


@media screen and (min-width: 980px)  {
	
	body {
		font-size: 18px;
		line-height: 1.7;
	}
	
	h1 {
		font-size: 60px; /* 48px */
	}
	
	h2 {
		font-size: 36px; /* 26px */
	}

	h3 {
		font-size: 32px; /* 22px */
	}
	
	.button {
		font-size: 16px;
	}
	
	.grey {
		text-align: center;
	}
	
	.header,
	.main,
	.footer {
		position: relative;
		width: 100%;
		max-width: 1280px;
		min-width: 980px;
		padding-right: 20px;
		padding-left: 20px;
		margin-right: auto;
		margin-left: auto;
	}
	
	.header {
		height: 74px;
		padding-top: 15px;
		padding-bottom: 15px;
	}
	
	.header .logotype {
		margin-right: 20px;
	}
	
	.rtl .header .logotype {
		margin-left: 20px;
		margin-right: 0;
	}
	
	.header button { 
		margin-left: 20px;
	}
	
	.rtl .header button {
		margin-left: 0;
		margin-right: 20px;
	}
	
	.header .search {
		position: relative;
		width: calc(100% - 435px);
		width: -moz-calc(100% - 435px);
		width: -webkit-calc(100% - 435px);
		margin: 0 auto;
	}
	
	.header .search .popular {
		padding: 0 20px;
	}
	
	.header .search .form input {
		font-size: 17px;
		padding-left: 20px;
		padding-right: 49px;
	}
	
	.rtl .header .search .form input {
		padding-left: 49px;
		padding-right: 20px;
	}
	
	.header .search .form .submit {
		right: 5px;
	}
	
	.rtl .header .search .form .submit {
		left: 5px;
		right: auto;
	}
	
	.nav a {
		font-size: 18px;
		margin: 0 12px;
	}
	
	.location {
		font-size: 20px;
	}
	
	.today {
		font-size: 16px;
		padding: 0 10px;
		margin-top: 25px;
	}
	
	.namaz {
		margin-bottom: 90px;
	}
	
	.namaz dl {
		padding-top: 45px;
	}

	.namaz dl:before {
		height: 35px;
	}
	
	.namaz dl dt {
		font-size: 18px;
	}
	
	.namaz dl dd {
		margin-top: 5px;
	}
	
	.namaz dl dd time {
		font-size: 30px;
	}
	
	.namaz dl dd.tooltip {
		left: 50%;
		bottom: 103px;
		width: 138px;
		font-size: 14px;
		margin-left: -69px;
		padding: 10px 8px;
	}

	.namaz dl dd.tooltip:before {
		left: 63px;
	}
	
	.scale {
		font-size: 23px;
		border-radius: 22px;
	}
	
	.scale .progress::-webkit-progress-value {
		border-radius: 0 22px 22px 0;
	}
	
	.rtl .scale .progress::-webkit-progress-value {
		border-radius: 22px 0 0 22px;
	}
	
	.scale .progress::-moz-progress-bar {
		border-radius: 0 22px 22px 0;
	}
	
	.rtl .scale .progress::-moz-progress-bar {
		border-radius: 22px 0 0 22px;
	}
	
	.scale .progress div {
		border-radius: 0 22px 22px 0;
	}
	
	.rtl .scale .progress div {
		border-radius: 22px 0 0 22px;
	}
	
	.scale .current div.active {
		border-radius: 0 22px 22px 0;
	}
	
	.rtl .scale .current div.active {
		border-radius: 22px 0 0 22px;
	}
	
	.setting {
		margin-bottom: 80px;
	}
	
	.table {
		width: 100%;
		display: block;
	}
	
	.table:hover thead {
		box-shadow: 0 20px 20px -20px rgb(0 0 0 / 20%);
	}
	
	.table thead tr th,
	.table tbody tr td {
		width: 14.2857%;
	}
	
	.table thead tr th {
		font-size: 17px;
		padding: 20px 10px;
	}
	
	.table tbody tr td {
		font-size: 22px;
		padding: 10px;
	}
	
	.table tbody tr.active {
		border-radius: 16px;
	}
	
	.table tbody tr td span {
	    font-size: 18px;
	}
	
	.attention {
		line-height: 1.5;
		padding: 15px 25px 17px;
	}
	
	.mosques .mosque {
		padding-top: 30px;
		padding-left: 35px;
		padding-right: 35px;
	}
	
	.mosques .mosque .name {
		font-size: 21px;
	}
	
	.mosques .mosque .address,
	.mosques .mosque .working-hours,
	.mosques .mosque .phone {
		font-size: 17px;
	}
	
	.list {
		font-size: 17px;
	}
	
	.qa .question {
		padding: 20px 0;
	}
	
	.qa .question .name {
		font-size: 20px;
	}
	
	.qa .question .name:after {
		top: 4px;
	}
	
	.qa .question.active .name:after {
		top: 3px;
	}
	
	.qa .question .answer {
		font-size: 18px;
	}
	
	.rakahs .rakahs-wrapper .rakahs-inner {
		padding: 20px;
	}
	
	.rakahs .rakahs-wrapper .rakahs-inner table tbody tr:hover td {
		background-color: #f7f4f3;
	}
	
	.dark .rakahs .rakahs-wrapper .rakahs-inner table tbody tr:hover td {
		background-color: #3e4c4a;
	}

	.dialog .side {
		right: -500px;
		width: 500px;
		padding-right: 40px;
		padding-left: 40px;
	}
	
	.rtl .dialog .side  {
		left: -500px;
		right: auto;
	}
	
	.dialog .side .note {
		padding-left: 40px;
		padding-right: 40px;
		margin-left: -40px;
		margin-right: -40px;
	}
	
	.locations {
		margin-right: -50px;
	}
	
	.locations li {
		width: calc(20% - 50px);
		width: -moz-calc(20% - 50px);
		width: -webkit-calc(20% - 50px);
		display: inline-block;
		vertical-align: top;
		margin-right: 50px;
	}
	
	.locations li a {
		font-size: 17px;
	}
	
	.listing {
		margin-left: -1.5%;
		margin-right: -1.5%;
	}
	
	.listing .card {
		width: 22%;
		display: inline-block;
		margin: 1.5%;
	}
	
	.calendar {
		margin-top: 60px;
	}
	
	.calendar.two,
	.calendar.three {
		margin-left: -20px;
		margin-right: -20px;
	}
	
	.calendar .month {
		display: block;
		margin-left: auto;
		margin-right: auto;
		margin-bottom: 20px;
	}
	
	.calendar.two .month,
	.calendar.three .month {
		display: inline-block;
		vertical-align: top;
		margin-left: 20px;
		margin-right: 20px;
	}
	
	.calendar.two .month {
		width: calc(50% - 40px);
		width: -moz-calc(50% - 40px);
		width: -webkit-calc(50% - 40px);
	}
	
	.calendar.three .month {
		width: calc(33.3333% - 40px);
		width: -moz-calc(33.3333% - 40px);
		width: -webkit-calc(33.3333% - 40px);
	}
	
	.calendar .month .day .calendar-popup {
		left: 0;
	}
	
	.rtl .calendar .month .day .calendar-popup {
		left: auto;
		right: 0;
	}
	
	.text.serif {
		font-size: 20px;
	}
	
	.text .warning {
		padding: 15px 25px;
	}
	
	.picture {
		margin: 0 -60px;
	}
	
	.picture img {
		border-radius: 16px;
	}
	
	.picture .caption {
		margin: 0 60px;
	}
	
	.footer {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		align-items: center;
	}
	
	.footer div,
	.footer ul {
		display: inline-block;
	}
	
	.footer div {
		margin-right: auto;
	}
	
	.footer ul {
		margin-left: auto;
	}
	
	.search-dropdown li {
		padding: 8px 20px;
	}
	
	.cookies {
		bottom: 16px;
	}
	
}


@media screen and (max-width: 979px) {
	
	body {
		font-size: 18px;
		line-height: 1.5;
	}
	
	h1 {
		font-size: 36px;
		text-align: center;
	}
	
	h2 {
		font-size: 22px;
	}

	h3 {
		font-size: 20px;
	}
	
	.button {
		font-size: 16px;
	}
	
	.header,
	.main,
	.footer {
		width: 100%;
		max-width: 768px;
		padding-right: 15px;
		padding-left: 15px;
		margin: 0 auto;
	}
	
	.header {
		height: 115px;
		min-height: 115px;
		padding-top: 10px;
		padding-bottom: 60px;
	}
	
	.header .logotype {
		margin-right: auto;
	}
	
	.rtl .header .logotype {
		margin-left: auto;
		margin-right: 0;
	}
	
	.header button { 
		margin-left: 20px;
		margin-right: -10px;
	}
	
	.rtl .header button {
		margin-left: -10px;
		margin-right: 20px;
	}
	
	.header .search {
		position: absolute;
		left: 15px;
		right: 15px;
		bottom: 0;
	}
	
	.header .search .popular {
		padding: 0 15px;
	}
	
	.header .search .form input {
		font-size: 16px;
		padding-left: 15px;
		padding-right: 47px;
	}
	
	.rtl .header .search .form input {
		padding-left: 47px;
		padding-right: 15px;
	}
	
	.header .search .form .submit {
		right: 3px;
	}
	
	.rtl .header .search .form .submit {
		left: 3px;
		right: auto;
	}
	
	.nav a {
		font-size: 16px;
		margin: 0 10px;
	}
	
	.location {
		font-size: 18px;
	}
	
	.today {
		font-size: 15px;
		margin-top: 30px;
	}
	
	.namaz {
		margin-left: -15px;
		margin-right: -15px;
		margin-bottom: 50px;
	}
	
	.namaz dl {
		padding-top: 35px;
	}

	.namaz dl:before {
		height: 30px;
	}
	
	.namaz dl dt {
		font-size: 14px;
	}
	.namaz dl dd {
		margin-top: 8px;
	}
	
	.namaz dl dd time {
		font-size: 18px;
	}
	
	.namaz dl dd.tooltip {
		left: 50%;
		bottom: 67px;
		width: 120px;
		font-size: 12px;
		margin-left: -60px;
		padding: 10px 10px 11px;
	}

	.namaz dl dd.tooltip:before {
		left: 54px;
	}
	
	.scale {
		font-size: 19px;
	}
	
	.setting {
		margin-bottom: 60px;
	}
	
	.table {
		display: block;
		margin-left: -15px;
		margin-right: -15px;
	}
	
	.table:active thead,
	.table:hover thead {
		box-shadow: 0 20px 20px -20px rgb(0 0 0 / 20%);
	}
	
	.table thead tr th,
	.table tbody tr td {
		width: 14.2857%;
	}
	
	.table thead tr th {
		font-size: 14px;
		padding: 15px 0;
	}
	
	.table tbody tr td {
		font-size: 17px;
		padding: 10px 0;
	}
	
	.table tbody tr td time,
	.table tbody tr td span {
		white-space: normal;
	}
	
	.table tbody tr td time {
		font-weight: 500;
		line-height: 1;
	}
	
	.table tbody tr td:first-child {
		font-size: 12px;
	}
	
	.table tbody tr td span {
		font-size: 11px;
	}
	
	.table tbody tr td span {
		display: block;
	}
	
	.attention {
		line-height: 1.4;
		padding: 15px 20px 17px;
	}
	
	.mosques .mosque {
		padding-top: 30px;
		padding-left: 30px;
		padding-right: 30px;
	}
	
	.mosques .mosque .name {
		font-size: 18px;
	}
	
	.mosques .mosque .address,
	.mosques .mosque .working-hours,
	.mosques .mosque .phone {
		font-size: 17px;
	}
	
	.list {
		font-size: 17px;
	}
	
	.qa .question {
		padding: 20px 0;
	}
	
	.qa .question .name {
		font-size: 18px;
	}
	
	.qa .question .name:after {
		top: 4px;
	}
	
	.qa .question.active .name:after {
		top: 3px;
	}
	
	.qa .question .answer {
		font-size: 17px;
	}
	
	.rakahs .rakahs-wrapper {
		position: relative;
	}
	
	.rakahs .rakahs-wrapper .rakahs-inner {
		overflow-x: scroll;
		overflow-y: visible;
		font-size: 16px;
		padding: 20px 20px 20px 120px;
	}
	
	.rtl .rakahs .rakahs-wrapper .rakahs-inner {
		padding: 20px 120px 20px 20px;
	}
	
	.rakahs .rakahs-wrapper .rakahs-inner::-webkit-scrollbar { 
		width: 0; 
		height: 0;
	}
	
	.rakahs .rakahs-wrapper .rakahs-inner:after {
		z-index: 1;
		content: "";
		position: absolute;
		top: 10px;
		left: 1px;
		bottom: 10px;
		background-color: #fff;
		width: 120px;
		box-shadow: 12px 0px 10px -15px rgb(0 0 0 / 15%);
	}
	
	.rtl .rakahs .rakahs-wrapper .rakahs-inner:after {
		left: auto;
		right: 1px;
		box-shadow: -12px 0px 10px -15px rgb(0 0 0 / 15%);
	}
	
	.dark .rakahs .rakahs-wrapper .rakahs-inner:after {
		background-color: #252b2d;	
	}
	
	.rakahs .rakahs-wrapper .rakahs-inner table tbody tr:hover td {
		background-color: #f7f4f3;
	}
	
	.dark .rakahs .rakahs-wrapper .rakahs-inner table tbody tr:hover td {
		background-color: #3e4c4a;
	}
	
	.rakahs .rakahs-wrapper .rakahs-inner table thead tr th:first-child,
	.rakahs .rakahs-wrapper .rakahs-inner table tbody tr td:first-child {
		z-index: 2;
		position: absolute;
		left: 10px;
		background-color: transparent;
		width: 100px;
		min-width: 100px;
		max-width: 100px;
		overflow: hidden;
		white-space: nowrap;
		text-overflow: ellipsis;
	}
	
	.rtl .rakahs .rakahs-wrapper .rakahs-inner table thead tr th:first-child,
	.rtl .rakahs .rakahs-wrapper .rakahs-inner table tbody tr td:first-child {
		left: auto;
		right: 10px;
	}
	
	.dialog .side {
		right: -500px;
		width: 500px;
		padding-left: 40px;
		padding-right: 40px;
	}
	
	.rtl .dialog .side  {
		left: -500px;
		right: auto;
	}
	
	.dialog .side .note {
		padding-left: 40px;
		padding-right: 40px;
		margin-left: -40px;
		margin-right: -40px;
	}
	
	.locations {
		margin-right: -50px;
	}
	
	.locations li {
		width: calc(33.3333% - 50px);
		width: -moz-calc(33.3333% - 50px);
		width: -webkit-calc(33.3333% - 50px);
		display: inline-block;
		vertical-align: top;
		margin-right: 50px;
	}
	
	.locations li a {
		font-size: 17px;
	}
	
	.listing {
		margin-left: -2%;
		margin-right: -2%;
	}
	
	.listing .card {
		width: 46%;
		display: inline-block;
		margin: 2%;
	}
	
	.calendar {
		margin-top: 50px;
	}
	
	.calendar .month {
		width: 100%;
		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;
	}
	
	.rtl .calendar .month .day:nth-child(1) .calendar-popup,
	.rtl .calendar .month .day:nth-child(2) .calendar-popup,
	.rtl .calendar .month .day:nth-child(3) .calendar-popup {
		left: auto;
		right: 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;
	}
	
	.rtl .calendar .month .day:nth-child(5) .calendar-popup,
	.rtl .calendar .month .day:nth-child(6) .calendar-popup,
	.rtl .calendar .month .day:nth-child(7) .calendar-popup {
		right: auto;
		left: 0;
	}
	
	.text .warning {
		padding: 15px;
	}
	
	.picture {
		margin: 0 -15px;
	}
	
	.picture .caption {
		margin: 0 15px;
	}
	
	.footer div {
		display: block;
		margin-bottom: 15px;
	}
	
	.search-dropdown li {
		padding: 8px 15px;
	}
	
	.cookies {
		bottom: 20px;
	}
	
}


@media screen and (max-width: 640px) {
	
	.text .video {
		position: relative;
		height: 0;
		overflow: hidden;
		padding-bottom: 56.25%;
	}

	.text .video iframe {
		position: absolute;
		top: 0;
		left: 0;
		width: 100%;
		height: 100%;
	}

}


@media screen and (max-width: 540px) {
	
	.dialog .side {
		right: -480px;
		width: 480px;
		padding-left: 30px;
		padding-right: 30px;
	}
	
	.rtl .dialog .side  {
		left: -480px;
	}
	
	.dialog .side .note {
		padding-left: 30px;
		padding-right: 30px;
		margin-left: -30px;
		margin-right: -30px;
	}
	
	.locations li {
		width: calc(50% - 50px);
		width: -moz-calc(50% - 50px);
		width: -webkit-calc(50% - 50px);
	}
	
	.listing {
		margin-left: 0;
		margin-right: 0;
	}
	
	.listing .card {
		width: 100%;
		display: block;
		margin: 0 auto 30px;
	}
	
	.calendar {
		margin-top: 40px;
	}
	
}


@media screen and (max-width: 480px) {
	
	body {
		line-height: 1.65;
	}
	
	.nav a {
		font-size: 15px;
	}
	
	.namaz dl {
		padding-top: 30px;
	}

	.namaz dl:before {
		height: 25px;
	}
	
	.namaz dl:nth-child(2n) {
		padding-top: 100px;
	}

	.namaz dl:nth-child(2n):before {
		height: 95px;
	}
	
	.namaz dl dt {
		font-size: 12px;
	}
	
	.namaz dl dd {
		margin-top: 4px;
	}
	
	.namaz dl dd time {
		font-size: 20px;
	}
	
	.namaz dl dd.tooltip {
		bottom: 65px;
	}
	
	.namaz dl:nth-child(2) dd.tooltip,
	.namaz dl:last-child dd.tooltip {
		margin-left: 0;
	}
	
	.namaz dl:nth-child(2) dd.tooltip {
		left: -20px;
	}

	.namaz dl:nth-child(2) dd.tooltip:before {
		left: 46px;
	}
	
	.namaz dl:last-child dd.tooltip {
		left: auto;
		right: -20px;
	}

	.namaz dl:last-child dd.tooltip:before {
		left: auto;
		right: 46px;
	}
	
	.table thead tr th {
		font-size: 13px;
	}
	
	.table tbody tr td {
		font-size: 16px;
	}
	
	.dialog .side {
		right: -360px;
		width: 360px;
		padding-left: 20px;
		padding-right: 20px;
	}
	
	.rtl .dialog .side  {
		left: -360px;
	}
	
	.dialog .side .note {
		padding-left: 20px;
		margin-left: -20px;
	}
	
	.locations li a {
		font-size: 16px;
	}
	
}


@media screen and (max-width: 480px) {
	
	.namaz dl:nth-child(2) dd.tooltip:before {
		left: 42px;
	}

	.namaz dl:last-child dd.tooltip:before {
		right: 42px;
	}
	
	.qa .question {
		padding: 15px 0;
	}
	
}


@media screen and (max-width: 360px) {
	
	body {
		font-size: 16px;
	}
	
	h2 {
		font-size: 20px;
	}

	h3 {
		font-size: 18px;
	}
	
	.namaz dl:nth-child(2) dd.tooltip {
		left: -10px;
	}

	.namaz dl:nth-child(2) dd.tooltip:before {
		left: 29px;
	}
	
	.namaz dl:last-child dd.tooltip {
		right: -10px;
	}

	.namaz dl:last-child dd.tooltip:before {
		right: 29px;
	}
	
	.mosques .mosque {
		padding-top: 20px;
		padding-left: 20px;
		padding-right: 20px;
	}
	
	.mosques .mosque .name {
		font-size: 18px;
	}
	
	.mosques .mosque .address,
	.mosques .mosque .working-hours,
	.mosques .mosque .phone {
		font-size: 16px;
	}

	.list {
		font-size: 16px;
	}
	
	.qa .question .name {
		font-size: 17px;
	}
	
	.qa .question .answer {
		font-size: 16px;
	}
	
	.dialog .side {
		right: -320px;
		width: 320px;
	}
	
	.rtl .dialog .side  {
		left: -320px;
	}
	
}


@media screen and (max-width: 320px) {
	
	h1 {
		font-size: 32px;
	}
	
	.header .search .form input {
		font-size: 13px;
	}
	
	.scale {
		font-size: 17px;
	}
	
	.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)  {
	
	.header .search:after {
		background-image: url(images/sprite@2x.png) !important;
	}
	
	.header button:after {
		background-image: url(images/sprite@2x.png) !important;
	}
	
	.header .dropdown a:before {
		background-image: url(images/sprite@2x.png) !important;
	}
	
	.mosques .mosque .address:before,
	.mosques .mosque .working-hours:before,
	.mosques .mosque .phone:before {
		background-image: url(images/sprite@2x.png) !important;
	}
	
	.qibla .map .marker {
		background-image: url(images/sprite@2x.png) !important;
	}
	
	.qa .question .name:after {
		background-image: url(images/sprite@2x.png) !important;
	}
	
	.dialog .close:after {
		background-image: url(images/sprite@2x.png) !important;
	}
	
	.dialog .side fieldset label .name::before {
		background-image: url(images/sprite@2x.png) !important;
	}
	
	.dialog .side fieldset label input:checked + .name::before {
		background-image: url(images/sprite@2x.png) !important;
	}
	
	.listing .card .thumbnail:after {
		background-image: url(images/sprite@2x.png) !important;
	}
	
	.social button {
		background-image: url(images/sprite@2x.png) !important;
	}
	
	.toc summary:after {
		background-image: url(images/sprite@2x.png) !important;
	}
	
}


/* ОСНОВНОЙ КОНТЕНТ */

.main {
	overflow: hidden;
	padding-bottom: 40px;
}


/* ШАПКА */

.header {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	align-items: center;
	margin-bottom: 15px;
}

.header .logotype {
	display: block;
	color: #2c292e;
	font-size: 21px;
	font-weight: 600;
    white-space: nowrap;
	outline: none;
}

.dark .header .logotype {
	color: #fff;
}

.header button { 
	position: relative;
	background-color: transparent;
	width: 44px;
	height: 44px;
	overflow: hidden;
	cursor: pointer;
	text-indent: -9999px;
	border: none;
	outline: none;
}

.header button:after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background-image: url(images/sprite.png);
    background-repeat: no-repeat;
    background-size: 288px;
	width: 24px;
	height: 24px;
	display: block;
	-moz-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}

.header .search {
	z-index: 9999;
	background-color: #f7f4f3; /* #efeeed */
	height: 44px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	align-items: center;
	white-space: nowrap;
	line-height: 44px;
	border: 1px solid #f7f4f3;
	border-radius: 16px;
}

.dark .header .search {
	background-color: #3e4c4a;
	border-color: #3e4c4a;
}

.header .search.focused {
	background-color: #fff;
	border-color: rgb(0 0 0 / 20%);
}

.dark .header .search.focused {
	background-color: #252b2d;
	border-color: rgb(255 255 255 / 20%);
}

.header .search .popular {
	position: relative;
	height: 44px;
    cursor: pointer;
    color: #2c292e;
    font-size: 14px;
	border: none;
	outline: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    margin-right: 0;
}

.dark .header .search .popular {
    color: #fff;
}

.header .search .popular:hover {
	color: #91b697;
}

.header .search .popular:before {
	content: "";
	position: absolute;
	top: 10px;
	right: 0;
	background-color: rgb(0 0 0 / 20%);
	width: 1px;
	height: 24px;
	display: block;
}

.rtl .header .search .popular:before {
	left: 0;
	right: auto;
}

.dark .header .search .popular:before {
	background-color: rgb(255 255 255 / 20%);
}

.header .search .form {
	position: relative;
    width: 100%;
	margin-left: 0;
}

.header .search .form input {
	background-color: transparent;
	width: 100%;
    display: inline-block;
	font-family: inherit;
	height: 44px;
	-moz-appearance: textfield;
	-webkit-appearance: textfield;
	appearance: textfield;
    color: #2c292e;
	line-height: 44px;
	border: none;
	outline: none;
}

.dark .header .search .form input {
    color: #fff;
}

.header .search .form input::-webkit-input-placeholder {
    color: rgb(0 0 0 / 60%);
	transition: opacity 0.3s ease;
}

.dark .header .search .form input::-webkit-input-placeholder {
	color: rgb(255 255 255 / 60%);
}

.header .search .form input:-moz-placeholder {
	opacity: 1;
	color: rgb(0 0 0 / 60%);
	transition: opacity 0.3s ease;
}

.dark .header .search .form input:-moz-placeholder {
	color: rgb(255 255 255 / 60%);
}

.header .search .form input::-moz-placeholder {
	opacity: 1;
	color: rgb(0 0 0 / 60%);
	transition: opacity 0.3s ease;
}

.dark .header .search .form input::-moz-placeholder {
	color: rgb(255 255 255 / 60%);
}

.header .search .form input:-ms-input-placeholder {
	color: rgb(0 0 0 / 60%);
	transition: opacity 0.3s ease;
}

.dark .header .search .form input:-ms-input-placeholder {
	color: rgb(255 255 255 / 60%);
}

.header .search .form input::-ms-input-placeholder {
	color: rgb(0 0 0 / 60%);
	transition: opacity 0.3s ease;
}

.dark .header .search .form input::-ms-input-placeholder {
	color: rgb(255 255 255 / 60%);
}

.header .search .form input::placeholder {
	color: rgb(0 0 0 / 60%);
	transition: opacity 0.3s ease;
}

.dark .header .search .form input::placeholder {
	color: rgb(255 255 255 / 60%);
}

.header .search .form input:focus::-webkit-input-placeholder {
    opacity: 0;
}

.header .search .form input:focus:-moz-placeholder {
	opacity: 0;
}

.header .search .form input:focus::-moz-placeholder {
	opacity: 0;
}

.header .search .form input:focus:-ms-input-placeholder {
	opacity: 0;
}

.header .search .form input:focus::-ms-input-placeholder {
	opacity: 0;
}

.header .search .form input:focus::placeholder {
	opacity: 0;
}

.header .search .form .submit {
	position: absolute;
	top: 0;
	margin: 0;
}

.header .search .form .submit:after {
	background-position: 0 0;
}

.dark .header .search .form .submit:after {
	background-position: 0 -24px;
}

.header button[data-toggle="mode"]:after {
	background-position: -24px 0;
}

.dark .header button[data-toggle="mode"]:after {
	background-position: -24px -24px;
}

.header button[data-toggle="lang"]:after {
	background-position: -48px 0;
}

.dark .header button[data-toggle="lang"]:after {
	background-position: -48px -24px;
}

.header button[data-toggle="menu"]:after {
	background-position: -144px 0;
}

.dark .header button[data-toggle="menu"]:after {
	background-position: -144px -24px;
}

.header .dropdown {
	z-index: 10000;
	position: absolute;
	top: 58px;
	right: 10px;
	background-color: #fff;
	max-width: 185px;
	display: none;
	opacity: 0;
	border: 1px solid rgb(0 0 0 / 12%);
	border-radius: 16px;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
	padding: 15px;
}

.header .dropdown.languages {
	padding-left: 15px;
	padding-right: 25px;
}

.rtl .header .dropdown.languages {
	padding-left: 25px;
	padding-right: 15px;
}

.rtl .header .dropdown {
	right: auto;
	left: 10px;
}

.dark .header .dropdown {
	background-color: #252b2d;
	border-color: rgb(255 255 255 / 12%);
}

.header .dropdown.show {
	display: block;
	opacity: 1;
}

.header .dropdown a {
	position: relative;
	display: block;
	color: #2c292e;
	font-size: 15px;
	line-height: 1.3;
	padding: 6px 0;
}

.dark .header .dropdown a {
	color: #fff;
}

.header .dropdown.languages a {
	padding-left: 30px;
}

.rtl .header .dropdown.languages a {
	padding-left: 0;
	padding-right: 30px;
}

.header .dropdown a:before {
	content: "";
	background-image: url(images/sprite.png);
    background-repeat: no-repeat;
    background-size: 288px;
	display: block;
}

.header .dropdown.languages a:before {
	position: absolute;
	top: 7px;
	left: 0;
	width: 20px;
	height: 20px;
}

.rtl .header .dropdown.languages a:before {
	left: auto;
	right: 0;
}

.header .dropdown.languages a:lang(en):before {
	background-position: 0 -100px;
}

.header .dropdown.languages a:lang(ar):before {
	background-position: -20px -100px;
}

.header .dropdown.languages a:lang(fr):before {
	background-position: -40px -100px;
}

.header .dropdown.languages a:lang(tr):before {
	background-position: -60px -100px;
}

.header .dropdown.languages a:lang(id):before {
	background-position: -80px -100px;
}

.header .dropdown.languages a:lang(ms):before {
	background-position: -100px -100px;
}

.header .dropdown.languages a:lang(de):before {
	background-position: -120px -100px;
}

.header .dropdown.languages a:lang(ru):before {
	background-position: -140px -100px;
}

.header .dropdown.menu a {
	text-align: center;
	margin: 10px 0;
}

.header .dropdown.menu a:before {
	width: 54px;
	height: 54px;
	margin: 0 auto 10px;
}

.header .dropdown.menu a.calendar-menu:before {
	background-position: -44px -140px;
}

.header .dropdown.menu a.ramadan-menu:before {
	background-position: -98px -140px;
}


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

.breadcrumbs {
	font-size: 13px;
	text-align: center;
}

.breadcrumbs li {
	position: relative;
	display: inline-block;
	color: rgb(0 0 0 / 32%);
}

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

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

.breadcrumbs li a {
	color: rgb(0 0 0 / 32%);
}

.breadcrumbs li a:hover {
	color: rgb(0 0 0 / 80%);
	border-bottom: 1px solid rgb(0 0 0 / 20%);
}

.dark .breadcrumbs li,
.dark .breadcrumbs li a {
	color: rgb(255 255 255 / 32%);
}

.dark .breadcrumbs li a:hover {
	color: rgb(255 255 255 / 80%);
	border-bottom: 1px solid rgb(255 255 255 / 20%);
}


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

.title {
	display: block;
    color: rgb(0 0 0 / 80%);
	font-size: 22px;
	font-weight: 500;
	margin-bottom: 20px;
}

.dark .title {
	color: rgb(255 255 255 / 80%);
}


/* ВКЛАДКИ */

.nav {
	position: relative;
	overflow-x: scroll;
    white-space: nowrap;
	text-align: center;
	margin-top: 30px;
	margin-bottom: 30px;
}

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

.nav a {
	z-index: 2;
	position: relative;
    display: inline-block;
	vertical-align: bottom;
    cursor: pointer;
    color: rgb(0 0 0 / 92%);
	font-weight: 400;
	line-height: 1.3;
    outline: none;
    border: none;
	border-bottom: 1px solid transparent;
    padding: 0 0 15px;
}

.dark .nav a {
    color: rgb(255 255 255 / 92%);
}

.nav a.active {
    cursor: default;
    color: #2c292e;
	border-color: #91b697;
}

.dark .nav a.active {
    color: #fff;
}

.nav a span {
    display: inline-block;
	overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.segment {
	display: none;
}

.segment.active {
	display: block;
}


/* ЛОКАЦИЯ */

.location {
	display: block;
	text-align: center;
}


/* ВРЕМЯ + НАСТРОЙКИ */

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

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

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


/* ВРЕМЯ НАМАЗА */

.namaz {
	position: relative;
	text-align: center;
}

.namaz dl {
	position: relative;
	width: 14.2857%;
	display: inline-block;
	vertical-align: top;
	cursor: pointer;
	text-align: center;
}

.namaz dl:before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	background-color: rgb(0 0 0 / 24%);
	width: 1px;
}

.dark .namaz dl:before {
    background-color: rgb(255 255 255 / 24%);
}

.namaz dl.active:before {
	background-color: #55ab7d;
}

.namaz dl dt strong,
.namaz dl dd time {
	font-weight: 500;
}

.namaz dl.past {
	color: rgb(0 0 0 / 20%);
}

.dark .namaz dl.past {
	color: rgb(255 255 255 / 20%);
}

.namaz dl.active {
	color: #55ab7d;
}

.namaz dl dd.tooltip {
	z-index: 4;
	position: absolute;
	background-color: #fff;
	visibility: hidden;
	opacity: 0;
	color: #2c292e;
	line-height: 1.3;
	border-radius: 8px;
	box-shadow: 0 10px 20px -5px rgb(0 0 0 / 40%);
    -webkit-transition: opacity .5s;
    -moz-transition: opacity .5s;
    transition: opacity .5s;
}

.namaz dl:hover dd.tooltip {
	visibility: visible;
	opacity: 1;
}

.namaz dl dd.tooltip:before {
    content: '';
    position: absolute;
    bottom: -6px;
    width: 0;
    height: 0;
    display: block;
	border-top: 6px solid #fff;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent; 
}

.namaz dl dd.tooltip mark {
	display: block;
	font-size: 15px;
	line-height: 1.3;
	border-radius: 4px;
	padding: 4px 8px 5px;
	margin-top: 8px;
}

.namaz dl dd.tooltip mark.green {
	background-color: #55ab7d;
	color: #fff;
}

.namaz dl dd.tooltip mark.red {
	background-color: #f67d50;
	color: #fff;
}


/* ПРОГРЕСС-БАР */

.scale {
	position: relative;
	background-color: #3E4C4A;
	width: 100%;
	height: 78px;
	overflow: hidden;
	white-space: nowrap;
	line-height: 76px;
}

.scale .timeleft {
	z-index: 3;
	position: relative;
	color: #fff;
	font-weight: 500;
}

.scale .progress,
.scale .current {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: none;
	background-color: transparent;
	width: 100%;
    height: 100%;
	display: block;
	border: 0;
}

.scale .progress {
	z-index: 2;
	color: #91b697;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.scale .current {
	z-index: 1; 
}

.scale .progress::-webkit-progress-bar {
	background: none;
	background-color: transparent;
}

.scale .progress::-webkit-progress-value {
	background-color: #91b697;
}

.scale .progress::-moz-progress-bar {
	background-color: #91b697; 
}

.scale .progress::-ms-fill {
	background-color: #91b697;
}

.scale .progress div {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
    height: 100%;
	display: block;
}

.scale .progress div {
    background-color: #91b697;
}

.scale .current div {
	width: 14.2857%;
	height: 78px;
	display: inline-block;
}

.scale .current div.past,
.scale .current div.active {
	background-color: #607669;
}

.scale .current div.deadline {
	background-color: #E7665A;
}


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

.setting {
	text-align: center;
}

.setting small {
	display: block;
	font-size: 17px;
}

.setting button {
	background-color: transparent;
	font-family: inherit;
	cursor: pointer;
	color: #2c292e;
	font-size: 15px;
	border: 1px solid rgb(0 0 0 / 20%);
	outline: none;
	border-radius: 12px;
	padding: 5px 14px 7px;
	margin: 15px auto 0;
}

.dark .setting button {
	color: #fff;
	border-color: rgb(255 255 255 / 20%);
}

.setting button:hover {
	color: #91b697;
	border-color: #91b697;
}


/* ТАБЛИЦА */

.table {
    margin-top: 40px;
}

.table thead,
.table tbody,
.table tr {
    width: 100%;
	display: block;
	text-align: center;
}

.table thead {
    background-color: #fff;
}

.dark .table thead {
    background-color: #252b2d;
}

.table tbody {
	max-height: 290px;
	overflow-y: auto;
}

.table tbody::-webkit-scrollbar { 
	width: 0; 
	height: 0;
}

.table tbody { 
	-ms-overflow-style: none; 
}

.table tbody { 
	overflow: -moz-scrollbars-none; 
}

.table thead tr,
.table tbody tr {
	position: relative;
    width: 100%;
	font-size: 0;
    white-space: nowrap;
	border: none;
}

.table tbody tr {
	border-bottom: 1px solid rgb(0 0 0 / 10%);
}

.dark .table tbody tr {
	border-color: rgb(255 255 255 / 10%);
}

.table tbody tr.previous,
.table tbody tr.active {
	border: none;
}

.table tbody tr.active {
	background-color: #91b697;
}

.table thead tr th,
.table tbody tr td {
	display: inline-block;
	vertical-align: middle;
}

.table thead tr th {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
	color: rgb(0 0 0 / 60%);
	font-weight: 400;
}

.dark .table thead tr th {
	color: rgb(255 255 255 / 60%);
}

.table tbody tr td:first-child {
	color: rgb(0 0 0 / 60%);
}

.dark .table tbody tr td:first-child,
.table tbody tr.active td:first-child {
	color: rgb(255 255 255 / 60%);
}

.table tbody tr:hover td,
.table tbody tr:hover td:first-child {
	color: #91b697;
}

.table tbody tr.active td,
.table tbody tr.active td:first-child {
	color: #fff;
}

.attention {
	background-color: #ffece5;
	display: block;
	font-size: 15px;
	border-radius: 16px;
	margin-bottom: 20px;
}

.dark .attention {
    background-color: #3e4c4a;
}

.print {
	margin-bottom: 60px;
}


/* МЕЧЕТИ */

.mosques {
	position: relative;
    text-align: left;
    margin-bottom: 60px;
}

.rtl .mosques {
    text-align: right;
}

.mosques .mosque {
	position: relative;
	border: 1px solid rgb(0 0 0 / 10%);
	border-radius: 12px;
	padding-bottom: 20px;
	margin-bottom: 15px;
}

.dark .mosques .mosque {
	border-color: rgb(255 255 255 / 10%);
}

.mosques .mosque .name {
	font-weight: 500;
	margin-bottom: 20px;
}

.mosques .mosque .address,
.mosques .mosque .working-hours,
.mosques .mosque .phone {
	position: relative;
	padding-left: 38px;
	margin-bottom: 15px;
}

.mosques .mosque .phone a {
	color: #2c292e;
	border-bottom: 1px dotted #2c292e;
}

.dark .mosques .mosque .phone a {
	color: #fff;
	border-color: #fff;
}

.mosques .mosque .address:before,
.mosques .mosque .working-hours:before,
.mosques .mosque .phone:before {
    content: "";
    position: absolute;
	top: 2px;
    left: 0;
	background-image: url(images/sprite.png);
    background-repeat: no-repeat;
    background-size: 288px;
	width: 24px;
	height: 24px;
	display: block;
	opacity: .7;
}

.mosques .mosque .address:before {
	background-position: -216px 0;
}

.dark .mosques .mosque .address:before {
	background-position: -216px -24px;
}

.mosques .mosque .working-hours:before {
	background-position: -240px 0;
}

.dark .mosques .mosque .working-hours:before {
	background-position: -240px -24px;
}

.mosques .mosque .phone:before {
	background-position: -192px 0;
}

.dark .mosques .mosque .phone:before {
	background-position: -192px -24px;
}

.mosques .mosque .bottom {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	font-size: 14px;
	border-top: 1px solid rgb(0 0 0 / 10%);
	padding-top: 16px;
	margin-top: 50px;
}

.dark .mosques .mosque .bottom {
	border-color: rgb(255 255 255 / 10%);
}

.mosques .mosque .bottom .coordinates {
	margin-right: 20px;
}

.mosques .mosque .bottom .report-button {
	cursor: pointer;
	text-align: right;
	margin-left: auto;
}

.mosques .mosque .bottom .report-button:hover {
    color: #f67d50;
}

.mosques .mosque .bottom .report-button:before {
	content: attr(data-name);
}

.rtl .mosques .mosque .bottom .coordinates {
	margin-left: 20px;
	margin-right: 0;
}

.rtl .mosques .mosque .bottom .report-button {
	text-align: left;
	margin-left: 0;
	margin-right: auto;
}

.mosques .button span {
    color: #f67d50;
	font-weight: 500;
}


/* КИБЛА */

.qibla {
	width: 100%;
	margin-top: 10px;
	margin-bottom: 60px;
}

.qibla .map {
	background-color: #f7f4f3;
    width: 100%;
    height: 400px;
	border-radius: 16px;
	margin-bottom: 20px;
}

.dark .qibla .map {
    background-color: #3e4c4a;
}

.qibla .map .marker {
    background-color: transparent;
	background-image: url(images/sprite.png);
    background-repeat: no-repeat;
    background-size: 288px;
	background-position: 0 -140px;
    width: 44px;
    height: 57px;
    display: block;
}


/* СПИСОК */

.list {
	margin-bottom: 60px;
}

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

.dark .list dl {
    border-color: rgb(255 255 255 / 10%);
}

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

.list dl dt {
	color: rgb(0 0 0 / 60%);
	margin-right: auto;
}

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

.dark .list dl dt {
	color: rgb(255 255 255 / 60%);
}

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

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


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

.qa {
    text-align: left;
	margin-bottom: 60px;
}

.rtl .qa {
    text-align: right;
}

.qa .question {
	border-bottom: 1px solid rgb(0 0 0 / 10%);
}

.dark .qa .question {
	border-color: rgb(255 255 255 / 10%);
}

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

.qa .question .name {
    position: relative;
	display: block;
	cursor: pointer;
	font-weight: 400;
	text-align: left;
	padding-right: 40px;
	margin: 0;
}

.rtl .qa .question .name {
	text-align: right;
	padding-left: 40px;
    padding-right: 0;
}

.qa .question .name:before {
    content: "";
	z-index: 1;
    position: absolute;
	top: 0;
    right: 0;
	background-color: #f7f4f3;
	width: 30px;
	height: 30px;
	display: block;
	border-radius: 50%;
}

.dark .qa .question .name:before {
	background-color: #3e4c4a;
}

.rtl .qa .question .name:before {
	left: 0;
	right: auto;
}

.qa .question .name:after {
    content: "";
	z-index: 2;
    position: absolute;
	top: 4px;
    right: 3px;
	background-image: url(images/sprite.png);
    background-repeat: no-repeat;
    background-size: 288px;
	background-position: -72px 0;
	width: 24px;
	height: 24px;
	display: block;
	opacity: .9;
}

.dark .qa .question .name:after {
	background-position: -72px -24px;
}

.rtl .qa .question .name:after {
	left: 3px;
	right: auto;
}

.qa .question.active .name:after {
	top: 3px;
	-o-transform: rotate(180deg);
	-ms-transform: rotate(180deg);
	-moz-transform: rotate(180deg);
	-webkit-transform: rotate(180deg);
	transform: rotate(180deg);
}

.qa .question .answer {
	display: none;
	color: rgb(0 0 0 / 90%);
    padding-top: 20px;
}

.dark .qa .question .answer {
	color: rgb(255 255 255 / 90%);
}

.qa .question .answer time {
	background-color: rgb(85 171 125 / 16%);
	font-weight: 500;
	border-radius: 6px;
	padding: 3px 6px 4px; 
}


/* РАКААТЫ */

.rakahs {
	text-align: center;
}

.rakahs .rakahs-wrapper {
	margin-bottom: 20px;
}

.rakahs .rakahs-wrapper .rakahs-inner {
	text-align: left;
	border: 1px solid rgb(0 0 0 / 20%);
	border-radius: 12px;
}

.dark .rakahs .rakahs-wrapper .rakahs-inner {
	border-color: rgb(255 255 255 / 20%);
}

.rtl .rakahs .rakahs-wrapper .rakahs-inner {
	text-align: right;
}

.rakahs .rakahs-wrapper .rakahs-inner table,
.rakahs .rakahs-wrapper .rakahs-inner table thead tr,
.rakahs .rakahs-wrapper .rakahs-inner table tbody tr {
	width: 100%;
	border: none;
}

.rakahs .rakahs-wrapper .rakahs-inner table thead tr th,
.rakahs .rakahs-wrapper .rakahs-inner table tbody tr td {
	white-space: nowrap;
	padding: 8px 20px;
}

.rakahs .rakahs-wrapper .rakahs-inner table thead tr th {
	font-size: 16px;
	font-weight: 400;
}

.rakahs .rakahs-wrapper .rakahs-inner table thead tr th:after {
	content: "";
	width: 100%;
    display: block;
	border-bottom: 1px solid rgb(0 0 0 / 20%);
	margin-top: 7px;
}

.dark .rakahs .rakahs-wrapper .rakahs-inner table thead tr th:after {
	border-color: rgb(255 255 255 / 20%);
}

.rakahs .rakahs-wrapper .rakahs-inner table tbody tr td {
	text-align: right;
}

.rtl .rakahs .rakahs-wrapper .rakahs-inner table tbody tr td {
	text-align: left;
}

.rakahs .rakahs-wrapper .rakahs-inner table tbody tr td:first-child {
	text-align: left;
}

.rtl .rakahs .rakahs-wrapper .rakahs-inner table tbody tr td:first-child {
	text-align: right;
}

.rakahs .muakkada:before,
.rakahs .gairmuakkada:before {
	content: "";
	width: 5px;
	height: 5px;
	display: inline-block;
	vertical-align: middle;
	border-radius: 5px;
    margin-top: -2px;
	margin-right: 8px;
}

.rtl .rakahs .muakkada:before,
.rtl .rakahs .gairmuakkada:before {
	margin-left: 8px;
	margin-right: 0;
}

.rakahs .muakkada:before {
	background-color: #97CC64;
}

.rakahs .gairmuakkada:before {
	background-color: #DC9D6B;
}

.rakahs small {
	display: inline-block;
	font-size: 14px;
	margin: 0 10px;
}


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

.dialog {
	z-index: 10000;
	position: fixed;
	top: 0;
	bottom: 0;
	right: -100%;
	background-color: rgba(0 0 0 / 50%);
	width: 100%;
	overflow: scroll;
	overflow-x: hidden;
	overflow-y: auto;
}

.dialog.show {
	right: 0;
}

.dialog .close {
	z-index: 3;
	position: absolute;
	top: 15px;
	right: 20px;
	background-color: #f7f4f3;
	width: 44px;
    height: 44px;
	cursor: pointer;
	text-indent: -9999px;
	border: none;
	outline: none;
    border-radius: 16px;
	transition: all .5s;
}

.dialog .close:after {
	content: "";
	position: absolute;
	top: 10px;
	left: 10px;
	background-image: url(images/sprite.png);
    background-repeat: no-repeat;
    background-size: 288px;
	background-position: -120px 0;
	width: 24px;
	height: 24px;
	display: block;
    
}

.dialog .close:hover:after,
.dark .dialog .close:after {
	background-position: -120px -24px;
}

.rtl .dialog .close {
	left: 20px;
	right: auto;
}

.dark .dialog .close {
	background-color: #3e4c4a;
	color: #fff;
}

.dialog .close:hover {
	background-color: #91b697;
	color: #fff;
}

.dialog .side {
	z-index: 2;
	position: absolute;
	top: 0;
	bottom: 0;
	background-color: #fff;
	overflow: scroll;
	overflow-x: hidden;
	overflow-y: auto;
	text-align: left;
	padding-top: 70px;
	padding-bottom: 40px;
}

.rtl .dialog .side {
	text-align: right;
}

.dialog .side::-webkit-scrollbar { 
	width: 0;
	height: 0; 
}
	
.dialog.show .side {
	right: 0;
}

.rtl .dialog.show .side {
	left: 0;
	right: auto;
}

.dark .dialog .side {
	background-color: #252b2d;
}

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

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

.dark .dialog .side .note {
    background-color: #3e4c4a;
}

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


/* ФОРМА ОБРАТНОЙ СВЯЗИ */

.report fieldset label {
	display: block;
    font-size: 17px;
	font-weight: 400;
	margin-bottom: 10px;
}

.report fieldset.required label:after {
    content: "*";
    color: #f43;
    margin-left: 2px;
}

.rtl .report fieldset.required label:after {
    margin-left: 0;
	margin-right: 2px;
}

.report input[type='email'] {
	display: none;
}

.report fieldset textarea {
    background-color: transparent;
    width: 100%;
	height: auto;
	display: block;
	overflow: hidden;
	resize: vertical;
	font-family: inherit;
	color: #2c292e;
    font-size: 16px;
	line-height: 1.45;
    border: 1px solid rgb(0 0 0 / 30%);
	outline: none;
	border-radius: 16px;
	-webkit-transition: border-color .1s ease-out;
	transition: border-color .1s ease-out;
    padding: 14px 20px 15px;
}

.dark .report fieldset textarea {
	color: #fff;
	border-color: rgb(255 255 255 / 30%);
}

.report fieldset textarea:focus {
	border-color: #55ab7d;
}

.report fieldset textarea.error {
    border-color: #f43;
}

.report fieldset .count {
	color: rgb(0 0 0 / 60%);
	font-size: 14px;
    text-align: right;
	margin-top: 5px;
}

.dark .report fieldset .count {
	color: rgb(255 255 255 / 60%);
}

.rtl .report fieldset .count {
    text-align: left;
}


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

.settings .side 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: 20px;
}

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

.settings .side fieldset label .name {
	position: relative;
	display: block;
	color: #222;
	padding-left: 28px;
}

.dark .settings .side fieldset label .name {
	color: #ddd;
}

.rtl .settings .side fieldset label .name {
	padding-left: 0;
	padding-right: 28px;
}

.settings .side fieldset label .name::before {
    content: "";
	position: absolute;
	top: 2px;
	left: 0;
    background-image: url(images/sprite.png);
    background-repeat: no-repeat;
    background-size: 288px;
	background-position: 0 -120px;
    width: 20px;
    height: 20px;
}

.rtl .settings .side fieldset label .name::before {
	left: auto;
	right: 0;
}

.dark .settings .side fieldset label .name::before {
	background-position: -20px -120px;
}

.settings .side fieldset label input:checked + .name::before {
	background-position: -40px -120px;
}

.settings .side fieldset label .info {
	display: block;
    color: rgb(0 0 0 / 32%);
	font-size: 13px;
	margin-top: 5px;
	padding-left: 28px;
}

.dark .settings .side fieldset label .info {
    color: rgb(255 255 255 / 32%);
}

.rtl .settings .side fieldset label .info {
	padding-left: 0;
	padding-right: 28px;
}

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

.rtl .settings .side fieldset label .info span {
	margin-left: 10px;
	margin-right: 0;
}

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


/* ГОРОДА И СТРАНЫ */

.locations {
	font-size: 0;
	margin-top: 30px;
}

.locations li {
	margin-top: 16px;
}

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

.dark .locations li a {
	color: #fff;
}


/* ЛИСТИНГ */

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

.listing .card {
	max-width: 280px;
	vertical-align: top;
	text-align: left;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
}

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

.listing .card img,
.listing .card .thumbnail {
	width: 100%;
	display: block;
	border-radius: 16px;
	margin-bottom: 15px;
}

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

.dark .listing .card .thumbnail {
	background-color: #3e4c4a;
}

.listing .card .thumbnail:after {
    content: "";
    position: absolute;
	top: 50%;
    left: 50%;
	background-image: url(images/sprite.png);
    background-repeat: no-repeat;
    background-size: 288px;
	background-position: -96px 0; 
	width: 24px;
	height: 24px;
	display: block;
	margin: -12px 0 0 -12px;
}

.dark .listing .card .thumbnail:after {
	background-position: -96px -24px;
}

.listing .card .name {
	display: block;
	font-size: 19px;
    color: #2c292e;
	font-weight: 600;
	line-height: 1.4;
}

.dark .listing .card .name {
    color: #fff;
}


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

.calendar {
	font-family: roboto;
}

.calendar .month table,
.calendar .month table caption,
.calendar .month table thead,
.calendar .month table thead .islamic-month,
.calendar .month table tbody {
	width: 100%;
	display: block;
	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 / 6%);
}

.dark .calendar .month table td {
	border-color: rgb(255 255 255 / 6%);
}

.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: #f67d50;
}

.calendar .month table tr {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	align-content: stretch;
	white-space: nowrap;
	font-size: 0;
	margin: 6px -3px;
}

.calendar .month table tr td,
.calendar .month table tr th {
	width: calc(14.2857% - 6px);
	width: -moz-calc(14.2857% - 6px);
	width: -webkit-calc(14.2857% - 6px);
	display: inline-block;
	border-radius: 12px;
	margin-left: 3px;
	margin-right: 3px;
}		

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

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

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

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

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

.rtl .calendar .month .day .calendar-popup {
	text-align: right;
}

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


/* КОНТЕНТ */

.content {
	width: 100%;
    max-width: 800px;
	text-align: center;
	margin: 0 auto 30px;
}


/* ТЕКСТ */

.text {
	text-align: left;
	margin-bottom: 60px;
}

.text.serif {
	font-family: 'PT Serif';
}

.rtl .text {
	text-align: right;
}

.text h2,
.text h3,
.text h4,
.text h5,
.text h6 {
	text-align: left;
}

.rtl .text h2,
.rtl .text h3,
.rtl .text h4,
.rtl .text h5,
.rtl .text h6 {
	text-align: right;
}

.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: '— '; 
	display: inline-block;
    margin-right: 5px;
}

.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 audio {
	width: 100%; 
}

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

.dark .text blockquote {
	border-color: #fff; 
}

.text .warning {
	background-color: #f44336;
	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;
	margin: 0 auto;
}

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


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

.social {
	position: relative;
	max-width: 500px;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	justify-content: center;
	align-items: center;
	margin: 80px auto 50px;
}

.social button {
	position: relative;
	background-color: transparent;
	background-image: url(images/sprite.png);
    background-repeat: no-repeat;
    background-size: 288px;
	width: 26px;
	height: 26px;
	display: inline-block;
	cursor: pointer;
    text-indent: -9999px;
	border: none;
	outline: none;
	margin: 0 auto;
}

.social button.vk {
	background-position: 0 -48px;
} 

.social button.fb {
	background-position: -26px -48px;
}

.social button.tw {
	background-position: -52px -48px;
}

.social button.skype {
	background-position: -78px -48px;
}

.social button.viber {
	background-position: 0 -74px;
}

.social button.telegram {
	background-position: -26px -74px;
}

.social button.whatsapp {
	background-position: -52px -74px;
}

.social button.ok {
	background-position: -78px -74px;
}


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

.pagination {
    text-align: center;
    margin: 60px auto 45px;
}

.pagination a,
.pagination span {
	background-color: #f7f4f3;
	width: 54px;
	height: 54px;
	display: inline-block;
	color: #2c292e;
    font-size: 15px;
	font-weight: 400;
	line-height: 54px;
	border: none;
	outline: none;
	border-radius: 16px;
	margin: 4px;
}

.dark .pagination a {
	background-color: #3e4c4a;
	color: #fff;
}

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


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

.toc summary {
	z-index: 9995;	
	position: fixed;
	right: 20px;
	bottom: 20px;
	background-color: #f7f4f3;
	width: 44px;
	height: 44px;
	overflow: hidden;
	cursor: pointer;
	text-indent: -9999px;
	border: none;
	outline: none;
	border-radius: 16px;
}

.toc summary::-webkit-details-marker {
	display: none
}

.toc summary {
	list-style: none;
}

.dark .toc summary {
	background-color: #3e4c4a;
}

.rtl .toc summary {
	left: 20px;
	right: auto;
}

.toc summary:after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background-image: url(images/sprite.png);
    background-repeat: no-repeat;
    background-size: 288px;
	background-position: -168px 0;
	width: 24px;
	height: 24px;
	display: block;
	-moz-transform: translate(-50%,-50%);
	-ms-transform: translate(-50%,-50%);
	-webkit-transform: translate(-50%,-50%);
	transform: translate(-50%,-50%);
}

.dark .toc summary:after {
	background-position: -168px -24px;
}

.toc ul {
	z-index: 9996;
	position: fixed;
	bottom: 20px;
	right: 20px;
	background-color: #fff;
	max-width: 185px;
    max-height: 290px;
	display: none;
	opacity: 0;
	overflow-y: auto;
	font-family: roboto;
	border: 1px solid rgb(0 0 0 / 12%);
	border-radius: 16px;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
	padding: 15px;
	margin: 0;
}

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

.rtl .toc ul {
	right: auto;
	left: 20px;
}

.dark .toc ul {
	background-color: #252b2d;
	border-color: rgb(255 255 255 / 12%);
}

.toc[open] ul {
	display: block;
	opacity: 1;
}

.toc ul li:before {
    content: none;
}

.toc ul li a {
	display: block;
	color: #2c292e;
	font-size: 15px;
	line-height: 1.3;
	padding: 6px 0;
}

.dark .toc ul li a {
	color: #fff;
}

.toc ul li a:hover {
	color: #91b697;
}


/* ПОДВАЛ */

.footer {
	flex: 0 0 auto;
	font-size: 15px;
	text-align: center;
	border-top: 1px solid rgb(0 0 0 / 10%);
	padding: 30px 0;
	margin-top: 50px;
}

.dark .footer {
	border-color: rgb(255 255 255 / 10%);
}

.footer a {
    color: #2c292e;
}

.dark .footer a {
    color: #fff;
}

.footer a:hover {
	color: #91b697;
}

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


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

.search-dropdown {
	z-index: 10000;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
	background-color: #fff;
	display: none;
	color: #2c292e;
	border: 1px solid rgb(0 0 0 / 12%);
	border-radius: 16px;
	padding: 10px 0;
}

.search-dropdown.show {
	display: block;
}

.dark .search-dropdown {
    background-color: #252b2d;
	color: #fff;
	border-color: rgb(255 255 255 / 12%);
}

.search-dropdown li {
	width: 100%;
	cursor: pointer;
	font-size: 16px;
	line-height: 1.3;
    white-space: normal;
	margin: 0;
}

.search-dropdown li a {
	color: #2c292e;
}

.dark .search-dropdown li a {
	color: #fff;
}

.search-dropdown li:hover {
	background-color: #91b697;
	color: #fff;
}

.search-dropdown li:hover a {
	color: #fff;
}

.ui-helper-hidden-accessible { 
	display: none;
}


/* ПОДЛОЖКА */

.layer {
	z-index: 9998;
	position: fixed;
	top: 0;
    left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0 0 0 / 50%);
	width: 100%;
	height: 100%;
	display: none;
}

.layer.show {
	display: block;
}


/* КУКИ */

.cookies {
	z-index: 9997;
	position: fixed;
    left: 50%;
	right: auto;
	background-color: #fff;
    width: 300px;
	display: none;
	align-items: center;
	justify-content: space-between;
	color: #2c292e;
	line-height: 1.2;
	border: none;
	border-radius: 16px;
	box-shadow: 0 4px 24px rgb(0 0 0 / 10%);
	-moz-transform: translate(-50%,0);
	-ms-transform: translate(-50%,0);
	-webkit-transform: translate(-50%,0);
	transform: translate(-50%,0);
    padding: 12px 12px 12px 24px;
}

.cookies.show {
	display: flex;
}

.dark .cookies {
	background-color: #252b2d;
	color: #fff;
}

.rtl .cookies {
    padding: 12px 24px 12px 12px;
}

.cookies span {
	max-width: 210px;
	display: inline-block;
	font-size: 15px;
}

.cookies button {
	background-color: #91b697;
	width: 40px;
	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-left: 10px;
}

.rtl .cookies button {
	margin-left: 0;
	margin-right: 10px;
}