@charset "utf-8";
/* CSS Document */

:root {
    --smalltile-color: rgba(91,196,241,0.4);
	--finland: #005690;
	--gold: #e1b957;
	--ice: #5bc5f1;
	--rock: #696969;
	--lake: #13afcd;
	--autumn: #a02953;
	--forest: #97cc16;
	--summer: #ffcf00;
	--birch: #f2efe9;
    --menu-color: #FFF;
    --input-color: #FFF;
}

body {
	/* font-family: 'CallunaSans-Light'; */
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 13px;
	margin: 0;
}

a {
	color: rgb(0,87,144);
}

h1,h2,h3 {
	font-family: 'Calluna';
	color: rgb(0,87,144);
	margin-block-start: 0;
}

h4,h5,h6 {
	margin-block-start: 0;

}

p {
	margin-block-start: 0;
}

.eLink {
	color: turquoise;
	cursor: pointer;
}


.ecfLogo {
	height: 70px
}

.echubLogo {
    height: 58px;
    position: relative;
    left: 9px;
	top: 2px;
	cursor: pointer;
}

#viesti {
    display: none;
    position: fixed;
    font-size: 10pt;
    top: 0;
    left: 30%;
    width: 420px;
    height: auto;
    min-height: 30px;
    text-align: center;
    background-color: rgb(160,197,24);
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    text-transform: uppercase;
    color: #FFF;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-right: 5px;
    padding-left: 10px;
    opacity: 0.8;
	z-index: 200;
}

#viestiteksti {
    display: inline-block;
    max-width: 380px;
}

.ui-checkboxradio-label {
    font-size: 12px !important;
    width: 140px;
    height: 20px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5px;
    border: 3px outset;
}

.ui-state-active {
    /* background: #007fff; */
    font-weight: 900 !important;
    color: #454545 !important;
	border: 3px inset !important;
	background-color: #EFEFEF !important;
}

.test {
	color:lawngreen;
}

.d_ok {
    display: inline-block;
    font-weight: bold !important;
    text-transform: uppercase;
    position: relative;
    left: 30px;
    line-height: normal;
    margin-right: .1em;
    cursor: pointer;
    vertical-align: middle;
    text-align: center;
    padding-left: 15px !important;
    padding-right: 15px !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    text-align: center;
    overflow: visible;
    border: 0px none #008085 !important;
    background: #13afcd !important;
	color: #FFF !important;
	min-width: 100px;
}

.d_red {
    display: inline-block;
    font-weight: bold !important;
    text-transform: uppercase;
    position: relative;
    left: 30px;
    line-height: normal;
    margin-right: .1em;
    cursor: pointer;
    vertical-align: middle;
    text-align: center;
    padding-left: 15px !important;
    padding-right: 15px !important;
    padding-top: 7px !important;
    padding-bottom: 7px !important;
    text-align: center;
    overflow: visible;
    border: 0px none #008085 !important;
    background: red !important;
	color: #FFF !important;
	min-width: 100px;
}

.d_okDis {
	background: #CCC !important;
	cursor: no-drop !important;
}

.d_cancel {
    display: inline-block;
    float: right;
    text-transform: uppercase;
    position: relative;
    padding: 0;
    line-height: normal;
    margin-right: .1em;
    cursor: pointer;
    vertical-align: middle;
    text-align: center;
    overflow: visible;
    border: 0px none #008085 !important;
    background: none !important;
    color: #FF0000 !important;
    text-decoration: underline;
}

#overlay {
    background-color: #AAA;
    opacity: 0.4;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
	z-index: 10;
	display: none;
}

.basicBtn {
    height: 28px;
    line-height: 28px;
    padding: 0 12px 0 12px;
    text-align: center;
    background-color: #bbb;
    color: #444;
    cursor: pointer;
    display: inline-block;
    min-width: 54px;
    font-weight: bold;
}

.basicBtnDisabled {
    background-color: #DDD;
    color: #AAA;
    cursor:not-allowed;
    display: inline-block;
    min-width: 54px;
    font-weight: bold;
}

.basicBtn:hover {
	background-color: rgba(91,196,241,0.8);
}

.basicBtnDisabled:hover {
	background-color: #DDD;
}

