body, button, input, select, option, textarea {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 26px;
  font-family: 'Source Sans Pro', sans-serif;
  color: #454545;
}

img {
  max-width: 100%;
}

html {
  box-sizing: border-box;
}
*, *:before, *:after {
  box-sizing: inherit;
}

.article__text img {
  margin: 8px auto;
  display: block;
}

.article__text p {
  margin-bottom: 0;
}

a {
  color: #000;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a.current {
  display: inline-block;
  padding: 0 3px;
  background-color: #E0E0E0;
  cursor: auto;
}

a.current:hover {
  text-decoration: none;
}

li {
  list-style-type: none;
}

ul {
   margin: 0px 0 16px 0;
   padding-left: 0;
}

main {
  display: flex;
  margin: 0 auto;
  max-width: 1170px;
  width: 100%;
  min-height: 350px;
  justify-content: space-between;
}

input, textarea, select {
  background: #f0f0f0;
  border: 0;
  border-radius: 0;
  padding: 15px;
  resize: none;
  width: 100%;
  margin-left: 0;
  margin-right: auto;
}

select {
  width: auto;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
}

textarea {
  line-height: 1.1em
}

.article__text blockquote, .article__text quote {
  display: block;
  color: #888888;
  font-style: italic;
  border: 0;
  margin-top: -14px;
  position: relative;
  text-align: left;
  padding: 11px 0 0 43px;
  margin-bottom: 22px;
  font-size: 16px;
  line-height: 30px;
  background: url('../img/icons/blockquote-img.png') no-repeat 5px 8px;
}

.container-wrap {
  margin: 0 15px;
}

.input-wrap, .textarea-wrap {
  margin-bottom: 1.5em;
}

.head {
  margin-bottom: 10px;
  /* position: fixed;
  width: 100%;
  background: #f8f8f8;
  */
}

.top {
  padding: 18px 0;
  margin: 0 auto;
  max-width: 1170px;
  display: flex;
  flex-flow: wrap;
  justify-content: space-between;
  align-items: baseline;
  min-height: 150px;
}


.top__logo {
  min-width: 320px;
  padding-left: 25px;
  color: #000000;
}

.top__logo a {
  font-family: 'Goldman', cursive;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 24px;
  font-weight: 600;
}

.top__logo a:hover, .bottom a:hover {
  text-decoration: none;
}



.top__navigation-links li {
  padding-left: 35px;
  display: inline;
}

.top__navigation-links a,
.top__navigation-links a:visited {
  display: inline-block;
  font-size: 14px;
  height: 28px;
  color: #1b1b1b;
  padding-bottom: 9px;
  text-transform: uppercase;
  text-decoration: none;
  box-sizing: border-box;
}

.top__navigation-links a:hover {
  border-bottom: 1px solid black;
}

.top__notification {
  width: 100%;
  text-align: left;
  font-size: 16px;
  padding: 0 25px;
  font-weight: 500;
  color: #ff0000;
}

.menu__right {
  width: 280px;
  background-color: #f8f8f8;
  padding: 18px 24px;
  margin-bottom: 12px;
}


.menu__text {
  margin-top: 5px;
  line-height: 26px;
  font-size: 14px;
  font-family: 'Raleway', sans-serif;
}

.menu__sub {
  margin-bottom: 32px;
}

.article__title {
  padding-right: 20px;
}

.article__date {
  line-height: 20px;
  color: #8C8C8C;
  margin-bottom: 15px;
  font-weight: 300;
}

h1 {
  font-size: 32px;
  line-height: 34px;
  font-weight: 600;
  color: #000000;
}

h2 {
  font-size: 24px;
  line-height: 28px;
  font-weight: 500;
  color: #000000;
}

.article__container {
  padding-bottom: 30px;
  border-bottom: 1px solid #ededed;
}

.button {
  font-size: 16px;
  line-height: 30px;
  color: #454545;
  background: #f0f0f0;
  width: auto;
  display: block;
  border: 0px;
  margin: auto;
  margin-bottom: 38px;
  padding: 6px 18px;
  text-align: center;
  text-decoration: none;
  font-family: 'Source Sans Pro', sans-serif;
  min-width: 300px;
}

.button:hover {
  background: #333333;
  color: #fff;
  text-decoration: none;
}

.article__text.preview p:after{
  content: '...';
}

.article__text {
  line-height: 30px;
}

.article__text ul li {
  list-style: disc;
}

.article__text ul, .article__text ol {
  padding-left: 50px;
}

.article__text ol li::marker{
  font-weight: 600;
}

.article__text ol li {
  list-style:decimal;
}

.article__meta-data-caption {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
  padding-top: 10px;
}

