/*
 Theme Name:   sparga
 Theme URI:    https://zeljko-gaspar.com
 Description:  Description
 Author:       Željko Gašpar
 Author URI:   https://zeljko-gaspar.com
 Template:     hello-elementor
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  https://zeljko-gaspar.com
 Tags:         light, dark, two-columns, right-sidebar, responsive-layout, accessibility-ready
 Text Domain:  hello-elementorchild
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100;200;300;400;500;600;700;800&display=swap');

/* variables */
:root {
	--main-color: #411371;
	--second-color: #01a0fe;
	--third-color: #d0333a;
	--main-transition: all .25s ease-in-out 0s;
	--second-transition: all .25s cubic-bezier(0.645, 0.045, 0.355, 1) 0s;
	--main-font-family: 'Montserrat', sans-serif;
	--second-font-family: 'Nunito', sans-serif;
}

/* colors */
.white-color {
    color: #fff !important;
}
.main-color {
    color: var(--main-color) !important;
}
.second-color {
    color: var(--second-color) !important;
}

/* backgrounds */
.white-bg {
    background-color: #fff !important;
}
.main-bg {
    background-color: var(--main-color) !important;
}
.second-bg {
    background-color: var(--second-color) !important;
}


/* scrollbar */
::-webkit-scrollbar-track {
	-webkit-box-shadow: inset 0 0 6px #d4d4d4;
	box-shadow: inset 0 0 6px #d4d4d4;
	background-color: #d4d4d4;
}
::-webkit-scrollbar {
	width: 6px;
	background-color: #313131;
}
::-webkit-scrollbar-thumb {
	background-color: #313131;
}
* {
	scrollbar-color: #313131 #8f8f8f;
	scrollbar-width: thin;
}

