/*
Theme Name: Ceris Child Theme
Theme URI: http://bk-ninja.com/ceris
Author: BK-Ninja
Author URI: http://bk-ninja.com
Description: Ceris Child theme
Template: ceris
Version: 1.0.0
*/

@font-face {
    font-family: 'Garnett-Light';
    src: url('./fonts/Garnett-Light.ttf') format('truetype');
    /* font-weight: normal;
    font-style: normal; */
}
@font-face {
    font-family: 'Garnett-Light-Italic';
    src: url('/wp-content/themes/ceris/fonts/Garnett-LightItalic.ttf') format('truetype');
    /* font-weight: normal;
    font-style: normal; */
}
@font-face {
    font-family: 'Garnett-Medium';
    src: url('/wp-content/themes/ceris/fonts/Garnett-Medium.ttf') format('truetype');
    /* font-weight: normal;
    font-style: normal; */
}

.ceris-entry-meta-with-share-wrap {
	display:none;
}


.icon_bar > .container > .row {
	display: grid;
	grid-template-columns: auto auto auto auto auto auto;
}

.icon_bar > .container > .row-col5 {
	display: grid;
	grid-template-columns: auto auto auto auto auto;
}

.icon_bar > .container > .row-col7 {
	display: grid;
	grid-template-columns: auto auto auto auto auto auto auto;
}

.icon_bar > .container > .row > .col {
	float: left;
	text-align: center;
	padding: 10px
}

.icon_bar > .container > .row > .col {
	border-right: 1px solid #ccc
	/* border-right: 3px solid #bd923d */
}

.icon_bar > *  img {
	height: 45px;
	width: auto;
	margin-bottom: 10px;
}


.icon_bar > * .col:hover > * img {
	transform: scale(1.25);
	transition: all 0.4s ease;
}

.icon_bar > * img.svetku_logo {
	height: 90px;
}

.head  > .container, .icon_bar > .container {
	width: 100%;
	margin: 0;
	padding: 0;
    /* padding-top: 10px; */
}

.icon_bar > .container {
    padding-top: 10px;
}

.banner img {
    -o-object-fit: contain !important;
    object-fit: contain !important;
}
.post__meta .author_name--wrap {
	display: none !important;
}
.single-header .entry-meta .entry-author {
    display: none;
}
.entry-author {
    display: none !important;
}

li.projekti {
	  margin: 15px;
    list-style: none;
    border: 1px solid #ccc;
    padding: 10px 30px;
}

li.projekti:hover {
	background-color: #EFEAD8;
}

li.projekti a {
	margin: 0px;
	display: block;
	width: 100%;
	height: 100%;
}

.projekti-photos {
	float: left;
	margin:10px;
	border: 1px solid #ccc;
	padding: 5px;
}

.atbs-ceris-pagination--next-n-prev .atbs-ceris-pagination__links a:last-child .atbs-ceris-pagination__item:after, .typography-copy blockquote, .comment-content blockquote {
    border-left-color: #bd923d;
}

.typography-copy blockquote:before, .comment-content blockquote:before {
    content: '';
}

.social-share ul li a svg:hover {
    background-color: #bd923d;
}

.jauta.su-tabs {
    background: #bd923d;
}
.jauta > .su-tabs-panes > .su-tabs-pane {
    padding: 30px;
    font-size: unset;
}

.post__meta img.entry-author__avatar, a.entry-author__name {
    display: none;
}

#menu-item-2523 ul.sub-menu {
    -moz-column-count: 2;
    -moz-column-gap: 50px;
    -webkit-column-count: 2;
    -webkit-column-gap: 50px;
    column-count: 2;
    column-gap: 50px;
    width: 480px;
}
ul.list-unstyled li {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
    page-break-inside: avoid;
}

