/*
Theme Name: Betheme Child
Theme URI: https://themes.muffingroup.com/betheme
Author: Muffin group
Author URI: https://muffingroup.com
Description: Child Theme for Betheme
Template: betheme
Version: 1.6.2
*/

.elementor-button span {
    text-decoration: inherit;
    cursor: pointer!important;
}

/* center form */
.wpcf7-form-control{
  display: block;
  margin: 0 auto 0 auto; 
  cursor: pointer;
}
.wpcf7-spinner{
	display: none;
}
/* Відцентрувати кнопку відправки в Contact Form 7 */
.wpcf7-form .wpcf7-submit {
    display: block; /* Робить кнопку блоковим елементом */
    margin: 0 auto; /* Автоматичні відступи з боків для центрування */
}
/* ----- HEADER ----- */

#Header {
    box-shadow: 0px 4px 38px 0px #61859E40;
    z-index: 1;
}

#menu > ul > li > a, a.action_button, #overlay-menu ul li a {
    font-size: 17px;
}

#Top_bar .logo {
    margin: 0 40px 0 0px;
}

#Top_bar #logo {
height: 45px;
    line-height: 45px;
}

#Top_bar #logo img {
    max-height: 45px;
}

#Top_bar .top_bar_right {
    padding: 0 0px 0 20px;
}

#Top_bar .menu > li.current-menu-item > a, #Top_bar .menu > li.current_page_item > a,  #Top_bar .menu > li.current-menu-parent > a {
    font-weight: 700;
    text-transform: uppercase;
}

#Side_slide #menu > ul > li.current-menu-item > a, #Side_slide #menu > ul > li.current-menu-parent > a {
    font-weight: 700;
}

#Top_bar .menu > li > a span:not(.description) {
    padding: 0;
}

#Top_bar .menu > li:not(:last-child) {
    margin: 0 23px 0 0;
}

#Top_bar .menu > li {
    padding: 10px 0;
}

#Top_bar a#search_button.has-input input {
    width: 220px;
	padding: 8px 0;
	box-shadow: none;
	font-weight: 400;
	font-size: 14px;
	text-decoration: none;
}

#Top_bar a#search_button input[type="text"]:focus {
	box-shadow: none;
	background-color: transparent;
	text-decoration: none;
}

#Top_bar a#search_button.has-input .icon-search-fine {
	position: absolute;
    right: 0;
    z-index: 1;
}

#Top_bar a#search_button.has-input input::placeholder {
	color: #C9C3C3;
	text-decoration: none !important;
}

#Top_bar a#search_button.has-input input:focus::placeholder {
	text-decoration: none !important;
}

#Top_bar .responsive-menu-toggle, #Header_creative .creative-menu-toggle, #Header_creative .responsive-menu-toggle {
    color: #404649;
}

.menuo-arrows #Top_bar .menu > li.submenu > a > span:not(.description):after {
    opacity: 1;
	right: 0;
}

.menuo-arrows #Top_bar .menu > li.submenu > a > span:not(.description) {
    padding-right: 18px;
}

#Top_bar .menu > li > a, #Top_bar .menu > li > a:after, .menuo-arrows #Top_bar .menu > li.submenu > a > span:not(.description)::after {
    -webkit-transition: font-size 0s ease-in-out;
    -moz-transition: font-size 0s ease-in-out;
    -o-transition: font-size 0s ease-in-out;
    -ms-transition: font-size 0s ease-in-out;
    transition: font-size 0s ease-in-out;
}

.menu-line-below-80-1 #Top_bar:not(.is-sticky) .menu > li > a:after {
    left: 0;
    width: 100%;
	top: 37%;
}

#Top_bar .menu > li > a {
    padding: 0;
}
	
#Top_bar .menu > li > a {
    line-height: 1;
}
	
#Top_bar .menu > li > a span:not(.description) {
    line-height: 1;
}

#Top_bar .menu {
	padding: 39px 0;
}

