
/* EDK custom css for bootstrap framework */
/* EDK colors: dark blue: #003D65, lighter blue: #4288B9*, background grey: #f7f7f5/


/* Custom web fonts */
@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 300;
    src: local('Montserrat Light'), local('Montserrat-Light'), url(/_layouts/15/EDK.Intranet.Responsive.Layouts/fonts/Montserrat-Light.ttf) format('truetype');
}

@font-face {
    font-family: 'Montserrat';
    font-style: normal;
    font-weight: 400;
    src: local('Montserrat Regular'), local('Montserrat-Regular'), url(/_layouts/15/EDK.Intranet.Responsive.Layouts/fonts/Montserrat-Regular.ttf) format('truetype');
}
/* Custom web fonts end */


body {background-color:#f7f7f5;}
#s4-workspace {-webkit-overflow-scrolling: touch;} /* Fix for sticky scrolling in mobile*/
#s4-bodyContainer {background-color:#f7f7f5; padding-bottom:0}
#s4-titlerow {display: none !important;}

/* for making equal height divs, for responsive behaviour this must be reset in mobile @media part*/
.row-eq-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

#edk-header {
	background-color: white;
    border-bottom: 4px solid #4288B9;
}
#TopNavigation-div, #top-navbar > ul.nav {
    margin-bottom: -4px
}
#edk-header .container {padding:0}
#edk-header .row {padding:0;margin:0}
#content-area {margin-top:10px;}
#mainheading-area {margin-top:20px; background-color:#fff;padding-top:15px;border-right:15px solid #f7f7f5;}

/* Täysistunto nostobanneri */
#mainheading-banner {background-color: #003D65; color: #fff; margin-top:-5px}
#mainheading-banner-icon {
    display: table-cell;
    float: left;
    margin: 5px;
    width: 64px;
}
#mainheading-banner-text {
    display: table-cell;
}
#mainheading-banner-text a {color: #67B1E6;}
#mainheading-banner-text h3 {
    font-family: 'Montserrat',"Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size: 1.2em;
	font-weight: normal;
    color: #fff;
    margin: 16px 16px 16px 0px
}

.siteLogoLink {
	float: left;
	margin-right: 10px;
}

#topheader {
	margin-top: 10px;
	margin-bottom: 10px;
}

#threecol-mainarea,
#twocol-area,
#twocol-area2,
#threecol-area,
#fourcol-area,
#fourcol-area2 {margin-top:15px}

#threecol-mainarea > div,
#twocol-area > div,
#twocol-area2 > div,
#threecol-area > div,
#fourcol-area > div,
#fourcol-area2 > div {background-color:#fff; border-right:15px solid #f7f7f5; padding-top:15px; padding-bottom:15px;}

/*#threecol-mainarea > div:last-child,
#twocol-area > div:last-child,
#twocol-area2 > div:last-child,
#threecol-area > div:last-child,
#fourcol-area > div:last-child,
#fourcol-area2 > div:last-child {border-right:0;}*/


#page-mainarea {margin-bottom:20px}
#leftnavigation {padding:0}
#maincontent {background-color:#fff; padding: 15px; border-left:15px solid #f7f7f5}

.edk-pagelayout-wpmargins #maincontent { background: transparent; padding:  0 15px 15px 15px; }
.edk-pagelayout-wpmargins #rightcolumn {border-left: 15px solid #f7f7f5;}
.edk-pagelayout-wpmargins .ms-fullWidth { width: auto;}
.edk-pagelayout-wpmargins .ms-webpart-zone > div { background: #fff; margin: 0 -15px 0 -15px; padding: 15px; border-bottom: 15px solid #f7f7f5;}
.edk-pagelayout-wpmargins .ms-webpart-zone.ms-fullWidth { padding-top: 0; }
.edk-pagelayout-wpmargins #threecol-mainarea { margin-top: 0; padding-top: 0; }
.edk-pagelayout-wpmargins #threecol-mainarea > div { padding-top: 0; padding-bottom: 0; }
.edk-pagelayout-wpmargins #threecol-mainarea > div:last-child { border-right: 0; }

/* Force content images responsive */
#mainheading-area img,
#threecol-mainarea img,
#twocol-area img,
#twocol-area2 img,
#threecol-area img,
#fourcol-area img,
#fourcol-area2 img,
#rightcolumn img,
#maincontent img {
	display: block;
	max-width: 100%;
	height: auto;
}


#topheader div {padding-right:0}
.container-fluid {padding-right:0}

#custom-search-input {margin-top:8px}
#custom-search-input button {min-width:1em !important;}
#custom-search-input input[type=text] { border: 1px solid #003D65; border-radius: 0px;}
.search-toggle {display:none}

#toollinks {font-size:12px; text-align:right; padding-top:5px}
#toollinks a { padding: 0 5px 0 5px; }

.btn-primary {
	background-color:#003D65;
	border-radius:0;
}

.header-bg {
	height: 100px;
	width: 1024px;
	background-color: #FFFFFF;
}


#linkarea {
	margin-top:30px;
	background-color: #003D65;
	font-family: Arial, serif;
	color:#fff;
	padding:15px 0 0 0;
}

#linkarea .container {background-color: #003D65; padding-top:10px}
#linkarea a {color: #fff;}
#linkarea ul {list-style:none; padding-left:0}

#edk-footer {
	background-color: #4288B9;
	color:#fff;
	padding:15px 0 15px 0;
}

#edk-footer .nav-bar > li {border:0 !important;}
#edk-footer .navbar-nav > li {border:0 !important;}
#edk-footer a {color:#fff;}


/* Headings */

#linkarea h3, #linkarea h4 {
	font-family: Arial, serif;
	font-weight:bold;
	font-size:16px;
	color:#fff
}
#linkarea h3 a, #linkarea h4 a {color: #fff;margin-top:15px}

h1,
h1 .ms-rteElement-h1,
h1 .ms-rteElement-h1 a,
.ms-rteElement-H1, 
h1.edk-rte-Element-h1,
h1.edk-rteContent-Element-h1,
.ms-rtestate-field h1,
h1.ms-rteElement-H1{
	color:#404040;
	font-family: 'Montserrat',Tahoma,Helvetica,Arial,sans-serif;
	font-weight:300; /* light */
	font-size:2.3em;
	line-height: 1.1em;
}
/* Sisäsivun h1 */
#maincontent h1 {margin-bottom:20px}


h2,
h2.ms-rteElement-h2,
.ms-rteElement-H2,
h2.edk-rte-Element-h2,
h2.edk-rteContent-Element-h2,
.ms-rtestate-field h2,
h2.ms-rteElement-H2 {
	color:#404040;
	font-family: 'Montserrat',Tahoma,Helvetica,Arial,sans-serif;
	font-weight:400; /* regular */
	font-size:1.7em;
	font-weight:normal;
	line-height: 1.25em;
	margin-top: 5px;
}

/* webpart heading*/
h2.ms-webpart-titleText.ms-webpart-titleText, h2.ms-webpart-titleText > a {
    color: #716961;
	font-family: 'Montserrat',"Palatino Linotype","Times New Roman", Times, serif;
	font-size:1.2em;
	font-weight:normal;
    border-bottom:1px solid #d8d3cd;
    padding-bottom:8px;
    margin-top:0;
}

h3,
h3.ms-rteElement-h3,
h3.ms-webpart-titleText.ms-webpart-titleText, h3.ms-webpart-titleText > a
.ms-rteElement-H3,
.MyAlertsMainTable h3,
h3.edk-rte-Element-h3,
h3.edk-rteContent-Element-h3,
.ms-rtestate-field h3,
h3.ms-rteElement-H3{
	color:#404040;
	font-family: 'Montserrat',"Palatino Linotype","Times New Roman", Times, sans-serif;
	font-size:1.4em;
	font-weight:normal;
	line-height: 1.25em;
}
h4,
h4.ms-rteElement-h4,
 .ms-rteElement-H4,
h4.edk-rte-Element-h4 ,
h4.edk-rteContent-Element-h4,
.ms-rtestate-field h4,
h4.ms-rteElement-H4 {
	color:#404040;
	font-family: 'Montserrat',"Palatino Linotype","Times New Roman", Times, sans-serif;
	font-size:1.2em;
	font-style: normal;
	font-weight:bold;
	font-weight:normal;
	line-height: 1.25em;
}


