@media only screen and (min-width: 889px) and (max-width: 1200px){
        body { 
            background:transparent !important; 
 <!--           overflow:hidden !important;  -->
        }
        html {
            background: #6887a0;	   
	    background-size: 100% 100%;
            background-attachment: fixed;
  <!--           overflow:hidden !important; -->       
         }
        .ui-page {
            width: 900px !important;           
            margin: 1px auto !important;  
 	    padding: 10px !important;
            position: relative !important;
	    border-top: 0px #eee outset !important;
	    border-bottom: 0px #eee outset !important;
            border-right: 0px #eee outset !important;
            border-left: 0px #ddd outset !important;           
  <!--           overflow-y:auto !important;    -->        
            max-height:100% !important;
            padding-bottom:0px;
        }
    }


@media only screen and (min-width: 1201px) and (max-width: 1349px) {
        body { 
            background:transparent !important; 
 <!--           overflow:hidden !important;  -->
        }
        html {
               background: #ced6e2;
  background-image: url(etutausta.jpg);
	    background-size: 100% 100%;
            background-attachment: fixed;
  <!--           overflow:hidden !important; -->       
         }
        .ui-page {
            width: 900px !important;
            
            margin: 1px auto !important;  
 	    padding: 10px !important;
            position: relative !important;
	    border-top: 0px #eee outset !important;
	    border-bottom: 0px #eee outset !important;
            border-right: 0px #eee outset !important;
            border-left: 0px #ddd outset !important;           
  <!--           overflow-y:auto !important;    -->        
            max-height:100% !important;
            padding-bottom:0px;
        }
    }

@media only screen and (min-width: 1350px) {
        body { 
            background:transparent !important; 
 <!--           overflow:hidden !important;  -->
        }
        html {
               background: #ced6e2;
  background-image: url(etutausta.jpg);
	    background-size: 100% 100%;
            background-attachment: fixed;
  <!--           overflow:hidden !important; -->       
         }
        .ui-page {
            width: 1100px !important;
            
            margin: 1px auto !important;  
 	    padding: 10px !important;
            position: relative !important;
	    border-top: 0px #eee outset !important;
	    border-bottom: 0px #eee outset !important;
            border-right: 0px #eee outset !important;
            border-left: 0px #ddd outset !important;           
  <!--           overflow-y:auto !important;    -->        
            max-height:100% !important;
            padding-bottom:0px;
        }
    }



@media all and (max-width: 600px) {
	.my-breakpoint .ui-block-a, 
	.my-breakpoint .ui-block-b, 
	.my-breakpoint .ui-block-c,
	.my-breakpoint .ui-block-d,
	.my-breakpoint .ui-block-e { 
		width: 100%; 
		float:none; 
	}
}

@media all and (max-width: 700px) {
	.margin_table {margin-left:20%; margin-right:20%; margin-bottom:15px;}
}
@media all and (min-width: 700px) {
	.margin_table {margin-left:35%; margin-right:35%; margin-bottom:15px;}
}


@media all and (max-width: 344px) {
	.input_search	 {width:80%; }
}
@media all and (min-width: 345px) and (max-width: 369px) {
	.input_search	 {width:82%; }
}

@media all and (min-width: 370px) and (max-width: 419px) {
	.input_search	 {width:84%; }
}

@media all and (min-width: 420px) and (max-width: 499px) {
	.input_search	 {width:86%; }
}

@media all and (min-width: 500px) and (max-width: 619px) {
	.input_search	 {width:88%; }
}

@media all and (min-width: 620px) and (max-width: 759px) {
	.input_search	 {width:90%; }
}

@media all and (min-width: 760px) and (max-width: 889px) {
	.input_search	 {width:92%; }
}

@media all and (max-width: 889px) {
	.cards	 	 {width:99%; margin-left:0%; margin-right:0%;}
	.card		 {width:100%; margin-right:10px; margin-bottom:18px;}
}


@media all and (min-width: 890px) and (max-width: 1349px) {
	.cards	 	 {width:99%; margin-left:90px;}
	.cards_search	 {width:870px;}
	.cards_searchXXX {width:710px;}
	.card		 {width:430px; margin-bottom:18px;  margin-right:8px;}
	.cardXXX	 {width:350px; margin-bottom:18px;  margin-right:8px;}
	.input_search	 {width:91%;}
}

@media all and (min-width: 1350px) {
	.cards	 	 {width:100%; margin-left:5px; }
	.cards_search	 {width:99%;}
	.card		 {width:357px; margin-bottom:18px;  margin-right:6px;}
	.input_search	 {width:94%;}

}

/////////////////////////////////////////////////

//////////////////////////////////////////////////

.sometec-menu-icon {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    border-radius: 8px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 9px !important;
    padding: 0 !important;
    vertical-align: middle !important;
    box-sizing: border-box !important;
}

.sometec-menu-icon svg {
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    fill: #fff !important;
}

.sometec-menu-icon-address {
    background-color: #3478e5 !important;
}

.sometec-menu-icon-route {
    background-color: #25ad46 !important;
}

.sometec-menu-icon-temperature {
    background-color: #ed5035 !important;
}

.sometec-menu-icon-history {
    background-color: #1688c9 !important;
}

/* SOMETEC ACTION ICONS - viimeistely */

/* Toimintoriveille enemmän pystysuuntaista tilaa */
.sometecActionIcon {
    margin-top: 3px !important;
    margin-bottom: 3px !important;
}

/* Osoite saman näköiseksi kuin muut */
.sometecActionIconAddress {
    background-color: #3478e5 !important;
    border-radius: 8px !important;
}

/* Estetään vanhan osoiteikonin tausta/kehys */
.sometecActionIconAddress::before,
.sometecActionIconAddress::after {
    background: none !important;
    box-shadow: none !important;
    border: none !important;
}


 
.winky-sans-1 {
  font-family: "Winky Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
}
.flexcenter {
  display: flex;
  justify-content: center;
  align-items: center;
}


/*
.chartWrapper {
  position: relative;
}

.chartWrapper > canvas {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
}

.chartAreaWrapper {
  width: 5000px;
  overflow-x: scroll;
}
*/

.flex-center {
  background: black;
  color: white;
  border: 10px solid white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height:100px;

  overflow: hidden;
}
.flex-center p {
  margin: 0;
  padding: 20px;
}

.textareaScroll {
	resize:none; 
	overflow:hidden;
	box-sizing: border-box;
	width:100%;
	min-height:100px;
}

.XXXswal2-popup .XXXswal2-styled:focus {
    box-shadow: none !important;
}

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}



.checkbox01 input[type="checkbox"] {
    opacity: 0;
}
.checkbox01 label::before{
    content: "";
    display: inline-block;   
    height: 16px;
    width: 16px; 
    border: 1px solid #9e9d9d; 
    border-radius:3px;  
}
.checkbox01 label::after {
    content: "";
    display: inline-block;
    height: 6px;
    width: 9px;
    color:#3388cc;
    border-left: 3px solid;
    border-bottom: 3px solid;   
    transform: rotate(-45deg);
}
.checkbox01 label {
    position: relative;
}
.checkbox01 label::before,
.checkbox01 label::after {
    position: absolute;
}
.checkbox01 label::before {
    top: -0.11em;
}
.checkbox01 label::after {
    left: 4px;
    top: 3px;
}
.checkbox01 input[type="checkbox"] + label::after {
    content: none;
}
.checkbox01 input[type="checkbox"]:checked + label::after {
    content: "";
}
.checkbox01 input[type="checkbox"]:focus + label::before {
    outline: rgb(59, 153, 252) auto 15px;
}





