/********** general elements **********/

/** {
    outline: 1px solid red;
  }*/

html {
    font-size: 16px;
    min-height: 100%;
}
    
body {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-image: linear-gradient(to bottom, #fffcee 0px, #ffffff 900px);
    text-align: left;
    color: #000000;
    /* overflow-x: hidden; */
    line-height: 1.3;
}

a {
    outline:none;
    color: #0022AA;
    text-decoration: none;
}
a:visited {
    color: #0022AA;
}
a:hover {
    text-decoration: underline;
}

a img:hover{
border: 1px solid #555555;
}

a img{
border: 1px solid #aaaaaa;
}

.content img{
margin: 5px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    text-align: center;
    color: #000000;
}
h1 { /*main heading, larger font, centered*/
    font-size:1.5rem;
    line-height:1;
    margin-bottom:0.5rem;
    text-decoration: underline;
}
h2 { /*small heading, bold and underlined*/
    font-size: 1.0rem;
    font-weight:bold;
    margin-bottom:0.5rem;
    text-decoration: underline;
    text-align: left;
}
h3 { /*small heading, bold and underlined and red*/
    font-size:1.0rem;
    font-weight:bold;
    color: red;
    margin-bottom:0.5rem;
    text-decoration: underline;
    text-align: left;
}
h4 {
    font-size: 1.0rem;
    font-weight:bold;
    margin-bottom:0.5rem;
    margin-top:0.2rem;
    text-decoration: underline;
    text-align: left;
}

p {
    margin-top: 3px;
    margin-bottom: 7px;
}

td {
    vertical-align: top;
}

ul{
    list-style-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='-1 -1 2 2'><circle r='0.5' cy='-0.2' /></svg>");
    margin-top: 3px;
    margin-bottom: 7px;
    padding-left: 40px;
}

li.menugroup {
    list-style-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='-6 -6 12 12'><polygon points='-1,-1 -5,-1 -5,1 -1,1 -1,5 1,5 1,1 5,1 5,-1 1,-1 1,-5 -1,-5'/></svg>");
    background-color: #eee;
}

.currentitem {
    background-color: #ccc !important;
}

.thanksbox1 {
    margin: 5px 20px 5px 100px;
    width: 100px;
    height: 100px;
    float: left;
    background-image: url('./images/tick.svg');

}

.thanksbox2 {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    height: 112px;
    margin-right: 50px;
}

/********** custom classes for template **********/

.sheet {
    position: relative;
    width: 1392px;
    margin: 0 auto;
    background-color: white;
    box-shadow: rgba(99, 99, 99, 0.1) 0px 2px 8px 0px;
    border: 1px solid #555555;
    border-radius: 2px 2px 2px 2px;
}

.sheet-header {
    height: 142px;
    background-image: linear-gradient(#f8c064, #ffdc98);
    border-bottom: 1px solid #999999;
}

.sheet-body {
    display: flex;
}

.logo {
    position: absolute;
    top: 10px;
    width: 100%;
    height: 120px;
    background-image: url('./images/logo.svg');
    background-position: 20%; /* Center the image */
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: cover;
}

.slogan{
    position: absolute;
    top: 10px;
    left: 10px;
    height: 22px;
    width: 100%;
    background-image: url('./images/logo_slogan.svg');
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: contain;
    }

.copyright{
    text-align: center;
    color: #888888;
}
    
.sidebar {
    margin-bottom: 10px;
}
    
.menu {
    margin: 10px 10px 0 10px;
    width: 280px;
    box-shadow: rgba(99, 99, 99, 0.1) 0px 2px 8px 0px;
    border: 1px solid #999999;
    border-radius: 2px 2px 2px 2px;
}
    
.menuhead {
    font-variant: small-caps;
    font-size: 1.3rem;
    background-image: linear-gradient(#f8c064, #ffdc98);
    padding-top: 3px;
    padding-bottom: 3px;
    text-align: center;
    border-bottom: 1px solid #999999;
}
    
.menubody {
    padding: 10px 13px 5px 13px;
    background-color: #eeeeee;
    font-size: 1rem;
}

.menubody ul{
    padding-left: 12px;
    margin-bottom: 0px;
    margin-top: 0px;
}

.menubody li{
    margin-bottom: 3px;
    margin-top: 3px;
}
    
.content {
    padding: 10px;
    width: 100%; 
}

.imtd {
    width: 310px;
}

ul.menulevel1 {
    border-left: 3px solid #ffb029;
    padding-left: 24px;
    margin-left: -13px;
    /*background-color: #ddd;*/
}

ul.menulevel2 {
    border-left: 3px solid #ffb029;
    padding-left: 24px;
    margin-left: -13px;
}


/********** custom classes for individual use **********/

.listmargin1 li {
    margin-top: 10px;
    margin-bottom: 5px;
}

.progressbar {
    text-align: center;
    margin-bottom: 20px;
}

.progressbarblock {
    display: inline-block;
    padding: 0 10px 0 10px;
    color: #aaaaaa;
}

.progressbararrow {
    display: inline-block;
    background-image:  url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij48cGF0aCBmaWxsPSIjYWFhYWFhIiBkPSJNMTMuMDI1IDFsLTIuODQ3IDIuODI4IDYuMTc2IDYuMTc2aC0xNi4zNTR2My45OTJoMTYuMzU0bC02LjE3NiA2LjE3NiAyLjg0NyAyLjgyOCAxMC45NzUtMTF6Ii8+PC9zdmc+");
    background-repeat: no-repeat; /* Do not repeat the image */
    background-size: contain;
    background-position: center; 
    width: 24px;
    height: 1.0em;
}

.progressbarblockmark {
    font-weight: bold;
    text-decoration: underline;
    color: #000000;
}
    
.tileview{
    list-style-type: none;
    list-style-image: none;
}
    
.rdiv {
    /* height:185px; */
    margin: 10px;
    float:left;
    border: 1px solid #dadada;
    background: #f0f0f0;
    text-align: center;
}

.rdiv:hover  {
    border: 1px solid #a7a7a7;
    background: #eeeeee;
    color: 1px solid #a7a7a7;
}
    
.rdiv img {
border: 1px solid #aaaaaa;
height: 150px;
}

.rdiv img:hover{
border: 1px solid #aaaaaa;
}

.rdiv p {
    padding: 0px;
    margin: -5px 5px 0px 5px;
    text-align: center;
    font-size: 1.2rem;
}

.addarticle {
border-left: 5px solid #ffb029;
padding: 3px 3px 3px 7px;
margin: -3px 5px 10px 3px;
display: inline-block;
}

.addarticle .span1{
    font-size: 1.3em;
    font-weight: bold;
}
.addarticle .span2{
    color:#666666;
    margin-bottom: 10px;
}

table.oltable {
margin-bottom: 20px;
}

table.oltable td{
    padding: 5px 10px;
}

table.oltable th{
    padding: 5px 10px;
    white-space: nowrap;
}

table.ydtable {
margin: 0 auto 20px auto;
}

table.ydtable td{
    padding: 5px 10px;
}

div.settings {
    display:grid;
    grid-template-columns: max-content max-content;
    grid-gap:5px;
    vertical-align: middle;
}
div.settings label {
    text-align:right;
    padding-top: 2px;
    min-width: 250px;
    color: #808080;
}

div.slabel {
    text-align:right;
    min-width: 250px;
    color: #808080;
}

div.settingsmerge {
    /* grid-column: span 2; */
    grid-column-start: 2;
}

input.aaa {
    margin-top: -3px;
}

input.settings, select.settings {
    margin-top: 0px;
    font-size: 1rem;
}

input[type="text"].settings {
    width: 300px;
}

select.settings {
    font-size: 1rem;
    width: 100px;
}

textarea.settings {
    font-size: 1rem;
    min-width: 300px;
    min-height: 3.5rem;
    font-family: inherit;
}

.wknavbuttons {
    margin-top: 20px;
}
.wksend {
    margin-top: 20px;
}

.wksend button{
    padding: 5px 10px;
    border-radius: 2px;
    border: 1px solid #999999;
    background-color: #60ff82;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 1rem;
}
/********** input form style **********/
form{
    margin: 0px;
}

input{
    font-size: 1rem;
    margin-top: 3px;
}

input[type="number"]  {
    padding: 5px 10px;
    border-radius: 2px;
    border: 1px solid #999999;
    width: 4em;
}

button {
    padding: 5px 10px;
    border-radius: 2px;
    border: 1px solid #999999;
    background-color: #e9e9e9;
    cursor: pointer;
    transition: background-color 0.2s ease;
    font-size: 1rem;
}

button:hover {
    background-color: #dadada;
}

/********** adaptive width **********/

@media (max-width: 1400px) {
    .sheet{width: 992px;}
    .menu{width: 200px;}
    .logo{background-position: 30%;}
}