﻿/*

Theme Name: Nanaz
Author: Unknow

*/

*,
: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,pre,form,fieldset,input,textarea,p,blockquote,th,td {
    margin: 0;
    padding: 0;
}

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

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

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

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

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

body {
	background-color: #fff;
	display: -webkit-flex;
	display: flex;
	flex-direction: column;
	font-family: roboto;
	color: #0e243e;
	font-size: 18px;
	line-height: 1.5;
	font-weight: 400;
}

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

fieldset,
img {
    border: 0;
}

img {
    vertical-align: middle;
}

ol,
ul {
    list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #0e243e;
    font-size: 100%;
	line-height: 1.4;
	font-weight: 500;
}

h1 {
	margin-bottom: 15px;
}

h2 {
	font-size: 18px;
}

h3 {
	font-size: 16px;
}

p {
    margin: 25px 0;
}

a {
	color: #19916b;
	text-decoration: none;
    -webkit-transition: color 0.25s ease-in-out, border 0.25s ease-in-out;
    transition: color 0.25s ease-in-out, border 0.25s ease-in-out; 
}

a:hover {
	color: #ff5722;
}

.button {
	background-color: #19916B;
	height: 55px;
	display: table;
    color: #fff;
	font-size: 14px;
    cursor: pointer;
	font-weight: 600;
    white-space: nowrap;
	line-height: 55px;
	overflow: hidden;
	border: none;
    outline: none;
	border-radius: 8px;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	-o-user-select: none;
	user-select: none;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
	padding: 0 15px;
}

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

.row {
    font-size: 0;
}

.main {
	flex: 1 0 auto;
}
.vk_mobile {
    display:none;
}
.vk_desktop {
    display:block;
}

/* АДАПТИВ */


@media screen and (min-width: 980px)  {
	
	h1 {
		font-size: 30px;
	}
	
	.container {
		position: relative;
		width: 100%;
		max-width: 1270px;
		min-width: 980px;
		padding-right: 20px;
		padding-left: 20px;
		margin-right: auto;
		margin-left: auto;
	}
	
	.header .form {
		width: 220px;
	}
	
	.hero {
		padding: 50px 0;
	}
	
	.schedule li {
		padding: 15px 20px;
	}
	
	.timetable tr {
		width: 167px;
	}
	
	.cities a {
		font-size: 16px;
		padding: 7px 16px 8px;
	}
	
	.post .title {
		text-align: left;
	}
	
	.footer {
		padding: 30px 0;
	}
	
}


@media screen and (max-width: 979px) {
	
	body {
		max-width: 768px;
		min-width: 320px;
		margin: 0 auto;
	}
	
	h1 {
		font-size: 30px;
	}
	
	.container {
		padding-right: 15px;
		padding-left: 15px;
	}
	
	.padding {
		padding-top: 50px;
	}
	
	.header {
		width: 100%;
	}
	
	.header .form {
		width: 180px;
	}
	
	.hero {
		padding: 50px 0;
	}
	
	.schedule li {
		padding: 15px 20px;
	}
	
	.schedule li .timeleft {
		max-width: 120px;
	}
	
	.timetable tr {
		width: 160px;
	}
	
	.cities a {
		font-size: 15px;
		padding: 7px 14px 8px;
	}
	
	.post .title {
		text-align: center;
	}
	
	.footer {
		padding: 30px 0;
	}
	.vk_mobile {
	    display:block;
	}
	.vk_desktop {
        display:none;
    }
}


@media screen and (max-width: 480px) {
	
	.container {
		padding-right: 10px;
		padding-left: 10px;
	}
	
	.cities a {
		font-size: 14px;
		padding: 7px 8px 8px;
	}
	
}


@media screen and (max-width: 360px) {
	
	h1 {
		font-size: 28px;
	}
	
	.container {
		padding-right: 5px;
		padding-left: 5px;
	}
	
	.hero {
		padding: 30px 0;
	}
	
	.schedule li {
		padding: 15px;
	}
	
}


@media screen and (max-width: 320px) {
	
	.timetable tr {
		width: 145px;
	}
	
}


@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 .logo:after {
		background-image: url(images/logo@2x.png) !important;
	}
	
}


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

.modal {
	z-index: 1000;
	position: fixed;
	top: 0;
	bottom: 0;
	right: -100%;
	background-color: rgba(238,238,238,.7);
	width: 100%;
}

.modal .inner {
	position: absolute;
	top: 0;
	bottom: 0;
	right: -320px;
	background-color: #fff;
	width: 320px;
	overflow: scroll;
	overflow-x: hidden;
	overflow-y: auto;
	text-align: left;
	-webkit-transition: all .5s;
	-o-transition: all .5s;
	-moz-transition: all .5s;
	transition: all .5s;
	padding: 140px 20px 40px;
}

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

