/*
Theme Name: Homesession 2022
Theme URI: https://www.dosgrapas.com/
Author: dosgrapas
Author URI: https://www.dosgrapas.com/
Version: 1.1
*/


/*---------------------------------------------- GENERAL ---------------------------------------------*/
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; margin: 0 !important; }

/*----------------------------------------------- FONTS ----------------------------------------------*/

/*----------------------------------------------- COLOR ----------------------------------------------*/

/*-------------------------------------------  TRANSITION --------------------------------------------*/
.transition, .featured-slider .slick-prev:before, .featured-slider .slick-next:before { -webkit-transition: all 300ms ease; transition: all 300ms ease; transition-property: all; transition-duration: 300ms; transition-timing-function: ease; transition-delay: 0s; }

/*---------------------------------------------- HEADER ----------------------------------------------*/
.main-logo { width: 185px !important; }
body.menu-open { overflow: hidden; }
.menu_desplegat .menu-item { width: 100% !important; justify-content: center !important; }
.menu_desplegat .sub-menu { width: 100%; box-shadow: none; text-align: center; }
.menu_desplegat .sub-menu .menu-item, .menu_desplegat .sub-menu .menu-item a { text-align: center !important; }
.menu-item.menu-item-has-children:hover .sub-menu { display: block; }
.sub-menu { height: fit-content; }
.sub-menu .menu-item { margin: 0; }
.menu-item:last-child .submenu-link { border-bottom: none; }
.menu-item a { padding-top: 15px; padding-bottom: 15px; -webkit-transition: all 300ms ease; transition: all 300ms ease;
    font-family: Poppins, sans-serif; color: red; font-size: 17px; line-height: 26px; font-weight: 300; text-decoration: none; }