#Top_bar .top_bar_right_wrapper {
    top: 36px;
}

#Top_bar .menu li ul {
    top: 97%;
    background-image: none;
    border-top: 1px solid #61859e;
}

#Top_bar .menu > li ul {
    background-color: #fff;
}

#Top_bar .menu > li ul li a {
    font-size: 15px;
}

#Side_slide #menu ul li, #Side_slide #menu > ul:last-child > li:last-child{
    border: none;
}

#Side_slide #menu > ul > li > a {
    padding: 11px 5px 10px 30px;
    line-height: 36px;
    font-size: 24px;
    font-weight: 400;
	width: 100%;
}

#Side_slide #menu ul li.submenu .menu-toggle {
    right: 0;
    top: 8px;
    width: 57px;
    height: 40px;
    line-height: 40px;
    font-size: 26px;
    font-weight: 300;
    opacity: 1;
	display: flex;
    justify-content: center;
}

#Side_slide #menu ul li ul {
    margin-top: -8px;
    border-top: 1px solid;
}

#Side_slide #menu ul li ul li a {
    padding-left: 30px;
	width: 100%;
}

#Side_slide #menu > ul > li.current-menu-item > a span {
	position: relative;
}

#Side_slide #menu > ul > li.current-menu-item > a span:after {
    background: #fff;
	   left: 0;
    width: 100%;
    top: 35%;
	height: 1px;
	margin-top: 25px;
	content: "";
    position: absolute;
    z-index: 204;

}

#Side_slide #menu ul li.submenu .menu-toggle:after {
    content: "";
    display: block;
    width: 0;
    height: 0;
    position: absolute;
    margin-top: 0;
	top: 50%;
    border-top: 5px solid #fff;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
}

#Subheader .column, .section-post-header .column {
    margin: 0 0 40px;
}

/* timeline */
.style-simple .timeline_items > li .desc {
    font-size: 18px;
    font-weight: 600;
}

.style-simple .timeline_items > li {
    margin-bottom: 0 !important;
}

.date_label:after, .timeline_items > li h3 span:after {
    border-left-color: #61859e;
}

.style-simple .timeline_items > li h3, .style-simple .timeline_items > li .desc {
    border-left: 2px solid rgb(0 0 0);
}

.style-simple .timeline_items > li:nth-child(even) h3, .style-simple .timeline_items > li:nth-child(even) .desc {
    border-right: 2px solid rgb(0 0 0);
}

.style-simple .timeline_items > li:nth-child(even):hover h3, .style-simple .timeline_items > li:nth-child(even):hover .desc {
    border-color: #61859e;
}

.timeline_items > li h3 span:after {
    border: 8px solid #61859e !important;
    border-radius: 50%;
	right: 0;
	top: 3px;
}

.style-simple .timeline_items > li h3 {
    font-size: 22px;
    font-weight: 700;
}

.style-simple .timeline_items > li h3 span {
    right: calc(50% - 8px);
}

.style-simple .timeline_items > li:nth-child(even) h3 span {
    left: calc(50% - 8px);
}

.timeline_items > li:nth-child(2n) h3 span::after {
    left: 0;
}

@media screen and (min-width: 1240px) {

ul.timeline_items {
    max-width: 60%;
    margin: 0 auto !important;
}
	
	.methods .elementor-widget-container {
		min-height: 500px;
	}

}


/* ----- FOOTER ----- */

#Footer .footer_copy .one {
    margin-bottom: 0;
    padding: 38px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#Footer .footer_copy .copyright {
    float: none;
    font-size: 14px;
    line-height: 21px;
    font-weight: 400;
}

#Footer .footer_copy .footer-menu {
	flex: 1;
}

#Footer .secondary-menu {
	display: flex;
    justify-content: flex-end;
	align-items: center;
}

#Footer .secondary-menu li {
	margin-left: 30px;
	font-size: 16px;
	line-height: 24px;
}



