.clear {
  clear: both;
}

html,
body {
  font-family: arial;
  margin: 0;
  padding: 0;
  height: 100%;
}

h1 {
  font-size: 22px;
  margin-top: 0;
}

hr {
  background-color: #cccccc;
  border: medium none;
}

.lab {
  line-height: 30px;
  width: 150px;
  font-size: 12px;
}

input,
input.field {
  margin: 0;
  /*width: 150px;*/
  /* background-color: #f4f4f4; */
  border: 1px solid #cccccc;
  font-size: 16px;
}

td div.like_input {
  /* box-shadow: rgba(32, 33, 36, 0.28) 0px 1px 6px 0px; */
  /* min-height: 35px; */
  width: 100%;
  font-size: 15px;
  color: rgb(117, 117, 117);
  padding: 5px;
  vertical-align: middle;
  white-space: nowrap;
  border-radius: 5px;
  border-width: 1px !important;
  border-style: solid !important;
  border-color: #cccccc !important;
  border-image: initial !important;
  margin: 0;
  /* background-color: #f4f4f4; */
}

#main_wrapper {
  min-height: 100%;
  margin: 0 auto;
  background-color: white;
  /* background-color: #f3f7ed; */
  padding: 10px 40px 0px;
  width: 1250px;
  position: relative;
  box-sizing: initial;
}

#content {
  /* width: 700px; */
  /* overflow: auto; */
  position: relative;
}

.help_text {
  background-color: #ffffff;
  /* border: 1px solid #CCCCCC; */
  margin: 20px 0 0;
  padding: 0 5px;
}

#menu_l4,
#main_menu {
  background: url("/static/images/yellow-menu.png") no-repeat scroll 0 0 transparent;
  float: left;
  height: 32px;
  margin: 30px 0;
  padding: 0;
  width: 700px;
}

#menu_l4 li,
#main_menu li {
  float: left;
  width: 173px;
  list-style: none;
}

#menu_l4 li a,
#main_menu li a {
  color: #676566;
  display: table-cell;
  font-size: 13px;
  font-weight: bold;
  height: 32px;
  text-align: center;
  vertical-align: middle;
  width: 173px;
}

#main_menu li a {
  text-decoration: none;
}

#main_menu li:hover a {
  font-size: 15px;
}

#login_submit {
  border: medium none;
  float: right;
  height: 24px;
  margin-top: 5px;
  width: 68px;
}

/* Buttons */
/*  .gray_btn, .blue_btn { */
/*      height: 35px; */
/*      float: right; */
/*      margin: 0; */
/*      min-width: 107px; */
/*      border: none; */
/*      text-align: center; */
/*      text-decoration: none; */
/*      cursor: pointer; */
/*  } */
/*  .gray_btn:focus, .blue_btn:focus { */
/*     outline: none; */
/* } */

/*  .gray_btn { */
/*      background: url(/static/images/gray_normal.png) no-repeat scroll 0 0 transparent; */
/*      background-size: 100% 35px; */
/*      color: #000000; */
/*  } */
/*  .gray_btn:HOVER { */
/*      background: url(/static/images/gray_moouse_over.png) no-repeat scroll 0 0 transparent; */
/*      background-size: 100% 35px; */
/*  } */
/*  a.gray_btn, span.gray_btn { */
/*      height: 35px; */
/*      display: flex; */
/*     align-items: center; */
/*     justify-content: center; */
/*  } */
/*  .blue_btn { */
/*      background: url(/static/images/blue_normal.png) no-repeat scroll 0 0 transparent; */
/*      background-size: 100% 35px; */
/*      color: #ffffff; } */
/*  .blue_btn:HOVER { */
/*      background: url("/static/images/blue_mouseover.png") no-repeat scroll 0 0 transparent; */
/*      background-size: 100% 35px; */
/*  } */

/*   div.gray_btn_left { */
/*       float: left; */
/*       width: 4px; */
/*       height: 35px; */
/*   }      */
/*  div.gray_btn_middle { */
/*      float: left; */
/*      height: 35px; */
/*  } */
/*  .gray_btn_middle div { */
/*      margin: 8px 5px 0; */
/*      color: #000000; */
/*  } */
/*  div.gray_btn_right { */
/*      float: left; */
/*      width: 4px; */
/*      height: 35px; */
/*  } */

