/*
Theme Name: Hello Elementor Child theme of hello-elementor
Theme URI: 
Description: Child theme of hello-elementor theme for the Hello Elementor theme
Author: <a href="https://elementor.com/?utm_source=wp-themes&#038;utm_campaign=author-uri&#038;utm_medium=wp-dash">Elementor-holdet</a>
Author URI: 
Template: hello-elementor
Version: 2.8.1
*/

/* Generated by Orbisius Child Theme Creator (https://orbisius.com/products/wordpress-plugins/orbisius-child-theme-creator/) on Wed, 19 Jul 2023 13:00:04 +0000 */ 
/* The plugin now uses the recommended approach for loading the css files.*/

   /* Custom dropdown styles */

/* Updated styles for the custom dropdowns */
.main-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap; /* Allow items to wrap to the next line */
    justify-content: flex-start; /* Adjusted to align items to the right */
    box-sizing: border-box; /* To include padding and border in the width calculation */
	margin-bottom:40px;
	
}

.custom-dropdowns {
	width:100%;
    display: flex;
    flex-direction: row;
	justify-content:center;
   
}

.custom-dropdown {
    position: relative;
    display: inline-flex; /* Use inline-flex to align dropdowns in a row */ 
    margin-right: 100px; /* Add some right margin to separate dropdowns */
}

label {
    display: block;
    margin-bottom: 5px;
}

.dropdown-container {
    display: flex;
    align-items: center;
}

.dropdown-container label{
	
	position: absolute;
    top: -30px; /* Adjust this value to control the distance between label and option */
    left: 0px;
    width: 100%;
    text-align: left;
    color: #333333;
    font-size: 22px;
	font-weight:500;
    pointer-events: none; /* Make sure the label doesn't interfere with dropdown interactions */
}



.dropdown-selected {
    position: relative;
    display: inline-block;
    padding: 10px 200px 10px 0px;
    color: #00685b;
    cursor: pointer;
	border-bottom: 2px solid #00685b;
	text-align:left !important;
}

.dropdown-selected::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px; /* Right side placement */
    transform: translateY(-50%) rotate(90deg);
    border: 8px solid transparent;
    border-left-color: #00685b; /* Left arrow edge color */
}

.dropdown-list {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;
    display: none;
    background-color: #fff;
    border: 1px solid #00685b;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-height: 200px;
    overflow-y: auto;
    padding: 5px;
}

.dropdown-list.show {
    display: block;
}

.dropdown-list li {
    cursor: pointer;
    padding: 8px 12px;
    color: #00685b;
}

.dropdown-list li:hover {
    background-color: #f2f2f2;
}

/* Basic styles for the filtered_posts section */

    .filtered-post-main {
        width: 90%;
        margin: 20px auto;
        /* Center the section on larger screens */
    }

    .filtered-post-container {
        display: flex;
        flex-wrap: wrap;
        
    }

    .filtered-post {
        width: calc(33.33% - 20px);
        margin-bottom: 20px;
        padding: 10px;
        border: 1px solid #ddd;
        border-radius: 4px;
        background-color: #fff;
        box-sizing: border-box;
		margin:10px 10px 10px 10px;
    }

    .filtered-post h2 {
        font-size: 24px;
        margin-bottom: 10px;
        color: #00685b;
    }

    .filtered-post .post-content {
        font-size: 16px;
        line-height: 1.6;
        color: #333;
    }




/* Media queries for tablet and mobile */
@media (max-width: 768px) {
	
	.main-container{
		width:100%;
		justify-content:center;
		display:flex;
		
	}
    .custom-dropdowns {
       flex-direction: column;
         position: relative;
        display: inline-flex;
		
		
    }
	
	
.dropdown-container label{
	
	position: absolute;
    top: -30px; /* Adjust this value to control the distance between label and option */
    left: 0px;
    width: 100%;
    text-align: center;
    color: #333333;
    font-size: 22px;
	font-weight:500;
    pointer-events: none; /* Make sure the label doesn't interfere with dropdown interactions */
	
	
	
}
	
	   .dropdown-selected {
        position: relative;
        display: inline-block;
        padding: 20px 50px 20px 50px;
        color: #00685b;
        cursor: pointer;
        border-bottom: 2px solid #00685b;
        text-align: left !important;
		   
    }
	
.custom-dropdown {
	justify-content:center;
	width:100%;
	margin-bottom:60px;
}

    /* Adjust the button size for tablet */
    input[type="submit"] {
        padding: 8px 16px;
		width:100%;
        font-size: 14px;
		margin-top:20px;
		
    }
	
	   .filtered-post {
        width: 100%;
    }

    .filtered-post h2 {
        font-size: 20px;
    }

    .filtered-post .post-content {
        font-size: 14px;
    }
	
	
.filtered-post-main{
	width:100%;
}

	.filtered-post-main{
	width:100%;
	margin: 0 0 0 0px;

}

.filtered-post-container{
	width:90%;
	margin: 0 0 0 22px;
	justify-content:center;
	
}
}

@media (max-width: 480px) {
    .custom-dropdowns {
        margin: 0 10px; /* Add some horizontal margin for mobile */
    }

    /* Adjust the button size for mobile */
    input[type="submit"] {
        padding: 6px 12px;
        font-size: 12px;
    }
	
	
	
	
}
