/*
	Reportronic
	Copyright 2011 Sebitti Oy
*/

.SBHairline {
    height: 1px;
}


.SBPaaMenuOtsikkoKuva {
    margin-left: 2px;
    margin-bottom: 2px;
}

.SBGridData1 {
    width: 100% !important;
    /*border-color: #E5E5E5 !important;*/
    border-top-color: #DBDBDB;
    border-top-style: solid;
    border-top-width: thin;
    border-bottom-color: #DBDBDB;
    border-bottom-style: solid;
    border-bottom-width: thin;
    border-left-color: #DBDBDB;
    border-left-style: solid;
    border-left-width: thin;
    border-right-color: #DBDBDB;
    border-right-style: solid;
    border-right-width: thin;
}

    .SBGridData1 td {
        padding: 5px 10px;
        border-top-color: #DBDBDB;
        border-top-style: solid;
        border-top-width: thin;
        border-bottom-color: #DBDBDB;
        border-bottom-style: solid;
        border-bottom-width: thin;
        border-left-color: #DBDBDB;
        border-left-style: solid;
        border-left-width: thin;
        border-right-color: #DBDBDB;
        border-right-style: solid;
        border-right-width: thin;
    }

    .SBGridData1 tbody tr:hover {
        -webkit-box-shadow: 0px 0px 3px 1px #ccc !important;
        box-shadow: 0px 0px 3px 1px #ccc !important;
        -webkit-transition: box-shadow linear 0.2s;
        -moz-transition: box-shadow linear 0.2s;
        -ms-transition: box-shadow linear 0.2s;
        -o-transition: box-shadow linear 0.2s;
        transition: box-shadow linear 0.2s;
    }

        .SBGridData1 tbody tr:hover td {
            border-top-color: #DBDBDB !important;
            border-left-color: #DBDBDB !important;
            border-bottom-color: #DBDBDB !important;
            border-right-color: #DBDBDB !important;
            /*border-top-color: #DBDBDB !important;
        border-top-style:solid !important;
        border-top-width:thin !important;
        border-bottom-color: #DBDBDB !important;
        border-bottom-style:solid !important;
        border-bottom-width:thin !important;
        border-left-color: #DBDBDB !important;
        border-left-style:solid !important;
        border-left-width:thin !important;
        border-right-color: #DBDBDB !important;
        border-right-style:solid !important;
        border-right-width:thin !important;*/
        }


.SBGridForWebKit table {
    border: none;
    border-width: 0px;
}


.SBGrdMnthCll {
    background-color: whitesmoke;
    font-size: 12px;
    border: 1px solid silver;
    width: 32px;
    text-align: right;
    vertical-align: top;
    border: none;
}

    .SBGrdMnthCll input[readonly],
    .SBGridData1 input[readonly] {
        background-color: transparent;
        border: 1px solid silver;
        cursor: pointer;
    }

.SBGrdMnthCll2 {
    background-color: gainsboro;
    font-size: 12px;
    border: 1px solid silver;
    width: 32px;
    text-align: right;
    vertical-align: top;
}

.SBGrdMnthImg {
    border-width: 0px;
    vertical-align: middle;
    margin-left: 1px;
}

/* JS 20130830 */
.SBGridWeekCell input[readonly] {
    cursor: pointer;
}

.SBGridData2 {
    background-color: #F7F7F7;
}

.SBGridDataError {
    background-color: red;
}


.SBGridOtsikkoWT {
    text-align: center;
    background-color: #4874B8;
    font-size: 12;
    font-weight: bold;
    color: White;
    padding-right: 5px !important;
    text-align: left !important;
}


