﻿@import url("https://netdna.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css");
/*@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap');*/

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-image: url(money.png);
  /*font-size: 1.2em;*/
  background-color: #fff;
  color: #555;
}

header {
  background-image:url(bricks-8.jpg)
  background: rgba(0, 170, 238, 0.9); /* Цвет фона */
  color: #fff; /* Цвет текста */
  padding: 5px; /* Поля вокруг текста */
  /*background-color: #333;*/
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  margin: 0px 0px 0px 0px; 
  padding: 0px 20px 0px 20px;
  min-width: 900px;
}



nav {
  display: flex;
  align-items: center;
  padding: 0px 0px 0px 0px;
}

.logo a {
  color: #9400d3;
  font-weight: bolder;
  font-size: 2.05rem;
  font-family: /*cursive*/Comic Sans MS;
  text-decoration: none;
  margin: 600px 0px 0px 0px; 
  padding: 0px 20px 0px 20px;
}

.logo_mob a {
  display: none;
}

.menu-icon {
  font-size: 2rem;
  color: #9400d3;
  cursor: pointer;
  display: none;
}

.menu {
  font-weight: bolder;
  display: flex;
  list-style: none;
  margin: 0px 0px -20px 0px;
  padding: 70px 0px 0px 0px;
}

.menu li {
  /*margin-left: 20px;*/
  margin: 0px 0px 0px 20px;
  padding: 0px 0px 0px 0px;
  font-size: 1.1rem;
}

.menu a {  
  color: #9400d3;
  text-decoration: none;
  /*font-weight: bold;*/
}

#menu-toggle {
  display: none;
}

.menu-icon {
  font-size: 2rem;
  color: font-weight: bolder;;
  cursor: pointer;
}

p {
  padding: 0px 7px 10px 0px;
  line-height: 1.5em;
  text-indent: 20px;
}

h1, h2, h4 {
  font: normal 140% 'century gothic', arial;
  text-align: center;
  margin: 0 0 5px 0;
  padding: 10px 0 5px 0;
  color: #000;
}

h2 {
  /*font-size: 120% 'century gothic', arial;*/
  font: normal 120% 'century gothic', arial;
}

h4 {
  /*font-size: 95% 'century gothic', arial;*/
  font: normal 95% 'century gothic', arial;
}

a, a:hover {
  outline: none;
  text-decoration: none;
  /*text-decoration: underline;*/
  color: #136cb2;
}

ul {
  margin: 2px 0 22px 17px;
}

ul li {
  margin: 0 0 6px 0;
  padding: 0 0 4px 5px;
  line-height: 1.5em;
}

hr {
  border: solid 1px #f3f3f3;
  margin-right: 3%;
  margin-top: -4px;
  margin-bottom: -4px;
}

.link {
    display: inline-block;
    margin: -10px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    font-size: 1em;
    width: 100%;
    height: 20px;
}
    
.link a {
    text-decoration: none;
}

.site_content {
  background-image: url(234598488.jpg);    
  width: 880px;
  overflow: hidden;
  border-radius: 5px;
  margin: 30px auto 0 auto;
  background-color: white;
}

#sidebar_container {
  float: right;
  width: 224px;
}

.sidebar {
  float: right;
  font-size: 0.84em;
  font-family: Times New Roman;
  width: 240px;
  padding: 5% 5% 5% 2.7%;
  margin: 0px 0px 16px 0px;
  border: solid 1px #f2f2f2;
  border-radius: 5px;
  background-color: #f9f9f9;
}

.sidebar_a_ads {
  float: right;
  font-size: 1.8em;
  width: 240px;
  padding: 0% 0% 0% 0%;
  margin: 0 0 16px 0;
  border: solid 0px #f2f2f2;
  border-radius: 5px;
  background-color: #f9f9f9;
}

.sidebar_adbtc {
  float: right;
  text-align: center;
  font-size: 0.8em;
  width: 222px;
  padding: 5% 5% 5% 5%;
  margin: 0 0 16px 0px;
  border: solid 1px #f2f2f2;
  border-radius: 5px;
  background-color: #f9f9f9;
}

.sidebar h2 {
  color: #136cb2;
  font-size: 1.2em;
  font-weight: bolder;
  padding: 5px 0 0 0;
  text-align: center;
}

