/* AeroXC archive - merged CSS
   Cleaned from merge_aero_archive.css.
   Names are preserved; only redundant/empty/conflicting rules were merged or simplified.
*/

/* -------------------------------------------------------------------------
   GRAV
   ------------------------------------------------------------------------- */
.container.grid-lg { 
    max-width: 1100px;
}

section.section {
    position: relative;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
}

/* -------------------------------------------------------------------------
   Base
   ------------------------------------------------------------------------- */

.hidden {
    visibility: hidden;
}

/* -------------------------------------------------------------------------
   Archive wrapper / iframe
   ------------------------------------------------------------------------- */

.archive-iframeDDD {
    width: 100%;
    height: 960px;
    border: 0;
    border-radius: 16px;
}

/* ladeni zrusit tento .container*/
.containerDDD {
}

#aeroxc-main {
	
}

#aeroxc-inside {
    max-width: 1200px;
    font-family: Arial, sans-serif;		
    height: 100%;			
}


#aeroxc-main:fullscreen {
    width: 100vw;
    height: 100dvh;
    background: white;	
    display: flex;
    justify-content: center;
    align-items: stretch;
}

#aeroxc-main:fullscreen #aeroxc-inside {
    width: 100%;
	max-width: 1400px;
	max-height: 800px;
    height: 100%;  
	padding-top: 50px;
}

#aeroxc-main:fullscreen #aeroxc-inside #archive-layout #frame_wind {     
    width: 100%;	
	height: 62dvh !important;    
    box-sizing: border-box;
    overflow: hidden;
    cursor: crosshair;			
}

#currentModelVertical{
	display:none;
}

#currentLocationMenuMap{
	display:none;
	width: 20px;
    height: 45px;
}

#currentLocationMenuVertical{
	display:none;
	width: 20px;
    height: 45px;
}

#archiveFullscreenForBtn{
	display:none;
}

.mobile-switch-btn {
    display:none;
}

#fake{
	width: 16%;
}
/*
#switchToMapBtn{
	display:none;
}

#switchToVerBtn{
	display:none;
}

*/
/*
#aeroxc-main {
    max-width: 1200px;
    font-family: Arial, sans-serif;		
    height: 100%;			
}

#aeroxc-main:fullscreen {
    width: 100vw;
    height: 100dvh;
    padding: 2%;
    background: white;
    box-sizing: border-box;
}

/*
#aeroxc-inside{
	background: red;
	max-width: 1200px;
}*/
/*--------------------------------------------------------------------------
   dny v dolni casti
---------------------------------------------------------------------------*/
.days {
    display: flex;
    align-items: stretch;
    gap: 6px;

    overflow-x: auto;
    overflow-y: hidden;

    width: 100%;
    margin: 4px 0 12px;
    padding: 4px 2px 8px;

    -webkit-overflow-scrolling: touch;
}

.day {
    flex: 1 1 0;
	min-width: 0;  
    min-height: 68px;

    border-radius: 8px;
    border: 2px solid transparent;

    background: rgb(0 116 228);
    cursor: pointer;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    box-sizing: border-box;
    padding: 4px 3px;

    user-select: none;
}
.day_icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    gap: 3px;
    width: 100%;
    margin-top: 4px;
}

.day.is-active {
    /*border-color: #ffffff;*/
	background: rgb(192 0 0);
    /*outline: 2px solid rgba(25, 118, 210, 0.8);*/
}

.day.is-disabled {
    background: grey;
    /*opacity: 0.75;*/
}

/*
.day:focus {
    outline: 2px solid rgba(25, 118, 210, 0.9);
    outline-offset: 2px;
}*/

.day_label {
    font-size: 0.68rem;
    line-height: 1.1;
    color: #ffffff;
    text-align: center;
    white-space: nowrap;
    margin-bottom: 3px;
}