.SbGridOtsikko {
    background-color: #eaeaea;
/*    background-repeat: repeat-x;
    background-position: notset;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmZmZmZiIgc3RvcC1vcGFjaXR5PSIwIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmMmYyZjIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(242,242,242,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(255,255,255,0)), color-stop(100%,rgba(242,242,242,1)));
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(242,242,242,1) 100%);
    background: -o-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(242,242,242,1) 100%);
    background: -ms-linear-gradient(top, rgba(255,255,255,0) 0%,rgba(242,242,242,1) 100%);
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(242,242,242,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#f2f2f2',GradientType=0 );*/
    height: 25px;
    color: #666666;
    vertical-align: middle;
    border-bottom: solid 1px silver; /*#9AB3D3;*/
    padding: 4px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.9);
    margin-left: 4px;
}


    .SBGridOtsikko a, .SBGridOtsikko a:link, .SBGridOtsikko a:visited {
        font-family: Verdana, Arial, Helvetica, sans-serif;
        font-size: 11px; /*border-right:solid 1px #9AB3D3; 	border-left:solid 1px #FFFFFF;*/
        padding-left: 8px;
        overflow: hidden; /*height: 25px;*/
        text-align: left;
        vertical-align: middle;
        border-bottom: solid 1px silver; /*#9AB3D3;*/
        padding: 4px;
        font-weight: bold;
        margin-left: 4px;
    }


        .SBGridOtsikko a:active, .SBGridOtsikko a:hover {
            font-family: Verdana, Arial, Helvetica, sans-serif;
            font-size: 11px; /*border-right:solid 1px #9AB3D3; 	border-left:solid 1px #FFFFFF;*/
            padding-left: 8px;
            overflow: hidden; /*height: 25px;*/
            text-align: left;
            color: Silver;
            vertical-align: middle;
            border-bottom: solid 1px silver; /*#9AB3D3;*/
            padding: 4px;
            font-weight: bold;
            margin-left: 4px;
        }

/*
.SBGridOtsikko a, .SBGridOtsikko a:link, .SBGridOtsikko a:visited
{
	background-color: #4874B8; 
	font-size: 12;
	color: whitesmoke;
}

.SBGridOtsikko a:active, .SBGridOtsikko a:hover
{
	background-color: #4874B8; 
	font-size: 12;
	color: Silver;
}
*/


.SBGridOtsikkoVertical {
    padding: 4px;
    background-color: #4874B8; /*Sininen*/
    font-size: 14px;
    color: White;
    min-width: 55px;
    /*    
        writing-mode: tb-rl;
        filter: flipv fliph; /*Vertical
    */
}

/*.SBGridOtsikkoVertical span
    {
        display: block !important;
        position: relative !important;
        transform: rotate(270deg);
        -ms-transform: rotate(270deg); 
        -moz-transform: rotate(270deg); 
        -webkit-transform: rotate(270deg);
        -o-transform: rotate(270deg);
        zoom: 1;
    }*/
.vertical-text {
    display: block;
    /*float:right;*/
    float: left;
    width: 14px;
    color: #ffffff !Important;
    height: 8px;
    font-family: "Segoe UI", Arial, sans-serif !important;
    font-size: 13px;
}

.vertical-text-inner {
    display: inline-block;
    white-space: nowrap;
    /*line-height: 14px;*/
    /*-webkit-transform:rotate(-270deg);*/ /* Safari and Chrome */
    -webkit-transform: rotate(-90deg);
    -webkit-transform-origin: 0 0;
    /*transform: translate(0%,0%) rotate(-270deg);*/
    transform: translate(0%, 0%) rotate(-90deg);
    transform-origin: 0 0;
}
    /* This element stretches the parent to be square
   by using the mechanics of vertical margins  */
    .vertical-text-inner:after {
        content: "";
        display: block;
        /*margin: 0 0 100%;*/
    }

.nobr {
    white-space: nowrap;
}

.SBButton1 {
    width: 100px;
}

.SBKontrolliLomakeTaulukko /*Kontrollilomakkeen paataulukko */ {
    padding: 1rem 0;
    width: 100%;
}

.SBKontrolliTaulukkoSolu /*frmMain kontrollilomakkeen solu */ {
    background-color: White; /*width: 790px;*/
    width: 100%;
}

.SBPaaTaulukko {
    background-color: White; /*width: 885px;*/
    width: 100%;
}