/* if heading is a link then link color */
h1 a, h1 a:active, h1 a:visited,
h2 a, h2 a:active, h2 a:visited,
h3 a, h3 a:active, h3 a:visited,
h4 a, h4 a:active, h4 a:visited,
h5 a, h5 a:active, h5 a:visited,
h6 a, h6 a:active, h6 a:visited {color:#337ab7;}

a,a:visited,a:focus,a:hover {color: #337ab7;}

h5, h6 {
    font-size:inherit;
    line-height:inherit;
    color:#404040;
}


.edk-logo { 
	position: relative;
	margin: 0 15px 0 0;
	width: 48px; 
	height: auto;
	float: left;	
	top: 0px;
	left: 0px;
}
.edk-logo img { width: 100%; }

#pageTitle.ms-core-pageTitle, #pageTitle.ms-core-pageTitle a {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 100;
    line-height: 47px;
    color: #003D65;
}

/* Main navbar styles*/
.navbar {
	border:0;
	min-height:34px !important;
	margin:0;
    border-radius:0;
}

.navbar-default {background-color:transparent}

.navbar-nav > li {
	border-right:1px solid #fff;
    /*padding-bottom:4px;*/	
	/*border-bottom:4px solid #2EA8E6;*/
	/*margin-right:2px;*/
}



.navbar-nav > li > a {
    padding-top:7px !important; 
    padding-bottom:0 !important;
    padding-left:15px !important;
    padding-right:13px !important;
    height: 34px;
    color: #4D4843 !important;
}

.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus,
.navbar-default .navbar-nav > li.selected > a {
    background-color: #f0eeeb;
    color: #000;
    border-bottom:4px solid #003D65;
}

/* Dropdown submenu styles - but dropdowns not in use */

.dropdown-submenu {
    position:relative;
}
.dropdown-submenu>.dropdown-menu {
    top:0;
    left:100%;
    margin-top:-6px;
    margin-left:-1px;
    -webkit-border-radius:0 6px 6px 6px;
    -moz-border-radius:0 6px 6px 6px;
    border-radius:0 6px 6px 6px;
}
.dropdown-submenu > a:after {
    /* dropdown caret */
    border:0;
	width:15px; height:20px;
	font-family: 'Glyphicons Halflings';
    float: right;
    color: #4288B9;  
}
.dropdown-menu > li.dropdown-submenu > a:after {content:"\e258" !important;}
.dropdown-menu > li.open > a:after {content:"\e259" !important;}

.dropdown-submenu.pull-left {
    float:none;
}
.dropdown-submenu.pull-left>.dropdown-menu {
    left:-100%;
    margin-left:10px;
    -webkit-border-radius:6px 0 6px 6px;
    -moz-border-radius:6px 0 6px 6px;
    border-radius:6px 0 6px 6px;
}



/* breadcrumb */
#breadcrumb {font-size:12px; padding:0 0 10px 15px;}
#breadcrumb a:visited {color: #337ab7;}
#breadcrumb > span {padding-left: 15px}

#TopNavigation-div { display: block; }
#HamburgerNavigation-div { display: none;}

/*----- intermediate styles, decreasing main menu font-size  ------*/
@media screen and (max-width: 1199px) {
	.navbar-default .navbar-nav > li > a {font-size:12px;}
	.nav > li > a {padding:7px 8px}
}

/*----- tablet styles, mobile menu breakpoint moved to 992px  ------*/
@media screen and (max-width: 992px) {
    .edk-logo { 
		margin: 0;
		padding: 0;
		width: 30px;
		position: absolute;
		left: 20px;
		top: 0;
	}
    #pageTitle.ms-core-pageTitle, #pageTitle.ms-core-pageTitle {
        position: absolute;
        left: 78px;
        top: 12px;
        font-size: 30px;
        line-height: 36px 
    }


	.navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
    }
    .navbar-fixed-top {
        top: 0;
        border-width: 0 0 1px;
    }
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
        margin-top: 7.5px;
    }
    .navbar-nav > li {
        float: none;
		border-right:0;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
        display:block !important;
    }
	.navbar-nav .open .dropdown-menu {
       position: static;
       float: none;
       width: auto;
       margin-top: 0;
       background-color: transparent;
       border: 0;
       -webkit-box-shadow: none;
       box-shadow: none;
    }
	
	/*----------------------------------*/
	
	.container-fluid {padding-left:0}
	
	#TopNavigation-div { display: none; }
    #HamburgerNavigation-div { display: block;}
	
	#topheader {display:none;}
    #edk-header {background-image: none;}
	#leftnavigation {display:none;}
    #toollinks-mobile {display: block;}
    #langlinks-mobile {display: block; margin:25px 15px 15px 0; font-size:12px; float:right}
	
	/* mobile menu icon*/
	.navbar-default .navbar-toggle .icon-bar {background-color:#385590}
	.navbar-default .navbar-toggle {
        margin-top:10px; 
        padding:10px 9px;
        border:0;
        margin-bottom:0;
        border-radius:0;
	}
	.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {background-color:#fff;}
    .navbar-nav .open .dropdown-menu .dropdown-header, .navbar-nav .open .dropdown-menu > li > a {padding-right:7%}

    .navbar-header .mob-menu {
		font-family: 'Glyphicons Halflings';
		font-size:22px;
		color:#003D65;
		float:left;
		font-weight:normal;
	}

    button.collapsed span.mob-menu:before {content:"\e236" !important;}
	button span.mob-menu:before {content:"\e014";}
    .navbar-header button.collapsed {border-bottom:0 !important}
    .navbar-header button.navbar-toggle {border-bottom:3px solid #003D65}

	.dropdown-menu > li.open > a:after {
		content:"" !important;
		content:none !important;
	} 

    /* Custom caret in mobile navigation*/
    .caret {
	    position: absolute;
        right:23px;
	    border:0;
	    width:15px;height:20px;
	    font-family: 'Glyphicons Halflings';
        font-weight:normal;
        float: right;
        color: #4288B9;
	
    }
    .navbar-nav > li b.caret:before {content:"\e258";}
    .navbar-nav > li.open b.caret:before {content:"\e259";}

    .dropdown-menu > li b.caret:before {content:"\e258" !important;}
    .dropdown-menu > li.open b.caret:before {content:"\e259" !important;}

    .dropdown-menu > li.open > ul > li b.caret::before {content:"\e258" !important;}
    .dropdown-menu > li.open > ul > li.open b.caret:before {content:"\e259" !important;}

    .dropdown-menu > li.open > ul > li.open > ul > li b.caret::before {content:"\e258" !important;}
    .dropdown-menu > li.open > ul > li.open > ul > li.open b.caret:before {content:"\e259" !important;}

    .dropdown-menu > li.open > ul > li.open > ul > li.open > ul > li b.caret::before {content:"\e258" !important;}
    .dropdown-menu > li.open > ul > li.open > ul > li.open > ul > li.open b.caret:before {content:"\e259" !important;}


    /* Mobile search icon/box*/
    #mobile-search {	
		padding:0;
		box-shadow: inset 0 4px 5px rgba(215,215,215,0.5);
	}
	
	#mobile-search #custom-search-input {padding-top:15px !important; margin: 0 30px 15px 10px}
	.navbar-header .glyphicon-search {font-size:1.3em; color:#003D65;float:left}
    
    .search-btn {margin-right: 8px !important;}

	.navbar-header .search-icon {
		font-family: 'Glyphicons Halflings';
		font-size:22px;
		color:#003D65;
		float:left;
		font-weight:normal;
		}
	button.collapsed span.search-icon:before {content:"\e003"; !important;}
	button span.search-icon:before {content:"\e014";}

	.mobile-search-title, .mobile-menu-title {
		margin:0 0 0 5px;
		color:#003D65;
		font-size:12px
	}
	.mobile-menu-title {line-height:17px}
    /*-----------*/
	
	.navbar-header {background-color: #fff;} /*top header bg color*/
    .navbar {
		background-color: #fff;
		background-image:none;
		min-height:55px !important;
		} 
    .nav {margin:0 !important;}
    .navbar-collapse {background-color:#f0f0f0} /*dropdown bg color*/
	
    .container-fluid>.navbar-collapse,
    .container-fluid>.navbar-header,
    .container>.navbar-collapse,
    .container>.navbar-header {
        margin-left:0;
        margin-right:0;
    }
	
	.navbar-header {min-height:55px !important;}
	.navbar-collapse {padding-left:10px; padding-right:5px;}

    .navbar-brand {
        height: auto;
        padding:15px 8px 0 15px;
    }
	
	.navbar-nav > li {
        border-bottom: 1px solid #0890D4; /*divider between menuitems*/
	    margin-right: 2px;
        padding: 0;
	}

    .navbar-nav > li > a {
        padding-top:13px !important; 
        padding-bottom:13px !important;
        padding-left:15px !important;
        padding-right:13px !important;
        min-height: 44px; 
}
	
    .navbar-default .navbar-nav > li > a:hover, 
    .navbar-default .navbar-nav > li > a:focus, 
    .navbar-default .navbar-nav > li.selected > a {
        border-bottom: 1px;
    }

	.navbar-default .navbar-nav > li > a {
		color:#4A4A4A; /* mobile dropdown link color*/
        font-weight:bold;
        font-size:16px;
	}
	
	.navbar-default .navbar-nav .open .dropdown-menu > li > a {
		color:#4A4A4A;
        white-space:normal;
	}

    li.open > a:first-child {border-bottom:1px solid #0890D4;}
	.navbar-default .navbar-nav .open .dropdown-menu > li > a:focus,
    .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover {
		background-color:#efefef;
        border-bottom:0;
	}
    .navbar-default .navbar-nav > li > a:hover,
    .navbar-default .navbar-nav > li > a:focus {
        border-bottom:0;
    }


	
	.dropdown-menu .divider {background-color:#aaa;margin-left:23px}
    .dropdown-menu > li {margin-left:15px; border-bottom:1px solid #0890D4}
    .dropdown-menu > li:last-child {border-bottom:0}

	.dropdown-menu > li > ul > li {border-bottom:2px dotted #0890D4; font-size:0.9em}
    .dropdown-menu > li > ul > li:last-child {border-bottom:0}

    .dropdown-menu > li > ul > li > ul > li {border-bottom:2px dotted #0890D4; font-size:0.9em}
    .dropdown-menu > li > ul > li > ul > li:last-child {border-bottom:0}

    .dropdown-menu > li > ul > li > ul > li > ul > li {border-bottom:2px dotted #0890D4; font-size:0.9em}
    .dropdown-menu > li > ul > li > ul > li > ul > li:last-child {border-bottom:0}

	.navbar-nav .open .dropdown-menu .dropdown-header,
    .navbar-nav .open .dropdown-menu > li > a {
        padding-top:13px !important; 
        padding-bottom:13px !important;
        padding-left:10px !important;
        padding-right:15px !important;
        min-height: 44px;
	}
}

/* Medium Devices, Desktops */
@media only screen and (min-width : 992px){
	.navbar-brand {display:none} /* hide mobile logo */
	.navbar-collapse {padding:0}
    #mobile-search {display: none !important;} /* hide mobile search from desktop */
    #toollinks-mobile {display: none !important;}
    #langlinks-mobile {display: none !important;}
}

/*----- Mobile styles  ------*/
@media screen and (max-width: 767px) {
	body {background-color:#fff}

    .row-eq-height {display: block;}
    
    #mainheading-area,
    #threecol-mainarea > div,
    #twocol-area > div,
    #twocol-area2 > div,
    #threecol-area > div,
    #fourcol-area > div,
    #fourcol-area2 > div {border-right:0}
    #maincontent {border-left:0}

    .edk-pagelayout-wpmargins #rightcolumn {border-left: 0;}
	
    h1,
    h1 .ms-rteElement-h1,
    h1 .ms-rteElement-h1 a,
    .ms-rteElement-H1, 
    h1.edk-rte-Element-h1,
    h1.edk-rteContent-Element-h1,
    .ms-rtestate-field h1,
    h1.ms-rteElement-H1 {
        font-size:23px;
		font-weight:normal;
    }
	
	h2,
    h2.ms-rteElement-h2,
    .ms-rteElement-H2,
    h2.edk-rte-Element-h2,
    h2.edk-rteContent-Element-h2,
    .ms-rtestate-field h2,
    h2.ms-rteElement-H2 {
        font-size:20px;
		font-weight:normal;
    }

    h3,
    h3.ms-rteElement-h3,
    h3.ms-webpart-titleText.ms-webpart-titleText, h3.ms-webpart-titleText > a
    .ms-rteElement-H3,
    .MyAlertsMainTable h3,
    h3.edk-rte-Element-h3,
    h3.edk-rteContent-Element-h3,
    .ms-rtestate-field h3,
    h3.ms-rteElement-H3{
        font-size:18px;
		font-weight:normal;
    }

	#edk-footer {padding:10px 0 10px 10px;}
    #mainheading-banner-text h3 {
        font-size: 1.1em;
        margin: 14px 14px 14px 0px;
    }
}

@media screen and (max-width: 400px) {
	.navbar-header { min-width: 310px;}
    .edk-logo { 	left: 0px;	}	
	.navbar-default .navbar-toggle { padding-right: 5px; padding-left: 5px; }
    #mainheading-banner-icon {width:48px;}
    #mainheading-banner-text h3 {
        font-size: 1em;
        margin: 12px 12px 12px 0px;
    }
}

/* heteka tables*/
.heteka-data td.first-col { width: 50%;}
.heteka-data td.second-col {}
.heteka-data td.third-col {}
.heteka-data td.fourth-col {}
.plain-text-cell {background-color:#fff; border-top-width: 0 !important;}

/* etusivun linkkilistat */
ul.index-linklist {
	list-style: none;
	padding: 0px;
	margin: 0px;
	margin-bottom:15px;
}

ul.index-linklist li a {
	padding: 7px 2px 7px 0 !important;
	display: block;
	color:#3C3834;
	font-family: 'Montserrat',"Palatino Linotype","Times New Roman", Times, sans-serif;
	font-size:1.2em;
	margin: 0;
	border-bottom: 1px solid #d8d3cd;
}

ul.index-linklist li:first-child a {
    border-top: 1px solid #d8d3cd;
    }

.index-linklist > li b.caret:before {content:"\e258";}

/* custom display templates  ********************************************************************************************/
.edk-list {
	list-style:none outside;
	margin:0 0 .5em;
	padding:0;
}
.edk-list li {
	border-bottom: 1px solid #e8e8e8;
	clear:both;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
	line-height:1.2em;
	padding: 0 0 0.5em;
}
.edk-list li:first-child{
	/*
	border-top:1px solid #e8e8e8;
	padding-top:.5em;
	*/
}
.edk-list .author,
.edk-list time {
	color:#777;
	font-size:.85em;
}
.edk-list h6.title {
	margin:0;
        font-size:14px;
}
#bodywrapper .edk-list-img,
.edk-list-img {
	float:left;
	margin:0 9px 0 0;
	max-height:100px;
	max-width:100px;
}
#bodywrapper .edk-list .description {
	line-height:1.2!important;
	margin:.2em 0 .5em!important;
}

/* //custom display templates  ********************************************************************************************/


/**********************
left navigation
**********************/
#leftnavigation {
}

/* 	#leftnavigation .leftNavWrapper {
		margin-left: 0px;
		padding-top: 0;
	} */

	#leftnavigation a:link,
	#leftnavigation a:visited,
	#leftnavigation a:hover,
	#leftnavigation a:active {
		text-decoration: none;
	}

	#leftnavigation a:hover,
	#leftnavigation .selected > a {
		color: #333;
	}

	#leftnavigation a.leftNaviSelected_1:link,
	#leftnavigation a.leftNaviSelected_1:visited,
	#leftnavigation a.leftNaviSelected_2:link,
	#leftnavigation a.leftNaviSelected_2:visited,
	#leftnavigation a.leftNaviSelected_3:link,
	#leftnavigation a.leftNaviSelected_3:visited {
		color: #333;
	}

	#leftnavigation ul {
		list-style: none;
		padding: 0px;
		margin: 0px;
		background-color: #F0F0F0;
	}

	#leftnavigation li {
		font-weight: bold;
		padding: 0px;
	}

		#leftnavigation li span,
		#leftnavigation li a {
			padding: 7px 2px 7px 15px!important;
			display: block;
			color: #666666 !important;
			font-weight: bold;
			/*font-size: 1.3em !important;*/
			
			margin: 0;
			border-bottom: 1px solid #0890D4;
		}

#leftnavigation li:hover {background-color: #efefef !important;}
			
#leftnavigation li a.leftNaviSelected_1,
#leftnavigation li a.leftNaviSelected_2,
#leftnavigation li a.leftNaviSelected_3,
#leftnavigation li a.leftNaviSelected_4,
#leftnavigation li a.leftNaviSelected_5 {background-color: #DCEDF5 !important;}
				
#leftnavigation li a.leftNaviSelected_1:hover,
#leftnavigation li a.leftNaviSelected_2:hover,
#leftnavigation li a.leftNaviSelected_3:hover,
#leftnavigation li a.leftNaviSelected_4:hover,
#leftnavigation li a.leftNaviSelected_5:hover {background-color: #EFEFEF!important;}

	#leftnavigation .menu li a {
		margin: 0;
	}

	#leftnavigation li li {
		font-weight: normal;
		padding: 0;
        background-color: #e7e3e0;
	}

		#leftnavigation li li span,
		#leftnavigation li li a {
			padding: 7px 2px 7px 0!important;
			border-bottom: 2px dotted #0890D4;
			margin-left: 15px;
			font-weight:normal;
            font-size:12px;
		}

		#leftnavigation li li li {
			padding: 0;
		}

			#leftnavigation li li li span,
			#leftnavigation li li li a {
				padding: 7px 2px 7px 0!important;
				border-bottom: 2px dotted #0890D4;
                margin-left: 10px;
				font-weight:normal;
                margin-left:30px !important; /* indent width */
			}

			#leftnavigation li li li li span,
			#leftnavigation li li li li a {
				font-size: .85em;
				padding: 7px 2px 7px 0 !important;
				border-bottom: 2px dotted #0890D4;
                margin-left: 10px;
				font-weight:normal;
                margin-left:45px !important; /* indent width */
			}

			#leftnavigation li li li li li span,
			#leftnavigation li li li li li a {
				padding: 7px 2px 7px 0 !important;
				border-bottom: 2px dotted #0890D4;
                margin-left: 10px;
				font-weight:normal;
                margin-left:60px !important; /* indent width */
			}