.day_cloud,
.day_term,
.day_wind {
    width: 42px;
    height: 26px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.day_cloud {
    margin-top: 1px;
}

.day_term {
    margin-top: 1px;
}

.day_wind {
    margin-top: 1px;
}

/* ------------------------------------------
   seznam poslednich lokalit
   ------------------------------------------- */
.archive-search-results-title {
	padding: 7px 10px 4px;
	font-size: 12px;
	font-weight: 600;
	color: #667085;
}

.archive-recent-location {
	width: 100%;
	text-align: left;
}

/* ------------------------------------------
   nazev vybrane lokality
   ------------------------------------------- */
.current-location-box {
    display: flex;
    align-items: center;    
    gap: 8px;    
    flex: auto;    
}

.current-location-label {
    font-size: 0.68rem;
    color: #607d8b;
    line-height: 1.1;
}

.current-location-name_vertical,
.current-location-name {
    flex: 1 1 auto;
    width: 50%;
    font-size: 0.90rem;
    font-weight: 500;
    color: white;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.current-location-name_vertical{
    display: none;
}	

.current-model_vertical,
.current-model {
    flex: 1 1 auto;
    width: 20%;
    font-size: 12px;    
    color: white;
    /*white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;*/
    text-align: center;
}

.current-model_vertical{
    /*display: none;*/
}	


.current-location-coords {          
    color: white;
	font-size: 14px;
    width: 25%;    
    text-align: center;
}

.flyToCurrentPosition {
    /* width: 30px; */
    width: 16%;
    height: 33px;
    /* padding: 4px; */
    background-image: url(../pics/menu_navigation/menu_bar_gps.png);
    /* background-color: #ff6600; */
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    /* background-origin: content-box; */
    /* align-self: center; */
    /* border-radius: 5px; */
}

/* -------------------------------------------------------------------------
   Toolbar / buttons / icons
   ------------------------------------------------------------------------- */

#archiveSettingsVerBtn,
#archiveSettingsMapBtn{
  display: none;
}

.archive-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.archive-toolbar button {
    padding: 18px 6px;
    border-radius: 8px;
    border: 1px solid #ccd6e0;
    background: #1383c6;
    fill: white;
}

.icon-button,
.icon-button-fullscreen,
.icon-button-menu,
.icon-button-map {
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 34px;
    padding: 0 12px;
    border: 0;
    border-radius: 999px;
    background: #ffffff00;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
}

.icon-button-fullscreen {
    /*display:none;*/ 
    align-items: center;
    justify-content: center;
	margin-top: 3px;
    border: 0;    
    background: #ffffff00;
    color: #ffffff;    
    cursor: pointer;    
}

.icon-button-menu {
    display:none;
    align-items: center;
    justify-content: center;
	margin-top: 3px;
    border: 0;    
    background: #ffffff00;
    color: #ffffff;    
    cursor: pointer;    
}

.icon-button-map {
    display: none;
}

/*
.icon-button:hover,
.icon-button-map:hover {
    background: #fbb040;
    color: #111827;
}
*/

.ui-icon {
    width: 32px;
    height: 32px;
    fill: rgb(240 240 240);
    /*flex: 0 0 auto;
    margin-top: 0;*/
}

/* mobile-only map button hook */
.archive-side-toggle {
    display: none;
}

/* -------------------------------------------------------------------------
   Archive picker / search autocomplete
   ------------------------------------------------------------------------- */

.archive-picker {
    position: relative;
    flex: 1 1 320px;
    min-width: 240px;
}

.archive-search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 38px 10px 12px;
    border-radius: 10px;
    border: 0px;
    background: white;
    font-size: 15px;
	background: #f4f7fb;
}

.archive-search-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.archive-search-list,
.archive-search-clear {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 43px;
    height: 24px;
    border: 0;
    border-radius: 999px;
    background: #eef2f6;
    color: #475467;
    cursor: pointer;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    line-height: 1;
    padding: 0;
}

.archive-search-list {
  right: 50px;
}

.archive-search-clear:hover {
    background: #1383c6; 
}

.archive-search-list:hover {
	background: #d9e2ec;
    color: #ff2a37;
}

/*
.archive-search-clear.hidden {
    display: none;
}
*/

.archive-search-results {
    position: absolute;
    z-index: 9999;
    top: calc(100% + 4px);
    left: 0;
    right: 0;
    max-height: 320px;
    overflow-y: auto;
    background: white;
    border: 1px solid #ccd6e0;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(18, 38, 63, 0.18);
}

.archive-search-results.hidden {
    display: none;
}

.archive-search-item {
    padding: 10px 12px;
    cursor: pointer;
    border-bottom: 1px solid #edf2f7;
}

.archive-search-item:hover,
.archive-search-item.is-active {
    background: #eef4ff;
}

.archive-search-item-title {
    font-weight: bold;
    color: #1f2a37;
}

.archive-search-item-sub {
    margin-top: 2px;
    font-size: 13px;
    color: #667085;
}

.archive-search-empty {
    padding: 12px;
    color: #667085;
}

/* -------------------------------------------------------------------------
   Archive selects / info
   ------------------------------------------------------------------------- */
 .archive-settings-panelDDD {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    box-sizing: border-box;
}

.archive-settings-section {
    display: flex;
    flex-direction: column;
    gap: 6px;

    padding: 10px 12px;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;

    background: rgba(255, 255, 255, 0.06);
}

.archive-settings-section-title {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;

    color: rgba(255, 255, 255, 0.78);

    margin-bottom: 3px;
}

.archive-settings-item {
    display: flex;
    align-items: center;
    justify-content: space-between;

    width: 100%;
    min-height: 28px;

    padding: 5px 20px 5px 2px;
    box-sizing: border-box;

    cursor: pointer;
}

.archive-settings-item input {
    flex: 0 0 auto;
    margin-right: 10px;
}

