.custom-container {
  margin: 0 auto;
  max-width: 1280px;
  width: 90%;
}

.dash {
  padding-left: 300px;
}

.login-subcontainer {
  max-width: 450px;
}

.subnav {
  width: 100%;
  background-color: #eee;
  color: #8b2143;
  padding-top: 5px;
}

.inline-block {
  display: inline-block;
  padding-right: 5px;
  padding-left: 5px;
  font-size: 20px;
}

.zero-padding {
  padding: 0px 0px 0px 0px !important;
}

.zero-margin {
  margin: 0px 0px 0px 0px !important;
}

.smallish {
  font-size: 0.75rem !important;
}

.mediumish {
  font-size: 1rem !important;
}

.top-margin-mediumish {
  margin-top: 30px;
}

.custom-logo {
  height: 58px !important;
  margin-bottom: auto;
  margin-top: auto;
}

nav .brand-logo {
  height: 100%;
  display: -webkit-box !important;
  display: flex !important;
}

nav .gradient {
  background-image: -webkit-gradient(linear, left top, left bottom, from(#8b2143), to(#01293e)) !important;
  background-image: linear-gradient(to bottom, #8b2143, #01293e) !important;
}

nav ul a {
  color: #eee;
}

.bg-primary {
  background-color: #8b2143 !important;
}

.bg-secondary {
  background-color: #01293e !important;
}

.bn-title {
  font-size: 0px;
  color: #000;
}

.strange {
  color: #ff642c;
}

.primary {
  color: #eee;
}

.secondary {
  color: #bbb;
}

.primary-contrast {
  color: #8b2143 !important;
}

.secondary-contrast {
  color: #01293e !important;
}

.page-footer {
  background-color: #01293e;
}

.basic-grid {
  grid-template-rows: auto;
  display: grid;
}

.important {
  grid-template-columns: 1fr;
  grid-template-areas: "column-a " "column-b";
  grid-row-gap: 15px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.important-child-1 {
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "latest-1 latest-2";
  grid-column-gap: 10px;
}

.important-child-2 {
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "latest-1 latest-2";
  grid-column-gap: 10px;
}

.important-child-article {
  grid-template-columns: 1fr 336px;
  grid-template-areas: "latest-1 latest-2";
  grid-column-gap: 80px;
}

.column-a {
  grid-area: column-a;
}

.column-b {
  grid-area: column-b;
}

.latest-1 {
  grid-area: latest-1;
}

.latest-2 {
  grid-area: latest-2;
}

.latest-3 {
  grid-area: latest-3;
}

.category-header {
  border-bottom-width: 2px;
  border-bottom: #8b2143;
  border-style: none none solid none;
}

.over-item {
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.image-raport {
  padding-top: 56.25%;
  position: relative;
}

.image-content {
  -webkit-transition: background 2s linear;
  -webkit-transition: background 1s linear;
  transition: background 1s linear;
  padding-right: 5%;
  padding-left: 5%;
  padding-bottom: 2%;
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(56, 71, 105, 0.3)));
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(56, 71, 105, 0.3));
}

.image-content h6 {
  font-size: 1.12rem;
  color: #eee !important;
}

.image-content h6:hover {
  font-size: 1.12rem;
  color: #eee !important;
}

.image-content p {
  margin-top: 0px;
  font-size: 10px !important;
  color: #bbb;
}

.image-content .badge {
  color: #eee !important;
}

.image-content:hover {
  background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(56, 71, 105, 0.5)));
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(56, 71, 105, 0.5));
}

.full {
  height: 100%;
  width: 100%;
}

.image-container {
  display: -webkit-box;
  display: flex;
  min-height: 100%;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
}

.push-bottom {
  display: -webkit-box;
  display: flex;
  -webkit-box-flex: 1;
          flex: 1 0 auto;
}

