* {
  box-sizing: border-box;
  /* font-family: -apple-system, BlinkMacSystemFont, "segoe ui", roboto, oxygen, ubuntu, cantarell,
    "fira sans", "droid sans", "helvetica neue", Arial, sans-serif; */
  font-size: 16px;
}
body {
  /* background-color: #435165; */
  margin: 0;
}
.register {
  width: 70%;
  /* width: 590px; */
  background-color: #ffffff;
  box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  margin: 100px auto;
  border-radius: 10px;
  padding: 10px;
  font-family: "vazir" !important;
  grid-area: 2/2/3/3;
}
.register h1 {
  text-align: center;
  color: #5b6574;
  font-size: 24px;
  padding: 20px 0 20px 0;
  border-bottom: 1px solid #dee0e4;
}
.register form {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 20px;
}
.register form .form_item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 50px;
  background-color: #3b4b6e;
  color: #ffffff;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
.register form input[type="password"],
.register form input[type="text"],
.register form input[type="email"] {
  width: 100%;
  height: 50px;
  border: 1px solid #dee0e4;
  /* margin-bottom: 20px; */
  padding: 0 15px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  font-family: 'BNazanin';
  font-size: 18px;
  font-weight: 600;
}
.register form input[type="submit"],
.pageregister_show_info {
  width: 100%;
  padding: 8px;
  margin-top: 20px;
  background-color: #3b4b6e;
  border: 0;
  cursor: pointer;
  font-weight: bold;
  color: #ffffff;
  transition: background-color 0.2s;
  border-radius: 10px;
  text-align: center;
  font-family: "BNazanin" !important;
  font-size: 1.3rem;
}
.register form input[type="submit"]:hover {
  background-color: #6d8dd2;
  transition: background-color 0.2s;
}

/* line 92 form style for radio button */
.register form label.radioButton_item {
  display: inline !important;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  color: #3b4b6e;
}

.delete_item {
  justify-content: center;
  align-items: center;
  font-weight: bold;
  color: #2868c7;
  margin-right: 74px;
  margin-top: 30px !important;
}

/* show_information  css for table */

.container_table {
  width: 700px;
  box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  margin: 100px auto;
  border: 1px solid #2868c7 !important;
  border-radius: 15px;
  overflow-x: auto;
}

.container_result {
  width: 700px;
  box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  margin: 230px auto;
  border: 1px solid #2868c7 !important;
  border-radius: 15px;
}

table {
  font-family: BNazanin, arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
  text-align: center;
  border-radius: 15px;
  border-collapse: collapse;
  table-layout: fixed;
}

.radioButton_item{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    grid-template-rows: repeat(4,1fr);
    justify-items: end;
    grid-gap:1rem;
    font-weight: 700;
}
.radioButton-grid-area1{
  grid-area: 1/1/2/2;
}
.radioButton-grid-area2{
  grid-area: 1/2/2/3;
}
.radioButton-grid-area3{
  grid-area: 2/1/2/2;
}
.radioButton-grid-area4{
  grid-area: 2/2/2/3;
}
.radioButton-grid-area5{
  grid-area: 3/1/3/2;
}
.radioButton-grid-area6{
  grid-area: 3/2/3/3;
}
.radioButton-grid-area7{
  grid-area: 4/1/4/2;
}
.radioButton-grid-area8{
  grid-area: 4/2/4/3;
}


.div-form-input-Name,
.div-form-input-family,
.div-form-input-mobile{
    display: grid;
    grid-template-columns: 4rem repeat(1, 1fr);
    justify-items: end;
    grid-template-rows: repeat(1, 1fr) 2.5rem;
    width: 95%;
}

.warning-text-input1,
.warning-text-input2,
.warning-text-input3{
  grid-area: 2/2;
  font-family: 'BNazanin';
  font-size: 15px !important;
  display: none;
  color: red;
}

.title-radioButton{
  text-align: center;
  padding: 1rem;
  font-family: "BNazanin" !important;
  font-weight: 800;
  font-size: 1.2rem;
}

