/*
Theme Name: DAOS Portal Child
Theme URI: https://aktuelnosti.info/
Description: Child theme for DAOS Portal. Add site-specific CSS customizations here so the parent theme can be updated safely.
Author: Daos-IT
Template: daos-portal
Version: 0.1.0
Requires at least: 6.4
Requires PHP: 7.4
License: GPLv2 or later
Text Domain: daos-portal-child
*/

/* ==================================================
   DAOS PORTAL CHILD - CUSTOM CSS
   Add your custom CSS below this line.
================================================== */

h3 {
    font-weight: 500;
}
h3 a:hover{
   color: red;
}

.daos-lb-module.daos-lb-module--html {
    text-align: center;
}
.daos-lb-column img {
    border-radius: 7px;
}
.daos-hero__item {
    gap: 10px;
}

h2.daos-lb-row__title {
    border-bottom: 3px solid red;
    padding-bottom: 10px;
    max-width: 60%;
}

h2.daos-module-title {
    padding-left: 10px;
    border-left: 4px solid red;
}

.daos-lb-column.plavac {    
    border: 1px solid #ffdede;
    border-radius: 5px;
    background-color: #fff6f6;
    padding: 30px 8px; 
}

@media (min-width: 901px) {
    .daos-lb-column.plavac {         
      margin-top: 55px;
   }
}



/*
    faq damir deo
*/
.mp-faq {
    margin: 40px 0;
}

.mp-faq-title {
    margin: 0 0 20px;
    font-size: 28px;
    line-height: 1.25;
}

.mp-faq-list {
    border-top: 1px solid #e2e2e2;
}

.mp-faq-item {
    border-bottom: 1px solid #e2e2e2;
}

.mp-faq-question {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 18px 45px 18px 0;

    font-weight: 600;
    font-size: 18px;
    line-height: 1.4;

    cursor: pointer;
    list-style: none;
}

/* uklanja standardnu strelicu */
.mp-faq-question::-webkit-details-marker {
    display: none;
}

.mp-faq-question::marker {
    display: none;
    content: "";
}


/* PLUS */

.mp-faq-icon {
    position: absolute;
    right: 5px;
    top: 50%;

    width: 18px;
    height: 18px;

    transform: translateY(-50%);
}

.mp-faq-icon::before,
.mp-faq-icon::after {
    content: "";
    position: absolute;

    left: 50%;
    top: 50%;

    background: currentColor;

    transform: translate(-50%, -50%);
}

.mp-faq-icon::before {
    width: 18px;
    height: 2px;
}

.mp-faq-icon::after {
    width: 2px;
    height: 18px;

    transition: transform 0.2s ease,
                opacity 0.2s ease;
}


/* MINUS kada je otvoreno */

.mp-faq-item[open] .mp-faq-icon::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}


/* ODGOVOR */

.mp-faq-answer {
    padding: 0 45px 20px 0;

    font-size: 16px;
    line-height: 1.7;
}

.mp-faq-answer > div > *:first-child {
    margin-top: 0;
}

.mp-faq-answer > div > *:last-child {
    margin-bottom: 0;
}


/* MOBILE */

@media (max-width: 767px) {

    .mp-faq {
        margin: 30px 0;
    }

    .mp-faq-title {
        font-size: 24px;
    }

    .mp-faq-question {
        padding: 16px 40px 16px 0;
        font-size: 17px;
    }

    .mp-faq-answer {
        padding: 0 40px 18px 0;
        font-size: 16px;
    }

}

th
 {
    background: beige;
}
/* TABELE */

/* Tabele unutar sadržaja članaka */
.entry-content .wp-block-table {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0;
}

/* Sama tabela */
.entry-content .wp-block-table table,
.entry-content .wp-block-table table.has-fixed-layout {
    width: 100%;
    min-width: 780px;
    table-layout: auto;
    border-collapse: collapse;
    margin: 0;
}

/* Ćelije */
.entry-content .wp-block-table th,
.entry-content .wp-block-table td {
    padding: 12px 14px;
    vertical-align: top;
    text-align: left;
    line-height: 1.5;
    word-break: normal;
    overflow-wrap: normal;
}

/* Neparni redovi - 1, 3, 5... */
.entry-content .wp-block-table tbody tr:nth-child(odd) > * {
    background: #f7f7f7;
}

/* Parni redovi - 2, 4, 6... */
.entry-content .wp-block-table tbody tr:nth-child(even) > * {
    background: #fff;
}

/* Mobilni */
@media (max-width: 768px) {
    .entry-content .wp-block-table table,
    .entry-content .wp-block-table table.has-fixed-layout {
        min-width: 780px;
    }

    .entry-content .wp-block-table th,
    .entry-content .wp-block-table td {
        padding: 10px 12px;
        font-size: 15px;
        line-height: 1.45;
    }
}

/* kraj TABELE */