.game_container{
    width: 700px;
    height: 700px;
    margin-left: auto;
    margin-right: auto;
    top: 50%;
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid;
    border-color: #deb887;
    /*padding: 20px;*/
    padding: 5px 5px 20px 5px;
    display: flex;
}
.game_footer{
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: center;
}
#logo img{
    width: 170px;
}
.game_header{
    display: flex;
}
#slogan{
    color: #deb887;
    font-size: 15px;
}
.logo_container, .slogan_container, .week_container{
    text-align: center;
}
.slogan_container{
    padding-bottom: 20px;
    border-bottom: 1px solid;
    border-color: #deb887;
}
.week_container{
    position: absolute;
    bottom: 5px;
    width: 100%;
}
.game_body{
    padding: 20px 0;
}
.cta_container{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
#cta button,
#up_for_sale_button,
#accept_offer_button,
#no_offer_next,
#offer_accepted_next_button,
#accept_hint_button,
#refuse_hint_button,
#mutual_accepted_next_button,
#ok_button,
#notary_check,
#have_not_fund_next {
    height: 50px;
    padding: 10px 30px;
    border-radius: 50px;
    background: #deb887;
    border: none;
    box-shadow: 0px 5px #8f7654;
}
#cta button:hover,
#up_for_sale_button:hover,
#accept_offer_button:hover,
#no_offer_next:hover,
#offer_accepted_next_button:hover,
#accept_hint_button:hover,
#refuse_hint_button:hover,
#mutual_accepted_next_button:hover,
#ok_button:hover,
#notary_check:hover,
#have_not_fund_next {
    background: #fbca8b;
    cursor: pointer;
}
.sidebar_container{
    width: 230px;
    height: 690px;
}
.content_container{
    width: 480px;
    padding-left: 20px;
}
.sidebar_section{
    border: 1px solid;
    border-color: #deb887;
    padding: 5px;
}
.sidebar_section.header{
    height: 100px;
    position: relative;
    padding: 5px 0;
}
.sidebar_section.budget{
    height: 200px;
}
.sidebar_section.sale{
    height: 200px;
}
.sidebar_section.purchase{
    height: 150px;
    position: relative;
}
.sidebar_section_title{
    margin-top: 10px;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}
.sidebar_section.sale{
    text-align: center;
}
.sidebar_section.budget .sidebar_section_content{
    font-size: 17px;
}
.house_purchase_result{
    position: relative;
    width: 100%;
    text-align: center;
    /*top: 50%;*/
    left: 50%;
    transform: translate(-50%, -50%);
}
.sale_result{
    font-size: 17px;
}
.advised_price{
    font-size: 13px;
}
.modify_price{
    width: 150px;
    margin: 0 auto;
}
.modify_price input{
    margin: 5px 0;
    font-size: 17px;
    width: 90%;
    text-align: center;
}
#modify_price_button{
    margin-top: 10px;
    background: #deb887;
    border: none;
    box-shadow: 0px 2px #8f7654;
    padding: 5px 10px;
    border-radius: 50px;
}
.house_for_sale_button button, .popup-content button, #notary_result_button{
    background: #deb887;
    border: none;
    box-shadow: 0px 2px #8f7654;
    padding: 5px 10px;
    border-radius: 50px;
}
#modify_price_button:hover,
.house_for_sale_button button:hover,
.popup-content button:hover,
 #notary_result_button:hover{
    background: #fbca8b;
    cursor: pointer;
 }
