html {
    scroll-behavior: smooth;
  }
body{
    background-color: #e5e5e5;
}
p{
    padding: 0;
    margin: 0;
}
hr{
    margin: 0;
    padding: 0;
}
.row0{
    border-bottom: 2px solid red !important;
}
.body-compariton{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

/* Sidebar */
.side-bar{
    width: 24%;
}
.form-top-left-sidebar{
    padding: 20px 15px;
}
.form-top-left-sidebar .field{
    margin-bottom: 10px;
}
.enter-detail{
    text-align: center;
}
.title-sidebar{
    text-align: center;
    padding: 5px;
    background-color: #d33a2c;
}
.title-sidebar h2{
    margin: auto;
    color: #fff;
}

.radio-value-sidebar label{
    width: 40%;
    padding: 10px 20px;
    background: #e9e9e9;
}

.side-bar-top{
    background-color: #fff;
    margin-bottom: 10px;
}
.name-field, .cm-field, .ft-field{
    display: flex;
    flex-wrap: nowrap;
}
.name-field label, .cm-field label{
    width: 35%;
    padding: 10px 20px;
    background: #e9e9e9;
}
.name-field input{
    width: 65%;
    height: 40px;
    border-left: 0 !important;
    border: 0 !important;
}
.cm-field input{
    width: 65%;
    height: 40px;
    border-right: 0 !important;
    border: 0 !important;
}
.ft-field input, .ft-field label{
    width: 25%;
}
.ft-field label{
    padding: 10px 20px;
    background: #e9e9e9;
}
.ft-field input{
    border: 0 !important;
}
.side-bar-bottom{
    background-color: #e9e9e9;
}

.add-object-title{
    padding: 20px 0;
    background-color: #fff;
    text-align: center;
    color: #e1432c;
    font-weight: 600;
    font-size: 16px;
    border-bottom: 1px solid #e5e5e5;
}
.project-wrap{
    display: flex;
    flex-wrap: wrap;
}
.project-wrap button{
    padding: 20px;
    width: 50%;
    border: 1px solid #e5e5e5;
    background-color: #fff;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    cursor: pointer;
}
.project-wrap button img{
    height: 20px;
    width: auto;
}

#color-option{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;

}
.radio-gender-sidebar, .radio-value-sidebar{
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}
.radio-gender-sidebar input{
    width: 50%;
}
.radio-value-sidebar input{
    width: 30%;
}
.radio input {
    margin: 0;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	outline: 1px solid #cacaca;
	cursor: pointer;
	padding: 10px 8px;
	background: #fff;
	color: #000;
	font-size: 15px;
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		"Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji",
		"Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
	transition: all 100ms linear;
}
.field{
    border: 1px solid #cacaca;
    cursor: pointer;
}
.field.color-field{
    border: 0 !important;
}

.radio input:checked {
	background: #0168b8;
	color: #fff;
	box-shadow: 0 1px 1px #0000002e;
}

.radio input:before {
	content: attr(label);
	display: inline-block;
	text-align: center;
	width: 100%;
}

input[type=radio].color{
    padding: 15px;
  -webkit-appearance: none;
  outline: 1px solid #cacaca;
  outline-offset: 2px;
}
.color-option-1{
    background: #134e6f;
}
.color-option-2{
    background-color: #ffa822;
}
.color-option-3{
    background-color: #ff6150;
}
.color-option-4{
    background-color: #1ac0c6;
}
.color-option-5{
    background-color: #64379f;
}
.color-option-6{
    background-color: #f5487f;
}
.color-option-7{
    background-color: #8f3b76;
}
.color-option-8{
    background-color: #309975;
}
.color-option-9{
    background-color: #12492f;
}
.color-option-10{
    background-color: #2a6fdb;
}
.color-option-11{
    background-color: #000;
}

.color{
    margin: 5px;
}
input[type=radio]:checked.color {
    display: inline-block;
    outline: 3px solid #0168b8;
  }

.button-add-person{
    background-color: #0168b8;
    padding: 15px 0px;
    width: 100%;
    color: #fff;
    font-size: 15px;
    border: 0px;
    cursor: pointer;
}

