/*
Theme Name:         Carbon Limits
Theme URI:          https://carbonlimits.no/
Description:
Version:            1.0
Author:             Ronny-André Bendiksen
Author URI:         https://bitlab.no
*/


/* New profile images */

.profile-card-wrapper{
	width: 100%;
    margin-bottom: 30px;
}

.profile-card{
	box-shadow: 4px 4px 25px 0 rgba(0,0,0,0.15);
    height: 500px;

	display: none;
	grid-template-rows: 350px 150px;
}

.profile-card.open{
    display: grid;
}

.profile-card__overlay{
    background: linear-gradient(180deg, rgba(39, 174, 96, 0.04) 0%, rgba(39, 174, 96, 0.2) 100%);
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    visibility: hidden;
}

.profile-card:hover .profile-card__overlay{
    visibility: visible;
}


.profile-card__image{
    cursor: pointer;
    position: relative;
    width: 100%;
    height: 100%,
    
}
.profile-card__image img{
    width: auto;
    height: auto;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-card__info{
    padding: 27px 32px; 
}

.profile-card__title{
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.profile-card__subtitle{
    font-size: 16px;
    font-weight: normal;
    margin-top: 8px;
}

.profile-card__some{
    margin-top: 16px;
    display: flex;
}

.profile-card__some a{
    color: #828282;
    margin-right: 1rem;
}

.profile-card__someicon{
    font-size: 25px;
}

.profile-backside{
    position: relative;
    display: none;

	box-shadow: 4px 4px 25px 0 rgba(0,0,0,0.15);
    height: 500px;

	display: none;
	grid-template-rows: 350px 150px;

    padding: 42px 32px;
}

.profile-backside__exit{
    color: #979494;
    font-size: 18px;
    position: absolute;
    top: 16px;
    right: 16px;
    cursor: pointer;
}

.profile-backside.open{
    display: block;
}



/* Extra landing page styling */
.servicerow:not(:first-of-type){
    margin-top: 5rem;
}

.categoryicon{
    width: 44px;
}

.linkedin{
    padding-top: 3rem;
    background-color: #eef2f2;

}

.linkedin + .content{
    margin-top: 0;
    background-image: linear-gradient(to right,#fff 50%,#fff 50%);
    padding-bottom: 3rem;
}

.about-section{
    background-color: white;
}


/* Search bar in header */
.astm-search-menu{
    position: absolute !important;
    right: 5rem;
    top: 50%;
    transform: translateY(-50%);
}
