@import url('https://fonts.googleapis.com/css?family=Josefin+Sans%7Cfamily=Roboto+Slab&display=swap');

html {
  font-family: 'Roboto Slab', serif;
}

body {
  margin: auto;
  font-family: 'Roboto Slab', sans-serif;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

.main-container {
  margin-left: auto;
  margin-right: auto;
  background-color: #fff;
  box-shadow: 0px 3px 15px rgba(0,0,0,0.2);
  border:0px solid;
  margin-top: 40px;  
}

/****************************************/

.modal-dialog {
  width: 900px;
  margin: 0 auto !important;
}

.row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;

}

.column {
  display: flex;
  flex-direction: column;
  /* flex-basis: 100%; */
  width: 50%;
  flex: 1;
  align-items: center;
  justify-content: center;
  
}

input[type=text] {
  /* padding: 20px 10px;  */
  line-height: 28px;
  border-radius: 4px;
  font-size: 1em;
  
}

::placeholder {
  color: gray;
  font-size: 1em;
}

.checkbox-grid li {
  display: block;
  /* float: left; */
  /* width: 50%; */
  /* max-width: 600px; */
}

.hidden {
    display: none;
}

#client-form:not(.admin-panel){
  text-align: left;
  margin-bottom: 7%;
}

button#submit {
  margin-top: 20px;
}

.update-btn {
  float: right;
}

.btn.btn-primary.delete-btn {
  float:right;
  background-color: rgb(161, 24, 24) !important;
  border-color: rgb(117, 8, 8) !important;
}

/* Dropdown style */
.dropbtn {
  background-color: #0275D8;
  color: white;
  padding: 10px;
  font-size: 16px;
  border: none;
  cursor: pointer;
  border-radius: 4px;

}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  right: 0;
  background-color: #f9f9f9;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.dropdown-content a {
  color: #0275D8;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {background-color: #f1f1f1;}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown:hover .dropbtn {
  background-color: #0275D8;
}


.btn.btn-primary, #update-org-details {
  background-color: #003476 !important;
  border-color: #011938 !important;
  margin-top: 20px;
  margin-bottom: 20px;
}

.btn.btn-primary#submit-multiple:hover, .btn.btn-primary:hover {
  background-color: #002658 !important;
  transition: all .5s ease-in;
}

.btn.btn-danger {
  background-color: rgb(161, 24, 24) !important;
  border-color: rgb(117, 8, 8) !important;
  margin-top: 20px;
  margin-bottom: 20px;
  margin-left: 20px;

}

#admin-login {
  text-align: center;
  display: block;
}

.subtitle, .big-subtitle {
  color: #003476;
  font-weight: 600;
  padding: 2% 0 10px 5%;
  font-size: 26px;
  line-height: 35px;
}

.subtitle#contact {
  padding: 2% 0 1% 0;
}

.big-subtitle {
  font-weight: 600;
  font-size: 28px;
  text-align: center;
  padding-left: 0;
  padding-right: 0;
}


hr.spaced {
  padding-bottom: 10px;
}
hr.short {
  width: 95%;
}

.pending {
  background: rgb(236,236,236);
  background: linear-gradient(90deg, rgba(236,236,236,1) 1%, rgba(232,232,232,1) 56%, rgba(244,244,244,1) 89%);
}

.fa {
  margin-left: 10px;
}
.logout-logo {
  margin-left: 10px;
}

#logout, #logout-li {
  cursor: pointer;
}

.main-client-container h3,
.orgs-header-container h3 {
  font-size: 28px;
  text-align: center;
  opacity: 0.65;
  font-weight: 700;
  padding-top: 25px;
}

.orgs-header-container h2 {
  margin-left: 0;
  margin-bottom: 2%;
}
.orgs-header-container h4 {
  margin-left: 0;
}
.action-group {
  width: 100%;
  text-align: right;
  padding-bottom: 20px;
}

.action-group#left{
  text-align: left;
}

.action-group#center {
  text-align: center;
}

#client-form .action-group button{
  margin-left: 0;
}