/**********************
/left navigation end
**********************/


/* CSS for printing */
@media print {
 
#suiteBar,
#titleAreaBox,
#pageTitle
	{display:none;}

	
#edk-header,
#breadcrumb,
#leftnavigation,
#edk-footer
	{display:none !important}

#maincontent {
    width:100%;
    border:0;
}
a[href]:after {content:"" !important;}

}
/* CSS for printing end */

.VaskiLastModified {
    font-size:0.7em;
    padding-top: 30px;
}

.ms-WPBorderBorderOnly { padding: 0 8px 8px 8px;}

/* HAKU */

/* Hakutulosotsikon rivittäminen */
h3.ms-srch-ellipsis {
	white-space: normal;
}

/* TIEDOTTEET */

#edk-refiner-title {
	font-family: 'Montserrat',Tahoma,Helvetica,Arial,sans-serif;
	font-size: 26px;
	color: #4D4843;
	margin: 0 0 10px 0;
}
#edk-refiners-list,
#edk-refiners-list-content  {
	list-style-type: none;
}
#edk-refiners-list-content {
	margin: 15px 0 30px 0;
	float: left;
	padding-left: 0;
    width: 100%;
}
.edk-news #edk-refiners-list-content {
    margin-bottom: 10px;
}
#edk-refiners-list > li:hover {
    background: transparent;
}
#edk-refiners-list > li a,
#edk-refiners-list-content > li a 
{
	color: #4288B9 !important;
	border: 1px solid #4288B9 !important;
	margin-bottom: 5px;
	float: left;
	width: 100%;
	padding-left: 8px !important;
}
#edk-refiners-list > li a:hover {
    background: #f0f0f0;
}
#edk-refiners-list-content > li.clear-selected a,
#edk-refiners-list-content > li.clear-selected a span {
	border: 0 !important;
	color: #4288B9 !important;
}	
#edk-refiners-list-content > li {
	display: inline-block;
	padding-right: 30px;
}
#edk-refiners-list-content > li  a {
	padding: 7px 2px 7px 15px !important;
	margin-left: 0;
}
.edk-news  .ms-ref-refiner #Value {
	width: auto;
	padding: 0;
}
#edk-refiners-list > li  a  span.edk-refiner-linktxt {
	color: #4288B9 !important;
	padding: 0 !important;
	float: left;
	border: 0 !important;
}
#edk-refiners-list > li.clear-selected  a  > span.edk-refiner-link-remove:before,
#edk-refiners-list > li.selected a  > span.edk-refiner-link-remove:before,
#edk-refiners-list-content > li.clear-selected a  > span.edk-refiner-link-remove:before,
#edk-refiners-list-content > li.selected a  > span.edk-refiner-link-remove:before  {
	content: "\e014";
}
#edk-refiners-list > li.clear-selected a  > span.edk-refiner-link-remove,
#edk-refiners-list > li.selected a  > span.edk-refiner-link-remove,
#edk-refiners-list-content > li.selected a  > span.edk-refiner-link-remove  {
	padding: 3px 5px 0 10px !important;
	float: right;
	border: 0 !important;
	font-family:'Glyphicons Halflings';
	font-weight: bold;
	height: 100%;
}
#edk-refiners-list-content > li.clear-selected a  > span.edk-refiner-link-remove {
	color: #4288B9 !important;
}