.archive-settings-item span {
    flex: 1 1 auto;

    font-size: 0.9rem;
    line-height: 1.2;

    color: rgba(255, 255, 255, 0.92);
} 

#archiveModelSelect {
    padding: 14px 0 10px 10px;
    border-radius: 8px;
    background: #f4f7fb;
    border: 0px;
}
   
/*.archive-settings-panel-sub{
	margin-bottom: 10px;
    padding: 14px;
    border-radius: 14px;
    background: #f4f7fb;
    border: 1px solid #d9e2ec;
}

#archiveItemSelect,
#archiveModelSelect {
    padding: 14px 0 10px 10px;
    border-radius: 8px;
    background: #f4f7fb;
    border: 1px solid #d9e2ec;
}

#archiveItemSelect {
    margin-bottom: 14px;
}

.archive-info-panel {
    margin-bottom: 10px;
    padding: 14px;
    border-radius: 14px;
    background: #f4f7fb;
    border: 1px solid #d9e2ec;
}

.archive-info-panel h2 {
    margin: 0 0 6px;
}

#archiveInfoBtn{
	 display: none;
}


#archiveMeta {
    color: #667085;
    font-size: 14px;
}

#archiveXcontest {
    margin-top: 8px;
    font-weight: bold;
}*/

/* -------------------------------------------------------------------------
   Archive layout / side panel
   ------------------------------------------------------------------------- */
/*
.archive-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
*/
.archive-layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 14px;
	align-items: stretch;
	
	/*height: 65dvh; */
}

/*.archive-forecast,
.archive-side {
    min-height: 700px;
	height: 100%;
    max-height: 800px;
    border-radius: 16px;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
    border: 1px solid #d9e2ec;
    overflow: hidden;	
}*/

.archive-forecast,
.archive-side {
	/*min-height: 700px;
	height: clamp(700px, 75vh, 800px);
	max-height: 800px; */
    position: relative;
	border-radius: 16px;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	border: 1px solid #d9e2ec;

	box-sizing: border-box;
	overflow: hidden;
}

.archive-forecast > .frame .flex-container {
	position: relative;

	width: 100%;
	height: 100%;
	min-height: 0;

	box-sizing: border-box;
	overflow: hidden;
}


.archive-side-mobile-header {
    display: none;
}

.archive-forecast.is-fullscreen {
    position: fixed;
    inset: 0;
    z-index: 99999;
    width: 100vw;
    height: 100dvh;
    background: white;
    overflow: auto;
    padding: 0;
}



body.archive-fullscreen-active {
    overflow: hidden;
}

/* -------------------------------------------------------------------------
   Pressure map placeholder
   ------------------------------------------------------------------------- */

.pressure-map-wrap {
    position: relative;
    width: 100%;
    min-height: 220px;
    border-radius: 14px;
    overflow: hidden;
}

#pressureImage {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.pressure-placeholder {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    text-align: center;
    font-size: 17px;
    font-weight: 600;
    color: #4d4d4d;
}

.pressure-placeholder.hidden {
    display: none;
}

/* -------------------------------------------------------------------------
   Settings panel
   ------------------------------------------------------------------------- */

.archive-settings-panel {
    display: none;
    flex-wrap: wrap;
    gap: 14px 10px;
    background: #0074e4;
    position: absolute;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #d9e2ec;
    z-index: 3;
	width: max-content;
	
	max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
	
	max-height: calc(100dvh - 43px - 12px);        
}
.archive-settings-panel.is-open {
    display: block;
}

.archive-settings-panel label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    white-space: nowrap;
}

.cancel_settings-pane {
    position: absolute;
    top: 8px;
    right: 8px;

    width: 28px;
    height: 28px;
    padding: 0;
    margin: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    color: #334155;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;

    z-index: 2;
}

.cancel_settings-pane:hover {
    background: rgba(255, 255, 255, 0.95);
}


/* -------------------------------------------------------------------------
   Forecast main layout
   ------------------------------------------------------------------------- */

.main-container {
    display: flex;  
    flex-direction: column;
    justify-content: start;
	height: 100%;
}