#pojo-a11y-toolbar.pojo-a11y-toolbar-left .pojo-a11y-toolbar-toggle {
    left: 230px;
}
#pojo-a11y-toolbar .pojo-a11y-toolbar-overlay {
    font-size: 110%;
    width: 230px;
}
#pojo-a11y-toolbar.pojo-a11y-toolbar-left {
    left: -230px;
}
/* .pakalpojumi {
    column-count: 3;
    column-gap: 40px;
    -moz-column-count: 3;
    -moz-column-gap: 40px;
    -webkit-column-count: 3;
    -webkit-column-gap: 40px;
} */
.pakalpojumi {
    text-align: center;
}
.pakalpojumi-box {

}
.pakalpojuma-link:nth-child(3n+1) {
    clear: left;
}
.pakalpojuma-link {
    float: left;
    width: 25%;
    margin: 30px;
    display: inline-block;
}
.pakalpojuma-cat {
    padding: 30px;
    text-align: center;
    height: 205px;
}
.pakalpojuma-cat img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 14px;
}
.su-custom-gallery-slide img {
    height: 300px;
}
.su-custom-gallery-slide span {
    font-size: 15px !important;
    line-height: 2.3 !important;
}

.su-spoiler-title {
    min-height: 50px !important;
    line-height: 30px !important;
}
.su-spoiler-icon {
    top: 11px !important;
    font-size: 16px !important;
}

.entry-details {
    padding: 10px;
    /* margin: 15px; */
    border-bottom: 1px solid #bd923d;
}
.entry-details div:first-child {
    padding-bottom: 10px;
}
.entry-details div:nth-child(2) {
    padding-left: 40px;
    font-weight: bold;
}

/* Paginator css */
.dataTables_paginate {
    text-align: center;
}
.dataTables_wrapper .dataTables_paginate .paginate_button {
    border: none;
    width: 28px;
    height: 28px;
    min-width: 28px;
    line-height: 28px;
    display: inline-block;
    margin: 5px;
    /* padding: 0 9px; */
}
.paginate_button {

    font-size: 14px;
    font-weight: normal;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    cursor: pointer;
    transition: transform .2s; /* Animation */
}
.paginate_button.current {
    background-color: #222222;
    -webkit-box-shadow: 0px 6px 13px 0 rgb(6 97 241 / 20%);
    -moz-box-shadow: 0px 6px 13px 0 rgba(6, 97, 241, 0.2);
    box-shadow: 0px 6px 13px 0 rgb(6 97 241 / 20%);
    color: #fff;
    cursor: none;
}
.paginate_button.disabled {
    display: none;
}

.paginate_button:hover:not(.paginate_button.next, .paginate_button.previous ) {
    color: #fff;
    background-color: #222222;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    font-weight: normal;
}
.paginate_button.next:hover, .paginate_button.previous:hover {
    transform: scale(1.5);
}
article a {
    color: #1167b1;
}

.bordered_pak {
    border: 1px solid #ccc;
    padding: 15px;
    margin-bottom: 20px !important;
}
.bordered_pak::after {
    /* content: '\21D2'; */
    /* content: '\21E8'; */
    /* content: '>'; */
    font-family: 'mdicon' !important;
    content: '\E409';
    text-align: right;
    float:right;
}

.ceris-dark-mode *  {
    color: #fff !important;
}
.ceris-dark-mode .pakalpojuma-cat {
    border-color: #fff !important;
}

.ceris-dark-mode ::selection {
    background: #ccc;
    color: #000;
}
.ceris-dark-mode ::-moz-selection {
    background: #ccc;
    color: #000;
}

.site-header {
    position: fixed !important;
    width: 100%;
}
.site-content {
    padding-top: 121px;
}

ul#menu-sakumlapa > li.menu-item:hover,
div.sub-menu > div > ul > li:hover,
div.sub-menu > div > ul > li >ul.sub-menu > li:hover,
.atbs-ceris-mega-menu > div > ul > li > ul.sub-menu li:hover {
    background-color: #e4d3b0;
}
.atbs-ceris-mega-menu > div > ul > li > ul.sub-menu li {
    padding-left: 15px;
}
.block-heading, .single-header {padding-top: 60px; }
.block-heading {padding-bottom: 40px;}

