/* Colorbox close button to Top Right Corner */
#colorbox #cboxClose{
	top: 0;
	right: 0;
	bottom: auto;
}
#cboxLoadedContent{
	margin-top:28px;
	margin-bottom:0;
}


/* Hide frontpage viestintä on mobile */
@media only screen and (max-width : 620px) {
	.frontpage-viestinta {
		display:none;
		
	}

}



/* */


#carousel img {
	height: 100%;
}

.cycloneslider-template-default .cycloneslider-caption-title {
	font-size: 18px !important;	
}

.cycloneslider-template-default .cycloneslider-caption-description {
	font-size: 13px !important;
}
.home .events-calendar .events-table p{
	margin-bottom:10px;
	margin-top:5px;
}

header .info a {
    color: #ababab;
    font-size: 0.79em;
	font-weight:bold;
}

/* ETUSIVU */
.sidebar-block ul.ajankohtaista-feed li{
	margin-bottom:10px;
}
.home .english-feed, .home .blog-feed, .home .metalprices{
	height:auto;
	
}
.sidebar-block{
	margin-bottom:30px;
}
.sidebar-sponsors p{
	text-align:center;
	margin:10px 10px 20px;
}
.events-calendar-inner{
	background-color:#e5e5e5;
}
.events-readmore{
	padding: 0 15px 10px;
}
.featured-front{
	background-color:white;
	padding:15px 0 10px;
}
.featured-front-box{
	height:70px;
	overflow:hidden;
	clear:left;
	margin-bottom:10px;
}
@media (max-width: 600px) {
  .featured-box {
    margin-bottom:30px;
  }
  .uusimmat-kirjoitukset h3 {
    margin: 10px 0;
    font-size: 16px;
	}
}
.featured-front-box .image{
	width:80px;
	float:left;
	margin:0 15px 10px 15px;
	height:70px;
	border-radius:3px;
	overflow:hidden;
}
.featured-front-box .image img{
	max-width:100%;
	border-radius:2px;
}
.featured-front-box h3{
	font-size: 14px;
    line-height: 1em;
    margin: 0;
    text-transform: none;
	font-weight:normal;
}
.featured-front-box  .kirjoitus-meta{
	color:#ee7202;
	margin-bottom:0;
	font-weight:bold;
}
.featured-front-box h3 a{
	color:black;
}
.featured-box{
	margin-left:10px;
}

.frontpage-viestinta .black-heading{
	margin-bottom:20px;
}
.frontpage-viestinta .featured-kirjoitukset{
	margin:0 0 30px 0;

}
.home .ajankohtaista-feed{
	padding:15px;
	background-color:#e5e5e5;
}
.home .ajankohtaista-feed .date{
	display:block;
}
.frontpage-viestinta{
	margin-top:30px;
}

.yhteistyokumppanit p{
	text-align:center;
	padding:0 20px;
	margin-bottom:5px;
}
.yhteistyokumppanit img{
	max-width:100%;
}
.home .sidebar-block .black-heading a{
	color:white;
}

.home .featured-kirjoitukset img {
    border-right: none;
}

.home .kirjoitus-row a{
	color:#ee7202;
}

/* KOULUTUS */
.multiselect{
	width:100%;
}
.limit-search-info{
	padding-top:18px;
	line-height:20px;
}

/* KAIVOKSET */
.kaivoslistaus table{
	width:100%;
	margin-bottom:30px;
}
.kaivoslistaus th{
	
	background-color:black;
	color:white;
}
.kaivoslistaus th, .kaivoslistaus td{
	text-align:left;
	padding:6px 10px 8px 4px;
	margin-bottom:4px;
	font-size:15px;
}
.kaivoslistaus td{
	padding:10px 10px 8px 4px;
}
.kaivoslistaus tr:nth-child(even) td{
	background-color:#f6f6f6;
}
.kaivoslistaus tr:hover td{
	background-color:#EFEBAC;
	cursor:pointer;
}

