/*!
Theme Name: Patologija
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: patologija
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

Patologija is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

/* RESET */
::-moz-selection {
    background: var(--blue-color);
    color: #fff;
}
::selection {
    background: var(--blue-color);
    color: #fff;
}
*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}
* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
*:focus {
    outline: 0;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}
/* width */
::-webkit-scrollbar {
    width: .5vw;
}
/* Track */
::-webkit-scrollbar-track {
    background: #fff;
}
/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--blue-color);
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #1b649c;
}
html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    overflow-x: hidden;
    scrollbar-color: var(--blue-color) #fff;
    scrollbar-width: normal;
}
body {
    overflow-x: hidden;
    scroll-behavior: smooth;
    background-color: #f5f5f5;
}
body.no-scroll,
html.no-scroll{
    overflow: hidden;
}
#alertMsg{
    font-size: 14px;
}
img {
    user-drag: none;
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
}
a {
    text-decoration: none;
    display: inline-block;
    color: inherit;
    cursor: pointer;
}
button {
    cursor: pointer;
    outline: none;
    border: none;
    font-family: inherit;
}
button[disabled] {
    cursor: default;
}
p{
    color: var(--txt-color);
}
a{
    color: var(--txt-color);
}
ul,
ol {
    list-style: none;
}
input,
textarea {
    font-family: inherit;
    resize: none;
}
/* HIDE ARROWS ON NUMBER INPUTS */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* Firefox */
input[type=number] {
    -moz-appearance: textfield;
}