/* custom */
body {
    font-family: var(--main-font-family) !important;
    color: var(--main-color) !important;
    font-weight: 400 !important;
    color: #fff;
}
h1 {
    font-weight: 300 !important;
}
.home .page-header .entry-title {
    display: none;
}
.site-title a {
    background: url(../../uploads/logo.png) no-repeat center left /contain;
    display: block;
    height: 50px;
    padding-left: 60px;
    font-weight: 900;
    color: var(--second-color) !important;
    letter-spacing: -4px;
}
.site-title {
    color: #00a0fe;
    background: -webkit-linear-gradient(195deg, #481780, #00a0fe 100%);
    background: linear-gradient(195deg, #481780, #00a0fe 100%);
      background-clip: border-box;
    background-clip: border-box;
    background-clip: border-box;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.site-header:not(.header-stacked) .header-inner .site-branding {
    max-width: 33% !important;
}
.site-title a {
    background: url(../../uploads/logo.png) no-repeat center left;
    padding-left: 90px;
    background-size: 80px 80px;
}

a {
    color: var(--second-color) !important;
}
.text-center {
    text-align: center;
}
.comments-area a, .page-content a {
    text-decoration: none !important;
}

/* tables */
table td,
table th {
    padding: 15px !important;
    line-height: 1.5 !important;
    vertical-align: center !important;
    border: 0px solid #ccc !important;
	font-size: 15px !important;
}
.wpa-widget-date {
    width: 110px !important;
}
.swiper-image-stretch .swiper-slide .swiper-slide-image {
    width: 100%;
    height: 374px;
    object-fit: cover;
    padding: 0 2px;
    object-position: center;
}
.elementor-widget-video .e-hosted-video .elementor-video {
    object-fit: contain !important;
    height: 500px;
}
h1.entry-title {
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 50px;
    background: #f9f9f9;
    border-radius: 20px;
}
.elementor-widget-wp-widget-recent-posts ul {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
	padding-left: 0;
}
.elementor-widget-wp-widget-recent-posts li {
    height: 140px;
    background: var(--second-color);
    margin: 5px;
    border-radius: 20px;
    transition: var(--main-transition);
    text-align: center;
}
.elementor-widget-wp-widget-recent-posts li:hover {
    background: var(--main-color);
}
.elementor-widget-wp-widget-recent-posts li a {
    color: #fff !important;
    font-weight: 700;
    display: flex;
    align-items: center;
    text-align: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 15px 50px;
}
#wpa-widget-recent-results-links span {
	display: none !important;
}
.wpa-widget-event-count {
	display: none;
}
.post p {
	display: none !important;
}

body.blog .page-content {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
	padding-left: 0;
	flex-wrap: wrap;
}
body.blog .page-content article.post {
    height: 140px;
    width: 25%;
	padding: 5px;
}
body.blog .page-content article.post .entry-title {
	background: var(--second-color);
    width: 100%;
    height: 100%;
    border-radius: 20px;
    transition: var(--main-transition);
}
body.blog .page-content article.post .entry-title:hover {
	background: var(--main-color);
}
body.blog .page-content article.post .entry-title a {
	padding: 15px;
	text-align: center;
	color: #fff !important;
    font-weight: 700;
	font-size: 15px;
	color: #fff !important;
	font-weight: 700;
	font-size: 15px;
	display: flex;
	height: 100%;
	width: 100%;
	align-items: center;
	justify-content: center;
}

/* loader */
.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999999;
    background: #fff;
    transition: all .25s ease-in-out 1s;
}
.loader-left-part {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    width: 50%;
    height: 100%;
    background: #000;
    transition: all .5s ease-in-out 0s;
}
.loader-right-part {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 10;
    width: 50%;
    height: 100%;
    background: #000;
    transition: all .5s ease-in-out 0s;
}
.loader-logo-holder {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    z-index: 9;
    opacity: 1;
    transition: all .75s ease-in-out .1s;
}
body.loaded .loader-left-part {
    transform: translateX(-100%);
}
body.loaded .loader-right-part {
    transform: translateX(100%);
}
body.loaded .loader-logo-holder {
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
}
body.loaded .loader-container {
    opacity: 0;
    z-index: -1;
}
.home .swiper-image-stretch .swiper-slide .swiper-slide-image {
    width: 100%;
    height: 50vh;
    object-fit: cover;
    padding: 0 2px;
    object-position: center;
    cursor: grab;
    display: block;
    border-radius: 20px;
}
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 1000;
    transition: var(--main-transition);
}
body.logged-in #site-header {
    margin-top:32px;
}
body.scrolled #site-header {
    box-shadow: 0 10px 6px -6px #eaeaea;
    padding-top: 5px;
    padding-bottom: 5px;
}
main {
    margin-top: 150px;
}
.home main {
    margin-top: 100px;
}
.site-navigation ul.menu li a {
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    transition: var(--main-transition);
}
.site-navigation ul.menu li a:hover {
    color: var(--main-color) !important;
}
.site-footer {
    border-top: 1px solid #f7f7f7;
    margin-top: 100px;
}
.page-header {
    width: 1120px;
    max-width: 100%;
    text-align: center;
    margin: auto;
}
.site-footer .footer-inner, .site-footer:not(.dynamic-footer), .site-header .header-inner, .site-header:not(.dynamic-header), body:not([class*="elementor-page-"]) .site-main {
    max-width: 1120px !important;
}
table.wpa-simple-table,
table.wpa-widget {
    border-radius: 20px !important;
}
table.wpa-simple-table,
table.wpa-widget {
    border: 0 !important;
}
table.wpa-simple-table thead tr th:first-of-type,
table.wpa-widget thead tr th:first-of-type {
    border-radius: 20px 0 0 0;
}
table.wpa-simple-table thead tr th:last-of-type,
table.wpa-widget thead tr th:last-of-type {
    border-radius: 0 20px 0 0;
}
table.wpa-simple-table tbody tr:last-of-type td:first-of-type,
table.wpa-widget tbody tr:last-of-type td:first-of-type {
    border-radius: 0 0 0 20px;
}
table.wpa-simple-table tbody tr:last-of-type td:last-of-type,
table.wpa-widget tbody tr:last-of-type td:last-of-type {
    border-radius: 0 0 20px 0;
}
table.wpa-widget tbody tr:first-of-type td:first-of-type {
    border-radius: 20px 0 0 0;
}
table.wpa-widget tbody tr:first-of-type td:last-of-type {
    border-radius: 0 20px 0 0;
}

.widget-no-results {
    border-radius: 20px !important;
}

.btn {
    padding: 10px 20px;
    border-radius: 20px;
    transition: var(--main-transition);
}

