*, *:after, *:before {
box-sizing: border-box;
padding: 0;
margin: 0;
transition: .5s ease-in-out; /* добавим плавность переходов для всех элементов страницы*/
}

@font-face { font-family: Larsseit; src: url(fonts/Larsseit.ttf);}


ul {
list-style: none;
}
a {
text-decoration: none;
outline: none;
}
img {
display: block;
width: 100%;
}
h1, h2, h3, h4, h5, h6 {
font-family: 'Playfair Display';
font-weight: normal;
letter-spacing: 1px;
}
body {
font-family: 'Open Sans', arial, sans-serif;
font-size: 14px;
line-height: 1;
color: #dedbe6;
background: #283043;
}
/* добавим очистку потока для всех контейнеров, внутри которых задано обтекание дочерних элементов */
header:after, .container:after, footer:after, .widget-posts-list li:after, #subscribe:after {
content: "";
display: table;
clear: both;
} 
/* стилевой класс, который управляет шириной контейнера сетки*/
.container {
margin: 0 auto;
width: 100%;
max-width: 960px;
padding: 0 15px;
} 





header {
width: 100%;
background: #01121c;
box-shadow: 0 0 10px rgba(0,0,0,0.6);
padding: 15px 0;
margin-bottom: 50px;
position: relative;
}
/* логотип */
.logo {
display: block; 
float: left; 
}
.logo_img {width: 200px;}
/* меню */
#menu {
float: right;
}
#menu li {
display: inline-block;
margin-right: 30px;
}
#menu a {
color: #fdac07;
text-transform: uppercase;
letter-spacing: 1px;
font-weight: 600;
display: block;
line-height: 40px;
font-family: 'Larsseit', sans-serif; 
}
#menu a:hover {
color: #dedbe6;
}
#menu li:last-child  {
margin-right: 0;
}

/* кнопка переключения меню, появляющаяся при ширине 768px */
.nav-toggle {
display: none;
position: relative;
float: right;
width: 40px;
height: 40px;
margin-left: 20px;
background: #fdac07;
cursor: pointer;
}
.nav-toggle span {
display: block;
position: absolute;
top: 19px;
left: 8px;
right: 8px;
height: 2px;
background: #dedbe6;
}
.nav-toggle span:before, .nav-toggle span:after {
content: "";
position: absolute;
display: block;
left: 0;
width: 100%;
height: 2px;
background: #dedbe6;
}
.nav-toggle span:before {
top: -10px;
}
.nav-toggle span:after {
bottom: -10px;
}
/* класс, который будет добавлен в верхнему меню при нажатии на кнопку и покажет скрытое меню*/
#menu.active {
max-height: 500px;
background: #01121c; 
border-top: 1px solid #dedbe6;
  z-index: 50;
}






/* левый контейнер */
.posts-list {
margin-bottom: 30px;
width: 64%;
float: left;
font-size: 20px;


}
/* блок для статьи */

.gl{padding-top: 20px;}
.glav{ text-decoration: none;  font-size: 40px; font-family: 'Larsseit', sans-serif; 
text-transform:uppercase; display: table; color: #dedbe6;  
text-shadow: 1px 1px #171405, 1px -1px #171405, -1px 1px #171405, -1px -1px #171405, 3px 3px 6px rgba(23,20,5,.5);
 line-height: 1.3;
}
 .text_g { text-transform:uppercase; font-size: 25px;  font-family: Verdana;  display: table; color: #dedbe6;
  padding: 10px 0 10px; text-shadow: 1px 1px #171405, 1px -1px #171405, -1px 1px #171405, -1px -1px #171405, 3px 3px 6px rgba(23,20,5,.5);
  line-height: 1.8;}