/* Table Comparition */
#table-comparition{
    top: 2px;
    display: block;
    position: relative;
}
.row-table-comparition{
    height: fit-content;
    position: relative;
    width: 72%;
    background-color: #fff;
    padding: 0 20px 3px;
    margin-bottom: 50px;
}
.body-compariton .row.comparition{
    border-bottom: 1px solid #e5e5e5;
}

hr{
    color: red;
}

button{
    cursor: pointer;
}
.row.comparition{
    display: flex;
    justify-content: space-between;
}
.row.comparition span{
    line-height: 2.5;
}
.row.row-first.comparition{
    height: 27px;
}
.row.row-end.comparition{
    height: 27px;
    line-height: 2.5;
    justify-content: center;
    border-bottom: none !important;
}


/* Result */
#result.result-wrap-content{
    display: flex;
    justify-content: center;
}
.content-comparition{
    position: absolute;
    width: fit-content;
    bottom: 32px !important;
}
.show-detail{
    display: block !important;
}

/* Person and project detail */
#spanResult2{
    position: absolute;
    z-index: 1;
    bottom: 1px;
    width: 100%;
}
.person-detail, #project-detail{
    position: absolute;
    z-index: 3;
}
.person-detail{
    width: 30%;
    bottom: 30px !important;
    left: 50px;
}
#project-detail{
    width: 90%;
    display: flex;
    flex-wrap: nowrap;
    left: 5%;
}
#project-detail:nth-child(1){
    margin-left: 20px;
}
.project-detail{
    margin-right: 10px;
}
.detail-on-head-person{
    border-bottom: 2px solid gray;
}
.detail-person{
    margin-bottom: 5px;
}
.button-person-detail{
    padding: 5px 0;
    width: 140px;
    color: #fff;
    border: 0;
    opacity: 0.8;
}
.button-project-detail{
    padding: 5px 0;
    width: 140px;
    color: #fff;
    border: 0;
    opacity: 0.8;
}
.button-remove-person{
    padding: 5px 10px;
    border: 0 !important;
    background: #cecece;
}

.detail-wrap{
    background: #cacaca;
    width: 159px;
    display: flex;
    padding: 15px 5px;
}
.detail-wrap label{
    border: 1px solid #a1a0a0
}
.height-field-update{
    display: flex;
    flex-wrap: nowrap;
}
.height-field-update label{
    width: 40%;
    padding: 10px;
}
.height-field-update input{
    width: 30%;
}
.detail-wrap .field{
    margin-bottom: 3px;
}
.detail-wrap .ft-field label{
    padding: 10px 5px;
    width: 20%;
}

/* Person design */
.result-comparition{
    position: relative;
    z-index: 2;
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-end;
}
.personwrap{
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    align-content: end;
}
.person.result-person{
    width: 100%;
}
.person img{
    height: 100%;
    width: auto;
}
.person.red img{
    width: auto;
}
.person.pj{
    margin: 0 20px;
}

/* Share social button */
.share-social{
    width: 100%;
    display:flex ;
    justify-content: center;
}
.share-fb{
    background-color:#5D7DAE;
}
.share-pinter{
    background-color:#e60023;
}
.share-tw{
    background-color:rgb(29, 155, 240);
}
.share-screenshot{
    font-size:15px;
    color: #fff;
    background-color:#e60023;
    text-decoration:none;
    width:fit-content;
    display:block;
    padding: 4px 20px;
    text-align: center;
}
.share-social a.click {
    font-size:15px;
    font-weight:bold;
    text-align:center;
    color:#fff;
    padding: 4px 20px;
    cursor: pointer;
    text-decoration:none;
    width:100px;
    display:block;
    margin-right: 20px;
}
.result-div{
    margin-top: 30px;
    text-align: center;
    margin-bottom: 30px;
}
.result-img.button-delete{
    position: absolute;
    padding: 10px;
    color: #fff;
    background-color: red;
}


#height-comparison-tool .body-compariton{display:flex!important;justify-content:space-between!important;}
#height-comparison-tool .side-bar{width:24%!important;min-width:300px;}
#height-comparison-tool .row-table-comparition{width:72%!important;}
#height-comparison-tool label{white-space:nowrap!important;writing-mode:horizontal-tb!important;}
#height-comparison-tool .name-field,
#height-comparison-tool .cm-field,
#height-comparison-tool .ft-field{display:flex!important;flex-wrap:nowrap!important;}
