:root {
  /* Monochrome Brand Colors */
  --color-cobalt-gray: #3a3e46;
  --color-upspace-gray: #4a576f;
  --color-natural-white: #f8fbef;
  --color-pure-white: #ffffff;

  /* Primary Brand Colors */
  --color-natural-green: #85c44c;

  /* Secondary Brand Colors */
  --color-soft-blue: #97b6f0;
  --color-field-green: #6b8555;
  --color-brick-red: #f8fbef;

  /* Typography */
  --font-heading-size: 36px;
  --font-subheading-size: 18px;
  --font-body-size: 12px;
  --font-family-primary: "Raleway", sans-serif;

  /* Legacy Variables (for compatibility) */
  --primary: var(--color-upspace-gray);
  --text-default: var(--color-cobalt-gray);
  --text-muted: #737373;
  --background: var(--color-pure-white);
}

html,
body {
  background-color: var(--background);
  color: var(--text-default);
  font-family: var(--font-family-primary);
}

a,
a:hover {
  color: inherit;
  text-decoration: none;
}

.section-title {
  font-family: var(--font-family-primary);
  color: var(--text-default);
  font-size: var(--font-heading-size);
  font-weight: bolder;
}

.section-text {
  font-family: var(--font-family-primary);
  color: var(--text-muted);
  font-size: var(--font-body-size);
  font-weight: normal;
  width: 50%;
  display: inline-block;
}

.accordion-button {
  color: var(--text-muted);
}

.accordion-button:not(.collapsed) {
  background-color: var(--color-natural-white);
  color: var(--text-default);
}

.accordion-button:focus {
  box-shadow: 2px 2px 4px 0 rgb(219 219 219);
  border-color: #d7d7d7;
}

.logo img {
  height: 50px;
  width: auto;
}

#firstSection {
  background-image: url("/static/themes/bezbedni-novinari/background.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: auto;
}

#firstSectionp {
  color: #737373;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
}

#firstSection h3 {
  font-size: 36px;
  font-family: "Martel", serif;
  color: #252b42;
  font-weight: bold;
}

#firstSection h3 > span {
  font-size: 44px;
  font-weight: bolder;
}

#firstSection p:first-of-type {
  font-family: var(--font-family-primary);
  color: var(--text-muted);
  font-size: var(--font-subheading-size);
  margin-bottom: 15%;
  margin-top: 10px;
  line-height: 1.4;
}

#firstSection .select {
  background-color: var(--color-natural-white);
  width: 100%;
  display: inline-block;
  padding: 20px 20px 15px;
  border-radius: 10px;
  box-shadow: 2px 2px 4px 2px rgba(176, 176, 176, 0.3);
}

#firstSection .select select {
  border: 1px solid #b4b3b3;
  border-radius: 5px;
  width: 100%;
  color: #6a6a6a;
}

#firstSection .select p {
  font-family: "Martel", serif;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 5px;
}

#firstSection .silhouette {
  width: 270px;
  height: auto;
}

#firstSection .secure-logo {
  text-align: center;
  margin-top: -30px;
  margin-bottom: 20px;
}

#firstSection .secure-logo img {
  height: 150px;
}

#secondSection .row,
#thirdSection .row,
.index-forms .row {
  justify-content: center !important;
  align-content: center !important;
}

.index-forms .cards {
  height: 120px;
  width: 30%;
  margin: 0 10px;
  background-color: var(--color-upspace-gray);
  box-shadow: 2px 2px 6px 1px rgba(226, 226, 226, 0.5);
  justify-content: center;
  align-content: center;
  align-items: center;
  justify-items: center;
  color: var(--color-pure-white);
  display: flex;
  border-radius: 10px;
}

#secondSection .cards {
  justify-content: center;
  align-content: center;
  align-items: center;
  justify-items: center;
  display: inline-grid;
  border-radius: 10px;
  box-shadow: 2px 2px 6px 1px #e2e2e2;
  margin-top: 10px;
}

#secondSection .cards:nth-of-type(2n + 1) {
  background-color: var(--color-natural-white);
  color: var(--color-upspace-gray);
}

#secondSection .cards:nth-of-type(2n) {
  background-color: var(--color-upspace-gray);
  color: var(--color-pure-white);
}

#secondSection .cards img {
  margin: 10px 0 15px 0;
}

#thirdSection,
#fifthSection,
#seventhSection {
  background-color: var(--color-natural-white);
}

#thirdSection .articles {
  background-color: var(--color-pure-white);
  box-shadow: 2px 2px 6px 1px rgba(226, 226, 226, 0.5);
  height: 300px;
  border-radius: 10px;
  margin-top: 10px;
}

#thirdSection h6 {
  font-family: var(--font-family-primary);
  font-size: var(--font-subheading-size);
  color: var(--text-default);
  font-weight: bold;
  margin-top: 5px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

