
/*
Theme Name: LNNC
Theme URI: http://npucenter.lviv.ua/
Author: Павлишин Степан Ярославович
Author URI: https://stepan95.github.io/resume/
Description: Тема для 'Львівського навчалбно-наукового центру професійної освіти'.
Requires at least: 6.4
Tested up to: 6.4
Requires PHP: 7.4
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: npucenter.lviv.ua
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/
.lc {
    background: #3e4b5e; 
    color: #eefffe; 
    padding: 30px 10px;
}
.admin-bar .nav-menu-lc {
    top: 32px;
}

#top-lc{
    width: 0;
    height: 0;
    padding: 0;
    margin: 0;
    
}

.lc-background {
    position: relative;
    overflow-x: hidden;
}

.text-title-lc {
	color: #3e4b5e;
}

.gray-lc {
    background: #3e4b5e;
}

.bg-fon-lb {
    background: #e7f1ff;
}

.bg-fon-2-lb {
    background: #c8dfff;
}

.text-justify {
    text-align: justify;
}

.header-lc {
	display: flex;
    align-content: center;
    justify-content: space-between;
}

.header-name-lc {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.logo {
	padding: 20px;
	max-height: 150px;
}

 /*Головне меню*/
.nav-menu-lc {
    position: sticky;
    top: 0;
    z-index: 99999;
/*    overflow-x: hidden;*/
}
.nav-lc {
    display: flex;
    justify-content: space-between;
}

.nav-lc .nav-item {
    display: flex;
    align-items: center;
    border-radius: 10px;   
    padding: 10px;
    position: relative;
    transition: all 1s;   
}
.nav-lc .nav-item:hover {
    background: #3e4b5e;
}
.nav-lc .nav-item:hover .nav-link {
    color: #fff;
}    

