﻿/* custom internet osionetusivu */

 #bodywrapper {
	padding-top: 30px!important;
}

#bodywrapper-in {
	padding-top:0px; margin-top:0px;		 
}

/* image gallery wrap */
.colsWrp #topColsWrp .col.cols1	.gv_galleryWrap {
	 BORDER: #efefef 1px solid!important;  
}
/* middle row */
.clearfix.colsWrp.mainColsWrp.etu {
	margin-top: 0px!important;
}

/* WP OTSIKOT  */
.frontpage .ms-webpart-chrome-title {
	border: 1px solid #efefef;
	border-bottom: 0px solid #efefef !important;
	background: #eff2f2; 
 }


.frontpage .ms-webpart-chrome-title  h2, 
.frontpage h2 a, 
.frontpage h2 a span,  
.frontpage h2 nobr span {
	color: #2c4671;
	font-size: 15px;
	font-weight: bold; 
} 

.frontpage .ms-webpart-chrome-title  h2 {
	background: #eff2f2;
	margin:0px!important;
	padding: 10px 0px 5px 10px!important;
	width:auto!important;
}

body  .frontpage .ms-webpart-chrome-title {
	margin:0px!important;
}

/* tiedote yms items nowrap fix */
.cbs-Line1Link.ms-noWrap {
	 white-space:normal;
}
	

/* perusteksti */ 

/* perustekstit, etusivu  */
.etu .ms-rtestate-field table, 
.etu  .ms-rtestate-field table td, 
.etu .ms-rtestate-field  p, 
.etu .ms-rtestate-field  span, 
.etu  .ms-rtestate-field .ms-rteStyle-eduskuntaTekstikappale, 
.etu  .ms-rtestate-field .ms-rteElement-p-ingressi, 
.etu .ms-rtestate-field  .edk-rte-Element-p-ingress, 
.etu  .ms-rtestate-field .edk-rteContent-Element-p-ingressi, 
.etu  .ms-rtestate-field .ms-rteElement-p-teksti, 
.etu  .ms-rtestate-field .edk-rte-Element-p-teksti, 
.etu .ms-rtestate-field  .edk-rteContent-Element-p-teksti,
.etu .ms-rtestate-field  .ms-rteElement-p-kuvateksti, 
.etu  .ms-rtestate-field .edk-rte-Element-p-kuvateksti, 
.etu .ms-rtestate-field  .edk-rteContent-Element-p-kuvateksti   {
	font-family:arial!important;
	color: #222222!important; 
	line-height: 1.5em!important;
	font-size: 15px!important;  
}  

.etu h1 {
	font-size: 30px!important;
	margin:0 0 18px!important;
	padding-bottom:0px!important;
}
.etu .shadow.border, 
.etu .wp-shadow.wp-border {
	margin-bottom:18px;/*margin to frontpage wp-zones*/
}

/* Eduskunta Internet 4 columns layout css */
body #leftColumn {
    float: left;
    width: 266px;
    clear:both;
    margin:0;
}
/*body .rightpanel {margin:0;padding: 0;}*/
.topColsWrp {margin:10px 0 30px 0;}
.mainColsWrp {margin:10px 0 10px 0;}
.colStack {width:920px;float:left;}
    .colStack2 {width:610px;float:left;}
        .cols1span2 {width: 594px;margin:0!important;}
        .cols1span3 {clear:left;float:left;width:900px;margin:0!important;}    
        .cols1span4 {width:934px;}
.colsWrp .col {float:left;border:none 0px transparent;margin: 0 18px 0 0;overflow: visible;}
    .colsWrp .colStack .cols1c {}