.topbars {
	flex: 0 0 40px;
    width: 100%;
    height: 40px;
    min-height: 40px;
    display: flex;
    z-index: 2;
    justify-content: space-between;
    background-image: linear-gradient(to right, #888, #888);
    color: white;
    border-radius: 8px 8px 0 0;
    position: relative;
    box-sizing: border-box;
    align-items: center;
   /* gap: 8px;*/
}

.forecast-container {
    display: flex;
    flex-direction: column;	
	height: 100%;
}

.topmenu {
    width: 100%;
    position: relative;
    z-index: 1;
}
/*
.navi-menu {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    height: 80px;
    background-image: linear-gradient(to right, #959595, #959595);
    box-sizing: border-box;
    color: white;
    font-size: 11px;	
	position: relative;
    z-index: 1;
}
*/

.navi-menu {
	flex: 0 0 80px;

	display: flex;
	justify-content: space-around;
	align-items: center;
	flex-wrap: nowrap;

	width: 100%;
	height: 80px;
	min-height: 80px;

	background-image: linear-gradient(to right, #959595, #959595);
	box-sizing: border-box;
	color: white;
	font-size: 11px;

	position: relative;
	z-index: 1;
}

.navi-menu div {
    flex: 1;
    text-align: center;
    cursor: pointer;
}

.navi-menu div:nth-child(5) {
    flex: 1.9;
    height: 110%;
}

.navi-menu img {
    height: 34px;
    width: auto;
}

.navi-menu div > div {
    font-size: 110%;
}

.frame {
    flex: 1;
    min-width: 150px;
    height: 100%;
    box-sizing: border-box;
    display: block;
    cursor: crosshair;
}

.archive-forecast > .frame {     
    width: 100%;	
	height: 53dvh !important;    
    box-sizing: border-box;
    overflow: hidden;
    cursor: crosshair;		
}

/*
.archive-forecast > .frame {
	flex: 1 1 0;
	min-height: 0;

	width: 100%;
	height: auto !important;

	box-sizing: border-box;
	overflow: hidden;

	cursor: crosshair;
}
*/

#position,
#models,
#autocomplete-container,
#autocomplete-clear {
    display: flex;
    justify-content: center;
    align-items: center;
}

#position {
    width: 100%;
    font-size: 14px;
}

#cursor {
    width: 20px;
    height: 20px;
    position: absolute;
    pointer-events: none;
    background-image: url(../pics/cursor_cross.png);
}

/* -------------------------------------------------------------------------
   Vertical scale slider, finger
   ------------------------------------------------------------------------- */

.finger {
	display: none;
    position: absolute;
    top: 140px;
    z-index: 30;
    width: 12%;
    height: 60%;
    right: 0;
    border-top-left-radius: 45px;
    border-bottom-left-radius: 41px;
	
	background: radial-gradient(circle, rgb(250 250 250 / 35%) 1px, #00000000 2.0px), rgb(255 255 255 / 6%);
    background-size: 10px 10px, auto;
	background-position: center; 	
}

#scale_levels {
    position: absolute;
    /* left: calc(50% - 60px); */
    /* top: 42%; */
    /* transform: translateY(-50%); */
    z-index: 40;
    width: 36px;
    height: 201px;
    right: 50px;
    top: 200px;
}

#scale_levelsDDD {
    position: absolute;
    left: calc(50% - 60px);
    top: 42%;
    transform: translateY(-50%);
    z-index: 40;
    width: 36px;
    height: 201px;
}

.seek_vertical {
    /* display: block; */
    /* width: 100%; */
    /* padding-left: 30%; */
    /* box-sizing: border-box; */
}

.seek_vertical input {
	-webkit-appearance: none;
    background-color: #fafafa57;
    width: 15vh;
    height: 17px;
    /* margin-top: 100%; */
    transform-origin: 106px 95px;
    transform: rotate(-90deg);
    /* display: flow-root; */
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #55555545;
    outline: none;
	
  /*  -webkit-appearance: none;
    background-color: #fafafa57;
    width: 15vh;
    height: 12px;
    margin-top: 100%;
    transform-origin: 140px 100px;
    transform: rotate(-90deg);
    display: flow-root;
    box-sizing: border-box;
    border-radius: 5px;
    border: 1px solid #55555545;
    outline: none;*/
	
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: #fffe;
    border-radius: 15px;
    border: 1px solid #999;
}

/* -------------------------------------------------------------------------
   Canvas layout
   ------------------------------------------------------------------------- */

.flex-container {
    display: flex;
   /* justify-content: center;*/
    align-items: flex-end;
    position: relative;	
	/*height: 90%;  // todo 30 */  
	height: 100%;
}

.flex-container canvas {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#windAxisCanvas,
#tempAxisCanvas,
#humiAxisCanvas,
#termAxisCanvas,
#cludAxisCanvas {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

#termAxisCanvas,
#cludAxisCanvas {
    background: transparent;
}

#windCanvas,
#tempCanvas,
#humiCanvas,
#termCanvas,
#cludCanvas {
    width: 100%;
}

#termCanvas,
#cludCanvas {
    background-image: linear-gradient(to top, #d2d2d2, #d2d2d2);
}

.canvas-container {
    position: relative;
}

.canvas-container canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

#cludCanvasNavi,
#axisCanvas {
    width: 100%;
    aspect-ratio: auto !important;
}

#axisCanvas {
    z-index: 1;
}

/* -------------------------------------------------------------------------
   Time / scales
   ------------------------------------------------------------------------- */
#hours {
	flex: 0 0 20x;

	float: none;

	width: 100%;
	height: 20px;	

	box-sizing: border-box;
	font-size: 13px;
}