.content_container .title{
    font-size: 20px;
    text-align: center;
    margin-bottom: 10px;
}
.content_container .subtitle{
    text-align: center;
    margin-bottom: 10px;
}
.house_data{
    border: 3px dashed;
    height: 230px;
    border-color: #deb887;
    padding: 10px;
}
.house_data #immagine{
    float: right;
    width: 150px;
    height: 150px;
    background-color: lightgray;
    border-radius: 50px;
    background-size: cover;
}
.price_info, .event_info{
    margin: 10px 0;
    text-align: center;
}
.price_info .price, .event_info .price{
    margin-top: 5px;
    font-size: 18px;
    font-weight: bold;
}
.button_container{
    padding: 10px;
    position: relative;
    bottom: 0;
    text-align: center;
    width: 100%;
}
.hide{
    display: none;
}
.house_for_sale_box{
    border: 1px dashed;
    height: 160px;
    border-color: #deb887;
    padding: 0px;
    /*margin-bottom: 10px;*/
}
.house_for_sale_body{
    height: 90px;
    padding: 10px;
    border-bottom: 1px dashed;
    border-color: #deb887;
    position:relative;
}
.house_sale_box{
    border: 1px dashed;
    height: 110px;
    border-color: #deb887;
    padding: 0px;
    margin-bottom: 10px;
}
.house_sale_body{
    height: 90px;
    padding: 10px;
    border-bottom: 1px dashed;
    border-color: #deb887;
    position:relative;
}
.house_purchase_box{
    border: 1px dashed;
    height: 160px;
    border-color: #deb887;
    padding: 0px;
    margin-bottom: 10px;
}
.house_purchase_body{
    height: 140px;
    padding: 10px;
    border-bottom: 1px dashed;
    border-color: #deb887;
    position:relative;
}
.house_for_sale_footer{
    height: 30px;
    display: flex;
    padding: 10px;
}
.house_for_sale_offer{
    width: 70%;
}
.house_for_sale_offer input{
    width: 90%;
    height: 24px;
}
.house_for_sale_button{
    width: 30%;
    text-align: center;
}
.house_for_sale_price{
    position: absolute;
    bottom: 5px;
    width: 96%;
    text-align: center;
    font-weight: bold;
}
.house_for_sale_image{
    margin-left: auto;
    width: 80px;
    height: 80px;
    background-color: lightgray;
    border-radius: 20px;
    bottom: 68px;
    position: relative;
    background-size: cover;
}
#house_sale_image, #house_purchase_image{
    margin-left: auto;
    width: 80px;
    height: 80px;
    background-color: lightgray;
    border-radius: 20px;
    bottom: 68px;
    position: relative;
    background-size: cover;
}
.house_purchase_price{
    position: absolute;
    bottom: 5px;
    text-align: center;
    font-weight: bold;
    width: 100%;
}
#modify_price_message{
    margin-top: 5px;
}
.popup-overlay{
    width: 98%;
    height: 96vh;
    background-color: rgba(21,21,21,0.5);
    position: absolute;
}
.popup-content{
    background-color: white;
    border: 1px solid;
    width: 300px;
    height: 100px;
    margin: auto;
    margin-top: calc(50vh - 50px);
    padding:20px;
    text-align: center;
}
.popup-overlay {
    visibility:hidden;
    }
.popup-content {
    visibility:hidden;
}
.popup-overlay.active{
    visibility:visible;
}
.popup-content.active {
    visibility:visible;
}
#content_container .message{
    height: 60vh;
    align-items: center;
    display: grid;
    text-align: center;
    font-size: 22px;
}
#content_container #event{
    margin-top: 20px;
}
.event_info .price{
    margin-bottom: 20px;
}
.hint_box{
    margin-top: 20px;
    border: 3px dashed;
    height: 400px;
    border-color: #deb887;
    padding: 20px;
    background-color: lightgray;
    border-radius: 25px;
    position: relative;
}
.hint_footer{
    position: absolute;
    bottom: 20px;
    width: 91%;
}
.hint_cta_buttons{
    display: flex;
}
.hint_cta_buttons div{
    width: 50%;
    text-align: center;
}
.hint_label{
    font-size: 18px;
    text-align: center;
}
.hint_cta_label{
    text-align: center;
    margin-bottom: 15px;
    font-weight: bold;
}
.hint_description{
    height: 250px;
    margin-top: 20px;
    text-align: center;
    align-items: center;
    display: grid;
    width: 100%;
}
.notary_result_box{
    border: 1px solid;
    border-color: #deb887;
    padding: 5px;
    visibility: hidden;
    display: flex;
}
.notary_result_text{
    width: 70%;
    text-align: center;
    font-weight: bold;
    margin-top: 5px;
}
.notary_result_box .button_container{
    width: 30%;
}
.game_debug{
    display: none;
    position: absolute;
    width: 500px;
    height: 700px;
    z-index: -99999;
}
input{
    text-align: center;
}
input[type='number'], input[type='number']::selection {
    color: transparent;
    background-color: transparent;
}
label.formatted-price{
    user-select: none;
    position: absolute;
    margin-top: 8px;
    width: 95px;
    margin-left: 20px;
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    z-index: -999;
}
.house_for_sale_offer .formatted-price{
    margin-top: 6px;
    width: 245px;
}
span#notary_semaphore {
    width: 20px;
    height: 20px;
    display: inline-block;
    left: 10px;
    position: relative;
    top: 4px;
    border-radius: 10px;
}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {  
   opacity: 1;
}