.image-popup{
	display:none;
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	text-align:center;
	z-index:30;
}
.image-popup img{
	background:  white;
    border: 1px solid #b9b9b9;
    border-radius: 5px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.4);
    margin-top: 2%;
    max-height: 90%;
    max-width: 90%;
    padding: 8px 8px 20px;
}
.image-popup:hover{
	cursor:pointer;
}
.image-popup-overlay{
	display:none;
	opacity:0.8;
	background-color:white;
	position:absolute;
	top:0;
	left:0;
	right:0;
	bottom:0;
	z-index:20;
}
.kaivos-header{
	margin-bottom:20px;
}
.kaivos-content{
	font-size: 15px;
    line-height: 20px;
    margin-bottom: 30px;
}
.kaivos-kuvat {
	margin-top:15px;
	margin-left:-9px;
}
.kaivos-kuvat li{
	list-style-type:none;
	display:inline-block;
	margin-right:2px;
}
.kaivos-kuvat img{
	max-width: 95px;
}
.kaivos-kuvat img:hover{
	cursor:pointer;
}
.kaivos-details{
	padding:15px;
	background-color:#efefef;
	margin:0 0 0 -10px;
}
.kaivos-details li{
	list-style-type:none;
	margin-bottom:3px;
	color:#555;
}
.kaivos-details li span{
	color:black;
	margin-right:5px;
}
.kaivos-navi {
	margin-top:20px;
}
.kaivos-navi li{
	list-style-type:none;
	display:inline-block;
	padding-top:4px;
}
.kaivos-navi li a{
	display:block;
	background-color: #E5E5E5;
    border-bottom: 1px solid #c5c5c5;
	padding:10px;
	color:#333;
	font-size:16px;
}
.kaivos-navi li.selected a{
	background-color: #ffffff;
    border-bottom:none;
    border-top: 1px solid #dedede;
    color: #111;
}
.kaivos-navi li.selected{
	
}
.kaivos-map{
	position:relative;
}
#kaivos-infowindow{
	
	display:none;
	background-color: white;
    border: 1px solid #d2d2d2;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.1);
    height: auto;
    left: -75px;
    padding: 10px 20px 15px;
    position: absolute;
    top: 180px;
    width: 160px;
    z-index: 100;
}
#kaivos-infowindow h3{
	margin:0;
	line-height:17px;
}
#kaivos-infowindow h3 a{
	font-size:14px;
}
#kaivos-infowindow p{
	font-size:12px;
	color:#555;
	margin:0;
	line-height:15px;
}
#kaivos-infowindow p#arvoaineet{
	color:black;
	margin-bottom:5px;
}
#kaivos-infowindow .close{
	color: #ababab;
    display: inline-block;
    font-weight: bold;
    padding: 3px 8px;
    position: absolute;
    right: 0;
    top: 0;
}
#kaivos-infowindow .close:hover{
	cursor:pointer;
	color:black;
}
.tabContent{
	display:none;
	

}
.tabContent.selected{
	display:block;
}
th.header:hover{
	cursor:pointer;
}
th.header { 
	background-image: url(../images/bg.gif); 
    background-repeat: no-repeat; 
    background-position: center right; 
    padding-right: 20px; 
    margin-left: -1px; 
} 
th.headerSortDown { 
	background-image: url(../images/desc.gif); 
    
} 
th.headerSortUp { 
    background-image: url(../images/asc.gif); 
    
} 


/* VIESTINTA */
.row.viestinta-main{
	padding:0;
	margin:0 auto;
}
.viestinta-main hr{
	margin-top:30px;
}
.kirjoittajat li{
	list-style-type:none;
}
.kirjoittajat-link a{
	
	text-decoration:underline;
}
.featured-kirjoitukset{
	padding:0;
}
.featured-kirjoitukset a{
	color:white;
}
.featured-kirjoitukset img{
	width:100%;
	height:260px;
	border-right:1px solid black;
}
.featured-kirjoitukset .columns{
	padding:0;
	margin:0;
	
}
.featured-box{
	position:relative;
}
.featured-box a{
	color:white;
}
.featured-kirjoitukset h3{
	display: table-cell;
    height: 100%;
    padding: 10px 20px;
    text-align: left;
    vertical-align: middle;
	font-weight:normal;
	color:white;
	line-height:21px;
	font-size:1em;
}

