/*

https://www.color-hex.com/color/6c757d

*/

body {
  background: url("https://anecdot.nazabore.info/images/img01.jpg");
  background-color: #b5ca89;
}
.an-header, .an-footer {
  background: url("https://anecdot.nazabore.info/images/img02.jpg");
  color: white;

}
.an-header .display-4 {
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.4);
  font-size: 2.5rem;
}
.an-header a {
  color: white;
  text-decoration: none;
}

.an-page {
  background: white;
}

.an-header nav {
    background: rgba(215, 215, 215, .15);
    border-top: 2px solid rgba(215, 215, 215, .08);
}
.an-header nav ul {
    list-style-type: none;
    margin: 0;
    padding: 2px 0 5px 0;
}

.an-header nav li {
    display: inline;
    margin-right: 10px;
    /*Text-Transform: uppercase;*/
}

.an-header nav li a {
    text-shadow: 1px 1px 1px black;
}
.an-header nav li a:hover {
    text-shadow: 1px 1px 1px black, 0 0 4px white;
}
.an-header nav li.active a {
   text-shadow: 1px 1px 1px black, 0 0 4px white, 0 0 4px white;
}


/* Оформление статьи */
.an-post {
  padding-bottom: 15px;
  margin-bottom: 15px;
  border-bottom: 1px solid #E7EBED;
}

.an-post header a, .an-post header a:hover, .an-post header a:visited {
    text-decoration: none;
    color: #40464b; /*#6c757d;*/
}

/* Последняя статья в списке */
.an-post:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Подвал */
.an-footer {

}

.an-footer a {
    color: white;
}

/* В редакторе */
#nav-tabContent {
    border-left: 1px solid #dee2e6;
    border-bottom: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
    padding: 15px 5px;
}

/* Для устройств по ширине менее 576 */
@media (max-width: 575.98px) {
    .an-header {
        padding-top: 10px;
    }
    .an-header .display-4 {
      text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.4);
      font-size: 1.8rem;
    }
    .an-header p {
        margin-bottom: 10px;
    }

    .an-post-title {

        font-size: 1.8rem;
    }
}

/* Для устройств по ширине от 576 */
@media (min-width: 576px) {
  .an-header {
    border-radius: 0 0 4px 4px;
  }
  /*.an-page {*/
    /*border-radius: 4px;*/
  /*}*/
  .an-footer {
    border-radius: 4px 4px 0 0;
  }
}


/*Material Icons*/
.material-icons-new {
    display: inline-block;
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: contain;
}

.icon-white {
    webkit-filter: contrast(4) invert(1);
    -moz-filter: contrast(4) invert(1);
    -o-filter: contrast(4) invert(1);
    -ms-filter: contrast(4) invert(1);
    filter: contrast(4) invert(1);
}

.nav-item .material-icons {
    position: relative;
    top: 6px;
    line-height: 0;
}
.btn .material-icons {
    height: 0em;
    font-size: 18px;
    /*Для нормального отображения на кнопках в Bootstrap */
    position: relative;
    /*Относительная позиция */
    top: 4px;
    /*Отступ от края */
    line-height: 0;
    /*Минимальная высота строки */
    z-index: 1;
    /*Поверх всех элементов */
}

.material-icons-sm {
    font-size: 18px;
    position: relative;
    top: 3px;
}

/* Pagination */
.an-pagination-top {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}
.page-item {
    margin-right: 4px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.1)
}
.page-item:last-child {
    margin-right: 0;
}
.page-item.active .page-link {
    background-color: #c0c0c0;
    border-color: rgba(0, 0, 0, 0.2);
    text-shadow: 1px 1px rgba(0, 0, 0, 1);
}
.page-link {
    color: #717171;
    line-height: 1;
    font-size: 0.8rem;
    /*font-weight: bold;*/
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 1);
    border: solid 1px #c0c0c0;
    padding: .5rem .75rem;
    background: #e9e9e9;

}
.page-link:hover {
    color: #717171;
    border: solid 1px #c0c0c0;
}
.page-link:focus {
    box-shadow: none;
}


/* Debug mode */
.an-debug-mode {
    border: 1px solid rgba(0, 0, 0, .1);
    background-color: #5f5f5f;
    box-shadow: 0 0 5px rgba(0, 0, 0, .5);
    color: #f1f1f1;
    font-family: 'Anonymous Pro', monospace;
    text-shadow: 1px 1px 3px black;
    background: url("https://img0.liveinternet.ru/images/attach/c/8/102/663/102663482_006.jpg");
}

.an-debug-mode pre {
    color: #f1f1f1;
    border-radius: 6px;
    font-family: 'Anonymous Pro', monospace;
    background: rgb(60, 60, 60);
    background: rgba(60, 60, 60, .8);
}