.btn.main-bg:hover {
 background-color: var(--second-color) !important;
}

.mb-50 {
    margin-bottom: 50px;
}

.swiper-pagination-bullet {
    background: var(--main-color) !important;
}
.wpa-widget-date {
    font-weight: 400 !important;
}
event {
    font-weight: 400 !important;
}
/* menu social icons */
.menu-social-icons-container {
    display: flex;
    align-items: center;
    list-style: none;
}
.menu-social-icons-item {
    margin: 0 2px;
}
.menu-social-icons-item a {
    display: block;
}
.menu-social-icons-item a img {
    transition: all .25s ease-in-out 0s;
    height: 30px;
    display: block;
}
.menu-social-icons-item a img:hover {
    opacity: .7;;
}
.mobile {
    display: none;
}
.elementor-section {
    margin-bottom: 50px;
}
.elementor-widget-container .post-date {
    display: block;
    background: var(--main-color);
    border-radius: 0 0 20px 20px;
    padding: 20px 0 5px 0;
    margin-top: -15px;
    z-index: -1;
    position: relative;
    color: #fff;
    font-size: 12px;
    font-style: italic;
}
table.wpa-simple-table th {
    text-align: left !important;
}
table.wpa-simple-table td {
    text-align: left !important;
}
table.wpa-simple-table td.empty {
    text-align: center !important;
}
table.wpa-simple-table td.rank {
    text-align: center !important;
}
.elementor-image-carousel .swiper-slide {
    margin: auto;
}
h5 {
    font-style: italic;
}
table#wpa-widget-upcoming-events-table.wpa-widget tbody tr:first-of-type td:first-of-type {
    border-radius: 20px 0 0 20px !important;
}
table#wpa-widget-upcoming-events-table tbody > tr:nth-child(2n+1) > td,
table#wpa-widget-upcoming-events-table tbody > tr:nth-child(2n+1) > th {
    border-radius: 0 20px 20px 0 !important;
}
table.wpa-simple-table tbody tr:last-of-type td.empty:last-of-type,
table.wpa-widget tbody tr:last-of-type td.empty:last-of-type {
    border-radius: 0 0 20px 20px !important;
}
.rulles-icons .elementor-column {
    margin: 0 30px 30px 30px;
}
.forbidden {
    position: relative;
    overflow: hidden;
}
.forbidden::before {
    position: absolute;
    top: 40px;
    left: 50%;
    z-index: 10;
    color: red;
    width: 100%;
    height: 100%;
    content: "×";
    font-size: 150px;
    line-height: 150px;
    transform: translate(-50%, -50%);
    font-weight: 200;
  }
html {
    scroll-behavior: smooth; 
}
picture img {
    width: 100% !important;
}
.no-gradient .textwidget::after {
    content: none !important;
}
.post-tags {
    display: none;
}
.page-id-2 .page-content {
    max-width: 750px;
    margin: auto;
}
.mejs-video {
    height: 500px !important;
}
.mejs-video video {
    height: 100% !important;
}
iframe {
    height: 100% !important;
}
.pagination {
    text-align: center;
    margin-top: 50px;
}
.wp-pagenavi span.current {
    font-weight: normal;
}
.wp-pagenavi a, .wp-pagenavi span {
    padding: 3px 15px;
}
.wp-pagenavi a, .wp-pagenavi span {
    border-radius: 20px;
}
.wp-pagenavi a, .wp-pagenavi span {
    border: 1px solid var(--second-color);
}
.wp-pagenavi a:hover, .wp-pagenavi span.current {
    border-color: var(--main-color);
}
.site-footer .footer-inner, .site-footer:not(.dynamic-footer) {
    max-width: 1140px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
}
.site-footer:not(.footer-stacked) .footer-inner .copyright {
    max-width: 100% !important;
}
.strava-iframe iframe {
    height: 300px !important;
}
/* animations */
header .shop-img {
    height: 40px;
    display: block;
    width: 100%;
    transition: var(--main-transition);
}
.pulse {
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 0 rgba(204,169,44, 0.4);
    animation: pulse 2s infinite;
}
.pulse:hover {
    animation: none;
}
.shop-img:hover {
    transform: scale(.8);
}
header .shop-holder {
    display: block;
    margin-right: 20px;
    margin-top: 3px;
}
@-webkit-keyframes pulse {
    0% {
      -webkit-box-shadow: 0 0 0 0 rgba(72, 23, 128, 0.4);
    }
    70% {
        -webkit-box-shadow: 0 0 0 10px rgba(72, 23, 128, 0);
    }
    100% {
        -webkit-box-shadow: 0 0 0 0 rgba(72, 23, 128, 0);
    }
}
@keyframes pulse {
    0% {
      -moz-box-shadow: 0 0 0 0 rgba(72, 23, 128, 0.4);
      box-shadow: 0 0 0 0 rgba(72, 23, 128, 0.4);
    }
    70% {
        -moz-box-shadow: 0 0 0 10px rgba(72, 23, 128, 0);
        box-shadow: 0 0 0 10px rgba(72, 23, 128, 0);
    }
    100% {
        -moz-box-shadow: 0 0 0 0 rgba(72, 23, 128, 0);
        box-shadow: 0 0 0 0 rgba(72, 23, 128, 0);
    }
}