.blue_btn {
  cursor: pointer;
  margin-left: 5px;
  margin-bottom: 15px;
  box-sizing: border-box;
  /*text-shadow:0 -2px 0 darken($color,20%),0 1px 1px lighten($color,20%) ;
	*/
  font-size: 1em;

  text-decoration: none;
  font-weight: bold;
  color: #e7eff6;
  height: 35px;
  line-height: 35px;
  padding: 0 17.5px;
  display: inline-block;
  width: auto;
  background: linear-gradient(to bottom, #6eb7ef 0%, #72aedc 26%, #538fbe 100%);
  border-radius: 5px;
  border: 1px solid gray;
  top: 0;
  transition: all 0.06s ease-out;
  position: relative;
  text-align: center;
}

.blue_btn:visited {
  color: #e7eff6;
}

.blue_btn:hover {
  background: linear-gradient(to bottom, #8fc7f3 0%, #8fbee3 26%, #6da0c8 100%);
}

a.gray_btn {
  cursor: pointer;
  margin-left: 5px;
  margin-bottom: 15px;
  box-sizing: border-box;
  /*text-shadow:0 -2px 0 darken($color,20%),0 1px 1px lighten($color,20%) ;
	*/
  font-size: 1em;

  text-decoration: none;
  font-weight: bold;
  color: #000;
  height: 35px;
  line-height: 35px;
  padding: 0 17.5px;
  display: inline-block;
  width: auto;
  background: linear-gradient(to bottom, #f5ebeb 0%, #ece5e5 26%, #cacaca 100%);
  border-radius: 5px;
  border: 1px;
  /* solid gray;*/
  top: 0;
  transition: all 0.06s ease-out;
  position: relative;
  text-align: center;
}

a.gray_btn:visited {
  color: #000;
}

a.gray_btn:hover {
  background: linear-gradient(to bottom, #fff 0%, #fbfafa 26%, #dcdcdc 100%);
}

.yellow_btn {
  cursor: pointer;
  margin-left: 5px;
  margin-bottom: 15px;
  box-sizing: border-box;
  /*text-shadow:0 -2px 0 darken($color,20%),0 1px 1px lighten($color,20%) ;
	*/
  font-size: 1em;
  font-family: Helvetica, Arial, Sans-Serif;
  text-decoration: none;
  font-weight: bold;
  color: #000;
  height: 35px;
  line-height: 35px;
  padding: 0 17.5px;
  display: inline-block;
  width: auto;
  background: linear-gradient(to bottom, #ffff4d 0%, #ffff3d 26%, #ff0 100%);
  border-radius: 5px;
  border-top: 1px solid #ffff70;
  border-bottom: 1px solid #ff6;
  top: 0;
  transition: all 0.06s ease-out;
  position: relative;
  text-align: center;
}

.yellow_btn:visited {
  color: #000;
}

.yellow_btn:hover {
  background: linear-gradient(to bottom, #ffff70 0%, #ffff61 26%, #ffff24 100%);
}

.orange_btn {
  cursor: pointer;
  margin-left: 5px;
  margin-bottom: 15px;
  box-sizing: border-box;
  /*text-shadow:0 -2px 0 darken($color,20%),0 1px 1px lighten($color,20%) ;
	*/
  font-size: 2em;
  font-family: Helvetica, Arial, Sans-Serif;
  text-decoration: none;
  font-weight: bold;
  color: #000;
  height: 35px;
  /*line-height: 35px;*/
  padding: 0 17.5px;
  display: inline-block;
  width: auto;
  background: linear-gradient(to bottom, #ffc04d 0%, #ffbb3d 26%, #ffa500 100%);
  border-radius: 5px;
  border-top: 1px solid #ffcd70;
  border-bottom: 1px solid #ffc966;
  top: 0;
  transition: all 0.06s ease-out;
  position: relative;
  text-align: center;
}

.orange_btn:visited {
  color: #000;
}

.orange_btn:hover {
  background: linear-gradient(to bottom, #ffcd70 0%, #ffc761 26%, #ffb224 100%);
}

/* composite button */
.gray_btn_composite div.gray_btn_left {
  background: url(/static/images/gray_btn/normal/left.png) no-repeat scroll 0 0 transparent;
}

.gray_btn_composite div.gray_btn_middle {
  background: url(/static/images/gray_btn/normal/middle.png) repeat scroll 0 0 transparent;
}

.gray_btn_composite div.gray_btn_right {
  background: url(/static/images/gray_btn/normal/right.png) no-repeat scroll 0 0 transparent;
}

.gray_btn_composite:hover div.gray_btn_left {
  background: url(/static/images/gray_btn/mouse_over/left.png) no-repeat scroll 0 0 transparent;
}

.gray_btn_composite:hover div.gray_btn_middle {
  background: url(/static/images/gray_btn/mouse_over/middle.png) repeat scroll 0 0 transparent;
}

.gray_btn_composite:hover div.gray_btn_right {
  background: url(/static/images/gray_btn/mouse_over/right.png) no-repeat scroll 0 0 transparent;
}

/* composite */
.gray_btn_comp:before,
.gray_btn_comp:hover:before {
  width: 4px;
  content: " ";
  height: 35px;
  position: absolute;
  left: 0;
  top: 0px;
}

.gray_btn_comp:before {
  background: url(/static/images/gray_btn/normal/left.png) no-repeat scroll 0 0 transparent;
}

.gray_btn_comp:hover:before {
  background: url(/static/images/gray_btn/mouse_over/left.png) no-repeat scroll 0 0 transparent;
}

.gray_btn_comp,
.gray_btn_comp:hover {
  display: block;
  height: 35px;
  margin: 0 3px;
}

.gray_btn_comp {
  background: url(/static/images/gray_btn/normal/middle.png) repeat scroll 0 0 transparent;
}

.gray_btn_comp:hover {
  background: url(/static/images/gray_btn/mouse_over/middle.png) repeat scroll 0 0 transparent;
}

.gray_btn_comp:after,
.gray_btn_comp:hover:after {
  content: " ";
  width: 4px;
  height: 35px;
  position: absolute;
  right: 0;
  top: 0;
}

.gray_btn_comp:after {
  background: url(/static/images/gray_btn/normal/right.png) no-repeat scroll 0 0 transparent;
}

.gray_btn_comp:hover:after {
  background: url(/static/images/gray_btn/mouse_over/right.png) no-repeat scroll 0 0 transparent;
}

/* EOF composite */

/* S2 */
#students_courses_table .child td {
  cursor: pointer;
  padding: 0 5px;
}

#students_courses_table .select_courses_disable {
  cursor: not-allowed;
  text-align: center;
  background-color: #28a745;
  color: white;
  border-radius: 2px;
  font-size: 12px;
  /* height: 25px; */
  box-shadow: rgb(32 33 36 / 28%) 0px 1px 6px 0px;
  line-height: 32px;
}

#students_courses_table .select_courses {
  text-align: center;
  background-color: #5a5dfc;
  color: white;
  border-radius: 5px;
  font-size: 16px;
  line-height: 32px;
}

#students_courses_table .select_courses:active {
  box-shadow: none;
}

#parent_order_table {
  width: 100%;
}

#orders {
  max-width: 700px;
  /*border: 1px solid;
      padding: 10px;
      position: fixed;
      font-size: 12px;
      display: none;
      top: 50px;
      background: #fff;
      left: 50%;
      margin-left: -270px;      */
}

#orders td:nth-child(1) {
  width: 30px;
}

#orders td:nth-child(2) {
  width: 150px;
}