.sidebar p {
  line-height: 1em;
  padding: 0 0 10px 5px;
  text-indent: 0px;
  margin-top: 5px;
}

.sidebar a {
  text-decoration: none;
}

.sidebar a:hover {
  color: #aeb002;
}

.sidebar ul {
  margin: 0;
}

.sidebar ul li {
  list-style-type: none;
  margin: 0 0 0 0;
}

.sidebar .rating_sidebar {
  float: right;
}

.col {
  float: right;
}

.content {
  text-align: left;
  width: 635px;
  padding: 0 0 0 15px;
  float: left;
}

.content a {
  text-decoration: none;
  font-size: 1.035em
}

.films_block {
  margin-bottom: 5%;
}

.posts .posts_content {
  text-align: justify;
  /*margin-right: 3%;*/
  margin: 0px 0px 0px 0px;
}

.posts .posts_content a:hover {
  color: #aeb002;
}

.num {
  list-style: decimal;
}

.posts_content p {
  margin-top: 10px;
  font-size: 1.035em;
}

.posts_content ul {
}

.posts_content ul ul {
  margin-top: 10px;
  margin-bottom: -10px;
  font-size: 1em;
}

.posts_content ul ul ul {
  margin-top: 10px;
  margin-bottom: -10px;
}

/*.youtube {
  width: 600px;
  height: 340px;
  text-align: center;
  margin-top: 20px;
}*/

.center {
  text-align: center;
}

#clear {height:0; font-size: 0px; line-height:0px; clear:both;}

#footer {
  width: 100%;
  height: 180px;
  padding: 0 0 5px 0;
  text-align: center;
  background-color: #41353E;
  color: #a8aa94;
  margin-left: 0px;
  margin-right: 0px;
  min-width: 900px;
}

#footer a {
  color: #a8aa94;
  text-decoration: none;
}

#footer a:hover {
  color: #fff;
  text-decoration: none;
}

#footer p {
  padding: 0 0 10px 0;
}

