#t3-content h1:first-of-type {
    margin-top: 0;
}

article img.pull-left {
	margin-right: 2em;
	margin-bottom: 1.5em;
	margin-top: 1.5em;
}

article img.pull-right {
	margin-left: 2em;
	margin-bottom: 1.5em;
	margin-top: 1.5em;
}


/* K2 things */

.itemEditLink .modal {
	display: inline-block;
	position: inherit;
	width: auto !important;
	top: auto !important;
	overflow: hidden;
}
#k2Container .modal {
	display: inline-block;
	position: inherit;
	width: auto !important;
	top: auto !important;
	overflow: hidden;
}


#k2Container h2 {
    font-family: inherit;
    font-weight: 300;
}

#k2Container div.itemHeader h2 {
	padding: 0;
}

#k2Container div.itemBody:first-of-type {
	padding: 0;
}

#k2Container.urverk.product div.itemImageBlock img {
    max-width: 100%;
}

#k2Container.urverk.product div.itemImageBlock {
    margin: 0;
}

#k2Container.urverk.product div.itemAttachmentsBlock li {
    display: list-item;
    text-align: inherit;
}

#k2Container.urverk.product div.catItemImageBlock img {
    max-width: 100%
}

#k2Container.urverk.product span.catItemImage {
    position: relative;
    
}

#k2Container.urverk.product span.catItemImage div.title {
    
    
    position:absolute;
    left: 10px;
    right: 10px;
    bottom: 50%;
    background-color: #000;
    background-color: rgba(0,0,0,0.7);
    color: #fff;
    padding: .3em;
    visibility: hidden;
    opacity: 0;
    
    transition-duration: .3s;

}

#k2Container.urverk.product span.catItemImage a:hover div.title {
    visibility: visible;
    opacity: 1;
}

#k2Container img {
	max-width: 100%;
}

#k2Container .urverkare {
	width: 32%;
	min-width:11em;
}

/* Search button */

.col-mn-search a {
    font-size: 20px;
    line-height: 60px;
    width:60px;
    height:60px;
}

.mn-modal-controls .search {
    padding-bottom: 60px;
    padding-top: 20px;
    text-align: center;
}

/* Footer */

div.t3-wrapper {
    min-height: 100%;
    padding-bottom: 100px;
}

footer.t3-footer {
    position: absolute;
    bottom: 0;
    width: 100%;
}

div.logo {
    padding-top: 0;
}

/* Spotlight */

div.mn-spot.t3-sl-1 {
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
}

div.module_banner {
    margin-bottom: 0;
    padding-bottom: 0;
}

div.module_banner img {
    max-width:100%;
}

/* Paypal module margins */

div.product div.moduletable_paypal {
	margin: 2em;
}

/* K2 products-module things */

div.k2ItemsBlock.products ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, 230px);
    grid-gap: 30px;
}

div.k2ItemsBlock.products.xs ul {
    grid-template-columns: repeat(auto-fill, 100px);
}

div.k2ItemsBlock.products ul li {
    display: inline-block;
    display: grid;
    grid-template-areas: "article";
    margin: 0;
}

div.k2ItemsBlock.products ul li a.moduleItemTitle {
    grid-area: article;
    z-index: 1;
    align-self: center;

    background-color: rgba(0,0,0,0.7);
    color: #fff;
    opacity: 0;
    transition-duration: .3s;

    margin-left: 10px;
    margin-right: 10px;
    padding: .3em;
    overflow:hidden;

    text-align: center;
    text-overflow: ellipsis;
    text-overflow: fade;  
}

div.k2ItemsBlock.products ul li:hover a.moduleItemTitle {
    opacity: 1;
    text-decoration: none;
}

div.k2ItemsBlock.products ul li div.moduleItemIntrotext {
    grid-area: article;
}

div.k2ItemsBlock.products ul li img {
  box-shadow: 0 0 5px;
}