#edk-refiners-list > li.selected a,
#edk-refiners-list > li.selected a:hover,
#edk-refiners-list-content > li.selected a,
#edk-refiners-list-content > li.selected a:hover,
#edk-refiners-list > li.clear-selected a ,
#edk-refiners-list > li.clear-selected a:hover {
	background: #003D65;
	text-decoration: none;
	font-weight: bold;
}	

#edk-refiners-list > li.selected a,
#edk-refiners-list > li.selected a span,
#edk-refiners-list-content > li.selected a,
#edk-refiners-list-content > li.selected a span,
#edk-refiners-list > li.clear-selected a,
#edk-refiners-list > li.clear-selected a span {
	color: white !important;
}

.edk-news .ms-srch-item-body {
	display: block;
	width: 100%;
}
.edk-news .ms-srch-item-body  .date {
	font-size: 13px;
	color: #847C74;
	margin-top: 21px;
}
.edk-news .ms-srch-item-title h3 {
	margin: 6px 0 0 0;
	padding-bottom: 40px;
	border-bottom: 1px solid #D8D3CD;
}
.edk-news .ms-srch-item-title h3 a {
	font-size: 20px;
	color: #404040;
}
#edk-news-sort-title {
	display: none;
}
#edk-news-sort-titletxt {
	font-size: 12px;
	font-family: Helvetica;
	color: #847C74;
	line-height: 25px;
}
.edk-news #ResultCount {
    display: none;
}
.edk-news .ms-srch-result #ResultHeader select {
	padding: 5px 3px;
	width: 200px;
}
.edk-news .ms-srch-result #ResultHeader select  option {
	color: #404040;
}
.edk-news #breadcrumb {
	border-bottom: 1px solid #D8D3CD;
	width: 100%;
}
.edk-news #leftnavigation {
	margin-left: 30px;
}
.edk-news .mobile {
	display: none;
}

.edk-news h1.ms-rteElement-eduskuntaH1 {
	color: #847C74;
	margin: 20px 0 10px 15px;
}
.edk-news .edk-search-header {
    margin-bottom: 20px;
    margin-left: 10px;
}
.edk-news #maincontent {
	padding-top: 0;
}

@media screen and (max-width: 992px) {
	.edk-news .mobile {
		display: block;
	}
	.edk-news .col-sm-3 {
		width: 100%;
	}
	.edk-news #breadcrumb {
		border: 0;
	}
	.edk-news #leftnavigation {
		margin-left: 0;
		padding: 0 50px;
	}	
	h1 {
		font-size: 28px;
		margin: 15px 0 15px 0;
	}
	#edk-refiner-title {
		margin: 0 0 10px 0;
	}	
	.edk-refiner-toggle {
		background: #003D65;
		width: 100%;
		padding: 8px 0 8px 0;
		text-align: center;	
		float: left;
		margin-bottom: 20px;
	}	
	.edk-refiner-toggle span {
		color: white;
		font-weight: bold;
	}		
	.edk-refiner-toggle span.edk-refiner-linktxt {
		width: 90%;
		
	}
	#edk-refiner-show-refinements span.caret:before {
		content: "\e257";
	}
	#edk-refiner-show-news span.caret:before {
		content: "\e258";	
	}
	.edk-refiner-toggle span.caret {
		padding: 1px;
		font-family:'Glyphicons Halflings';
		font-weight: normal;
		position: relative;
		float: left;
		color: white;
		top: 0;
		right: 0;
	}
	#edk-refiner-show-refinements {
		margin-top:-60px;
	}
	#edk-refiner-show-refinements span.caret {
		float: left;
		padding: 0 10px 0 10px;		
	}	
	.edk-news #maincontent {
		margin-top: 50px;
	}
	#edk-refiner-show-news  {
		margin-top: -10px;
	}
	#edk-refiner-show-news span.caret {
		float: right;
		padding: 0 25px 0 10px;			
	}		
	.edk-news .ms-srch-result #ResultHeader	{
		margin: 20px 0 20px 0;
		float: none;
		position: relative;
		right: auto;
		top: auto;
	}
	.edk-news .ms-srch-result #ResultHeader select {
		width: 300px;
	}
}

@media screen and (max-width: 767px) {
	.edk-news #leftnavigation {
		padding: 0 30px;
	}	
	.edk-news .ms-srch-result #ResultHeader { width: 100% }
	.edk-news .ms-srch-result #ResultHeader select {
		width: 50%;
		margin-top: 20px;
	}
}

@media screen and (max-width: 400px) {
	.edk-news .ms-srch-result #ResultHeader { margin: 0 15px 0 -15px; }
	.edk-news .ms-srch-result #ResultHeader select {
		width:100%;
		margin-left: 15px;
	}
}

/* Yksittäinen tiedote */

#edk-center-content {
	margin: auto;
	display: table;
	max-width: 640px;
}

