body {
    font-family: 'Roboto', sans-serif;
    background-color: tan;
    background-image: url(Images/paper2.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
	background-attachment: fixed;
    color: rgb(38, 33, 49);
    height: 100vh;
	max-width:1280px;
	margin:auto;
	margin-top:0px;
}

h2, h3, p {
    margin: 0px;
    padding: 0px;
    border: 0;
}

input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button { 
  -webkit-appearance: none; 
  margin: 0; 
}

.main {
    display: flex;
    align-items: stretch;
    position: relative;
    width: 100%;
	min-width:1200px;
	min-width:1
	
}

.main-left {
    padding-right: 10px;
    width: 370px;
    justify-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: stretch;
}


.main-left-row {
    margin-bottom: 10px;
    /*border: 5px double gray;*/
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: rgba(255,255,255, 0.4);
    box-shadow: rgba(93, 67, 50, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

.main-left-row:last-of-type {
    margin-bottom: 0px;
}

.attributes-title-group {
    display: flex;
    padding-bottom: 10px;
    margin-bottom: 10px;
    padding-left: 10px;
    margin-top: 10px;
    justify-content: space-between;
    box-shadow: rgba(93, 67, 50, 0.1) 0px 13px 27px -5px, rgba(0, 0, 0, 0.1) 0px 8px 16px -8px;
}
.row-title {
    text-align: left;
}

.row-content {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

#build-info {
    justify-content: stretch;
    padding: 0px 10px;
    margin-top: 10px;
}

.build-info-group {
    display: flex;
    min-width: 0px;
}

#build-name {
    min-width: 0px;
    max-width: none;
    width: 30em;
    flex-grow: 1;
    font-size:  1.2em;
    font-weight: 800;
}
#build-info-level {
    flex-shrink: 1;
    text-align: center;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    padding-right: 10px;
    font-size: 0.8em;
}
#build-info-level-value {
    font-weight: 800;
    font-size: 2em;
    text-align: right;
}

#basic-choices {
    justify-content: space-between;
    padding-left: 5px;
    padding-right: 5px;
}
.basic-choice-group {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: center;
    margin-right: 5px;
}
#race-div {
}
#stone-div {
}
#profession-div {
}
#ogmax-div {
	display:none;
}
.basic-choice-group:last-of-type {
    margin-right: 0;
}
.basic-choice-group > h3 {
    font-size: 0.7em;
    font-weight: 400;
    text-align: center;
    text-transform: uppercase;
}
.drop-down {
    padding: 5px 2px 5px 2px;
    cursor: pointer;
    border: 1px rgba(93, 67, 50, 0.25) solid;
    background-color: rgba(255, 255, 255, 0.5);
    appearance: none;
    text-align: center;
    font-weight: 800;
	min-width:80px;
}
option {
	font-weight: 400;
}

.text-input {
    border: none;
    border-bottom: 1px rgba(93, 67, 50, 0.25) solid;
    background-color: rgba(93, 67, 50, 0.1);
    appearance: none;
}



#attributes {
    padding: 0;
    margin-top: 10px;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.attribute-content {
    display: flex;
    justify-content: space-between;

}
.attribute-value-group {
    padding: 0 10px;
    text-align: center;
	width:103px;
}

#attribute-magicka {
    color: blue;
}

#attribute-health {
    color: red;
}

#attribute-stamina {
    color: rgb(59, 170, 87);
}

.attribute-button {
    text-align: center;
    cursor: pointer;
    background-color: white;
    color: black;
    padding: 0.5em;
    border: none;
    background-color: rgba(255, 255, 255, 0.25);
    user-select: none;
}

.attribute-total {
    font-weight: 800;
    font-size: 1.5em;
    width: 2.5em;
}

.attribute-value {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.25);
    box-shadow: rgba(93, 67, 50, 0.25) 0px 2px 8px 0px;
    margin-bottom: 5px;
}

.attribute-value-group > h3 {
    padding-bottom: 0px;
    padding-top: 0.2em;
    line-height: 0.6em;
}
.attribute-base {
    font-size: 0.8em;
}

