/*
	Theme Name: Iggo WP
	Theme URI: http://www.kipex.tv/
	Description: HTML5 and Bootstrap 4 based site
	Author: Kimmo Kovalainen
	Version: 2015 (4.4)
	Tags: html5, responsive, bootstrap4
*/





/*
/* /*
/* Global */
html { min-height: 100%; overflow-y: scroll; position: relative; }
body { font-family: "Open Sans", Arial, Helvetica, sans-serif; background: #E4E4E4 url("images/bodybg.jpg") no-repeat center bottom; margin-bottom: 282px; }
header { width: 100%; }
section { width: 100%; padding: 3rem 0; z-index: 10; position: relative; }
footer { width: 100%; }
img { max-width: 100%; }
ul, div { margin: 0; padding: 0; }
select { -webkit-appearance: none; }
a,
a:focus { outline: none; }
button { outline: none; padding: 0; }
li, ul { margin: 0; padding: 0; }

.midwhite { background: #FFF; width: 100%; float: left; position: relative; }

.whitewrap { width: 100%; height: 100%; position: absolute; top: 0; left: 0; }
.whitewrap .container { height: 100%; }
.whitewrap .innerwhite { width: 100%; height: 100%; background: #FFF; }

/* Remove input shadows on iPad */
input[type="text"], input[type="email"], input[type="search"], input[type="password"] { -webkit-appearance: none; -moz-appearance: none; appearance: none; border-radius: 0; }

	/* Medium devices (tablets, less than 62em) */
	@media (max-width: 61.9em) {
		body { margin-bottom: 324px; }
	}

	/* Small devices (landscape phones, less than 48em) */
	@media (max-width: 47.9em) {
		html { font-size: 14px; }
		body { padding-top: 50px !important; margin: 0; background: #E4E4E4 !important; }
	}





/*
/* /*
/* Typography */
h1 { font-size: 2.25rem; font-weight: 700; color: #95c11f; margin-bottom: 2rem; text-transform: uppercase; line-height: 1.2; }
h2 { font-size: 1.625rem; font-weight: 700; color: #95c11f; margin-top: 2rem; margin-bottom: 1rem; line-height: 1.2; }
h3 { font-size: 1.375rem; font-weight: 700; color: #333; margin-bottom: 1rem; line-height: 1.2; text-transform: uppercase; }
h4 { font-size: 1rem; font-weight: 700; color: #333; margin-top: 2rem; margin-bottom: 0.375rem; line-height: 1.2; }

section#news h2 { font-size: 3rem; font-weight: 700; color: #FFF; margin-top: 0; margin-bottom: 2rem; text-transform: uppercase; line-height: 1.2; text-align: center; }
.slideinfo h2 { margin-top: 1.25rem; margin-bottom: 0.5rem !important; font-size: 1.75rem; font-weight: bold; color: #39A641; margin-bottom: 1rem; line-height: 1.2; }

a,
a:hover,
a:focus { color: #108ad9; }

.home h1.page-title { display: none; }

blockquote { font-style: italic; margin: 1rem; padding: 1rem 1.5rem 0.1rem; background: #F0F0F0; }
hr { background-color: #DDD; border: 0 none; height: 1px; margin: 2rem 0; }

	/* Large devices (desktops, less than 75em) */
	@media (max-width: 74.9em) {
	}

	/* Medium devices (tablets, less than 62em) */
	@media (max-width: 61.9em) {
		h1,
		section#news h2 { font-size: 2.5rem; }
	}

	/* Small devices (landscape phones, less than 48em) */
	@media (max-width: 47.9em) {
		h1,
		section#news h2 { font-size: 2rem; }
		h2 { font-size: 1.375rem; }
		h3 { font-size: 1.25rem; }
	}





/*
/* /*
/* Header */
header { z-index: 120; text-align: center; }

header .logo { display: inline-block; width: 380px; margin: 13px 0; position: relative; transition: all 0.2s ease-in-out 0s; }
header .logo img { z-index: 10; position: relative; }

.nav-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); opacity: 1; transition: all 0.2s ease-in-out 0s; z-index: 101; visibility: visible; }
.nav-overlay.disabled { opacity: 0; visibility: hidden; background: rgba(0,0,0,0.0); }

header .leftside { margin-top: 24px; text-align: left; }
header .leftside p { font-size: 0.813rem; line-height: 1.4; color: #888; margin-left: 16px; }
header .rightside { margin-top: 24px; }
header .fa-facebook-official { position: absolute; font-size: 1.5rem; bottom: 12px; right: 31px; color: #3A579D; }
header .fa-instagram {
    position: absolute;
    font-size: 1.5rem;
    bottom: 12px;
    right: 61px;
    color: #3A579D;
}

.langmenu { float: right; margin-right: 16px; }
.langmenu ul { margin: 0; padding: 0; }
.langmenu li { clear: both; float: right; text-align: right; list-style: none; margin: 0; padding: 0; line-height: 1.4; font-size: 0.813rem; }
.langmenu li:first-child { border-left: none; }
.langmenu a { color: #888; font-size: 0.813rem; }


.searchwrap { float: right; margin: -4px 0 0 16px; }
form#searchform { }
form#searchform input[type="text"] { background: #FFF; border: 1px solid #DDD; border-radius: 0px; height: 28px; float: left; width: 160px; padding: 3px 7px; border-right: none; font-size: 0.813rem; }
form#searchform button { height: 28px; line-height: 28px; width: 28px; text-align: center; color: #FFF; text-shadow: none; border: none; float: right; background: #CCC; border-radius: 0; }
form#searchform .fa { display: block; margin-left: 1px; text-align: center; color: #FFF; font-size: 0.813rem; line-height: 28px; }

	/* Small devices (landscape phones, less than 48em) */
	@media (max-width: 47.9em) {
		header { text-align: left; position: fixed; top: 0; left: 0; background: #EEE !important; height: 50px; }
		header .col-xs-12 { padding: 0; }
		header .rightside { width: calc(100% - 165px); margin-top: 15px; margin-right: 3px; }
		.langmenu { margin: 0 !important; width: 100%; border-bottom: 1px solid rgba(0,0,0,0.25); padding: 1rem; }
		.langmenu li { float: left !important; clear: none !important; width: auto !important; padding: 0 14px 0 0 !important; border: none !important;  }
		.langmenu a { line-height: 20px; padding: 0 !important; border: none !important; }
		header .logo { width: 125px; margin: 8px 0 8px; }

		html.noscroll { overflow: hidden !important; height: 100%; }
		body.noscroll { overflow: hidden !important; height: 100%; position: relative; }

		.navbar-toggler { float: left; width: 50px; height: 50px; border: none; margin: 0 5px 0 0; transition: all 0.05s linear 0s; outline: none; z-index: 110; position: relative; border-radius: 0; padding: 5px 14px; }
		.navbar-toggler:active { background: rgba(0,0,0,0.15); }

		.icon-bar { background: #333; float: left; width: 100%; height: 2px; margin: 2px 0; transition: all 0.2s ease-in-out 0s; }
		.top-bar { transform: rotate(45deg); -webkit-transform: rotate(45deg); transform-origin: 10% 10%; -webkit-transform-origin: 10% 10%; }
		.middle-bar { opacity: 0; }
		.bottom-bar { transform: rotate(-45deg); -webkit-transform: rotate(-45deg); transform-origin: 10% 90%; -webkit-transform-origin: 10% 90%; }

		.collapsed .icon-bar {  }
    	.collapsed .top-bar { transform: rotate(0); -webkit-transform: rotate(0); }
    	.collapsed .middle-bar { opacity: 1; }
    	.collapsed .bottom-bar { transform: rotate(0); -webkit-transform: rotate(0); }

		#mainmenu-collapse {
			position: fixed;
			display: block !important;
			top: 0;
			width: 70%;
			padding: 50px 0 0;
			height: 100% !important;
			background: #95c11f;
			border-left: 13px solid #297825;
			border-top: none;
			margin: 0 !important;
			transform: translate3d(0, 0, 0);
			-webkit-transform: translate3d(0, 0, 0);
			transition: height 0.01s, transform 0.25s ease-in-out 0s !important;
			z-index: 105;
			}

		#mainmenu-collapse.disabled { transform: translate3d(-100%, 0, 0); -webkit-transform: translate3d(-100%, 0, 0); }
		#mainmenu-collapse.in { overflow-y: auto; }

		nav#mobile ul > li { clear: both; float: left; width: 100%; }
		nav#mobile ul > li > a { float: left; width: 100%; color: #EEE; padding: 1rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.1); transition: all 0.05s linear 0s; font-weight: bold; }
		nav#mobile ul > li > a:hover,
		nav#mobile ul > li > a:focus { text-decoration: none; }
		nav#mobile ul > li > a:active { background: rgba(255,255,255,0.15); color: #FFF; }
	}





/*
/* /*
/* Nav */
nav#mainleft { float: left; margin-right: 1rem; }
nav#mainright { clear: both; float: right; margin: 8px 0 0; width: 100%; }

.mainmenu { z-index: 130; margin: 0; }
.mainmenu > ul > li { display: inline-block; list-style: none; margin: 0 2rem; }
.mainmenu > ul > li > a { float: left; color: #95C11F; line-height: 40px; padding: 0; font-size: 1rem; font-weight: bold; }
.mainmenu > ul > li:hover > a,
.mainmenu > ul > li.selected > a { color: #297825; }
.mainmenu > ul > li > a:hover,
.mainmenu > ul > li > a:focus { text-decoration: none; }
.mainmenu > ul > li.current-menu-item > a { }

/* 2nd Level */
.mainmenu > ul > li > .sub-menu { display: none !important; visibility: hidden; opacity: 0; background: #F0F0F0; position: absolute; top: 100%; right: 0.9375rem; padding: 16px 32px 10px; box-shadow: 0 7px 2px -5px rgba(0, 0, 0, 0.2); max-width: calc(100% - 1.875rem); transition: all 0.2s ease-in-out 0s; z-index: -2; transform: translate3d(0, -14px, 0); -webkit-transform: translate3d(0, -14px, 0); min-width: 520px; }
.mainmenu > ul > li.selected > .sub-menu { visibility: visible; opacity: 1; transform: translate3d(0, 0, 0); -webkit-transform: translate3d(0, 0, 0); }

.mainmenu > ul > li > ul > li { float: left; list-style: none; text-align: left; margin-left: 32px; margin-bottom: 0.75rem; }
.mainmenu > ul > li > ul > li:first-child { margin-left: 0; }
.mainmenu > ul > li > ul > li > a { font-weight: bold; font-size: 0.938rem; }

/* 3rd Level */
.sub-menu > li > .sub-menu { display: block; }
.sub-menu > li > .sub-menu > li { clear: both; float: left; list-style: none; line-height: 1.4; }
.sub-menu > li > .sub-menu > li > a { color: #333; font-size: 0.813rem; }


	/* Medium devices (tablets, less than 62em) */
	@media (max-width: 61.9em) and (min-width: 48em) {
		.mainmenu > ul > li > a { font-size: 0.875rem; }
	}




/*
/* /*
/* Iggo Buttons (and color versions - default is orange) */
.iggo-btn { display: inline-block; padding: 0; border: none; transition: all 0.15s ease-in-out 0s; color: #FFF; text-shadow: none; border-bottom: 1px solid rgba(0,0,0,0.3); position: relative; overflow: hidden; font-size: 0.813rem; height: 2.438rem; cursor: pointer; }
.iggo-btn::after { content:''; position: absolute; left: 0; top: 0; right: 0; bottom: 0; opacity: 0; transition: all 0.15s ease-in-out 0s; }
.iggo-btn:hover::after { opacity: 1; }

.iggo-btn > .title { float: left; line-height: 2.438rem; padding: 0 1rem; text-transform: uppercase; font-weight: bold; position: relative; z-index: 1; transition: all 0.15s ease-in-out 0s; }
.iggo-btn > .midline { float: right; height: 1rem; width: 1px; background: rgba(0,0,0,0.2); margin: 0.75rem 0; position: relative; z-index: 1; transition: all 0.15s ease-in-out 0s; }
.iggo-btn > .fa { float: right; line-height: 2.438rem; padding: 0 1rem; position: relative; z-index: 1; transition: all 0.15s ease-in-out 0s; }

.iggo-btn:hover,
.iggo-btn:focus { text-decoration: none; color: #FFF; }

.iggo-btn:hover .title,
.iggo-btn:focus .title { }

.iggo-btn:hover .midline,
.iggo-btn:focus .midline {  }

.iggo-btn:hover .fa,
.iggo-btn:focus .fa { }

.iggo-btn { background: rgba(249,159,41,1); background: linear-gradient(to bottom, rgba(249,159,41,1) 0%,rgba(245,129,32,1) 100%); }
.iggo-btn::after { background: rgba(239,138,7,1); background: linear-gradient(to bottom, rgba(239,138,7,1) 0%,rgba(226,107,10,1) 100%); }

.iggo-btn-blue { background: rgba(0,163,240,1); background: linear-gradient(to bottom, rgba(0,163,240,1) 0%,rgba(0,149,218,1) 100%); }
.iggo-btn-blue::after { background: rgba(0,138,204,1); background: linear-gradient(to bottom, rgba(0,138,204,1) 0%,rgba(0,126,186,1) 100%); }

.iggo-btn-green { background: rgba(97,181,34,1); background: linear-gradient(to bottom, rgba(97,181,34,1) 0%,rgba(89,166,31,1) 100%); }
.iggo-btn-green::after { background: rgba(82,153,28,1); background: linear-gradient(to bottom, rgba(82,153,28,1) 0%,rgba(75,141,26,1) 100%); }

.iggo-btn-red { background: rgba(240,0,12,1); background: linear-gradient(to bottom, rgba(240,0,12,1) 0%,rgba(219,0,11,1) 100%); }
.iggo-btn-red::after { background: rgba(204,0,10,1); background: linear-gradient(to bottom, rgba(204,0,10,1) 0%,rgba(187,0,9,1) 100%); }

.iggo-btn-grey { background: rgba(145,145,145,1); background: linear-gradient(to bottom, rgba(145,145,145,1) 0%,rgba(138,138,138,1) 100%); }
.iggo-btn-grey::after { background: rgba(122,122,122,1); background: linear-gradient(to bottom, rgba(122,122,122,1) 0%,rgba(117,117,117,1) 100%); }

.iggo-btn-purple { background: rgba(120,54,102,1); background: linear-gradient(to bottom, rgba(120,54,102,1) 0%,rgba(108,48,92,1) 100%); }
.iggo-btn-purple::after { background: rgba(102,46,87,1); background: linear-gradient(to bottom, rgba(102,46,87,1) 0%,rgba(92,41,78,1) 100%); }





/*
/* /*
/* Iggo Filetype Links */
a.iconlink { padding-left: 23px; background: url("images/iggo_fileicons_16x18sprite.png") no-repeat 0px 0px; height: 18px; line-height: 18px; display: inline-block; margin: 4px 0; }

a[href$=".zip"] { background-position: 0px -500px; }
a[href$=".rar"] { background-position: 0px -700px; }
a[href$=".doc"],
a[href$=".docx"] { background-position: 0px -200px; }
a[href$=".xls"],
a[href$=".xlsx"] { background-position: 0px -400px; }
a[href$=".ppt"] { background-position: 0px -600px; }
a[href$=".jpg"],
a[href$=".png"],
a[href$=".gif"],
a[href$=".eps"] { background-position: 0px -100px; }
a[href$=".mov"],
a[href$=".avi"],
a[href$=".mkv"] { background-position: 0px -300px; }
a[href$=".pdf"] { background-position: 0px 0px; }
a[href$=".apk"] { background-position: 0px -1000px; }
a[href$=".ics"] { background-position: 0px -1100px; }
a[href$=".mp3"],
a[href$=".flac"] { background-position: 0px -800px; }





/*
/* /*
/* Colorbox */
#cboxClose { background: url("../images/cbox-controls.png") no-repeat; width: 30px; height: 30px; opacity: 0.4; right: 20px; top: 20px; transition: all 0.08s linear 0s; }
#cboxClose:hover,
#cboxClose:focus { opacity: 0.6; background-position: 0 0; }
#cboxPagination { display: none !important; }

#cboxPrevious { background: url("../images/cbox-controls.png") no-repeat -88px 0; opacity: 0.4; transition: all 0.08s linear 0s; width: 38px; }
#cboxPrevious:hover,
#cboxPrevious:focus { background-position: -88px 0; opacity: 0.6; }
#cboxNext { background: url("../images/cbox-controls.png") no-repeat -195px 0; opacity: 0.4; transition: all 0.08s linear 0s; width: 38px; }
#cboxNext:hover,
#cboxNext:focus { background-position: -195px 0; opacity: 0.6; }
#cboxLoadedContent { border: 5px solid rgba(0, 0, 0, 0); background: #000; }
#cboxTitle { color: #FFF; top: -25px; font-size: 0.875rem; font-style: italic; }
#cboxCurrent { color: #fff; top: -25px; font-size: 0.875rem; }
#cboxOverlay { background: #111; opacity: 0.9 !important; }
#cboxContent { background: #000; }
#cboxLoadingGraphic { background: url("../images/ajax-loader.png") no-repeat center center; }





/*
/* /*
/* Logo Carousel */
.logo-carousel { position: relative; }

.logo-carousel .sidefade { position: absolute; height: 100%; top: 0; width: 25px; z-index: 10; }
.logo-carousel .fadeleft { left: 0; background: linear-gradient(to right, rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%); }
.logo-carousel .faderight { right: 0; background: linear-gradient(to right, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 100%); }

.logo-carousel .slick-track { display: flex; display: -webkit-flex; }
.logo-carousel .slick-slide { padding: 0 3.5rem; align-self: center; -webkit-align-self: center; }
.logo-carousel .slick-slide a { height: 100%; display: flex; display: -webkit-flex; }
.logo-carousel .slick-slide img { opacity: 1; transition: all 0.1s ease-in-out 0s; max-width: 100%; align-self: center; -webkit-align-self: center; flex: 0 0 100%; -webkit-flex: 0 0 100%; }




	/* Large devices (desktops, less than 75em) */
	@media (max-width: 74.9em) {
		.logo-carousel .slick-slide { padding: 0 2.25rem; }
	}

	/* Medium devices (tablets, less than 62em) */
	@media (max-width: 61.9em) {
		.logo-carousel .slick-slide { padding: 0 2rem; }
	}

	/* Small devices (landscape phones, less than 48em) */
	@media (max-width: 47.9em) {
	}

	/* Landscape phones only */
	@media (max-width: 47.9em) and (min-width: 34em) {
	}





/*
/* /*
/* Imagearea */
section#imagearea,
#iggoslider,
#iggoslider .single-slide,
#iggoslider .slick-list,
#iggoslider .slick-track { height: 380px; }

.slick-prev,
.slick-next { position: absolute; top: calc(50% - 68px); box-shadow: none; width: 50px; height: 140px; border: none; z-index: 3; opacity: 0.3; transition: all 0.1s ease-in-out 0s; }
.slick-prev { background: url("images/slick-arrows.png") no-repeat 10px 0px; left: 20px; }
.slick-next { background: url("images/slick-arrows.png") no-repeat 10px -160px; right: 20px; }

.slick-prev:hover { opacity: 1; background-position: 5px 0px; }
.slick-next:hover { opacity: 1; background-position: 15px -160px; }

section#imagearea { padding: 0; }

#iggoslider { float: left; width: 100%; overflow: hidden; }
#iggoslider .single-slide { width: 100%; outline: none; background-size: cover; background-position: top center; }

.slick-dots { position: absolute; bottom: 20px; left: 0; width: 100%; text-align: center; }
.slick-dots > li { display: inline-block; overflow: hidden; margin: 0 0.3rem; }
.slick-dots > li > button { -webkit-appearance: none; display: block; text-indent: -100px; width: 16px; height: 16px; border-radius: 16px; padding: 0; border: none; background: none; border: 2px solid #FFF; outline: none; }
.slick-dots > li.slick-active > button { background: #FFF; }

#iggoslider .container { display: flex; display: -webkit-flex; height: 100%; position: relative; }

.slideinfo { align-self: center; -webkit-align-self: center; color: #333; width: 50%; background: #FFF; padding: 0 2rem; max-width: 500px; }
.slideinfo p { font-size: 1rem; margin-bottom: 1.25rem; }
.slideinfo .iggo-btn { margin-top: 0.375rem; margin-bottom: 1.25rem; margin-top: -0.25rem; }


	/* Slightly larger than desktop for arrow extra space */
	@media (max-width: 1300px) {
		.slick-prev,
		.slick-next { display: none !important; }
	}

	/* Large devices (desktops, less than 75em) */
	@media (max-width: 74.9em) {
	}

	/* Medium devices (tablets, less than 62em) */
	@media (max-width: 61.9em) {
	}

	/* Small devices (landscape phones, less than 48em) */
	@media (max-width: 47.9em) {
		.slideinfo { width: 100%; text-align: center; }
		section#imagearea,
		#iggoslider,
		#iggoslider .single-slide,
		#iggoslider .slick-list,
		#iggoslider .slick-track { height: 150px; }
	}

	/* Landscape phones only */
	@media (max-width: 47.9em) and (min-width: 34em) {
	}





/*
/* /*
/* SUB PAGE NAV */
section#subnav { text-align: center; padding: 0; }
section#subnav .midwhite { border-bottom: 1px solid #DDD; padding: 0.5rem 0; }
#subnav li { display: inline-block; list-style: none; margin: 0.25rem 1rem; }
#subnav li a { color: #666; font-size: 0.9375rem; }




/*
/* /*
/* WP Comments */
#comments { display: none; }





/*
/* /*
/* Clean read more buttons */
.iggo-rm { display: inline-block; padding: 0.5rem 1rem 0.625rem; color: #FFF; font-size: 1rem; border-radius: 4px; transition: all 0.15s ease-in-out 0s; }
.iggo-rm:hover,
.iggo-rm:focus { text-decoration: none; color: #FFF; }

.iggo-rm-blue { background: #2A8BA5; }
.iggo-rm-blue:hover { background: #226F84; }
.iggo-rm-red { background: #AD2E24; }
.iggo-rm-red:hover { background: #8A251D; }
.iggo-rm-orange { background: #DA7228; }
.iggo-rm-orange:hover { background: #AE5B20; }





/*
/* /*
/* Content */
section#content { text-align: center; padding: 0; }
#content .container { height: 100%; }
#content .midwhite { padding: 3rem 1rem 2.5rem; height: 100%; }

.home #content .midwhite { padding: 1.5rem 0 1.5rem; }
.home #content .lgbanner { margin: 0 0 1.5rem; float: left; width: 100%; }
.home #content .narrowbanners { padding: 0 0.5rem; }
.home #content .narrowbanners a,
.home #content .narrowbanners a img { float: left; width: 100%; }

#content p,
#content li { line-height: 1.5; color: #333; font-size: 0.875rem; }

#content ul,
#content ol { margin: 0 0 1rem; padding: 0; }
#content ul li,
#content ol li { margin-left: 0.9375rem; margin-bottom: 8px; }

#content table td { font-size: 0.875rem; color: #333; padding: 4px 10px; border: 1px solid #DDD; }

.secondcontent { text-align: left; }

/* NEW TinyMCE element styles - readmore links etc */
a.mce-readmore { display: inline-block; background: rgba(0,163,240,1); transition: all 0.15s ease-in-out 0s; color: #FFF; font-size: 0.813rem; height: 2.5rem; line-height: 2.5rem; padding: 0 1.25rem; color: #FFF; font-size: 0.875rem; font-weight: bold; text-transform: uppercase; }
a.mce-readmore:hover { background: rgba(0,138,204,1); text-decoration: none; }

p.imagoteksti { font-size: 1rem !important; line-height: 1.8 !important; margin: 0 0 2rem; }

/* Common Repeater Block */
.twocolrep { text-align: left; }
.twocolrep hr { margin: 1rem 0 2rem; }

.rep-imagecol { width: 50%; float: right; padding: 0 0 0 1.5rem; }
.rep-imagecol img { margin: 0 0 1rem; }
.rep-textcol { width: 50%; float: left; padding: 0 1.5rem 0 0; }

.twocolrep h2 { margin-top: 0; }

.single-reprow .linebreak { clear: both; float: left; width: 100%; }

.single-reprow:nth-child(odd) .rep-imagecol { float: left; padding: 0 1.5rem 0 0; }
.single-reprow:nth-child(odd) .rep-textcol { float: right; padding: 0 0 0 1.5rem; }

	/* Medium devices (tablets, less than 62em) */
	@media (max-width: 61.9em) {
		#content p,
		#content li { font-size: 0.875rem; }
	}

	/* Small devices (landscape phones, less than 48em) */
	@media (max-width: 47.9em) {
		.rep-imagecol { width: 100%; padding: 0 !important; margin-bottom: 0.25rem; }
		.rep-textcol { width: 100%; padding: 0 !important; }
		.narrowbanners img { margin: 0rem 0; }
		.home #content .narrowbanners { padding: 0 0.25rem; }
		.home #content .narrowbanners .col-xs-4 { padding: 0 0.25rem; }

		.home #content .midwhite { padding: 0.5rem 0; }
		.home #content .lgbanner { margin: 0 0 0.5rem; }
	}




/*
/* /*
/* PAGE: Etusivu */
section#etupalvelut { clear: both; width: 100%; padding: 0 0 5.125rem; }
.service-list { display: flex; display: -webkit-flex; align-items: stretch; -webkit-align-items: stretch; flex-wrap: wrap; -webkit-flex-wrap: wrap; justify-content: center; -webkit-justify-content: center; }
.servicebox { flex: 0 0 calc(100% / 4); -webkit-flex: 0 0 calc(100% / 4); text-align: center; padding: 1.5rem 1rem 2.688rem; position: relative; }
.servicebox h3 { margin-bottom: 0.625rem; }
.servicebox p { font-size: 0.875rem; color: #777; }

.buttonabs { position: absolute; bottom: 0; left: 0; width: 100%; text-align: center; }

.servicebox .blueicon { display: inline-block; width: 110px; height: 110px; background: url("images/sprite_blueicons.png") no-repeat 0px 0px; margin-bottom: 0.75rem; }
.servicebox .blueicon-lampo { background-position: 2px 0; }
.servicebox .blueicon-sahko { background-position: -186px 0; }
.servicebox .blueicon-vesi { background-position: 16px -199px; }
.servicebox .blueicon-asennus { background-position: -200px -199px; }

	/* Medium devices (tablets, less than 62em) */
	@media (max-width: 61.9em) {
		.servicebox { flex: 0 0 calc(100% / 2); -wekbit-flex: 0 0 calc(100% / 2); }
		.servicebox:nth-child(1),
		.servicebox:nth-child(2) { margin-bottom: 3rem; }
	}

	/* Small devices (landscape phones, less than 48em) */
	@media (max-width: 47.9em) {
		section#etupalvelut { padding: 0 0 3.125rem; }
		.servicebox { flex: 0 0 100%; -webkit-flex: 0 0 100%; border-top: 1px solid #DDD; border-right: none; margin: 0 0 1.375rem !important; }
	}



section#news { clear: both; padding: 3rem 0 3.75rem; background: #30709E url("images/bg_news.jpg") no-repeat center center / cover; }

.featured-list { display: flex; display: -webkit-flex; align-items: stretch; -webkit-align-items: stretch; flex-wrap: wrap; -webkit-flex-wrap: wrap; justify-content: center; -webkit-justify-content: center; margin: 0 -1rem; }

.featured-item { flex: 0 0 25%; -webkit-flex: 0 0 25%; position: relative; padding: 0 1rem; display: flex; }
.featured-item .linkcontent { width: 100%; background: #FFF; text-align: center; position: relative; z-index: 10; transition: all 0.15s ease-in-out 0s; padding: 1rem; }
.datewrap { display: inline-block; text-align: center; width: 100%; }
.datewrap .logoicon { width: 20px; height: auto; margin: 0 0 5px; }
.datewrap .date { display: inline-block; clear: both; width: 100%; margin: 0 0 8px; color: #999; font-size: 0.813rem; font-style: italic; }
.featured-item .innerlink { align-self: center; width: 100%; padding: 0 1rem; }
.featured-item .topic { display: inline-block; color: #333; font-size: 1rem; font-weight: bold; line-height: 1.3; margin-bottom: 8px; }
.featured-item .excerpt { display: inline-block; color: #333; font-size: 0.813rem; line-height: 1.4; margin: 0 0 0.75rem; }

section#social { padding: 0; }
#social iframe { float: left; width: 100%; margin: 0; padding: 0; }

	/* Large devices (desktops, less than 75em) */
	@media (max-width: 74.9em) {
		.featured-item .topic { font-size: 0.938rem; }
	}

	/* Medium devices (tablets, less than 62em) */
	@media (max-width: 61.9em) {
		.featured-item { flex: 0 0 50%; -webkit-flex: 0 0 50%; padding: 0.5rem 0.5rem; }
		.featured-list { margin: 0 -0.5rem; }
	}

	/* Small devices (landscape phones, less than 48em) */
	@media (max-width: 47.9em) {
		.featured-item { flex: 0 0 100%; -webkit-flex: 0 0 100%; }
	}

/* Greenbar */
section#greenbar { clear: both; background: #97BBA2 url("images/bg_greenbar.jpg") no-repeat center center / cover; text-align: center; padding: 4rem 0; }
#greenbar a { float: left; background: #FFF; width: 100%; padding: 1rem 0; font-size: 1.375rem; font-weight: bold; color: #004163; transition: all 0.15s ease-in-out 0s; }
#greenbar a:hover { text-decoration: none; box-shadow: 0px 0px 6px rgba(255,255,255,0.65); color: #333; }
#greenbar a:focus { text-decoration: none; }

	/* Small devices (landscape phones, less than 48em) */
	@media (max-width: 47.9em) {
		#greenbar a { margin: 3px 0; }
	}

/* Quicklinks */
section#quicklinks { padding: 3rem 0 4rem; }
.cardwrapper { display: flex; display: -webkit-flex; align-items: stretch; -webkit-align-items: stretch; flex-wrap: wrap; -webkit-flex-wrap: wrap; justify-content: center; -webkit-justify-content: center; margin: 0 -1rem; }
.quicklink { text-align: center; padding: 1.5rem 1rem 2.688rem; position: relative; display: flex; }
.qlinner { width: 100%; background: #F5F5F5; }

.quicklink .iggo-btn { width: calc(100% - 2rem); }
.quicklink .iggo-btn .title { float: none; display: inline-block; }

.quicklink img { width: 100%; display: inline-block; transition: all 0.15s ease-in-out 0s; }
.quicklink h3 { background: #F5F5F5; width: calc(100% - 40px); z-index: 2; position: relative; margin: -32px auto 0; text-transform: uppercase; padding: 12px 15px 10px; font-weight: bold; font-size: 1.125rem; }
.quicklink p { font-size: 0.875rem; color: #777; padding: 5px 15px 10px; }
.fourwrap .quicklink { flex: 0 0 calc(100% / 4); -webkit-flex: 0 0 calc(100% / 4); }
.threewrap .quicklink { flex: 0 0 calc(100% / 3); -webkit-flex: 0 0 calc(100% / 3); }

.quicklink a:hover img { opacity: 0.8; }

	/* Large devices (desktops, less than 75em) */
	@media (max-width: 74.9em) {
		.quicklink h3 { width: calc(100% - 30px); margin-top: -29px; font-size: 1rem; }
	}

	/* Medium devices (tablets, less than 62em) */
	@media (max-width: 61.9em) {
		.fourwrap .quicklink { flex: 0 0 calc(100% / 2); -webkit-flex: 0 0 calc(100% / 2); }
		.quicklink h3 { width: calc(100% - 20px); padding: 12px 15px 4px; }
		.quicklink { padding: 1rem 0.5rem 2.25rem; }
		.quicklink .iggo-btn { width: calc(100% - 1rem); }
		.cardwrapper { margin: 0 -0.5rem; }
	}

	/* Small devices (landscape phones, less than 48em) */
	@media (max-width: 47.9em) {
		.cardwrapper .quicklink { flex: 0 0 100%; -webkit-flex: 0 0 100%; }
		.quicklink h3 { font-size: 1.125rem; padding: 12px 15px 2px; }
	}






/*
/* /*
/* PAGE: Single article */
#content .fullwidth-content { float: left; width: 100%; padding: 0; text-align: left; }

.fullwidth-content h2 { margin-top: 2rem; }
.fullwidth-content h3 { margin-top: 2rem; }

section#metainfo {  padding: 0.75rem 0 2rem; text-align: center; }
#metainfo .entry-date { clear: both; float: left; width: 100%; color: #999; font-size: 0.875rem; font-style: italic; margin-top: -6px; }

section#archive { background: #F0F0F0; padding: 3rem 0; }
section#archive h2 { color: #999; text-align: center; }

ul.ajankohtaista { width: 100%; }
.ajankohtaista li { clear: both; float: left; width: 100%; list-style: none; border-top: 1px solid #DDD; font-size: 0.875rem; margin: 0 !important; }
.ajankohtaista li:last-child { border-bottom: 1px solid #DDD; }
.ajankohtaista li a { float: left; width: 100%; padding: 3px 0; }
.ajankohtaista li a:hover { background: rgba(0,0,0,0.05); }
.ajankohtaista .topic { float: left; max-width: calc(100% - 90px); text-align: left; }
.ajankohtaista .date { float: right; color: #888; font-style: italic; }

	/* Small devices (landscape phones, less than 48em) */
	@media (max-width: 47.9em) {
		section#archive { padding: 3rem 0 3.5rem; }
	}





/*
/* /*
/* PAGE: Yhteystiedot */
.contactwrap hr { margin: 0.5rem 0 3rem; }
.peoplewrap { margin-top: 1.5rem; display: flex; display: -webkit-flex; align-items: stretch; -webkit-align-items: stretch; flex-wrap: wrap; -webkit-flex-wrap: wrap; justify-content: center; -webkit-justify-content: center; }
.single-worker { flex: 0 0 calc(100% / 5); -webkit-flex: 0 0 calc(100% / 5); padding: 20px; overflow: hidden; }
.inner-worker { padding: 0; position: relative; }
.single-worker img { height: auto; width: 100%; margin-bottom: 0.75rem; }
.single-worker .name { font-size: 1rem; margin: 0 0 0.25rem; font-weight: bold; }
.single-worker .info { font-size: 0.875rem; color: #999; }
.single-worker .info p { color: #999 !important; }
.single-worker a { color: #999; }

	/* Large devices (desktops, less than 75em) */
	@media (max-width: 74.9em) {
		.single-worker { flex: calc(100% / 4); -webkit-flex: calc(100% / 4); }
	}

	/* Medium devices (tablets, less than 62em) */
	@media (max-width: 61.9em) {
		.single-worker { flex: calc(100% / 3); -webkit-flex: calc(100% / 3); }
	}

	/* Small devices (landscape phones, less than 48em) */
	@media (max-width: 47.9em) {
		.single-worker { flex: calc(100% / 2); -webkit-flex: calc(100% / 2); }
	}

	/* Extra small devices (portrait phones, less than 34em) */
	@media (max-width: 33.9em) {
		.single-worker { flex: calc(100% / 1); -webkit-flex: calc(100% / 1); padding: 10px; }
		.single-worker img { width: 50%; }
	}




/*
/* /*
/* ACF Google Map */
.acf-map-wrap { width: 100%; height: 100%; }
.acf-map { width: 100%;	height: 100%; border: none; margin: 0; background: #2B2B2B !important; }
.acf-map img { max-width: inherit !important; }

	/* Medium devices (tablets, less than 62em) */
	@media (max-width: 61.9em) {
		.acf-map { margin-bottom: 0.75rem; }
	}





/*
/* /*
/* Footer */
footer { background: #95C11F; clear: both; overflow: hidden; position: relative; position: absolute; left: 0; bottom: 0; height: 282px; width: 100%; }
footer .midwhite { background: none; }
footer h2,
footer h3 { color: #FFF; font-size: 1.125rem; margin-bottom: 0.375rem; }
footer p { font-size: 0.875rem; color: rgba(255, 255, 255, 0.75); }
footer p strong { color: #FFF; }
footer p a { color: rgba(255, 255, 255, 1); text-decoration: underline; }
footer p a:hover,
footer p a:focus { color: rgba(255, 255, 255, 1); }

footer .fa-facebook-official { position: absolute; font-size: 1.5rem; bottom: 12px; right: 31px; color: #3A579D; }

.topfoot { background: #FFF; padding: 2.25rem 0; overflow: hidden; width: 100%; clear: both; float: left; }
.botfoot { background: #297825; padding: 1.75rem 1rem 0.875rem; width: 100%; clear: both; float: left; }

.partnerlogos { float: right; margin-top: 12px; }
.partnerlogos a { float: left; margin-left: 2rem; }

.gwrap { width: 100%; text-align: center; display: inline-block; height: 1px; border-top: 1px solid #DDD; padding-top: 2rem; }
.gwrap .logoicon { width: 40px; height: auto; margin: -10px 0 1rem; opacity: 1; padding: 0 10px; }

.footsocial { margin-top: 1rem; }
.footsocial a { display: inline-block; color: #FFF; font-size: 2rem; margin: 0 0.375rem; }

footer p.copyright { display: inline-block; margin: 0; width: 100%; text-transform: lowercase; font-size: 0.75rem; color: rgba(255,255,255,0.5); }
footer p.copyright a { color: rgba(255,255,255,0.5); }


	/* Medium devices (tablets, less than 62em) */
	@media (max-width: 61.9em) {
		footer { height: 324px; }
		footer .contact { text-align: center; }
		.partnerlogos { float: none; display: inline-block; margin-top: 16px; width: 100%; text-align: center; }
		.partnerlogos a { float: none; display: inline-block; margin: 0 1.25rem; }
		.botfoot { padding-bottom: 1.75rem; }
	}

	/* Small devices (landscape phones, less than 48em) */
	@media (max-width: 47.9em) {
		footer { padding: 0; text-align: center; position: relative; height: auto; }
		footer .contact { width: 100%; border: none; padding: 0; margin: 0 0 0.5rem; }
		footer p { float: none; display: inline-block; width: 100%; margin: 0 0 1rem; }

		footer .partnerlogos a { clear: both; display: inline-block; float: none; margin: 0.5rem 0; width: 100%; }
		.partnerlogos img { max-width: 40%; }
	}






/* Images */
section img { margin: 0; max-width: 100%; height: auto; }

section .alignleft { display: inline; float: left; margin: 5px 24px 20px 0; max-width: 50%; }
section .alignright { display: inline; float: right; margin: 5px 0 20px 24px; max-width: 50%; }
section .aligncenter { clear: both; display: block; margin: 5px auto 12px;  }

.wp-caption { background: #f1f1f1; line-height: 18px; text-align: center; margin-bottom: 0; padding: 0; }
.wp-caption img { padding: 8px 8px 4px 8px; }
.wp-caption-text { margin: 1px 10px 8px; color: #666; font-size: 0.813rem; font-style: italic; }






/* QUFORM (iphorm) iggo styling ============================================================== */
.iphorm-edit-form-wrap { display: none; }
.iphorm-success-message { margin: 0.5rem 0 1.25rem !important; }

.iphorm hr { margin: 1.5rem 0 2rem; }

.iphorm { font-size: 0.875rem; text-align: left; }

.iphorm input[type="text"],
.iphorm input[type="email"],
.iphorm textarea { width: 100%; background: #F0F0F0; border: none !important; border-bottom: 3px solid #CCC !important; transition: all 0.15s ease-in-out 0s; margin: 0 !important; }

.iphorm input[type="text"],
.iphorm input[type="email"] { padding: 0 8px !important; height: 33px; }

.iphorm textarea { padding: 8px !important; }

.iphorm-element-wrap p.iphorm-description { margin-bottom: -5px !important; margin-top: 4px !important; line-height: 14px; }

.iphorm input[type="text"]:focus,
.iphorm input[type="email"]:focus,
.iphorm textarea:focus,
.iphorm select:focus { border-bottom: 3px solid #39a641 !important; background: #F5F5F5; }

.iphorm button.iphorm-submit-element { background: #39a641 !important; height: 38px; line-height: 38px; text-align: center !important; padding: 0 10px !important; min-width: 120px; max-width: 100%; transition: all 0.15s ease-in-out 0s; }
.iphorm button.iphorm-submit-element > span { background: none !important; border: none !important; padding: 0 !important; }
.iphorm button.iphorm-submit-element > span > em { background: none !important; color: #FFF !important; padding: 0 !important; }

.iphorm button.iphorm-submit-element:hover { background: #318D37 !important; }

.iphorm-labels-above > .iphorm-element-spacer > label { margin: 0; }

.iphorm-input-checkbox-li label,
.iphorm-input-radio-li label { font-weight: normal; }
.iphorm-input-checkbox-li input[type="checkbox"] { margin: -2px 2px 0 0; }
.iphorm-input-radio-li input[type="radio"] { margin: -2px 1px 0 0; }

.iphorm-element-spacer { padding-bottom: 15px !important; }

.iphorm-inner label { margin: 0; }

.iphorm-input-checkbox-li label,
.iphorm-input-radio-li label { line-height: 24px !important; }

.iphorm .iphorm-input-wrap-select > select { width: 100%; }
.iphorm select { height: 33px; padding: 0 3px !important; background: #F0F0F0; transition: all 0.15s ease-in-out 0s; margin: 0 !important; border-bottom: 3px solid #CCC !important; border-radius: 0 !important; }

/* 3 cols */
		@media (max-width: 992px) and (min-width:767px) {
			.iphorm-group-row-3cols > .iphorm-element-wrap:nth-child(3) > .iphorm-element-spacer { padding-right: 10px !important; }
		}

/* 4 cols */
		@media (max-width: 992px) and (min-width:767px) {
			.iphorm-group-row-4cols > .iphorm-element-wrap:nth-child(2) > .iphorm-element-spacer { padding-right: 0 !important; }
		}

/* 5 cols */
		@media (max-width: 992px) and (min-width:767px) {
			.iphorm-group-row-5cols > .iphorm-element-wrap:nth-child(5) > .iphorm-element-spacer { padding-right: 10px !important; }
		}








/* Large devices (desktops, less than 75em) */
@media (max-width: 74.9em) { ... }

/* Medium devices (tablets, less than 62em) */
@media (max-width: 61.9em) { ... }

/* Small devices (landscape phones, less than 48em) */
@media (max-width: 47.9em) { ... }

/* Extra small devices (portrait phones, less than 34em) */
@media (max-width: 33.9em) { ... }