.edk-news-article  .ms-rteStyle-eduskuntaIngressi {
	font-size: 18px;
	font-weight: bold;
	font-family: Helvetica;
	color: #404040;
	margin-bottom: 20px;
}
#edk-news-metadata {
	margin: 20px 0 20px 0;
}
#edk-news-metadata span    {
	font-size: 13px;
	font-family: Helvetica;
	color: #847C74;
}
.edk-news-imagecaption {
	font-size: 13px;
	color: #404040;
	margin: 5px 0 0 3px;
}
.edk-news-article #maincontent h1.ms-rteElement-eduskuntaH1 {
	margin: 30px 0 30px 0;
	color: #847C74;
}
.edk-news-article  #maincontent .pageimage img {
	width: 100%;
}
#edk-news-keywords {
	margin: 50px 0 30px 0;
}
#edk-news-keywords > div {
	font-size: 14px;
	font-family: Helvetica;
	color: #404040;
	margin-bottom: 8px;
}
#edk-news-keywords > span {
	color: #4288B9;
	border: 1px solid #4288B9;
	display: inline-block;
	margin: 0 10px 0 0;
	padding: 5px 15px 5px 15px;
}
#edk-news-footer   {
	border-top: 1px solid #D8D3CD;
	width: 100%;
	margin: 0 0 30px 0;
	padding-top: 30px;
	text-align: center;
}
#edk-news-footer a {
	border: 1px solid #003D65;
	padding: 5px 40px 5px 40px;
	color: #003D65;
}
#edk-news-footer a:hover {
	background: #003D65;
	color: white;
	text-decoration: none;
}
img.ms-srch-pagingPrev,
img.ms-srch-pagingNext {
	max-width: none !important;
}

#edk-search-results-next,
#edk-search-results-prev {
    display: none !important;
}
.ms-promlink-button-image {
	width: auto;
	height: 16px;
	color: #4288B9;
	font-size: 16px;
}

#PagingImageLink .ms-promlink-button {
	width: auto;
	border: 0;
	text-transform: none;
}
#PagingImageLink #PageLinkNext {
	float: right;
	margin-right: 20px;
}
#PagingImageLink #PageLinkPrev {
	float: left;
	margin-left: 20px;
}
#PagingImageLink #PageLinkPrev:before {
	color: #4288B9;
	content: "\e257";
}
#PagingImageLink #PageLinkNext:after {
	color: #4288B9;
	content: "\e258";
}

/* SEARCH BEGINS */

/* .edk-table {
	display: table;
	width: 100%;
} */

.edk-table-row {
	display: table-row;
}
.edk-table-cell {
	display: table-cell;
	vertical-align: top;
}
.ms-srch-group {
	margin-top: 0;
}
.edk-search #edk-refiners-list-content {
    margin-top: 0;
}

#edk-advanced-search input {
	border: 1px solid #003D65;
}
#SearchBox,
.ms-srch-sbLarge {
    width: 80%;
}
#edk-advanced-search  .ms-srch-sbLarge > input {
	width: 98% !important;
}
.ms-srch-sbLarge-fullWidth {
    width: auto !important;
}
#SearchBox a.ms-srch-sb-searchLink {
    float: right;
    padding: 0;
	background: #003D65;
	border: 1px solid #204d74;
	color: #fff;
	font-size: 22px;
    text-align: center;
}
#SearchBox a.ms-srch-sb-searchLink:hover {
	background: #286090;
}

.ms-srch-item,
.ms-srch-bestBetItem  {
	border-left: 4px solid transparent;
	margin: 3px 0;
}
.ms-srch-item,
.ms-srch-bestBetItem {
	border-bottom: 1px solid #D8D3CD;
	padding: 10px 20px 20px 20px;
	background: #fff;
}
.ms-srch-bestBetItem {
    padding: 0;
}
.ms-srch-bestBetItem-icon {
    height: auto;
    width: auto;
}
.ms-srch-bestBetItem-icon > img {
    position: relative;
    top: 0px;
    left: 0px;
    margin-right: 20px;
} 
.ms-srch-bestBetItem .ms-srch-item-path {
    padding-top: 0;
}


.ms-srch-group-border .ms-srch-item {
	border-left: 4px solid #DCEDF5;
}
.ms-srch-group-border,
.ms-srch-group-border #GroupBorderTop,
.ms-srch-group-border #GroupBorderBottom {
	border: none;
}
.ms-srch-item-body {
	margin-top: 20px;
	position: relative;
}
.ms-srch-item-icon {
	float: none;
	position: absolute;
	top: 0px;
	left: 20px;
}
.ms-srch-item-icon ,
.ms-srch-item-icon img {
	width: 27px !important;
	max-width: 27px;
	height: 27px !important;
	max-height: 27px;
}

.ms-srch-item-title h3 a {
	font-family: 'Montserrat',Tahoma,Helvetica,Arial,sans-serif;
	color: #404040;
	font-size: 20px;
	
}
.ms-srch-item-title h3 {
	margin-top: 0;
	overflow: visible;
}
.edk-search .ms-srch-item-title,
.edk-search .ms-srch-item-summary,
.edk-search .ms-srch-item-path,
.edk-search .edk-metadata,
.edk-search .ms-srch-item-body .date,
.edk-search .ms-srch-item-body > .ms-metadata,
.edk-search .ms-srch-item-body > .ms-srch-communityItem-summary
 {
	margin-left: 48px;
    display: block;
}
.edk-search #UserContainer {
    width: 100%;
}
.edk-search #UserContainer #PictureField img {
    width: 128px;
}
.edk-search #UserInfoContainer .ms-srch-item-title {
	margin-left: 0;
}
.edk-search .ms-srch-item-body .ms-srchnav-quotationopenglyph-span {
	display: none;
}
.edk-search .ms-srch-item-metadataContainer {
	margin-top: 52px;
}

.edk-search .ms-srch-item-deepLinks  {
	margin: -10px 0 20px 68px;
}
.edk-search .ms-srch-item-deepLinks  ul {
	display: table-cell;
}

.edk-metadata {
	padding-top: 20px;
}
.edk-metadata .title {
	font-weight: bold;
	font-style: normal;	
}

.edk-metadata-classification {
	display: inline;
}

.ms-srch-item-path {
	color: #4288B9;
	width: auto;
	padding-top: 20px;	
}

.edk-srch-tmpl-edustaja,
.edk-srch-tmpl-puhuja {
	font-style: italic;
}

.edk-search-mop-additionalinfo {
	margin-top: 30px;
	font-style: italic;	
}
.edk-search-mop-additionalinfo :before, .edk-search-mop-additionalinfo :after {
    content: '"';
}

.edk-metadata-hidden {
	display: none;
}

.ms-srch-result #ResultHeader  {
	display: block;
	width: 100%;
    margin-top: 0;
    float: left;
}

.ms-srch-resultscount {
	font-size: 16px;
	font-weight: bold;
	float: left;
    margin-top: 5px;
}
#edk-sortby-title {
    float: right;
    margin: 5px 10px;
    font-size: 16px;
}
/* sorting dropdown */
.ms-srch-result #ResultHeader select {
	padding: 5px 3px 5px 10px;
	width: 206px;
    height: 22px;
	float: right;
    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    appearance:none;
    background: #f7f7f5 url(/_layouts/15/EDK.Intranet.Responsive.Layouts/images/arrow_blue_down.svg) top 10px right 10px no-repeat;
    border: 1px solid #003D65;
    color: #777;
}
.ms-srch-result #ResultHeader select::-ms-expand {
    display: none;
}
.ms-srch-result #ResultHeader select option {
    background-color: white;
    color: #777;
}
.ms-ref-refiner #Container {
    padding-bottom: 0;
    background: transparent;
}
.ms-ref-refiner #Container .ms-ref-refinername {
    background: #F0EEEB;
}
.ms-ref-refinername:link, .ms-ref-refinername:visited {
    padding: 10px 10px 10px 20px;
}

.edk-search-header {
    background: #F0EEEB;
    padding: 30px;
    margin-bottom: 20px;
}

.edk-search #leftnavigation ul {
    float: left;
    margin: 10px 0 10px 0;
}

#edk-refiners-list {
	width: 100%;
}

.ms-ref-refinername > .ms-ref-uparrow,
.ms-ref-refinername > .ms-ref-downarrow {
    display: inline-block !important;
    background: none;
    font-family: 'Glyphicons Halflings';
    margin-top: 0;
    color: #4288B9;
}