.cb_container {
  display: block;
  position: relative;
  padding-left: 65px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border:1px solid black;
  border-radius:3px;
}

/* Hide the browser's default checkbox */
.cb_container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom checkbox */
.cb_checkmark {
  position: absolute;
  top: 0;
  left: 0;
  height: 25px;
  width: 25px;
  background-color: #eee;
}

/* On mouse-over, add a grey background color */
.cb_container:hover input ~ .checkmark {
  background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.cb_container input:checked ~ .checkmark {
  background-color: #2196F3;
}

/* Create the checkmark/indicator (hidden when not checked) */
.cb_checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

/* Show the checkmark when checked */
.cb_container input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.cb_container .checkmark:after {
  left: 9px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}










.input_search {
  background-image: url('searchicon.png');
  background-position: 10px 12px;
  background-repeat: no-repeat;
  font-size: 16px;
  padding: 12px 20px 12px 40px;
  border: 1px solid #ddd;
  margin-bottom: 12px;
}


 
.glow {
    border: none;
    outline: none;
    cursor: pointer;
    position: relative;
    z-index: 0;
}
 
.glow:active:after {
    background: transparent;
}

.glow:after {
    z-index: -1;
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

/* ADD 6(e) and 7(f) column grid */
.ui-grid-e, .ui-grid-f { overflow: hidden; }

/* grid e: 16/16/16/16/16/16 */
.ui-grid-e .ui-block-a, .ui-grid-e .ui-block-b, .ui-grid-e .ui-block-c, .ui-grid-e .ui-block-d, .ui-grid-e .ui-block-e, .ui-grid-e .ui-block-f { width: 16.59166666666667%; }
.ui-grid-e > :nth-child(n) { width: 16.66666666666667%; }
.ui-grid-e .ui-block-a { clear: left; }

/* grid f: 14/14/14/14/14 */
.ui-grid-f .ui-block-a, .ui-grid-f .ui-block-b, .ui-grid-f .ui-block-c, .ui-grid-f .ui-block-d, .ui-grid-f .ui-block-e, .ui-grid-f .ui-block-f, .ui-grid-f .ui-block-g { width: 14.21071428571429%; }
.ui-grid-f > :nth-child(n) { width: 14.28571428571429%; }
.ui-grid-f .ui-block-a { clear: left; }

/* ADD 6th (f) and 7th (g) blocks in grid */
.ui-header .ui-navbar .ui-grid-e li.ui-block-f .ui-btn,
.ui-footer .ui-navbar .ui-grid-e li.ui-block-f .ui-btn { margin-right: -3px; }/* NOT TESTED */

.ui-header .ui-navbar .ui-grid-f li.ui-block-g .ui-btn,
.ui-footer .ui-navbar .ui-grid-f li.ui-block-g .ui-btn { margin-right: -2px; }/* NOT TESTED */

.ui-grid-e .ui-btn, .ui-grid-f .ui-btn { margin-right: 5px; margin-left: 5px; }

.ui-block-f, .ui-block-g { margin: 0; padding: 0; border: 0; float: left; min-height: 1px; -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; }

.ui-header .ui-navbar .ui-grid-e li.ui-block-f .ui-btn-icon-right .ui-icon,
.ui-footer .ui-navbar .ui-grid-f li.ui-block-g .ui-btn-icon-right .ui-icon { right: 8px; }

.swal-width01 {
    width:50px !important;
}

.swal01 {    width:750px !important;}

.ind01 {
	color:#146dad; 
	font-size:13px;
}

.headerFont {
	font-family:Arial;
	font-weight:100;
}


.noInputBorder {
	border: none; 
	border-width: 0; 
	box-shadow: none;
	border-top: 1px solid #dedee5;
	border-left: 1px solid #dedee5;
	border-right: 1px solid #dedee5;
	border-bottom: 1px solid #233c63;
	padding-left: 10px;
	padding-top: 6px;
	padding-bottom: 4px;
}

.SummaryListHeight .ui-li {
  height:200px;
}

.ui-input-text.ui-custom {
   border: none;
   box-shadow: none;
}

.ui-collapsible.paasivuCol {
	margin: 0px !important;
}

.eventSearchCol>.ui-collapsible-heading>.ui-collapsible-heading-toggle { 
	height:35px;
}

.ui-collapsible.eventSearchCol {
	margin: 20px !important;
	font-weight:400;
}

.valikko01 {
	border:1px solid #cccece; 
	border-radius:2px; 
	margin:3px; 
	min-height:45px; 
	max-height:45px; 
	background-color:white;
}
.valikko02 {
	font-size:14px; 
	font-weight:500;
	line-height:12px;
	cursor:pointer;
}
.valikko03 {
	max-width:60px;
/*
	margin:2px;
*/
	cursor:pointer;
}
.valikko04 {
	width:95%; 
	min-height:45px !important; 
	max-height:45px !important; 
/* 
	margin:2px;
*/
 }
.valikko05 {
	color:black;
	background-color:#d3d8e0;
	height:45px;
	line-height:45px; 
	padding-left:18px; 
	border-top:1px solid #d3d8e0;
	border-left:1px solid #d3d8e0; 
	border-right:1px solid #d3d8e0;
	font-size:14px;
}

.valikko06 {
	color:white;
	background-color:#d3d8e0;
	height:45px;
	line-height:45px; 
	padding-left:18px; 
	border-top:1px solid #d3d8e0;
	border-left:1px solid #d3d8e0; 
	border-right:1px solid #d3d8e0;
	font-size:14px;
}

.valikko07 {
	color:white;
	background-color:rgba(34, 116, 130, 1.0);
	height:35px;
	line-height:35px; 
	padding-left:35px; 
	border-left:1px solid #d3d8e0;
	font-size:15px;
	font-weight:500;
	margin-bottom:1px;
}


.swal-title1 {
  margin: 0px;
  font-size: 9px;
  box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.21);
  margin-bottom: 28px;
}
.swal-text {
  background-color: #FEFAE3;
  padding: 17px;
  border: 1px solid #F0E1A1;
  display: block;
  margin: 22px;
  text-align: center;
  color: #61534e;
}

.swal_test {

padding:2px !important;

}


.collapse_header .ui-btn-text{
    font-size: 10px !important;
}

.AskServiceCheckbox .ui-checkbox label.ui-checkbox-off {
    background: #d7dae0 !important;
    color: #686b70 !important;
    text-shadow:none !important;
}
.AskServiceCheckbox .ui-checkbox label.ui-checkbox-on {
    background: #00b0eb !important;
}
.AskServiceCheckbox .ui-checkbox-off:after {
    background-color: #d7dae0 !important;
}
.AskServiceCheckbox .ui-checkbox-on:after {
    background-color: green !important;
}

.ui-collapsible-heading-toggle { 
	white-space:normal; 
	word-break:break-all;
 }

.paasivuCol > .collapse_header > .ui-collapsible-heading-toggle { 
	font-size:13px; 
	font-weight:400 !important;
 }

.ui-collapsible-heading { 
	white-space:normal; 
	word-break:break-all;
	width:100% !important;
 }

.grid-container {
  display: grid;
  grid-template-columns: 77% 23%;
  grid-gap: 0px;
  background-color: green;
  padding: 0px;
  margin:0px;
  border:none;
}
.grid-container > div {
  background-color: #f7f7f8;
  border: 1px solid #f7f7f8;
  text-align: center;
  font-size: 15px;
  padding:0px;
  margin:0px;
}

.grid-container2 {
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
  grid-gap: 0px;
  background-color: green;
  padding: 0px;
  margin:0px;
  border:none;
}
.grid-container2 > div {
  background-color: #f7f7f8;
  border: 1px solid #f7f7f8;
  text-align: center;
  font-size: 15px;
  padding:0px;
  margin:0px;
}


::placeholder {
  color:#bfc0c1;
  opacity:1;
}

.centercollheader a {
    text-align: center !important;
    padding-right: 2.5em !important;
    font-weight:600;
}


#slideshow { 
    margin: 0px auto; 
    position: relative; 
    width: 100%; 
    max-height:200;
    padding: 0px; 
}
#slideshow > div { 
    position: absolute;  
}
#slideshowBACKUP { 
    margin: 50px auto; 
    position: relative; 
    width: 240px; 
    height: 240px; 
    padding: 10px; 
    box-shadow: 0 0 20px rgba(0,0,0,0.4); 
}
#slideshowBACKUP > div { 
    position: absolute; 
    top: 10px; 
    left: 10px; 
    right: 10px; 
    bottom: 10px; 
}