.SBHelpPage /*JT 5.10.2004 ohjesivut kayttavat tata tyylia. Hox! myos muita tyyleja voi kayttaa ohjeissa.*/ {
    background-color: AliceBlue;
    font-size: 12px;
}

.SBHelpPageOtsikko /*MT 5.11.2004 ohjesivut kayttavat tata tyylia. Hox! myos muita tyyleja voi kayttaa ohjeissa.*/ {
    font-size: 14px;
}

.SBPaaMenuTaulukko {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px; /*background-color:#4874B8; JT 5.10.2004 taustavari pois*/ /*Sininen*/
    color: White; /*	border-right: 8px solid; 	BORDER-TOP: 8px solid;  	BORDER-LEFT: 8px solid;  	BORDER-BOTTOM: 8px solid; 	border-color:antiquewhite; */
    width: 150px;
}

.SBPaaMenuTaulukkoItemHeader /*SeBi.HeTe 20060920.  Paavalikon valikoiden otsikot.  Mozilla Firefox Background fix.*/ {
    background-image: url( '../../images/Navbar/NavBarHeader.jpg' );
    background-repeat: repeat-x;
    background-position: left bottom;
    vertical-align: bottom;
}


.SBHeaderTaulukko {
    /*width: 885px;*/
    width: 100%;
}


/* Paamenun valikkotekstit */
.SBPaaMenuValinta {
    font-size: 12px;
    background-color: White;
    color: #301870;
    width: 100%;
}

.SBAlaPalkki {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px; /*	background-color:#4874B8; JT 5.10.2004 taustavari pois*/
    height: 30;
}

.SBAnimoituIkoni1 {
    height: 20;
    width: 20;
}

/* 'AP 20.11.2002 */
.SBArvoLabel {
    font-size: 12px;
}

.SBLabel {
    outline: none;
    color: grey;
}

.SBLabelNumeric {
    font-size: 12px;
    text-align: right; /* tasaus oikeaan reunaan*/
}

.SBLabelError {
    font-size: 12px;
    color: Red;
}

.SBLabel2 {
    font-size: 12px;
}

.SBLabel3 {
    font-size: 14px;
}

.SBLabel4 {
    font-size: 16px;
}

.SBLabelBold {
    font-weight: bold !important;
}

.SBLabel3Bold {
    font-size: 14px;
    font-weight: bold;
}

/*JH 20140929*/
.SBLabelBlue {
    outline: none;
    color: royalblue;
}

/*JH 20131004 Projektin Sisältö-välilehden TextBoxin tyyli*/
.SBMultiEditTextBox {
    margin-bottom: 10px;
}

/* LinkButtonin tyyli*/
.SBLinkButton1:before {
    font-family: 'Material Icons';
    content: "play_arrow";
    -webkit-font-feature-settings: 'liga';
    vertical-align: bottom;
    font-size: 16px;
    cursor: pointer !important;
    padding-right: 5px;
    padding-left: 5px;
    color: rgba(0, 0, 0, 0.50);
}

/*JKu 20201208 Työajankirjauksen LinkButtonien tyylit*/
.additionalInfo .SBLinkButton1 {
    background: #d8d8d8;
    display: inline-block;
    line-height: 22px;
    color: rgba(0, 0, 0, 0.50);
    border: 1px solid #d8d8d8;
    border-radius: 4px;
    padding: 3px 15px;

}

    .additionalInfo .SBLinkButton1:hover {
        -webkit-box-shadow: 0px 0px 4px 0px #FF6600;
        box-shadow: 0px 0px 4px 0px #FF6600;
        color: rgba(0, 0, 0, 0.50);
    }


/* Number TextBoxin tyyli*/
.SBTextBoxNumber {
    text-align: right; /* tasaus oikeaan reunaan*/
}

/* Number TextBoxin diabled tyyli*/
.SBTextBoxNumberDisabled {
    text-align: right; /* tasaus oikeaan reunaan*/
    border-width: 1;
    background-color: Transparent;
}

