body {
	margin: 0;
	padding: 0;
}

.namaz {
	font-family: 'Roboto';
	font-weight: 700;
	padding: 0 10px;
}
.namaz p,
.namaz h3 {
	padding: 0;
	margin: 0;
}

.namaz-wrap {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
}

.namaz-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 95px;
}


.namaz-row__title {
	font-size: 28px;
}
.namaz-row__time {
	font-size: 36px;
}
.namaz-row__day {
	font-size: 16px;
	font-weight: 400;
	text-align: right;
	margin-bottom: 20px;
}

.namaz-row-right {
	display: flex;
	flex-direction: column;
}

.namaz-today {
	display: flex;
	position: relative;
}
.namaz-today-timer {
	width: calc(100% / 6);
	text-align: center;
	font-size: 14px;
	position: absolute;
	left: 0;
	bottom: -45px;
}
.namaz-today-item {
	width: calc(100% / 6);
	height: 134px;
	background-color: #64aa46;
	position: relative;
}
.namaz-today-item:nth-child(2) {
	background-color: #ccc001;
}
.namaz-today-item.active {
	background-color: #428d22;
}
.namaz-today-item:not(:last-child):after {
	content: '';
	display: block;
	width: 1px;
	height: 116px;
	background-color: #fff;
	position: absolute;
	right: -1px;
	z-index: 10;
	margin-top: 9px;
}

.namaz-today-item__text {
	color: #fff;
	text-align: center;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}
.namaz-today-item__text-time {
	font-size: 42px;
}
.namaz-today-item__text-title {
	font-size: 20px;
	font-weight: 400;
}


.namaz-select {
	display: flex;
	justify-content: space-between;
	margin-top: 45px;
}

.namaz > .namaz-wrap .namaz-select .namaz-select__btn {
	width: 200px;
	height: 47px;
	background-color: #fff;
	border: 1px solid #64aa46;
	cursor: pointer;
	color: #000;
	transition: background-color 0.5s, color 0.25s;
	font-size: 21px;
	padding: 0;
}
.namaz > .namaz-wrap .namaz-select .namaz-select__btn:hover {
	background-color: #64aa46;
	color: #fff;
	transition: background-color 0.5s, color 0.25s;
}
.namaz > .namaz-wrap .namaz-select .namaz-select__btn.active {
	background-color: #64aa46;
	color: #fff;
}

.namaz-select-left button:not(:last-child) {
	margin-right: 30px;
}

.namaz > .namaz-wrap .namaz-select .namaz-select__btn:focus {
	outline:none;
}


/* MAIN TABLE */
.namaz-table table {
	width: 100%;
	border-spacing: 0;
	margin-top: 18px;
}
.namaz-table thead th {
	color: #fff;
	background-color: #64aa46;
	height: 40px;
	border-right: 1px solid #fff;
}
.namaz-table thead th:lastt-child {
	border-right: none;
}
.namaz-table tbody td {
	color: #000;
	height: 30px;
	text-align: center;
	border-right: 1px solid #cfcfcf;
	border-bottom: 1px solid #cfcfcf;
	font-weight: 400;
	padding: 0;
}
.namaz-table tbody td:first-child {
	border-left: 1px solid #cfcfcf;
}

.namaz-light-green {
	background-color: #eaffe1;
}
.namaz-dark-green td {
	background-color: #428d22;
	color: #fff !important;
}

.namaz-table tr:hover td {
	background-color: #eeecec;
	color: #000;
}
.namaz-table tr.namaz-dark-green:hover td {
	background-color: #346c1d;
	color: #000;
}

.namaz-widget1 {
	max-width: 240px;
	font-family: 'Roboto';
}
.widget1-title {
	font-weight: 700;
	padding-top: 10px;
	margin-bottom: 30px;
	font-size: 20px;
}
.widget1-body-item {
	font-size: 18px;
	border: 1px solid #64aa46;
	border-bottom: none;
	padding-left: 20px;
	padding-top: 10px;
	padding-bottom: 10px;
}
.widget1-body-item:last-child {
	border-bottom: 1px solid #64aa46;
}
.widget1-body-item span:first-child {
	font-size: 21px;
}
.widget1-body-item.active span:first-child {
	font-size: 60px;
}
.widget1-body-item.active {
	display: flex;
	flex-direction: column;
	background-color: #64aa46;
	color: #fff;
}