/* ----- SUB HEADER ----- */

#Subheader .column {
    display: flex;
    flex-direction: column-reverse;
}

#Subheader ul.breadcrumbs li, #Subheader ul.breadcrumbs li a {
    color: #61859E;
	font-size: 16px;
	font-weight: 200;
}

#Subheader ul.breadcrumbs li:last-child a {
	font-weight: 400;
}

#Subheader .title {
    color: #61859E;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 33px;
	font-size: 40px!important;
}

#Subheader:after {
    content: none;
}


/* ----- HOME ----- */

.home #Header .top_bar_left, .home #Top_bar, .home #Top_bar #menu, .home #Top_bar.is-sticky, .home #Header_wrapper, .home #Intro {
    background-color: #61859E !important;
	color: #fff !important;
}

.home #Header {
    box-shadow: none;
}

.home #Top_bar a#search_button.has-input input { 
	color: #fff;
	border-color: #fff;
}

.home #Top_bar .menu > li > a, .home #Top_bar #menu ul li.submenu .menu-toggle, .home #Top_bar .responsive-menu-toggle {
    color: #ffffff;
}

.home #Top_bar .menu > li.submenu > a > span:not(.description)::after {
    border-top-color: #fff;
}

.home  #Top_bar a#search_button.has-input .icon-search-fine {
    color: #fff;
}


body:not(.home) #Top_bar #logo {
    filter: invert(1);
}


.home #Top_bar .menu > li a:after {
    background: #fff;
}

.hero-post-with-us img {
	animation: post-with-us-rotation 9s infinite linear;
}

@keyframes post-with-us-rotation {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(-359deg);
  }
}


/* ----- CONTACTS----- */
 
.contacts-item img {
	width: 60px;
	height: 60px;
}

.elementor .contacts-item.elementor-widget figure {
    margin-bottom: -6px!important;
	margin-right: 15px!important;
}

.contacts-item.elementor-widget-image-box.elementor-position-left .elementor-image-box-wrapper {
    text-align: left;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
	display: flex;
    align-items: center;
}



/* ----- ABOUT US----- */

@media screen and (min-width: 960px) {
	.page-id-20.subheader-both-left #Subheader .title {
    width: 50%;
	}
}

.about-us-item img {
	width: 150px;
	height: 150px;
}

.elementor .about-us-item.elementor-widget figure {
    margin-bottom: -6px!important;
	margin-right: 15px!important;
}

.about-us-item.elementor-widget-image-box.elementor-position-left .elementor-image-box-wrapper {
    text-align: left;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
	display: flex;
    align-items: center;
}

.about-us-number-item {
	font-size: 15px;
    line-height: 1.4;
}

.about-us-number-item .about-us-number img {
	width: 60px;
}


/* ----- content ----- */

.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 1173px;
}

.image_frame, .wp-caption {
	border-width: 5px;
}

.post-footer {
    background: none;
    padding: 0;
    overflow: hidden;
    line-height: 1;
}

.post-footer .post-links {
    border-left-width: 0;
	float: left;
    padding-left: 0;
	padding: 7px 12px 7px 7px;
    background: #6b849d;
    color: #fff;
}

.post-footer .post-links a, .post-footer .post-links a:hover {
    color: #ffffff;
}

.post-item.isotope-item .post-desc-wrapper .post-excerpt, .post-item.isotope-item .post-desc-wrapper .post-title {
    height: fit-content;
}

.elementor-widget-image-box  h2 {
    margin-top: 0px;
}

#Content {
    padding-top: 0;
}

.the_content_wrapper {
    margin: 0;
}

#Content img.alignleft {
	max-width: 40%;
    margin-right: 5%;
}


#Content img.alignright {
	max-width: 40%;
    margin-left: 5%;
}

h2 {
    text-transform: uppercase;
	margin-top: 10px;
}


