@charset "UTF-8";

* {

  margin: 0;
  padding: 0;
  outline: none;
}


/*
#t{

border: solid 2px green;

overflow: hidden;
text-overflow: ellipsis;

height: 130px;
}
*/

body {

}


/*header*/

#header {
background-color: #304661;
}


#sait_name {
padding-top: 40px;
padding-bottom: 40px;
padding-left: 30px;
}


#sait_name a {
text-decoration: none;
color: white;
font-size: 32px;
font-weight: 600;
font-family: Barlow, arial, helvetica, sans-serif;
padding-top: 40px;
padding-bottom: 40px;
padding-left: 30px;
}

#sait_name a:hover {
color: #8DA2C1;
}


/*Главная*/

#conteiner {
display: flex;
justify-content: center;
}


#home {
display: flex;
align-content: flex-start;
flex-wrap: wrap;
width: 870px;
margin-top: 10px;
flex-shrink: 0;
}


#text_home {
padding: 5px;
margin-left: 20px;
line-height: 1.5;
margin-top: 10px;
margin-right: -5px;

}


#text_home a {

}


#text_home img {
width: 100%;
height: auto;
}

#title_home{
width: 400px;
margin-bottom: 15px;
}

#title_home a{
font-family: Barlow, arial, helvetica, sans-serif;
text-indent: 0;
color: #303161;
padding: 5px;
padding-top: 15px;
text-decoration: none;

}


#title_home a:hover{
color: #5D7ABE;
}


#cat_data_home {
display: flex;
}


#cat_data_home2 {
display: flex;
align-items: flex-start;
flex-wrap: nowrap;
margin-bottom: 30px;
width: 370px;
}


#cat_home a {
background-color: #EDEDEF;
font-family: Barlow, arial, helvetica, sans-serif;
color: #627AAB;
font-size: 15px;
text-decoration: none;
margin-bottom: 5px;
margin-right: 10px;
padding: 8px;
display: inline-block;
}


#cat_home a:hover{
text-decoration: underline;
}


#data_home {
font-size: 15px;
font-family: Barlow, arial, helvetica, sans-serif;
color: #69768D;
white-space: nowrap;
margin-top: 8px;
}


#content_home {
font-size: 17px;
font-family: Barlow, arial, helvetica, sans-serif;
max-width: 400px;
}


#content_home img {
width: 100%;
height: auto;
}


#content_home h1, #content_home h2 {
font-size: 17px;
font-family: Barlow, arial, helvetica, sans-serif;
font-weight: 100;
}


#more {
margin-top: 20px;
margin-bottom: 5px;
width: 160px;
height: 35px;
background-color: #304661;
text-align: center;
vertical-align: baseline;
padding-top: 10px;
}

#more:hover {
background-color: #667892;
}


#more a {
font-size: 15px;
font-family: Barlow, arial, helvetica, sans-serif;
color: white;
padding-left: 10px;
text-decoration: none;
}


#ml {
display: none;
}


#nav {
  
margin-left: 30px;
display: flex;
flex-direction: row;
margin-top: 30px;
margin-bottom: 40px;
}


#nav a {
font-family: Barlow, arial, helvetica, sans-serif;
font-size: 15px;
text-decoration: none;
color: #69768D;
background: #EDEDEF;
}


#nav a:hover {
text-decoration: underline;
}

.page-numbers {
padding: 12px 15px;
background: #304661;
margin-right: 7px;
color: white;
}


/*Футер*/

#footer {
height: 100px;
background-color: #304661;
font-family: Barlow, arial, helvetica, sans-serif;
}


.sed {
padding-top: 35px;
padding-left: 500px;
}


.foot_tex {
margin-top: -25px;
padding-right: 14px;
font-weight: 600;
color: white;
font-family: Barlow, arial, helvetica, sans-serif;
float: right;
}




/*Сайдбар */

#saidbar {
display: flex;
flex-direction: column;
/*width: 330px;*/
list-style: none;
counter-reset: li;
margin-right: 10px;
}


.widget    {
display: flex;
flex-direction: column;
background: #EDEDEF;
padding: 10px;
margin-top: 30px;
padding-left: 50px;
padding-right: 20px;
padding-bottom: 20px;
width: 330px;
}


