/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/***** Load some fonts locally ******/
@font-face {
    font-family: 'Gelasio';
    src: url('/wp-content/themes/hello-theme-child-master/assets/fonts/Gelasio-VariableFont_wght.ttf') format('truetype');
}

@font-face {
    font-family: 'Open Sans';
    src: url('/wp-content/themes/hello-theme-child-master/assets/fonts/OpenSans-VariableFont_wdth,wght.ttf') format('truetype');
}


/*** PROJECT SLIDER FRONT PAGE ***/
.project-slider .swiper-slide h4 {
	line-height: 1 !important;
    height: 2em; 
    
}

.project-slider .elementor-widget-text-editor {
	height:200px !important;
}

.project-slider .elementor-widget-icon .elementor-widget-container {

	padding-top:0px !important;
	padding-left:0px !important;
	padding-right:5% !important;
	padding-bottom:5% !important;
}


/*** PRESS PAGE ***/

.cision-feed-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Adjusts spacing between items */
}

.cision-feed-filters {
    order: -1; 
    margin-bottom: 20px; 
    width: 100%; 
}

.cision-feed-filters a {
	color:#ee7f00 !important;
}

.cision-feed-item {
    position: relative;
    padding: 20px; /* Add padding for better spacing inside the item */
    flex: 1 1 calc(33.33% - 20px); /* Three items per row, accounting for margin */
    margin: 10px; /* Margin around each item */
    background-color: white;
    border-bottom: none !important;
    display: flex;
    flex-direction: column;
}

/* Set images to same size and set space after time if there is no image in feed item */
.cision-feed-item p {
	padding-top:1em;
	padding-bottom: 1em;
}
.cision-feed-item-media {
	overflow: hidden;
	position: relative;
	height:250px;
}
.cision-feed-item-media img {
	height: 100%;
	width:100%;
  	object-fit: cover;
}
.cision-no-image {
	margin-top:250px !important;
}

.cision-feed-item a {
    position: absolute;
    bottom: 20px;
}




/*** FROM MAIN THEME CUSTOM CSS ***/

a {
    color: #EE7F00;

}

button {
    border: 0px;
}

/* tabell */
.table-ca>thead>tr>th {
    border-bottom: 0px !important;
      border-color: #fff;
   text-align: left;
    border-width:;
	   background: #fff;
	background-color: #fff;
	
}
.table-ca>tbody>tr>td {
    border-bottom: solid 0px #fff !important;
     border-color: #fff;
    background: #fff;
	padding: 4px;
	background-color: #fff;
	margin: 0px;
}
table {
    border: none;
		margin: 0px;
           }
table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th {
    background-color: #fff;
}

.table-ca-lokal>tbody>tr>td {
    border-bottom: none !important;
	    border: 0px solid hsla(0, 0%, 0%, .0);
	padding: 15px;
	margin: 0px;
}
table tbody>tr:nth-child(odd)>td, table tbody>tr:nth-child(odd)>th {
    background-color: hsla(0, 0%, 0%, .0);
}

.table-ca-lokal-left>tbody>tr>td {
    border-bottom: 0px !important;
     
	padding: 6px 0px 0px 0px;
	margin: 0px;
}
table td, table th {
    border: 0px solid hsla(0, 0%, 0%, 0%);
}

/* tabell slut */

/******************/
/***** MOBILE *****/
/******************/

@media (max-width: 1200px) {
    .cision-feed-item {
        flex: 1 1 calc(50% - 20px); /* Two items per row on medium screens */
    }
}


@media (max-width: 768px) { 
	
	.project-slider .elementor-widget-icon .elementor-widget-container {
		 margin: -30px 10px 10px 0px !important;
	}
	
	/* Press/news */
	.cision-feed-wrapper {
		grid-template-columns: 100% 100% 100% !important;
		margin-top: -30px !important;
	}
	.cision-feed-item {
		flex: 1 1 calc(100% - 20px);
		padding: 15px 15px 15px 15px !important;
	}
	
	.cision-feed-wrapper ul.cision-feed-filters li button {
		padding: 8px 12px 8px 12px !important;
		margin-right: 8px !important;
	}
	.cision-feed-item p {
		padding-bottom: 2em;
	}
	

}