#orders td:nth-child(3) {
  width: 20px;
}

#orders td:nth-child(4) {
  width: 60px;
}

#orders td:nth-child(5) {
  width: 150px;
}

/* EOF S2 */

@media only screen and (min-width: 800px) {
  .place_wrapper {
    position: absolute;
  }

  #students_courses_table ..delete_child {
    width: 20px;
  }
  #students_courses_table .name {
    width: 290px;
  }

  #students_courses_table .name2 {
    width: 290px;
  }

  #students_courses_table .born {
    width: 50px;
  }

  #students_courses_table .mobile {
    width: 95px;
  }

  #students_courses_table .email {
    width: 180px;
  }

  #l4s1 .left_col {
    float: left;
  }

  #l4s1 .right_col {
    float: right;
    margin-left: 10px;
    position: relative;
  }

  #l4s1 #zip_city {
    overflow: auto;
    width: 350px;
  }

  #l4s1 #zip_city .zip_block {
    float: left;
  }

  #l4s1 #zip_city .city_block {
    float: left;
    margin-left: 10px;
    width: 250px;
  }

  #extra_parents tr td div:before {
    content: attr(data-th);
    font-weight: bold;
    display: inline-block;
    width: 100%;
    text-align: center;
    margin-top: 7px;
    font-size: 12px;
  }

  #footer {
    border-top: 1px solid;
    /* bottom: 0; */
    clear: both;
    height: 40px;
    /* position: absolute; */
    text-align: center;
    font-size: 11px;
    font-weight: bold;
    width: 100%;
    /* margin: 0 0 0 -50px; */
  }

  /* S1 */
  .buttons_set a,
  .buttons_set input {
    float: right;
  }

  /* eof S1 */
  /* S3 */
  #parent_order_table {
    margin-top: 6px;
    border-collapse: collapse;
    width: 100%;
  }

  #parent_order_table thead tr {
    font-weight: bold;
    border-bottom: 2px solid #cccccc;
  }

  #parent_order_table thead td.line_no {
    width: 40px;
    padding-left: 0px;
  }

  #parent_order_table thead td.course_name {
    width: 220px;
  }

  #parent_order_table thead td.student_name {
    width: 220px;
  }

  #parent_order_table thead td.price {
    width: 50px;
    text-align: right;
  }

  #parent_order_table thead td.quantity {
    width: 20px;
    text-align: right;
  }

  #parent_order_table thead td.net_price {
    width: 50px;
    text-align: right;
  }

  #parent_order_table tbody td.line_no {
    padding-left: 0px;
  }

  #parent_order_table tbody td.course_name {}

  #parent_order_table tbody td.student_name {}

  #parent_order_table tbody td.price {
    text-align: right;
  }

  #parent_order_table tbody td.quantity {
    text-align: right;
  }

  #parent_order_table tbody td.net_price {
    text-align: right;
  }

  #parent_order_table tbody td.total_val {
    text-align: right;
  }

  /* EOF S3 */

  .course-box {
    width: calc(25% - 10px);
  }
}