.basicBtnS {
    height: 23px;
    line-height: 23px;
    padding: 0 4px 0 4px;
    text-align: center;
    background-color: rgba(91,196,241,1);
    color: #444;
    cursor: pointer;
    display: inline-block;
    min-width: 30px;
    font-weight: bold;
    border-radius: 4px;
}

.basicBtnSDisabled {
    background-color: #DDD;
    color: #AAA;
    cursor:not-allowed;
    display: inline-block;
    min-width: 54px;
    font-weight: bold;
}

.basicBtnS:hover {
	background-color: rgba(91,196,241,0.8);
}

.basicBtnSisabled:hover {
	background-color: #DDD;
}


.menuSmall {
    display: none;
    color: #444;
    position: absolute;
    top: 0;
    right: 0px;
    z-index: 100;
    /*border-radius: 5px;*/
    border: 1px solid #CCC;
    padding: 5px;
    padding-top: 0;
    padding-bottom: 0;
	font-weight: bold;
	font-family: 'CallunaSans-Light' !important;
    font-size: 10pt;
    background-color: rgba(240, 240, 240, 1);
}

#topUserMenu {
    right: 0px;
    top: 40px;
    width: 200px;
    padding-top: 6px;
    text-align: left;
    background-color: white;
    box-shadow: 3px 3px #bbb;
}

.wbMenuSmall {
	top: 45px;
}

.menuItem {
	position: relative;
	cursor: pointer;
    padding-left: 23px;
    padding-right: 21px;
    border-radius: 5px;
	margin-bottom: 4px;
	z-index: 10;
}

.menuItem:hover {
	background-color: rgb(220, 220, 220);
}

.menuModule {
	right: 30px;
	background: #FFF;
}

.miCheck {
	display: none;
	position: absolute;
	left: 5px;
}

.miCheckShow {
	display: inline-block;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 16px;
    margin-bottom: 4px;
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 0px;
    bottom: 0px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: darkcyan;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px darkcyan;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(14px);
    -ms-transform: translateX(14px);
    transform: translateX(14px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 28px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }


.tokenArea {
    display:none;
}

.optRow {
	position: relative;
    margin-top: 5px;
    font-size: 12px;
    border-bottom: 1px solid #BBB;
    padding-bottom: 5px;
}

.optRowS {
	position: relative;
    margin-top: 5px;
    font-size: 12px;
    padding-bottom: 2px;
}

.optLabel {
	display: inline-block;
	width: 130px;
	vertical-align: top;
}

.optRadio {
    display: inline-block;
    margin-right: 4px;
    margin-bottom: 4px;
    width: 194px;
}

.optRadioS {
    display: inline-block;
    margin-right: 4px;
    margin-bottom: 4px;
    width: 110px;
}

.optText {
	display: inline-block;
	width: 60px;
}

.optTextN {
    width: 170px;
}

.optTextW {
    width: 420px;
}

.playerBtn {
    display: inline-block;
    padding: 2px 5px 2px 4px;
    cursor: pointer;
    margin-left: 1px;
    color: #FFF;
    width:28px;
}

.btnGray {
    opacity: 0.3;
    cursor: default;
}

#recordTimebl {
    display: inline-block;
    width: 60px;
    font-size: 21px;
    font-weight: bold;
    vertical-align: top;
}

#recordingLbl {
    display: none;
    color: red;
    font-weight: bold;
    vertical-align: top;
    font-size: 22px;
    padding-top: 0px;
}

.textInput {
		border-radius: 4px;
		background-color: white;
		padding: 3px 10px 5px 10px;
		width: 98%;
		border: 1px solid #999;
}


.textInputSmall {
	border-radius: 4px;
	background-color: white;
	padding: 3px 2px 5px 2px;
	font-size: 15px;
	width: 40px;
	border: 1px solid #999;
}

.dateTextInput {
    border-radius: 4px;
    background-color: white;
    padding: 3px 5px 5px 5px;
    font-size: 15px;
    width: 98%;
    border: 1px solid #999;
    font-size: 15px;
    box-sizing: border-box;
}

.ecOptional {
	display: none;
}

.ecOptLabel {
	display: none;
}

#oriFileName {
	display: inline-block;
    height: 30px;
    margin: 5px 0 0 3px;
}

#topBlock {
	background-color: #FFF;
	margin-bottom: 3px;
}

#topLeft {
	text-align: left;
	padding-left: 8px;
	padding-top: 8px;
}

