*{
    box-sizing:border-box;
}
html,body{
    font-family: 'Roboto', sans-serif;
    margin:0;
    padding:0;
}
h1{
    font-weight: 100;
    font-size: 60px;
    color:#666;
}
h2{
    font-weight: 200;
    font-size: 40px;
    padding-top: 20px;
}
hr.inverse{
    border-top-color:rgba(255,255,255,.2);
}
.pull-left{
    float:left;
}
.pull-right{
    float: right;
}
.clearfix{
    overflow: auto;
}
/* COLORS #E8DDCB,#CDB380,#036564,#033649,#031634 */
.clr-data:before{
    background-color: #ddfd02;
    background-color: #031634;
    background-color: purple;
}
.clr-code:before{
    background-color: #0188ba;
    background-color: #033649;
}
.clr-business:before{
    background-color: #ccc;
    background-color: #E8DDCB;
}
.clr-design:before{
    background-color: #07904e;
    background-color: #036564;
}
.clr-art:before{
    background-color: #421789;
    background-color: #CDB380;
}

/*//////////*/
.bottom{
    background: #031634;
    min-height: 800px;
}
.container{
    /*max-width: 1240px;
    margin:0 auto;*/
    position:relative;
}
.nameplate{
    position: absolute;
    top:0;
    left: -26px;
}
    .nameplate .name{
        margin-bottom: 0;
        margin-top:10px;
        color:#033649;
    }
    .nameplate .email{
        margin-top: -5px;
        margin-left: 3PX;
        font-size: 30.2px;
        margin-bottom: 0;
        font-weight: 100;
        color: #999;
    }
    .nameplate .byline{
        margin-top: -5px;
        margin-left: 6px;
        font-weight: 600;
        font-size: 20px;
        color: #031634;
    }
    .nameplate .plus{
        font-weight: 100;
        font-size: 24px;
    }

.nameplate .byline2{
    margin-top:-14px;
    margin-left:5px;
    line-height: 18px;
}
ul.legend{
    list-style: none;
    margin: 30px 5px;
    padding:0;
}    

.legend li{
    font-size: 18px;
    font-weight: 300;
    color:#666;
}
.legend li:before{
    content: "";
    display: inline-block;
    width:25px;
    height:15px;
    border-top-right-radius: 7.5px;
    border-bottom-right-radius: 7.5px;
    margin-right:10px;
}

#viz{

}
svg:not(:root) {overflow: visible;}
svg{
    /* border: 1px solid #333;  */ 
    font: 10px 'Roboto', sans-serif;
    /*shape-rendering: crispEdges;*/
}
.chart{
    overflow: visible;
}
.dategroup, .dategroup text{
    font-family: 'Roboto', sans-serif;
    font-weight: 100;
    font-size: 24px;
    stroke: none;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
.annotaion p{
    margin:0;
    text-align: center;
}
.annotaion p span{
    background: #fff;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
}
.annotaion p:nth-of-type(1) span{
    padding-top: 3px;
}
.company-name{
    font-size: 14px;
    font-weight: 300;
    color:#666666;
}
.job-title{
    font-size: 14px;
    font-weight: 400;
    color: #000;
}



#recentProjects,#skills{
    margin-bottom: 36px;
    color:#fff;
    font-weight: 200;
}
#recentProjects ul{
    margin:0;
    padding:0;
    list-style: none;
}
#recentProjects ul li{
    margin-bottom: 10px;
}
#recentProjects a{
    color:#fff;
}
#gallery{
    
}
#gallery img{
    max-width: 100%;
    margin:10px;
}

/* Skill legend */
.skills-legend{
    fill:#fff;
    font-weight: 100;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
}


.skills_category{
    margin: 0;
    padding: 0;
    list-style: none;
    float: left;
    margin-right: 20px;
    margin-top: 20px;
    font-weight: 300;
}
.skills_category li{
    font-weight: 100;
}

.logo{
    width: 50px;
    height: 50px;
    margin-right: 20px;
}

/* Job popup overlay */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.popup-content {
    background: #fff;
    border-radius: 8px;
    padding: 24px 32px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    position: relative;
}

.popup-close {
    position: absolute;
    top: 8px;
    right: 12px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.popup-title {
    margin: 0 0 4px;
}

.popup-company {
    margin: 0 0 4px;
    font-weight: bold;
    color: #555;
}

.popup-dates {
    margin: 0 0 12px;
    font-size: 13px;
    color: #888;
}

.popup-description {
    margin: 0 0 16px;
    line-height: 1.5;
}

.popup-skills-heading {
    margin: 0 0 8px;
}

.popup-skills {
    margin: 0;
    padding-left: 20px;
    line-height: 1.8;
}

/* Validation popup */
.validation-popup-content {
    max-width: 640px;
}

.val-intro {
    margin: 8px 0 18px;
    color: #555;
    line-height: 1.5;
}

.val-item {
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    padding: 14px 16px;
    margin-bottom: 12px;
    background: #fafafa;
}

.val-item-name {
    font-weight: 500;
    font-size: 14px;
    color: #222;
    margin-bottom: 10px;
}

.val-item-type {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    background: #888;
    border-radius: 3px;
    padding: 1px 6px;
    margin-right: 6px;
    vertical-align: middle;
}

.val-item-type.experience { background: #1982c4; }
.val-item-type.education  { background: #8ac926; }

.val-date-field {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.val-field-label {
    font-size: 13px;
    color: #666;
    min-width: 72px;
}

.val-select {
    font-family: 'Roboto', sans-serif;
    font-size: 13px;
    padding: 4px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

.val-select:focus {
    outline: none;
    border-color: #1982c4;
}

.val-btn {
    display: inline-block;
    margin-top: 18px;
    padding: 9px 28px;
    background: #1982c4;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.val-btn:hover { background: #1368a0; }

/* Category description popup */
.category-popup-swatch {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    margin-bottom: 14px;
}

.legend-rect-clickable {
    cursor: pointer;
    transition: opacity 0.15s;
}
.legend-rect-clickable:hover { opacity: 0.75; }