.namaz-widget2 {
	max-width: 400px;
	background-color: #64aa46;
	font-family: 'Roboto';
	font-size: 16px;
}
.namaz-widget2-wrap {
	display: flex;
	color: #fff;

}
.namaz-widget2-item {
	text-align: center;
	padding: 15px 0;
	display: flex;
	flex-direction: column;
	font-size: 16px;
	margin: 0px 7px;
}
.namaz-widget2-item:not(:last-child) {
	border-right: 1px solid #fff;
}
.namaz-widget2-item.active {
	font-weight: 700;
	background-color: #428d22;
}

@media screen and (max-width: 970px) {
	.namaz-today-timer {
		bottom: -40px;
	}
}

@media screen and (max-width: 768px) {
	.namaz-widget2 {
		max-width: 100%;
		width: 100%;
	}
	.namaz-widget2-wrap {
		justify-content: space-between;
	}
	.namaz-widget2-item {
		width: calc(100% / 6);
		margin-left: 0;
	}
	
	#namaz-print {display: none;}
}

@media screen and (max-width: 700px) {
	.namaz-today-item__text-time {
		font-size: 32px;
	}
	.namaz-today-item {
		height: 111px;
	}
	.namaz-select__btn {
		width: 140px;
	}
	.namaz-row__title {
		font-size: 22px;
	}
	.namaz-row__time {
		font-size: 28px;
	}
	.namaz-today-timer {
		font-size: 12px;
	}
}

@media screen and (max-width: 550px) {
	.namaz-row__title {
		font-size: 14px;
	}
	
	.namaz-row__day {
		margin-bottom: 10px;
		font-size: 12px;
	}
	.namaz-today-item__text-time {
		font-size: 16px;
	}
	.namaz-today-item__text-title {
		font-size: 12px;
	}
	.namaz {
		padding: 0 5px;
	}
	.namaz-today-item {
		height: 70px;
		
	}
	.namaz-today-item__text {
		display: flex;
		flex-direction: column;
		
	}
	.namaz-today-timer {
		font-size: 9px;
		bottom: -45px;
	}
	.namaz-row__time {
		font-size: 20px;
	}
	.namaz-select__btn {
		font-size: 14px;
		width: 110px;
		height: 35px;
	}

	.namaz-table {
		font-size: 10px;
	}

	.namaz-select {
		margin-top: 20px;
		flex-direction: column;
	}
	.namaz-select-left {
		display: flex;
	}
	.namaz-select-right {
		margin-top: 10px;
	}

	.namaz-today-item:not(:last-child):after {
		margin-top: 9px;
		height: 52px;

	}

	.namaz-widget2 {
		font-size: 14px;
	}
	.namaz-widget2-item {
		font-size: 14px;
		margin: 0;
	}
	.namaz-widget2-item span:first-child {
		font-size: 12px;
	}
	
	/* Кноки */
	.namaz > .namaz-wrap .namaz-select .namaz-select__btn {
		font-size: 14px;
		height: 35px;
		width: 120px;
	}
}

@media screen and (max-width: 380px) {
	/*.namaz-table table {
		transform: scale(0.8);
		transform-origin: left top;
	}
	*/
	.namaz-today {
		margin-left: -26px;
		width: calc(100% + 52px);
	}
	
	.namaz-table table {
		margin-left: -26px;
		width: calc(100% + 52px);
	}
	.namaz-table thead th {
		padding: 9px;
	}
	.namaz-row__title.namaz-row__title-first {
		width: 150px;
	}
	
	.namaz-row-left-first {
		margin-bottom:10px;
		width: 180px;
		font-size: 14px;
	}
	.namaz-today-timer{
		left: calc(0% + 2px);
	}

}

@media print {
	body > * {
		display: none;
	}
	#namaz-table-fake {
		display: block;
	}
	#namaz-table-fake td {
		background-color: #fff;
		border: 1px solid #000;
		color: #000 !important;
	}

	
}