.widget li {
list-style-type: square;
}


.widget a   {
color: green;
text-decoration: none;
font-size: 15px;
font-family: Barlow, arial, helvetica, sans-serif;
list-style-type: none;
color: #69768D;
background: #EDEDEF;
line-height: 1.5;
font-weight: 400;
}


.widget a:hover {
text-decoration: underline;
}


.widget h3 {
padding-left: 30px;
padding-top: 10px;
padding-bottom: 10px;
font-size: 21px;
font-family: Barlow, arial, helvetica, sans-serif;
margin-bottom: 10px;
color: #303161;
}



/*Запись*/

#conteiner_single {
display: flex;
justify-content: center;
}


#single {
display: flex;
align-items: flex-start;
flex-wrap: wrap;
max-width: 830px;
margin-top: 10px;
margin-right: 30px;
}


#text_single {
max-width: 800px;
padding: 5px;
margin-left: 30px;
line-height: 1.5;
margin-top: 10px;
margin-right: -5px;
font-family: Barlow, arial, helvetica, sans-serif;
font-size: 18px;
}

#text_single p {
margin-top: 10px;
margin-bottom: 10px;
}


#text_single h2 {
font-size: 25px;
color: #39414D;
}


#text_single li {
margin-left: 15px;
}


#text_single img {
width: 100%;
height: auto;
}


#title_single {
max-width: 750px;
font-size: 30px;
font-family: Barlow, arial, helvetica, sans-serif;
color: #3F5C7F;
font-weight: 600;
margin-top: 10px;
}


#cat_data_single {
display: flex;
}


#cat_data_single2 {
display: flex;
align-items: flex-start;
flex-wrap: nowrap;
margin-top: 20px;
margin-bottom: 30px;

}


#cat_single a {
font-family: Barlow, arial, helvetica, sans-serif;
color: #627AAB;
font-size: 17px;
text-decoration: none;
background-color: #EDEDEF;
padding: 8px;
margin-right: 10px;
margin-bottom: 5px;
display: inline-block;
}

#cat_single a:hover {
text-decoration: underline;
}


#data_single {
font-size: 17px;
font-family: Barlow, arial, helvetica, sans-serif;
color: #667389;
margin-top: 8px;
white-space: nowrap;
}

#author_single {
font-size: 17px;
margin-left: 10px;
font-family: Barlow, arial, helvetica, sans-serif;
color: #667389;
margin-top: 8px;
}


#nav_single {
width: 100%;
display: flex;
justify-content: space-between;
}


#nav-previous {
width: 100%;
margin-left: 20px;
}


#nav-previous-text {
font-size: 16px;
margin-left: 10px;
margin-top: 12px;
font-family: Barlow, arial, helvetica, sans-serif;
color: #667389;
font-weight: 200;
margin-bottom: 10px;
}


#nav-previous-link {
width: 100%;
margin-left: 5px;
margin-bottom: 20px;
}


#nav-previous-link a {
font-family: Barlow, arial, helvetica, sans-serif;
font-size: 20px;
color: #2A4861;
font-weight: 600;
text-decoration: none;
line-height: 1.3;
}


#nav-previous-link a:hover {
color: #6290C7;
}


#nav-next {
width: 100%;
margin-left: 100px;
display: flex;
flex-direction: column;
align-items: flex-end;
}

#nav-next-text {
font-size: 16px;
margin-left: 10px;
margin-top: 10px;
font-family: Barlow, arial, helvetica, sans-serif;
color: #667389;
font-weight: 200;
margin-bottom: 10px;
}


#nav-next-link {
width: 100%;
text-align: right;

}


#nav-next-link a {
font-family: Barlow, arial, helvetica, sans-serif;
font-size: 20px;
color: #2A4861;
font-weight: 600;
text-decoration: none;
line-height: 1.3;
}

#nav-next-link a:hover {
color: #6290C7;
}


@media screen and (max-width: 450px) {


#sait_name a{
padding-left: 0px;
padding-right: 0px;
text-align: center;
}


#conteiner {
   
flex-direction: column;
margin-left: 0px;
margin-right: 0px;
}