.category {
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-template-areas: "s1 s2 s3 s4";
  grid-column-gap: 10px;
  grid-row-gap: 15px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.category-element img {
  width: 100%;
  padding-bottom: 56.25%;
  background-position: center;
  background-size: cover;
}

.category-element p {
  font-size: 0.85rem;
  text-align: justify;
}

.category-element a h6 {
  font-size: 1.12rem;
  color: #0b162a !important;
}

.category-element a h6:hover {
  font-size: 1.12rem;
  color: #01293e !important;
}

.category-1 {
  grid-area: s1;
}

.category-2 {
  grid-area: s2;
}

.category-3 {
  grid-area: s3;
}

.category-4 {
  grid-area: s4;
}

@media (max-width: 1279px) {
  .image-content .inline-block {
    font-size: 17px;
  }

  .custom-container {
    max-width: 1024px;
  }

  .important {
    grid-template-columns: 2fr 2fr;
    grid-template-areas: "column-a column-b";
    grid-column-gap: 10px;
  }

  .important-child-1 {
    grid-template-columns: 1fr;
    grid-template-areas: "latest-1" "latest-2";
    grid-row-gap: 15px;
  }

  .important-child-2 {
    grid-template-columns: 1fr;
    grid-template-areas: "latest-1" "latest-2";
    grid-row-gap: 15px;
  }

  .image-content a h6 {
    font-size: 0.9rem;
  }

  .image-content a h6:hover {
    font-size: 0.9rem;
  }

  .image-content p {
    margin-top: 0px;
    font-size: 10px !important;
    color: #bbb;
  }

  .image-content .badge {
    color: #eee !important;
  }
}

@media (max-width: 992px) {
  .dash {
    padding-left: 0px;
  }

  .important-child-article {
    grid-template-columns: 1fr 300px;
  }
}

@media (max-width: 768px) {
  .ads-mobile {
    display: none;
  }

  .image-content p {
    display: none;
  }

  .image-content .inline-block {
    font-size: 13px;
  }

  .category {
    grid-template-columns: 1fr;
    grid-template-areas: "s1" "s2" "s3" "s4";
  }

  .category-element p {
    display: none;
  }

  .important {
    grid-template-columns: 1fr;
    grid-template-areas: "column-a" "column-b";
    grid-column-gap: 10px;
  }

  .important-child-1 {
    grid-template-columns: 1fr;
    grid-template-areas: "latest-1" "latest-2";
    grid-column-gap: 10px;
  }

  .important-child-2 {
    grid-template-columns: 1fr;
    grid-template-areas: "latest-1" "latest-2";
    grid-column-gap: 10px;
  }

  .important-child-article {
    grid-template-columns: 1fr;
    grid-template-areas: "latest-1" "latest-2";
    grid-column-gap: 10px;
  }

  h1 {
    font-size: 60px;
    font-weight: normal;
  }
}

@media (max-width: 400px) {
  .category {
    grid-template-columns: 1fr;
    grid-template-areas: "s1" "s2" "s3" "s4";
  }
}

body {
  display: -webkit-box;
  display: flex;
  min-height: 100vh;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
          flex-direction: column;
}

.main {
  -webkit-box-flex: 1;
          flex: 1 0 auto;
}

.over-item-article {
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.metadata {
  margin-bottom: 0;
  overflow: hidden;
  position: relative;
  font-family: Helvetica Neue, Helvetica, Arial, Utkal, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
  padding-bottom: 20px;
}

.category-article {
  grid-template-columns: 1fr;
  grid-template-areas: "s1";
  grid-column-gap: 10px;
  grid-row-gap: 15px;
  margin-top: 30px;
  margin-bottom: 30px;
}

/*Comment Section*/

.comment-section {
  list-style: none;
  max-width: 800px;
  width: 100%;
  margin: 50px auto;
  padding: 10px;
}

.comment {
  display: -webkit-box;
  display: flex;
  border-radius: 3px;
  margin-bottom: 45px;
  flex-wrap: wrap;
}

.comment.user-comment {
  color: #384769;
}

.comment.author-comment {
  color: white;
  -webkit-box-pack: end;
          justify-content: flex-end;
}

/* User and time info */

.comment .info {
  width: 17%;
}

.comment.user-comment .info {
  text-align: right;
}

.comment.author-comment .info {
  -webkit-box-ordinal-group: 4;
          order: 3;
}

.comment .info a {
  /* User name */
  display: block;
  text-decoration: none;
  color: #656c71;
  font-weight: bold;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  padding: 10px 0 3px 0;
}

.comment .info span {
  /* Time */
  font-size: 11px;
  color: #9ca7af;
}

/* The user avatar */

.comment .avatar {
  width: 8%;
}

.comment.user-comment .avatar {
  padding: 10px 18px 0 3px;
}

.comment.author-comment .avatar {
  -webkit-box-ordinal-group: 3;
          order: 2;
  padding: 10px 3px 0 18px;
}

.comment .avatar img {
  display: block;
  border-radius: 50%;
}

.comment.user-comment .avatar img {
  float: right;
}

/* The comment text */

.comment p {
  line-height: 1.5;
  padding: 18px 22px;
  width: 50%;
  position: relative;
  word-wrap: break-word;
}

.comment.user-comment p {
  background-color: #D3D3D3;
}

.comment.author-comment p {
  background-color: #384769;
  -webkit-box-ordinal-group: 2;
          order: 1;
}

.user-comment p:after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 2px solid #f3f3f3;
  left: -8px;
  top: 18px;
}

.author-comment p:after {
  content: "";
  position: absolute;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 2px solid #e2f8ff;
  right: -8px;
  top: 18px;
}

#comment-submit {
  background-color: #384769;
}

/* Comment form */

.write-new {
  margin: 80px auto 0;
  width: 50%;
}

