/*
Theme Name: jbcpl Child
Theme URI: http://webevolvement.com/
Author: Simon Glavan
Author URI: http://webevolvement.com/
Description: Child theme for jbcpl
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: jbcpl
Text Domain: olsen-child
*/


@font-face {
  font-family: 'Cairo';
  src: url('fonts/Cairo-Regular.ttf');
  font-display: swap;
}
@font-face {
  font-family: 'Cairo Bold';
  src: url('fonts/Cairo-Bold.ttf');
  font-display: swap;
}

/* Smartphones (portrait and landscape) ----------- */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    .homepage-hero__textual p {
		//padding-top:15px !important;
        font-size: 17px !important;
		line-height: 18px !important;
		height: 72px !important;
		color:black;
	}
    .homepage-hero__textual.d-flex.flex-column.justify-content-center.justify-content-xl-start.align-items-center.text-center,
    .homepage-hero__textual{
        width: 70% !important;
        height: 45% !important;
        padding: 0px 30px;
        opacity: 1 !important;
    }
    .homepage-hero__inner .image-container .titleimg{
        margin-top:-5px !important;
    
    }
}


@media screen and (min-width: 2451px) and (max-width: 3450px) {
	.homepage-hero__textual p {
		padding-top:15px !important;
        font-size: 30px !important;
		line-height: 38px !important;
		color:black;
	}
    
    .homepage-hero__textual .image-container{
	    width:50% !important;
	}

}

@media screen and (min-width: 1400px) and (max-width: 2450px) {
    .homepage-hero__textual p {
		padding-top:15px !important;
        font-size: 20px !important;
		line-height: 28px !important;
		color:black;
	}
    .homepage-hero__textual-title-container{
        width:80% !important;
    }
	.homepage-hero__textual .image-container{
	    width:80% !important;
	}
    .homepage-hero__inner .image-container .titleimg{
        margin-top:40px !important;
    
    }
    .homepage-numbers-overview__list{
        //transform:scale(0.9, 0.9) !important;
    }
    
    .homepage-numbers-overview__list-item .number {
        font-size:7em !important;
    }
    .homepage-numbers-overview__list-item.li-lozenges-globally .textual .title,
    .homepage-numbers-overview__list-item.li-lozenges-globally .description,
    .homepage-numbers-overview__list-item .description{
        margin-left:0px !important;
    }
    
    .homepage-social-responsibility__inner.section__inner {
        padding-top :30px !important; 
    }
    
    .homepage-therapies__description{
        padding-top:0px !important;
    }
    .slider-post-subheader{
        //height: 200px;
        margin-bottom: 50px;
    }
    .homepage-therapies .slider-post-image-container{
        height: 300px;
        margin-bottom: 10px;
    }
    
    .homepage-hero__textual p{
        padding: 0 30px  !important;
    }
}


@media screen and (min-width: 768px) and (max-width: 1100px) {
	.homepage-hero__inner .image-container img{
        margin-top:10px !important;
    }
	.homepage-hero__textual p {
		font-size: 13px !important;
		line-height: 14px !important;
		color:black;
	}
	.homepage-hero__textual .image-container{
	    width:50% !important;
	}
    
    .homepage-hero__textual p{
        padding: 0 30px  !important;
    }

    .homepage-numbers-overview__list{
        transform:scale(0.85, 0.85) !important;
    }

    .homepage-numbers-overview__list-item:nth-child(4n+1),
    .homepage-numbers-overview__list-item:nth-child(4n+2),
    .homepage-numbers-overview__list-item:nth-child(4n+3),
    .homepage-numbers-overview__list-item:nth-child(4n){
        margin-bottom: 0px !important;
        padding-bottom: 20px !important;
    }
    
        
    .site-header .main-row{
        padding: 20px 0;
    }

    .homepage-therapies .slider-post-image-container{
        height: 250px;
        margin-bottom: 20px;
    }

    .homepage-therapies .row-2{
        padding: 20px 0;
    }

    .homepage-numbers-overview__list-item .number {
        line-height:70px !important;
    }

    .homepage-social-responsibility__inner.section__inner {
        padding-top :10px !important;
    }
}

@media screen and (min-width: 1101px) and (max-width: 1450px) {
	.homepage-hero__inner .image-container img{
        margin-top:30px !important;
    }
	.homepage-hero__textual p {
		font-size: 18px !important;
		line-height: 19px !important;
		color:black;
	}
	.homepage-hero__textual .image-container{
	    width:70% !important;
	}
    
    .homepage-hero__textual p{
        padding: 0 30px  !important;
    }

    .homepage-numbers-overview__list{
        transform:scale(0.85, 0.85) !important;
    }

    .homepage-numbers-overview__list-item:nth-child(4n+1),
    .homepage-numbers-overview__list-item:nth-child(4n+2),
    .homepage-numbers-overview__list-item:nth-child(4n+3),
    .homepage-numbers-overview__list-item:nth-child(4n){
        margin-bottom: 0px !important;
        padding-bottom: 20px !important;
    }
    
        
    .site-header .main-row{
        padding: 20px 0;
    }

    .homepage-therapies .slider-post-image-container{
        height: 250px;
        margin-bottom: 20px;
    }

    .homepage-therapies .row-2{
        padding: 20px 0;
    }

    .homepage-numbers-overview__list-item .number {
        line-height:70px !important;
    }

    .homepage-social-responsibility__inner.section__inner {
        padding-top :10px !important;
    }
}

