/*
Theme Name: Hamrén Webbyrå Theme
Description: Hamrén Webbyrå Theme, A childtheme based on the Avada Wordpress Theme
Author: Hamrén Webbyrå
Version: 1.0
Template: Avada
*/



/* Header
=============================================== */

.hollowbutton:hover span{
   color: white !important;
}

.red {
	color: #eb3300;
}

.tfs-slider h2 {
    font-weight: bold !important;
    letter-spacing: -2.4px;
    font-size: 48px !important;
    line-height: 1.3em !important;
}


/*.tfs-slider .background-image {
    border-bottom: 7px solid #EB3300;
}*/

.flexslider .slides, .tfs-slider .background-image, .fusion-slider-container {
    height: 60vh !important;
}

.fusion-main-menu > ul > li > a {
    font-weight: 700 !important;
        font-size: 15px !important;
    letter-spacing: 0.3px;
}

/* Boxar
=============================================== */


.box {
   /* background-color: #f5f5f5;
    padding: 20px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);*/
    position: relative;
}

.box .fa {
    color: #0060A8;
    font-size: 56px !important;
    margin-bottom: 16px !important;
    float: none;
   /* background: -webkit-linear-gradient(top,#0060A8 47%,#2088D2 98%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;*/
}

.box p {
    color: #333;
    font-size: 14px;
    line-height: 1.5em;
    
}

.post-content .box h2 {
    color: #333333 !important;
    font-size: 27px !important;
    text-align: left !important;
    font-weight: bold !important;
}

.fusion-alert .close {
    display: none;
}

.fusion-alert {
    text-transform: none;
    font-weight: bold;
    color: #333;
    margin-bottom: 40px;
    border: 0px solid #EB3301 !important;
    text-align: left;
    padding-left: 0px !important;
    box-shadow: none !important;
}

span.alert-icon {
    color: #EB3300;
    font-size: 20px;
}

.box .fusion-button {
    background-color: #0060A8 !important;
   /* position: absolute;
    bottom: -20px;
    left: 0px;*/
    border-radius: 0px !important;
    cursor: pointer;
   
}

.post-content .fusion-button:hover {
    background-color: #004b87 !important;
    cursor: pointer;

}

.fusion-equal-height-columns .box .fusion-column-tablecell {
    vertical-align: bottom !important;
}


.fusion-button.hollowbutton {
    background-color: transparent !important;
    color: #0060A8 !important;
    border: 2px solid !important;
    border-radius: 0px !important;
        padding: 20px 40px;
}

.hollowbutton span {
    color: #0060A8 !important;
    font-weight: normal;
    letter-spacing: 1px;
    font-size: 12px;
}



/* Typografi
=============================================== */

/*h1:before, h2:before {
    content: "";
    width: 10%;
    height: 2px;
    background-color: #EB3300;
    display: block;
    margin-bottom: 10px;
}*/


h1 {
	font-size: 50px !important;
	line-height: 1.4em !important;
	color: #333333;
    font-weight: bold !important;
    text-align: left !important;
}



.post-content h2 {
	font-size: 32px !important;
	line-height: 1.3em !important;
	font-weight: normal !important;
}


h4 {
	font-size: 18px !important;
	margin-bottom: 0px !important;
}

p.lead {
    font-size: 20px !important;
    line-height: 1.6em;
    font-weight: 300;
}

.page-id-2 p.lead {
    max-width: 80%;
}

.post-content p, .post-content li {
    color: #333 !important;
    font-size: 15px;
    line-height: 1.6em;
}

.bold {
	font-weight: bold;
	color: #0060A8;
}



/* Certifikat
=============================================== */

.cert {
	width: 30%;
	float: left;
	margin-right: 10px;
	margin-bottom: 40px;
}

.cert:nth-child(3n+1) {
    margin-right: 0px;
}

.cert img {
    max-height: 350px;
    margin: 0px auto 0px auto;
    display: block;
}

.cert h4 {
    text-align: center;
    font-weight: normal !important;
    font-size: 15px !important;
}




/* Referenser
=============================================== */

#gallery-1 .gallery-item, #gallery-2 .gallery-item {
    float: left;
    margin-top: 10px;
    text-align: center;
    width: 25%;
    height: 130px;
    display: table;
}


#gallery-1 img, #gallery-2 img  {
    border: 0px !important;
    width: 150px;
    height: auto;
    vertical-align: middle !important;
}


.gallery-icon {
    vertical-align: middle;
    display: table-cell;
}


/* Kontakt
=============================================== */

.shortcode-map {
    margin-top: -55px;
    margin-left: -30px;
    width: calc(100% + 60px) !important;
}

.page-id-29 .box {
    text-align: center;
}

.kontaktblock {
    width: 31.5%;
    margin-right: 20px;
    float: left;
    margin-bottom: 20px;
}

.kontaktblock:nth-child(3n) {
	margin-right: 0px;
}




/* Footer
=============================================== */
.fusion-footer-widget-area {
    background-color: #0060A8 !important;
    border-color: #e9eaee;
    padding-top: 43px;
    padding-bottom: 40px;
    border: 0px;
}
.fusion-footer-copyright-area {
    background-color: #004b87 !important;
        border-color: #004B87 !important;
}

h4.widget-title {
    color: #fff !important;
    letter-spacing: 1.2px;
    font-size: 15px !important;
    text-transform: none !important;
    margin-bottom: 16px !important;
    font-weight: bold !important;
}

.textwidget {
    color: #fff;
    max-width: 90%;
    font-weight: 300;
    letter-spacing: 0.4px;
}

.fusion-footer-widget-area li.current-menu-item a, .fusion-footer-widget-area li a {
    color: white !important;
}


.fusion-footer-widget-area ul li a {
    border-color: #004B87 !important;
}

.fusion-copyright-notice {
	color: #fff !important;
}

/* Media Queries
=============================================== */


@media print { 
.fusion-header-wrapper, .box, .printhide, .fusion-footer, .to-top-container, .shortcode-map { display: none; }
.personalwrapper {width: 100% !important;}
.kontaktblock h4 {font-size: 12pt !important;}
.kontaktblock p.titel {font-size: 9pt !important;}
.kontaktblock {width: 22.5%; margin-right: 15pt; margin-bottom: 15pt; float: left;}
#wrapper{max-height: 20cm; height: 20cm; overflow: hidden; margin-top: -1cm;}
}





@media (max-width: 900px) {
	
	a.fusion-icon.fusion-icon-bars {
    font-size: 60px;
	}

	#box-front {
		padding-right: 0px !important;
	}
	


.flexslider .slides, .tfs-slider .background-image, .fusion-slider-container {
    height: 40vh !important;
}

h1 {
    font-size: 45px !important;
}


.kontaktblock {
    width: calc(50% - 20px);
}

.kontaktblock:nth-child(3n) {
    margin-right: 20px;
}
#main .fusion-row .fusion-row {
    max-width: 700px !important;
    margin: 0px auto !important;
}



.fusion-row .shortcode-map {
    margin: -30px -30px 30px -30px;
    width: calc(100% + 60px) !important;
}


}




@media (max-width: 500px) {
	
	.kontaktblock {
    width: 100%;
    margin-right: 0px;
}

h1 {
    font-size: 35px !important;
}

.tfs-slider .slide-content-container h2 {
    font-size: 26px !important;
}


.cert {
    width: calc(50% - 10px);
}

	}
	
	
	
.fusion-header-wrapper .fusion-main-menu{
	top: 40px;
}

.fusion-header-wrapper.fusion-is-sticky .fusion-main-menu{
	top: 0;
}