/*!
Theme Name: Family
Theme URI: https://hoseindehbashi.ir/
Author: Hosein Dehbashi
Author URI: https://hoseindehbashi.ir
Version: 1.0
*/
@font-face {
    font-family: iransans;
    font-style: normal;
    font-weight: 900;
    src: url('fonts/IRANSansWeb_Black.eot');
    src: url('fonts/IRANSansWeb_Black.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('fonts/IRANSansWeb_Black.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
    url('fonts/IRANSansWeb_Black.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('fonts/IRANSansWeb_Black.ttf') format('truetype');
}
@font-face {
    font-family: iransans;
    font-style: normal;
    font-weight: bold;
    src: url('fonts/IRANSansWeb_Bold.eot');
    src: url('fonts/IRANSansWeb_Bold.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('fonts/IRANSansWeb_Bold.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
    url('fonts/IRANSansWeb_Bold.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('fonts/IRANSansWeb_Bold.ttf') format('truetype');
}
@font-face {
    font-family: iransans;
    font-style: normal;
    font-weight: 500;
    src: url('fonts/IRANSansWeb_Medium.eot');
    src: url('fonts/IRANSansWeb_Medium.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('fonts/IRANSansWeb_Medium.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
    url('fonts/IRANSansWeb_Medium.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('fonts/IRANSansWeb_Medium.ttf') format('truetype');
}
@font-face {
    font-family: iransans;
    font-style: normal;
    font-weight: 300;
    src: url('fonts/IRANSansWeb_Light.eot');
    src: url('fonts/IRANSansWeb_Light.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('fonts/IRANSansWeb_Light.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
    url('fonts/IRANSansWeb_Light.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('fonts/IRANSansWeb_Light.ttf') format('truetype');
}
@font-face {
    font-family: iransans;
    font-style: normal;
    font-weight: 200;
    src: url('fonts/IRANSansWeb_UltraLight.eot');
    src: url('fonts/IRANSansWeb_UltraLight.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('fonts/IRANSansWeb_UltraLight.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
    url('fonts/IRANSansWeb_UltraLight.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('fonts/IRANSansWeb_UltraLight.ttf') format('truetype');
}
@font-face {
    font-family: iransans;
    font-style: normal;
    font-weight: normal;
    src: url('fonts/IRANSansWeb.eot');
    src: url('fonts/IRANSansWeb.eot?#iefix') format('embedded-opentype'),  /* IE6-8 */
    url('fonts/IRANSansWeb.woff2') format('woff2'),  /* FF39+,Chrome36+, Opera24+*/
    url('fonts/IRANSansWeb.woff') format('woff'),  /* FF3.6+, IE9, Chrome6+, Saf5.1+*/
    url('fonts/IRANSansWeb.ttf') format('truetype');
}
*{
    box-sizing: border-box;
    position: relative;
    outline: none;
    text-decoration: none;
    padding: 0;
    margin: 0;
    font-family: iransans;
    transition: all 0.35s ease-in;
  

}
body{
    background-color: #136e70;
    direction: rtl;
    font-family: iransans;
}


.center{
    width: 800px;
    margin:50px auto;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0px 2px 5px #00000050;
    padding:20px
}


@media only screen and (max-width: 600px) {
    .center{
        width: 95%;
        margin:50px auto;
        background: #fff;
        border-radius: 10px;
        box-shadow: 0px 2px 5px #00000050;
        padding:20px
    }
    
  }
form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 20px 0;
}
label {
	display: flex;
	flex-direction: column;
	gap: 5px;
}
input[type="number"] {
	-moz-appearance: textfield;
	height: 35px;
	border: none;
	background-color: #eee;
	border-radius: 10px;
	padding: 0 10px;
}
button {
	height: 40px;
	border: none;
	background-color: #136e70;
	color: #fff;
	margin: 10px;
	padding: 0 20px;
	border-radius: 10px;
}
.frm label {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin: 5px 10px auto;
	background-color: #eee;
	padding: 10px;
	border-radius: 10px;
}
select {
	background-color: #fff;
	border: none;
	height: 35px;
	padding: 0 10px;
	border-radius: 10px;
}
.pp{
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    margin: 0 auto 10px auto;
    display: block;
}

.modal {
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	height: 100%;
	background-color: #fff;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 30px;
}
.modal.closed {
	display: none;
}