.su-tabs.qa {
    margin: 0 0 1.5em;
    padding: 3px;
    border-radius: 3px;
    background: none;
}
.su-tabs-nav span.su-tabs-current {
    background: #fff;
    cursor: default;
    border: 1px solid #bd923d;
    border-bottom: none;
}
.su-tabs-nav span.qa:hover {
    background: #f5f5f5;
    border: 1px solid #bd923d;
    border-bottom: none;
}
.su-tabs-nav {
    border-bottom: 1px solid #bd923d;
}
.su-tabs-nav span.qa  {
    display: inline-block;
    margin-right: 5px;
    padding: 20px 30px;
    min-height: 40px;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    color: #bd923d;
    font-weight: bolder;
    font-size: 18px;
    line-height: 20px;
    cursor: pointer;
    transition: all .2s;
}

.su-tabs-pane.qa {
    padding: 15px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    background: #fff;
    color: #333;
    font-size: 18px;
}

.atbs-ceris-block.atbs-custom-margin-top-minus-40 {
    margin-top: 5px !important;
}

.taxonomy_description {
    margin-bottom: 50px;
}
.taxonomy_description p {
    margin-bottom: 1.2em;
}

.taxonomy_description ul, li {
    padding: revert;
    /* margin-bottom: 1.2em; */
}
.taxonomy_description ul {
    margin-bottom: 2em;
}
.taxonomy_description a {
    color: #1167b1;
    font-weight: bolder;
}
a.service_name:hover h3 {
    background-color: #e4d3b0;
}

.slider img {
    width: 100%;
    object-fit: cover;
    max-height: 370px;
}

#search-3 {
    margin-bottom: 0;
    margin-top: 55px;
}

.navigation--main li>.menu-item-has-children .atbs-ceris-mega-menu {
    position: absolute !important;
    left: auto !important;
}
.sptp-list-item .sptp-content {
    width: 100% !important;
}
.sptp-member-profession {
    max-width: 100%;
}
.sp-team-pro-item td:nth-child(3) {
    width: 350px;
}
.sp-team-pro-item td:nth-child(4) {
    width: 140px;
}
.sp-team-pro-item td:nth-child(5) {
    width: 140px;
}
.sptp-content p {
    /* display: none; */
    margin: 0 !important;
}
.about__inner {
    width: 48%;
    float: left;
    margin-right: 20px;
}
.ceris-about-module .about__text {
    padding-top: 50px;
    padding-right: 50px;
}
.about__text  {
    padding: 50px!important;
}
.ceris-about-module .about__bio {
    -webkit-line-clamp: 5;
}
.widget_calendar td, .widget_calendar th {
    padding: 10px !important;
}
.about__content {
    padding-bottom: 0px;
    max-height: 590px;
    min-height: 590px;
}

