.top-section{
	background: #2b2b32;
	color: #ebc76e;
	font-size: large;
	padding: 10px 15px;
	display: flex;
	align-items: center;
}

.content-section{
	background: #dfdfdf url('../images/img-drawer-light.png') no-repeat; 0 0 / contain;
}
.profile-card{
	background: white;
	border-radius: 10px;
	box-shadow: 0 2px 2px 0 rgba(144, 122, 80, 0.3);
	margin: 0.5em 0 1em;
	padding: 1em;
	color: #3b321d	;
}
.profile-card > div{
	padding: 10px;
}
.profile-header{
	background: linear-gradient(to left, #e7d39d, #b19560);
	color: white;
	padding: 5px 2em;
	font-weight: 600;
}
.profile-section{
	background: white;
	margin-bottom: 1.5em;
	padding: 5px 2em;
}
.profile-row{
	border-bottom: 1px solid #dfdfdf;
	padding: 5px 0;
}
.profile-row:last-of-type{
	border: none;
	margin-bottom: 0;
}
.profile-row{
	display: flex;
	justify-content: space-between;
	margin: 15px 0;
	align-items: center;
}

.profile-selector{
  background: white;
  border: 1px solid #f1d99c;
  border-radius: 10px;
  padding: 5px;
  margin-bottom: 0.75em;
}
.profile-selector > button {
  padding: 5px 15px;
  border-radius: 5px;
}
.profile-selector .active{
  background: #e6c280;
}
.profile-option{
	font-weight: 600;
	padding-bottom: 0.5em;
}
.profile-option img{
	margin-left: 0.5em;
}
.profile-toggle{
	background:  lightgray; 
	border-radius: 24px;
	width: 60px;
	padding: 5px;
	margin-bottom: 0.75em;
}
.profile-toggle.active{
	background:  #ebc76e; 
}
.profile .toggle{
	background: white;
	border-radius: 50%;
	box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.16);
	content: " ";
	width: 24px;
	height: 24px;
}
.profile .on{
	float: right;
}

.profile-sub{
	position: fixed;
	z-index: 30;
	left: 0;
	right: 0;
	top: 0;
	right: 0;
	height: 100vh;
	overflow-y: auto;
	background: #dfdfdf;
	transition: all 0.5s;
}
.sub-container{
	background: white;
	padding: 0 1.5em;
}

.sub-option{
	padding: 1em;
	border-bottom: 1px solid #dfdfdf;
	display: flex;
	justify-content: space-between;
	width: 100%;
	align-items: center;
}
.sub-option:last-of-type{
	border: none;
}
.calc-top{
	display: flex;
	justify-content: space-between;
	background: linear-gradient(to bottom, #e7d39d, #b19560);
	padding: 5px;
	align-items: center;
	color: white;
}
.calc-bottom{
	display: grid;
	grid-template-columns: auto auto auto;
	grid-gap: 2px;
	color: #050202;
	font-weight: bold;
	background: #dfdfdf;

}
.calc-bottom > button{
	display: flex;
	justify-content: center;
	align-items: center;
	background: #f5f5f5;
	padding: 1em;
	font-weight: bold;
}
.calc-bottom > button:hover{
	background: #e5e5e5;
}
.calc-bottom.more{
	border: 2px solid #dfdfdf;
	grid-template-columns: auto;
}
.calc-top-left{
	flex: 0.3;
	text-align: center;
}
.calc-input{
	border: none;
	text-align: right;
	font-weight: bold;
	padding: 10px;
	font-size: large;
	flex: 0.7;
}
.calc-input:focus{
	outline: none;
}

.dark .content-section{
	background: black url('../images/img-drawer-dark.jpg') no-repeat
}

.dark .profile-card{
	background: #2b2b2b;
	color: var(--gold);
}
.dark .head-title{
	color: white;
}
.dark .profile-header{
	background: linear-gradient(271deg, #b29661 9%, #3b321d 93%);
	color: #b29661;
}
.dark .profile-section{
	background: #2b2b2b;
	color: white;
	border-bottom: 1px solid #505050;
}
.dark .last-profile-section{
	border-top: 1px solid #505050;
}
.dark .profile-row{
	border-color: #505050;
}
.dark .profile-option{
	color: var(--gold);
}
.dark .profile-toggle.active{
	background: #e3ac24;
}
.dark .profile-selector .active{
	background: #e3ac24;
}
.dark .profile-selector{
	border: 1px solid #e3ac24;
	background: transparent;
}

.dark .profile-sub{
	background: black;
}
.dark .sub-container{
	background: #2b2b2b;
	color: white;
}
.dark .sub-option{
	border-color: #505050;
}
.dark .calc-top{
	background:  linear-gradient(to bottom, #b29661, #3b321d);
}

.dark .calc-bottom > button{
	background: #2b2b2b;
	color: #eee1ae;
}
.dark .calc-bottom{
	background: #707070;
	grid-gap: 1px;
}
@media only screen and (max-width: 460px){
	.hide-mobile{
		display: none;
	}
	.profile-max{
		max-width: 180px;
	}
}