.featured-post-caption {
    bottom: 0;
    font-weight: bold;
    height: 100px;
    left: 0;
    position: absolute;
    width: 100%;
    z-index: 10;
}
.featured-post-caption .over-shadow {
    display: table;
    height: 100%;
    position: relative;
    width: 100%;
    z-index: 2;
}

.shadow {
    background-color: #202020;
    height: 100%;
    left: 0;
    opacity: 0.7;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1;
}
.featured-cat{
	xposition:absolute;
	xtop:18px;
	xleft:20px;
	color:#d1d1d1;
	display:block;
	padding:0;
	z-index:100;
	font-size:14px;
	font-family:helvetica,sans-serif;
	text-transform:none;
}
.kirjoittajat-list{
	padding:30px 0 0;
}
.author-kirjoitukset-list{
	padding-top:30px;
}
.uusimmat-kirjoitukset h1{
	margin:30px 0;
	font-weight:normal;
}
.uusimmat-kirjoitukset h3{
	margin:0;
	font-weight:normal;
}
.row.uusimmat-bigger{
	border-bottom:1px solid #d9d9d9;
	padding-bottom:20px;
	margin-bottom:20px;
}
.row.uusimmat-bigger img{
	border-radius:5px;
}
.row.uusimmat-normal:first-child{
	margin-top:40px;
}
.kirjoitus-meta{
	margin-bottom:10px;
}
.kirjoitus-row{
	padding-bottom:20px;
}
.kirjoitus-row p{
	font-family:helvetica, sans-serif, arial;
	line-height:1.4;
	color:#808080;
}
.pro-viestinta-suosituimmat li{
	list-style-type:none;
	display:block;
	float: left;    
    margin-right: 15px;
    overflow: hidden;
    width: 30%;
	margin-right:3%;
}
.pro-viestinta-suosituimmat li h3{
	
}
.pro-viestinta-suosituimmat li img{
	display:block;
}
#pro-uusimmat{
	padding-top:40px;
	clear:left;
}
.single-kirjoitus{
	padding:30px 0;
}
.single-kirjoitus h1{
	line-height:28px;
	border-bottom:none;
	margin-bottom:5px;
	font-weight:normal;
}
.single-kirjoitus .entry-content{
	font-family:helvetica,sans-serif;
	color:#585858;
}
.author-bio{
	padding:30px 0 30px 15px;
	
}
.author-box{
	background-color:#f6f6f6;
	padding:20px;
}
.author-bio img{
	width:100%;
	margin-bottom:10px;
}
.author-meta{
	color:#777;
	margin-bottom:10px;
}
.author-heading h1{
	border-bottom:1px solid #888;
	font-weight:normal;
}
.kirjoitus-meta{
	color:#777;
}
.avatar-small{
	width:50px;
	height:50px;
	float:left;
	border-radius:5px;
	margin-right:10px;
}
.author-kirjoitukset-box{
	padding:20px 5px;
}
.author-kirjoitukset-box li{
	margin-bottom:10px;
}
.kirjoitukset-sidebar h3{
	font-size:20px;
	margin-top:10px;
	font-weight:normal;
}
.lisaa-kirjoitus-btn{
	margin-top:40px;
	padding-top:30px;
	border-top:1px solid #ededed;
}
ul.kirjoitus-sidenavi li{
	list-style-type: none;
	line-height:16px;
	color:#666;
}
ul.kirjoitus-sidenavi li span{
	font-size:13px;
}
.kirjoittajat-list, .kirjoitukset-list{
	background-color:#f6f6f6;
	padding:10px 20px;
	margin-top:30px;
	margin-bottom:-15px;
}
.kirjoittajat-list li{
	clear:left;
	height:60px;
}
#ajaxList .loading{
	padding:200px;
	font-size:20px;
	font-weight:normal;
	color:#888;
}
.imagebank-btn{
	padding:20px;
	clear:left;
	font-size:16px;
	text-decoration:underline;
}
.imagebank-btn:hover{
	cursor:pointer;
}
img.media{
	margin-right:1px;
	margin-bottom:1px;
}
.media-add-btn{
	margin-top:20px;
	display:none;
}