.edk-search  .ms-ref-refinername > .ms-ref-uparrow:after {
    content:"\e259" !important;
}
.edk-search  .ms-ref-refinername > .ms-ref-downarrow:after {
    content:"\e258" !important;
}
.edk-search  .ms-srch-item {
	width: 100%;
    padding: 0;
}
.edk-search .ms-srch-item-body {
    width: 95%;
    padding: 0 20px 20px 20px;
}
.edk-search  .ms-ref-unsel-toggle {
    color: #4288B9;
    margin: 0 0 20px 0;
}
.edk-search  .ms-srch-group-title {
    font-style: italic;
}
.edk-search .ms-srch-item-title  {
	position: relative;
}
.edk-search .edk-current-mop {
	position: absolute;
	top: 0px;
	right: 0px;
}

#edk-refiners-list .edk-long-list-refiner,
.edk-show-less {
    display: none;
}

.edk-show-more,
.edk-show-less {
    text-transform: none;
    font-size: 16px;
    color: #4288B9;
}
.edk-show-more span,
.edk-show-less span {
} 
.edk-show-more .edk-arrow-right,
.edk-show-less .edk-arrow-up {   
    font-family: 'Glyphicons Halflings';
    background: none;
    padding: 3px 0 0 5px;
    font-size: 14px;
    color: #4288B9;
}

.edk-show-more .edk-arrow-right:before {
    content: "\e258" !important;
}
.edk-show-less .edk-arrow-up:before {
    content: "\e260" !important;
}

#edk-search-navi-wrapper {
    width: 100%;
}
#edk-search-navi-container {
    margin: 0 10px;
}
.edk-search #leftnavigation ul#edk-search-navi {
    width: 100%;
    margin: 0 0 10px 0;
}
#edk-search-navi .edk-search-navi-item a {
    color: #003D65 !important;
    background: white;
    border: 1px solid #003D65;
    text-align: center;
    display: block;
    width: 100%;
    margin-top: -1px;
    padding: 8px 0px !important;
}
#edk-search-navi .edk-search-navi-item.selected a {
    color: white !important;
    background: #003D65;
}

.edk-search #leftnavigation.edk-search-leftnavi h2.ms-webpart-titleText.ms-webpart-titleText,
.edk-search #leftnavigation.edk-search-leftnavi h2.ms-webpart-titleText > a {
    font-weight: bold;
    padding: 0 0 5px 20px;
    margin: 0;
    border-bottom: none;
}

.edk-search #leftnavigation.edk-search-leftnavi .ms-ref-unsel-toggle {
    width: 100%;
    float: left;
}

#content-area #SearchBox .btn-primary {
    padding: 6px 0;
}

.ms-ref-refiner {
	float: left;
}
.ms-ref-refinername {
	border-bottom: 1px solid #4288B9 !important;
}
.ms-ref-unselSec {
    padding: 0 20px;
}
.ms-ref-unsel-shortList {
	float: left;
	width: 100%;
	margin: 0 -20px 0 -20px;
	padding: 0 20px 0 20px;
	background: #f7f7f5;
}
.ms-ref-refiner #Value, .ms-ref-unsel-toggle, #OtherValue, #SubmitValue {
    width: 100%;
}
.ms-ref-refiner #Value > a {
    width: 100%;
    margin-left: 0;
    padding-left: 0 !important;
}
#edk-refiners-list > li a span.edk-refiner-linktxt {
    padding: 0 8px !important;
}
.ms-ref-refinername:link, .ms-ref-refinername:visited {
    padding: 10px 0;
    width: 100%;
}
.ms-ref-refinername .ms-displayInlineBlock {
    padding-left: 20px;
}
.ms-ref-refinername .ms-ref-uparrow,
.ms-ref-refinername .ms-ref-downarrow {
    padding-right: 20px;
}
.ms-ref-refiner {
    width: 100%;
    padding-right: 0;
}

.edk-search .mobile {
	display: none;
}

/* disable document preview */
.ms-srch-hover-outerContainer
{
    display:none !important
}

.edk-search .ms-srch-sbLarge > input {
	width: 75% !important;
}
.edk-search .ms-srch-sbLarge > .ms-srch-sb-searchLink {
    width: 68px;
}
.edk-search #SearchBox a.ms-srch-sb-searchLink > span {
    padding: 4px 0;
}
.edk-search .ms-srch-sb-borderFocused,
.edk-search .ms-srch-sb-border {
	border: 1px solid #003D65;
}

@media screen and (max-width: 992px) {
    #SearchBox,
    .ms-srch-sbLarge {
        width: 80%;
    }
    .edk-search .mobile {
        display: block;
    }
    .edk-search .col-sm-3 {
        width: 100%;
    }
    .edk-search #breadcrumb {
        border: 0;
    }
    .edk-search #leftnavigation {
        margin-left: 0;
        padding: 0 50px;
    }
    .edk-search #maincontent {
        border-left: none;
        margin-top: 35px;
    }
    .edk-search #leftnavigation > div {
        float: left;
    }
    .edk-search #maincontent #edk-refiner-show-refinements {
        width: 90%;
        margin-left: auto;
        margin-right: auto;
        float: none;
    }
}
@media screen and (max-width: 767px) {
	#SearchBox, .ms-srch-sbLarge {
        width: 90%;
    }
}
@media screen and (max-width: 600px) {
	.edk-search .ms-srch-item-path {
		overflow-wrap: break-word;
		word-wrap: break-word;
		-ms-word-break: break-all;
		word-break: break-word;
		-ms-hyphens: auto;
		-moz-hyphens: auto;
		-webkit-hyphens: auto;
		hyphens: auto;
	}
    .edk-search #UserContainer {
        display: table-row;
    }
    .edk-search #UserPicContainer,
    .edk-search #UserInfoContainer {
        display: table-cell;
        vertical-align: top;
        width: 100%;
    }
    .edk-search .ms-srch-item-title {
        padding-right: 35px;
    }
    .edk-search .ms-srch-item-title a {
        font-size: 16px;
    }
	#SearchBox, .ms-srch-sbLarge {
        width: 100%;
	    min-width: 200px;
    }
	.edk-search .ms-srch-sbLarge > input {
	    width: 80% !important;
	    margin: 0;
        padding: 0;
	}
    .edk-search .ms-srch-sb-searchLink {
        width: 19% !important;
	    margin: 0;
        padding: 0;
	}
    .edk-search #Actions {
        float: left;
        margin-top: 15px;
    }
    .edk-search #ResultCount {
        width: 100%;
    }
    .edk-search #Actions #edk-sortby-title {
        float: left;
        margin: 5px 10px 0 0;
    }
    .edk-search .ms-srch-result #ResultHeader select {
        width: auto;
    }
    .edk-search #UserContainer {
        width: auto;
    }
    .edk-search #UserContainer #PictureField img {
        width: 92px;
    }
    .edk-search .ms-srch-item-body {
        padding-left: 0;
        width: 100%;
    }
	.edk-search .ms-srch-item-icon {
		left: 0;
	}
    .edk-search .ms-srch-result {
        margin-top: 0;
    }
    .edk-search #edk-refiners-list-content {
        margin: 0;
    }
}

/* Advanced search */
.edk-advanced-search-wrapper .edk-search-header {
    background: transparent;
}
#edk-advanced-search-form {
	padding-bottom: 30px;
	margin: -30px 0 0 -45px;
}
#edk-advanced-search-form .custom-search-input {
	border-bottom: 1px solid #D8D3CD;
}

#edk-advanced-search h2 {
    font-weight: bold;
    font-size: 20px;
    border-bottom: none;
    margin-top: 20px;
}

#edk-advanced-search input {
	color: #777;
}
#edk-advanced-search #SearchBox .ms-srch-sbLarge {
	border: 1px solid #003D65;
	width: 100%;
}
#edk-advanced-search #SearchBox .ms-srch-sbLarge input {
	width: 100%;
	border: none;
}



/* custom drop down for advanced search */
#edk-advanced-search select {
	padding: 5px 40px 5px 10px;
	width: auto;
    height: 22px;
    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    appearance:none;
    background: #f7f7f5 url(/_layouts/15/EDK.Intranet.Responsive.Layouts/images/arrow_blue_down.svg) top 10px right 10px no-repeat;
    border: 1px solid #003D65;
    color: #777; 	
}
#edk-advanced-search select::-ms-expand {
    display: none;
}
#edk-advanced-search select option {
    background-color: white;
    color: #777;
}

/* custom checkbox for advanced search */
#edk-advanced-search .container {
	display: block;
	position: relative;
	padding-left: 35px;
	margin-bottom: 12px;
	cursor: pointer;
	font-size: 16px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}
#edk-advanced-search .container input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}
#edk-advanced-search .checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 25px;
	width: 25px;
	background-color: #fff;
	border: 1px solid #385590;
}
#edk-advanced-search .container:hover input ~ .checkmark {
	background-color: #ccc;
}
/*#edk-advanced-search .container input:checked ~ .checkmark {
  background-color: #2196F3;
}*/
#edk-advanced-search .checkmark:after {
	content: "";
	position: absolute;
	display: none;
}
#edk-advanced-search .container input:checked ~ .checkmark:after {	
	display: block;
}
#edk-advanced-search .container .checkmark:after {
	left: 9px;
	top: 5px;
	width: 5px;
	height: 10px;
	border: solid #385590;
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
} 