.colsWrp #topColsWrp .col {width:610px!important;margin:0;display:block;overflow:visible;background:transparent;}
    .colsWrp .cols2 {margin: 0 0 18px 0;}
        .topColsWrp #topColsWrp .cols2 {margin: 0 0 18px 0px;}
    .colsWrp .cols3 {margin: 0 0 18px 18px;width:278px;}
    .colsWrp .cols4 {background:#fff;float:right;width:278px;}
		/*#ctl00_MSO_ContentDiv  .colsWrp .cols4 .ms-WPBody {padding:1em!important;}*/
    /*.colsWrp #topColsWrp .cols1 {overflow:hidden;margin: 0 18px 0 0;width: 596px;}*/
.colsWrp #stackWrp3b,
.colsWrp #stackWrp3c {float: left;width:610px!important;}
        .colsWrp #stackWrp3b.news,
        .colsWrp #stackWrp3c.news {padding:0 10px;}
    .colsWrp #stackWrp3b .cols1span2 {margin:0 0 18px 0!important;}
        .colsWrp #stackWrp3b .cols1span2 .s4-wpTopTable,
        .colsWrp #stackWrp3c .cols1span2 .s4-wpTopTable,
        .colsWrp #stackWrp3b .cols1span2 .ms-WPBorder,
        .colsWrp #stackWrp3c .cols1span2 .ms-WPBorder,
        .colsWrp #stackWrp3b .cols1span2 .ms-WPBorderBorderOnly,
        .colsWrp #stackWrp3c .cols1span2 .ms-WPBorderBorderOnly {width:594px!important;}
            .colsWrp #stackWrp3b .cols1span2 .ms-WPBody,
            .colsWrp #stackWrp3b .cols1span2 .ms-wpContentDivSpace,
            .colsWrp #stackWrp3c .cols1span2 .ms-wpContentDivSpace {width:572px!important;}
                .colsWrp #stackWrp4a .cols1span4 {clear:none;}
                .colsWrp #stackWrp4a .cols1span4 .ms-wpContentDivSpace {padding: 0 0 0 10px;width:924px!important;}
                    .colsWrp #stackWrp4a .cols1span4 .ms-wpContentDivSpace table {width:100%!important;}
 

.colsWrp .col table,
.colsWrp .col table tbody {width:288px!important;margin:0;display:inline-block;}
.colsWrp .cols1span2 table,
.colsWrp .cols1span2 table tbody,
.colsWrp .cols1span2 table tbody tr,
.colsWrp .cols1span2 table tbody tr td {width:100%!important;}
    .colsWrp #topColsWrp .cols1 table,
    .colsWrp #topColsWrp .cols1 table tbody {width:600px !important;overflow:hidden;border-collapse:collapse;}
    .colsWrp #topColsWrp .cols2 table,
    .colsWrp #topColsWrp .cols2 table tbody, 
    .colsWrp #topColsWrp .cols2 table tbody td {width:610px !important;background: none repeat scroll 0 0 transparent;overflow:visible!important;}
        .colsWrp #topColsWrp .cols2 .ms-WPHeader .ms-WPHeaderTd,
        .colsWrp #topColsWrp .cols2 .ms-WPHeader td {background-color: #EFF2F4;}
            .colsWrp #topColsWrp .cols2 table tbody td.ms-WPBorder {height:382px;}
            .colsWrp #topColsWrp .cols2 table.s4-search {width:auto!important;}
    .colsWrp .cols4 table {width:278px!important;margin:0;display:block;}
    .colsWrp .cols1span3 table,
    .colsWrp .cols1span3 table tbody,
    .colsWrp .cols1span3 table tbody td,
    .colsWrp .cols1span3 table tbody td.s4-wpcell-plain .s4-wpTopTable {width:900px!important;}
    .colsWrp .cols1span3 .ms-WPBody,
    .colsWrp .cols1span3 .ms-wpContentDivSpace {width:880px!important;}
    
    .colsWrp .col .s4-wpcell-plain .s4-wpTopTable 
    {
        display: block;
        width: 288px !important;
        overflow: hidden!important;
        padding: 0;                 
    }
        .colsWrp .colStack .cols1span2 .s4-wpcell-plain .s4-wpTopTable,
            .colsWrp .colStack .cols1span2 .s4-wpcell-plain .s4-wpTopTable td,
            .colsWrp .colStack .cols1span2 .s4-wpcell-plain .s4-wpTopTable table tbody {width: 594px!important;}
                .colsWrp .colStack .cols1span2 .s4-wpcell-plain .s4-wpTopTable td .ms-WPBody {width: 574px!important;}
        .footerColsWrp .col .s4-wpcell-plain .s4-wpTopTable {width: 278px !important;} 
           
        .internet .rightpanel .colsWrp .col .s4-wpcell-plain .s4-wpTopTable
            {
                border: solid 1px #e9ecef;
                -moz-box-shadow:0 2px 6px 3px rgba(125, 125, 125, 0.08);
                -webkit-box-shadow: 0 2px 6px 3px rgba(125, 125, 125, 0.08);
                box-shadow: 0 2px 6px 3px rgba(125, 125, 125, 0.08);
            }
            .rightpanel .colsWrp .col .s4-wpcell-plain .s4-wpTopTable {overflow:hidden;}
                .rightpanel .colsWrp #topColsWrp .col .s4-wpcell-plain .s4-wpTopTable {border:none;}
                .rightpanel .colsWrp .col.deco4 .s4-wpcell-plain .s4-wpTopTable
                    {
                        border: none 0px transparent;
                        -moz-box-shadow:0 0 0 0 rgba(256, 256, 256, 0);
                        -webkit-box-shadow: 0 0 0 0 rgba(256, 256, 256, 0);
                        box-shadow: 0 0 0 0 rgba(256, 256, 256, 0);  
                    }
            .internet .rightpanel .colsWrp .cols1span3 .s4-wpcell-plain .s4-wpTopTable,
            .internet .rightpanel .colsWrp .h .s4-wpcell-plain .s4-wpTopTable 
                {
                    margin: 20px 0 0;
                    -moz-box-shadow:0 2px 6px 3px rgba(125, 125, 125, 0);
                    -webkit-box-shadow: 0 2px 6px 3px rgba(125, 125, 125, 0);
                    box-shadow: 0 2px 6px 3px rgba(125, 125, 125, 0);
                    border:none;                                                                                 
                }
                .rightpanel .colsWrp .cols1span3 .s4-wpcell-plain .s4-wpTopTable,
                .rightpanel .colsWrp .h .s4-wpcell-plain .s4-wpTopTable {margin: 20px 0 0;}
            .rightpanel .colsWrp .col .top .s4-wpcell-plain .s4-wpTopTable {
                    border-bottom: none 0px transparent;
                    background:#eff2f4;
                }  
            .rightpanel .colsWrp .col .bottom .s4-wpcell-plain .s4-wpTopTable {
                    border-top: none 0px transparent;
                }
                .rightpanel .colsWrp .col .bottom .s4-wpcell-plain .s4-wpTopTable .ms-rteElement-P {margin:0;}
                .rightpanel .colsWrp .col .top .s4-wpcell-plain .s4-wpTopTable table.s4-search {margin:10px 15px;}
            .colsWrp .cols4 .s4-wpcell-plain .s4-wpTopTable {
                width: 278px !important;
                border:none!important;
                -moz-box-shadow:0 0 0 0 rgba(125, 125, 125, 0)!important;
                -webkit-box-shadow: 0 0 0 0 rgba(125, 125, 125, 0)!important;
                box-shadow: 0 0 0 0 rgba(125, 125, 125, 0)!important;                                                           
                }
    .colsWrp .col .ms-WPBorder,
    .colsWrp .col .ms-WPBorderBorderOnly {
        background:#fff;
        border: none;
        display: block;
        overflow: visible!important;
        width: 288px !important;        
        }
        .colsWrp .colStack .cols1span2 .ms-WPBorder,
        .colsWrp .colStack .cols1span2 .ms-WPBorderBorderOnly {width:564px!important;}
        .colsWrp #topColsWrp .cols1 .ms-WPBorder,
        .colsWrp #topColsWrp .cols1 .ms-WPBorderBorderOnly {width:592px!important;overflow: hidden!important;}
            .colsWrp #topColsWrp .cols1 .ms-WPBorder .ms-WPBody,
            .colsWrp #topColsWrp .cols1 .ms-WPBorderBorderOnly .ms-WPBody,
                .colsWrp #topColsWrp .cols1 .ms-WPBorder .ms-WPBody p,
                .colsWrp #topColsWrp .cols1 .ms-WPBorderBorderOnly .ms-WPBody p {padding:0;margin:0;}                 
        .colsWrp #topColsWrp .cols2 .ms-WPBorder,
        .colsWrp #topColsWrp .cols2 .ms-WPBorderBorderOnly {width:606px!important;padding:0px;}  
    
        .footerColsWrp .col .ms-WPBorder, .footerColsWrp .col .ms-WPBorderBorderOnly {width: 278px !important;}
        
        .internet .rightpanel.colsWrp .col .ms-WPBorder, 
        .internet .rightpanel .colsWrp .col .ms-WPBorderBorderOnly {   
            -moz-box-shadow:0 4px 6px -4px rgba(125, 125, 125, 0.2);
            -webkit-box-shadow: 0 4px 6px -4px rgba(125, 125, 125, 0.2);
            box-shadow: 0 4px 6px -4px rgba(125, 125, 125, 0.2);
        }    
        .internet .colsWrp .cols4 .ms-WPBorder, .internet .cols4 .ms-WPBorderBorderOnly {width: 276px !important;background:transparent!important;box-shadow: 0 4px 6px -4px rgba(125, 125, 125, 0)!important;}
            .footerColsWrp .col .ms-WPBorder, .footerColsWrp .col .ms-WPBorderBorderOnly {background:transparent;}
    
    .colsWrp .col .ms-WPBody,
    .colsWrp .col .ms-wpContentDivSpace {
        margin: 0;
        width: inherit !important;
        padding:10px;
    }
        .colsWrp .col .ms-WPBody object {margin:-10px 0 0 -10px!important;} /* media object fix */
        .colsWrp .colStack .cols1span2 .ms-wpContentDivSpace {width: 574px;}
    .colsWrp #topColsWrp .col .ms-wpContentDivSpace {
        margin: 0;
        width: inherit;
        padding:10px;
    }
        .colsWrp #topColsWrp .col .ms-WPBody {padding:0;}
            
        .colsWrp #topColsWrp .cols1 .ms-wpContentDivSpace {width: 592px;padding:0;white-space:normal;}
            .colsWrp #topColsWrp .cols1 .ms-wpContentDivSpace br {display:none;}
        .colsWrp #topColsWrp .cols2 .ms-wpContentDivSpace {width: 590px;}    
        
        .colsWrp .cols4 .ms-wpContentDivSpace {width: 256px;}
            .footerColsWrp .col .ms-wpContentDivSpace {padding:0;}
        
    .colsWrp .cols4 .s4-search input.ms-sbplain {width:190px!important}
    
    .footerColsWrp h2, .footerColsWrp h2.edk-rte-Element-h2, .footerColsWrp h2.edk-rteContent-Element-h2, .footerColsWrp H2.ms-rteElement-H2 {font-weight:bold;}
        .footerColsWrp h2, .footerColsWrp h2.edk-rte-Element-h2, .footerColsWrp h2.edk-rteContent-Element-h2, .footerColsWrp H2.ms-rteElement-H2,
        .footerColsWrp h3, .footerColsWrp h3.edk-rte-Element-h3, .footerColsWrp h3.edk-rteContent-Element-h3, .footerColsWrp H3.ms-rteElement-H3 {font-size:1.5em;margin:0 0 6px 0;}
            .footerColsWrp ul {
				list-style-type:none;
				padding: 0;
				margin: 0;
			}
			.footerColsWrp li {
				padding-bottom:.2em;
			}
    
    .footerColsWrp a, .footerColsWrp a:link {color:#2c82bd;}
        .footerColsWrp a:hover {color:#2c82bd;}
            .footerColsWrp a.active {color:#2c82bd;}
                .footerColsWrp a:visited {color:#2c82bd;}
    
    .footerColsWrp h2 a, .footerColsWrp h2 a:link,
    .footerColsWrp h3 a, .footerColsWrp h3 a:link {color:#2C4671;}
        .footerColsWrp h2 a:hover,
        .footerColsWrp h3 a:hover {color:#738cb6;}
            .footerColsWrp h2 a.active,
            .footerColsWrp h3 a.active {color:#2c82bd;}
                .footerColsWrp h2 a:visited,
                .footerColsWrp h3 a:visited {color:#2C4671;}
    
    .footerColsWrp p {font-size:1.2em;margin:0 0 10px 0;}
    
    .ms-WPHeader .ms-wpTdSpace {display:none;}