/* font-family: "PTSerifRegular"; */
@font-face {
    font-family: "PTSerifRegular";
    src: url("../fonts/PTSerifRegular/PTSerifRegular.eot");
    src: url("../fonts/PTSerifRegular/PTSerifRegular.eot?#iefix")format("embedded-opentype"),
    url("../fonts/PTSerifRegular/PTSerifRegular.woff") format("woff"),
    url("../fonts/PTSerifRegular/PTSerifRegular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}
/* font-family: "PTSerifBoldItalic"; */
@font-face {
    font-family: "PTSerifBoldItalic";
    src: url("../fonts/PTSerifBoldItalic/PTSerifBoldItalic.eot");
    src: url("../fonts/PTSerifBoldItalic/PTSerifBoldItalic.eot?#iefix")format("embedded-opentype"),
    url("../fonts/PTSerifBoldItalic/PTSerifBoldItalic.woff") format("woff"),
    url("../fonts/PTSerifBoldItalic/PTSerifBoldItalic.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}
/* font-family: "PTSerifItalic"; */
@font-face {
    font-family: "PTSerifItalic";
    src: url("../fonts/PTSerifItalic/PTSerifItalic.eot");
    src: url("../fonts/PTSerifItalic/PTSerifItalic.eot?#iefix")format("embedded-opentype"),
    url("../fonts/PTSerifItalic/PTSerifItalic.woff") format("woff"),
    url("../fonts/PTSerifItalic/PTSerifItalic.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}
/* font-family: "PTSerifBold"; */
@font-face {
    font-family: "PTSerifBold";
    src: url("../fonts/PTSerifBold/PTSerifBold.eot");
    src: url("../fonts/PTSerifBold/PTSerifBold.eot?#iefix")format("embedded-opentype"),
    url("../fonts/PTSerifBold/PTSerifBold.woff") format("woff"),
    url("../fonts/PTSerifBold/PTSerifBold.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}






* {
	margin: 0;
	padding: 0;
	font-size: 18px;
	font-family:  "PTSerifRegular", "PTSerifRegular", "Arial", "Times New Roman";
	box-sizing: border-box;
	text-shadow: 0 0 1px transparent;
	text-rendering: optimizeLegibility;
	line-height: 1.4;
	transition: .5s ease-in-out;
}
body {
	color: #373737;
	background: #f7f7f7;
}
ul{
	list-style: none;	
}
.list li {
	padding-bottom: 5px;
}
.list li:last-child {
	padding-bottom: 0;
}
.list {
	list-style: disc;
	padding-top: 1rem;
	padding-left: 20px;
}
a {
	text-decoration: none;
	outline: none;
}
img {
	display: block;
	width: 100%;
}
h1 {
	font-size: 1.625rem;
	text-align: center;
}
h2 {
	font-size: 1.5rem;
}

h3 {
	font-size: 1.2rem;
}

.clearfix:after {
  content: "";
  display: table;
  clear: both;
}

.container {
	margin: 0 auto;
	width: 100%;
	max-width: 768px;
	padding: 0 1rem;
	position: relative;
}

.container-wide {
	margin: 0 auto;
	width: 100%;
	padding: 0 15px 2rem;
}

.container-small {
	margin: 0 auto;
	width: 100%;
	max-width: 660px;
	padding: 0 1rem;
}




/* добавим очистку потока для всех контейнеров, внутри которых задано обтекание дочерних элементов */
header:after, .container:after, footer:after, .widget-posts-list li:after, #subscribe:after {
content: "";
display: table;
clear: both;
} 


header {
width: 100%;
/*height: 60px;*/
background: rgb(234, 211, 86);
box-shadow: 3px 3px 1px rgba(0,0,0,.05);
padding: 10px 0;
/*margin-bottom: 30px;*/
position: fixed;
z-index: 10;
top: 0;
}
nav {
width: 100%; 
}

/* меню */
#menu {
float: right;
}
#menu li {
display: inline-block;
margin-right: 30px;
}
#menu a {
color: #111;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 600;
display: block;
line-height: 40px;
}
#menu a:hover {
color: #EF5A42;
}
#menu li:last-child  {
margin-right: 10px;
}
/* кнопка переключения меню, появляющаяся при ширине 768px */
.nav-toggle {
display: none;
position: relative;
float: right;
width: 40px;
height: 40px;
margin-left: 20px;
background: #ead356;
cursor: pointer;
}
.nav-toggle span {
display: block;
position: absolute;
top: 18px;
left: 7px;
right: 7px;
height: 3px;
background: #373737;
}
.nav-toggle span:before, .nav-toggle span:after {
content: "";
position: absolute;
display: block;
left: 0;
width: 100%;
height: 3px;
background: #373737;
}
.nav-toggle span:before {
top: -10px;
}
.nav-toggle span:after {
bottom: -10px;
}
/* класс, который будет добавлен в верхнему меню при нажатии на кнопку и покажет скрытое меню*/
#menu.active {
max-height: 200px;
}
.logo {
color: #252525;
letter-spacing: 0px;
font-weight: 600;
line-height: 40px;
/*text-transform: uppercase;*/
font-size: 25px;
}













.head {
	padding-top: 30px;
	padding-bottom: 30px;
}

.headup {
background: url(../images/b-min.jpg) repeat fixed; 
}

.col1-4 {
	width: 25%;
	float: left;
}

.col3-4 {
	width: 75%;
	float: left;
}

.head-title {
	margin: 0 auto;
	width: 100%;
	max-width: 768px;
	padding: 50px 0 50px 0;
	color: #f7f7f7;
}

.title {
	padding: 3rem 0 1rem 0;
	text-align: center;
	text-transform: uppercase;
}

p {
	padding-top: 1rem;
	text-indent: 2rem;
	text-align: justify;
	/*font-size: 1.285rem;*/
}

.redtext {
	margin: 0 auto;
	width: 100%;
	text-align: center;
	max-width: 768px;
	padding: 20px 0 10px 0;
	color: #FF0000;
}


.contacts {
	/*background: #f7f7f7;*/
	text-align: center;
		width: 100%;
	max-width: 380px;
	/*padding: 10px 15px 10px;*/
}

.contacts-header {
	/*background: #6dc1a7;*/
	background: rgba(0, 0, 0, 0.4);
	color: #f7f7f7;
	padding: 10px;
	border-radius: 12px 12px 0 0;
	font-size: 1.2rem;
}
.contacts:hover .contacts-header {
	background: rgba(0, 0, 0, 0.4);
	color: #f7f7f7;
	
}

.phones {
	background: #f3e4e4;
	padding: 10px;
	border-radius: 0 0 12px 12px;
	
}

.contacts:hover .phones {
	background: #f3e4e4;
}

.icon {
	font-size: 1.3rem;
	/*font-family: Arial;*/
}

.icon-small {
	font-size: 1.2rem;
}

a .icon {
	color: #252525;
}

a .icon-small {
	color: #252525;
}

.border {
	border: 1px solid #f3e4e4;
	border-radius: 15px;
}

.link-title {
	text-align: center;
	padding-top: 1rem;
	font-weight: bold;
}

.link li {
	border: 1px solid #9a9696;
	border-radius: 3px;
	background: #f3e4e4;
	padding: 10px 20px;
	margin: 10px;
}

li > a { display: block; }

.link li a {
	color: #6c6cc3;
}

.center {
	    display: table;
    margin-right: auto;
    margin-left: auto;
}

.list-title {
	padding-top: 1rem;
}

.small-title {
	text-align: center;
	padding-top: 1rem;
}

.adress {
	text-align: center;
}
.spoiler {
border: 1px solid #9a9696;
/*border-radius: 3px;*/
	background: #f3e4e4;
	padding: 10px 20px;
	margin: 10px 10px 0 10px;
}

.spoiler a {		
	color: #6c6cc3;
}

.spoiler > a { display: block; }

.spoiler-text {
	margin: 0 10px 0;
     padding: 15px 20px;
     text-indent: 2rem;
     background: #f3e4e4;
     border: 1px solid #9a9696;
     border-top: 0;
	/*border-radius: 3px;*/
}

footer {
	margin-top: 30px;
	padding: 30px 0;
	background: #3C3D41;
	color: white;
	text-align: center;
}

.enjoy-css {
  -webkit-box-sizing: content-box;
  -moz-box-sizing: content-box;
  box-sizing: content-box;
  width: 132px;
  cursor: pointer;
  margin-top: 1rem;
  padding: 10px 18px;
  border: none;
  -webkit-border-radius: 30px;
  border-radius: 30px;
  font: normal normal bold 1rem/normal FregatRegular, Calibri, Arial, sans-serif;
  color: rgba(108,108,195,1);
  text-align: center;
  text-transform: uppercase;
  -o-text-overflow: clip;
  text-overflow: clip;
  background: rgba(243,228,228,1);
  -webkit-transition: background 0.2s cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -moz-transition: background 0.2s cubic-bezier(0.25, 0.25, 0.75, 0.75);
  -o-transition: background 0.2s cubic-bezier(0.25, 0.25, 0.75, 0.75);
  transition: background 0.2s cubic-bezier(0.25, 0.25, 0.75, 0.75);
}

.enjoy-css-big-button {

		text-align: center;
		width: 100%;
	max-width: 360px;
}

.enjoy-css:hover {
  background: rgba(243,228,150,1);
}


a .enjoy-css {
	color: rgb(55, 55, 55);
}




@media (max-width: 768px) {
* {
	font-size: 16px;
}

h1 {
	/*font-size: 1.5rem;*/
}

	/* показываем кнопку для переключения верхней навигации */
.nav-toggle {
display: block;
}
header {
padding: 10px 0;
}
/* скрываем верхнее меню, отменяем обтекание, позиционируем его, сместив на высоту шапки сайта */ 
#menu {
max-height: 0;
background: white;
float: none;
position: absolute;
overflow: hidden;
top: 50px;
right: 0;
left: 0;
margin: 0;
padding: 0;
z-index: 0;
}
/* делаем элементы списка блочными, чтобы они располагались друг под другом */
#menu a {
line-height: 60px;
}
#menu li {
display: block;
border-bottom: 1px solid #EBEBE3;
padding-right: 0px;
text-align: right;
}
#menu li:last-child  {
margin-right: 30px;
}
.enjoy-css-big-button {

		text-align: center;
		width: 100%;
	max-width: 260px;
}
}
@media (max-width: 320px) {
* {
	font-size: 14px;
}
}