.modal .close {
	z-index: 2;
	position: absolute;
	top: 20px;
	right: 20px;
	background-color: #302F33;
	width: 44px;
    height: 44px;
	cursor: pointer;
	color: #fff;
	font-size: 22px;
	border: none;
	outline: none;
	text-align: center;
	line-height: 44px;
    border-radius: 50%;
	-webkit-transition: all .5s;
	-o-transition: all .5s;
	-moz-transition: all .5s;
	transition: all .5s;
}

.modal .close:hover {
	background-color: #19916b;
	color: #fff;
}

.modal.show,
.modal.show .inner {
	right: 0;
}


/* ШАПКА */

.header {
	background-color: #fff;
	padding: 10px 0;
	margin-bottom: 30px;
}

.header .container {
	width: 100%;
	min-width: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	justify-content: center;
	align-items: center;
}

.header .logo {
	position: relative;
	color: #000;
	font-size: 19px;
	font-weight: 600;
	line-height: 1.3;
	margin-left: 0;
	margin-right: auto;
	padding-left: 68px;
}

.header .logo:after {
	content: "";
	position: absolute;
	top: 50%;
	left: 0;
	background-image: url(images/logo.png);
	background-repeat: no-repeat;
	background-size: 60px;
	width: 60px;
	height: 60px;
	display: inline-block;
	vertical-align: middle;
	margin-right: 10px;
	margin-top: -30px;
}


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

.hero {
	background-color: #19916b;
	background-image: url(images/bg/pattern.png);
    background-size: 312px 208px;
    background-position: center;
    background-repeat: repeat;
	text-align: center;
	margin-top: -30px;
	margin-bottom: 40px;
}

.hero h1 {
	color: #fff;
}

.hero .form {
	margin-top: 35px;
}

.hero .form .input {
	background-color: #fff;
}

.hero .info {
	display: block;
    color: #6DC8AA;
	font-size: 16px;
	margin-top: 30px;
}

.hero .info button {
	background-color: transparent;
	display: inline;
	cursor: pointer;
	font-family: roboto;
	color: #6DC8AA;
	font-size: 16px;
	font-weight: 600;
	border: none;
	outline: none;
	padding: 0;
}

.hero .info button:hover {
	color: #DA9226;
}


/* ТАБЫ */

.tabs {
	white-space: nowrap;
	overflow-x: scroll;
	-webkit-overflow-scrolling: touch;
	text-align: center;
    margin-top: 30px;
	margin-bottom: 30px;
}

.tabs::-webkit-scrollbar { 
	height: 0; 
}

.tabs a {
	background-color: rgb(8 94 66 / 56%);
	width: 105px;
    display: inline-block;
	vertical-align: top;
	color: #fff;
	font-size: 14px;
	font-weight: 500;
	white-space: normal;
	border-radius: 16px;
	padding: 12px 5px 10px;
	margin: 0 3px;
}

.tabs a.active {
	background-color: #fff;
	cursor: default;
	color: #38435f;
}

.segment {
    display: none;
}

.segment.active {
    display: block;
}


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

.schedule {
	overflow: hidden;
	border-radius: 16px;
}

.schedule li {
	position: relative;
	background-color: #fff;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 21px;
	font-weight: 500;
	overflow: hidden;
}

.schedule li:nth-child(2n) {
	background-color: #f3f0ea;
}

.schedule li.active {
	background-color: #085E42;
	color: #fff;
}

.schedule li .timeleft {
	display: block;
    font-size: 12px;
	font-weight: 400;
	margin-left: auto;
}

.schedule li time {
	display: block;
    font-size: 24px;
	margin-left: auto;
}


/* ТАБЛИЦА */

.timetable,
.timetable tbody {
	display: block;
	text-align: center;
}

.timetable tbody {
	margin: 0 -5px;
}

.timetable tr {
	background-color: #fff;
	display: inline-block;
	vertical-align: top;
	font-size: 15px;
	border-radius: 8px;
	padding: 8px 15px 10px;
	margin: 5px;
}

.timetable tr.active {
	background-color: #19916B;
	color: #fff;
}

.timetable tr td {
	position: relative;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	text-align: left;
	padding: 5px 0;
}

.timetable tr td span {
	color: #000;
	font-weight: 600;
	margin-right: auto;
}

.timetable tr.active td span {
	color: #fff;
}

.timetable tr td time {
	margin-left: auto;
}

.timetable tr td:before {
	content: attr(data-label);
	color: #000;
	margin-right: auto;
}

.timetable tr.active td:before {
	color: #fff;
}

.timetable tr td:first-child:before {
	content: none;
}


/* КАРТА */

.map {
	width: 100%;
	height: 400px;
	overflow: hidden;
	border-radius: 16px;
}


/* СПИСОК ГОРОДОВ */

.cities {
	font-size: 0;
	text-align: left;
	margin-top: 50px;
}

.cities a {
	background-color: #f3f0ea;
	display: inline-block;
	vertical-align: top;
    color: #000;
    cursor: pointer;
	overflow: hidden;
	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;
    -webkit-transition: all .5s;
    -moz-transition: all .5s;
    transition: all .5s;
	margin: 0 5px 5px 0;
}

.cities a:hover {
	background-color: #19916B;
    color: #fff;
}