.derived-group {
    margin-top: 20px;
    padding-left: 10px;
    padding-right: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.derived-wrap {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px rgba(93, 67, 50, 0.25) solid;
    margin-top: 1px;
}

.derived-wrap:last-of-type {
    border: none;
}

.derived-value-label {
    grid-column: 1;
    padding: 2px 20px 3px 0px;
}
.derived-value {
    text-align: right;
    grid-column: 2;
}

.main-right {
    display: flex;
    width: 380px;
    flex-grow: 0;
    margin-right: 0;
    padding: 0;
}
.skills-container {
    /*border: 5px double grey;*/
    background-color: rgba(255,255,255, 0.4);
    box-shadow: rgba(93, 67, 50, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    width: 100%;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.skill-group {
    display: flex;
    flex-grow: 0;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    border-bottom: 1px rgba(93, 67, 50, 0.25) solid;
    padding-bottom: 5px;
    padding-top: 5px;
}
.skill-group:last-of-type {
    border: none;
    padding-bottom: 0;
}

.skill {
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-transform: uppercase;
    min-width: 110px;
    padding-top: 10px;
    cursor: pointer;
    position: relative;
}

.skill:nth-child(-n+3) {
    margin-top: 0;
}

.skill:hover > .skill-text::after {
    opacity: 1;
}


.skill-icon {
    overflow: visible;
    height: 60px;
    width: 50px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.skill-text {
    font-size: 0.8em;
    padding: 0;
    margin: 0;
}

.skill-text::after {
    content: '';
    width: 100%;
    height: 20px;
    left: 50%; transform: translateX(-50%);
    bottom: 10px;
    position: absolute;
    box-shadow: rgba(93, 67, 50, 0.4) 0px 5px 10px -5px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.skill-level {
    font-weight: 800;
    margin-left: 0.3em;
}

.main-middle {
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    position: relative;
    /*border: 5px double gray;*/
    margin-right: 10px;
    background-color: rgba(255,255,255, 0.4);
    box-shadow: rgba(93, 67, 50, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    min-width: 430px;
    
}

.tree-viewer {
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    display: flex;
    margin: 10px;
    height: 100%;
}

.tree-viewer > svg {
    width: 100%;
}

.skill-details{

    margin-top: 10px;
    text-align: right;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    box-shadow: rgba(93, 67, 50, 0.1) 0px 13px 27px -5px, rgba(0, 0, 0, 0.1) 0px 8px 16px -8px;
}

#skill-title {
    text-transform: uppercase;
    margin: 0px; padding: 0px;
    margin-right: 1em;
    margin-left: 10px;
    text-align: left;
}

#skill-level {
    position:relative;
    margin-right: 10px;
}

.skill-extra {
    display: flex;
    justify-content: space-between;
    text-transform: uppercase; 
    font-size: 0.8em;
    padding: 5px 10px 0px 10px;
}

.unspent-number {
    font-weight: 800;
}
#missing-XP {
	color:red;
}


#skill-level-text {
    position: absolute;
    right: 6.5em; top:50%; transform: translateY(-50%);
    color: rgba(93, 67, 50, 1);
    text-transform: uppercase;
    font-size: 0.7em;
}
#skill-level-total {
    border: none;
    border-bottom: 1px rgba(93, 67, 50, 0.25) solid;
    background-color: rgba(93, 67, 50, 0.1);
    appearance: none;
    min-width: 0px;
    width: 4.3em;
    font-size:  1.5em;
    text-align: right;
    font-weight: 800;
    position: relative;
    padding-right: 10px;
}
.skill-buttons {
    display: flex;
    justify-content: space-between;
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 10px;
}

.skill-buttons > button{
    padding: 5px 10px 5px 10px;
    width: 15em;
    cursor: pointer;
    border: 1px rgba(93, 67, 50, 0.25) solid;
    background-color: rgba(255, 255, 255, 0.5);
}
.perk-circle {
    cursor: pointer;
    fill: rgb(61, 55, 49);
    transition: fill 0.2s;
}

.skill-level-buttons > button {
    border: none;
    cursor: pointer;
    width: 2em;
}

.takenPerk {
    fill: rgb(45, 122, 90);
}

.takenPerkLine {
    stroke: rgb(59, 170, 87);
    opacity: 0.3;
}

.taken-perk-tooltip {
    color: rgb(45, 122, 90);
}


#build-code-container {
    padding: 10px;
}
#build-code {
    overflow: hidden;
    white-space: nowrap;
    margin-bottom: 10px;
}

