/*
Theme Name:		Panta Rei
Description:   	Custom tema za web stranicu
Version:       	1.0
Author:        	 Mihovil Radaus
Author URI:    	https://www.loremipsum-studio.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: "ibm-plex-sans", sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5em;
    text-align: left;
    background: #e9e6e3;
    color: #000;
    -webkit-font-smoothing: antialiased;
}

/* Coming Soon */

.comingsoon-hero {
    position: relative;
    height: 90vh;
    background: url("assets/img/panta-rei-hero-2x.jpg") no-repeat;
    background-size: auto 100%;
    background-position: top center;
}

.comingsoon-logo {
    position: absolute;
    top: 20px;
    left: 50%;
    width: 200px;
    margin-left: -100px;
}

.comingsoon {
    text-align: center;
    padding-top: 20px;
    font-size: 32px;
    font-weight: bold;
}

/* Rest of Page */
a {
    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);
}

b,
strong { font-weight: 700; }

i,
em { font-style: italic; }

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

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

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

.section {
    padding: 120px 0;
    background-color: #e4dcd1;
}

.section:nth-child(even) {
    background-color: #e9e6e3;
}

.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%;
}

.alignright {
    text-align: right;
}

.retina {
    zoom: 0.5;
}

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

.marginfix {
    margin: 0 -15px;
}

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

.section-titles {
    max-width: 820px;
    margin: 0 auto;
}

h1, h2, h3 {
    font-family: "quiche-sans", sans-serif;
    color: #583224;
}

h1 {
    font-size: 90px;
    line-height: 1em;
    text-align: center;
    margin-bottom: 55px;
}

.nl-signup {
    background: #e2d3bf;
    padding: 0 30px;
}

.nl-signup form {
    max-width: 860px;
    margin: 0 auto;
    padding: 80px 0;
}

.content input {
    display: block !important;
    height: 52px !important;
    border-radius: 0 !important;
    font-family: "ibm-plex-sans", sans-serif !important;
}

.mailpoet_form h1,
.mailpoet_form h2,
.mailpoet_form h3 {
    margin-top: 0 !important;
}

p {
    margin: 0 0 25px;
}

.header nav {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: white;
    z-index: 10;

    display: none;
}

body.active .header nav {
    display: block;
}

.header nav .container {
    padding: 140px 30px;
    font-size: 36px;
    text-align: center;
}

.header nav li a {
    line-height: 2em;
    font-family: "quiche-sans", sans-serif;
}

.header .sub-menu li {
    display: inline-block;
    padding: 10px 0 0;
}



.bars {
    position: absolute;
    top: 50px;
    right: 0;
    height: 40px;
    color: #96351e;
    cursor: pointer;
    z-index: 20;
}

.bars .label {
    font-family: "ibm-plex-sans", sans-serif;
    text-transform: uppercase;
    font-size: 14px;
    padding-right: 60px;
}

.bars .bar {
    width: 30px;
    position: absolute;
    top: 0;
    right: 0;
    height: 3px;
    background-color: #96351e;

    transition: .2s;
}

.bars .bar-2 { top: 10px; width: 40px; }
.bars .bar-3 { top: 20px; }


body.active .bar-2 { display: none; }
body.active .bar-1 { transform: rotate(45deg); top: 11px; }
body.active .bar-3 { transform: rotate(-45deg); top: 11px; }

.cta-btn {
    text-align: center;
    padding: 35px 0 0;
}


.follow {
    margin-top: 30px;
}

.follow li a,
.sub-menu li a {
    width: 40px;
    height: 40px;
    overflow: hidden;
    display: block;
    margin: 0 10px;
    background-color: #b6996d;
    border-radius: 40px;
}

.follow li a:before {
    font-family: "FontAwesome";
    color: #161514;
    opacity: 1;
    width: 40px;
    height: 40px;
    line-height: 40px;
    display: block;
    text-align: center;
    font-size: 20px;
}

.follow li a:hover {
    background-color: #e0ca9a;
}

li a[href^="https://www.facebook"]:before {
    content: "\f09a";
}

li a[href^="https://www.instagram"]:before {
    content: "\f16d";
}

li a[href^="https://www.youtube"]:before {
    content: "\f167";
}

li a[href^="https://www.linkedin"]:before {
    content: "\f08c";
}

li a[href^="https://www.paypal"]:before {
    content: "\f1ed";
}

li a[href^="https://www.tiktok"]:before {
    content: "\e07b";
}

li a[href^="https://join"]:before {
    content: "\f17e";
}

/* Hero */
.header .logo {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 200px;
    z-index: 5;
}