.mdicon-twitter:before {
    content: " " !important;
    background-image:  url(https://upload.wikimedia.org/wikipedia/commons/5/53/X_logo_2023_original.svg);
    background-size: contain;
    width: 16px;
    height: 16px;
    display: block;
}

/* .navigation-bar .header-logo img {
    max-height: 55px !important;
} */

span.entry-cat {
    font-weight: 400 !important;
    color: #fff !important;
}

.vecpilseta_svetki {
    background-color: #e6332a;
}
.vecpilseta_svetki > a {
    color: #eeeee6 !important;
}
.vecpilseta_svetki:hover > a {
    color: rgba(0, 0, 0, .8) !important;
}

a:focus-visible {
    outline: 2px solid !important;
    outline-offset: 2px;
}

.navigation--main li.submenu-is-open>.sub-menu {
    opacity: 1;
    visibility: visible;
    -webkit-transform: scale(1, 1);
    -ms-transform: scale(1, 1);
    -moz-transform: scale(1, 1);
    -o-transform: scale(1, 1);
    trans;
    transform: scale(1, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
    -o-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
    -moz-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
}

.navigation--main li.submenu-is-open>.atbs-ceris-mega-menu{
    opacity: 1;
    visibility: visible;
    -webkit-transform:translateX(-50%) scale(1, 1);
    -ms-transform:translateX(-50%) scale(1, 1);
    -moz-transform:translateX(-50%) scale(1, 1);
    -o-transform:translateX(-50%) scale(1, 1);
    transform:translateX(-50%) scale(1, 1);
    -webkit-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
    -o-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
    -moz-transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) 0.2s;
}

.ceris-dark-mode .su-spoiler-style-fancy {
	background: none !important;
}

.ceris-dark-mode .su-spoiler-style-fancy > .su-spoiler-title {
	background: none !important;
}
.ceris-dark-mode  li.projekti:hover {
    background: none;
}

.ceris-img-logo {
	margin-left: 5px;
}












@media (min-width: 1200px) {
    .navigation-bar .header-logo {
        padding-right: 5px !important;
    }
}



@media (min-width: 600px) and (max-width: 991px) {
    .site-content {
        padding-top: 0px !important;
        padding-bottom: 65px;
    }
    .icon_bar > .container > .row {
    	display: grid;
    	grid-template-columns: auto auto auto;
    }
    .icon_bar > .container > .row > .col {
	    border-bottom: 1px dashed #ccc;
		border-right: 1px dashed #ccc
    }
    .slider img {
        height: 210px;
    }
}





@media screen and (max-width: 600px) {
    .icon_bar > .container > .row {
    	display: grid;
    	grid-template-columns: auto auto;
    }
	.icon_bar > .container > .row > .col {
	    border-bottom: 1px dashed #ccc;
		border-right: 1px dashed #ccc
    }
	.ceris-mobile-header-sticky {
        margin-top: 0px;
    }
	.head.atbs-ceris-block:not(:last-child) {
		margin-bottom: 0px !important;
	}
	.site-content {
        padding-top: 85px;
	}
    .pakalpojuma-link:nth-child(1n+1) {
        clear: left;
    }
    .pakalpojuma-link {
        width: 100%;
        margin: 0;
        margin-bottom: 30px;
    }
    .pakalpojuma-cat {
        padding: 30px;
        height: auto;
    }
    .site-content {
        padding-top: 0px !important;
    }
    .slider img {
        height: 110px;
    }
    .icon_bar > * img {
        height: 35px;
        width: auto;
        margin-bottom: 0px;
    }
    .icon_bar > * img.svetku_logo {
    	height: 60px;
    }
    .h5, h5 {
        font-size: 14px !important;
        margin-top: 5px !important;
        margin-bottom: 0 !important;
    }
    .icon_bar > .container > .row > .col {
        padding: 10px;
    }
    .block-heading {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .icon_bar.atbs-ceris-block:not(:last-child) {
        margin-bottom: 10px !important;
    }
    #search-3 {
        display: none;
    }
    .icon_bar > .container {
        padding-top: 0px;
    }
    .about__inner {
        float: none;
        width: 100%;
        margin-bottom: 20px;
    }
    .ceris-about-module .about__bio {
        font-size: 12px !important;
        display: -webkit-box;
        -webkit-line-clamp: 6 !important;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .ceris-about-module .about-signature img {
        max-width: 250px;
    }
    .su-tabs-pane.qa {
        font-size: 13px;
        padding: 2px;
    }
    .entry-details div:first-child {
        padding-bottom: 0;
    }
    .entry-details div:nth-child(2) {
        padding-left: 10px;
        /* padding-right: 10px; */
    }

    .entry-details {
        padding: 0;
        padding-top: 10px;
    }



}