@media only screen and (max-width: 799px) {
  .course-box {
    width: 100%;
  }

  #main_wrapper {
    min-height: 100%;
    /* background-color: #EEFCFD; */
    margin: 0 auto;
    padding: 0px 10px;
    width: auto;
    position: relative;
  }

  #content {
    width: auto;
    overflow: auto;
    position: relative;
  }

  .place_wrapper {
    position: block;
  }

  #students_courses_table thead {
    display: none;
  }

  #students_courses_table .child td

  /*, #students_courses_table thead th*/
    {
    display: block;
    
    margin-bottom: 3px;
    float: right;
    box-sizing: border-box;
  }

  #students_courses_table .child td.name,
  #students_courses_table .child td.name2 {
    border: none;
    text-decoration: underline;
    width: 45%;
  }

  #students_courses_table .child td.delete_child {
    width: 10%;
    float: left;
  }
  #students_courses_table .child td.open_booking {
    width: 100%;
  }

  #students_courses_table .child td.name {
    text-align: right;
    float: left;
  }

  #students_courses_table .child td.name2 {
    text-align: left;
    float: right;
  }

  #students_courses_table .child td.born,
  #students_courses_table .child td.mobile,
  #students_courses_table .child td.email {
    display: none;
  }

  #students_courses_table .child .select_courses {
    width: 100%;
    padding: 5px 0;
    font-size: 18px;
    height: auto;
  }

  /*
     #students_courses_table .child td:before { 
	 content: attr(data-th); 
	 font-weight: bold;
	 display: inline-block;
	 width: 50%;
	 text-align: right;  
     }
     #students_courses_table .child td.select_courses:before {
	 width: 0;
     }
     */
  .day_courses thead tr.col_header {
    display: none;
  }

  .course td {
    display: block;
    width: 100%;
    margin-bottom: 3px;
    float: right;
  }

  .course td.text_field:before {
    content: attr(data-th);
    font-weight: bold;
    display: inline-block;
    width: 49%;
    margin-right: 4px;
    text-align: right;
  }

  .course td:first-child {
    border-top: 1px solid;
  }

  #l4s1 .left_col,
  #l4s1 .right_col {
    clear: both;
  }

  #l4s1 input[type="text"] {
    width: 99%;
  }

  #l4s1 input#city {
    float: none;
  }

  #extra_parents .title {
    display: none;
  }

  #extra_parents td {
    display: block;
  }

  #extra_parents tr td div {
    clear: both;
  }

  #extra_parents tr td div:before {
    content: attr(data-th);
    font-weight: bold;
    display: inline-block;
    width: 28%;
    text-align: right;
    margin-top: 10px;
    margin-right: 3px;
    font-size: 12px;
  }

  #extra_parents tr td div input[type="text"] {
    width: 69%;
    float: right;
  }

  /* S1 */
  .buttons_set a,
  .buttons_set input {
    float: right;
  }

  /* S2 */
  #read_more #read_more_comment td {
    display: block;
    width: 100%;
  }

  #orders {
    width: 90%;
    /*border: 1px solid;
     padding: 10px;
     position: fixed;
     font-size: 12px;
     display: none;
     top: 10px;
     background: #fff;
     width: 90%;
     margin: 0;
     left: 5%;
     box-sizing: border-box;*/
  }

  #orders td {
    display: block;
    width: 100%;
    margin-bottom: 3px;
    float: right;
    box-sizing: border-box;
  }

  #orders td:nth-child(1) {
    width: 100%;
  }

  #orders td:nth-child(2) {
    width: 100%;
  }

  #orders td:nth-child(3) {
    width: 10%;
    float: left;
    border-bottom: 1px solid;
  }

  #orders td:nth-child(4) {
    width: 40%;
    line-height: 18px;
    float: left;
    border-bottom: 1px solid;
  }

  #orders td:nth-child(5) {
    width: 50%;
    line-height: 18px;
    float: left;
    border-bottom: 1px solid;
  }

  /* eof S2 */
  /* S3 */
  #parent_order_table {
    margin: 6px auto;
    border-collapse: collapse;
    font-size: 15px;
  }

  #parent_order_table thead {
    display: none;
  }

  #parent_order_table tbody td.student_name {
    font-weight: bold;
  }

  #parent_order_table tbody td {
    display: block;
    float: left;
    width: 100%;
  }

  #parent_order_table tbody td:nth-child(2),
  #parent_order_table tbody td:nth-child(3) {
    display: block;
    float: left;
    width: auto;
    margin-right: 5px;
  }

  #parent_order_table tbody td:nth-last-child(-n + 3) {
    display: block;
    float: left;
    border-bottom: 1px solid #ccc;
  }

  #parent_order_table tbody td:nth-child(4) {
    width: 40%;
    clear: left;
    box-sizing: border-box;
  }

  #parent_order_table tbody td:nth-child(5) {
    width: 20%;
    box-sizing: border-box;
  }

  #parent_order_table tbody td:nth-child(6) {
    width: 40%;
    text-align: right;
    box-sizing: border-box;
  }

  #parent_order_table tbody td:nth-last-child(-n + 3):before {
    content: attr(data-th);
    font-weight: bold;
    display: inline-block;

    float: left;
    margin-right: 3px;
  }

  #parent_order_table tbody td.total_val {
    float: right;
    width: 200px;
    text-align: right;
    margin: 0;
  }

  #parent_order_table tbody td.total_val:before {
    float: left;
  }

  #parent_order_table tbody td.total_label {
    display: none;
    margin-top: 10px;
  }

  #parent_order_table tbody td.total_val {}

  /* EOF S3 */

  #footer {
    border-top: 1px solid;
    bottom: 0;
    clear: both;
    height: 23px;
    position: absolute;
    text-align: center;
    font-size: 11px;
    font-weight: bold;
    width: 100%;
    margin: 0 0 0 -10px;
  }
}

