@font-face {
  font-family: Inter;
  src: url(Inter-Regular-slnt=0.ttf);
}

html,
body {
  height: 100%;
  font-family: Inter;
  font-family: "Inter", sans-serif;
}

* {
  -webkit-touch-callout: none;
  /* iOS Safari */
  -webkit-user-select: none;
  /* Safari */
  -khtml-user-select: none;
  /* Konqueror HTML */
  -moz-user-select: none;
  /* Old versions of Firefox */
  -ms-user-select: none;
  /* Internet Explorer/Edge */
  user-select: none;
  /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}

input,
input:before,
input:after,
textarea {
  -webkit-user-select: text !important;
  -khtml-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
}

select {
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  /* display: none; <- Crashes Chrome on hover */
  -webkit-appearance: none;
  margin: 0;
  /* <-- Apparently some margin are still there even though it's hidden */
}

input[type="number"] {
  -moz-appearance: textfield;
  /* Firefox */
}

.wrap {
  display: flex;
  width: 100%;
  height: 100%;
  align-items: stretch;
}

.wrap>.container {
  width: 100%;
  padding: 0px !important;
  height: 100%;
  transition: all 0.3s;
  background-color: #edf4f7;
  position: relative;
  overflow-y: auto;
  transition: background-color 1s linear;
}

.footer {
  height: 60px;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  padding-top: 20px;
}

.jumbotron {
  text-align: center;
  background-color: transparent;
}

.jumbotron .btn {
  font-size: 21px;
  padding: 14px 24px;
}

.not-set {
  color: #c55;
  font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after,
a.desc:after {
  position: relative;
  top: 4px;
  display: inline-block;
  font-family: "Glyphicons Halflings";
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  float: right;
}

a.asc:after {
  content:
    /*"\e113"*/
    "\e151";
}

a.desc:after {
  content:
    /*"\e114"*/
    "\e152";
}

.sort-numerical a.asc:after {
  content: "\e153";
}

.sort-numerical a.desc:after {
  content: "\e154";
}

.sort-ordinal a.asc:after {
  content: "\e155";
}

.sort-ordinal a.desc:after {
  content: "\e156";
}

.grid-view th {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hint-block {
  display: block;
  margin-top: 5px;
  color: #999;
}

.error-summary {
  color: white;
  background: #c35f5f;
  margin-bottom: 2vh;
  border-radius: 1.5vh;
  padding: 0.5vh 2vh;
}

/* align the logout "link" (button in form) of the navbar */
.nav li>form>button.logout {
  padding: 15px;
  border: none;
}

@media (max-width: 767px) {
  .nav li>form>button.logout {
    display: block;
    text-align: left;
    width: 100%;
    padding: 10px 15px;
  }
}

.nav>li>form>button.logout:focus,
.nav>li>form>button.logout:hover {
  text-decoration: none;
}

.nav>li>form>button.logout:focus {
  outline: none;
}

#time-down-counter {
  position: absolute;
  top: 100px;
}

.field-methodologicalsearch-subtheme,
.field-methodologicalsearch-file_class,
.field-methodologicalsearch-theme,
.field-methodologicalsearch-group {
  display: inline-block;
  width: 45%;
}

.navbar-fixed-left {
  width: 10vw;
  position: fixed;
  border-radius: 0;
  height: 100%;
}

.navbar-fixed-left .navbar-nav>li {
  float: none;
  /* Cancel default li float: left */
  width: 139px;
}

.navbar-fixed-left+.container {
  padding-left: 160px;
}

/* On using dropdown menu (To right shift popuped) */
.navbar-fixed-left .navbar-nav>li>.dropdown-menu {
  margin-top: -50px;
  margin-left: 140px;
}

#header-container {
  display: flex;
  align-items: center;
  height: 5%;
  background-color: white;
  color: #0c2f37;
  position: relative;
}

.breadcrumb {
  background-color: white;
  padding: 0px !important;
  align-items: center;
  justify-content: center;
  display: flex;
  margin: 0;
}

.breadcrumb>li>a {
  color: #0c2f37;
}

.breadcrumb>.active {
  color: #00657b;
}

.center-align {
  text-align: center;
}