/* MT 4.4.2003 TextBoxin tyyli*/
.SBTextBoxNumberSmall {
    font-size: 12px;
    text-align: right; /* tasaus oikeaan reunaan*/
    padding-right: 2px;
}

/* Tasaus vasempaan reunaan*/
.SBAlignLeft {
    text-align: left; /* tasaus vasempaan reunaan*/
}

/* Clear-painike aiheuttaa ongelmia input:eissa joissa tasaus oikealle */
.SBTextBoxNumberSmall::-ms-clear {
    display: none;
}

input[type='text']::-ms-clear {
    display: none;
}

/* Readonly textbox */
.SBTextBoxDisabled {
    font-size: 12px;
    border-width: 0;
    border-style: none;
}

/* MT 14.2.2006 TextBoxin tyyli*/
.SBTextBoxTextSmall {
    font-size: 12px;
    text-align: left; /* tasaus vasempaan reunaan*/
}
/* Paamenun valikkotekstit (milla sivulla ollaan) */
.SBHeaderCaption {
    font-size: 12px;
    background-color: White;
    color: #301870;
    width: 100%;
    font-weight: bold;
}

/* Paamenun valikkotekstit (esim. projektin nimi) */
.SBHeaderCaption2 {
    font-size: 12px;
    font-style: italic;
    font-weight: bold;
}

/* Muistiokontrollin label */
.SBMultiShowBoxLabel {
    font-size: 16px;
    border-style: solid;
    border-width: 1;
    border-color: White;
    word-spacing: normal;
    display: block;
}

/*********************************/


/* WorkTimeTaskMonth gridin memo kuvaustekstikentta. SeBi.HeTe 20060825 */
.SBTextBoxMemoWorkTimeTaskMonth {
    font-size: 12px;
    text-align: right; /* tasaus vasempaan reunaan*/
    width: 90px;
    height: 20px;
    border-style: solid;
    border-color: Silver;
    border-width: 1;
    color: Gray;
    background-color: Transparent;
}

/* WorkTimeTaskMonth gridin txt tuntinumerotekstikentta. SeBi.HeTe 20060825 */
.SBTextBoxTxtWorkTimeTaskMonth, .SBMnthVwTb {
    font-size: 12px;
    font-weight: bold;
    text-align: right; /* tasaus oikeaan reunaan*/
    width: 32px;
    height: 20px;
    border: 1px solid silver;
    background-color: Transparent;
    cursor: pointer;
}

/* WorkTimeTaskMonth gridin txt tuntinumerotekstikentta. SeBi.HeTe 20060825 */
.SBTextBoxTxtWorkTimeTaskMonthRed, .SBMnthVwTbRed {
    font-size: 12px;
    font-weight: bold;
    text-align: right; /* tasaus oikeaan reunaan*/
    color: Red;
    width: 32px;
    height: 20px;
    border: 1px solid silver;
    background-color: Transparent;
    cursor: pointer;
}

/* WorkTimeTaskMonth gridin txt tuntinumerotekstikentta. SeBi.HeTe 20060905 */
.SBTextBoxTxtWorkTimeTaskMonthSilver, .SBMnthVwTbSilv {
    font-size: 12px;
    font-weight: bold;
    text-align: right; /* tasaus oikeaan reunaan*/
    color: Silver;
    width: 32px;
    height: 20px;
    border: 1px solid silver;
    background-color: Transparent;
    cursor: pointer;
}

/* WorkTimeTaskMonth gridin txt tuntinumerotekstikentta. SeBi.HeTe 20060928 */
.SBTextBoxTxtWorkTimeTaskMonthBlue, .SBMnthVwTbBlue {
    font-size: 12px;
    font-weight: bold;
    text-align: right; /* tasaus oikeaan reunaan*/
    color: #4874B8; /*sininen*/
    width: 32px;
    height: 20px;
    border: 1px solid silver;
    background-color: #C9CCFF;
    cursor: pointer;
}