.write-new textarea {
  color: #444;
  font: inherit;
  outline: 0;
  border-radius: 3px;
  border: 1px solid #cecece;
  background-color: #fefefe;
  box-shadow: 1px 2px 1px 0 rgba(0, 0, 0, 0.06);
  overflow: auto;
  width: 100%;
  min-height: 80px;
  padding: 15px 20px;
}

.write-new img {
  border-radius: 50%;
  margin-top: 15px;
}

.write-new button {
  float: right;
  background-color: #87bae1;
  box-shadow: 1px 2px 1px 0 rgba(0, 0, 0, 0.12);
  border-radius: 2px;
  border: 0;
  color: #ffffff;
  font-weight: bold;
  cursor: pointer;
  padding: 10px 25px;
  margin-top: 18px;
}

/* Responsive styles */

@media (max-width: 768px) {
  .comment p {
    width: 100%;
  }

  .comment.user-comment .info {
    -webkit-box-ordinal-group: 4;
            order: 3;
    text-align: left;
  }

  .comment.user-comment .avatar {
    -webkit-box-ordinal-group: 3;
            order: 2;
  }

  .comment.user-comment p {
    -webkit-box-ordinal-group: 2;
            order: 1;
  }

  .comment.author-comment {
    -webkit-box-pack: start;
            justify-content: flex-start;
  }

  .comment-section {
    margin-top: 10px;
  }

  .comment .info {
    width: auto;
  }

  .comment .info a {
    padding-top: 15px;
  }

  .comment.user-comment .avatar,
  .comment.author-comment .avatar {
    padding: 15px 10px 0 18px;
    width: auto;
  }

  .comment.user-comment p:after,
  .comment.author-comment p:after {
    width: 12px;
    height: 12px;
    top: initial;
    left: 28px;
    bottom: -6px;
  }

  .write-new {
    width: 100%;
  }

  .custom-logo {
    height: 48px !important;
  }
}

.marginBagde {
  display: inline;
  float: none;
}

.badge:after {
  content: "" !important;
}

.drop-here {
  margin-top: 30px;
}

.btn,
.btn-small,
.btn-large {
  background-color: #8b2143;
}

.btn:hover,
.btn-small:hover,
.btn-large:hover {
  background-color: #8b2143;
}

.bg-secondary {
  background-color: #8b2143 !important;
}

.page-footer {
  background-color: #8b2143;
}

input:not([type]):focus:not([readonly]),
input[type=text]:not(.browser-default):focus:not([readonly]),
input[type=password]:not(.browser-default):focus:not([readonly]),
input[type=email]:not(.browser-default):focus:not([readonly]),
input[type=url]:not(.browser-default):focus:not([readonly]),
input[type=time]:not(.browser-default):focus:not([readonly]),
input[type=date]:not(.browser-default):focus:not([readonly]),
input[type=datetime]:not(.browser-default):focus:not([readonly]),
input[type=datetime-local]:not(.browser-default):focus:not([readonly]),
input[type=tel]:not(.browser-default):focus:not([readonly]),
input[type=number]:not(.browser-default):focus:not([readonly]),
input[type=search]:not(.browser-default):focus:not([readonly]),
textarea.materialize-textarea:focus:not([readonly]) {
  border-bottom: 1px solid #8b2143;
  box-shadow: 0 1px 0 0 #8b2143;
}

input:not([type]):focus:not([readonly]) + label,
input[type=text]:not(.browser-default):focus:not([readonly]) + label,
input[type=password]:not(.browser-default):focus:not([readonly]) + label,
input[type=email]:not(.browser-default):focus:not([readonly]) + label,
input[type=url]:not(.browser-default):focus:not([readonly]) + label,
input[type=time]:not(.browser-default):focus:not([readonly]) + label,
input[type=date]:not(.browser-default):focus:not([readonly]) + label,
input[type=datetime]:not(.browser-default):focus:not([readonly]) + label,
input[type=datetime-local]:not(.browser-default):focus:not([readonly]) + label,
input[type=tel]:not(.browser-default):focus:not([readonly]) + label,
input[type=number]:not(.browser-default):focus:not([readonly]) + label,
input[type=search]:not(.browser-default):focus:not([readonly]) + label,
textarea.materialize-textarea:focus:not([readonly]) + label {
  color: #8b2143;
}

.custom-active {
  font-size: 20px;
  color: white;
  padding: 0 10px;
}

ul.share-buttons {
  list-style: none;
  padding: 0;
  display: -webkit-box;
  display: flex;
}

ul.share-buttons li {
  display: inline;
  padding: 0 3px;
}

ul.share-buttons .sr-only {
  position: absolute;
  clip: rect(1px 1px 1px 1px);
  clip: rect(1px, 1px, 1px, 1px);
  padding: 0;
  border: 0;
  height: 1px;
  width: 1px;
  overflow: hidden;
}

.input-field input[type=search] {
  padding-left: 50px;
}

.excerpt-style {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 5px;
  color: white;
}

.excerpt-style-second {
  max-width: 250px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