.profile-info {
  margin-left: auto;
  color: #00657b;
  background-color: white;
  padding: 0px !important;
  align-items: center;
  justify-content: center;
  display: flex;
  height: 100%;
}

.profile-info span {
  margin: 0 2vh;
}

.profile-info a {
  color: #00657b;
  margin-right: 2vh;
}

.profile-info img {
  margin-right: 0.2vh;
  width: 16px;
}

.content-pjax-wrapper {
  /*padding: 2vw;*/
}

/*table data style*/

.table-header-info {
  display: flex;
  padding: 5vh 5% 12vh;
  background-color: #c8dadf;
}

.small-header {
  padding: 5vh 20vw 5vh;
}

.policy-font {
  color: #c8dadf;
  font-size: 17px;
  height: auto !important;
}

.question-header {
  padding: 5vh 5% 5vh;
}

.question-type {
  background-color: transparent;
}

table {
  table-layout: fixed;
  border-collapse: collapse;
}

.detail-view td {
  white-space: pre-wrap;
  text-overflow: none !important;
  white-space: none !important;
}

.detail-view td:hover {
  text-overflow: unset;
  white-space: break-spaces;
  user-select: text;
}

td {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  width: auto;
}

td:hover {
  text-overflow: clip;
  white-space: normal;
}

.table-header-info .table-name {
  color: #0c2f37;
  font-size: 35px;
  height: max-content;
  width: 70%;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.table-header-info a {
  margin-left: auto;
  background-color: #0c2f37;
  color: white;
  display: flex;
  height: max-content;
  border-radius: 1.5vh;
  font-size: 14px;
  padding: 2vh 4vh;
  align-items: center;
  justify-content: center;
}

.grid-view {
  margin-top: -5vh;
  background-color: white;
  padding: 2vw;
  width: 90%;
  margin: -8vh auto;
  border-radius: 1vw;
}

.grid-view table {
  border: 0px;
}

thead {
  background-color: #f1f7f9;
}

.grid-view thead th {
  border: 0px !important;
}

.grid-view tbody td:first-child {
  border-left: 0px !important;
}

.grid-view tbody td:last-child {
  border-right: 0px !important;
  overflow: hidden;
}

.grid-view tbody td:last-child a {
  color: #0c2f37;
  border: 1.5px solid #0c2f37;
  border-radius: 1vw;
  padding: 0.2vw 0.5vw;
  margin-right: 0.3vw;
  font-size: 0.9em;
}

.grid-view tbody td {
  background-color: white !important;
}

thead a,
thead th {
  color: #2883aa;
}

.grid-view tbody td {
  padding: 0.6vw !important;
}

thead a {
  padding: 0.7vw 0 !important;
}

.footer-summary {
  padding: 0;
  display: block;
}

.pagination {
  margin: 0px;
  float: right;
  margin-top: -3vh;
}

.pagination li a {
  border-radius: 0% !important;
  background-color: transparent;
  border: 0px;
  margin-right: 0.3vw;
  color: #0c2f37;
  /* padding: 0.5vh 1.3vh; */
}

.pagination li span {
  border-radius: 0% !important;
  border: 0px;
}

.pagination .active a {
  background-color: transparent !important;
  color: #337ab7;
  font-weight: bold;
}

.pagination .active a:hover {
  background-color: #0c2f3781 !important;
  color: white;
  font-weight: bold;
}

.alert-info {
  width: 50%;
  margin: auto;
  user-select: text;
}

.alert {
  position: absolute;
  z-index: 1;
  width: 30vw;
  left: 50%;
  transform: translateX(-50%);
}

.go-back {
  background-color: transparent !important;
  border: 2px solid #0c2f37 !important;
  color: #0c2f37 !important;
  font-size: 14px;
}

.save-button {
  width: 100%;
  background-color: #0c2f37;
  text-align: center;
  border: none;
  border-radius: 1.5vh;
  /*height: 7vh;*/
  padding: 2vh;
  min-height: 55px;
}

.save-button-a {
  background-color: #0c2f37;
  text-align: center;
  border: none;
  border-radius: 1.5vh;
}

.save-button:hover {
  background-color: #437884;
}

.save-button.delete,
.save-button.update,
.save-button.download {
  width: auto;
  display: inline-block;
}

.save-button.delete {
  background-color: #b9376e;
}

.save-button.update {
  background-color: #30c19e;
}

.question-create,
.methodological-create,
.methodological-update {
  padding-top: 5vh !important;
  padding-bottom: 5vh !important;
}

.border-radius {
  border-radius: 1vw;
}

.col-xs-6 {
  padding: 0px !important;
}

.question-view,
.methodological-index,
.methodological-search {
  padding: 0 !important;
}

.image-width {
  max-width: 50%;
}

.transparent-background {
  background-color: transparent !important;
}

.remove-padding {
  padding: 0 !important;
}

.search-select-form {
  padding: 0.3vw !important;
}

.search-select {
  padding: 2vh 0vw 0.3vw 0.5vw !important;
  margin: 0 !important;
}

#pjax-grid-view {
  margin-bottom: 3vh;
}

