/*
Theme Name:		Dom po mom - Net.hr Microsite
Description:   	SSLužbeni microsite emisije
Version:       	1.0
Author:        	Mihovil Radaus
Author URI:    	https://www.mrstudio.com/
License:       	GNU General Public License v2 or later
*/


/* CSS Reset*/
html {
    margin: 0;
    padding: 0;
    border: 0;
}

body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, code, del, dfn, em, img, q, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, dialog, figure, footer, header, hgroup, nav, section {
    margin: 0;
    padding: 0;
    border: 0;
    font-weight: inherit;
    font-style: inherit;
    font-size: 100%;
    font-family: inherit;
    vertical-align: baseline;
    list-style: none;
}


/* Body setup */
body {
    font-family: "Proxima Nova", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.3em;
    text-align: left;
    background-color: #f2f4ff;
    color: #525463;
    -webkit-font-smoothing: antialiased;
}


a, .btn {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

.animate {
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    -ms-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    -webkit-transform: translateZ(0);
    -moz-transform: translateZ(0);
    -ms-transform: translateZ(0);
    -o-transform: translateZ(0);
    transform: translateZ(0);
}

:focus {
    outline: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
}

h1, h2, h3 {
    font-family: "din-condensed", sans-serif;
    text-transform: uppercase;
    line-height: 1.3em;
}

h1 {
    font-size: 50px;
}

h2 {
    font-size: 36px;
    letter-spacing: 0.2em;
    color: #c49a6c;
}

h3 {
    font-size: 18px;
    letter-spacing: 0.2em;
    color: #c49a6c;
}

p {
    margin: 1em 0;
}

.main-container {
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1360px;
    padding-left: 30px !important;
    padding-right: 30px !important;
    margin: 0 auto;
    position: relative;
    height: 100%;
}

.container-short {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.cf:before,
.cf:after {
    content: " ";
    display: table;
}

.cf:after {
    clear: both;
}

.cf {
    *zoom: 1; /* IE 6/7 only */
}


.left {
    float: left;
}

.right {
    float: right;
}

.half {
    width: 49.99%;
}

.third {
    width: 33.32%;
}

.fourth {
    width: 24.99%;
}

.fifth {
    width: 19.99%;
}

.sixth {
    width: 16.65%;
}

.two-thirds {
    width: 66.65%;
}

.four-fifths {
    width: 79.99%;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}

.marginfix {
    margin: 0 -15px;
}

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


.btn,
.wp-element-button {
    display: inline-block;
    background-color: #c49a6c;
    font-size: 18px;
    font-weight: 400;
    padding: 10px 25px;
    border: none;
    font-family: "din-condensed", sans-serif;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 0.1em;
    transition: all 0.3s;
}

.btn:hover,
.wp-element-button:hover {
    background-color: #525463;
}

.btn-small {
    font-size: 14px;
    padding: 5px 20px;
    text-align: center;
    margin-top: 20px;
}

.section {
    padding: 80px 0;
}

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

.section.video-articles {
    background-color: #e7e9f8;
}

.header {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 0;
}

.header .container {
    border-bottom: 3px solid white;
    padding: 15px 0 10px;
    position: relative;
    top: 0;
    width: 100%;
    z-index: 2;
}

.gradient-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 400px;
    z-index: 1;

    pointer-events: none;

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);

    mask-image: linear-gradient(
            to bottom,
            black 0%,
            black 15%,
            transparent 100%
    );

    -webkit-mask-image: linear-gradient(
            to bottom,
            black 0%,
            black 15%,
            transparent 100%
    );
}

/* Hero */
.hero {
    position: relative;
    width: 100%;
    height: 590px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
}

.hero-background img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 120%;

    object-fit: cover;
    object-position: center center;

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

.hero .shadow {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 100%);
    position: absolute;
    width: 100%;
    height: 100%;
    bottom: 0;
    left: 0;
    z-index: 1;
}

.hero-text {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    z-index: 5;
}

.hero-text img {
    margin: 0 auto;
}

.hero-text p {
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 24px;
}

.intro-text {
    background-color: white;
}

.intro-text .container {
    max-width: 830px;
    margin: 0 auto;
}

/* Articles */

.article {
    padding: 20px 15px;
    position: relative;
    top: 0;
    transition: all 0.3s ease;
    border-radius: 7px;
    z-index: 2;
}

.article:hover {
    top: -10px;
}

.article h2 {
    font-family: "proxima-nova", sans-serif;
    font-weight: 500;
    text-transform: none;
    letter-spacing: normal;
    font-size: 20px;
    color: #525463;
    margin: 10px 0;
}

.article h3 {
    font-size: 16px;
    margin: 10px 0 10px;
}

.article h3.dux {
    color: #35b4af;
}

.dux-logo {
    position: relative;
    top: -9px;
    float: right;
}


@media (max-width: 460px) {

    .half,
    .third,
    .one-third,
    .two-thirds,
    .fourth {
        width: 100%;
    }

    h1 {
        font-size: 36px;
    }

    .footer {
        text-align: center;
    }

    .footer .third img {
        margin: 0 auto 30px;
    }

    .footer .dux-logo {
        float: none;
        margin: 30px auto 0 !important;
    }
}

/* Footer */

.footer {
    background: #4c4e5a;
    padding: 60px 0;
    color: white;
}

.footer .nethr-logo {
    width: 200px;
    margin-top: -15px;
}

.footer .partner {
    justify-content: flex-end;
}

.footer .partner img {
    width: 50px;
    margin-left: 30px;
    margin-top: -8px;
}