.journals__grid, .books__grid, .conferences__grid {
	display: flex;
    gap: 30px;
    justify-content: space-between;
    align-items: stretch;
	flex-wrap: wrap;
	list-style: none !important;
	padding: 0;
	margin: 0 !important;
}

.journal, .book, .conference {
	display: flex;
	flex-direction: column;
	padding:0;
	border: 3px solid #61859E;
	width: calc( 33.33% - 20px );
	margin-bottom: 0 !important;
}

.conference {
	width: calc( 50% - 20px );
}

.journal_img, .book_img, .conference_img {
	width: 100%;
	height: auto;
}

.journal_info, .book_info, .conference_info {
	width: 100%;
	padding: 20px 30px;
	background-color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	height: 100%;
}

.book_info {
	text-align: left;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
	 align-items: flex-start;
}

.book_info-more {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	font-size: 14px;
	margin-top: 15px;
}

.book-info-more__left {
	margin-right: 15px;
}

.conference_info {
	text-align: left;
	display: flex;
    flex-direction: column;
    justify-content: space-between;
	 align-items: flex-start;
}

.conference_info-more {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	font-size: 14px;
	margin-top: 15px;
	width: 100%;
}

.conference-info-more__left {
	margin-right: 15px;
	display: flex;
	flex-direction: column;
}

.conference-info-more__right {
	text-align: right;
}

.journal_name, .book_name, .conference_name {
	font-size: 22px;
	line-height: 1.2;
	font-weight: 700;
	color: #61859E;
	margin: 0;
}


ul.theses-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

ul.theses-list li.theses-list__item {
    margin-bottom: 15px;
    padding-bottom: 15px;
}

ul.theses-list li.theses-list__item:not(:last-child) {
    border-bottom: 1px solid #efefef;
}

li.theses-list__item h3.thesis__title {
	color: #008acb;
	font-size: 1rem;
    line-height: 1.43rem;
    font-weight: 700;
	margin: 0 0 5px;
}

li.theses-list__item  .thesis__meta {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 0 0 10px;
	font-size: .93rem;
    line-height: 1.43rem;
	color: rgba(0,0,0,0.87);
}

li.theses-list__item  .thesis__pages {
	color: rgba(0,0,0,0.54);
}

li.theses-list__item  .thesis__pdf {
	display: inline-block;
    padding: 0 1em;
    background: #fff;
    border: 1px solid #006798;
    border-radius: 3px;
    font-size: .93rem;
    line-height: calc(2.143rem - 2px);
    color: #006798;
    text-decoration: none;
}

li.theses-list__item  .thesis__pdf i {
	margin-right: 4px;
}

/* add style baner header vebinar*/
.banner {
  width: 100%;
  background-color: #F4F6F9; /* Світлий інноваційний фон, що пасує до сайту */
  color: #111111; /* Змінено на темний, бо фон світлий */
  font-family: sans-serif;
  padding: 16px 20px;
  box-sizing: border-box;
  
  /* --- ДОДАЄМО ЗОЛОТУ РАМКУ ЯК У КНОПКИ --- */
  border: 5px solid #FFB800; /* Товщина 3px, суцільна, колір кнопки */
  border-radius: 3px; /* Легке округлення кутів, щоб виглядало сучасніше */
}

.content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* Додаємо, щоб елементи переносилися на новий рядок */
}

.left-section .text {
  color: #0F1E36; /* Фірмовий глибокий темно-синій колір сайту */
  font-size: 20px;
  padding-left: 20px;
  position: relative;
}

.left-section .text::before {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
}