.noShadow {
    text-shadow:0px !important;
}

.ui-footer {
    font-size: 10px;
    padding: 5px;
}

.spinner {
    background-position: center;
    background-repeat: no-repeat;
}

.fb-comments {
    background-image: url(ajax-loader.gif);
    background-position: center;
    background-repeat: no-repeat;
}
.fb-comments[fb-xfbml-state="rendered"] {
    background-image: none;
}

.removePicBottomPadding {
    max-height:100%;
    max-width:100%;
    display: block;
}

.menuFontSize {
    font-size:14px;
    font-family: 'Yantramanav';
    cursor: pointer;
}

.menuFontSize2XXX {
    font-size:15px;
    font-family: 'Yantramanav';
}

.menuFontSize2 {
    font-size:15px;
    font-family: 'Arial';
}



.summaryFontSize {
    font-size:14px;
}


.menuFontSize2 {
    font-size:15px;
}

.menuFontSize3 {
    font-size:16px;
}

.spaceMenuFontSize {
    font-size:14px;
}

.spaceButton {
    font-size:14px !important;
    background-color:yellow !important;
    color:blue !important;
}


.summaryHeaderFontSize {
    font-size:25px;
}


.noBorder {
    border:none !important;
}

.listmargin {
    margin-left :5px;
    margin-right:5px;
}

.BGC {
    background-color:#f4f5f7 !important;
    color:#4b4b4c !important;
}
.PT {
    padding-top: 10px !important;
}
.PB {
    padding-bottom: 4px !important;
}
.MT {
    margin-top: 10px !important;
}
.MB {
    margin-bottom: 10px !important;
}
.has-odd-thumb li a {
    padding-left: 185px !important;
}
.thumbContainer {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 90px;
}

.statusContainer {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 90px;
    height: 90px;
}

.thumbContainer img {
    bottom: 0; left: 0;
    top: 0; right: 0;
    position: absolute;
    max-width: 120px;
    width: 120px;
    height: 85%;
 padding-top:	10px !important;
 padding-left:	9px !important;
}

.thumbContainer2 {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 15px;
}
.thumbContainer2 img {
    bottom: 0; left: 0;
    top: 0; right: 0;
    position: absolute;
    max-width: 15px;
    width: 15px;
    height: 15px;
 padding-top:	1px !important;
 padding-left:	1px !important;
}

.thumbContainer3 {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 90px;
}

.thumbContainer3 img {
    bottom: 0; left: 0;
    top: 0; right: 0;
    position: absolute;
    max-width: 240px;
    width: 240px;
    height: 85%;
 padding-top:	10px !important;
 padding-left:	9px !important;
}

.thumbContainer4 {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 40px;
}

.thumbContainer4 img {
    bottom: 0; left: 0;
    top: 0; right: 0;
    position: absolute;
    max-width: 80px;
    width: 80px;
    height: 85%;
 padding-top:	10px !important;
 padding-left:	9px !important;
}

.thumbContainer5 {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 40px;
}

.thumbContainer5 img {
    bottom: 0; left: 0;
    top: 0; right: 0;
    position: absolute;
    max-width: 30px;
    width: 30px;
    height: 85%;
 padding-top:	3px !important;
 padding-left:	2px !important;
}

.thumbContainer6 {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 45px;
}

.thumbContainer6 img {
    bottom: 0; left: 0;
    top: 0; right: 0;
    position: absolute;
    min-width: 45px;
    width: 45px;
    height: 85%;
 padding-top:	3px !important;
 padding-left:	2px !important;
}

.thumbContainer5BACKUP img {
    bottom: 0; left: 0;
    top: 0; right: 0;
    position: absolute;
    max-width: 50px;
    width: 50px;
    height: 85%;
 padding-top:	3px !important;
 padding-left:	2px !important;
}

.thumbContainerXXX img {
    bottom: 0; left: 0;
    top: 0; right: 0;
    margin: auto;
    position: absolute;
    max-width: 120px;
    max-height: 200px;
    width: 120px;
    height: 150px;
    margin:10 !important;
 padding-top:	15px !important;
 padding-left:	5px !important;
}

.LIthumbContainer {
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 20px;
}

.font1 {
    font-family: sans-serif;
}

.font2 {
    font-family: Arial, Helvetica, sans-serif;
}

.font3 {
    font-family: Verdana, Geneva, sans-serif;
}

.font4 {
    font-family: system-ui;
}



.svg-wrapper { display: inline-block; position: relative; width: 100%; padding-bottom: 100%; vertical-align: middle; }
.svg-wrapper svg { display: inline-block; position: absolute; top: 0; left: 0; }

td.cellVerticalCenter { vertical-align: middle; }
td.cellButtonRight { text-align: right; }
td.cellButtonCenter { text-align: center; }
tr.cellHeight { height: 0px; padding:0; }
td.paddingTop1 { padding-top:1; padding-bottom:0; }
td.paddingBottom1 { padding-top:0; padding-bottom:1; }
td.padding0 { padding:0; }
td.paddingLeft0 { padding-left:0; }
td.paddingTop0 { padding-top:0; }
td.paddingBottom0 { padding-bottom:0; }
td.paddingRight0 { padding-right:0; }

.NoPadding   { padding:0 !important; }
.PaddingInfo { padding-top:12px !important; padding-bottom:0 !important;}

.Height10   { height:0px !important; }

.ButtonNoMargins {
margin-top: 0px !important;
margin-bottom: 0px !important;
margin-left: 0px !important;
margin-right: 0px !important;
}

.NLM {
margin-left: 0px !important;
padding-left: 0px !important;
}

.NTM {
margin-top: 0px !important;
}

.NRM {
margin-right: 0px !important;
}

.NBM {
margin-bottom: 0px !important;
}

.NTP {
padding-top: 0px !important;
}

.NBP {
padding-bottom: 0px !important;
}

.ButtonNoLeftMargin {
margin-left: 0px;
}

.marginLeft5 {
margin-left: 5px;
}

.marginLeft7 {
margin-left: 7px;
}

.marginLeft10 {
margin-left: 10px;
}

.MarginPuinti {
margin-top: 0px;
margin-bottom: 0px;
margin-left: 8px;
margin-right: 8px;
}

.ButtonLeftMargin10 {
margin-left: 10px;
}

.wrap {
    white-space: normal !important;
  white-space: pre-wrap;
  white-space: -moz-pre-wrap;
  white-space: -pre-wrap;
  white-space: -o-pre-wrap;
  word-wrap: break-word;
}