/* WorkTimeTaskMonth gridin txt tuntinumerotekstikentta. SeBi.HeTe 20060905
   MH 20130517 UI2013, #4874B8 -väri korvattu #333333 -värillä.*/
.SBTextBoxTxtWorkTimeTaskMonthSelected {
    font-size: 12px;
    font-weight: bold;
    text-align: right; /* tasaus oikeaan reunaan*/
    color: #333333;
    width: 32px;
    height: 20px;
    border: 1px solid #333333 !Important;
    background-color: Silver !Important;
    cursor: pointer !Important;
}


/* WorkTimeTaskMonth gridin vapaapaiva rivi. SeBi.HeTe 20060915 */
.SBMnthVwFrD {
    text-align: right;
    background-color: Gainsboro !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* WorkTimeTaskMonth gridin arkipaiva rivi. SeBi.HeTe 20060915 */
.SBMnthVwWrkD {
    text-align: right;
    background-color: WhiteSmoke !important;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* WorkTimeTaskMonth gridin lukittupaiva rivi. SeBi.HeTe 20060915 */
.SBMnthVwLckdD {
    text-align: right;
    background-color: White !important;
    color: Silver;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
/* Kuukausi ja viikkonäkymä gridin selitekenttä*/
.SBMnthMemTxt {
    width:70px !important;
}
/* WorktimeTaskMonth gridin leijuva selitekenttä */
.SBMnthfloMTxt {
    display: none;
    z-index: 9999;
    position: absolute;
    background: white;
    width: 250px;
    font-style: normal;
    color: inherit;
}


.InvisibleObject {
    display: none;
}

.imageButton {
    cursor: hand;
}

.imageButtonHelp {
    cursor: hand;
}

.flyingLayer {
    position: absolute; /*width: 320px;  	height: 210px; */
    z-index: 1; /*left: 198px; */ /*top: 90px*/
}

.centeredContent {
    width: 100%;
    height: 100%;
    vertical-align: middle;
    text-align: center;
}

.centeredAlign {
    vertical-align: middle !important;
    text-align: center !important;
}

.flyingLayerWithCenteredContent {
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    text-align: center;
}


/*
div#menu {border-color: #224; border: 1px solid #335; width: 100%; height: 100%; color: black;}
div#menu a {display:block; margin: 0; padding: 0.33em; letter-spacing: 1px; border-bottom: 1px solid #88B; color: #337; background: transparent none center left no-repeat; text-decoration: none;}
div#menu a:link:hover
{
	background: forestgreen;
}/*
div#menu a:visited:hover {background: #AAD;}*/

.SBNoBorder {
    border: none 1 transparent;
}

.SBNoBackground {
    background-color: transparent;
}

.SBWaterMarkTextBox {
    color: Gray;
}

.SBWaterMarkTextBoxWorkTime {
    color: Yellow;
}

.SBEmpty {
    /*Has no content*/
}

/*SeBi.HeTe 20111221 */
.SBMultiRowW60 {
    width: 60px;
    overflow-y: auto;
    overflow-x: auto;
    word-break: break-all;
}

.SBMultiRow {
    overflow-y: auto;
    overflow-x: auto;
    word-break: break-all;
}

/* JS 21.10.2008 infra gridin tyylit (tehty omat ettei sekoita muita grideja) */
.SBGridFrame {
    font-size: 12px;
    border: solid silver 1;
    background-color: whitesmoke;
}

.SBGridGroupByRow {
    background-color: #4874B8;
    font-size: 12px;
}

.SBGridHeader {
    background-color: #4874B8; /*#4874B8; Sininen*/
    color: White;
    font-size: 12px;
}

.SBGridRow1 {
    background-color: #F8F8FF; /* whitesmoke; */
    background-image: none;
    border-color: gainsboro;
    border-style: Solid;
    border-width: 1px;
    font-size: 12px;
    color: Black;
}

.SBGridRow2 {
    background-color: #E5EDF9; /* #E8F2F7; */
    background-image: none;
    border-color: gainsboro;
    border-style: Solid;
    border-width: 1px;
    font-size: 12px;
    color: Black;
}

.SBGridGroupByBox {
    background-color: gainsboro;
    font-size: 12px;
    text-shadow:none !important;
    font-weight:normal;
}

.SBGridEdit {
    font-size: 12px;
}


.SBTooltip {
    font: 10px/12px Arial,Helvetica,sans-serif;
    border: solid 1px #666666; /*width: 270px;*/
    padding: 1px;
    position: absolute;
    z-index: 100;
    visibility: hidden;
    color: #333333;
    top: 20px;
    left: 90px;
    background-color: #ffffcc; /*layer-background-color: #ffffcc;*/
}



.SBTabContent {
    margin: 4px 4px 4px 4px;
    padding: 2px 2px 2px 2px;
}


/* infra gridin tyylit loppuu */


.SBMarginBottom6 {
    margin-bottom: 6px;
}


div.SBRow {
    margin-left: 4px;
    overflow: hidden;
    margin-top: 4px;
    margin-bottom: 4px;
}

div.SBCell {
    margin-left: 4px;
    display: block;
    float: left;
    text-align: left;
}
/* NKOSKI REPON KEHITYKSEN AIKANA TULLEITA JUDUJA JOITA EI VIELÄ UI-VERSIOSSA OLLUT */

/*MH 20130314, varaa esim. tekstin vasempaan reunaan tyhjän kohdan  */
.SBLoading {
    padding-left: 20px;
    background-repeat: no-repeat;
    background-image: url('../../images/ProgressBar.gif');
    min-height: 13px;
    line-height: 13px;
    display: inline;
}

.SBZipIcon {
    padding-left: 20px;
    background-repeat: no-repeat;
    background-image: url('../../images/btn_filetype_zip.jpg');
    min-height: 16px;
    line-height: 16px;
    display: inline;
}

.TimeStampIn,
.TimeStampOut {
    font-family: Arial;
    font-size: 10px;
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 20px;
    display: inline-block;
}

.TimeStampIn {
    background-image: url('../../images/arrow2_right_green.png');
}

.TimeStampOut {
    background-image: url('../../images/arrow2_left_red.png');
}

.LabelGreenLight,
.LabelRedLight,
.LabelYellowLight,
.LabelGreyLight {
    font-family: Arial;
    font-size: 10px;
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 20px;
    display: inline-block;
}

.LabelGreenLight {
    background-image: url('../../images/pparty_status_going.png');
}

.LabelRedLight {
    background-image: url('../../images/pparty_status_end.png');
}

.LabelYellowLight {
    background-image: url('../../images/pparty_status_fore.png');
}

.LabelGreyLight {
    background-image: url('../../images/bullet_ball_glass_grey.png');
}

.TrafficLightNeutral,
.TrafficLightStop,
.TrafficLightWait,
.TrafficLightGo {
    font-family: Arial;
    font-size: 10px;
    background-position: left center;
    background-repeat: no-repeat;
    padding-left: 64px;
    display: inline-block;
}

.TrafficLightNeutral {
    background-image: url('../../images/traffic_light_neutral.png');
}

.TrafficLightStop {
    background-image: url('../../images/traffic_light_stop.png');
}

.TrafficLightWait {
    background-image: url('../../images/traffic_light_wait.png');
}

.TrafficLightGo {
    background-image: url('../../images/traffic_light_go.png');
}

/*MH UI2013, Työaikakirjauksen viikko/kuukausi näkymän gridin alavalikon tyylit */
.wdmiMoveToFirst, .wdmiReset, .wdmiHide, .wdmiMoveToLast, .wdmiMoveDown, .wdmiMoveToUp, .wdmiMoveRight, .wdmiMoveLeft {
    color: #000000;
    padding: 0px 26px;
    line-height: 18px;
    background-position: left center;
    background-repeat: no-repeat !important;
    display: block;
}

.WebDataMenuItemSelected {
    background-image: none !Important;
    background-color: transparent !Important;
    border: none !Important;
    color: #000000 !Important;
}

    .WebDataMenuItemSelected a {
        color: #000000 !Important;
    }

.WebDataMenuItemHover {
    background-image: none !Important;
    background-color: #FF6600 !important;
}

    .WebDataMenuItemHover .wdmiMoveToFirst, .WebDataMenuItemHover .wdmiReset, .WebDataMenuItemHover .wdmiHide,
    .WebDataMenuItemHover .wdmiMoveToLast, .WebDataMenuItemHover .wdmiMoveDown, .WebDataMenuItemHover .wdmiMoveToUp,
    .WebDataMenuItemHover .wdmiMoveRight, .WebDataMenuItemHover .wdmiMoveLeft {
        color: #ffffff !important;
    }

.WebDataMenuItem .wdmiMoveToFirst {
    background-image: url('../../ig_res/Default/images/top_up.gif');
}

.WebDataMenuItem .wdmiMoveToUp {
    background-image: url('../../ig_res/Default/images/up_up.gif');
}

.WebDataMenuItem .wdmiMoveRight {
    background-image: url('../../ig_res/Default/images/next_up.gif');
}

.WebDataMenuItem .wdmiMoveDown {
    background-image: url('../../ig_res/Default/images/down_up.gif');
}

.WebDataMenuItem .wdmiMoveLeft {
    background-image: url('../../ig_res/Default/images/prev_up.gif');
}

.WebDataMenuItem .wdmiMoveToLast {
    background-image: url('../../ig_res/Default/images/bottom_up.gif');
}

.WebDataMenuItem .wdmiHide {
    background-image: url('../../ig_res/Default/images/del_up.gif');
}

.WebDataMenuItem .wdmiReset {
    background-image: url('../../ig_res/Default/images/submit_up.gif');
}

.WebDataMenuItemDisabled a:hover {
    color: #AAAAAA !Important;
}

.WebDataMenuItemTitle {
    background-color: #A7A7A7 !important;
}

    .WebDataMenuItemTitle label {
        color: #ffffff !important;
        font-weight: bold;
    }

/*MH 20130426 UI2013, Viikko ja kuukausinäkymän taulukon solun tyyli asetukset (tekstikentälle ja muokkaa painikkeelle, sekä niiden wrapperille)*/
.WTGCellWrapper {
    display: block;
    height: 28px;
    padding: 4px 3px 4px 0px
}

.WTGCellWrapperTwoRows {
    display: block;
    height: 48px;
    padding: 4px 3px 4px 0px;
}

.WTGCellWrapperTwoRows {
    display: block;
    height: 60px;
    padding: 4px 3px 4px 0px;
}

.WTGCellWrapper a {
    margin-left: 4px;
    vertical-align: middle;
}

.WTGCellWrapperTwoRows a {
    margin-left: 4px;
    vertical-align: middle;
}

.WTGCellWrapperThreeRows a {
    margin-left: 4px;
    vertical-align: middle;
}

/* MH 20130603 UI2013 UltraWebGrid tyylit*/
.UWGridData table {
    width: 100% !important;
    border-top-color: #E5E5E5;
    border-top-style: solid;
    border-top-width: thin;
    border-bottom-color: #E5E5E5;
    border-bottom-style: solid;
    border-bottom-width: thin;
    border-left-color: #E5E5E5;
    border-left-style: solid;
    border-left-width: thin;
    border-right-color: #E5E5E5;
    border-right-style: solid;
    border-right-width: thin;
}

.UWGridData th.SbGridOtsikko {
    font-size: 13px !Important;
    padding: 4px !Important;
}

.UWGridData table td {
    padding: 5px 10px;
    border-top-color: #E5E5E5;
    border-top-style: solid;
    border-top-width: thin;
    border-bottom-color: #E5E5E5;
    border-bottom-style: solid;
    border-bottom-width: thin;
    border-left-color: #E5E5E5;
    border-left-style: solid;
    border-left-width: thin;
    border-right-color: #E5E5E5;
    border-right-style: solid;
    border-right-width: thin;
}

.UWGridData table tbody tr:hover {
    -webkit-box-shadow: 0px 0px 3px 1px #ccc !important;
    box-shadow: 0px 0px 3px 1px #ccc !important;
    -webkit-transition: box-shadow linear 0.2s;
    -moz-transition: box-shadow linear 0.2s;
    -ms-transition: box-shadow linear 0.2s;
    -o-transition: box-shadow linear 0.2s;
    transition: box-shadow linear 0.2s;
}

    .UWGridData table tbody tr:hover td {
        border-top-color: #DBDBDB !important;
        border-left-color: #DBDBDB !important;
        border-bottom-color: #DBDBDB !important;
        border-right-color: #DBDBDB !important;
    }

.AutoHeight {
    height: auto !important;
}
.show {
    display: block !important;
    visibility: visible !important;
}

.BigDialog {
    height: 800px !important;
    width: auto !important;
    max-width: calc(100% - 250px) !important;
}

.SBTree .igdt_Windows7Node {
    margin-left: 37px !important;
    line-height: 15px !important;
}

.SBTree .igdt_Windows7NodeHolder {
    margin: 1px 0px;
}

.SBTree .igdt_Windows7NodeGroup {
    margin: 6px 0px;
}

.maintenance-btn-back,
.project-maintenance-btn-back {
    margin-top: 1rem !important;
    /*display:block !important;*/
    display: table !important;
    margin-left: 3rem;
}

/* 2018-Aug-16 Jukka Kaipala: T12, Useiden tiedostojen lataustoiminto toimimaan ilman SilverLightia */
progress .SBProgress {
    height: 20px;
}

td .col-button-small, th .col-button-small {
    width: 30px;
/* 2018-Aug-16 */
}

/** MH 20200114, select2 -komponentin custom tyylit */
.select2-container {
    font-size: 16px !important;
    color:black !important;
    border-style: none;
    border: none;
    margin: 0;
    position: relative;
    vertical-align: middle;
    
}

.select2-container--default .select2-selection--single {
    border: none;
    padding-bottom: 2px;
    /*padding-left: 4px;*/
    padding-left: 0px;
    border-bottom: 1px solid #ccc;
    background-color: transparent;
    border-radius: 0px;
}


.select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: transparent;
    cursor: default;
    border-bottom: none;
}

    .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear {
        display: none;
    }
.select2-container--default.select2-container--disabled .select2-selection--multiple {
    background-color: transparent;
    cursor: default;
    border-bottom: none;
}
.select2-container--default .select2-selection--multiple{
    border:none;
    border-bottom:1px solid #ccc !important;
}
.select2-container--default.select2-container--focus .select2-selection--multiple {
    border:none;
    border-bottom: 1px solid #ccc !important;
}



.select2-container--default.select2-container--disabled .select2-selection__choice__remove {
    display: none;
}

.select2-container--default .select2-results__option[aria-disabled=true] {
    color: #999;
    border-bottom:none;
}

.select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__rendered {
    border: none;
    background-color: transparent;
    cursor: not-allowed;

}
.select2-container--default.select2-container--disabled .select2-selection__arrow {
    visibility: hidden;
}


.select2-container .select2-selection--single .select2-selection__rendered {
    font-family: "Segoe UI",Arial,sans-serif !important;
    padding-left: 0px;
    font-size: 16px;
    color: black;
    line-height: 18px;
}

.uiWorkTime .select2-container--default .select2-selection--single {
    background: #F2F3F8;
}

.select2-container--default .select2-selection--multiple {
    font-family: "Segoe UI",Arial,sans-serif !important;
    font-size: 16px;
    color:black;
    border: none;
    border-bottom: 1px solid #ccc;
    border-radius: 0px;
}

/** JKu 20201007 select2-määritysten loppu*/
.simplemodal-data {
    display: inherit !important;
}

.input-invalid ~ .select2 .select2-selection {
  border-color: red !important;
  color: red;
  border-width: 1px;
  background-color: #FFEBE6 !important;
}