/* Modal css */
.wmodal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 10; /* Sit on top */
  left: 0;
  top: 0%;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.wmodal-content {
  position: relative;
  top: 25%;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: none !important;
  width: 40%;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* The Close Button */
.close {
  color: white !important;
  opacity: 1 !important;
  text-shadow: none !important;
  padding-top: 10px;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: rgb(179, 179, 179) !important;
  text-decoration: none;
  cursor: pointer;
}

/* Modal Header */

.wmodal-header, .wmodal-body, .wmodal-content, .wmodal-footer {
  min-width: 400px;
}

.wmodal-header {
  width: 40%;
  position: relative;
  top: 25%;
  margin: auto;
  padding: 2px 16px;
  background-color: #003476;
  color: white;
}

/* Modal Body */
.wmodal-body {padding: 2px 16px;top: 25%;}

/* Modal Footer */
.wmodal-footer {
  width: 40%;
  position: relative;
  top: 25%;
  margin: auto;
  padding: 2px 16px;
  background-color: #fefefe;
  color: white;
}

/* Modal Content */
.wmodal-content {
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 1px solid #888;
  width: 40%;
  height: 25%;
  border-bottom: solid gray 0.1vh;
  text-align: center;
  box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
  animation-name: animatetop;
  animation-duration: 0.4s;
  display: flex;
  align-items: center;
}

.wmodal-header .h4 {
  margin-top: 2%;
  margin-bottom: 2%;
}

.wmodal .text {
  margin-left: 25px;
  margin-right: 25px;
}

.wmodal h5 {
  padding: 5% 0;
  text-align: center;
}

.wmodal #successful-invite-header {
  position: relative;
  top: 0;
  margin-top: 2%;
}

.modal-np {
  display: none;
}
/* End Modal css */

/* Table css */
.table-container {
  width: 80%;
  font-size: 20px;
  display: block;
  margin: 0 auto;
  margin-top: 60px;
  font-family: 'Roboto Slab', sans-serif;

}

.striped {
  width: 100%;
  display: table;
  border-collapse: collapse;
  border-spacing: 0
}

.striped tr {
  border-bottom: none;
}
.striped tr:nth-child(2n+1) {
  background-color: rgba(242, 242, 242, 0.5);
}

.striped td, .striped th {
  padding: 8px 10px;
  display: table-cell;
  text-align: left;
  vertical-align: middle;
}

.striped th {
  background-color: #f1f1f1;
}

table#org-info tr.double {
  display: grid;
  grid-template-columns: repeat(4, 1fr);;
}

table#org-info tr.single {
  display: grid;
  grid-template-columns: 1fr 3fr;
}

table#org-info td {
  display: flex;
  width: 100%;
}

table#org-info td:nth-last-of-type(2) {
  display: table-cell;
  align-self: center;

}

@media screen and (max-width: 470px) {
  .striped {
    font-size: 15px;
    display: block;
    overflow-x: auto;
  }
}

.striped:not(#org-info):not(#client-info):not(.invitation-results):not(#person-info) tr:hover {
  background-color: #f1f1f1;
}

.idCol, .statusCol {
  display:none
}

.striped .idCol, .striped .statusCol {
  display:none
}

.applications-table {
  margin: auto;
  max-height: 700px;
  overflow-y: auto;
  padding-bottom: 2%;
}

.spaced-table {
  margin-bottom: 4%;
}
/* End Table css */

.clickable {
  cursor: pointer;
}

.gunet-container:not(.df) {
  min-height: 80vh;
  font-size: 20px;
  width: 80%;
  display: block;
  margin: 0 auto;
  margin-top: 60px;
  font-family: 'Roboto Slab', sans-serif;
}

.gunet-container.df{
  margin-bottom: 6%;
}
.gunet-container h2 {
  margin-top: 5%;
}

/* back link */
.btn-group {
  margin-bottom: 2%;
}

.btn-group a {
  color: #003476;
  transition: color 0.5s;
  cursor: pointer;
  outline: none;
  text-decoration: none;
  font-size: 17px;
}

.btn-group a:hover.fas {
  transition: color 0.5s;
}

.btn-group a:hover .no-transition {
  transition: none;
}

.btn-group a:hover,
.btn-group a:hover .fas {
  color: #00aeef;
  transition: color 0.5s;
  text-decoration: none;
}
/* end back link */

.blue {
  color: #003476;
  font-family: "Segoe UI","Roboto","Open Sans",sans-serif;
  width: 80%;
  display: block;
  margin: 0 auto;
}