.textshadownone {
    text-shadow:none !important;
}

   .ui-grid-a, .ui-grid-a .ui-controlgroup-controls {width: 100%}
    #thisweekButton {width:45%; margin-left:1%}
    #priceButton {width:45%}
   
 #b1 .ui-btn {
    height: 20px !important;
    line-height:20px;
}

.table01 tr {
    height: 5px !important;
}

.messuTablitsa tr {
    border-bottom: 1px solid black;
}

.messuTablitsa2 tr {
    border-top: 1px solid #d3d1d1;
}

.messuTablitsa1 tr {
    border-bottom: 1px solid #d3d1d1;
}

.messuTablitsa3 tr {
   border-bottom: 30px solid #eaeaeb;  
}

.borderBottom {
    border-bottom: 1px solid black;
}

 .customButton {
    height: 3px      !important;
    width: 57px      !important;
    line-height:3px  !important;
}

.customButtonSaar {
    height: 1px      !important;
    width: 37px      !important;
    line-height:1px  !important;
}

.customButtonSaar2 {
    height: 1px      !important;
    width: 73px      !important;
    line-height:1px  !important;
}

.customButtonSaar3 {
    height: 5px      !important;
    width: 73px      !important;
    line-height:5px  !important;
}

.customButtonSaar4 {
    height: 5px      !important;
    width: 140px      !important;
    line-height:5px  !important;
}

.customButtonSaar5 {
    height: 2px      !important;
    width: 37px      !important;
    line-height:2px  !important;
}

.customButtonSaar6 {
    height: 1px      !important;
    width: 37px      !important;
    line-height:1px  !important;
    margin-bottom:3px !important;
}

.customButtonSaar7 {
    height: 1px      !important;
    width: 57px      !important;
    line-height:1px  !important;
    margin-bottom:3px !important;
}

.customButtonSaar8 {
    height: 3px      !important;
    width:  5px      !important;
    line-height:3px  !important;
}

.customButtonSaar9 {
    height: 3px      !important;
    width: 93px      !important;
    line-height:3px  !important;
}

.customButtonSaar10 {
    height: 4px      !important;
    line-height:4px  !important;
    background-color:#354055 !important;
    color:white !important;
}

.customButtonSaar11 {
    height: 10px      !important;
    line-height:10px  !important;
    text-align:left  !important;
    background-color:#5d6f8c !important;
    color:white !important;
}

.customButtonSaar12 {
    height: 11px      !important;
    line-height:11px  !important;
    background-color:#354055 !important;
    color:white !important;
}

.customButtonSaar13 {
    height: 11px      !important;
    line-height:11px  !important;
}

.customButtonSaar14 {
    height: 6px      !important;
    line-height:6px  !important;
    background-color:#354055 !important;
    color:white !important;
    font-weight:400 !important;
}
.customButtonSaar141 {
    height: 30px      !important;
    line-height:30px  !important;
    background-color:#354055 !important;
    color:white !important;
    font-weight:400 !important;
    text-align:center !important;
}


.customButtonSaar15 {
    height: 8px      !important;
    line-height:8px  !important;
    background-color:white !important;
    color:#354055 !important;
}

.customButtonSaar16 {
    height: 8px      !important;
    line-height:8px  !important;
    background-color:#354055 !important;
    color:white !important;
}

.customButtonSaar17 {
    height: 10px      !important;
    line-height:12px  !important;
    background-color:#354055 !important;
    color:white !important;
    text-align:center !important;
}
.customButtonSaar17b {
    min-height: 10px      !important;
    line-height:12px  !important;
    background-color:#354055 !important;
    color:white !important;
    text-align:center !important;
}


.customButtonSaar18 {
    height: 10px      !important;
    line-height:12px  !important;
    background-color:#354055 !important;
    color:white !important;
    font-size:14px !important;
}

.customButtonSaar19 {
    height: 10px      !important;
    line-height:12px  !important;
    background-color:#6a707a !important;
    color:white !important;
    font-size:14px !important;
}

.customButtonSaar20 {
    height: 18px      !important;
    line-height:20px  !important;
    background-color:#354055 !important;
    color:white !important;
    text-align:center !important;
}

.customButtonSaar21 {
    height: 12px      !important;
    line-height:14px  !important;
    background-color:#354055 !important;
    color:white !important;
    font-size:15px !important;
}

.customButtonSaar22 {
    height: 8px      !important;
    line-height:10px  !important;
    background-color:#7087ad !important;
    color:white !important;
    text-align:center !important;
    font-weight:400 !important;
    padding-top:8px;
}

.customButtonSaar22222222 {
    height: 8px      !important;
    line-height:10px  !important;
    background-color:#878f9b !important;
    color:white !important;
    text-align:center !important;
}


.customButtonSaar23 {
    height: 13px      !important;
    line-height:15px  !important;
    background-color:#354055 !important;
    color:white !important;
    font-size:15px !important;
}

.customButtonSaar24 {
    height: 12px      !important;
    line-height:14px  !important;
    background-color:#354055 !important;
    color:white !important;
    font-size:15px !important;
    border-radius:4px;
    font-weight:400 !important;
}


.gridi10 {
	width:49% !important;
 	cursor:pointer;
	font-size:11px; 
	font-weight:500 !important; 
	padding:10px; 
	background-color:#354055; 
	color:white;
	text-align: center;
	margin: 0 auto;
	border-radius:2px;
	margin:1px;
}
.gridi11 {
	width:49% !important;
 	cursor:pointer;
 	font-size:13px; 
	font-weight:500 !important; 
	padding:5px; 
	background-color:#354055; 
	color:white;
	text-align: center;
	margin: 0 auto;
	border-radius:2px;
	margin:1px;
}
.gridi11b {
	width:49% !important;
 	font-size:13px; 
	font-weight:500 !important; 
	padding:10px; 
	background-color:#354055;  
	color:black;
	text-align: center;
	margin: 0 auto;
	border:1px solid #cbced3;
	border-radius:2px;
}
.gridi11c {
	width:49% !important;
 	font-size:13px; 
	font-weight:500 !important; 
	padding:10px; 
	background-color:#354055;  
	color:white;
	text-align: center;
	margin: 0 auto;
	border:1px solid #cbced3;
	border-radius:2px;
}
.gridi11d {
	width:49% !important;
 	font-size:13px; 
	font-weight:500 !important; 
	padding:10px; 
	background-color:#354055;  
	color:white;
	text-align: center;
	margin: 0 auto;
	border:1px solid #cbced3;
	border-radius:2px;
	height:40px;
	line-height:40px !important;
}
.gridi11e {
	width:49% !important;
 	font-size:13px; 
	font-weight:500 !important; 
	padding:10px; 
	background-color:#354055;  
	color:white;
	text-align: center;
	margin: 0 auto;
	border:1px solid #cbced3;
	border-radius:2px;
}
.gridi11f {
	width:21% !important;
 	font-size:13px; 
	font-weight:500 !important; 
	padding:10px; 
	background-color:#354055;  
	color:white;
	text-align: center;
	margin: 0 auto;
	border:1px solid #cbced3;
	border-radius:2px;
	cursor:pointer;
}