.hero {
    position: relative;
    height: 95vh;
    background: #cacbca url("assets/img/panta-rei-hero-3.jpg") no-repeat;
    background-size: auto 100%;
    background-position: top center;
}

.hero .logo {
    padding-top: 50px;
}

.content {
    max-width: 860px;
    margin: 0 auto;
}

.home .content {
    text-align: center;
}

.content ul {
    list-style: none;
    margin: 0 0 35px;
}

.content ul li {
    margin: 0 0 15px 1em;
}

.content ol li {
    list-style-type: decimal;
    margin: 0 0 15px 1em;
}

.content ul li:before {
    content: "\2022";
    color: #96351e;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* Single */
.single.page-container {
    max-width: 1050px;
    margin: 0 auto;
    padding: 140px 0 100px;
}


.single-head {
    margin: 0 auto;
    padding: 60px 0 0px;
    text-align: center;
}

.single-head h1 {
    font-size: 72px;
    line-height: 1em;
}

.single-thumb {
    margin: 2em 0 3em;
}

.single-thumb img {
    width: 100%;
    height: auto;
}

.single-content a {
    color: #96351e;
}

.single-content a:hover {
    color: #f74e36;
}

.single-content p,
.single-content h1,
.single-content h2,
.single-content h3 {
    margin: 0 auto;
}

.single-content p {
    margin: 15px auto 25px;
}

.single-content h1,
.single-content h2,
.single-content h3 {
    font-size: 36px;
    margin: 1.5em 0 0.75em;
    line-height: 1.3em;
}

.single-content h1 strong,
.single-content h2 strong,
.single-content h3 strong {
    font-weight: normal;
}

.single-content figure {
    margin: 30px auto;
}

.single-content figure.is-type-video {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.single-content figure.is-type-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.single-content form {
    width: 50%;
    margin: 0 auto;
}

.single-content form input:not(.pushbutton-wide),
.single-content form textarea {
    border: 1px solid #161514;
    padding: 10px 15px;
    font-family: "PT Sans", sans-serif;
    font-size: 16px;
}

.single-content .sharedaddy {
    clear: both;
    padding-top: 60px;
    margin: 0 auto;
}

.single-content .sharedaddy h3.sd-title {
    font-size: 14pt;
}

.sharedaddy li:before {
    display: none !important;
}

.fb-comments iframe {
    width: 100% !important;
    max-width: 780px !important;
    margin: 30px auto 0;
    display: block;
}

.btn, button {
    font-weight: bold;
    border-radius: 3px;
    color: #dbb98f;
    background: #96351e;
    border: none;
    box-shadow: 0 1px 0 rgba(0,0,0,.08);
    text-shadow: none;
    padding: 10px 25px;
    font-size: 14px;
    cursor: pointer;
    display: inline-block;

    transition: .3s ease-in;
}

.btn:hover, button:hover {
    background: #573123;
    color: white;
}

.post-edit-link {
    display: inline-block;
    background-color: #000;
    color: white;
    padding: 3px 10px;
    position: absolute;
    top: 0;
    right: -110px;
}

.section.blog {
    padding: 0;
}

.text-blog {
    padding: 100px 30px;
}

.text-blog .title {
    font-size: 24px;
    margin: 1.5em 0;
    line-height: 1.3em;
}

.text-blog .title span {
    font-size: 16px;
    line-height: 1.3em;
    margin-top: 15px;
    display: block;
}

.text-blog a:hover {
    border-bottom: 2px solid #96351e;
}

.btn-small {
    border-bottom: none !important;
    padding: 2px 25px !important;
}

.section.blog .section-title {
    font-size: 36px;
    margin-bottom: 2em;
}

/* Categoru */
.category .hero {
    height: 40vh;
    background: #cacbca;
}

.category .hero .tihana img {
    height: 40vh;
    width: auto;
}

.category .hero .half {
    position: relative;
}

.category-head h2 {
    position: absolute;
    right: 0;
    bottom: 80px;
    font-size: 60px;
}

.article-grid {
    margin: 80px -30px 50px;
}

.article {
    padding: 30px;
    font-size: 16px;
}

.article h2 {
    font-size: 32px;
    line-height: 1.3em;
    margin-bottom: 0.5em;
}

.article-text {
    padding: 30px 0;
}

.article .btn {
    position: relative;
    top: -35px;
}

footer {
    background: url("assets/img/footer-bg.jpg") no-repeat;
    background-size: cover;
    background-position: center;
    color: white;
}


footer .flex > div {
    text-align: center;
}

footer .flex > div:first-child {
    text-align: left;
}

footer .flex > div:last-child {
    text-align: right;
}

footer .flex > div {
    padding-top: 10px;
}

footer .logo-text h1 {
    font-size: 58px;
}

footer .logo-text h2 {
    font-size: 20px;
}

footer .logo img {
    max-width: 300px;
}

footer .menu li {
    display: inline-block;
    font-size: 18px;
}

footer .logos > div {
    float: left;
}

footer .logos .lgbt {
    position: relative;
    bottom: -10px;
    margin-left: 60px;
}

footer .logos .neurodiversity {
    position: relative;
    top: 5px;
    left: 15px;
}

footer .footer-top {
    padding: 50px 0;
}

footer .footer-btm {
    background-color: rgba(1,1,1,0.6);
    padding: 25px 0;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.firm-info {
    font-size: 14px;
    line-height: 1.4em;
    color: rgba(255,255,255,0.7);
    text-align: left;
}

.lang-switcher {
    position: absolute;
    top: 50px;
    left: 260px;
    z-index: 100;
}

.home .lang-switcher {
    left: 0px;
}

.lang-switcher img,
.lang-switcher li {
    display: inline-block;
}

.lang-switcher a {
    padding: 10px 10px 10px 0;
}

@media only screen and (max-height: 768px) {

    .logo img {
        width: 200px;
    }

}


@media only screen and (max-width: 768px) {


    .third {
        width: 50%;
    }

    footer .third {
        width: 100%;
    }

    footer .flex > div {
        text-align: center !important;
    }

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

    footer .flex > div:nth-child(2) { order: 1; }
    footer .flex > div:nth-child(1) { order: 2; }
    footer .flex > div:nth-child(3) { order: 3; }

    footer .flex > div:first-child, footer .flex > div:last-child {
        padding-top: 15px;
    }
}

@media only screen and (max-width: 425px) {

    .half,
    .third,
    .fourth,
    .fifth {
        width: 100%;
    }

    h1 {
        font-size: 48px;
        line-height: 1.1em;
        margin-bottom: 35px;
    }


    .container {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .bars {
        top: 25px;
        right: 20px;
    }

    .header .logo {
        position: absolute;
        top: 15px;
        left: 20px;
        width: 150px;
    }

    .content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .bars .label {
        display: none;
    }

    .header nav .container {
        padding: 100px 30px;
        font-size: 26px;
        text-align: center;
    }

    .hero {
        height: 100vh;
    }

    .hero .logo {
        padding-top: 50px;
        max-width: 200px;
        margin: 0 auto;
    }

    .follow a,
    .sub-menu a {
        margin: 0 5px;
    }


    .single-head h1 {
        font-size: 36px;
        line-height: 1.2em;
        margin-bottom: 0;
    }

    .single.page-container {
        padding: 80px 0 0;
    }

    .single-thumb {
        margin: 2em -15px 0.7em;
    }

    .single-content {
        padding: 30px 15px;
    }

    .single-content figure {
        margin: 30px -30px;
    }

    .single-content form {
        width: 100%;
    }

    .single-content figure * {
        max-width: auto !important;
    }

    .single-contet .wp-block-jetpack-tiled-gallery figure img {
        margin: 30px 0;
    }

    #mailpoet_form_4 form.mailpoet_form {
        padding: 25px 0 0 !important;
    }

    footer {
        text-align: center;
    }

    footer img {
        max-width: 250px !important;
        margin-left: auto;
        margin-right: auto;
    }

    footer .logos > div {
        float: none;
    }

    footer .logos .lgbt {
        margin-left: 0;
        margin-top: 30px;
    }
	
	footer .logos .neurodiversity {
        top: 10px;
    	left: 0;
    }

    .post-edit-link {
        display: none;
    }

    .nl-signup {
        padding: 0 30px 30px;
    }

    .follow, .sub-menu {
        padding: 0 30px;
    }

    .category .hero .tihana img {
        height: auto;
        width: 230px;
        position: absolute;
        bottom: 0;
        left: 50%;
        margin-left: -115px;
    }

    .category-head h2 {
        position: absolute;
        right: 0;
        bottom: -30vh;
        font-size: 34px;
        width: 100%;
        text-align: center;
        line-height: 1.3em;
    }

    .section.blog .tihana {
        margin: 0 -15px;
        background-color: #f2f2f2;
        width: auto;
    }

    .section.blog .tihana img {
        padding-top: 50px;
    }

    .article-grid {
        margin: 80px -15px 20px;
    }

    .lang-switcher {
        top: 24px;
        left: auto;
        right: 70px;
        z-index: 100;
    }

    .home .lang-switcher {
        left: 20px;
    }

    .lang-switcher span {
        display: none;
    }

    .lang-switcher img {
        width: 20px !important;
        height: auto !important;
    }

}