.nav-lc .nav-link {
    padding: 0;
    font-size: 14px;
    transition: all 1s;
}
.nav-lc .nav-link:hover {
 
}
/*Підменю*/
.sub-menu {
    position: absolute;
    display: block;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(30px);
    overflow: hidden;
    border-radius: 10px;
    padding-left: 0;
    padding: 10px;
    top: 45px;
    z-index: 10;
    min-width: max-content;
    scale: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.nav-lc .nav-item:hover .sub-menu {
    scale: 1;
    visibility: visible;
}

.menu-item-has-children {
    display: flex;
    align-items: center;
}
.menu-item-has-children:after{
    font-family: IcoFont!important;
    content: "\eab2";
    padding: 0 0 0 2px;
    color: var(--bs-nav-link-color);
    font-size: 14px;
}
.menu-item-has-children:hover:after {
    color: #fff;
}

.nav-lc .sub-menu .nav-item {
    list-style: none;
}

.nav-lc .nav-item .sub-menu .nav-item .nav-link {
    color: var(--bs-nav-link-color);
}

.nav-lc .nav-item .sub-menu .nav-item:hover .nav-link {
    color: #fff;
}

.nav-lc .current-menu-item,  .nav-lc .current_page_parent {
    background-color: #0d6efd;
}

.nav-lc .sub-menu .current-menu-item {
    background-color: #93c0ff;
    margin: 3px auto;
}

.nav-lc .current-menu-item .nav-link,
.nav-lc .current_page_parent .nav-link,
.nav-lc .current-menu-item:after,
.nav-lc .current_page_parent:after {
    color: #fff;
}


/*Кнопка меню*/
.button-menu-lc {
    display: inline-block;
    cursor: pointer;
}

.bar1, .bar2, .bar3 {
    display: block;
    width: 35px;
    height: 5px;
    background-color: #0d6efd;
    margin: 6px 0;
    transition: 0.4s;
}

.change .bar1 {
    -webkit-transform: rotate(-45deg) translate(-9px, 6px);
    transform: rotate(-45deg) translate(-9px, 6px);
}

.change .bar2 {opacity: 0;}

.change .bar3 {
    -webkit-transform: rotate(45deg) translate(-8px, -8px);
    transform: rotate(45deg) translate(-8px, -8px);
}

/*Мобільне меню*/
.nav-mobile-lb {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-mobile-lb a {
    font-size: 39px;
    font-weight: 600;
    color: #0d6efd;
}




@media screen and (max-width: 992px) {
    .menu-mobile-lc {
        position: absolute;
        right: 0;
        top: 75px;
    }

    .nav-lc {
        display: block;
        position: absolute;
        background: rgba(255, 255, 255, 0.4);
        backdrop-filter: blur(30px);
        padding: 10px 10px 10px 0;
        right: 0%;
        transform: scale(0, 1) translate(100%);
        min-width: 350px;
        transition: all 1s;
    }

    .nav-lc .nav-item {
        border-radius: 0 10px 10px 0;
        justify-content: space-between;
    }

    .sub-menu {
        background: #fff;
        top: 40px;
    } 
    .show-menu {
        right: 0%;
        transform: scale(1, 1) translate(0%);
    }
}


/*Пошук*/
.search-form {
    position: absolute;
    right: 10px;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(30px);
    border-radius: 10px;
    overflow: hidden;
    z-index: 1;
    transition: all 1s;
}

.search-form:hover {
    background: #fff;
}

.screen-reader-text {
    display: none;
}
 
.search-field {
    background: #fff0;
    border: 0;
    outline: 0;
    padding: 10px;
    color: #0d6efd;
}

.search-submit {
    width: 50px;
    height: 50px;
    font-family: IcoFont!important;
    content: "\eaa0";
    color: #0d6efd;
    background: #fff0;
    border: 0;
    transition: all 1s;
}
.search-submit:hover {
    color: #3e4b5e;
}


/*Слайдер*/
.main-slider {
    overflow: hidden;
    padding: 0;
    height: 500px;

}
/*
slick-slide
*/
/* Слайдер */
.slick-slider{
	position: relative;
}
/* Слайд */
.slick-slide {
	height: 500px;
    object-fit: cover;
}

/* Стрілка */
.slick-arrow{
    position: absolute;
    bottom: 10px;
    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(30px);
    color: #fff;
    font-size: 40px;
    border: 0;
    z-index: 10;
    cursor: pointer;
    transition: all 1s;
}
.slick-arrow::before {
	content: '';
    display: block;
}
.slick-arrow:hover {
	color: #0d6efd;
}
/* Стрілка вліво */
.slick-arrow.slick-prev{
	left: 0;
}
.slick-arrow.slick-prev::before {
	font-family: IcoFont!important;
	content: "\ea9d";
}

/* Стрілка вправо */
.slick-arrow.slick-next{
	right: 0;
}
.slick-arrow.slick-next::before {
	font-family: IcoFont!important;
	content: "\eaa0";
}

/* Точки */
.slick-dots {
    width: 100%;
    margin: 0;
    position: absolute;
    bottom: 10px;
    display: flex;
    justify-content: center;
    padding-left: 0;
}
.slick-dots li {
    background: #fff;
    list-style: none;
    margin: 0px 5px;
    width: 30px;
    height: 7px;
    cursor: pointer;
    border-radius: 3px;
    transition: all 1S;
}
.slick-dots li:hover {
	background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(30px);
}
.slick-dots li button{
	display: none;
}
/* Активна точка */
.slick-dots .slick-active{
	transition: all 1S;
	background: #0d6efd;
}
.slick-dots .slick-active:hover{
	background: #3e4b5e;
}

.lc-background-card-b{
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 1;
}

.lc-background-card {
    position: absolute;
    top: 0;
    height: 300px;
    width: 100%;
    background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 80%, rgba(0,212,255,0) 100%);
    z-index: 1;
}

.card-lc {
    text-decoration: none;
}

.card-lc img {
    height: 250px;
    object-fit: cover;
}

.card-lc .card-img-overlay {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(30px);
    opacity: 0;
    transition: all 1s;
}

.card-lc .card-img-overlay:hover {
    opacity: 1;
}


/*Новини*/
.news-card-lc img {
    height: 250px;
    object-fit: cover;
}

.news-card-lc .card {
    overflow: hidden;
}

.news-more-lc {
    position: absolute;
    top: -100%;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(30px);
    width: 100%;
    height: 100%;
    padding: 10px;
    color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;    
    text-decoration: none;
    transition: all 1s;
}

.news-more-lc:hover {
    top: 0%;
}

.news-card-lc .card:hover .news-more-lc {
    top: 0%;
}

.edit-post {
    top: 30px;
}


/*Слайдер контенту*/

.slider-lc {
    overflow: hidden;
}

.slider-lc  .slick-track {
    display: flex;
}

/* Слайд */
.slider-lc .slick-slide {
    height: auto;
    margin: 0 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}




/*Підвал сайту*/
.footer-lc {
   background: #3e4b5e; 
   user-select: none;
}

.social-networks-lc{
    text-decoration: none;
    font-size: 30px;
    
}

.social-networks-lc i {
    transition: all 1s;
}

.social-networks-lc i:hover {
    color: #0d6efd;
}

.nav-link-lc {
    color: #fff;
    transition: all 1s; 
}

.nav-link-lc:hover {
    color: #0d6efd;
}

/*Кнопка вгору*/
.buttonUp {
    position: fixed;
    bottom: -70px;
    right: 10px;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(30px);
    font-size: 40px;
    color: #fff;
    text-decoration: none;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    transition: all 1s;
}

.buttonUp:hover {
    color: #0d6efd;
}






/*Структура*/
.circle {
  width: 400px;
  height: 400px;
  position: relative;
  margin: 60px auto;
}

.item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #0d6efd;
    color: #fff;
    text-align: center;
    font-size: 30px;
    line-height: 50px;
    border-radius: 50%;
    position: absolute;
    z-index: 1;
    scale: 1;
    transition: all 0.2s;
}