.homepage-hero__textual{
    width: 30% !important;
    height: 60% !important;
    //opacity:0.8 !important;
    padding-top:20px !important;
    margin:0px !important;
}

.homepage-numbers-overview__list-item:nth-child(4n+1),
.homepage-numbers-overview__list-item:nth-child(4n+2),
.homepage-numbers-overview__list-item:nth-child(4n+3){
    border-right: 1px dotted !important;
}

.homepage-investors .circle__inner{
    padding-top: 40px !important;
}
.homepage-social-responsibility__inner section__inner {
    padding-top :40px !important;
}

.entry-footer{

    display:block;
}

.top-row.site-footer__contact-newsletter{
    margin-top:80px !important;
    padding-top: 30px !important;
    padding-bottom: 30px !important;
}

.footer-social-icons a{
    float:left;
    width : 30px;
    color
}


.footer-social-icons{
    display: flex;
    width: 100%; 
    overflow: hidden;
    color:#203a7f !important;
}

.widget ul a{
    font-size:17px !important;
}

.site-footer__widgets .widget-title{
    max-height:0px;
}

.social-wall{
    margin-top:50px !important;
}

.homepage-social-responsibility__background{
    height: 72% !important;
    top: 28% !important;
}

.social-wall__background,
.homepage-people .background-container{
    max-width:10000px !important;
}
.wp-block-webevolvement-blocks-bs-row,
.wp-block-webevolvement-blocks-bs-row.row.country__ranges-includes.mb-60{
    margin-bottom : 0px !important;
}   

.page_careers .wp-block-webevolvement-blocks-we-section.title-section.section.block-9118db56-b930-4744-875d-4aadaed4ce7d.pt-40.pt-lg-80.pb-50.pb-lg-100{
    
}


.page_careers .wp-block-webevolvement-blocks-bs-row,
.page_careers .wp-block-webevolvement-blocks-bs-row.row.country__ranges-includes.mb-60{
    transform:scale(0.8, 0.8) !important;    
}

.page_careers .wp-block-webevolvement-blocks-we-section.careers-intro.section.block-61ded62f-0173-4254-af34-5ec215d5955c
{
    margin-top:-100px !important;
}
.page_careers .careers-benefits-1{
    margin-top:-100px !important;
    margin-bottom:-100px !important;
}
/*.page_careers .wp-block-webevolvement-blocks-we-section{
    padding-top: 50px !important;
    padding-bottom: 70px !important;
}*/

.page_careers .careers-benefits-2__inner-inner .wp-block-webevolvement-blocks-bs-container{
    margin-top: -100px !important; 
    margin-bottom:-150px !important;
}

.page_careers .life-at-jb-section__inner-inner {
    margin-top: -10px !important; 
}
.page_careers .wp-block-webevolvement-blocks-bs-column p{
    font-size:25px !important;
}
.page_careers .wp-block-webevolvement-blocks-we-section.title-section.section.block-9118db56-b930-4744-875d-4aadaed4ce7d.pt-40.pt-lg-80.pb-50.pb-lg-100{
    padding-top: 40px !important;
    padding-bottom: 60px !important;
}
.page_careers figure{
    width:100%;
}
.page_careers .wp-block-webevolvement-blocks-we-section.join-us.section{
    margin-top: -100px !important;
}

.page_careers .top-row.site-footer__contact-newsletter{
    margin-top: -10px !important;
}
.MultiCulturalWorkforce figure {
    max-width:1000px !important;
    width:300px !important;
}

/*WE*/
.page_subsidiary-accounts .investor-information-financial__pdf-list-container {
        display: flex;
        flex-direction: column;
}
.page_subsidiary-accounts .investor-information-financial__pdf-list-container .accordion {
    order:2;
}

.page_subsidiary-accounts .investor-information-financial__pdf-list-container .accordion:last-of-type {
    order:1;
}
header.homepage-social-responsibility__header {
    position: relative;
    z-index: 333;
}

.homepage-investors td ul {
    display: flex;
    flex-direction: column;
}

#block-22 .column-1 {
    padding-left: 0 !important;   
}


.table-plant td a {
    display: inline-block;
    background: #FAD8C2;
    color: #000 !important;
    line-height: 45px;
    margin: 0 auto;
    padding: 0 45px;
    border-radius: 40px;
    font-weight: 700;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
    transition: all .3s;
}

.table-plant td a:hover {
   display: inline-block;
    background: #5272aa;
    color: #fff !important;
    line-height: 45px;
    margin: 0 auto;
    padding: 0 45px;
    border-radius: 40px;
    font-weight: 700;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
}

.page_our-therapies .table-plant thead th:nth-of-type(3) {
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    width: 100%;
}

.page_our-therapies .table-plant thead th:nth-of-type(4) {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    width: 100%;
}
/*END WE*/