.acf-taxonomy-field li, .acf-checkbox-list li{
	list-style-type:none;
}



/* TIETOLOUHOS */
.link{
	margin:20px 0;
}
.link a{
	text-decoration:underline;
}
.louhos-content{
	line-height: 22px; 
	font-family: helvetica; 
	font-size: 14px; 
	max-width: 600px;
}
.tag-uusi{
	background-color:#ee7202;
    font-size: 10px;
    padding: 0 2px;
    position: absolute;
    right: 5px;
    top: -11px;
	line-height:1.2;
}
.top-bar-section li{
	position:relative;
}


/* FRONTPAGE MARQUEE */
.marquee-heading{
	float:left;
	width:160px;
	
}
.marquee{
	overflow:hidden;
	float:left;
	width:780px;	
	margin-right:-90px;
	height:20px;
	position:relative;
}
.marquee ul{
	position:absolute;
	width:1500px;
}
.marquee li{
	display:inline;
	list-style-type:none;
}
.marquee a{
	display:inline-block;
	margin-right:30px;
}
.marquee a:hover{
	color:#f1f1f1;
}



/* CAREERS */
.back-button{
	margin-top:50px;
}
.addnewjob{
	float:right;
	margin:6px 0 0;
}
.tietolouhos-categories{
	float: right;    
    margin-right: -10px;
    padding-top: 20px;
    text-align: right;
}
.page-template-page-tietolouhos-php .tietolouhos-categories p{
	font-size: 0.9em;
}
.advanced-job-search{
	position:relative;
	z-index:1000;
	text-align:left;	
}

.advanced-job-search ul{
	position:absolute;	
	width:300px;
	background-color:white;
	border:1px solid #dedede;	
	padding:10px;
	box-shadow: 2px 2px 2px rgba(0,0,0,0.3);
}
.advanced-job-search li{
	list-style-type:none;
	display:block;
	float:none;
	font-size:16px;
	padding:7px 5px 7px 40px;
	margin-bottom:1px;
	font-size:0.9em;
}
.advanced-job-search li:hover{
	background-color:#ededed;
	cursor:pointer;
}
.checked{	
	background:#f9f9f9 url(../images/icon-check2.png) no-repeat 15px 9px;	
}
.job-details-info img{
	max-height:140px;
}
.job-details li{
	margin-left:30px;
	margin-bottom:15px;
}	
.job-details-info p{
	margin-bottom:0.7em;
}
.edit-career{
	margin-top:15px;
}
.career-limit-search p{
	margin-bottom:2px;
}
.job-category span:after{
	content: ','
}
.job-category span:last-child:after{
	content: none;
}
.acf_postbox .field input[type="text"].hasDatepicker, #acf-field-haku_paattyy_kello{
	width:100px;
}
#message p{	
	background-color:green;
	color:white;
	padding:5px 20px 5px;
	font-weight:bold;
}

.career-sel-col{
	color: #7e7e7e;
}
#career-date-select{
	background:  #222;	
    border-color: #222;
    color: white;
    height: 29px;
    margin: -5px 0 0;
    width: 130px;
	border:none;
}
#career-date-select option{
	padding:3px 10px;
}

.career-date span{
	width:90px;
	display:inline-block;
}
.job-results  .columns{
	padding-top:10px;
}
.job-results .description{
	line-height: 1.3em;
}
.job-results p{
	margin:0;
}
.job-results img{
	max-height:90px;
	display:block;
}

