:root {
    --primary: #433c8f;
    --text-default: #2c2c2c;
    --text-muted: #5c558a;
    --background: #ffffff;
}

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

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

nav.navbar {
    padding: 0;
}

.section-title {
    font-family: 'Martel', serif;
    color: var(--text-default);
    font-size: 30px;
    font-weight: bolder;
}

.section-text {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: normal;
    width: 50%;
    display: inline-block;
}

.accordion-button {
    color: #666666;
}

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

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


footer .logo {
    width: fit-content;
    margin: 0 auto;
}

footer .logo-img {
    height: 150px;
    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: var(--text-default);
    font-weight: bold;
}

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

#firstSection p:first-of-type {
    font-family: 'Open Sans', sans-serif;
    color: white;
    font-size: 20px;
    margin-bottom: 15%;
    margin-top: 10px;
    line-height: 1.4;
}

#firstSection .select {
    background-color: #FAFAFA;
    width: 100%;
    display: inline-block;
    padding: 20px 20px 15px;
    border-radius: 10px;
    box-shadow: 2px 2px 4px 2px #b0b0b0;
}

#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: space-between;
    align-content: center;
}

.index-forms .cards {
    height: 120px;
    width: 30%;
    margin: 0 10px;
    background-color: var(--primary);
    box-shadow: 2px 2px 6px 1px #e2e2e2;
    justify-content: center;
    align-content: center;
    align-items: center;
    justify-items: center;
    color: var(--background);
    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: #F9F9F9;
    color: #295C7A;
}

#secondSection .cards:nth-of-type(2n) {
    background-color: var(--primary);
    color: var(--background);
}

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

#thirdSection,
#fifthSection,
#seventhSection {
    background-color: #FAFAFA;
}

#thirdSection .articles {
    background-color: white;
    box-shadow: 2px 2px 6px 1px #e2e2e2;
    height: 300px;
    border-radius: 10px;
}

#thirdSection h6 {
    font-family: 'Martel', serif;
    font-size: 18px;
    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: 'Open Sans', sans-serif;
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

#fourthSection .card {
    border: none;
    box-shadow: 2px 2px 6px 1px #e2e2e2;
    border-radius: 10px;
}

#fourthSection .card img {
    border-radius: 10px
}

#fourthSection #game-board {
    top: 120px;
    z-index: 0;
}

#fourthSection #game-board img {
    height: unset;
}

#sixthSection .contact-us div {
    background-color: white;
    font-family: 'Martel', sans-serif;
    font-size: 14px;
    padding: 30px;
}

#sixthSection .contact-us div:nth-of-type(2) {
    background-color: var(--primary);
    color: var(--background);
}

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

#sixthSection .contact-us div a {
    text-decoration: none;
    color: var(--text-default);
}

.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, .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: .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(--primary) !important;
    padding: 40px 0;
    margin-top: 20px
}

footer .footer-title {
    font-size: 26px;
    font-weight: bold;
    color: white;
}

footer address {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #BDBDBD;
}

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;
}
/* 
div#main {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(100, 100, 100, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
} */

.about-article .date,
.about-article .social {
    display: inline-block;
    color: var(--text-muted);
}

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

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

.read-article .read-title {
    font-size: 32px;
    margin-bottom: 30px;
    font-family: 'Martel', serif;
    font-weight: bold;
    color: var(--text-default);
}

.read-article img {
    width: fit-content;
}

.read-article p {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.read-article > * {
    color: var(--text-default);
}

.read-article a,
.read-article a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.read-article .content h3 {
    margin-top: 70px;
}

.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: 18px;
    -webkit-line-clamp: 4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    color: var(--text-default);
    margin-bottom: 20px;
    width: 90%;
    font-family: 'Open Sans', sans-serif;
    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: 'Martel', serif;
    margin: 30px 0;
    font-size: 30px;
    font-weight: bold;
    color: var(--text-default);
}
#seventhSection .cards img {
    border-radius: 10px;
    width: 100%;
}
#seventhSection .cards {
    background-color: #fff;
    box-shadow: 2px 2px 6px 1px #e2e2e2;
    border-radius: 10px;
    margin-bottom: 10px;
}

#seventhSection .cards p {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    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 (max-width: 992px) {
    .navbar-expand-lg .navbar-collapse {
        background: var(--background);
        box-shadow: 0px 7px 7px #0000001c;
        margin-left: -24px;
        margin-right: -24px;
        padding: 10px 24px;
    }
}

@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: 80px;
    }

    #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;
    }
}

@media only screen and (min-width: 1200px) {
    header#header > div > nav > div {
        box-shadow: none;
    }
}

@media only screen and (max-width: 576px) {
    .read-article img {
        width: 100%;
    }
}

/*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;
}

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: var(--primary);
    border-radius: 10px;
    text-align: center;
    padding: 1px;
    width: 132px;
    color: var(--background);
}

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

header#header {
    background: var(--background);
    box-shadow: 0px 0px 7px #0000001c;
    height: 90px;
    z-index: 10;
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
}

#header > div > nav > div {
    box-shadow: 0px 0px 7px #0000001c;
}

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;
}
footer {
    background-color: var(--primary) !important;
}
.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: white;
    padding: 10px 15px;
    width: 100%;
    border-radius: 0 0 10px 10px;
    box-shadow: 2px 2px 6px 1px #e2e2e2;
}
.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 h3.textBox.heading {
    font-size: 1.3rem;
}

h3.textBox.heading {
    font-weight: 700;
}

.articleBox.small {
    height: 283px;
}

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

.news-grid a {
    padding: 0;
}