#edk-advanced-search .edk-search-section {
    clear: both;
	float: left;
	width: 100%;
}

#edk-advanced-search #edk-properties-area .edk-odd-row {
	margin: 10px 0 10px -40px;
	background-color: #F0EEEB;
	padding: 20px;
}
#edk-advanced-search #edk-properties-area .edk-even-row {
	margin: 10px 0 10px -20px;
}
#edk-advanced-search #edk-properties-area > div .edk-even-row:last-child {
	display: none;
}
#edk-advanced-search #edk-properties-area > div {
    padding: 20px 0 0 5px;
}
#edk-advanced-search #edk-properties-area > div:first-child {
	padding-top: 0;
}
#edk-advanced-search #edk-properties-area .edk-property-dd select {
    width: 190px;
}
#edk-advanced-search #edk-properties-area .edk-condition-dd select {
    width: 125px;
}
#edk-advanced-search #edk-properties-area .edk-propertyvalue-tb input {
    height: 30px;
	width: 100%;
}
#edk-advanced-search #edk-properties-area .edk-operator-dd select {
    width: 60px;
}

#edk-advanced-search .edk-search-btn input {
	height: 22px;
	font-size: 16px;
	font-weight: bold;
}

#edk-advanced-search .edk-search-btn.edk-btn-white {
	margin-left: -15px;
}

#edk-advanced-search .edk-search-btn.edk-btn-white input {
	background: #fff;
	color: #003D65;
	border: 1px solid #003D65;
	padding: 5px 30px 5px 30px;
	font-size: 14px;
	margin-left: 15px;
}
#edk-advanced-search .edk-search-btn.edk-btn-blue input {
	background: #003D65;
	color: #fff;
	width: 200px;
}
#edk-advanced-search #edk-advanced-seach-footer {
	text-align: center;
	margin: 50px 0 0 0;
}

@media screen and (max-width: 992px) {
	#edk-properties-area .edk-property-dd select,
	#edk-properties-area .edk-condition-dd select,
	#edk-properties-area .edk-propertyvalue-tb input {
		width: auto;
	}
}
@media screen and (max-width: 767px) {
	#edk-advanced-search  #edk-properties-area .edk-odd-row{ 
		margin-left: 0;
	}
	#edk-advanced-search  #edk-properties-area .edk-even-row  {
		margin-left: 20px;
	}
	#edk-advanced-search  #edk-properties-area .edk-odd-row:first-child,
	#edk-advanced-search  #edk-properties-area .edk-odd-row:first-child  > div:first-child	{
		margin-top: 0;
	}	
	#edk-advanced-search  #edk-properties-area  .edk-odd-row > div {
		margin-top: 20px;
	}
	#edk-advanced-search  #edk-properties-area  .edk-odd-row > div:first-child {
		margin-top: 0;
		padding-top: 0;
	}	
	#edk-advanced-search  #edk-properties-area > div {
		padding: 0;
	}
	#edk-advanced-search .edk-btn-white.edk-search-btn input {
		margin-left: 35px;
	}
}

/* custom checkbox for advanced search */
/* MULTIVALUE REFINER CHECKBOX
.edk-refiner-link .container {
	display: block;
	position: relative;
	padding-left: 35px;
	margin-bottom: 12px;
	cursor: pointer;
	font-size: 16px;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	display: table-cell;
}
.ms-ref-refiner #Value > a {
	float: none;
	display: table-cell;
	width: 80%;
}
.edk-refiner-link  .container input {
	position: absolute;
	opacity: 0;
	cursor: pointer;
}
.edk-refiner-link .container .checkmark {
	position: absolute;
	top: 0;
	left: 0;
	height: 20px;
	width: 20px;
	background-color: #fff;
	border: 1px solid #385590;
}
.edk-refiner-link .container .checkmark:after {
	content: "";
	position: absolute;
	display: none;
}
.edk-refiner-link .container input:checked ~ .checkmark:after {	
	display: block;
}
.edk-refiner-link .container .checkmark:after {
	left: 9px;
	top: 5px;
	width: 5px;
	height: 10px;
	border: solid #385590;
	border-width: 0 3px 3px 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
} 
*/

.ms-srch-item-highlightedText {
	background: #FAEDBB
}
.edk-search-mop-hithighlightedsummary  .ms-srch-item-summary {
	margin-left: 0;
	font-style: italic;
	margin-top: 20px;
}
.edk-search-mop-hithighlightedsummary > div:before {
    content: open-quote;
}
.edk-search-mop-hithighlightedsummary > div:after {
    content: close-quote;
}
/* SEARCH ENDS */

/* WORKSITES */

#edk-worksite #topheader {
    padding-bottom: 15px;
}
#edk-worksite .ms-core-listMenu-horizontalBox > ul {
    padding-left: 0;
}
#edk-worksite .ms-core-listMenu-horizontalBox > ul > li > ul {
    padding-left: 0;
}
#edk-helper-navi .container {
    margin: 0 auto;
}
#edk-helper-navi {
    background: #fff;
    padding: 5px;
    border-top: 1px solid #D8D3CD;
    border-bottom: 1px solid #D8D3CD;
}
#edk-helper-navi .ms-core-listMenu-horizontalBox li.static > a { 
    display: none !important; 
} 
#edk-helper-navi .ms-core-listMenu-horizontalBox li.static > ul a { 
    display: block !important; 
}

.edk-worksite .ms-rtestate-field p, 
.edk-worksite p.ms-rteElement-P {
	color: #4A4A4A;	
	font-family: Helvetica;	
	font-size: 14px !important;
	line-height: 1.4285;
}
#edk-worksite .clsMyAlertsItemsCellActionType  {
    white-space: nowrap;
}
#edk-worksite .myAlerts .aspNetDisabled.button {
    padding: 5px 15px;
    background: #003d65;
    color: #fff;
    cursor: pointer;
    margin-right: 30px,
}

.edk-worksite .edk-vaski-item .cbs-Detail {
	margin-left: 0;
}
.edk-worksite .edk-vaski-item .cbs-Line2 {
    padding-top: 0;
}
.edk-worksite .VaskiQueryWebpartResults h6 {
	margin: 0 0 20px 0;
}                     
/* Start Yhteenvetolinkit */

    /* toollinks */
    .edk-worksite-frontpage .ms-wpContentDivSpace > table > tbody > tr > td > table:first-child {
        display: none;
    }
    /* columns header */
    .edk-worksite-frontpage .ms-wpContentDivSpace .ms-viewheadertr {
        background: #D8D3CD;
        color: #716961;
    }
        .edk-worksite-frontpage .ms-wpContentDivSpace .ms-viewheadertr:hover {
            background: transparent;
        }
        .edk-worksite-frontpage .ms-wpContentDivSpace .ms-viewheadertr .ms-vh2 .ms-sortarrowdown-iconouter,
        .edk-worksite-frontpage .ms-wpContentDivSpace .ms-viewheadertr .ms-vh2 .ms-filter-iconouter,
        .edk-worksite-frontpage .ms-wpContentDivSpace .ms-viewheadertr .ms-vh2 .ms-positionRelative {
            display: none;
        }
        .edk-worksite-frontpage .ms-wpContentDivSpace .ms-viewheadertr .ms-vh-icon {
            display: none;
        }
        /* select all checkbox */
        .edk-worksite-frontpage .ms-wpContentDivSpace .ms-viewheadertr th:first-child {
            display: none;
        }
    /* item checkboxes */
    .edk-worksite-frontpage .ms-wpContentDivSpace .ms-listviewtable td.ms-vb-itmcbx {
        display: none;
    }

    .edk-worksite-frontpage .ms-wpContentDivSpace .ms-vb2,
    .edk-worksite-frontpage .ms-wpContentDivSpace .ms-viewheadertr th.ms-vh2 {
        padding: 10px;
        border-bottom: 1px solid #D8D3CD;
        max-width: 100%;
        width: 990px;
    }

/* End Yhteenvetolinkit */

/* Start Pikalinkit */
.edk-worksite-frontpage #edk-promotedlinks .ms-tileview-tile-root {
    width: 150px !important;
    height: 150px !important;
}
.edk-worksite-frontpage #edk-promotedlinks .ms-tileview-tile-content {
    width: 140px !important;
    height: 140px !important;
    word-wrap: break-word;
}
.edk-worksite-frontpage #edk-promotedlinks .ms-tileview-tile-detailsBox {
    top: 0 !important;
    left: 15px;
    font-size: 14px;
    font-weight: bold;
    background: none;
    width: 110px;
}
.edk-worksite-frontpage #edk-promotedlinks h3 {
    color: white;
    font-size: 14px;
    font-family: Helvetica, sans-serif;
    font-weight: bold;
}

