* {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0px;
}

header {
    background-color: #17009b;
    padding: 10px;
    height: 20px;
}

header #imgHead {
    position: relative;
    align-content: right;
    display: inline-block;
    height: 20px;
    pointer-events: none;
}

header #nav {
    position: relative;
    float: right;
    width: 80px;
    text-align: center;
    top: 0px;
    color: azure;
}

#nav a:link, #nav a:visited{
    color: azure;
    text-decoration: none;
    transition: color 0.2s;
}

#nav a:hover{
    color: rgb(0, 183, 255);
}

body {
    position: relative;
    background-color: rgb(237, 240, 243);
    /*zoom: 95%;*/
}

#cont {
    position: relative;
}

#dc {
    position: relative;
    max-width: 1000px;
    min-width: 400px ;
    border: 1px solid rgb(204, 204, 204);
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
    border-radius: 10px;
    min-height: 600px;
    background-color: white;
    clear: both;
}

#init {
    position: relative;
    margin: 40px auto;
    min-height: 150px;
    max-width: 100%;
    display: flex;
    flex-direction: row;
    flex-flow: row wrap;
    justify-content: flex-start;
}

#pp {
    /* padding-left: 100px; */
    flex: 100px;
    clear: both;
    text-align: right;
}

#pp img {
    border-radius: 100%;
    height: 150px;
    pointer-events: none;
}

#name {
    flex: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px;
}

h1 {
    text-transform: capitalize;
    word-wrap: break-word;
    font-size: 32pt
}

h2 {
    color: #2f508d;
    font-weight: normal;
    margin-top: 5px;
    margin-bottom: 5px;
}

#map {
    position: fixed;
    text-align: center;
    display: none;
    width: auto;
    height: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding-top: 20px;
    background-color: rgba(0,0,0,0.5); 
    z-index: 2;
}

#map p {
    color: antiquewhite;
    margin-bottom: 5px;
}

#loc {
    margin-top:10px;
    color: #7294d3;
    transition: color 0.2s;
}

#loc:hover {
    cursor: pointer;
    color: #4d75c0;
}

#more {
    display: block;
    margin: 30px;
}

#tabs {
    display: flex;
    flex-direction: row;
    flex-flow: row wrap;
    justify-content: flex-start;
    margin-bottom: 20px;
}

.ctab, .ctab:visited {
    flex: 16.66%;
    height: 30px;
    margin: 0px;  
    float: left;
    cursor: pointer;
    border-radius: 0px;
    border: 1px solid #ffffff;
    background-color: #0B6DB8;
    color: #ffffff;
    font-weight: normal;
    transition: background-color 0.2s;
}

.ctab:hover {
    font-weight: normal;
    background-color: #7294d3;
}

th {
    text-align: left;
}

h3 {
    margin-bottom: 10px;
}

.panel {
    display: none;
    width: 100%;
}

#skills {
    display: block;
}

#skills ul * {
    font-size: 15px;
}

#skills ul {
    width:auto;
}

#skills li {
    width: 60%;
    background-color: rgb(239, 248, 255);
    color: rgb(0, 62, 112);
    border: 1px solid rgba(43, 103, 153, 0.582);
    margin: 10px 0;
    padding: 6px 10px;
    border-radius: 20px;
    transition: background-color 0.2s;
}

#skills li:hover {
    background-color: rgb(255, 255, 255);
}

#expr p {
    line-height: 1.5;
    font-size: 14px;
}

#expr li {
    margin-top: 1px;
    margin-bottom: 1px;
    line-height: 1.5;
    font-size: 14px;
}

.tab {
    width: 100%;
    clear: both;
}

.ed_sub {
    font-size: 14px;
    opacity: 60%;
    margin-bottom: 5px;
}

.ed_desc {
    font-size: 15px;
    margin-bottom: 2px;
}

/* .hglt {
    color: rgb(205, 137, 0);
    font-size: 18px;
} */

.tab {
    font-size: 14px;
}

.tab thead {
    font-size: 16px;
}

.tab .year {
    width: 110px;
    text-align: right;
    vertical-align: top;
}

.tab .trade {
    margin-bottom: 5px;
    font-style: italic;
}

.tab .org {
    opacity: 50%;
    padding-bottom: 5px;
}

.tab tbody .year {
    border-right: 1px solid rgb(120, 164, 201);
    border-bottom: 10px solid rgba(255, 255, 255, 0);
    border-top: 10px solid rgba(255, 255, 255, 0);
    padding-top: 0px;
    font-size: 16px;
}

.tab th {
    padding: 10px;
    background-color: rgb(223, 232, 255);
}

.tab td {
    padding: 10px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.tab h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

#contBox {
    width: 90%;
    min-height: 10px;
    margin: auto;
    display: flex;
    flex-direction: row;
    flex-flow: row wrap;
    justify-content: center;
}

.itemBox {
    min-height: 10px;
    flex: 45%;
    padding: 10px;
    display: flex;
    align-items: center;
}

.itemBox img {
    max-width: 50px;
}

.itemBox div {
    margin-left: 15px;
}

.itemBox a, .itemBox a:visited {
    font-weight: bold;
    text-decoration: none;
    color: #2867b2;
    transition: color 200ms;
}

.itemBox a:hover, .itemBox a:active {
    font-weight: bold;
    text-decoration: none;
    color: #174f94;
}

@media (max-width: 800px) {
    .itemBox {
      flex: 100%;
    }
    #init {
        flex-direction: column;
        text-align: center;
    }
    #pp {
        text-align: center;
    }
    #name {
        align-items: center;
    }
    #skills li {
        width: 95%;
    }
    .ctab {
        flex: 33.33%;
    }
    #dc {
        border-radius: 0px;
        margin-top: 0px;
    }
    #map iframe {
        width:80%;
    }
  }

.itemBox p {
    margin-top: 3px;
    opacity: 60%;
}

footer {
    text-align: center;
    color: rgba(35, 40, 90, 0.322);
    margin-bottom: 20px;
}

.port-items {
    display: flex;
    flex-direction: row;
    flex-flow: row wrap;
    justify-content: center;
}

.port-item {
    flex: 1 1 300px;
    margin: 10px;
    padding: 20px 20px 30px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.port-item2 {
    flex: 1 1 300px;
    margin: 10px;
    padding: 20px 20px 30px 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.port-width {
    width: 100%;
}

.port-head {
    padding-bottom: 5px;
    /* margin-bottom: 5px; */
    /* border-bottom: 2px solid #00519048; */
}
.port-head h3 {
    /* padding-bottom: 5px; */
    font-size: 16px;
    color: #07006c;
    margin-bottom: 5px;
}

.port-head p {
    color: rgba(0, 0, 0, 0.474);
    font-size: 14px;
}

.port-images {
    width: 100%;
    height: auto;
    border-radius: 5px;
    display: flex;
    flex-direction: row;
    flex-flow: row wrap;
    justify-content: center;
    margin: 10px 0px
}

.port-images img {
    height: 150px;
    object-fit: cover;
    margin: 5px;
    pointer-events: none;
}

.port-body {
    margin: 8px 5px;
    line-height: 1.2;
}

.port-body * {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    /* color: #2d2d4a; */
}

.port-body ul {
    padding-left: 20px;
}

.port-body li {
    margin-bottom: 5px;
}

.port-body p {
    text-align: justify;
    margin-bottom: 8px;
}

.port-body .more {
    display: none;
}

.port-body .more-btn {
    display: inline;
    cursor: pointer;
    background: none;
    border: none;
    color: #2867b2;
    text-decoration: underline;
}