/*======================================
Theme Name: Jelmedia
Theme URI: N/A
Description: N/A
Version: 1.1
Author: Jejjcop Web Solutions AB
Author URI: https://www.jejjcop.se/
Template: Divi
======================================*/

/* You can add your own CSS styles here. Use !important to overwrite styles if needed. */

#main-header .container
{
	width: 90%;
    max-width: 1190px;
}
#top-menu li a
{
	letter-spacing:0.7px;
}

/*replace the logo when scrolling*/
#main-header.et-fixed-header img
{
	content: url('/wp-content/uploads/2023/05/jelmedia-logo-temp-black.png');
}
#page-container #main-header
{
	box-shadow: 1px 1px 10px rgba(0,0,0,.1) !important;
}

.jelmedia-gallery .et_pb_gallery_item 
{
	padding:4px;
}


.et_pb_portfolio_item 
{
	box-shadow:0px 2px 18px 0px rgba(0,0,0,0.1);
	padding:10px;
	transition:all 0.1s ease;
}
.et_pb_portfolio_item:hover
{
	box-shadow:0px 2px 18px 0px rgba(0,0,0,0.3);
}
.et_pb_filterable_portfolio .et_pb_portfolio_filters
{
	margin-bottom:20px;
}
.et_pb_filterable_portfolio .et_pb_portfolio_filters li a.active
{
	background-color:rgba(0,0,0,0.07);
	color:#000;
}
.et_pb_portfolio_filter
{
	color:#000;
	font-weight:700;
}

.jelmedia_link
{
	color:#000;
	text-decoration:none;
}
.jelmedia_link:hover
{
	color:#000;
	text-decoration:underline;
}

#top-menu {
    height: 28px !important;
 margin-bottom: 30px;
} 

.menu-item a 
{
	padding-bottom: 5px !important;
	border-bottom: solid 2px transparent;
	transition:all .1s;
}

@media all and (min-width: 980px) 
{
	.menu-item a:hover 
	{
		border-bottom: solid 2px #000000;
	}
}
.current-menu-item a {
 border-bottom: solid 2px #000000;
 color: #0D2B73 !important;
}
.et-menu a:hover
{
	opacity:1 !important;
}


.wp-video {
    width: 100% !important;
}
h2.video_headline, h2.gallery_headline
{
    font-size: 36px;
    font-weight: 500;
    color: #000;
    font-family: 'HKGrotesk Medium',Helvetica,Arial,Lucida,sans-serif;	
}
.project_image
{
	width:100% !important;
}







/* THREE COLUMN PORTFOLIO GRID LAYOUT */

@media only screen and ( min-width: 768px ) {

.three-column-grid .et_pb_grid_item {
width: 32% !important;
margin: 0 2% 2% 0 !important;
}
 
.three-column-grid .et_pb_grid_item:nth-child(3n) {
margin-right: 0 !important;
}

.three-column-grid .et_pb_grid_item:nth-child(3n+1) {
clear: left;
}

.three-column-grid .et_pb_grid_item:nth-child(4n+1) {
clear: unset !important;
}

}


#header_section_on_homepage.et_pb_sticky .et_pb_row
{
	box-shadow: 0 0 7px rgb(0 0 0 / 10%) !important;
    -webkit-box-shadow: 0 0 7px rgb(0 0 0 / 10%) !important;
}
#header_section_on_homepage .et_pb_row
{
	max-width:100% !important;
}
#header_section_on_homepage .et_pb_menu
{
	width: 90%;
    max-width: 1190px;
    margin-left: auto;
    margin-right: auto;
}
#header_section_on_homepage.et_pb_sticky .et_pb_menu__logo img
{
    content: url(/wp-content/uploads/2023/05/jelmedia-logo-temp-black.png);
    width: 846px;
}
.et_pb_menu--style-left_aligned .et_pb_menu__logo-wrap
{
	align-items:flex-end !important;
}
.et_pb_sticky .et_pb_menu_0_tb_header.et_pb_menu ul li a
{
	color:#000000 !important;
}















@media all and (max-width: 980px) {
/*** wrap row in a flex box ***/
.custom_row {
  display: -webkit-box;
  display: -moz-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
-webkit-flex-wrap: wrap; /* Safari 6.1+ */
flex-wrap: wrap;
}
 
/*** custom classes that will designate the order of columns in the flex box row ***/
.first-on-mobile {
-webkit-order: 1;
order: 1;
}
 
.second-on-mobile {
-webkit-order: 2;
order: 2;
}
 
.third-on-mobile {
-webkit-order: 3;
order: 3;
}
 
.fourth-on-mobile {
-webkit-order: 4;
order: 4;
}
/*** add margin to last column ***/
.custom_row:last-child .et_pb_column:last-child {
margin-bottom: 30px;
}
 
}


#header_section_on_homepage.et_pb_sticky .mobile_nav .mobile_menu_bar:before
{
	color:#000 !important;
}