/* EOF */

a.text_btn:hover {
  color: #fff;
  text-decoration: none;
}

.modal-footer .red {
  background-color: rgb(255, 0, 51);
}

.text_btn.red {
  background-color: #e619a1;
}

.text_btn.purple {
  background-color: #9933ff;
}

.text_btn {
  border: 1px solid;
  padding: 6px 8px;
  cursor: pointer;
  /* background-color: #4e9dba; */
  background-color: #0066ff;
  font-size: 12px;
  font-weight: bold;
  color: #ffffff;
  border-color: #777;
  border-radius: 5px;
  text-decoration: none;
  min-width: 165px;
  text-align: center;
  display: block;
  text-transform: uppercase;
  height: 40px;
  line-height: 25px;
}

.course-box {
  border: 1px solid;
  border-radius: 5px;
  margin: 5px;
  border-color: #979393;
}

.booking_status {
    /* height: 50px; */
    border: 1px solid #4e9dba;
    border-radius: 5px;
    margin: 3px 10px;
    /* display: flex; */
    /* justify-content: center; */
    /* align-items: flex-end; */
    padding: 10px 5px;
}

.booking_status_1 {
  background-color: #f0fff7;
}

.booking_status_2 {
  background-color: #fffce4;
}

.booking_status_3 {
  background-color: #fff0f5;
}

.booking_status_4 {
  background-color: #33ff33;
}

.book_it {
  border: 1px solid;
  width: fit-content;
  padding: 3px 10px;
  border-radius: 10px;
  margin-bottom: 5px;
  cursor: pointer;
  background-color: white;
}

@media only screen and (max-width: 400px) {
  h1 {
    font-size: 16px;
    display: block;
    margin-top: 14px;
  }
}