#topMiddle {
	padding-top: 0.5em;
	text-align: center;
}

#topRight {
	padding-top: 1em;
	text-align: right;
	padding-right: 10px;
}

/* .topMenuItem {
	display: inline-block;
	width: 60px;
	margin-right: 15px;
	position: relative;
	cursor: pointer;
} */

#topHead {
    color: #777;
    cursor: pointer;
    padding-left: 1px;
    padding-right: 1px;
    font-size: 17px;
}


#topName {
	margin-right: 10px;
}

#topDots {
    color: #777;
    cursor: pointer;
    padding-left: 10px;
    padding-right: 10px;
}

#topMenu {
    right: 0px;
    top: 40px;
    width: 200px;
    text-align: left;
	background-color: white;
	box-shadow: 3px 3px #BBB;
}

/* .topMenuLine {
	position: relative;
    top: -18px;
    height: 21px;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 2px solid #000;
    transition: border-color 0.7s;
    border-color: #FFF;
}

.topMenuLine:hover {
	border-color: #000;
} */

#content {
	width: 100%;
	position: relative;
	height: 600px;
	overflow: auto;
    box-sizing: border-box;
}

/* ******************** Main page ************************************** */



#phraseEditBox {
    position: fixed;
    top: 374px;
    left: 413px;
    display: none;
	z-index: 11;
	width: 600px;
	min-width: 300px;
    background-color: aliceblue;
    padding: 12px;
}

.phraseTextarea {
    width: 98%;
    height: 60px;
    font-family: CallunaSans-Light !important;
}

.phRow {
	height:auto
}

.phRow:hover {
	background-color: lightblue;
}

.phUnset {
	color: #CCC;
}

#nebPen {
	cursor: pointer;
	color: var(--finland);
}

#nebRecipBlock {
	margin-top: 3px;
	display: none;
	width: 100%;
}

.nebRecipIten {
	display: inline-block;
	margin-right: 3px;
    max-width: 63px;
    height: 13px;
    overflow: hidden;
    border-radius: 4px;
    border: 1px solid #EEE;
    background-color: var(--smalltile-color);
    padding: 0 2px 1px 2px;
    font-size: 12px;
    /* overflow-wrap: break-word; */
	white-space: nowrap;
	margin-right: -2px;
}

.nebSave {
	cursor: pointer;
	background-color: #00aa00;
	color: #FFFFFF;
	padding: 1px 10px 1px 10px;
	border-radius: 3px;
	margin-left: 2px;
}

.nebCancel {
    position: absolute;
    cursor: pointer;
    color: #FF0000;
	bottom: 11px;
    right: 16px;
}

.nebInstOnly {
    display: inline-block;
    width: 60px;
    line-height: 13px;
    font-size: 13px;
    position: relative;
    top: 5px;
}



.blockW100 {
    display: flex;
    width: 100%;
}

.blockW10 {
	box-sizing: border-box;
    width: 10%;
}
.blockW20 {
	box-sizing: border-box;
    width: 20%;
}
.blockW25 {
	box-sizing: border-box;
    width: 25%;
}
.blockW30 {
	box-sizing: border-box;
    width: 30%;
}
.blockW33 {
	box-sizing: border-box;
    width: 33.3%;
}
.blockW40 {
	box-sizing: border-box;
    width: 40%;
}
.blockW50 {
	box-sizing: border-box;
    width: 50%;
}

.blockW60 {
	box-sizing: border-box;
    width: 60%;
}

.blockW70 {
	box-sizing: border-box;
    width: 70%;
}

.blockW80 {
	box-sizing: border-box;
    width: 80%;
}

.blockW90 {
	box-sizing: border-box;
    width: 90%;
}

.blockH100 {
	box-sizing: border-box;
    height: 100%;
}

.blockH50 {
	box-sizing: border-box;
    height: 50%;
}


@media screen and (max-width: 1000px) {



}


@media screen and (max-width: 600px) {

	.ecfLogo {
		height: 50px
	}

	#topRight {
		padding-top: 28px;
		padding-right: 4px;
	}

	
	.optTextW {
		width: 99%;
	}

	.optRadio {
		margin-right: 0px;
		width: 164px;
	}


}


@media screen and (max-width: 420px) {
}

@media screen and (max-width: 385px) {
}