/* UTILITIES */
:root {
    --white-color: #fff;
    --txt-color: #2D2D2D;
    --black-color: #000;
    --green-color: #25B270;
    --blue-color: #2487D1;
}
.container {
    padding-left: 3rem;
    padding-right: 3rem;
    max-width: 172rem;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.container-right {
    padding-left: calc((100vw - 166rem) / 2);
    position: relative;
}
.container-left {
    padding-right: calc((100vw - 166rem) / 2);
    position: relative;
}

@media only screen and (max-width: 1720px) {
    .container-right {
        padding-left: 3rem;
    }
}
.index-home-page-background .mobile{
    display: none;
}
.index-home-page-section{
    position: relative;
    width: 100%;
    height: 100dvh;
    display: flex;
    align-items: center;
}
.index-home-page-container{
    position: relative;
    z-index: 1;
}
.index-home-page-background{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.inner-hero-section .index-home-page-background img{
    object-position: top;
}
.index-home-page-background img{
    position: absolute;
    bottom: 0;
    display: block;
    left: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
.index-home-page-container h1{
    font-size: 12.9rem;
    line-height: 11.7rem;
    color: var(--txt-color);
    margin-bottom: 10rem;
}
.index-home-page-container p{
    font-size: 1.8rem;
    line-height: 2.6rem;
    color: var(--txt-color);
    margin-bottom: 4rem;
}
.index-home-page-container div{
    display: flex;
    gap: 2rem;
}
.index-home-page-container a{
    width: 100%;
    max-width: 25rem;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0.2rem;
    font-size: 1.8rem;
    color: var(--white-color);
    font-weight: 600;
    background-color: var(--blue-color);
}
.index-home-page-container div a:first-child{
    background-color: var(--green-color);
}
.copyright{
    position: absolute;
    bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}
.copyright p{
    color: var(--txt-color);
    font-size: 1.6rem;
    width: fit-content;
    line-height: 2.6rem;
    text-align: center;
}
.copyright.white p{
    color: var(--white-color);
}

.inner-hero-container{
    position: relative;
    z-index: 1;
}
.inner-hero-section{
    position: relative;
    width: 100%;
    height: 100dvh;
    display: flex;
    align-items: center;
}
.inner-hero-container h1{
    font-size: 14rem;
    line-height: 12rem;
    color: var(--white-color);
    text-align: center;
    opacity: 0.6;
}
nav{
    position: fixed;
    z-index: 999;
    width: 100%;
    padding: 2rem 0rem;
    background-color: transparent;
    transition: background-color 0.3s ease;
}
nav.medicina .nav-top-links .green{
    display: none;
}
nav.stomatologija .nav-top-links .blue{
    display: none;
}
.nav-bottom-links{
    width: 100%;
    align-items: center;
    justify-content: center;
}
nav.medicina .nav-bottom-links > li.stomatologija{
    display: none;
}
nav.stomatologija .nav-bottom-links > li.stomatologija{
    border-right: none;
}
nav.stomatologija .nav-bottom-links > li.medicina{
    display: none;
}
nav.inner{
    background-image: url('images/nav-background.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
}
.nav-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 5rem;
    width: 100%;
}
nav.index .nav-top-links > a{
    display: none;
}
nav.index .nav-bottom{
    display: none;
}
nav.index .language button{
    border-color: #fff;
}
nav.index .language p{
    color: #fff;
}
nav.index .language a{
    border-color: #fff;
}
nav.index .language svg path{
    stroke: #fff;
}
.language{
        position: relative;
}
.language img{
    display: block;
}
.language button{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: transparent;
    padding: 1.5rem;
    border: 1px solid var(--txt-color);
    border-radius: 0.2rem;
    font-size: 1.6rem;
}
.language a{
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: transparent;
    position: absolute;
    top: calc(0.5rem + 100%);
    left: 0;
    justify-content: center;
    width: 100%;
    padding: 1.5rem;
    border: 1px solid var(--txt-color);
    border-radius: 0.2rem;
    font-size: 1.6rem;
    display: none;
}
.language a.active{
    display: flex;
}
.nav-top-links{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 2.5rem;
    width: 100%;
    max-width: 50rem;
}
.nav-top-links > a{
    width: 100%;
    max-width: 25rem;
    color: var(--white-color);
    background-color: var(--blue-color);
    padding: 1.5rem;
    font-weight: 600;
    white-space: nowrap;
    font-size: 1.8rem;
    border-radius: 0.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-top-links > a.green{
    background-color: var(--green-color);
}
.nav-bottom-list1{
    display: none;
}
.nav-bottom{
    display: flex;
    align-items: center;
    justify-content: center;
}
.nav-bottom-links{
    display: flex;
}
.nav-bottom-links > li{
    padding: 0.5rem 6rem;
    border-right: 1px solid var(--green-color);
    font-size: 2rem;
    font-weight: 600;
	position: relative;
	width: 100%;
	max-width: 31rem;
}
.nav-bottom-links > li:first-child{
    border-left: 1px solid var(--green-color);
}
.nav-bottom-list1 > li{
    padding: 0rem 2rem;
    border-right: 1px solid #DEE1EC;
	flex: 1;
}
.nav-bottom-list1 > li > p{
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--green-color);
	position: relative;
	cursor: pointer;
    padding-top: 2rem;
}
.nav-bottom-links > li > p{
    display: flex;
	justify-content: center;
    align-items: center;
    gap: 1rem;
    cursor: default;
}

.nav-bottom-list2 > li{
    padding-top: 1rem;
}
.nav-bottom-list2{
    overflow: hidden;
	max-height: 0rem;
	transition: max-height 0.4s ease;
}
.nav-bottom-list2 li a{
    font-size: 1.3rem;
	text-transform: uppercase ;
    color: var(--txt-color);
}
.page-template-studijstomatologije-page .nav-bottom-list1.active{
	max-width: 116rem;
}
.nav-bottom-list1.active{
    display: flex;
    position: absolute;
	flex-direction: column;
    top: 100%;
    width: 100%;
    max-width: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--white-color);
    border-radius: 1.2rem;
    box-shadow: 10px 10px 35px 0px rgba(0, 0, 0, 0.25);
	padding-bottom: 2rem;
	overflow-y: auto;
	max-height: 50rem;
}
.nav-bottom-list1 > button{
    display: none;
}
  .nav-bottom-list1 > li > p::after{
        position: absolute;
		content: "";
		width: 1.27rem;
		height: 0.73rem;
		background-image: url(images/down-arrow-green.svg);
		background-size: cover;
		background-repeat: no-repeat;
		top: 77%;
		right: 0rem;
		transform: translateY(-50%);
    }   


@media only screen and (max-width: 1900px) {
	.nav-bottom-list1{
		overflow-x: scroll;
	}
}
@media only screen and (max-height: 800px) {
	.nav-bottom-list1{
		overflow-y: scroll;
		max-height: 60rem;
	}
}
@media only screen and (max-height: 700px) {
	.nav-bottom-list1{
		overflow-y: scroll;
		max-height: 50rem;
	}
}
@media only screen and (max-height: 600px) {
	.nav-bottom-list1{
		overflow-y: scroll;
		max-height: 30rem;
	}
}
@media only screen and (max-width: 1024px) {
	.nav-bottom-list1.active{
		max-width: 100%;
	}
    .nav-bottom-list1 > button{
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 3rem;
        color: var(--white-color);
        font-weight: 600;
        font-size: 1.8rem;
        background-color: var(--green-color);
        padding: 1.5rem 2rem;
    }
    .nav-bottom-links {
        justify-content: space-between;
        gap: 3rem;
    }
    .nav-top{
        margin-bottom: 5rem;
    }
    .nav-bottom-links > li{
        padding-left: 0rem;
        padding-right: 0rem;
     	position: initial;
		border: none!important;
    }
    .nav-bottom-links > li > p svg{
        transform: rotate(270deg);
    }
    
    .nav-bottom-list1.active{
        top: calc(100% - 6rem);
        z-index: 1;
        left: 0;
        width: 100%;
        flex-direction: column;
        border-radius: 0;
        transform: translate(0);
        height: calc(100vh - 16rem);
        overflow-y: scroll;
		max-height: unset;
    }
    .nav-bottom-list2{
        max-height: 0rem;
        padding-bottom: 0rem;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    .nav-bottom-list1 > li > p{
        padding-top: 0rem;
        margin-top: 2.5rem;
        position: relative;
        width: fit-content;
		cursor: pointer;
        width: 6.7rem;
        white-space: nowrap;
    }
    .nav-bottom-list1 > li > p::after{
        position: absolute;
        content: "";
        width: 1.27rem;
        height: 0.73rem;
        background-image: url('images/down-arrow-green.svg');
        background-size: cover;
        background-repeat: no-repeat;
        top: 50%;
        right: -3rem;
        transform: translateY(-50%);
    }   
    .nav-bottom-list2 > li {
        padding-top: 1.5rem;
        padding-left: 2rem;
    }
}


@media only screen and (max-width: 480px) {
    .container{
        padding: 0rem 2rem;
    }
    .index-home-page-container h1{
        font-size: 5rem;
        line-height: 5rem;
        margin-bottom: 2rem;
    }
    .index-home-page-container p{
        font-size: 1.6rem;
        line-height: 2.4rem;
        margin-bottom: 2rem;
    }
    .copyright{
        display: none;
    }
    .index-home-page-section{
        align-items: flex-end;
        padding-bottom: 6.6rem;
    }
    .index-home-page-container div{
        flex-direction: column;
        gap: 0.8rem;
    }
    .index-home-page-background .desktop{
        display: none;
    }
    .index-home-page-background .mobile{
        display: block;
    }
    .inner-hero-container h1{
        font-size: 6.4rem;
        line-height: 6.4rem;
    }
    .nav-top-logo img{
        max-width: 22rem;
    }
    .nav-top-links > a{
        display: none!important;
    }
    .nav-top{
        gap: 1rem;
        margin-bottom: 3rem;
    }
    .language button{
        border: none;
        font-size: 1.4rem;
        padding: 0rem;
    }
    .language button img{
        max-width: 2rem;
    }
    .language a{
        border: none;
        font-size: 1.4rem;
        padding: 0rem;
        justify-content: flex-start;
    }
    .language a img{
        max-width: 2rem;
    }
    .nav-bottom-links > li{
        font-size: 1.8rem;
    }
    .nav-bottom-list1.active{
        height: calc(100dvh - 9rem);
		padding-bottom: 5rem;
    }
    .language svg{
        max-width: 1rem;
    }
    nav.index .nav-top{
        margin-bottom: 0rem;
    }
	.nav-bottom-links > li > p{
		font-size: 1.6rem;
	}
	.nav-bottom-list1 > li{
		flex: unset;
	}
}