.status-wrapper-active {
  background: #30c19e;
  color: white;
  border-radius: 1vw;
  padding: 0.2vw 0.5vw;
  margin-right: 0.3vw;
  font-size: 0.9em;
}

.status-wrapper-inactive {
  background: #b9376e;
  color: white;
  border-radius: 1vw;
  padding: 0.2vw 0.5vw;
  margin-right: 0.3vw;
  font-size: 0.9em;
}

.wrapper-button {
  color: #0c2f37;
  border: 1.5px solid #0c2f37;
  border-radius: 1vw;
  padding: 0.2vw 0.5vw;
  margin-right: 0.3vw;
  font-size: 0.9em;
}

.bubble {
  background: #0c2f37;
  color: white;
  border-radius: 1vw;
  padding: 0.2vw 0.4vw;
  margin-left: 0.3vw;
  font-size: 0.9em;
}

.blueish-color {
  color: #0c2f37;
}

#project-modal,
#info-modal {
  background-color: #0c2f37a8;
}

#project-modal .modal-dialog,
#info-modal .modal-dialog {
  width: auto;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  max-width: 50vw;
  overflow: hidden;
}

#project-modal .modal-project-header,
#info-modal .modal-project-header {
  background-color: white;
  text-align: center;
}

#project-modal .modal-project-content,
#info-modal .modal-project-content {
  background-color: #edf4f7;
  padding: 1vw 4vw;
  color: #0c2f37;
}

#project-modal .modal-project-header img,
#info-modal .modal-project-header img {
  max-height: 80px;
  margin: 1vw;
}

.field-methodologicalsearch-owner {
  display: table-cell;
  padding: 1vw !important;
  text-align: center;
  vertical-align: middle;
}

.field-methodologicalsearch-owner>label {
  margin-bottom: 0px;
  width: 100%;
}

#methodologicalsearch-owner {
  display: none;
}

@media only screen and (min-device-width: 480px) and (max-device-width: 915px) and (min-device-height: 320px) and (max-device-height: 460px) and (orientation: landscape) {
  #header-container {
    min-height: 35px;
  }
}

/*phone tablet*/
@media (max-width: 768px) {
  .custom-create-button {
    display: none !important;
  }

  .pagination {
    float: none;
    margin-top: 1vh;
  }

  #header-container {
    min-height: 35px;
  }

  .alert {
    width: 80vw;
  }

  .wrap>.container {
    position: absolute;
  }

  #header-container {
    height: 7%;
  }

  #project-modal .modal-dialog,
  #info-modal .modal-dialog {
    max-width: 80vw;
  }

  #project-modal .modal-project-header img,
  #info-modal .modal-project-header img {
    max-height: 35px;
    margin: 4vw;
  }

  .small-header {
    padding: 5vh;
  }

  .small-header .table-name {
    width: 100%;
  }
}

.field-questionsearch-text {
  background-color: white;
  border-radius: 1.5vh;
  padding: 2vh 4vh;
}

.field-questionsearch-text>.help-block {
  display: none;
}

.question-search {
  margin-left: auto;

}

.search-question {
  margin-bottom: 0px;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.close-popup {
  background-color: #0c2f37;
  color: white;
  display: flex;
  height: max-content;
  border-radius: 1.5vh;
  font-size: 14px;
  padding: 2vh 4vh;
  align-items: center;
  justify-content: center;
}

/*bigger the fullhd*/
@media (min-width: 1921px) {}