.container-form-registerpage{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 15rem repeat(1, 1fr);
}

.container_result {
  width: 70%;
  box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
  border: 1px solid #2868c7 !important;
  border-radius: 15px;
  grid-area: 1/1/2/4;
  justify-self: center;
  height: 70%;
  align-self: center;
}

.table-container {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
}
table {
  font-family: BNazanin, arial, sans-serif;
  border-collapse: collapse;
  width: 100%;
  text-align: center;
  border-radius: 15px;
  border-collapse: collapse;
  table-layout: fixed;
}

td,
th {
  text-align: center;
  padding: 20px;
  font-weight: bold;
}
.message-txt {
  grid-area: 1/1/2/6;
  justify-self: center;
}

.Link-txt {
  grid-area: 2/1/3/6;
  display: flex;
  justify-content: space-between;
}

.link-page {
  font-family: 'BNazanin';
  color: #2C74B3;
  display: flex;
  align-items: center;
  font-size: 17px;
}

.link-page:hover {
  color: #144272;
}

.main-message-txt {
  margin: 0.3rem;
  font-family: 'BNazanin';
  font-size: 20px;
  direction: rtl;
}

.pageregister_show_info .show_info_link {
  color: white;
}

.register form,
.radioButton_item {
  font-family: "BMitra" !important;
  font-size: 1.3rem;
}
.title-form-register {
  font-family: "BNazanin" !important;
}

.highlight {
  background-color: #dddddd;
  border-radius: 10px;
}

.readonly {
  border-radius: 10px;
}

.description {
  margin: 4rem 15rem;
  direction: rtl;
  padding: 2rem 3rem;
  background-color: #f8f9fc;
  border-radius: 1rem;
  box-shadow: 0 0 9px 0 rgba(0, 0, 0, 0.3);
}

.description > h4 {
  font-family: "BHoma" !important;
  color: #ff5714 !important;
}
.description > h5 {
  font-family: "BNazanin" !important;
  color: #0d6efd;
}

.information {
  text-align: justify;
}

.container-form{
  display: grid;
  grid-template-columns: repeat(3,1fr);
  grid-template-rows: 8rem repeat(1,1fr);
  grid-gap:2rem 0;
}

.title-form{
grid-area: 1/1/2/4;
align-self: start;
text-align: justify;
direction: rtl;
padding: 3rem 10rem;
font-family: 'BNAZANIN';
color: #19376D;
font-size: 22px !important;
}
/* responsive */

@media screen and (max-width: 1060px) {
  .description {
    margin: 100px 10rem;
  }
}

@media screen and (max-width: 960px) {
  .container-form {
    grid-template-columns:4rem repeat(1,1fr) 4rem;
  }
  .title-form{
    padding: 3rem 5rem;
    grid-area: 1/2/2/3;
  }
}

@media screen and (max-width: 840px) {
  .description {
    margin: 100px 7rem;
  }
}

@media screen and (max-width: 712px) {
  .container-form {
    grid-template-columns: 3rem repeat(1,1fr) 3rem;
    grid-gap:3rem 0;
  }
  .title-form{
    padding: 3rem 5rem;
  }
  .register {
    width: 100%;
  }
}

@media screen and (max-width: 620px) {
  .description {
    margin: 100px 3rem;
    padding: 2rem 2rem;
  }
  .container-form {
    grid-template-columns:.5rem repeat(1,1fr) .5rem;
  }
  .title-form{
    padding: 3rem 2rem;
  }
  .radioButton_item{
    grid-gap: 1rem 0.5rem;
  }

}

@media screen and (max-width: 460px) {
  .register {
    width: 100%;
  }
  .register form input[type="password"],
  .register form input[type="text"],
  .register form input[type="email"] {
    width: 100%;
  }
  .description {
    margin: 100px 2rem;
    padding: 2rem 1rem;
  }
  .container-form {
    grid-template-columns:.5rem repeat(1,1fr) .5rem;
    grid-template-rows: 18rem repeat(1,1fr);
  }
}
@media screen and (max-width: 407px) {
  .register {
    width: 360px;
  }
  .description {
    margin: 100px 1rem;
  }
}