#home {
margin-left: 0px;
margin-right: 0px;
width: 100%;
}


#text_home {
margin-left: 10px;
margin-right: 10px;
width: 100%;
}


#text_home img {
margin-left: 0px;
margin-right: 10px;
width: 100%;
height: auto;
}


.wp-image {
margin-left: 0px;
margin-right: 10px;
width: 320px;
height: auto;
}


#title_home {
margin-left: 10px;
margin-right: 10px;
width: 100%;
}


#cat_data_home2 {
margin-left: 0px;
margin-right: 0px;
width: 100%;
}


#content_home {
margin-left: 0px;
margin-right: 0px;
width: 100%;
}


#nav {
margin-left: 10px;
}


.page-numbers {
margin-right: 1px;
padding: 7px 10px;
}





/*Футер*/

.sed {
padding-left: 20px;
}


.foot_tex {
margin-top: -25px;
padding-right: 14px;



}


/*Сайдбар */

/*
#conteiner_saidbar {
margin-right: 5px;
margin-bottom: 20px;
}
*/

#saidbar {
 
margin-left: 0px;
margin-bottom: 10px;
width: 100%;
color:rgb(255, 0, 0);
}

.widget    {
width: auto;

}



/*Запись*/

#conteiner_single {
flex-direction: column;
}


#single {
margin-top: 5px;
margin-left: 0px;
margin-right: 0px;
}


#text_single {
margin-left: 10px;
margin-right: 10px;
width: 100%;
padding: 0px;

}


#text_single img {
margin-left: 0px;
margin-right: 10px;
width: 100%;
height: auto;
}


#title_single {
margin-left: 10px;
margin-right: 10px;
width: 100%;
}


#cat_single a {
padding-right: 5px;
margin-right: 5px;
}


#text_single iframe {
margin-left: 0px;
margin-right: 0px;
width: 100%;
height: auto;
}


#nav_single {
width: 100%;
flex-direction: column;
}


#nav-previous {
width: auto;
margin-left: 5px;
margin-right: 5px;
}


#nav-next {
width: auto;
margin-right: 10px;
}






}



@media screen and (min-width: 450px) and  (max-width: 900px) {


#header {
width: 100%;
/*flex-shrink: 1;*/
}


#conteiner {
flex-direction: column;
margin-left: 0px;
margin-right: 0px;
}


#home {
margin-left: 0px;
margin-right: 0px;

}


#text_home {
max-width: 320px;
margin-left: 15px;
}


#text_home img {
width: 100%;
height: auto;
}


#title_home {
width: 100%;
margin-left: 3px;
}


#content_home {
width: 100%;
margin-left: 5px;
}


#nav {
width: auto;
}

/*Футер*/


#footer {
/*flex-shrink: 1;*/
width: 100%;
}


.sed {
padding-left: 50px;
}


.foot_tex {
margin-right: 60px;
}


/*Сайдбар */


#conteiner_saidbar {
/*flex-shrink: 1;*/
}


#saidbar {
margin-left: 0px;
margin-bottom: 10px;
width: 100%;
}


/*Запись*/

#conteiner_single {
flex-direction: column;
}


#single {
width: 100%;
margin-left: 0px;
margin-right: 0px;
}


#text_single {
width: 100%;
margin-left: 10px;
margin-right: 10px;
padding: 0px;
}


#text_single img {
margin-left: 0px;
margin-right: 10px;
width: 100%;
height: auto;
}


#title_single {
width: 100%;
margin-left: 3px;
}


#cat_single a {
padding-right: 5px;
margin-right: 5px;
}


#text_single iframe {
margin-left: 0px;
margin-right: 0px;
width: 100%;
height: auto;
}


#nav_single {
width: 100%;
display: flex;
justify-content: space-between;

}


#nav-previous {
width: 100%;
margin-left: 10px;
margin-right: 20px;
}


#nav-next {
width: auto;
margin-left: 0px;
margin-right: 10px;
}


#nav-previous-link {
width: 100%;
}


#nav-next-link {
width: 100%;
}



}



@media screen and (min-width: 900px) and  (max-width: 1200px) {




}