.menu-item a:hover { color: #000; }
.menu-item .sub-menu a { display: inline-block; width: 100%; padding-top: 9px; padding-bottom: 7px; border-bottom: 1px solid #d9d9d9;
    -webkit-transition: all 300ms ease; transition: all 300ms ease; font-family: Poppins, sans-serif; color: #000;
    font-weight: 300; text-align: left; text-decoration: none; font-size: 14px; }
.menu-item .sub-menu li:last-child a { border-bottom: none; }
.menu-item .sub-menu a:hover { color: red; }
.menu_desplegat .menu-item a { padding-top: 8px; padding-bottom: 8px; color: #fff; font-size: 22px; line-height: 30px; }
.menu_desplegat .menu-item .sub-menu a { border-bottom-style: none !important; color: #fdcaca !important; font-size: 15px !important; line-height: 20px !important; }
.menu_desplegat .menu { display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex; padding-left: 0px;
    -webkit-box-orient: vertical; -webkit-box-direction: normal; -webkit-flex-direction: column; -ms-flex-direction: column;
    flex-direction: column; -webkit-box-align: center; -webkit-align-items: center; -ms-flex-align: center; align-items: center; }
.language-select .menu-item { color: #000;}


/*---------------------------------------------- FOOTER ----------------------------------------------*/
.footer-text__container p { margin-bottom: 0px; font-family: Poppins, sans-serif; font-size: 16px; line-height: 24px; font-weight: 400; color: #000; }
.footer-text__container a { color: #000; }

@media screen and (max-width: 767px){
	.footer-text__container p { font-size: 14px; line-height: 22px; }
}

/*----------------------------------------------- HOME -----------------------------------------------*/
.section-slider { opacity: 1 !important; }
.home-slider .slick-prev:before { content: url('images/arrow-left.svg'); }
.home-slider .slick-next:before { content: url('images/arrow-right.svg'); }
.home-slider .slick-prev { left: -40px; }
.home-slider .slick-next { right: -40px; }
.home-slider .slick-prev, .home-slider .slick-next { top: calc(50% + 45px); }
.featured-slider .slick-prev, .featured-slider .slick-next { display: none !important; z-index: 999; width: 55px; height: 55px; top: 63% !important; }
.featured-slider:hover .slick-prev, .featured-slider:hover .slick-next { display: block !important; opacity: 1 !important; }
.featured-slider .slick-prev:before, .featured-slider .slick-next:before { opacity: 1 !important; }
.featured-slider .slick-prev { left: 20px; }
.featured-slider .slick-next { right: 20px; }
.featured-slider .slick-prev:before { content: url('images/Group-222.svg'); }
.featured-slider .slick-next:before { content: url('images/Group-223.svg'); }
.featured-slider .slick-dots { bottom: -35px; }
.featured-slider .slick-dots li button:before { font-size: 26px; line-height: 26px; }
.featured-slider, .featured-slider a {  z-index: 1; /*---cursor: url("data:image/svg+xml,%3Csvg width='66' height='66' viewBox='0 0 66 66' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='33' cy='33' r='33' fill='black'/%3E%3Cpath d='M27 25L19 33L27 41' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M39 41L47 33L39 25' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 33 33, pointer;---*/ }
.featured-slider .slick-track { display: flex !important; align-items: end !important; }
.featured-slider a img, .home-slider a img, .about-section img, .project img, .exchange-grid__element img, .news-element img { -webkit-transition: .2s ease-in-out; -moz-transition: .2s ease-in-out; -o-transition: .2s ease-in-out; transition: .2s ease-in-out; }
.featured-slider a:hover img, .home-slider a:hover img, .about-section:hover img, .project:hover img, .exchange-grid__element:hover img, .news-element:hover img { transform: scale(1.05); }
.section-slider .slick-prev:before { content: url('images/prev-section.svg'); }
.section-slider .slick-next:before { content: url('images/next-section.svg'); }
.section-slider .slick-prev { left: -40px; }
.section-slider .slick-next { right: -40px; }
.slick-dots { bottom: -35px; }
.slick-dots li button:before { font-size: 12px; }
.slick-dots li button:before, .slick-dots li.slick-active button:before { color: #ff0000; }
.publication-element:hover img { filter: brightness(95%); } 
.home-slide h5 { display: inline; }

@media (min-width: 768px) and (max-width: 991px){
    .section-slider .slick-prev { left: -30px; }
    .section-slider .slick-next { right: -30px; }
    .about-section .plus { width: 60px; }
}
@media (max-width: 767px){
    .section-slider .slick-prev { left: -25px; }
    .section-slider .slick-next { right: -22px; }
}

/*---------------------------------------------- ABOUT ----------------------------------------------*/ 
.about-text { margin-top: 40px; }
.about-text p { font-family: Poppins, sans-serif; color: #000; font-size: 16px; line-height: 24px; font-weight: 300; margin-bottom: 20px; }
.about-text p strong {font-family: 'Bai Jamjuree', sans-serif; font-size: 24px; line-height: 30px; font-weight: 400; margin-bottom: 30px; color: #000; text-align: center; }
.about-text a { color: red; text-decoration: underline; }
.about-text a:hover { text-decoration: none; }
.about-text img { margin: 50px 0; width: 100%; height: auto; }

@media screen and (min-width: 1440px){
    .about-text p { font-size: 18px; line-height: 26px; }
    .about-text p strong {font-size: 26px; line-height: 32px; }
}
@media screen and (max-width: 991px){
    .about-text { margin-top: 30px; }
    .about-text p { font-size: 15px; line-height: 23px; }
    .about-text p strong {font-size: 23px; line-height: 29px; }
}
@media screen and (max-width: 767px){
    .about-text p { margin-bottom: 15px; font-size: 14px; line-height: 22px; }
    .about-text p strong {font-size: 20px; line-height: 27px; }
    .about-text img { margin: 25px 0; }
}

/*-------------------------------------------- RESIDENCY --------------------------------------------*/ 
.page-template-page-residency h2 { color: #000; }

/*----------------------------------------- APPLY RESIDENCY -----------------------------------------*/ 
.page-template-page-apply-residency .featuredtext.residency p { font-family: Poppins, sans-serif; color: #000; font-size: 16px;
    line-height: 24px; font-weight: 300; margin-bottom: 0px; }

@media screen and (min-width: 1440px){
    .page-template-page-apply-residency .featuredtext.residency p { font-size: 17px; line-height: 26px; }
}

@media screen and (max-width: 991px){
    .page-template-page-apply-residency .featuredtext.residency p { font-size: 15px; line-height: 23px; }
}

@media screen and (max-width: 767px){
    .page-template-page-apply-residency .featuredtext.residency p { font-size: 14px; line-height: 22px; }
}

/*----------------------------------------------- NEWS ----------------------------------------------*/ 
.news-navigation a, .news-navigation span { margin-right: 10px; margin-left: 10px; -webkit-transition: all 200ms ease; transition: all 200ms ease;
    font-family: Poppins, sans-serif; color: #d9d9d9; font-size: 18px; line-height: 27px; font-weight: 400; text-decoration: none; }
.news-navigation a:hover, .news-navigation span.current { color: #838383; }

/*------------------------------------------- POLARITATS --------------------------------------------*/ 
.main-page.polaritats { width: 100%; max-width: 1100px; padding-right: 50px; padding-left: 50px; margin-left: auto; margin-right: auto; }
.main-page.polaritats p { font-family: Poppins, sans-serif; color: #000; font-size: 16px; line-height: 24px; font-weight: 300; 
    margin-bottom: 20px; margin-right: auto; margin-left: auto; width: 100%; max-width: 950px; }
.main-page.polaritats a { color: red; text-decoration: underline; }
.main-page.polaritats a:hover { text-decoration: none; }
.main-page.polaritats p.wp-block-embed__wrapper { width: 100%; max-width: none; margin: 65px 0; }
.wp-block-gallery { margin: 60px 0; }
.wp-block-gallery .wp-block-image { padding: 10px; }

@media screen and (min-width: 1440px){
    .main-page.polaritats { width: 80%; max-width: 1350px; }
    .main-page.polaritats p { font-size: 18px; line-height: 26px; width: 85%; max-width: 1100px; }
}
@media screen and (max-width: 991px){
    .main-page.polaritats { padding-right: 40px; padding-left: 40px; }
    .main-page.polaritats p { font-size: 15px; line-height: 23px; }
}
@media screen and (max-width: 767px){
    .main-page.polaritats { padding-right: 30px; padding-left: 30px; }
    .main-page.polaritats p { font-size: 14px; line-height: 22px; margin-bottom: 15px; }
    .wp-block-gallery .wp-block-image { padding: 5px; }
}

/*--------------------------------------------- CONTACT ---------------------------------------------*/ 
.direction-column p, .email-column p { font-family: Poppins, sans-serif; font-size: 18px; line-height: 25px; font-weight: 300; margin-bottom: 0px; }
.leaflet-control-zoom { display: none; }

@media screen and (max-width: 991px){
    .direction-column p, .email-column p { font-size: 16px; line-height: 24px; }
}

@media screen and (max-width: 767px){
    .direction-column p, .email-column p { font-size: 15px; }
}

/*---------------------------------------------- PRESS ---------------------------------------------*/ 
.page-template-page-press .ui-tabs-panel p { margin-bottom: 0px; font-family: Poppins, sans-serif; color: #000; font-size: 16px;
    line-height: 24px; font-weight: 300; color: #afafaf !important; padding-top: 7px; padding-bottom: 7px; }
.page-template-page-press .ui-tabs-panel p strong { color: #000 !important; font-weight: 500; }
.page-template-page-press .ui-tabs-panel a { color: red; }
.page-template-page-press .ui-tabs-panel a:hover { text-decoration: none; }

@media screen and (min-width: 1440px){
    .page-template-page-press .ui-tabs-panel p { font-size: 17px; line-height: 26px; }
}
@media screen and (max-width: 991px){
    .page-template-page-press .ui-tabs-panel p { font-size: 15px; line-height: 23px; }
}
@media screen and (max-width: 767px){
    .page-template-page-press .ui-tabs-panel p { font-size: 14px; line-height: 22px; }
}

/*------------------------------------------ PUBLICATIONS ------------------------------------------*/ 
.page-template-page-publications .featuredtext a { color: #000; text-decoration: none;  }
.page-template-page-publications .featuredtext a:hover { color: red; }
.publication-element, .publication-image__container, .publications-fitxa { text-align: center !important; }

/*-------------------------------------- PUBLICATIONS SINGLE ---------------------------------------*/ 
.publication-text p strong, .publication-text li strong { font-weight: 500; }
.publication-text ul { padding-left: 25px; margin: 30px 0; }
.publication-text ul li { margin-bottom: 5px; }

/*--------------------------------------------- SINGLE ---------------------------------------------*/ 
.photonic-stream { display: block !important; }
.single .main-page, .page-template-default .main-page { padding-bottom: 140px; }
.single .publication-text, .page-template-default .publication-text { margin-top: 50px; }
.single .publication-text p, .single .publication-text li, .page-template-default .publication-text p, .page-template-default .publication-text li { font-family: Poppins, sans-serif; color: #000; font-size: 16px; line-height: 24px; font-weight: 300; }
.single .publication-text p, .single .publication-text ul, .page-template-default .publication-text p, .page-template-default .publication-text ul { margin-bottom: 20px; }
.single .publication-text p strong, .page-template-default .publication-text p strong { font-weight: 600; }
.single .publication-text a, .page-template-default .publication-text a { color: red; text-decoration: underline; }
.single .publication-text a:hover, .page-template-default .publication-text a:hover { text-decoration: none; }
.single .publication-text .wp-block-embed__wrapper, .page-template-default .publication-text .wp-block-embed__wrapper { margin: 40px 0; }
.wp-block-embed__wrapper { width: 100%; position: relative; padding: 0; padding-top: 56.25%; }
.wp-block-embed__wrapper iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.single .publication-text .wp-block-image, .single .publication-text .blocks-gallery-item, 
.page-template-default .publication-text .wp-block-image, .page-template-default .publication-text .blocks-gallery-item { margin: 50px 0; overflow: hidden; text-align: center; }
.single .publication-text .wp-block-image img, .page-template-default .publication-text .wp-block-image img { width: 100%; height: auto; max-width: fit-content; }

@media screen and (max-width: 991px){
    .single .main-page, .page-template-default .main-page { padding-bottom: 100px; }
    .single .publication-text p, .single .publication-text li,
    .page-template-default .publication-text p, .page-template-default .publication-text li { font-size: 15px; line-height: 23px; }
}

@media screen and (max-width: 767px){
    .single .main-page, .page-template-default .main-page { padding-bottom: 40px; }
    .single .publication-text p, .single .publication-text li, .page-template-default .publication-text p, .page-template-default .publication-text li { font-size: 14px; line-height: 22px; }
    .single .publication-text p, .single .publication-text ul, .page-template-default .publication-text p, .page-template-default .publication-text ul { margin-bottom: 15px; }
}
