body{
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  background-color: #efe;
  padding: 20px;
}

nav, 
section.full,
.articles-item{
  background-color: #fff;
  border-radius: 7px;
}

.cover{
  width: 100%;
}

p{
  font-family: "Signika Negative", arial;
}

a{
  color: #686;
}

h3{
  font-size: 18px;
}

a:hover{
  color: #aca;
  text-decoration: none;
}

.logo{
  margin: 10px 30px 10px 30px;
  font-size: 28px;
  font-family: 'Righteous', cursive;
}

.logo i{
  margin-right: 10px;
}

.logo a{
  color: #6b6;
}
.logo a:hover{
  text-decoration: none;
  color: #7c7;
}


.logo:hover a i{
  text-shadow: 0 0 10px #ec5, 0 0 30px #ec5, 0 0 50px #ec5;
  transition: text-shadow 1s;
}

#main-article{
  padding: 15px;
  height: 430px;
  color: #fff;  
}

.main-article-cover{
  background-size: cover;
  background-position: center;
  width: 100%;
  height: 100%;
  max-height: 400px;
  background-color: #ccc;
}

#main-article .articles-menu-item{
  width: calc(100% - 30px);
  height: 100px;
  padding: 20px;
  cursor: pointer;
  border-bottom: 1px solid #aaa;
}

#main-article .articles-menu-item:before{
  background-color: #333;
  opacity: 0.8;
  width: calc(100% - 30px);
  height: 100px;
  position: absolute;
  content: "";
  z-index: 1;
  margin: -20px;  
}

#main-article .articles-menu-item:hover:before,
#main-article .articles-menu-item.active:before{
  background-color: #454;
  opacity: 0.9;
  transition: all 0.5s;
}

#main-article .articles-menu-item > *{
  z-index: 10;
  position: relative;
}

#main-article a{
  color: #afa;
}

#main-article a:hover{
  text-decoration: underline;
}

#main-article .articles-menu-content{
  padding: 240px 30px 10px 50px;
  width: calc(100% - 50px);  
}

#main-article .article-data-rating{
  display: none;
}

#main-article .articles-menu-content:before{
  position: absolute;
  background-image: linear-gradient(to top, rgba(50,50,50,1), rgba(50,50,50,0));
  width: calc(100% + 1px);
  height: 225px;
  margin: -65px 0px 0px -35px;
  content: "";
  z-index: 1;
}

#main-article .articles-menu-content *{
  z-index: 100;
  position: relative;
}

#main-article a h2{
  color: #fff;
}

#main-article a:hover,
#main-article a:hover h2{
  color: #7c7;
  text-decoration: none;
  transition: color 0.5s;
}

nav ul.nav{
  margin: 0 0 30px 30px;
}

nav ul.nav li{
  cursor: pointer;
  margin-top: 15px;
}

nav > ul.nav > li{
  text-transform: uppercase;
}

nav > ul.nav  ul.nav-extended{
  text-transform: none;
  padding-bottom: 10px;
  margin-bottom: 0px;
}

nav ul.nav li:hover{
  color: #5a5;
  transition: color 0.3s;
}

nav ul.nav li i{
  font-size: 16px;
  margin-right: 14px;
  width: 16px;
  text-align: center;
}

nav ul.nav .nav-extended{
  display: none;
}

.articles-item{
  padding: 15px;
  margin-top: 20px;
}

.articles-item:last-child{
  margin-bottom: 20px;
}

.articles-item img{
  width: 100%;
  max-height: 200px;
  height: auto;
  object-fit: cover;
}

.articles-item .articles-item-info{
  margin: 10px 0;
  color: #aaa;
  font-size: 12px;
}

.articles-item .articles-item-description{
  font-size: 14px;
  margin-bottom: 10px; 
}

.articles-item h3{
  margin: 10px 0;
}

.articles-item .text-link{
  color: #6b6;
}

section.text-content{
  margin-top: 20px;
  padding: 15px;
}

section.text-cover{
  margin-top: 20px;
  padding: 0px;
  overflow: hidden;
  text-align: center;
}

section.text-cover img{
  width: 100%;
  text-align: center;
  margin: 0 auto;
}

.no-margin{
  margin: 0px !important;
}

.search-form{
  margin-top: -10px;
}

#main-bar a.nav-link{
  padding: 0px 10px;
  margin: 0px;
}

#article .article-info{
  letter-spacing: 2px;
  color: #aaa;
}

#article h1{
  margin: 20px 0;
}

#article img{
  width: 80%;
  margin: 10px 10%;
}

#article .article-description img{
  width: 50%;
  min-height: 200px;
  max-height: 500px;
  display: block;
  background-color: #aaa;
  float: left;
  margin: 0 10px 10px 0;
}

#article .article-content .step{
  margin-top: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
  clear: left;  
  min-height: 70px;
}

#article .article-content .step p:first-child{
  margin-top: 20px;
}

#article .article-content .step .number{
  display: block;
  border: 2px solid #afa;
  border-radius: 100px;
  width: 50px;
  height: 50px;
  float: left;
  text-align: center;
  vertical-align: middle;
  font-size: 20px;
  padding: 7px 0 0 5px;
  color: #6b6;
  margin: 10px;
}

#article .article-content h3{
  margin-top: 20px;
}

#article .article-content h1,
#article .article-content h2,
#article .article-content h3{
  clear: left;
}

#article .article-description a,
#article .article-content a,
#article .article-footer a{
  text-decoration: underline;
}

footer{
  width: calc(100% + 40px);
  background-color: #fff;
  margin: 20px -20px -20px -20px;
  padding: 20px;
}

footer .footer-nav{
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

footer .nav{
  margin: 0 auto;
  width: 550px;
}

.invalid-feedback{
  display: block;
}