/* End Pikalinkit */
.edk-worksite-contentpage #mainheading-area img, 
.edk-worksite-contentpage #threecol-mainarea img, 
.edk-worksite-contentpage #twocol-area img, 
.edk-worksite-contentpage #twocol-area2 img, 
.edk-worksite-contentpage #threecol-area img, 
.edk-worksite-contentpage #fourcol-area img, 
.edk-worksite-contentpage #fourcol-area2 img, 
.edk-worksite-contentpage #rightcolumn img, 
.edk-worksite-contentpage #maincontent img {
    display: inline-block;
    margin-right: 10px;
}

.edk-worksite-contentpage #edk-search input,
.edk-worksite-contentpage #edk-search button {
    float: right;
    margin: 0;
    border: #337ab7 1px solid;
}
.edk-worksite-contentpage #edk-search input[type=text] {
    padding: 2px 5px;     
    height: 28px;
    width: 75%;
}
.edk-worksite-contentpage #edk-search button {
    padding: 6px 12px;
    color: white;
    background: #337ab7;
    min-width: 1em;
}
.edk-worksite-contentpage h3.mop-accordion-title {
	color: #4D4843;
	font-family: 'Montserrat', sans-serif;
	font-size: 18px;
	font-weight: bold;
	line-height: 20px;
    margin: 6px 0;
}
.edk-worksite-contentpage .accordion-content ul,
.edk-worksite-contentpage ul.sub-menu {
    float: left;
    margin-bottom: 20px;
    margin-top: 10px;
    padding-left: 0;
    width: 100%;
}
.edk-worksite-contentpage .accordion-content li,
.edk-worksite-contentpage ul.sub-menu li {
    float: left;
    width: 100%;
    border-bottom: 1px solid #D8D3CD;
    padding: 10px 0;
}
.edk-worksite-contentpage .accordion-content li.headerDiv,
.edk-worksite-contentpage ul.sub-menu li.headerDiv {
	background-color: #F0EEEB;
}
.edk-worksite-contentpage h3.mop-accordion-title span.mop-accordion-arrow {
    font-family: "Glyphicons Halflings";
    color: #4288B9;
    float: right;
    margin-right: 20px;
    font-weight: normal;
}
#edk-documents-wp #edk-header-cols .edk-header-col a {
    padding-bottom: 5px;
}
#edk-documents-wp #edk-header-cols .edk-header-col a:hover,
#edk-documents-wp #edk-header-cols .edk-header-col a:active {
    text-decoration: none;
}
#edk-documents-wp #edk-header-cols .edk-header-col a > span {
    font-family: "Glyphicons Halflings";
    margin-left: 3px;
    padding-top: 8px;
}
#edk-documents-wp #edk-header-cols .edk-header-col a.edk-sortby-desc span::after,
.edk-worksite-contentpage h3.mop-accordion-title span.mop-accordion-arrow::after {
    content: "\e259" !important;
}
#edk-documents-wp #edk-header-cols .edk-header-col a.edk-sortby-asc span::after,
.edk-worksite-contentpage a.open h3.mop-accordion-title span.mop-accordion-arrow::after {
    content: "\e260" !important;
}
#edk-documents-wp .edk-nested-accordion {
    display: none;
}
#edk-documents-wp ul.sub-menu:first-child {
    margin: 0;
}
#edk-documents-wp ul.sub-menu {
    margin: 5px 0 0 0;
}

#edk-documents-wp ul.sub-menu li {
    padding: 10px 0 5px 0;
    border-top: 1px solid #D8D3CD;
    border-bottom: 0;
    margin-top: 5px;
}
#edk-documents-wp > ul.edk-valtiopvatyo > li:first-child {
    border-top: 0;
}

#edk-documents-wp ul.sub-menu li.open {
    background-color: #f7f7f5;
    transition: background-color 0.5s ease;
    -webkit-transition:  background-color 0.5s ease;
}
#edk-documents-wp ul.sub-menu li.open ul.sub-menu li.open {
    background-color: #f0f0f0;
}
#edk-documents-wp ul.sub-menu li.open ul.sub-menu li.open ul.sub-menu li.open {
    background-color: #ffffff;
}
#edk-documents-wp ul.sub-menu li.open ul.sub-menu li.open ul.sub-menu li.open ul.sub-menu li.open {
    background-color: #f7f7f5;
}
#edk-documents-wp ul.sub-menu li.open ul.sub-menu li.open ul.sub-menu li.open ul.sub-menu li.open ul.sub-menu li.open {
    background-color: #f0f0f0;
}
#edk-documents-wp ul.sub-menu li.open ul.sub-menu li.open ul.sub-menu li.open ul.sub-menu li.open ul.sub-menu li.open ul.sub-menu li.open  {
    background-color: #ffffff;
}
#edk-documents-wp ul a {
    padding-left: 0px;
    display: block;
    width: 100%;
}
#edk-documents-wp ul ul a {
    padding-left: 30px;
}
#edk-documents-wp ul ul ul a {
    padding-left: 60px;
}
#edk-documents-wp ul ul ul ul a {
    padding-left: 90px;
}
#edk-documents-wp ul ul ul ul ul a {
    padding-left: 120px;
}
#edk-documents-wp ul ul ul ul ul ul a {
    padding-left: 150px;
}
.placeholder {
    color: #666666;
}
::-webkit-input-placeholder {
    color: #666666;
}
:-moz-placeholder {
    color: #666666;
}

@media all and (min-width: 1400px) {
    #edk-worksite .container {
        width: 1376px;
    }
}

@media screen and (max-width: 992px) {

    #edk-helper-navi,
    #langlinks-mobile .ms-navedit-editArea,
    #langlinks-mobile .ms-core-listMenu-horizontalBox li.static > a { 
        display: none !important; 
    } 
    #langlinks-mobile .ms-core-listMenu-horizontalBox li.static > ul a { 
        display: block !important; 
        color: #337ab7;
    }
    #langlinks-mobile .ms-core-listMenu-horizontalBox li.static > .ms-core-listMenu-item {
        padding: 0 5px;
        margin: 0;
        border-right: 1px solid #337ab7;
    }
    #langlinks-mobile .ms-core-listMenu-horizontalBox li.static > .ms-core-listMenu-item:last-child {
        border-right: 0;
    }
    #edk-worksite .hide-mobile {
        display: none;
    }
    #edk-worksite #edk-search {
        margin-bottom: 20px;
    }
    .edk-worksite-contentpage .accordion-content li.headerDiv {
        display: none;
    }
    .edk-worksite-contentpage ul.sub-menu li div {
        line-height: 22px;
    }
    .edk-worksite-contentpage .accordion-toggle {
        margin-bottom: 0;
    }
    .edk-worksite-contentpage #edk-search input,
    .edk-worksite-contentpage #edk-search button {
        float: none;
    }
    #edk-documents-wp ul a,
    #edk-documents-wp ul span {
        padding-left: 0px;
    }
    #edk-documents-wp ul ul a,
    #edk-documents-wp ul ul span {
        padding-left: 25px;
    }
    #edk-documents-wp ul ul ul a,
    #edk-documents-wp ul ul ul span {
        padding-left: 50px;
    }
    #edk-documents-wp ul ul ul ul a,
    #edk-documents-wp ul ul ul ul span {
        padding-left: 75px;
    }
    #edk-documents-wp ul ul ul ul ul a,
    #edk-documents-wp ul ul ul ul ul span {
        padding-left: 100px;
    }
    #edk-documents-wp ul ul ul ul ul ul a,
    #edk-documents-wp ul ul ul ul ul ul span {
        padding-left: 125px;
    }

}

/* WORKSITES END */

/* INTRANET FRONTPAGE */

/* Webpart titles */
h2.ms-webpart-titleText > a,
h2.ms-webpart-titleText > a:visited,
h2.ms-webpart-titleText > a:active,
h2.ms-webpart-titleText > a:hover {
    color: #716961;
    font-size: 1em;
}

.edk-show-more {
    font-size: 14px;  
    margin: 20px 0;
}
.edk-show-more .edk-arrow-right {
    font-size: 12px;
    padding-left: 0;
}


/* Oikopolut */
#edk-oikopolut ul {
	list-style-type: none;
	padding-left: 0;
}
#edk-oikopolut li {
	padding: 0 0 1px 0;
}
#edk-oikopolut li a {
	display: block;
	height: 38px;
	color: #4D4843;
	font-size: 16px;
	font-family: Helvetica;
	font-weight: bold;
	padding: 12px 0 0 10px;
	border-left: 4px solid #B7D5E3;
}
#edk-oikopolut li a img {
	display: inline-block;
	padding: 0 5px 0 0;
}