.reg a { font-size: 20px; 
  text-decoration: none;
  outline: none;
  display: inline-block;
  margin-left: 1px;
  color: #fdac07;
  border: 1px solid #fdac07;
  padding: 10px 20px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 20px #000;
}
.reg span { 
  font-family: 'Larsseit', sans-serif;
  position: relative;
  z-index: 5;
}
.reg a:before, 
.reg a:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
}
.reg a:before{
  transform: translateX(-100%);
  background: #000;
  transition: transform .3s cubic-bezier(.55,.055,.675,.19);
}
.reg a:after {
  background: #01121c;
  transform: translateX(100%);
  transition: transform .3s cubic-bezier(.16,.73,.58,.62) .3s;
}
.reg a:hover:before,
.reg a:hover:after {transform: translateX(0);}






/* правый контейнер */
aside {
width: 33%;
float: right;
}
/* блок для виджетов */
.widget {
padding: 10px 15px 10px;
background: #01121c;
font-size: 13px;
margin-bottom: 30px;
box-shadow: 3px 3px 1px rgba(0,0,0,.05);
}
.widget-title {
font-size: 20px; font-family: 'Larsseit', sans-serif;  
text-transform:uppercase; display: table; color: #dedbe6;  padding: 5px 0 10px;
}

.ui-form { width: 100%; padding: 10px 0px 10px; margin: 0 auto; color: #d18303; display: inline-block; }
.form-row { position: relative; margin-bottom: 20px; color: #d18303; }

.form-row input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #dedbe6 inset;
    -moz-box-shadow: 0 0 0 1000px #dedbe6 inset;
    box-shadow: 0 0 0 1000px #01121c inset;
    -webkit-transition: all 0.7s ease 0s;
    -moz-transition: all 0.7s ease 0s;
    -o-transition: all 0.7s ease 0s;
    transition: all 0.7s ease 0s;
    -webkit-text-fill-color: #eee !important;
}


.form-row input {   position: relative;
  z-index: 5;
  display: block;
  width: 100%;
  padding: 0 0;
  line-height: 34px;
  font-family: 'Roboto', sans-serif;
  background: none;
  border-width: 0;
  border-bottom: 2px solid #d18303;
  color: #d18303;  


}
.form-row label {   z-index: 2;
  position: absolute;
  left: 0px;
  color: #dedbe6;
  font-size: 20px;
  font-weight: 300;
  transform: translateY(-35px);
}
.form-row input:focus {
  outline: 0; color: #b8cde6;
  border-color: #F77A52;
}
.form-row input:focus + label, 
.form-row input:valid + label {
  transform: translateY(-54px);
  font-size: 14px; margin-top: 5px;
  font-weight: 400;
  outline: 0;
  border-color: #F77A52;
  color: #fdac07; 
}
.ui-form input[type="submit"] { width: 100%; padding: 0; line-height: 40px; background: #01121c; display: block;
 font-family: 'Larsseit', sans-serif; text-transform: uppercase; border: 1px solid #d18303; color: #d18303; font-size: 22px; 
 margin-left: 0px;}
.ui-form input[type="submit"]:hover { border: 1px solid #d18303;  background: #283043; color: #d18303;}

.ui-form a { float: left; display: block; margin: 10px 10px 0 0; color: #d18303; font-size: 18px; text-decoration: none;}
.ui-form a:hover { color: #b8cde6;}



.blok {float: center; text-align:center; background: #01121c; min-width: 100%; padding: 50px 0;  margin: 30px auto;}


.box {
width: 25%; float: left; overflow: hidden; white-space:nowrap; display:inline-block;
}
.box1 {padding: 0 10px;}
.t1 { font-size: 40px; font-family: 'Larsseit', sans-serif;    
text-transform:uppercase; display: table; color: #dedbe6; margin: 0 auto;  
}
.t2 { font-size: 20px; font-family: 'Larsseit', sans-serif;  border-top: 2px solid #fdac07; width: 100%; 
text-transform:uppercase; display: table; color: #dedbe6;  margin: 5px auto 10px; padding: 5px 15px;  
}

.older { list-style: none;  text-align: left; width: 100%; margin: 10px auto;}
.older p { color: #fdac07; font-family: 'Larsseit', serif; font-size: 18px; border-left: solid 2px #dedbe6; 
margin: 10px auto; padding: 15px 5px 15px 25px;   background:#01121c;letter-spacing: 3px;
 text-shadow: 1px 1px #171405, 1px -1px #171405, -1px 1px #171405, -1px -1px #171405, 3px 3px 6px rgba(23,20,5,.5);
}
.older p:hover {color: #dedbe6; background: rgba(0,0,0,0.4);}







footer { margin-top: 20px; font-size: 20px;  font-family: Verdana; 
padding: 30px 0; line-height: 1.5;
background: #01121c; 
color: #fdac07;
}
.footer-col1 {
width: 75%;
float: left; 
}.footer-col {
width: 25%;  text-align: right;
float: left; 
}
.footer-col a {
color: #fdac07;
}
.footer-col:last-child {
text-align: right;
}


.lin {margin: 10px 0; font-size: 15px;  font-family: Verdana; border-bottom: solid 0px #fdac07;  color: #fdac07;}
.logo_img_foot {width: 130px;}

.linkb { padding: 10px 0; display: inline-block; border-top: solid 1px #fdac07; border-bottom: solid 1px #fdac07; width: 100%;}

.link_n { text-decoration: none;  font-size: 20px; font-family: 'Larsseit', sans-serif; color: #fdac07; padding-right: 10px;}
.link_n:hover {color: #dedbe6; }

.copi { font-family: Verdana; font-size: 20px;  border-top: solid 1px #fdac07; display: block; width: 100%;
float: left; margin: 10px 0; padding: 10px 0; color: #fdac07; 
}

@import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css);
.social { color: #fdac07; font-size: 20px;  width: 145px; 
     line-height: 1.5; float: right;
     display: block;  
}
.social a { 
     display: block; text-align: left;
}
.social span { text-align: left; padding-left: 10px; font-family: Verdana;
}
.telegram a:hover {color: #249bd7;}
.vk a:hover {color: #5d84ae;}

.github a:hover {background: #191919; color: #fff;}
.youtube a:hover {background: #c4302b; color: #fff;}
.google-pluse a:hover {background: #DD4B39; color: #fff;}
.twitter a:hover {background: #00acee; color: #fff;}
.instagram a:hover {background: #3f729b; color: #fff;}
.facebook a:hover {background: #3b5998; color: #fff;}
.skype a:hover {background: #00aff0; color: #fff;}
.odnoklassniki a:hover {background: #f93; color: #fff;}
.pinterest a:hover {background: #c8232c; color: #fff;}
.linkedin a:hover {background: #0e76a8; color: #fff;}
.tumblr a:hover {background: #34526f; color: #fff;}
.windows a:hover {background: #125acd; color: #fff;}
.whatsapp a:hover {background: #50b154; color: #fff;}
.weibo a:hover {background: #d52b2b; color: #fff;}
.dropbox a:hover {background: #1087dd; color: #fff;}



.spisok { font-size: 18px; font-family: 'Roboto', sans-serif; line-height: 160%; width: 100%-20px;
  color: #d18303; border-left: 2px solid #dedbe6;  background: #01121c;
  margin: 10px 0 10px; padding: 10px 20px; display: inline-block; } 

.spisok_glav { font-size: 20px; font-family: 'Roboto', sans-serif; line-height: 160%; width: 100%;
  color: #dedbe6; display: inline-block; } 

.spisok_data { font-size: 20px; font-family: 'Roboto', sans-serif; line-height: 160%; width: 100%;
  color: #dedbe6; display: inline-block; } 










@media (max-width: 768px) {
/* показываем кнопку для переключения верхней навигации */
.nav-toggle {
display: block;
}
header {
padding: 15px 0; margin-bottom: 15px;
}

/* скрываем верхнее меню, отменяем обтекание, позиционируем его, сместив на высоту шапки сайта */ 
#menu {
max-height: 0;
background: white;
float: none;
position: absolute;
overflow: hidden;
top: 63px;
right: 0;
left: 0;
margin: 0;
padding: 0;
z-index: 3;
}
/* делаем элементы списка блочными, чтобы они располагались друг под другом */
#menu li {
display: block;
text-align: center;
border-bottom: 1px solid #EBEBE3;
margin-right: 0;
}
/* отменяем обтекание левой и правой колонок, устанавливаем им ширину 100%*/
.posts-list , aside {
width: 100%;
float: none;
}


.gl{padding-top: 0px;}
.glav{ text-decoration: none;  font-size: 25px; font-family: 'Larsseit', sans-serif; 
text-transform:uppercase; display: table; color: #dedbe6;  
text-shadow: 1px 1px #171405, 1px -1px #171405, -1px 1px #171405, -1px -1px #171405, 3px 3px 6px rgba(23,20,5,.5);
 line-height: 1.3;
}
 .text_g { text-transform:uppercase; font-size: 18px;  font-family: Verdana;  display: table; color: #dedbe6;
  padding: 10px 0 10px; text-shadow: 1px 1px #171405, 1px -1px #171405, -1px 1px #171405, -1px -1px #171405, 3px 3px 6px rgba(23,20,5,.5);
  line-height: 1.8;}

.blok {float: center; text-align:center; background: #01121c; min-width: 100%; padding: 20px 0; margin: 10px auto;}

.box {
width: 50%; float: left; overflow: hidden; white-space:nowrap; display:inline-block; 
}
.box1 {padding: 0 10px;}

.t1 { font-size: 20px; font-family: 'Larsseit', sans-serif;    
text-transform:uppercase; display: table; color: #dedbe6; margin: 0 auto;  
}
.t2 { font-size: 12px; font-family: 'Larsseit', sans-serif;  border-top: 2px solid #fdac07; width: 100%; 
text-transform:uppercase; display: table; color: #dedbe6;  margin: 10px auto 10px; padding: 5px 15px;  
}


.widget-post-title {
font-size: 1.5em;
}

footer { margin-top: 5px;
padding: 30px 0; font-size: 16px; 
background: #01121c; 
color: #fdac07;
}

.footer-col1 {
float: none;
margin-bottom: 20px;
width: 100%;
}
.footer-col {
float: none;
margin-bottom: 20px;
width: 100%;
}

.social { color: #fdac07; font-size: 20px;  width: 145px; 
     line-height: 1.5; float: left;
     display: block;  
}
.link_n { text-decoration: none;  font-size: 15px; font-family: 'Larsseit', sans-serif; 
color: #fdac07; padding-right: 5px;
 }
.copi { font-family: Verdana; font-size: 15px;  
border-top: solid 1px #fdac07; display: block; width: 100%;
float: left; 
background: #01121c;  margin: 10px 0; padding: 10px 0; 
color: #fdac07;
}




}
@media (max-width: 480px) {
/* отменяем обтекание для логотипа и выравниваем по центру*/
.logo {
float: left;
margin: 0;
display: table;
}



/* отменяем обтекание для столбцов подвала страницы */
.footer-col1 {
float: none;
margin: 10px 0;
width: 100%;
}
.footer-col {
float: none;
margin: 10px 0;
width: 100%;
}

.copi { font-family: Verdana; font-size: 15px;  
border-top: solid 1px #fdac07; display: block; width: 100%;
float: left; 
background: #01121c;  margin: 0px 0; padding: 10px 0; 
color: #fdac07;
}

.link_n { text-decoration: none;  font-size: 20px; font-family: 'Larsseit', sans-serif; color: #fdac07; padding: 10px 10px 10px 0px;}
.link_n:hover {color: #dedbe6; }



}