.archive-scale {
	flex: 0 0 28px;

	float: none;

	width: 100%;
	height: 28px;
	min-height: 28px;

	font-size: 14px;
	box-sizing: border-box;
}


.time-table {
    width: 100%;
    height: 100%;
    border-collapse: collapse;
    /*background-color: #aaa;*/
    /*border-radius: 8px;
    border-top: 2px solid #fff;
	font-size: 12px;*/
}

.time-table td {
    width: 4.17%;
    text-align: center;
    color: #000;
    height: 16px;
}

.vl {
    font-size: 7px;
}

.v0 {
    width: 2.0% !important;
}

.used_scale,
.pmsl_scale,
.cape_scale,
.cllh_scale,
.ccl_scale,
.conv_scale,
.rain_scale,
.humi_scale,
.temp_scale,
.term_scale,
.wind_scale,
.clud_scale {
    float: left;
    background-size: 100% 100%;
    width: 100%;
    border-radius: 8px;
    border-top: 2px solid #fff;
    height: 5%;
    max-height: 30px;
	
	width: 100%;
    height: 100%;
    color: #fff;
    table-layout: fixed;
    text-align: center;
}

.humi_scale {
    background-image: url(../pics/scales/scale_humi.png);
}
.temp_scale {
    background-image: url(../pics/scales/scale_temp.png);
}
.term_scale {
    background-image: url(../pics/scales/scale_term.png);
}
.wind_scale {
    background-image: url(../pics/scales/scale_wind.png);
}
.clud_scale {
    background-image: url(../pics/scales/scale_clouds_d.png);
}
.pmsl_scale {
    background-image: url(../pics/scales/scale_pmsl.png);
}
.used_scale {
    background-image: url(../pics/scales/scale_nice2.png);
}
.cape_scale {
    background-image: url(../pics/scales/scale_cape.png);
}
.cllh_scale {
    background-image: url(../pics/scales/scale_cllh.png);
}
.ccl_scale {
    background-image: url(../pics/scales/scale_ccl.png);
}
.conv_scale {
    background-image: url(../pics/scales/scale_conv.png);
}
.rain_scale {
    background-image: url(../pics/scales/scale_rain.png);
}


.humiTableScale,
.cloudsTableScale,
.tempTableScale,
.termTableScale,
.windTableScale {
    width: 100%;
    height: 100%;
    color: #fff;
    table-layout: fixed;
    text-align: center;
}

.windTableScale tr {
    vertical-align: middle;
}

/* -------------------------------------------------------------------------
   Manual button / tooltip
   ------------------------------------------------------------------------- */
.manVerticals {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    position: relative;   
    top: -85%;
    left: 3%;
    background: rgba(255, 255, 255, 0.5); /
    color: #237ae7;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    z-index: 1;
    font-size: 0;
}

.manMaps {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    position: relative;
    top: calc(-85% + 30px);
    left: 3%;
    background: rgba(255, 255, 255, 0.5);	
    color: #237ae7;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    z-index: 991;
    font-size: 0;    
}


.man-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.man::after {
    content: attr(data-tooltip);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 8px);
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.5);
    color: #888;
    padding: 6px 9px;
    border-radius: 8px;
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    z-index: 99999;
}

.man::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: calc(100% + 3px);
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(20, 30, 45, 0.95);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    z-index: 99999;
}

.man:hover::after,
.man:hover::before,
.man:focus-visible::after,
.man:focus-visible::before {
    opacity: 1;
}

.man:hover::after,
.man:focus-visible::after {
    transform: translateX(-50%) translateY(-2px);
}



/* -------------------------------------------------------------------------
   Desktop / tablet
   ------------------------------------------------------------------------- */

@media (min-width: 769px) {
    .forecast-container {
        flex-direction: row;
    }

    .frames-container {
        flex: 1;
        display: flex;
        flex-direction: column;
		height: 100%;
    }
}


/* -------------------------------------------------------------------------
Auth modal - beta style
------------------------------------------------------------------------- */

#forecastAuthModal.modal {
display: none;
position: fixed !important;
inset: 0 !important;


width: 100vw !important;
height: 100dvh !important;

z-index: 2147483000 !important;

background: rgba(0, 0, 0, 0.45) !important;

align-items: flex-start;
justify-content: center;

padding: 6vh 16px 24px;
box-sizing: border-box;

overflow-y: auto;

opacity: 1 !important;
visibility: visible !important;
pointer-events: auto !important;

transform: none !important;


}

#forecastAuthModal.modal.is-open {
display: flex !important;
}

#forecastAuthModal .modal-content {
position: relative !important;


width: min(92vw, 580px) !important;
max-height: 88vh;
overflow-y: auto;

margin: 0 auto !important;
padding: 22px !important;

background: #ffffff !important;
color: #1f2933 !important;