.gridi12 {
	width:32% !important;
 	cursor:pointer;
 	font-size:11px; 
	font-weight:500 !important; 
	padding:10px; 
	background-color:#F7F7F8; 
	color:white;
	text-align: center;
	margin: 0 auto;
	border-radius:2px;
	margin:1px;
}
.gridi13 {
 	cursor:pointer;
 	font-size:11px; 
	font-weight:500 !important; 
	padding:10px; 
	background-color:rgba(34, 116, 130, 1.0); 
	color:white;
	text-align: center;
	margin: 0 auto;
	border-radius:5px;
}
.gridi14 {
	width:47% !important;
 	cursor:pointer;
 	font-size:13px; 
	font-weight:500 !important; 
	padding:10px; 
	background-color:white; 
	color:black;
	text-align: left;
	margin: 0 auto;
	border-top:1px    solid #d4d6d8;
	border-bottom:1px solid #d4d6d8;
	margin:4px;
}
.gridi15 {
	width:97% !important;
 	cursor:pointer;
 	font-size:13px; 
	font-weight:500 !important; 
	padding:10px; 
	background-color:white; 
	color:black;
	text-align: left;
	border-top:1px    solid #d4d6d8;
	border-bottom:1px solid #d4d6d8;
}
.gridi16 {
	width:20% !important;
 	cursor:pointer;
	height:38px;
	font-size:13px; 
	font-weight:500 !important; 
	padding:10px; 
	background-color:#354055; 
	color:white;
	text-align: center;
	margin: 0 auto;
	border-radius:2px;
	margin-top:8px;
}
.gridi17 {
	width:50% !important;
 	cursor:pointer;
	font-size:13px; 
	font-weight:500 !important; 
	padding:10px; 
	background-color:#354055; 
	color:white;
	text-align: center;
	margin: 0 auto;
	border-radius:0px;
	margin-left:0px;
	margin-top:8px;
}
.gridi18 {
	width:32.7% !important;
 	cursor:pointer;
	font-size:14px; 
	font-weight:500 !important; 
	padding:10px; 
	background-color:#354055; 
	color:white;
	text-align: center;
	margin: 0 auto;
	border-radius:4px;
	margin:1px;
}
.gridi19 {
	width:49.7% !important;
 	cursor:pointer;
	font-size:13px; 
	font-weight:500 !important; 
	padding:10px; 
	background-color:#354055; 
	color:white;
	text-align: center;
	margin: 0 auto;
	border-radius:0px;
	margin-right:1px;
	margin-top:0px;
}
.gridi191 {
	width:33% !important;
 	cursor:pointer;
	font-size:13px; 
	font-weight:500 !important; 
	padding:10px; 
	background-color:#354055;
	color:white;
	text-align: center;

.gridi192 {
	width:49.7% !important;
 	cursor:pointer;
	font-size:13px; 
	font-weight:500 !important; 
	padding:10px; 
	background-color:#354055;
	color:white;
	text-align: center;
}

}

.gridi20 {
	width:10% !important;
 	cursor:pointer;
	font-size:13px; 
	font-weight:500 !important; 
	padding:10px; 
	background-color:#354055; 
	color:white;
	text-align: center;
	margin: 0 auto;
	border-radius:0px;
	margin-right:1px;
	margin-top:0px;
}
.gridi21 { 
	width:40% !important;
 	cursor:pointer;
	font-size:13px; 
	font-weight:500 !important; 
	padding:10px; 
	background-color:#354055; 
	color:white;
	text-align: center;
	margin: 0 auto;
	border-radius:0px;
	margin-right:1px;
	margin-top:0px;
}
.gridi22 {
	width:33,33% !important;
 	cursor:pointer;
	font-size:13px; 
	font-weight:500 !important; 
	padding:10px; 
	background-color:#354055; 
	color:white;
	text-align: center;
	margin: 0 auto;
	border-radius:0px;
	margin-left:0px;
	margin-top:8px;
}

.eventSearchButton {
	width:100% !important;
 	cursor:pointer;
 	font-size:14px; 
	font-weight:500 !important; 
	padding:10px; 
	background-color:#354055; 
	color:white;
	text-align: center;
	margin: 0 auto;
	border-radius:4px;
	margin:1px;
}

.setCursor {
	cursor:pointer;
}





.customButtonFooter {
    height: 7px      !important;
    line-height:7px  !important;
}

.customButtonFooter2 {
    height: 30px      !important;
    line-height:50px  !important;
}

.customButtonHeader {
    height: 28px      !important;
    line-height:28px  !important;
}

.ButtonNoText {
    height: 28px           !important;
    line-height:28px       !important;
    margin-bottom:4px      !important;
    margin-left:3px        !important;
}

.menuButton {
    height: 7px      !important;
    line-height:7px  !important;
    margin: 0 auto   !important;
}

.textCenter {
    text-align: center;
    margin: 0 auto;
}

.weekButton {
    height: 15px      !important;
    line-height:15px  !important;
}

.ui-header .ui-title {
    margin-right: 10%;
    margin-left: 10%;
}
.messuOtsikko5 {
    font-weight: bold;
    font-size: 15px;
}

.ui-li-static.ui-collapsible > .ui-collapsible-heading {
    margin: 0;
}
.ui-li-static.ui-collapsible {
    padding: 0;
}
.ui-li-static.ui-collapsible > .ui-collapsible-heading > .ui-btn {
    border-top-width: 0;
}
.ui-li-static.ui-collapsible > .ui-collapsible-heading.ui-collapsible-heading-collapsed > .ui-btn,
.ui-li-static.ui-collapsible > .ui-collapsible-content {
    border-bottom-width: 2;
}


.centerV {
    margin-top: 0px !important;
    margin-left: 13px !important;
}

#pageResult3 .ui-content{
   padding-left:0  !important;
   padding-right:0 !important;
}

.pageButtonHeightSmall {
   padding:7px !important;
}

.colorWhite {
    color: white !important;
}

.colorBlack {
    color: black !important;
}

.ui-input-text {
    background-color: none;
}

.controlgroup-textinput{
    padding-top:.22em;
    padding-bottom:.22em;
}

.PaddingLeft30{
    padding-left:30  !important;
   margin-left: 30px !important;
}