.special-offer {
  display: flex;
  align-items: center;
  background-color: #FFB800; /* Благородне академічне золото замість кислотно-жовтого */
  padding: 14px 20px;
  border-radius: 25px;
  cursor: pointer;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.special-offer::after {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
}

.special-offer:hover {
  background-color: #0F1E36; /* При наведенні кнопка стає фірмовою темно-синьою */
}

.special-text a {
  font-size: 16px;
  font-weight: bold;
  text-decoration: none;
  color: #111111; /* Контрастний темний текст на золотій кнопці */
  transition: color 0.3s ease;
}

.special-offer:hover .special-text a {
  color: #FFFFFF; /* Білий колір тексту при наведенні на темно-синю кнопку */
}
/* end vebinar */

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

	li.theses-list__item  .thesis__meta {
		flex-direction: column;
		align-items: flex-start;
	}
		
	.content {
    flex-direction: column; /* Перелаштовує в один стовпчик */
    justify-content: center;
    text-align: center;      /* Центрує весь текст */
    gap: 15px;               /* Додає відступ між текстом і кнопкою */
  }

  .left-section {
    text-align: center;      /* Центрує текст всередині лівої секції */
		margin: 0 !important;
  }

  .left-section .text {
    padding-left: 0;         /* Прибираємо бічний паддінг, якщо іконка заважає центруванню */
			font-size: 21px;
  }

  .right-section {
    margin-left: 0;          /* Скидаємо лівий відступ на мобільних */
  }	
}






@media screen and (min-width: 1240px) {
	
.section_wrapper, .container {
    max-width: 1173px;
}
	
.header-classic #Header .top_bar_left, .header-classic #Header .top_bar_right {
    width: auto !important;
}
	
#Top_bar .menu {
    width: 100%;
    display: flex;
    justify-content: space-between;
}


#Top_bar #searchform {
	display: flex;
	flex-direction: row-reverse;
}

	
	
}


@media screen and (max-width: 1239px) and (min-width: 960px) {
	
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 940px;
}
	
#Top_bar .menu > li:not(:last-child) {
    margin: 0 11px 0 0;
}
	
#Top_bar .logo {
    margin: 0 20px 0 0px;
}
	
	#Top_bar a#search_button.has-input input {
    width: 200px;
	}
	
#menu > ul > li > a, a.action_button, #overlay-menu ul li a {
    font-size: 14px;
}
	
.header-classic #Header .top_bar_left, .header-classic #Header .top_bar_right {
    width: auto !important;
}
	
.menu-line-below-80-1 #Top_bar:not(.is-sticky) .menu > li > a:after {
    margin-top: 15px;
}
	
#Top_bar .menu {
    padding: 42px 0;
}
	
#Top_bar .menu li ul {
    top: 88%;
}
	
#Top_bar a#search_button.has-input input {
    padding: 6px 0;
}
	
#Footer .secondary-menu li {
    margin-left: 20px;
    font-size: 14px;
}

}


@media screen and (max-width: 959px)  {
	
.elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 715px;
}
	
#Header #menu > ul > li.current-menu-item > a, #Header #menu > ul > li.current_page_item > a, #Header #menu > ul > li.current-menu-parent > a, #Header #menu > ul > li.current-page-parent > a, #Header #menu > ul > li.current-menu-ancestor > a, #Header #menu > ul > li.current_page_ancestor > a {
    background: transparent;
}
	
#Top_bar .menu {
    padding: 0;
}
	
.menu-line-below-80-1 #Top_bar:not(.is-sticky) .menu > li > a:after {
    top: 15%;
}
	
#Top_bar .menu li ul {
    top: 78%;
}
	
#Footer .footer_copy .one {
    flex-direction: column;
    text-align: center;
}
	
#Footer .footer_copy .copyright {
    margin-bottom: 20px;
}
	
#Footer .footer_copy .footer-menu {
    width: 100%;
}
	
#Footer .secondary-menu {
    justify-content: space-between;
}
	
#Footer .secondary-menu li {
   margin-left: 0;
}
	
.journal, .book, .conference {
	width: calc( 50% - 15px );
}
	
.journal_name, .book_name, .conference_name {
	font-size: 20px;
}

}

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

.section_wrapper, .container, .with_aside .content_wrapper, .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: 724px;
}
	