border: 1px solid rgba(0, 0, 0, 0.15) !important;
border-radius: 14px !important;

box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35) !important;

opacity: 1 !important;
visibility: visible !important;
transform: none !important;


}

#forecastAuthModal .close {
position: sticky;
top: 0;
float: right;


width: 34px;
height: 34px;

border: 0;
border-radius: 999px;

color: #555;
background: #f2f2f2;

font-size: 28px;
font-weight: bold;
line-height: 30px;
text-align: center;

cursor: pointer;
z-index: 2;


}

#forecastAuthModal .close:hover {
color: #000;
background: #e2e2e2;
}

.forecast-auth-modal-content {
text-align: left;
}

.forecast-auth-title {
margin: 8px 42px 12px 0;
font-size: 1.25rem;
line-height: 1.25;
color: #111827;
}

.forecast-auth-message {
margin: 0 0 18px;
font-size: 0.95rem;
line-height: 1.45;
color: #374151;
}

.forecast-auth-google-box {
margin: 18px 0 18px;
padding: 14px;
border-radius: 12px;
background: #f7f9fc;
border: 1px solid rgba(0, 0, 0, 0.08);
}

.forecast-auth-section-title {
margin: 0 0 12px;
font-size: 0.95rem;
font-weight: 700;
color: #111827;
}

.forecast-auth-options {
display: flex;
flex-direction: column;
gap: 12px;
margin-top: 14px;
}

.forecast-auth-option {
padding: 14px;
border-radius: 12px;
background: #f4f7fb;
border: 1px solid rgba(25, 118, 210, 0.16);
}

.forecast-auth-option-title {
margin: 0 0 8px;
font-size: 1rem;
line-height: 1.25;
color: #111827;
}

.forecast-auth-option-text {
margin: 0;
font-size: 0.92rem;
line-height: 1.45;
color: #374151;
}

.forecast-auth-pay-button {
display: inline-flex;
align-items: center;
justify-content: center;


margin-top: 12px;
padding: 10px 18px;

border-radius: 999px;

background: #0074e4;
color: #fff !important;

text-decoration: none;
font-weight: 700;
line-height: 1.2;

}

.forecast-auth-pay-button:hover {
background: #005bb5;
color: #fff !important;
}

.forecast-auth-note {
margin: 18px 0 0;
font-size: 0.78rem;
line-height: 1.35;
color: #6b7280;
}

/* Legacy beta message classes - kept harmless for compatibility */
#forecastAuthModal .modal-message_cur {
color: #005dfd;
font-size: 14px;
font-style: italic;
}

#forecastAuthModal .modal-message_bold {
font-size: 18px;
font-weight: bold;
margin-top: 32px;
margin-bottom: 16px;
}

#forecastAuthModal .modal-message_big {
font-size: 14px;
font-weight: bold;
margin-bottom: 12px;
}

#forecastAuthModal .modal-message_small1,
#forecastAuthModal .modal-message_small2 {
font-size: 14px;
}




/* -------------------------------------------------------------------------
Mobile forecast layout
Breakpoint: 768px
Forecast is default. Map replaces forecast.
------------------------------------------------------------------------- */

@media (max-width: 768px) {

	#body-wrapper .container {
		padding: 0rem 0 0rem;
	}

	.header-fixed #header {
		 display: none;
	}
	.header-fixed .mobile-menu { 
		display: none;
	}
	.header-fixed .hero {    
		display: none;
	}

	.widget-summary-close {    
		right: 48px;
		top: 2px;    
		width: 30px;
		height: 30px;    
	}

	#aeroxc-inside {
		width: 100%;
		
		height: 98dvh;
		min-height: 98dvh;
		
		display: flex;
		flex-direction: column;

		box-sizing: border-box;
		overflow: hidden;
		
		border-radius: 8px;
		border: 2px solid transparent;
		background: white;	

		padding-top: 0px;		
	}		
	
	#aeroxc-main:fullscreen #aeroxc-inside {
	/*	width: 100%;
		max-width: 1400px;
		max-height: 800px;
		height: 100%;
		*/
		padding-top: 0px;
}
	/*
	#aeroxc-main:fullscreen #aeroxc-inside {
		width: 100%;
		max-width: 1400px;
		max-height: 800px;
		height: 100%;  
		padding-top: 50px;
	}

	#aeroxc-main:fullscreen #aeroxc-inside #archive-layout #frame_wind {     
		width: 100%;	
		height: 62dvh !important;    
		box-sizing: border-box;
		overflow: hidden;
		cursor: crosshair;		
		background: magenta;
	}	*/
	
		

	.icon-button-fullscreen {
		display:block;
	}

	.icon-button-menu {
		display:block;
	}

	#aeroxc-inside:fullscreen {
		width: 100vw;
		height: 100dvh;
		background: white;		
	}

	.archive-forecast {
		display: flex;
		flex-direction: column;
		min-width: 0;
		height: 100%;
	}