#build-copy {
    padding: 5px 10px 5px 10px;
    cursor: pointer;
    border: 1px rgba(93, 67, 50, 0.25) solid;
    background-color: rgba(255, 255, 255, 0.5);
    position: relative;
    transition: background-color 0.3s ease-in-out;
}

#perk-description-box {
    position: fixed;
    min-width: 300px; max-width: 500px;
    min-height: 50px;
    background-color: slategray;
    padding: 1em;
    text-align: center;
    display: none;
    font-size: 0.8em;
    background-color: rgba(255,255,255, 0.9);
    box-shadow: rgba(93, 67, 50, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}


#perk-description-box::after {
    content: '';
    display: block;
    position: absolute;
    width: 20px; height: 20px;
    transform: rotate(45deg);
    top: -10px;
    left:calc(50% - 10px);
    background: inherit;
} 
#perk-requirements {
	text-transform: capitalize;
	text-align:right;
}
#perk-description-rank-title {
    margin-bottom: 0;
    display: none;
}

#perk-description-rank-body {
    display: none;
}
#perk-requirements-rank {
	display: none;
	text-transform: capitalize;
	text-align:right;
}

#alert {
    display: none;
    position: fixed;
    width: 100vw;
    height: 100vh;
    left: 0; top: 0;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center; align-items: center;
}
#alert-box {
    text-align: center;
    padding: 1em;
    width: 350px;
    background-color: rgba(255,255,255, 0.9);
    box-shadow: rgba(93, 67, 50, 0.5) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
}

#alert-box-text {
    margin-bottom: 20px;
}

#alert-box-close {
    padding: 5px 10px 5px 10px;
    width: 6em;
    cursor: pointer;
    border: 1px rgba(93, 67, 50, 0.25) solid;
    background-color: rgba(255, 255, 255, 0.5);
    box-shadow: rgba(93, 67, 50, 0.2) 0px 5px 5px -5px, rgba(0, 0, 0, 0.1) 0px 8px 16px -8px;

}

.green-text {
    color: rgb(45, 122, 90);
    content: '';
    width: 100%;
    height: 20px;
    border-bottom: 1px solid rgb(45, 122, 90);
    transition: opacity 0.2s ease-in-out;
}

#profession-details {
    width: 100%;
	min-width:1200px;
    height: 80px;
    background-color: rgba(255,255,255, 0.4);
    box-shadow: rgba(93, 67, 50, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    margin-top: 10px;
	display:none;
    display: flex;
    justify-content: space-around;
}

#profession-name {
    min-width: 0px;
    max-width: none;
    width: 12em;
    flex-grow: 1;
    font-size:  1.5em;
    font-weight: 800;
	text-transform:capitalize;
}

.profession-details-divider {
    height: 100%;
    border-right: 1px rgba(93, 67, 50, 0.25) solid;
}

.profession-details-group {
    display: flex;
    align-items: center;
    font-size: 0.7em;
    font-weight: 400;
    text-transform: uppercase;
	text-align:center;
    margin-right: 10px; margin-left: 10px;
}

.profession-details-group > div {
	margin:5px;
}
#skill-choices {
	width:380px;
	margin:0px;
}
.skill-choice {
	margin:3px;
}

.profession-details-group:last-of-type {
    border: none;
    margin-right: -5px;
}
.profession-details-group:first-of-type {
    margin-left: 10px;
}


.subtitle {
    font-weight: 400;
    text-align: center;
    width: 100%;
}

#instructions {
    width: 100%;
	min-width:1200px;
    //height: 300px;
    
    margin-top: 10px;
	display:none;
    display: flex;
    justify-content: space-around;
}
.instructions {
	width: 100%;
	background-color: rgba(255,255,255, 0.4);
    box-shadow: rgba(93, 67, 50, 0.25) 0px 13px 27px -5px, rgba(0, 0, 0, 0.3) 0px 8px 16px -8px;
    display: block;
    //align-items: center;
    //font-size: 0.7em;
    //font-weight: 400;
	text-align:left;
	margin-right: 5px;
	margin-left: 5px;
	padding:10px;
}
.instructions:first-of-type {
    margin-left: 0px;
}
.instructions:last-of-type {
    margin-right: 0px;
}
.instructions p {
	margin-top:7px;
}