/*======================================
Theme Name: Swema
Theme URI: https://divicake.com/
Description: N/A
Version: 1.0
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. */


/* Code by Per below */

.swema_blurb
{
	transition: .2s ease-in-out;
}
.swema_blurb:hover
{
	box-shadow:0px 15px 30px 5px rgba(0,0,0,0.12);
}
.et_shop_image
{
	border:1px solid rgba(0,0,0, 0.15);
}
.woocommerce.et-db #et-boc .et-l .et_shop_image .et_overlay:before, .et-db #et-boc .et_shop_image .et_overlay:before, .et_shop_image .et_overlay:before
{
	content: 'Visa produkt' !important;
	padding-left:10px !important;
	padding-right:10px !important;
	font-weight:500 !important;
}
#main-footer
{
	display:none !important;
}
.swema_link
{
	color:rgba(0,0,0,0.89);
	text-decoration:none;
}
.swema_link:hover
{
	text-decoration:underline;
}
.swema_white_link
{
	color:#fff;
	text-decoration:none;
}
.swema_white_link:hover
{
	text-decoration:underline;
}

.et_pb_blog_grid .et_pb_post .post-content
{
	font-weight:400 !important;
}

/*.dgwt-wcas-sf-wrapp input[type=search].dgwt-wcas-search-input
{
	height:50px;
	border-radius:999px !important;
}
.dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit
{
	height:50px;
}
.dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit:hover
{
	opacity:1 !important;
	background-color:#4d9cce !important;
}
.dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit:before
{
	top:17px;
}*/


/*.dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit
{
    border-radius: 999px;
    padding-left: 30px;
    padding-right: 30px;
    margin-right: -20px;	
}
.dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit:before
{
	display:none !important;
}
*/


#top-menu li.mega-menu>ul>li>a:first-child
{
	border-bottom:none !important;
}
#top-menu li.mega-menu>ul>li
{
	width:25% !important;
}
#top-menu li.mega-menu>ul>li>a:first-child:hover
{
	background-color:#eee !important;
}
#top-menu li.mega-menu>ul>li>a:first-child
{
	padding-top:10px !important;
}




.dd_single_line_form .et_pb_button:hover {
    padding-left: 30px!important;
}

.dd_single_line_form {
    position: relative;
}

.dd_single_line_form .et_pb_contact_submit.et_pb_button {
    position: absolute;
    right: 0px;
    top: 0px;
    padding: 10px 30px;
    margin-left: 20px!important;
}

.dd_single_line_form .et_pb_button:hover::after {
    margin-left: 0em!important;
}

.float-right
{
	float:right !important;
}
.float-left
{
	float:left !important;
	margin-top:-8px !important;
}
#top-menu-nav
{
	width:100% !important;
}



.swema_special_4_columns .et_pb_gutters2 .et_pb_column_1_4, .swema_special_4_columns .et_pb_gutters2.et_pb_row .et_pb_column_1_4
{
	width:24%;
}
.et_pb_gutters2 .et_pb_column, .et_pb_gutters2.et_pb_row .et_pb_column
{
	margin-right:1%;
}
.container
{
	width:90%;
}
.et_pb_gutters2 .et_pb_column_1_4, .et_pb_gutters2.et_pb_row .et_pb_column_1_4
{
	width:24%;
}

#et-info {
    /*float: right;*/
    float: left;
    margin-left: 170px;
    padding-top: 5px;
}
.dgwt-wcas-search-input
{
	width:500px !important;
}
@media only screen and (max-width: 1310px) 
{
	.dgwt-wcas-search-input
	{
		width:450px !important;
	}
}
@media only screen and (max-width: 1245px) 
{
	.dgwt-wcas-search-input
	{
		width:400px !important;
	}
}
@media only screen and (max-width: 1180px) 
{
	.dgwt-wcas-search-input
	{
		width:300px !important;
	}
}
@media only screen and (max-width: 1045px) 
{
	.dgwt-wcas-search-input
	{
		width:200px !important;
	}
}
/*----------Overlapping Logo that Shrinks on Scroll----------*/
 
 
.et_fixed_nav #top-header {
    position: fixed;
    z-index: 9998!important;
}
 
#logo {
    max-height: 113px !important;
    margin-top: -30px;
}

#et-top-navigation
{
	padding-top:0px !important;
}
#et-secondary-menu
{
	padding-right:20px;
}
 
.et-fixed-header #logo {
    max-height: 60px!important;
    margin-top: 0px;
} 
 
@media only screen and (max-width: 980px) {
     
#logo {
    max-height: 70px;
    margin-top: 0px;
}
     
#et-info {
    float: none;
}
 
}


.add-margin-left
{
	margin-left:20px;
}
#et-secondary-nav li a
{
	padding-top:5px !important;
}
#top-header > .container
{
	padding-top:0px;	
}



/*.et-cart-info
{
	display:inline-block !important;
}
.et-cart-info span
{
	content: 'hej' !important;
}
*/


.et_header_style_left #et-top-navigation nav>ul>li>a
{
	padding-bottom:20px !important;
	padding-top:28px !important;
}

#top-menu .menu-item-has-children>a:first-child:after
{
	top:20px;
}


.swema_blurb_control_height img
{
	max-height:200px;
	max-width:200px;
}


#et-top-navigation
{
	float:left;
	margin-left:170px;
	padding-left:0px !important;
}



.swema_special_section .et_pb_row_1-4_3-4
{
	margin-left:0px;
	margin-right:0px;
	width:100%;
}

.swema_special_section .et_pb_column_1_4
{
	width:14%;
}
.swema_special_section .et_pb_column_3_4
{
	width:84%;
}
.et_pb_fullwidth_menu--without-logo .et_pb_menu__menu>nav>ul>li, .et_pb_menu--without-logo .et_pb_menu__menu>nav>ul>li 
{
	margin-top:0px;
}
.et_pb_menu_1_tb_header.et_pb_menu ul li a
{
	padding-top:13px;
}
.et-menu .menu-item-has-children>a:first-child:after
{
	top:13px;
}
.swema-search
{
	position:absolute !important;
	right:0px !important;
}




.et_pb_slide_image, .et_pb_slide:first-child .et_pb_slide_image img.active {
    -webkit-animation-duration: 0s !important;
    animation-duration: 0s !important;
}

.et_pb_section, .et_pb_section *{
animation:none !important;
}

.swema_slider_title_top .et_pb_slide_title
{
	position:absolute;
	top:20px;
	left:50%;
	transform:translateX(-50%);
}



.et-menu-nav li.mega-menu ul li
{
	line-height:41px !important;
}