/*
	.archive-toolbar {
		position: absolute;
		left: 0;
		top: 0;
		bottom: auto; 
		width: 95.5%;
		height: 55%;		
		display: flex; 
		flex-direction: column; 
		align-items: stretch; 
		gap: 9px;
		padding: 15px 8px 7px;        
		margin: 3px 10px 10px 10px;
		box-sizing: border-box;
		background: #cfcfcf;
		border: 1px solid #d9e2ec;
		border-radius: 14px 14px 14px 14px;
		box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);
		overflow-y: auto;
		transform: translateX(calc(-100% - 12px));
		transition: transform 0.22s ease;
		z-index: 55;
		}	
	*/
	
	.archive-toolbar {
		position: absolute;
		left: 0;
		top: 40px;
		width: 95.5%;

		height: auto;
		min-height: 112px;

		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 9px;

		padding: 15px 8px 10px;
		margin: 3px 10px 10px 10px;
		box-sizing: border-box;

		background: #cfcfcf;
		border: 1px solid #d9e2ec;
		border-radius: 14px;
		box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22);

		overflow: visible;
		transform: translateX(calc(-100% - 12px));
		transition: transform 0.22s ease;
		z-index: 5000;
	}

	.current-location-coords {          
		display:none;
	}


#archive-toolbar.mobile-menu-open {
    transform: translateX(0);
}

.archive-picker {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}

.archive-search-input {
    flex: 1 1 auto;
    min-width: 0;
}

#archiveSearchResults {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 6px);

    max-height: 230px;
    overflow-y: auto;

    background: #ffffff;
    border: 1px solid #d9e2ec;
    border-radius: 10px;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);

    z-index: 6000;
}

#currentModelVertical{
	display:block;
}

#currentLocationMenuMap{
	display:block;
}

#currentLocationMenuVertical{
	display:block;
}

#archiveFullscreenForBtn{
	display:block;
}

.mobile-switch-btn {
    position: absolute;
    right: 8%;
    top: 180px;

    width: 42px;
    height: 42px;
    min-width: 36px;
    min-height: 36px;
	
	fill: #FFF;

    padding: 0;
    margin: 0; 
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;

    line-height: 1;
	z-index: 50;
}

/*
#switchToMapBtn{
    position: absolute;
	display: block;
    top: 200px;
    z-index: 50;
    right: 5%;
    width: 50px;
    height: 50px;	
}

#switchToVerBtn{
    position: absolute;
	display: block;
    top: 200px;
    z-index: 50;
    right: 5%;
    width: 50px;
    height: 50px;	
}
*/

#archiveSearchResults.hidden {
    /*display: none !important;*/
}
	
	#aeroxc-inside.mobile-menu-open .archive-toolbar {
			transform: translateX(0);
		}
		
	#archive-toolbar.mobile-menu-open {
		transform: translateX(0) !important;
	}

	
	#archiveSideToggle{
		display: none;
	}

	#archiveSettingsBtn{
		display: none;
	}
	
	#archiveSideToggle{
		display: none;
	}

	.archive-picker {
		flex: none;
		min-width: 0;
	    order: 1;
	}
		
	.frame {
			display: flex;
			flex-direction: column;
			flex: 1 1 auto;
			height: auto !important;
			min-height: 0;
			overflow: hidden;
			cursor: crosshair;
		}

	.archive-layout {
			display: block;

			flex: 1 1 auto;
			min-height: 0;

			width: 100%;
			box-sizing: border-box;

			overflow: hidden;
		}

	.finger {
			display: block;
		}
		
	#aeroxc-main:fullscreen #aeroxc-inside #archive-layout #archive-forecast #finger-ver {
		display: none;
	}
	
	#aeroxc-main:fullscreen #aeroxc-inside #archive-layout .archive-side #finger-map {
		display: none;
	}	
		
	#archiveSettingsVerBtn,
	#archiveSettingsMapBtn{
		display: block;
	}	

