/* Web Styles */
* {
    box-sizing: border-box;
}
body {
    font-family: Helvetica, sans-serif;
    margin: 20px;
    font-size: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

a {
    color: black;
}

#contact th {
    text-align: right;
}

#contact td,
#contact th {
    padding-bottom: 4px;
}

#expertise th {
    text-align: left;
}

#undertitle {
    margin-top: 10px;
}

td {
    vertical-align: top;
}

h1 {
    font-family: 'Rubik Mono One';
    font-size: 24px;

    margin: 5px 0;
}
h1 .kirk {
    font-size: 74px;
    line-height: 70px;
    display: block;
}
h1 .israel {
    font-size: 52px;
    line-height: 30px;
}
h1.jobtitle {
    font-size: 30px;
}
.subtitle {
    text-align: justify;
    width: 98%;
}
.city {
    font-size: 22px;
    width: 260px;
}
.fulljustify {
    display: flex;
    justify-content: space-between;
    gap: 4px;
    align-items: center;
}

aside {
    width: 280px;
    margin-top: 0px;
    /*background-color: salmon;*/
    /* float: left; */
}
#main {
    /* background-color: red; */
    width: 520px;
    position: relative;
    left: 10px;
}
h2 {
    font-family: 'Rubik Mono One';
    font-size: 18px;
    background-color: #333399;
    color: white;
    max-width: 96%;
    margin: 5px 0;
    padding: 0px;
    padding-left: 8px;
    overflow: auto;
}
#page2 h2 {
    width:90%;   
}

.page {
    width: 816px;
    height: 1056px;
    /* background-color: #f3f3f3; */
    padding: 20px;
    display: inline-block;
}
.page.cols {
    display: inline-flex;
}

ul {
    padding-left: 12px;
    margin: 4px;
    margin-bottom: 8px;
    max-width: 95%;
}
#page2 ul {
    max-width: 90%;
}

li {
    padding-bottom: 8px;
}

ul.no-bull {
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
    margin-top: 0;
    max-width: 100%;
}

ul.no-bull li {
    padding-left: 0;
    margin-left: 0;
    padding-bottom: 8px;
}
#expertise ul.no-bull li {
    padding-bottom: 6px;
}
#overview ul.no-bull {
    padding-top: 10px;
    padding-left: 10px;
    width: 95%;
    line-height: 18px;
}
#overview ul.no-bull li:last-child {
    padding-bottom: 0;
}
.job-header {
    display: flex;
    justify-content: space-between;
    max-width: 95%;
    padding: 8px 0;
}
#page2 .job-header {
    width: 85%;
}

.job-header strong {
    text-transform: uppercase;
    width: 40%;
}
.job-header em {
    width: 35%;
}



#banner {
    /*position: fixed;*/
    top: 0;
    
    /*left: 50%;*/
    /*transform: translateX(-50%);*/
    width:680px;
    background-color: #cccff0;
    color: black;
    padding: 4px 20px;
    display: flex;

    gap:20px;
    /*display: none;*/
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000; /* ensure the banner stays on top */
    border-radius: 0 0 12px 12px;
    font-weight: bold;
}

#closeBtn {
    /*background-color: #555;*/
    color: black;
    border: none;
    border-radius: 50%;
    width: 25px;
    /*height: 25px;*/
    font-size: 30px;
    cursor: pointer;
    line-height: 18px;
    text-align: center;
    background-color: inherit;
    position:relative;
    /*top: -4px;*/
    
}

#closeBtn:hover {
    /*background-color: #999;*/
}    


.no-banner {
    margin-top: 0;
}

#bannerwrapper {
    width: 100%; /* By default, the wrapper is full width */
    left:200px;
    position: fixed;
    top: 0;
    display: flex;
    justify-content: center;

}

@media (max-width: 1711px) { /* When window width is under 1742px */
    #bannerwrapper {
        width: 840px;
    }
}



/* Print Styles */
@media print {
    body {
        margin: 0;
        padding: 0;
        
        /* ... any other adjustments for print */
    }

    #bannerwrapper {
        display:none;   
    }
    #banner {
        display:none;   
    }

    .wrapper {
        margin-top: 0px;   
    }
}
