body{
margin:0;
padding:0;

}

#logo{
z-index: 2;
position: absolute;
left: 90%;
top: 10px;
}

#logo .logo-portrait{ display: none; }

#topsection{
background: #ffffff;
height: 50px; 
z-index: 1;
}

#topsection h1{
margin: 0;
padding-top: 15px;
}

#contentwrapper{
float: left;
width: 100%;


}

#contentcolumn{
margin-left: 250px; 
height: 681px;
z-index: 1;
border-top-color: #f7c80b;
border-top-style: solid;
border-top-width: 5px;
background: #224490;
background-image:url(/first_files/bg.png);
background-repeat:no-repeat;
}

#leftcolumn{
float: left;
width: 250px; 
height: 681px;
margin-left: -100%;
background: #224490;
border-top-color: #f7c80b;
border-top-style: solid;
border-top-width: 5px;
background-image:url(/first_files/bg1.png);
background-repeat:no-repeat;
}

#footer{
clear: left;
width: 100%;
background: white;
color: black;
text-align: center;
padding: 4px 0;
border-top-color: #f7c80b;
border-top-style: solid;
border-top-width: 5px;
}

#footer a{
color: #FFFF80;
}

.innertube{
margin: 10px; 
margin-top: 0;
}

.headtext{
margin-top: 0;
margin-left: 250px;
color: #FFFFFF;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 19pt;
font-style: normal;
padding-top: 10px;

}

.leftcolumn_menu{
line-height: 10pt;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-style: normal;
font-size: 9pt;
text-align: right;
margin-right: 30px;
}

.leftcolumn_menu a{
color: #FFFFFF;
text-decoration: none;
}

.leftcolumn_menu a:hover{
text-decoration: underline;
}

.leftcolumn_menu li{
list-style:none;
margin-top: 9px;
margin-left: -10px;
}

.leftcolumn_menu img{
margin-top: 20px;
padding-bottom: 15px;
}

.headtube{
margin-left: 15px;
}

.headtube p{
line-height: 27pt;
margin-top: 20px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-style:normal;
color: white;
}
.headtube ul li{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-style:normal;
color: white;
}

.headtube p a{
line-height: 27pt;
margin-top: 15px;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 24pt;
font-style:normal;
color: white;
text-decoration: none;
}

.headtube p a:hover{
border-bottom:1px dotted #FFF;
}

.headtube em{
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10pt;
color: white;
line-height:1.2;

}

/* --- Mobile adaptation --- */
@media (max-width: 768px) {
    html, body { overflow-x: hidden; }

    #maincontainer {
        display: flex;
        flex-direction: column;
    }
    #logo     { order: 1; }
    #topsection { order: 2; }
    #leftcolumn { order: 3; }
    #contentwrapper { order: 4; }
    #footer   { order: 5; }

    #logo {
        position: static;
        left: auto;
        top: auto;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 20px;
        padding: 12px 15px;
        background: #224490;
    }
    #logo .logo-portrait { display: block; }
    #logo img {
        height: 130px;
        width: auto;
        max-width: 45%;
        object-fit: contain;
    }
    /* photo is now in the header — hide old leftcolumn instance */
    .leftcolumn_menu > img { display: none; }

    #topsection {
        height: auto;
        padding: 0;
    }
    .headtext {
        margin-left: 0;
        padding: 0 15px;
        font-size: 14pt;
        text-align: center;
    }

    #contentwrapper {
        float: none;
        width: 100%;
    }
    #contentcolumn {
        margin-left: 0;
        height: auto;
        background-image: none;
        padding-bottom: 20px;
    }
    #contentcolumn table,
    #contentcolumn tbody,
    #contentcolumn tr,
    #contentcolumn td {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }

    .headtube { margin-left: 0; padding: 15px; }
    .headtube p { line-height: 1.3; margin: 10px 0; }
    .headtube p a {
        font-size: 18pt;
        line-height: 1.3;
        margin-top: 0;
    }

    #leftcolumn {
        float: none;
        width: 100%;
        height: auto;
        margin-left: 0;
        background-image: none;
        padding: 15px 0;
        text-align: center;
        box-sizing: border-box;
    }
    .leftcolumn_menu {
        text-align: center;
        margin-right: 0;
        padding: 0 15px;
    }
    .leftcolumn_menu ul {
        padding: 0;
        margin: 10px 0;
    }
    .leftcolumn_menu li {
        margin-left: 0;
        margin-top: 12px;
        font-size: 11pt;
    }
    .leftcolumn_menu img {
        margin-top: 10px;
        padding-bottom: 10px;
        max-width: 140px;
        height: auto;
    }
}