@media only screen
and (min-device-width : 320px)
and (max-device-width : 568px) {
  
    header {
    background-color: rgba(0, 0, 255, 0);
    min-width: 100%;
    height: 65px;
    /*height: 20%;*/
    /*text-align: center;*/
  }
  
  .menu-icon {
    display: block;
    padding: 20px 0px 0px 0px;
  }

  .logo a {
   display: none;
  }

  .logo_mob a {
   display: block;
   font-weight: bolder;
   color: #9400d3;
   font-size: 1.55rem;
   font-family: /*cursive*/Times New Roman;
   text-decoration: none;
   margin: 0px 0px 0px 0px;
   padding: 20px 0px 0px 5px;
  }

  .menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    width: 110%;
    position: absolute;
    top: 60px;
    left: 0;
    background-color: #333;
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
  }

  .menu li {
    margin-left: 10px;
    margin-top: 10px;
  }

  .menu a {
    font-size: 1.2rem;
    color: #fff;
    text-decoration: none;
  }

  #menu-toggle:checked ~ .menu {
    display: flex;
  }

  .site_content {
    background-image: url(bricks-8.jpg);  
    width: 100%;
  }

 /* .menubar {
    width: 100%;
    height: 100%;
  }*/
  
  .content {
    width: 100%;
    text-align: center;
    padding-left: 5px;
    padding-right: 0px;
  }

  .site_content { 
    width: 100%;
    text-align: center;
  }
  
  #sidebar_container {
    display: none;
  }

  #footer {
    /*display: none;*/
    background-color: #257965;
    min-width: 100%;
    height: 138px;
    font-size: 0.65em;
    padding: 0px 0px 0px 0px;
  }
  
   #footer p {
    color: #fff;
    margin: 0px 0px 5px 0px;
    padding: 0px 0px 0px 0px;
  }
   
   #footer a {
   color: #fff;
   text-decoration: none;
  }

   #footer a:hover {
   color: #a8aa94;
   text-decoration: none;
  }

 /*ul.menu {
    float: none;
  }

  ul.menu li {
    margin: 0;
    padding: 0;
    float: none;
  }*/
  
  /*ul.menu {
    float: right;
    width: 100%;
    height: 5px;
    margin-left: auto;
    margin-right: auto;
  }

   ul.menu li {
  font-size: 0.6em;
  float: left;
  padding: 0px 5px 0px 5px;
  list-style: none;
  margin: 0px 0px 0px 2px;
}

ul.menu li a {
  font: normal 110% 'trebuchet ms', sans-serif;
  display: block;
  height: 10px;
  padding: 2px 2px 2px 2px;
  color: #fff;
  text-decoration: none;
}

  .logo h1 {
    font: normal 235% 'century gothic', arial, sans-serif;
    text-align: center;
    /*margin-top: 0px;
    padding-top: 0px;
    margin: 0px 0px 0px 0px;
  }*/
  
  /*vs 1.1*/
  
    /*.logo_text h1 {
    padding: 0px 0px 0px 0px;  
  }*/

  /*.logo h2 {
    font: normal 100% 'century gothic', arial, sans-serif;
    font-size: 0.8em;
    text-align: center;
    color: white;
    margin-left: 8px;
  }*/
  
  /*.logo h2 {
    font: normal 65% 'century gothic', arial, sans-serif;
    margin: 0px 0px 0px 0px;
    text-align: center;
    color: white;
  }
  
  .logo_text h2 {
    padding: 0px 0px 0px 0px;
    margin: -5px 0px 0px 0px;
    color: white;
  }*/
  
  .link {
    margin: 5px 0px 0px 0px;
    padding: 0px 0px 0px 0px;
    display: block;
    font-size: 0.8em;
    width: 100%;
    height: 30px;
  } 
  
  .link a {
    text-decoration: none;
  }

  /*.content h1 {
    font: normal 105% 'century gothic', arial;
    font-weight: normal;
    text-align: center;
  }

  .content h2 {
    font: normal 100% 'century gothic', arial;
    font-weight: normal;
    margin-left: 3%;
    text-align: center;
  }*/
  
  .content h1 {
    font: normal 130% 'century gothic', arial;
    font-weight: 600;
    margin-top: 5px;
    padding-top: 15px;
    padding-bottom: 0px;
    padding-left: auto;
    padding-right: auto;
    margin-right: 3%;
    text-align: center;
  }

  .content h2 {
    font: normal 95% 'century gothic', arial;
    font-weight: 600;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    /*margin-left: 3%;*/
    text-align: center;
  }
  
    .content h4 {
    font: normal 80% 'century gothic', arial;
    font-weight: 600;
    margin-top: 0px;
    margin-bottom: 0px;
    padding-top: 0px;
    padding-bottom: 0px;
    /*margin-left: 3%;*/
    text-align: center;
  }

  .films_block img {
    width: 43%;
  }
  
  .posts p {
    font-size: 0.8em;
  }

  .posts_content p {
    line-height: 1.3em;
    font-size: 1.05em;
    padding: 2% 2% 2% 2%;
    padding-right: auto;
    padding-left: auto;
    text-align: justify;
    text-indent: 10px;
    margin-top: 0px;
    margin-right: auto;
    margin-left: auto;
  }
  
  hr {margin: -4px 4px -4px 0;
  }
  
  .posts_content ul {
    text-align: left;
    font-size: 1.0em;
  }
  
  .posts_content ul ul {
    margin-top: 10px;
    font-size: 1.0em;
    text-align: left;
    margin-bottom: -10px;
  }

  .posts_content ul ul ul {
    margin-top: 10px;
    text-align: left;
    margin-bottom: -10px;
  }

  .youtube {
  display: none;     
  /*width: 310px;
  height: 176px;
  text-align: center;
  padding-left: 20px;
  margin-top: 10px;
  margin-bottom: 15px;
  -webkit-overflow-scrolling: touch;
  overflow-y: scroll;*/
  /*new*/
  /*position: relative;  
  height: 186px;
  width:   100%;
  margin-top: 10px;
  margin-bottom: 20px;*/
}

  /*.youtube iframe {
  width: 98%;
  height: 98%;
  text-align: center;*/
  /*display: block;
  position: absolute;
  top: 0;
  bottom: 0;
  left:   0;
  right:  0;
  width:  100px;
  min-width:  100%;
  height: 100px;
  min-height: 100%;
  }*/

/*@media 
(min-device-width: 375px) and (max-device-width: 667px) {
@media 
(min-device-width: 360px) and (max-device-width: 740px) {*/

}
