﻿*{
	padding: 0;
	margin: 0;
}

body {
	background: #d8d8d8;
	font-family: Tahoma, Helvetica, sans-serif;
}

img {
	border: none;
}

img:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

p {
	text-align: left;
	font-size: 100%;
	line-height: 2;
}

h1 {
	font-size: 110%;
	text-align: center;
	margin-bottom: 10px;
}

h2 {
	font-size: 150%;
	color: #000000;
	text-align: left;
}

h3 {
	font-size: 100%;
	color: #000000;
}

a {
	text-decoration: none;
	color: #8b0000;
	font-weight: bold;
	word-wrap: break-word;
}

a:hover {
	text-decoration: underline;
	color: #8b0000;
}

a:active {
	color: #8b0000;
}

a:visited {
	color: #8b0000;
}

/*header*/

.header {
	background: #ffffff;
	height: auto;
	width: 98%;
	margin: 5px auto;
	padding: 10px;
}

/*nav*/

.nav{
	background: #ffffff;
	height: auto;
	width: 98%;
	margin: 5px auto;
	padding: 10px;
}

/*content*/

.content{
	background: #ffffff;
	height: auto;
	width: 98%;
	margin: 5px auto;
	padding: 10px;
}

.karta{
	margin: 10px auto;
}

.text{
	text-align: center;
}

.blue{
	color: blue;
}

.green{
	color: green;
}

.red{
	color: red;
}

.skhema{
	text-align: center;
}

/*rasp*/

.rasp{
	background: #ffffff;
	height: auto;
	width: 98%;
	margin: 5px auto;
	padding: 10px;
}

/*footer*/

.footer{
	background: #ffffff;
	height: auto;
	width: 98%;
	margin: 5px auto;
	padding: 10px;
}

.footer a{
	float: right;
}

/*общее*/

.time {/*фон ссылок и времени расписаний*/
    display: inline-block;
    vertical-align: top;
    background: #F0F0F0;
    font-size: 150% !important;
    padding: 3px 3px;
    /*border-radius: 3px;*/
    margin: 0 0 3px 0;
    transition: background .1s linear, color .1s linear;
    will-change: background, color;
    cursor: pointer;
}

details {
	border: 1px solid #999;
	margin: 0 2em .4em 2em;
	padding: 1.04%;
}

details[open]>summary {
	color: red;
}

details>summary {
	list-style: none;
}
 
summary {
	cursor: pointer;
	text-align: left;
	margin: -1%;
	padding: 8px 10px;
	background: -webkit-linear-gradient(top, #f3f3f3 50%, #e6e6e6 50%);
}