/* responsive */
@media only screen and (max-width: 1024px) {
    .site-title {
        font-size: 30px;
        line-height: 50px;
    }
    body #site-header {
        padding: 5px 15px;
    }
    body.logged-in #site-header {
        padding: 5px 15px;
    }
    .page-content {
        padding: 0 15px;
    }
    .rulles-icons.elementor-section > .elementor-container {
        max-width: 100%;
        display: flex;
        flex-wrap: unset;
    } 
    .forbidden::before {
        top: 15px;
    }
    .shop-holder {
        position: fixed;
        bottom: 20px;
        right: 0px;
        z-index: 1000000;
    }
    .elementor-widget-wp-widget-recent-posts ul {
        flex-wrap: wrap;
    }
    .elementor-widget-wp-widget-recent-posts li {
        margin-bottom: 35px;
    }
}
@media only screen and (max-width: 992px) {
    body .site-header.menu-dropdown-tablet:not(.menu-layout-dropdown) .site-navigation {
        display: flex !important;
    }
}
@media only screen and (max-width: 991px) {
    .mobile {
        display: block;
    }
    .menu-social-icons-container {
        position: fixed;
        top: -56px;
        right: 80px;
        z-index: 100;
    }
    .elementor-screen-only, .screen-reader-text, .screen-reader-text span, .ui-helper-hidden-accessible {
        position: unset !important;
        width: auto !important;
        height: auto !important;
    }
    .eicon-menu-bar::before {
        content: unset !important;
    }
    .site-navigation-toggle-holder.elementor-active .site-navigation-toggle i::before {
        content: none !important;
    }
    .site-navigation-dropdown ul.menu li a {
        text-align: center;
    }
    .site-navigation-toggle-holder .site-navigation-toggle {
        background-color: transparent !important;
    }
    .site-navigation-toggle .elementor-screen-only img {
        height: 30px;
    }
    .site-navigation-dropdown ul.menu li.current-menu-item a {
        background: transparent !important;
    }   
    .site-header:not(.header-stacked) .header-inner .site-branding {
        max-width: unset !important;
    }
    #elementor-device-mode {
        display: none;
    }
    body .site-header.menu-dropdown-tablet:not(.menu-layout-dropdown) .site-navigation {
        display: none !important;
    }
    .elementor-swiper-button .elementor-screen-only {
        display: none;
    }
}
@media only screen and (max-width: 768px) {
    .elementor-widget-wp-widget-recent-posts ul {
        flex-wrap: wrap;
    }
    .elementor-widget-wp-widget-recent-posts li {
        width: 25%;
    }
    .site-navigation-dropdown ul.menu li a {
        font-weight: 500;
    }
    .forbidden::before {
        top: 15px;
        font-size: 180px;
    }
    .elementor-image-carousel-wrapper:not(.swiper-container-initialized) .swiper-slide,
    .elementor-image-carousel-wrapper:not(.swiper-initialized) .swiper-slide {
        max-width: 50% !important;
        width: 50% !important;
    }
    .strava-iframe iframe {
        height: auto !important;
    }
}
@media only screen and (max-width: 576px) {
    .elementor-widget-container {
        position: relative;
    }
    .textwidget {
        overflow: auto;
        width: 100%;
    }
    .textwidget::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        z-index: 111;
        width: 60px;
        height: 100%;
        background: linear-gradient(to right, transparent, #fff);
        pointer-events: none;
    }
    .elementor-widget-video .e-hosted-video .elementor-video {
        height: auto;
    }
    .swiper-image-stretch .swiper-slide .swiper-slide-image {
        height: 70vh;
    }
    .elementor-widget-video .e-hosted-video .elementor-video {
        height: 50vh;
        width: 100%;
    }
    .elementor-aspect-ratio-169 .elementor-fit-aspect-ratio {
        padding-bottom: 50vh !important;
    }
    .elementor-widget-wp-widget-recent-posts li {
        width: 48%;
    }
    .home .swiper-image-stretch .swiper-slide .swiper-slide-image {
        height: 30vh;
    }
    .elementor-widget-wp-widget-recent-posts li {
        margin-bottom: 30px;
    }
    .rulles-icons .elementor-column {
        margin: 0 10px 10px 10px;
    }
    .forbidden::before {
        font-size: 150px;
    }
    .elementor-image-carousel-wrapper:not(.swiper-container-initialized) .swiper-slide,
    .elementor-image-carousel-wrapper:not(.swiper-initialized) .swiper-slide {
        max-width: 100% !important;
        width: 100% !important;
    }
}
@media only screen and (max-width: 480px) {
    h1 {
        font-size: 30px !important;
    }
    body.blog .page-content article.post {
        width: 50%;
    }
    main {
        margin-top: 100px;
    } 
    .site-title a {
        font-size: 0;
    }
    .elementor-image-carousel-wrapper:not(.swiper-container-initialized) .swiper-slide {
        max-width: 100% !important;
    }
    .forbidden::before {
        font-size: 100px;
        top: 0;
    }
}
@media only screen and (max-width: 415px) {
    .elementor-screen-only {
        display: flex;
        align-items: center;
    }
    .site-navigation-toggle-holder, .site-navigation-toggle-holder .site-navigation-toggle {
        padding: 0 !important;
    }
    header .header-inner, .site-header:not(.dynamic-header), body:not([class*="elementor-page-"]) .site-main {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }
    footer .site-navigation ul.menu a {
        padding: 5px 5px !important;
        font-size: 12px !important;
    }
    .site-footer .footer-inner .copyright p {
        font-size: 12px;
    }
    .elementor-widget-wp-widget-recent-posts li {
        width: 100%;
    }
    .home main {
        margin-top: 60px;
    }
    .menu-social-icons-container {
        top: -45px;
        right: 60px;
    }
    table.wpa-simple-table td {
        font-size: 12px !important;
        
    }
    table.wpa-simple-table td.rank {
        min-width: auto;
    }
    table.wpa-simple-table td.rank {
        min-width: auto;
    }
    table.wpa-simple-table td + td:first-child {
        min-width: 160px;
    }
    table.wpa-simple-table th {
        font-size: 12px !important;
    }
    h5 {
        font-size: 16px !important;
    }
    table td, table th {
        font-size: 12px !important;
    }
    .swiper-image-stretch .swiper-slide .swiper-slide-image {
        height: 300px;
        object-fit: center;
    }
    .page-content {
        padding: 0;
    }
    body.logged-in #site-header {
        margin-top: 45px;
    }
    body.scrolled.logged-in #site-header {
        margin-top: 0;
    }
    h2 {
        font-size: 25px !important;
    } 
    .elementor-section {
        margin-bottom: 20px !important;
    }
    .elementor-column-gap-default > .elementor-column > .elementor-element-populated {
        padding: 0;
    }
    .home .swiper-image-stretch .swiper-slide .swiper-slide-image {
        height: 165px;
      }
}
@media only screen and (max-width: 400px) {
    .forbidden::before {
        font-size: 100px;
        line-height: 1;
    }
}
@media only screen and (max-width: 320px) {
    body.blog .page-content {
        padding-left: 15px;
    }
    body.blog .page-content article.post {
        width: 100%;
    }
    .menu-social-icons-container {
        right: 50px;
    }
    .forbidden::before {
        font-size: 70px;
      }
}