#thirdSection .articles p {
  font-family: var(--font-family-primary);
  font-size: var(--font-body-size);
  color: var(--text-muted);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

#sixthSection .contact-us div {
  background-color: var(--color-pure-white);
  font-family: var(--font-family-primary);
  font-size: var(--font-body-size);
  padding: 30px;
}

#sixthSection .contact-us div:nth-of-type(2) {
  background-color: #252b42;
  color: white;
}

#sixthSection .contact-us img {
  width: 40px;
  margin-bottom: 7px;
}

#sixthSection .contact-us div a {
  text-decoration: none;
  color: #252b42;
}

.articles img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  object-fit: cover;
  height: 150px;
}

.social-wall .side-title,
.article-pattern .pattern-title {
  margin: 30px 0 20px 10px;
  font-family: "Open Sans", sans-serif;
  font-weight: bold;
}

.article-pattern a {
  display: block;
  font-size: 18px;
  margin-left: 10px;
}

.social-list {
  margin: 10px -6px;
  width: 100%;
  padding-bottom: 0;
  overflow-y: scroll;
  overflow-x: hidden;
  height: 1500px;
}

.news-social .social-list {
  height: 2200px;
}

.social-card {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background-color: white;
  border-radius: 0;
}

.social-1 .user a {
  display: block;
}

.social-1 .head {
  width: 100%;
  height: 60px;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  box-sizing: border-box;
}

.social-1 .user {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  padding: 12px;
  box-sizing: border-box;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-1 .name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
}

.social-1 .name a {
  color: #000;
  text-decoration: none;
}

.social-1 .name p {
  margin: 0;
  white-space: initial !important;
}

.social-1 .social-date {
  text-transform: uppercase;
  font-size: 10px;
  opacity: 0.6;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.social-1 .post-image img {
  width: 100%;
  height: auto;
}

.social-1 .user .image img {
  width: 100%;
  height: auto;
}

.social-1 .text {
  width: calc(100% - 24px);
  font-size: 14px;
  margin: 5px 12px 12px 12px;
}

.social-1 .network {
  display: block;
  width: 26px;
  height: 26px;
  margin-left: auto;
  padding: 12px 12px 12px 0;
  box-sizing: content-box;
}

.social-1 .network img {
  width: 26px;
  height: 26px;
}

.social-1 .text a {
  cursor: pointer;
  text-decoration: none;
  color: #000;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  display: -webkit-box;
}

.social-1.instagram {
  font-size: 14px;
  font-family: -apple-system, BlinkMacSystemFont, Roboto, Open Sans,
    Helvetica Neue, sans-serif !important;
  line-height: 18px;
  font-weight: 400;
}

.social-1.instagram .user .image img {
  box-shadow: 0 0 0 2px #fff;
  border-radius: 50%;
}

.social-1.instagram .user .image {
  background: linear-gradient(40deg, #f99b4a 15%, #dd3071 50%, #c72e8d 85%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  padding: 4px;
  box-sizing: border-box;
  margin-right: 12px;
}

.social-1.instagram .text a {
  max-height: 90px;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.social-1.facebook .user .image {
  width: 36px;
  height: 36px;
  box-sizing: border-box;
  margin-right: 12px;
}

.social-1.facebook .user .image img {
  width: 36px;
  height: 36px;
}

.social-1.facebook {
  font-family: helvetica neue, Helvetica, Arial, sans-serif !important;
}

.social-1.facebook .text a {
  max-height: 125px;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
}

.social-1.social.twitter {
  font-family: helvetica neue, Helvetica, Arial, sans-serif !important;
}

.social-1.twitter .user .image {
  width: 36px;
  height: 36px;
  box-sizing: border-box;
  margin-right: 12px;
}

.social-1.twitter .user .image img {
  width: 36px;
  height: 36px;
}

footer {
  background-color: var(--color-upspace-gray);
  padding: 40px 0;
}

footer .footer-title {
  font-size: var(--font-heading-size);
  font-weight: bold;
  color: var(--color-pure-white);
}

footer address {
  font-family: var(--font-family-primary);
  font-size: var(--font-body-size);
  color: var(--text-muted);
}

footer address a {
  color: #bdbdbd;
  text-decoration: none;
}

footer .form-text,
footer .input-group {
  display: inline-flex;
  justify-content: center;
  align-content: center;
}

footer .form-text h5 {
  font-family: "Martel", serif;
  font-size: 18px;
  font-weight: normal;
}

.input-group-text {
  background-color: #d0a144;
  color: #e5e5e5;
  font-size: 12px;
}

.about-article .date,
.about-article .social {
  display: inline-block;
}

.about-article a img,
.author-article .social img {
  width: 25px;
  height: 25px;
}

.read-article,
.read-article .intro {
  margin-top: 30px;
}

.read-article .read-title {
  color: var(--text-default);
  font-size: var(--font-heading-size);
  margin-bottom: 30px;
  font-family: var(--font-family-primary);
  font-weight: bold;
}

.read-article p {
  font-family: var(--font-family-primary);
  font-size: var(--font-subheading-size);
  color: var(--text-default);
  margin-top: 20px;
  margin-bottom: 20px;
}

.read-article a,
.read-article a:hover {
  color: #0d6efd;
  text-decoration: underline;
}

.category-page .bcg-img {
  height: 200px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  text-align: center;
  margin: 0 auto;
}

.category-page .left-title {
  height: 105px;
  padding: 10px 0;
  font-size: var(--font-subheading-size);
  -webkit-line-clamp: 4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  color: var(--text-default);
  margin-bottom: 20px;
  width: 90%;
  font-family: var(--font-family-primary);
  line-height: 1.3;
}

.category-page .img-fit {
  object-fit: cover;
  height: 100%;
  object-position: center;
  width: calc(100% * 3 / 2);
}

.page-title {
  font-family: var(--font-family-primary);
  margin: 30px 0;
  font-size: var(--font-heading-size);
  font-weight: bold;
  color: var(--text-default);
}

#seventhSection .cards img {
  border-radius: 10px;
  width: 100%;
}

#seventhSection .cards {
  background-color: var(--color-pure-white);
  box-shadow: 2px 2px 6px 1px rgba(226, 226, 226, 0.5);
  border-radius: 10px;
  margin-bottom: 10px;
}

#seventhSection .cards p {
  font-family: var(--font-family-primary);
  font-size: var(--font-body-size);
  color: var(--text-muted);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  margin: 10px 5px;
}