.ui-icon-search1 {
    background: url(/pictures/Rmenu_tiles.jpg) 50% 50% no-repeat;
    background-size: 33px 33px;
    width: 33px;
    height: 33px;
    margin-top: 2px !important;
    border: 0 !important;
    box-shadow: none;
    -webkit-box-shadow: none;
}
.ui-icon-search2 {
    background: url(/pictures/x2.svg) 50% 50% no-repeat;
    background-size: 32px 32px;
    width: 32px;
    height: 32px;
    margin-top: 2px !important;
    border: 0 !important;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.ui-icon-home1 {  
    max-height: 13%;  
    max-width: 13%; 
    width: auto;
    height: auto;
    top: 0;  
    bottom: 0;  
    left: 0;  
    right: 0;  
    margin: auto;
    margin-top:8px;
}
.ui-icon-key1 {
    background: url(/pictures/Ravain1.jpg) 50% 50% no-repeat;
    background-size: 32px 32px;
    width: 32px;
    height: 32px;
    margin-top: 2px !important;
    border: 0 !important;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.ui-icon-key2 {
    background: url(/pictures/Ravain2.jpg) 50% 50% no-repeat;
    background-size: 32px 32px;
    width: 32px;
    height: 32px;
    margin-top: 2px !important;
    border: 0 !important;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.ui-icon-flagFin {
    background: url(/pictures/flagFin.jpg) 50% 50% no-repeat;
    background-size: 32px 32px;
    width: 32px;
    height: 32px;
    margin-top: 2px !important;
    border: 0 !important;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.ui-icon-flagSwe {
    background: url(/pictures/flagSwe.jpg) 50% 50% no-repeat;
    background-size: 32px 32px;
    width: 32px;
    height: 32px;
    margin-top: 2px !important;
    border: 0 !important;
    box-shadow: none;
    -webkit-box-shadow: none;
}



.arrow1XXX {  
    max-height: 32px;  
    max-width: 32px; 
    width: auto;
    height: auto;
    position: absolute;  
    top: 0;  
    bottom: 0;  
    left: 0;  
    right: 0;  
    margin: auto;
}

.ui-icon-arrow1XXX {
    background: url(/pictures/Rmenu_arrow.jpg) 50% 50% no-repeat;
    background-size: 32px 32px;
    width: 32px;
    height: 32px;
    position: absolute;  
    top: 0;  
    bottom: 0;  
    left: 0;  
    right: 0;  
    margin: auto;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.ui-icon-arrow1 {
    background: url(/pictures/Rmenu_arrow.jpg) 50% 50% no-repeat;
    background-size: 32px 32px;
    width: 32px;
    height: 32px;
    margin-top: 2px !important;
    border: 0 !important;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.ui-icon-arrow2 {
    background: url(/pictures/nuoli2.jpg) 50% 50% no-repeat;
    background-size: 32px 32px;
    width: 32px;
    height: 32px;
    margin-top: 2px !important;
    border: 0 !important;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.gridFooter {
<!--
  border-style: solid;
  border-width: 5px;
-->
}

.gridFooter div { /* all blocks */
  display: table;
  height: 30px;
}

.gridFooter div > p {
  display: table-cell;
  vertical-align: middle;
  text-align: center;
}

/* SOMETEC ACTION ICONS V3 START */
.sometecActionIcon {
    display: inline-flex !important;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
    padding: 0 !important;
    margin: 0 9px 0 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    position: static !important;
    overflow: hidden !important;
    background-image: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    color: #fff !important;
}

.sometecActionIcon > svg.sometecActionSvg {
    display: block !important;
    position: static !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    transform: none !important;
    color: #fff !important;
    fill: currentColor !important;
}

.sometecActionIconAddress     { background-color: #3478e5 !important; }
.sometecActionIconRoute       { background-color: #25ad46 !important; }
.sometecActionIconTemperature { background-color: #ed5035 !important; }
.sometecActionIconHistory     { background-color: #1688c9 !important; }
/* SOMETEC ACTION ICONS V3 END */

/* SOMETEC ACTION ICON FINISH START */

/* Neljan toimintorivin valistus.
   NBM/NTM-luokat kayttavat !important-marginaaleja, joten kaytetaan paddingia. */
.sometecActionRow {
    padding-top: 4px !important;
    padding-bottom: 4px !important;
    min-height: 26px !important;
    line-height: 26px !important;
}

/* Kaikki ikonit pysyvat samalla 26 x 26 px koolla. */
.sometecActionRow .sometecActionIcon {
    display: inline-flex !important;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    min-height: 26px !important;
    max-width: 26px !important;
    max-height: 26px !important;
    margin: 0 9px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 8px !important;
    vertical-align: middle !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: none !important;
    background-image: none !important;
}

/* Osoite: sama muoto kuin muut, kirkas sininen tausta. */
.sometecActionRow .sometecActionIconAddress {
    background: #3478e5 !important;
    border: 0 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

/* SVG:t aina valkoisina ja oikean kokoisina. */
.sometecActionRow .sometecActionIcon > svg.sometecActionSvg {
    position: static !important;
    display: block !important;
    width: 16px !important;
    height: 16px !important;
    min-width: 16px !important;
    min-height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #fff !important;
    fill: currentColor !important;
}

/* SOMETEC ACTION ICON FINISH END */

/* Center footer labels in the space between their icon and the button edge. */
.sometec-footer-button-content {
    display: flex;
    align-items: center;
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 0 12px;
}
.sometec-footer-button-content > div:first-child {
    flex: 0 0 24px;
    width: 24px !important;
    display: flex;
    align-items: center;
    justify-content: center;
}
.sometec-footer-button-content > div:nth-child(2) {
    display: none;
}
.sometec-footer-button-content > div:nth-child(3) {
    flex: 1 1 0;
    width: auto !important;
    min-width: 0;
    text-align: center;
    padding-left: 8px;
    box-sizing: border-box;
}

/* Keep long favourite labels visible on narrow mobile screens. */
@media (max-width: 600px) {
    .sometec-modern-status {
        top: 6px !important;
        right: 6px !important;
        min-height: 22px !important;
        line-height: 22px !important;
        padding: 0 8px !important;
        border-radius: 12px !important;
        font-size: 10px !important;
    }
    .sometec-modern-status > span {
        font-size: 12px !important;
    }
    .sometec-modern-temperature {
        left: 6px !important;
        bottom: 6px !important;
    }
    .sometec-modern-temperature > div:first-child {
        font-size: 20px !important;
    }
    .sometec-modern-temperature svg {
        width: 24px !important;
        height: 24px !important;
    }
    .sometec-modern-temperature > div:nth-child(2) {
        margin-top: 2px !important;
        font-size: 9px !important;
        line-height: 11px !important;
    }
    .sometec-space-status {
        top: 6px !important;
        right: 6px !important;
        padding: 5px 8px !important;
        border-radius: 12px !important;
        font-size: 11px !important;
        line-height: 14px !important;
    }
    .sometec-space-status > div:first-child > span {
        font-size: 12px !important;
    }
    .sometec-space-status-updated {
        margin-top: 2px !important;
        font-size: 9px !important;
        line-height: 11px !important;
    }
    .sometec-space-temperature {
        left: 6px !important;
        bottom: 6px !important;
        padding: 6px 8px !important;
        border-radius: 10px !important;
    }
    .sometec-space-temperature > div:first-child {
        font-size: 22px !important;
    }
    .sometec-space-temperature svg {
        width: 24px !important;
        height: 24px !important;
    }
    .sometec-space-temperature > div:nth-child(2) {
        margin-top: 3px !important;
        font-size: 10px !important;
        line-height: 12px !important;
    }
}

.sometec-footer-actions {
    width: 100%;
    max-width: 440px;
    margin: 0 auto;
    padding: 0 12px;
    box-sizing: border-box;
}
.sometec-footer-actions .gridi13 {
    box-sizing: border-box;
    height: auto;
    min-height: 44px !important;
    display: flex;
    align-items: center;
    padding: 5px 8px;
}
.sometec-footer-actions .sometec-footer-button-content {
    padding: 0;
}
.sometec-footer-actions .sometec-footer-button-content > div:first-child {
    flex-basis: 18px;
    width: 18px !important;
}
.sometec-footer-actions .sometecFooterSvg {
    display: block;
    width: 18px;
    height: 18px;
    overflow: visible;
}
.sometec-footer-actions .sometec-footer-button-content > div:first-child {
    flex-basis: 24px;
    width: 24px !important;
}
.sometec-footer-actions .sometecFooterSvg[data-favourite-action] {
    width: 24px;
    height: 18px;
}
.sometec-footer-actions .sometec-footer-button-content img {
    width: 20px !important;
    height: 20px;
    object-fit: contain;
}
.sometec-footer-button-content > div:nth-child(3) {
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.35;
}
@media (max-width: 600px) {
    .sometec-footer-actions > .ui-block-a,
    .sometec-footer-actions > .ui-block-c,
    .sometec-footer-actions > .ui-block-e {
        display: none;
    }
    .sometec-footer-actions .gridi13 {
        float: none;
        width: 100% !important;
        max-width: 210px;
        min-height: 44px !important;
        margin: 0 auto 8px;
        padding: 6px 10px;
    }
    .sometec-footer-actions .sometec-footer-button-content {
        padding: 0;
    }
}
.photo-list-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 130px 110px 48px;
    gap: 4px;
    margin-top: 5px;
    align-items: stretch;
}
.photo-list-name {
    min-width: 0;
    overflow-wrap: anywhere;
    border: 1px solid #c6cdd5;
    border-radius: 4px;
    color: #071833;
    padding: 10px;
    text-align: left;
}
button.photo-list-action,
button.photo-crop-reset {
    margin: 0;
    padding: 8px 10px;
    min-height: 44px;
    border: 0;
    border-radius: 4px;
    background: #4b6896;
    color: white;
    font: 700 14px/1.3 Arial, sans-serif;
    text-shadow: none;
    cursor: pointer;
    box-shadow: none;
}
button.photo-list-action svg { vertical-align: middle; }
button.photo-list-action:hover,
button.photo-crop-reset:hover { background: #354f79; }
button.photo-list-action:focus-visible,
button.photo-crop-reset:focus-visible,
.photo-crop-canvas:focus-visible { outline: 3px solid #1c7583; outline-offset: 3px; }
.photo-crop-dialog { padding: 16px !important; max-width: calc(100vw - 20px) !important; }
.photo-crop-dialog .swal2-html-container { margin: 12px 0 0; overflow: visible; }
.photo-crop-stage {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #182435;
    border-radius: 6px;
    overflow: hidden;
    padding: 2px;
}
.photo-crop-canvas { display: block; touch-action: none; cursor: move; max-width: 100%; }
.photo-crop-help { margin: 8px 0 12px; text-align: left; font: 14px/1.5 Arial, sans-serif; color: #354055; }
.photo-crop-message { margin: 8px 0; color: #942604; font: 14px/1.5 Arial, sans-serif; }
.photo-crop-dialog .swal2-actions { flex-wrap: wrap; gap: 8px; }
.photo-crop-dialog .swal2-confirm,
.photo-crop-dialog .swal2-cancel { min-height: 44px; margin: 0; }
@media (max-width: 600px) {
    .photo-list-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 48px; }
    .photo-list-name { grid-column: 1 / -1; }
    .photo-list-action { width: 100%; }
    .photo-crop-dialog .swal2-title { font-size: 22px; padding: 4px; }
    .photo-crop-dialog .swal2-confirm,
    .photo-crop-dialog .swal2-cancel { flex: 1; }
}

/* The crop dialog has no checkbox input. Legacy dialog CSS must not reveal it. */
.photo-crop-dialog .swal2-checkbox,
.photo-save-confirmation .swal2-checkbox { display: none !important; }

.photo-edit-tools { margin: 10px 0; }
button.photo-rotate,
button.photo-adjustments-reset {
    min-height: 44px;
    padding: 8px 14px;
    border: 1px solid #4b6896;
    border-radius: 4px;
    background: white;
    color: #354f79;
    font: 700 14px/1.4 Arial, sans-serif;
    text-shadow: none;
    box-shadow: none;
    cursor: pointer;
}
.photo-adjustments { margin-top: 12px; text-align: left; border-top: 1px solid #d6dce5; }
.photo-adjustments summary {
    padding: 12px 4px;
    min-height: 44px;
    box-sizing: border-box;
    cursor: pointer;
    color: #354f79;
    font: 700 16px/1.4 Arial, sans-serif;
}
.photo-adjustment { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0 12px; margin: 4px 0 10px; }
.photo-adjustment label,
.photo-adjustment output { margin: 0; color: #354055; font: 14px/1.5 Arial, sans-serif; }
.photo-adjustment output { font-variant-numeric: tabular-nums; }
.photo-adjustment input[type="range"] {
    grid-column: 1 / -1;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    accent-color: #227482;
    cursor: pointer;
}
.photo-adjustments summary:focus-visible,
.photo-adjustment input:focus-visible,
button.photo-rotate:focus-visible,
button.photo-adjustments-reset:focus-visible { outline: 3px solid #1c7583; outline-offset: 2px; }
@media (max-width: 600px) {
    .photo-crop-dialog { max-height: calc(100dvh - 20px); overflow-y: auto; }
    .photo-crop-dialog .swal2-actions { position: sticky; bottom: -16px; background: white; padding: 12px 0; z-index: 2; }
}
.photo-file-picker { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; }
.photo-file-picker .photo-file-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    box-sizing: border-box;
    padding: 10px 16px;
    margin: 0;
    border: 1px solid #227482;
    border-radius: 8px;
    background: white;
    color: #175b66;
    font: 700 14px/1.4 Arial, sans-serif;
    text-shadow: none;
    overflow: hidden;
    cursor: pointer;
}
.photo-file-button svg { fill: none; stroke: currentColor; stroke-width: 1.6; flex: 0 0 auto; }
.photo-file-button input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    padding: 0;
    margin: 0;
    cursor: pointer;
}
.photo-file-picker .photo-file-button:hover { background: #edf5f6; }
.photo-file-picker .photo-file-button:focus-within { outline: 3px solid #227482; outline-offset: 3px; }
.photo-selected-name { min-width: 0; overflow-wrap: anywhere; color: #354055; font: 14px/1.5 Arial, sans-serif; text-shadow: none; }
@media (max-width: 600px) {
    .photo-file-picker { align-items: flex-start; flex-direction: column; gap: 8px; }
    .photo-selected-name { width: 100%; }
}

.photo-upload-preview { display: block; width: auto; height: auto; max-width: 180px; max-height: 120px; margin-top: 12px; border-radius: 8px; object-fit: contain; }
.photo-upload-preview[hidden] { display: none !important; }

.photo-list-name { display: flex; align-items: center; gap: 12px; }
.photo-list-name > span { min-width: 0; overflow-wrap: anywhere; }
.photo-list-thumbnail { width: 80px; height: 56px; flex: 0 0 80px; object-fit: cover; border-radius: 5px; background: #edf1f5; }
.photo-list-thumbnail[hidden] { display: none !important; }
button.photo-preview-toggle { display: inline-block; min-height: 44px; margin: 10px 0 8px; padding: 8px 14px; border: 1px solid #227482; border-radius: 8px; background: white; color: #175b66; font: 700 14px/1.4 Arial, sans-serif; text-shadow: none; box-shadow: none; cursor: pointer; }
button.photo-preview-toggle:hover { background: #edf5f6; }
button.photo-preview-toggle:focus-visible { outline: 3px solid #227482; outline-offset: 3px; }

/* Keep each image and its actions visibly together on mobile. */
@media (max-width: 600px) {
    #cards_container_pics .photo-list-row {
        width: 100%;
        box-sizing: border-box;
        margin: 0 0 14px;
        padding: 10px;
        gap: 8px 6px;
        border: 1px solid #c3ccd8;
        border-radius: 10px;
        background: #fff;
    }
    #cards_container_pics .photo-list-name {
        border: 0;
        border-radius: 0;
        padding: 0 0 4px;
        font-weight: 600;
    }
}

.photo-list-row { grid-template-columns: minmax(0, 1fr) 120px 100px 100px 48px; }
.photo-usage-dialog { max-width: calc(100vw - 20px) !important; }
.photo-usage-dialog .swal2-checkbox { display: none !important; }
.photo-usage-filename { color: #354055; overflow-wrap: anywhere; font: 14px/1.5 Arial, sans-serif; }
.photo-usage-results { color: #071833; font: 14px/1.5 Arial, sans-serif; text-align: left; }
.photo-usage-list { list-style: none; padding: 0; margin: 0; max-height: 55vh; overflow-y: auto; }
.photo-usage-list li { padding: 12px 0; border-bottom: 1px solid #d6dce5; overflow-wrap: anywhere; }
.photo-usage-list li:last-child { border-bottom: 0; }
.photo-usage-list strong { display: block; font-size: 16px; }
.photo-usage-list span { display: block; margin-top: 3px; color: #354055; font-size: 13px; }
@media (max-width: 600px) {
    .photo-list-row { grid-template-columns: repeat(3, minmax(0, 1fr)) 48px; }
    button.photo-list-action { min-width: 0; padding: 8px 4px; font-size: 13px; }
}

.photo-detail-image-tools { display: flex; justify-content: flex-start; margin: 8px 0 12px; }
button.photo-detail-edit { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 14px; margin: 0; border: 1px solid #227482; border-radius: 8px; background: white; color: #175b66; font: 700 14px/1.4 Arial, sans-serif; text-shadow: none; box-shadow: none; cursor: pointer; }
button.photo-detail-edit:hover { background: #edf5f6; }
button.photo-detail-edit:focus-visible { outline: 3px solid #227482; outline-offset: 3px; }
.photo-detail-edit svg { flex: 0 0 auto; }

/* GPX text conversion tool, matching the existing teal actions. */
.gpx-converter { max-width: 1000px; margin: 20px auto; color: #173a48; }
.gpx-converter p { line-height: 1.6; }
.gpx-converter label { display: block; margin: 18px 0 8px; font-weight: 600; }
.gpx-converter textarea {
 display: block; box-sizing: border-box; width: 100%; min-height: 180px; padding: 12px;
 border: 1px solid #9eafb8; border-radius: 6px; background: white; color: #173a48;
 font: 14px/1.5 Consolas, monospace; resize: vertical;
}
.gpx-converter textarea[readonly] { background: #f3f7f8; }
.gpx-converter .gpx-options { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.gpx-converter .gpx-options label { margin: 0; }
.gpx-converter input { width: 80px; min-height: 44px; box-sizing: border-box; padding: 8px; border: 1px solid #9eafb8; border-radius: 6px; color: #173a48; background: white; font-size: 16px; }
.gpx-converter button { min-height: 44px; padding: 10px 18px; margin: 12px 0; border: 1px solid #227482; border-radius: 6px; background: white; color: #155e6b; font: 600 16px Arial, sans-serif; cursor: pointer; }
.gpx-converter button.gpx-primary { background: #227482; color: white; }
.gpx-converter button:disabled { opacity: .5; cursor: default; }
.gpx-converter button:not(:disabled):hover { background: #e3f0f2; color: #173a48; }
.gpx-converter textarea:focus-visible, .gpx-converter input:focus-visible, .gpx-converter button:focus-visible { outline: 3px solid #227482; outline-offset: 2px; }
.gpx-converter .gpx-hint { font-size: 14px; }
.gpx-converter [data-gpx-status]:empty { display: none; }
.gpx-converter [data-gpx-status] { padding: 12px; background: #e8f1f3; border-left: 4px solid #227482; overflow-wrap: anywhere; }

/* Available to assistive technology without changing the visual layout. */
.sometec-sr-only { position:absolute !important; width:1px !important; height:1px !important; padding:0 !important; margin:-1px !important; overflow:hidden !important; clip:rect(0,0,0,0) !important; clip-path:inset(50%) !important; white-space:normal !important; border:0 !important; }

/* Feedback form: readable fields and compact native actions. */
.sometec-feedback { max-width:680px; margin:20px auto 32px; padding:24px; box-sizing:border-box; background:#fff; border:1px solid #e0e6eb; border-radius:16px; color:#10243b; text-shadow:none; }
.sometec-feedback .feedback-intro { margin:0 0 24px; color:#526170; font-size:14px; line-height:1.65; }
.sometec-feedback .feedback-contact-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.sometec-feedback .feedback-field { min-width:0; margin:0 0 20px; }
.sometec-feedback .feedback-field label { display:block; margin:0 0 8px; color:#20364a; font-size:14px; font-weight:700; text-shadow:none; }
.sometec-feedback .feedback-field input, .sometec-feedback #Fstoryx { width:100%; box-sizing:border-box; border:1px solid #b8c5cf; border-radius:10px; background:#fbfcfd; color:#10243b; font:16px/1.5 Arial,sans-serif; padding:11px 13px; margin:0; box-shadow:none; text-shadow:none; }
.sometec-feedback .feedback-field input { min-height:46px; }
.sometec-feedback #Fstoryx { min-height:160px; overflow-wrap:anywhere; }
.sometec-feedback .feedback-field input:focus, .sometec-feedback #Fstoryx:focus { outline:2px solid #227482; outline-offset:2px; background:#fff; }
.sometec-feedback .feedback-response { margin:0 0 14px; font-size:14px; }
.sometec-feedback .cb_container2 { width:100% !important; height:auto !important; min-height:44px; padding:8px 10px; box-sizing:border-box; border-radius:9px !important; }
.sometec-feedback .cb_container2[style*="display:block"] { display:flex !important; align-items:center; gap:10px; }
.sometec-feedback .cb_container2 > div:first-child { float:none !important; flex:1; min-width:0; width:auto !important; height:auto !important; padding:0 !important; line-height:1.5 !important; }
.sometec-feedback .cb_container2 > div:nth-child(2) { flex:0 0 26px; }

.sometec-feedback .feedback-action { display:flex; align-items:center; justify-content:center; gap:9px; box-sizing:border-box; min-height:46px; padding:10px 14px; border:1px solid #a9c4cb; border-radius:10px; background:#fff !important; color:#1c6674; font:600 14px/1.35 Arial,sans-serif; text-align:center; text-decoration:none; text-shadow:none; cursor:pointer; }
.sometec-feedback .feedback-action:hover { background:#edf5f6 !important; }
.sometec-feedback .feedback-action:focus-visible, .sometec-feedback .feedback-submit:focus-visible, .sometec-feedback .feedback-privacy:focus-visible { outline:3px solid #227482; outline-offset:3px; }
.sometec-feedback .feedback-location-action { margin:8px 0; }
.sometec-feedback .feedback-attachment-actions { display:flex; flex-wrap:wrap; gap:10px; margin-top:10px; }
.sometec-feedback .feedback-attachment-actions > button { flex:1 1 180px; }
.sometec-feedback svg { flex:0 0 20px; width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:1.7; stroke-linecap:round; stroke-linejoin:round; }
.sometec-feedback form > div[style="height:30px;"] { height:20px !important; }
.sometec-feedback .feedback-submit { display:flex; align-items:center; justify-content:center; gap:12px; width:100%; min-height:48px; padding:12px 20px; border:0; border-radius:11px; background:#227482; color:#fff; font:700 16px/1.4 Arial,sans-serif; text-shadow:none; cursor:pointer; }
.sometec-feedback .feedback-submit:hover { background:#195c68; }
.sometec-feedback #image_review, .sometec-feedback #video_review { max-height:300px; object-fit:contain; border-radius:10px; background:#eef3f5; }
.sometec-feedback #review_str, .sometec-feedback #review_str2 { margin-bottom:8px; color:#526170; font-size:13px; }
.sometec-feedback .feedback-privacy { width:auto !important; height:auto !important; padding:8px 12px; text-align:center; font-size:13px; }
@media(max-width:600px) {
 .sometec-feedback { margin:12px 4px 24px; padding:18px 14px; border-radius:12px; }
 .sometec-feedback .feedback-contact-grid { grid-template-columns:1fr; gap:0; }
 .sometec-feedback .feedback-intro { margin-bottom:20px; }
}
@media(max-width:360px) {
 .sometec-feedback .feedback-captcha .g-recaptcha { transform:scale(.82); transform-origin:center top; margin-left:-25px; margin-right:-25px; }
}