.item:hover {
    scale: 1.2;
    z-index: 10;
}

.line {
  position: absolute;
  border: 2px solid #0d6efd;
}

.text-structure-lc {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(3px);
    color: #000;
    bottom: 55px;
    left: -55px;
    position: absolute;
    width: 160px;
    text-align: center;
    line-height: 20px;
    font-size: 15px;
}

.structure-lc {
    position: absolute;
    top: 150px;
    left: 150px;
    width: 100px;
    height: 100px;
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.4);
    color: #0d6efd;
    backdrop-filter: blur(30px);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    border: 3px solid #0d6efd;
    scale: 1;
    transition: all 1s;
}

.structure-lc:hover {
    z-index: 10;
    scale: 1.2;
    color: #fff;
    background: #0d6efd;
}

#particles-js {
  width: 100%;
  height: 100%;
  background-color: #fff;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  user-select: none;
  position: relative;
}

#particles-js canvas {
    position: absolute;
    top: 0;
    left: 0;
}


/*###############################################################################*/
/*Сторінка*/

.page-search {
    position: relative;
    display: block;
    width: fit-content;
    background: #fff;
    text-align: center;
    margin: auto;
}

.card-new-lb {
    overflow: hidden;
}

.card-new-lb:hover .news-more-lc {
    top: 0%;
}

.img-left-div-lc {
    box-shadow: 25px -20px #b4c7e3;
}

.img-right-div-lc {
    box-shadow: -25px -20px #b4c7e3;
}



/*Галарея*/
.fancybox__container {
    z-index: 99999;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.grid-item {
    height: 230px;
    width: 200px;
    margin-bottom: 20px;
    border-radius: 5px;
    overflow: hidden;
}

.grid-item img {
    display: block;
    border: 3px solid #fff;
    width: 100%;
    height: 100%;
    object-fit: cover;
    scale: 1;
    transition: all 1s;
}

.grid-item img:hover {
    scale: 1.3;
}


/*Пагінація*/
.navigation .page-numbers {
    padding: 6px 12px;
    text-decoration: none;
    background: #fff;
    margin-left: calc(var(--bs-border-width) * -1);
    border: 1px solid #dee2e6;
    transition: all 1s;
}

.navigation .page-numbers:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}
.navigation .page-numbers:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.navigation .page-numbers:hover {
    background: #3e4b5e;
    color: #fff;
}

.navigation .current {
    background: #0d6efd;
    color: #fff;
}