#seventhSection .section-title {
  text-align: center;
  margin-bottom: 30px;
}

@media (min-width: 992px) {
  .accordion {
    width: 70%;
    margin: 0 auto;
  }

  .navbar-expand-lg .navbar-collapse {
    justify-content: flex-end;
    align-content: flex-end;
  }

  #firstSection {
    height: 550px;
    position: relative;
  }

  #firstSection .row {
    position: absolute;
    bottom: 5%;
  }

  .logo img {
    height: auto;
    width: 200px;
  }

  #firstSection .secure-logo {
    transform: translateX(-33%);
    right: 33%;
    position: absolute;
    top: 0;
    margin-top: 0px;
    margin-bottom: 0px;
  }

  #firstSection .secure-logo img {
    height: 155px;
  }
  #secondSection .cards {
    width: 24% !important;
    margin: 5px;
  }

  #thirdSection .articles {
    width: 30%;
    margin: 10px;
  }

  #firstSection h3 > span {
    font-size: 50px;
    font-weight: bolder;
  }

  #firstSection h3 {
    font-size: 54px;
  }

  #sixthSection .contact-us {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-content: center;
    align-items: center;
    justify-items: center;
  }

  #seventhSection .cards img {
    height: 125px;
    object-fit: cover;
  }
  #seventhSection .cards {
    margin-left: 10px;
    margin-right: 5px;
  }
  #seventhSection .cards:first-of-type,
  #seventhSection .cards:nth-of-type(2) {
    margin-bottom: 5px;
  }

  #seventhSection .cards p {
    margin: 0;
  }
}

@media (min-width: 1400px) {
  #firstSection .secure-logo {
    position: absolute;
    top: 0;
    transform: translateX(-35%);
    right: 35%;
    margin-top: 0px;
    margin-bottom: 0px;
  }

  #firstSection .secure-logo img {
    height: 190px;
  }
}

@media (min-width: 1200px) {
  #firstSection .secure-logo {
    position: absolute;
    top: 0;
    transform: translateX(-31%);
    right: 29%;
    margin-top: 0px;
    margin-bottom: 0px;
  }

  #firstSection .secure-logo img {
    height: 190px;
  }
}

/*new design*/

.logo-partners {
  display: flex;
  justify-content: center;
}
h4.section-title.text1 {
  font-size: 15px;
  line-height: 1.5;
  margin: unset;
}
h4.section-title.text {
  font-size: 20px;
  line-height: 1.5;
  margin: unset;
}
@media (max-width: 752px) {
  .logo-partners {
    flex-direction: column;
  }
}
section#sevenSection {
  margin: unset !important;
}

/* new*/