.bottom {
  background: #f8f8f8;
  padding-top: 50px;
  padding-bottom: 60px;
}

.copyrights {
  width: 100%;
  text-align: center;
}

.pagination__page-links li {
  display: inline;
  margin-right: 12px;
}

.pagination__page-links a {
  color: #454545;
  font-size: 14px;

}

.copyrights a {
  color: #bdbdbd;
  font-size: 14px;
  line-height: 30px;
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
}

.article__comment-form .button {
  max-width: 250px;
  text-transform: uppercase;
}


.article__comment-form textarea {
  height: 10.7em;
}

.article__related {
  margin-top: 12px;
  margin-bottom: 25px;
}

.red {
  color: red;
}

.article__related-title, .menu__title,.article-comments__title, .article__comment-form__title {
  text-transform: uppercase;
  color: #000000;
  letter-spacing: 2px;
  font-weight: 600;
  border-top: 1px solid #ededed;
  padding-top: 20px;
  padding-bottom: 8px;
}

.article__keywords {
  margin-top: 10px;
  display: flex;
  flex-flow: wrap;
  align-items: baseline;
}

.article__keywords-title {
  text-transform: uppercase;
  color: #000000;
  letter-spacing: 1px;
  font-weight: 600;
  margin-right: 10px;
}

.article__related-list li {
  max-width: 700px;
  display: block;
  padding: 4px 0;
}

.article__keywords-list a {
  display: inline-block;
  padding: 2px 5px 2px 15px;

  font-size: 14px;
  font-style: italic;
  font-family: 'Raleway', sans-serif;

}

.article__keywords-list a:hover {
  background: #333333;
  color: #fff;
  text-decoration: none;
}

.article__keywords-list a::before {
  content: '#';
  position: absolute;
  margin-left: -10px;
}

@media (max-width: 900px) {
  .page {
    flex-flow: wrap;
  }

  /* .menu {
    order: 1;
  }

  .content {
    order: 2;
  } */

  .menu__right {

    width: 100%;
    display: flex;
    flex-flow: wrap;
    justify-content: space-between;
  }

  .menu__sub {
    min-width: 50%;
  }

}
@media (max-width: 576px) {

  .top__navigation-links li {
    min-width: 300px;
    display: block;
  }
}

.help-block-error {
  color: red;
  margin: 0;
}

.content-align-center {
  margin: 0 auto;
}

.article-edit-form {
  width: 100%;
  min-width: 760px;
}

.article-edit-form textarea {
  min-height: 20rem;
}

.article-edit-form textarea, input {
  width: 100%;
}

.article-edit-form input[type=file] {
  display: none;
}

.text-editor-panel {
  display: flex;
  justify-content: flex-end;
}

.text-editor-panel .text-editor-icons {
  background: #f0f0f0;
  display: flex;
  padding: 0;
  border-style: solid;
  border-width: 1px;
  border-color: #848484;
}

.text-format-icon {
  display: inline-block;
  width: 26px;
  height: 26px;
  border-style: dotted;
  border-width: 0px 1px 0px 0px;
  border-color: #848484;
  padding: 3px;
  margin-right: 0 !important;
  margin-left: -1px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.text-format-icon:hover {
  padding: 1px;
}

.empty-list {
  padding: 25px 0;
  text-align: center;
  font-size: 18px;
}

.articles {
  width: 100%;
}

.article-comments {
  margin-bottom: 20px;
}

.article-comment__username {
  font-weight: 600;
  font-size: 16px;
}

.article-comment__date {
  font-weight: 500;
  font-size: 14px;
  display: inline-block;
  margin-left: 10px;
}

.article-comment {
  background-color: #f8f8f8;
  padding: 10px 15px;
  margin: 8px 0;
  border-left: 1px solid #B5B5B5;

}

.article-comment__text {
  letter-spacing: 1px;
}

.manifest {
  max-width: 900px;
  margin: 0 auto;
}

.button-wrapper {
  margin: 30px 0;
}

.content-table {
  margin: 30px 0 40px;
}

.content-table__row {
  display: flex;
  justify-content: flex-start;
  padding: 6px 0;
  align-items: center;
}

.table-list__users form {
  display: flex;
  align-items: center;
}

.content-table__col {

}

.content-table__col:not(:last-child) {
  margin-right: 15px;
}

.table-list__users .content-table__col:nth-child(1) {
  width: 50px;
}

.table-list__users .content-table__col:nth-child(2) {
  width: 160px;
  font-weight: 600;
}

.table-list__users .content-table__col:nth-child(3) {
  width: 180px;
}

.table-list__users .content-table__col:nth-child(4) {
  width: 150px;
}

.table-container {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}