.blue p {
  color: gray;
}

p.gray {
  margin-top: 2%;
  color: gray;
  font-size: 14px;
}

.client-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-between;
  align-items: flex-start !important;
  gap: 10px 10px;
  margin: 2% 5% 8% 5%
}


.shadow-container {
  border: none !important;
  box-shadow: 0 3px 15px rgba(0,0,0,.2);
}

.small-shadow-container {
  overflow-y: visible;
}

.breadcrumb {
  background-color: white !important;
  border-radius: 0px !important;  
}

.breadcrumb li a {
  color: #003476;
}

.breadcrumb li a:hover {
  color: #00aeef;
  transition: color .5s;
  text-decoration: none;
}

.admin-return {
  top: -45px;
  position: relative;
  padding: 0 0 0 20px;
  font-size: 19px;
}


#login {
  padding: 10px 35px;
  font-size: 19px;
  font-weight: light;
}

.login, .error {
  font-family: 'Roboto Slab', sans-serif;
  max-width: 85%;
  display: block;
  font-size: 18px;
  padding-bottom: 80px;
  min-height: calc(100vh - 350px);
  margin: 1em auto 0;
}

.login h1, .error h1 {
  color: #000;
  font-size: 30px!important;
  margin: 2.8rem 0 1.68rem;
  opacity: .6;
  font-weight: 800;
}

.login h2, .error h2 {
  font-size: 1.6em;
  color: #686767;
}

.error .btn-group {
  margin-top: 1%;
}

.error .back-link .fa {
  margin-left: 0;
}


/* Header css */
.headers {
  background-color: #003476;
  width:100%;
  height:130px;
  padding-bottom: 25px;
  display: block;
  /* animation: movein 0.7s ease-out; */
}

.headers h1 {
  text-align: left;
  margin-bottom: 0;
  font-weight:lighter;
  opacity: 1;
}

.headers h1 span {
  color: #B9867D;
}

.headers h2 {
  margin-top: 15px;
  font-weight:lighter;
  margin-bottom: 0;
  color: white;
}

@keyframes movein {
  from { padding-left: 60px; opacity: .5; }
  to { padding-left: 0; opacity: 1; }
}

.header-content {
  font-family:  'Open Sans', sans-serif;
  font-size: 35px;
  color: #fff;
  opacity: 1;
  font-weight: 600;
  text-align:left;
  width:70%;
  position: relative;
  top: 0;
  left: 0;
  height:100px;
}

.header-status {
  height: 30px;
  font-size: 16px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
}

.header-border {
  width: 100%;
  height: 4px;
  background: linear-gradient(358.5deg,#00aeef .09%,#134a86);
}

.logo-area {
  font-size: 35px;
  color: #fff;
  font-weight: 600;
  margin-left: 1%;
  position: absolute;
  bottom: -3%;
}

.logo-area:hover {
  text-decoration: none;
}

.img-logo {
  height: 50px;
  margin-right:10px;
}

.logo-text {
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.logo-split {
  border-right: 1px solid white;
  height: 100%;
  margin-left: 10px;
  margin-right: 10px;
  font-size: 35px;
  font-weight: 600;
}

#img-govgr {
  width: 130px;
  height: auto;
  position: absolute;
  top: 32.5px;
  right: 1%;
}

.session-status {
  color: white;
  margin-right: 1%;
}

.mobile-session-status {
  display: none;
}

#hamburger {
  margin-right: 8px;
}

#mobile-menu {
  z-index: 5;
  display: none;
  position: absolute;
  background-color: #003476;
  width: 50%;
  right: 0;
  top: 133px;
  max-width: 340px;
  list-style: none;
  padding-left: 5px;
  padding-right: 5px;
}

#mobile-menu li {
  background-color: #003476;
  color: #fff;
  padding: 20px 0px 20px 0px;
  text-align: center;
}

#mobile-menu li:first-child {
  border-bottom: 1px solid white;
}

#organisation-name-mobile {
  width: auto;
  word-wrap: break-word;
  font-size: 14;
}

@media screen and (max-width: 1024px){
  .mobile-session-status {
    display: block;
    color: white;
    margin-right: 1%;
    font-size: 25px;
  }

  .session-status {
    display: none;
  }
}

@media screen and (min-width: 1024px){
  .mobile-menu {
    display: none;
  }
}