@media screen and (max-width: 380px) {
  .register {
    width: 330px;
  }

  .register form input[type="password"],
  .register form input[type="text"],
  .register form input[type="email"] {
    width: 100%;
  }
}
@media screen and (max-width: 350px) {
  .register {
    width: 300px;
  }

  .register form input[type="password"],
  .register form input[type="text"],
  .register form input[type="email"] {
    width: 100%;
  }

  .register form input[type="submit"],
  .pageregister_show_info {
    font-size: revert;
  }
}
@media screen and (max-width: 320px) {
  .register {
    width: 280px;
  }

  .register form input[type="password"],
  .register form input[type="text"],
  .register form input[type="email"] {
    width: 100%;
  }
}

@media screen and (max-width: 725px) {
  .container_result {
    width: 640px;
  }
}

@media screen and (max-width: 665px) {
  .container_result {
    width: 590px;
  }
}

@media screen and (max-width: 605px) {
  .container_result {
    width: 530px;
  }
}
@media screen and (max-width: 550px) {
  .container_result {
    width: 490px;
  }
}
@media screen and (max-width: 505px) {
  .container_result {
    width: 430px;
  }
}
@media screen and (max-width: 445px) {
  .container_result {
    width: 390px;
  }
  .radioButton_item{
    grid-template-columns: repeat(1,1fr);
    grid-template-rows: repeat(8,1fr);
  }
  .radioButton-grid-area1{
    grid-area: 1/1;
  }
  .radioButton-grid-area2{
    grid-area: 2/1;
  }
  .radioButton-grid-area3{
    grid-area: 3/1;
  }
  .radioButton-grid-area4{
    grid-area: 4/1;
  }
  .radioButton-grid-area5{
    grid-area: 5/1;
  }
  .radioButton-grid-area6{
    grid-area: 6/1;
  }
  .radioButton-grid-area7{
    grid-area: 7/1;
  }
  .radioButton-grid-area8{
    grid-area: 8/1;
  }

}
@media screen and (max-width: 405px) {
  .container_result {
    width: 340px;
  }
}
@media screen and (max-width: 360px) {
  .container_result {
    width: 300px;
  }
}
@media screen and (max-width: 320px) {
  .container_result {
    width: 280px;
  }
}

@media screen and (max-width: 725px) {
  .container_table {
    width: 630px;
  }
}
@media screen and (max-width: 660px) {
  .container_table {
    width: 580px;
  }
  td {
    font-size: 12.5px !important;
  }
  a {
    font-size: 14.5px !important;
  }
}

@media screen and (max-width: 600px) {
  .container_table {
    width: 520px;
  }
  td {
    font-size: 14px !important;
    padding: 14px;
  }
  a {
    font-size: 16px !important;
  }
}

@media screen and (max-width: 540px) {
  .container_table {
    width: 450px;
  }
  td {
    font-size: 12px !important;
    padding: 10px;
  }
  a {
    font-size: 14px !important;
  }
}

@media screen and (max-width: 470px) {
  .container_table {
    width: 400px;
  }
  td {
    font-size: 11px !important;
    padding: 10px;
  }
  a {
    font-size: 12px !important;
  }
}

@media screen and (max-width: 420px) {
  .container_table {
    width: 360px;
  }
  td {
    font-size: 11px !important;
    padding: 5px;
  }
  a {
    font-size: 13px !important;
  }
}
@media screen and (max-width: 370px) {
  .container_table {
    width: 330px;
  }
  td {
    font-size: 10px !important;
    padding: 5px;
  }
  a {
    font-size: 12px !important;
  }
}

@media screen and (max-width: 329px) {
  .container_table {
    width: 290px;
  }
  td {
    font-size: 9.5px !important;
    padding: 5px;
  }
  a {
    font-size: 9px !important;
  }
}

@media screen and (max-width: 300px) {
  .container_table {
    width: 260px;
  }
  td {
    font-size: 8px !important;
    padding: 5px;
  }
  a {
    font-size: 9px !important;
  }
}