/* ----------------------------------------
			maps
------------------------------------------*/
	.archive-side {
		display: flex;
		flex-direction: column;

		min-width: 0;
		height: 100%;

		position: relative;
		overflow: hidden;
	}

	#frame_maps {
		display: flex;
		flex-direction: column;

		flex: 1 1 auto;
		min-height: 0;

		width: 100%;
		height: 100%;

		position: relative;
		overflow: hidden;
	}

	#map {
		flex: 1 1 auto;
		min-height: 0;

		width: 100%;
		height: auto;

		position: relative;
		overflow: hidden;
		
		margin-bottom: 1px; /*todo:hack*/
	}

	#scale_map {
		flex: 0 0 28px;

		margin-bottom: 3px;
		width: 100%;
		height: 28px;
		font-size: 12px;
				
		box-sizing: border-box;
	}

	.menu-container {
		position: absolute;
		right: 8px;	
		bottom: 150px;
		z-index: 30;	
		width: min-content;
		height: max-content;
	}

	.manMaps {
		position: absolute;		
		top: 13%;		
	}

	.mapboxgl-map,
	.mapboxgl-canvas-container,
	.mapboxgl-canvas {
		width: 100% !important;
		height: 100% !important;
	}


	/*****switch********/
	#aeroxc-inside.mobile-view-forecast .archive-forecast {
		display: flex;
	}

	#aeroxc-inside.mobile-view-forecast .archive-side {
		display: none;
	}

	#aeroxc-inside.mobile-view-map .archive-forecast {
		display: none;
	}

	#aeroxc-inside.mobile-view-map .archive-side {
		display: flex;
	}


	#hours {
		flex: 0 0 20px;
		height: 20px;
	}

	#archiveScale {
		flex: 0 0 28px;
		height: 28px;
		margin-bottom: 3px;
		font-size: 12px;
	}

	#scale_levels {
		display: none;
	}

	#windCanvas,
	#tempCanvas,
	#humiCanvas,
	#termCanvas,
	#cludCanvas {
		touch-action: none;
	}

	.mobile-headline-menu {
		display: none;
	}

/* ---------------------------------------------------------------------
   Days
   --------------------------------------------------------------------- */

	#aeroxc-inside .days {
		flex: 0 0 auto;

		display: flex;
		width: 100%;

		overflow-x: auto;
		overflow-y: hidden;
		
		padding: 0px 1px 4px;
		margin: 0px 0 0;

		box-sizing: border-box;
		-webkit-overflow-scrolling: touch;
		background: white;
		}

	#aeroxc-inside .day {
		flex: 0 0 130px;
		min-width: 130px;
		height: 55px;
		min-height: 55px;
		}

	.day_label {
		font-size: 0.68rem;
		line-height: 1.1;
		color: #ffffff;
		text-align: center;
		white-space: nowrap;
		margin-bottom: 1px;
	}

	.topbarLeft {
		margin-right: 0;
	}

	.time-table {
		font-size: smaller;
	}

	.windTableScale {
		font-size: smaller;
	}

	.navi-menu div > div {
		font-size: 14px;
	}

    #position {
        font-size: 14px;
        width: 50%;
        display: none;
    }
	
	.current-location-name_vertical{
		display: block;
		width: 50%;
	}	

/* ---------------- newHTML hhhhh---------------------------------------   
   --------------------------------------------------------------------- */

	#currentLocationBox {
		flex: 1 1 auto;
		min-width: 0;
	}

	#archiveSettingsBtn,
	#archiveSideToggle {
		flex: 0 0 auto;
	}

	#archiveModelSelect {		
		min-width: 120px;
		order:0;
	}

	.icon-button-map {
		display: inline-flex;
	}

	.archive-search-resultsDD {
        max-height: 55vh;
        height: 307px;
        display: block;
        background: red;
        position: relative;
	    z-index: 2147483647 !important;
	}
	
	 #archiveSearchResults {
		 position: fixed !important;
        left: 10px !important;
        right: 10px !important;
        top: 114px !important;
        width: auto !important;
        height: max-content;        
        overflow-y: auto !important;        
        display: block;
        visibility: visible;
        opacity: 1;
        background: #ffffff;
        border: 1px solid #d9e2ec;
        border-radius: 10px;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
		 
     /*   position: fixed !important;
        left: 10px !important;
        right: 10px !important;
        top: 95px !important;
        width: auto !important;
        max-height: 55vh !important;
        overflow-y: auto !important;
        z-index: 2147483647 !important;

        display: block;
        visibility: visible;
        opacity: 1;

        background: #ffffff;
        border: 1px solid #d9e2ec;
        border-radius: 10px;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
	*/	
	  /*  height: 200px;
        background: red; */
    
    }

/* ---------------------------------------------------------------------
   Floating panels
   --------------------------------------------------------------------- */

	.archive-info-panel {
		margin: 0;
		position: absolute;
		z-index: 30;
		display: none;
		left: 17px;
		right: 23px;
		margin-bottom: 0;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
	}

	.archive-info-panel.is-open {
		display: block;
	}

	.archive-settings-pane {
		flex: 0 0 auto;
		height: -webkit-fill-available;
		z-index: 50;
		left: 17px;
		right: 23px;
		margin-bottom: 0;
		overflow-y: auto;
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
	}
	
	/*---------------------------------
	 prepinani map -Forecast
	 --------------------------------*/
	 
	#aeroxc-inside.mobile-view-map .archive-side {
        display: flex;
    }

    #aeroxc-inside.mobile-view-map .archive-forecast {
        display: none;
    }

    #aeroxc-inside.mobile-view-forecast .archive-side {
        display: none;
    }

    #aeroxc-inside.mobile-view-forecast .archive-forecast {
        display: flex;
    }

}