@media screen and (max-width: 800px){

  .headers {
    animation: none;
  }

  .header-content .logo-split {
    display: none;
  }

  #NavBar {
    padding-top: 0;
  }

  .headers .header-content {
    padding-left:10px !important;
    position: relative;
    top:20px;
    left:0;
  }

  #img-minedu {
    width: 230px;
    margin-right: 100%;
    margin-top: 4%;
  }

  .img-logo {
    height: 30px;
  }

  .header-status {
    font-size: 12px;
  }

  .logo-area {
    position: absolute;
    top: 0;
  }
}
  
@media only screen and (max-width: 900px) {
  .client-container {
    justify-content: center;
  }
}

@media only screen and (max-width: 500px) {
  .client-modal {
    width: 100%;
    min-width: 51%;
  }
}

@media screen and (max-width: 350px){

  #img-govgr {
    height: 20px;
    width: auto;
    position: absolute;
    top: 3%;
    right: 1%;
  }

  .logo-text {
    font-size: 14px;
  }

  .header-status {
    font-size: 10px;
  }
  
  #img-minedu {
    margin-top: 7%;
  }
}

@media screen and (max-width: 250px){

  .header-content {
    width: 100%;
  }

  .logo-area {
    width: 100%;
  }

  #img-minedu {
    width: 90%;
  }

}
/* End Header css */

.btn-right {
  display: flex;
  justify-content: flex-end;
}

.orgs-header-container {
  font-size: 20px;
  display: block;
  margin-left: 10%;
  margin-top: 60px;
  font-family: 'Roboto Slab', sans-serif;
}

#org-form .orgs-header-container {
  display: block;
  text-align: left;
  padding: 0 0 0 5%;
  margin: 0;
  width: auto;
}

#org-form .orgs-header-container table{
  width: 80%;
}

.box {
  margin: 5%;
}

.head {
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 2%;
  padding-top: 2%;
}

.gray-btn {
  color: black !important;
  background-color: #e9e9ed !important;
  border-color: #011938;
  margin: 20px;
  margin-right: 0;
  float: right;
}

/* eDiplomas Button style */
.fancy {
  color: #fff;
  background-color: #003476;
  border: 0px !important;
  padding: 10px 20px;
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
  cursor: pointer;
  border: none;
  border-radius: 8px;
}


.long {
  padding: 10px 60px;
  font-size: 17px;
}

.fancy:hover {
  background-color: #002452;
  transition: 0.1s ease-in-out;
}

.fancy.gray {
  margin-right: 2%;
  color: #000;
  background-color: #e9e9ed;
}

.fancy.gray:hover {
  background-color: #e0e0e0;
}

.fancy:hover .animatable {
  padding-left: 6px;
  transition: padding 0.1s ease-in-out;
}

.wmodal-footer .fancy {
  width: auto;
  min-width: 100px;
}

.button-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1%;
}


/* Responsive modals */
@media screen and (max-width: 1000px){
  .wmodal-header, .wmodal-body, .wmodal-content, .wmodal-footer {
    margin: auto;
    width: 60%;
    min-width: 400px;
  }

  .wmodal-content {
    height: 30%;
  }

  .wmodal-footer .fancy {
    width: auto;
    margin: auto;
  }
}

@media screen and (max-width: 800px){
  .wmodal-header, .wmodal-body, .wmodal-content, .wmodal-footer {
    margin: auto;
    width: 80%;
    min-width: 300px;
  }

  .wmodal-footer .fancy {
    width: auto;
    margin: auto;
  }

  .err-image {
    display: none;
    /* height: 200px; */
  }

  .error-content {
    font-size: 15px;
  }
}

.info-text {
  opacity: 50%;
  font-size: 85%;
}

.checkbox-grid label {
  margin-left: 1%;
}

.error-content {
  display: flex;
}

/* Spinner */
#spinner-circle {
  display: block;
  text-align: center;
  margin: 7% auto 3% auto;
  border: 10px solid #f3f3f3;
  border-radius: 50%;
  border-top: 8px solid #0275D8;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite;
  /* Safari */
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.spinner-container {
  min-height: calc(100vh - 350px);
}
.spinner-container p {
  text-align: center;
  font-size: 18px;
  color: #6c6e70;
}