#Top_bar .top_bar_left {
    position: unset;
	width: auto !important;
}
	
#Top_bar a#search_button {
    margin-right: 0;
    margin-left: 0px;
    width: 100%;
}

#Top_bar a#search_button.has-input input {
    width: 100%;
}
	
#Top_bar a#search_button.has-input input {
	padding: 6px 0;
}
	
.header-classic #Top_bar .top_bar_right {
    top: 2px;
}
	
#Top_bar .menu_wrapper {
	float: none;
    position: absolute;
    margin-top: 62px;
	width: 100%;
}
	
#Top_bar .menu {
	display: flex;
    justify-content: space-between;
    width: 100%;	
}
	
#Top_bar .menu > li:last-child {
    margin: 0 18px 0 0;
}

#Top_bar .menu > li > a {
    padding: 0;
}
	
#Top_bar #logo, .header-fixed #Top_bar #logo, .header-plain #Top_bar #logo, .header-transparent #Top_bar #logo {
    height: 25px;
    line-height: 25px;
    padding: 15px 0;
}
	
#Top_bar .top_bar_right_wrapper {
    top: 7px;
}
	
#Top_bar .top_bar_right {
    padding: 0;
}

#Top_bar .top_bar_right, .header-plain #Top_bar .top_bar_right {
    height: 55px;
	padding-top: 4px;
	width: 310px;
}
	
#Top_bar .menu > li > a span:not(.description) {
        line-height: 1.5;
}
	
#Subheader ul.breadcrumbs {
    display: block;
}
	
}

@media screen and (min-width: 767px) {
	
.elementor-section.elementor-section-boxed > .elementor-container.elementor-column-gap-no {
    padding: 0 10px;
}
	
}


@media screen and (max-width: 767px) {
	
.section_wrapper, .container, .four.columns .widget-area {
    max-width: 100% !important;
    padding-left: 20px!important;
    padding-right: 20px!important;
}
	
	.elementor-column-gap-default>.elementor-column>.elementor-element-populated {
    padding: 10px 0px!important;
}
	
.about-us-item img {
    width: 80px;
}
	
.elementor-column-gap-default>.elementor-column>.elementor-element-populated {
    padding: 10px 20px;
}
	
#Subheader ul.breadcrumbs {
    display: block;
}
	
#Top_bar .logo {
   text-align: left;
}
	
#Top_bar .top_bar_right .top_bar_right_wrapper {
    margin-right: 0;
	width: 100%;
}
	
#Top_bar a#search_button.has-input input {
    width: 100%;
}
	
#Top_bar a#search_button {
    top: 0;
    font-size: 23px;
    line-height: 22px;
    margin-right: 0;
    margin-left: 0;
	width: 100%;
}
	
#Top_bar .top_bar_right {
    padding: 0 20px 0 20px;
}
	
#Top_bar .logo #logo, #Top_bar .logo .custom-logo-link {
    margin: 10px 20px;
}
	
#Top_bar a#search_button.has-input input {
    margin: 0;
    padding: 8px 0;
	top: -8px;
}
	
#Top_bar a.responsive-menu-toggle {
    right: 15px;
}
	
#Footer .footer_copy .one {
    justify-content: flex-start;
    align-items: flex-start;
	text-align: left;
	padding: 38px 0 20px;
}
	
#Footer .secondary-menu {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    text-align: left;
}
	
#Footer .secondary-menu li {
    width: 50%;
	margin-bottom: 15px;
}
	
#Footer .footer_copy .copyright {
    margin-bottom: 25px;
}

	.journal_name, .book_name, .conference_name {
	font-size: 18px;
}

	
}

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

#Content img.alignleft {
	max-width: 100%;
	width: 100%;
    margin: 0 0 30px;
}


#Content img.alignright {
	max-width: 100%;
	width: 100%;
    margin: 0 0 30px;
}

.journal, .book, .conference {
	width: 100%;
}
	
}