/* ПОСТ */

.post {
	width: 100%;
    max-width: 678px;
	text-align: center;
	margin: 0 auto;
}

.post .title {
	display: block;
	color: #8793AF;
	font-weight: 500;
	margin-top: 40px;
}


/* 404 */

.notfound {
	margin-top: 50px;
}

.notfound .button {
	margin: 0 auto;
}


/* ТЕКСТ */

.text {
	text-align: left;
}

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

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

.text ul li:after {
	content: ''; 
	position: absolute;
	left: 0;
    top: 13px;
    background-color: #777;
    width: 3px;
	height: 3px;
    border-radius: 50%;
}

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

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

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

.text time {
    background-color: #eef2f5;
    color: #444;
    border-radius: 4px;
    padding: 2px 4px;
}


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

.social {
	text-align: center;
	margin: 30px 0;
}

.social button {
	height: 44px;
	color: #fff;
	cursor: pointer;
	font-size: 15px;
	line-height: 44px;
	border-radius: 5px;
	border: none;
	outline: none;
	padding: 0 12px;
	margin: 3px;
}

.social .vk {
	background-color: #4680c2;
}

.social .fb {
	background-color: #3b5998;
}

.social .tw {
	background-color: #1da1f2;
}

.social .ok {
	background-color: #f7931f;
}


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

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

.pagination a,
.pagination span {
	background-color: #eef2f5;
	width: 44px;
	height: 44px;
	display: inline-block;
	color: #38435f;
    font-size: 15px;
	font-weight: 500;
	line-height: 44px;
	border: none;
	outline: none;
	border-radius: 8px;
	margin: 4px;
}

.pagination a:hover {
	background-color: #F5F8FA;
}

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


/* ФОРМА */

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

.form fieldset label {
	display: block;
    font-size: 17px;
	font-weight: 400;
	margin: 0 0 6px;
}

.form .input,
.form .select,
.form .textarea {
    background-color: #f3f0ea;
    width: 100%;
	height: 48px;
	display: block;
    font-size: 17px;
	line-height: 48px;
    border: 2px solid #f3f0ea;
	outline: none;
	border-radius: 24px;
	-webkit-transition: background-color .1s ease-out;
	transition: background-color .1s ease-out;
    padding: 0 20px;
}

.form .textarea {
	height: auto;
	overflow: hidden;
	resize: horizontal;
    line-height: 1.45;
    padding: 10px 15px;
}

.form .input.error,
.form .textarea.error {
    background-color: #ffebeb;
}

.form .input:focus,
.form .textarea:focus {
	background-color: #fff;
}

.form .input::placeholder,
.form .textarea::placeholder {
	color: #38435f;
}

.form .input::-webkit-input-placeholder,
.form .textarea::-webkit-input-placeholder {
	opacity: 1; 
	transition: opacity 0.3s ease;
}

.form .input::-moz-placeholder,
.form .textarea::-moz-placeholder {
	opacity: 1; 
	transition: opacity 0.3s ease;
}

.form .input:-ms-input-placeholder,
.form .textarea:-ms-input-placeholder {
	opacity: 1; 
	transition: opacity 0.3s ease;
}

.form .input:focus::-webkit-input-placeholder,
.form .textarea:focus::-webkit-input-placeholder {
	opacity: 0; 
	transition: opacity 0.3s ease;
}

.form .input:focus::-moz-placeholder,
.form .textarea:focus::-moz-placeholder {
	opacity: 0; 
	transition: opacity 0.3s ease;
}

.form .input:focus:-ms-input-placeholder,
.form .textarea:focus:-ms-input-placeholder {
	opacity: 0; 
	transition: opacity 0.3s ease;
}


/* УВЕДОМЛЕНИЯ */

.notice {
	background-color: #19916B;
	color: #fff;
	font-size: 18px;
	text-align: center;
	border-radius: 8px;
	padding: 30px;
	margin: 10px auto;
}

.notice.error {
	background-color: #fb3838;
}


/* ПОДВАЛ */

.footer {
    background-color: #fff;
	width: 100%;
	flex: 0 0 auto;
	text-align: center;
	border-top: 1px solid #eee;
	margin-top: 50px;
}

.footer small {
	font-size: 14px;
}


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

.ui-menu {
	z-index: 1001;
	background-color: #fff;
	width: 227px;
	padding: 10px;
	-webkit-box-shadow: 0 10px 20px -5px rgba(0,0,0,.4);
    -moz-box-shadow: 0 10px 20px -5px rgba(0,0,0,.4);
    box-shadow: 0 10px 20px -5px rgba(0,0,0,.4);
}

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

.ui-helper-hidden-accessible { 
	position: absolute; 
	left: -9999px; 
}
.koran_online a {
    background:#f6ff03;
    color: #000;
    box-shadow: 5px 5px 5px #333;
    border:1px solid #f6ff03;
}
.koran_online a:hover {
    background:#085E42;
    color: #f6ff03;
    border:1px solid #f6ff03;
}