.articleBox {
  position: relative;
  margin: 20px 0;
}
.articleBox:before {
  content: "";
  width: 100%;
  height: 100%;
  background: #00000054;
  position: absolute;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(0, 0, 0, 0.5914740896358543) 100%
  );
  border-radius: 15px;
}
.articleBox img {
  width: 100%;
  height: 100%;
  border-radius: 13px;
}
.infoBox {
  position: absolute;
  bottom: 10px;
  left: 20px;
  color: white;
}
.textBox.heading {
  bottom: 50px;
  font-family: martel, serif;
}
#thirdSection .articles {
  overflow: hidden;
}

section#fourthSection {
  background: #4a576f;
  position: relative;
}
section#fourthSection h4,
section#fourthSection p {
  color: white;
}
div#accordion,
div#accordion2 {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  z-index: 9;
  position: relative;
}
img.securityMan {
  position: absolute;
  left: -22px;
  bottom: -7px;
  width: 150px;
}
#firstSection:before {
  content: "";
  width: 100%;
  height: 100%;
  background: #00000085;
  position: absolute;
  top: 0;
}
#firstSection {
  background-image: url(https://bezbedni-novinari.mpanel.app/image/cache/original/files/images/background.jpg) !important;
  position: relative;
}
#firstSection h3 {
  color: white !important;
}
#firstSection p:first-of-type {
  color: #ffffff !important;
}
#firstSection .select p {
  color: black !important;
}
.section-text {
  font-weight: 600 !important;
}
#sixthSection .contact-us div:nth-of-type(2) {
  background-color: unset !important;
  color: unset !important;
}
#sixthSection .contact-us div {
  text-align: -webkit-center;
}
#sixthSection .contact-us img {
  margin-bottom: 25px !important;
}
img.securityManTwo {
  position: absolute;
  right: -22px;
  bottom: -77px;
  width: 150px;
}
@media only screen and (max-width: 480px) {
  img.securityManTwo,
  img.securityMan {
    display: none;
  }
}
.articles img {
  top: 0 !important;
}
#thirdSection .articles {
  overflow: hidden;
  display: flex;
  flex-direction: column-reverse;
}
p.textBox.category {
  background: #4a576f;
  border-radius: 10px;
  text-align: center;
  padding: 1px;
  width: 132px;
}

.icon {
  background: var(--color-upspace-gray) !important;
  border-radius: 100px;
  margin-bottom: 20px;
  width: 150px;
  display: flex;
  height: 150px;
  align-items: center;
  justify-content: center;
}

header#header {
  background: var(--background);
  box-shadow: 0px 0px 7px rgba(0, 0, 0, 0.11);
  height: 90px;
  z-index: 10;
  display: flex;
  align-items: center;
  position: sticky;
  top: 0;
  width: 100%;
}

nav.navbar {
  padding: 0;
  width: 100%;
}

.navbar-nav {
  margin-left: auto;
}

a.nav-link {
  border-radius: 10px;
  padding: 0 10px;
  color: var(--text-default) !important;
}

a.nav-link:hover {
  background: var(--primary);
  color: var(--background) !important;
  border-radius: 10px;
}

@media (max-width: 992px) {
  .navbar-expand-lg .navbar-collapse {
    background: var(--color-pure-white);
    box-shadow: 0px 7px 7px rgba(0, 0, 0, 0.11);
    padding: 10px 24px;
    position: absolute;
    top: 90px;
    left: 0;
    right: 0;
    width: 100%;
  }

  .navbar-toggler {
    padding: 0.25rem 0.75rem;
    border: none;
  }

  .navbar-toggler:focus {
    box-shadow: none;
    outline: none;
  }
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-collapse {
    justify-content: flex-end;
    align-content: flex-end;
  }
}

.input-group-text {
  background-color: #dddddd !important;
  color: #000000 !important;
  font-weight: 500;
  font-family: "Open Sans";
  font-size: 13px;
}
footer .form-text h5 {
  color: white;
}

/*za drugi page */
.category-page .left-title {
  background: var(--color-pure-white);
  padding: 10px 15px;
  width: 100%;
  border-radius: 0 0 10px 10px;
  box-shadow: 2px 2px 6px 1px rgba(226, 226, 226, 0.5);
}
.category-page .img-fit {
  border-radius: 10px 10px 0 0;
}
/*kraj*/

#thirdSection,
#fifthSection,
#seventhSection {
  background-color: #f3f3f3;
}
button.accordion-button.collapsed {
  border: none;
  border-top: 1px solid #e3e3e3;
}
.accordion-button:not(.collapsed) {
  border: none;
}
.accordion-item div {
  border: none;
}
section#sevenSection {
  border-top: 1px solid #d7d7d7;
  border-bottom: 1px solid #d7d7d7;
}
p.textBox {
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.articleBox.big {
  height: 587px;
}
.articleBox.small {
  height: 283px;
}

@media only screen and (max-width: 500px) {
  .container.d-flex {
    flex-flow: wrap;
  }
}

.news-grid a {
  padding: 0;
}
