body { margin-bottom: unset; } input[type=number]::-webkit-inner-spin-button, input[type=number]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; } *:focus { outline: none; } .main-box { width: 100%; height: calc(100% - 98px); } .map { width: 100%; height: 100%; } .validation-style { border: 1px solid crimson; box-shadow: crimson 0px 1px 9px; } .validation-style:focus { border-color: crimson; } .accept-number { text-align: center; height: 50px; width: 40px; font-size: 30px !important; border-radius: 5px; border: 1px solid #e1e1e1; box-shadow: #e1e1e1 0px 1px 9px; } .iran-change-layer { position: absolute; bottom: 40px; left: 30px; z-index: 400; padding: 10px; background-color: #997565c7; border-radius: 50px; } .iran-change-layer img { width: 50px; height: 50px; } /* worse but force */ @media only screen and (max-width: 700px){ .main-box { width: 100%; height: calc(100% - 73px); } } @media (max-width: 576px){ .iran-change-layer { position: absolute; bottom: 57px; left: 10px; z-index: 400; padding: 6px; background-color: #997565c7; border-radius: 50px; } .iran-change-layer img { width: 40px; height: 40px; } .main-box { width: 100%; height: calc(100% - 66px); } } @media (max-width: 490px){ .main-box { width: 100%; height: calc(100% - 89px); } } /* end worse but force */