/* General */

html {
  font-size: 15px;
  background-color: #ecedee;
  -ms-overflow-style: scrollbar;
}

@font-face {
  font-family: "MyRevenue";
  src: url("../fonts/MyRevenue.eot");
  src: url("../fonts/MyRevenue.eot?#iefix") format("embedded-opentype"), url("../fonts/MyRevenue.woff") format("woff"), url("../fonts/MyRevenue.ttf") format("truetype"), url("../fonts/MyRevenue.svg#MyRevenue") format("svg");
}

body {
  font-family: 'Fira Sans', Helvetica, Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1rem;
  line-height: 1.5rem;
  margin: 0;
  color: #333;
}

h1 {
  font-family: inherit;
  font-weight: 700;
  font-style: inherit;
  font-size: 2rem;
  margin-top: .5rem;
  margin-bottom: 1rem;
  color: #333;
}

h2 {
  font-family: inherit;
  font-weight: bold;
  font-style: inherit;
  font-size: 1.8rem;
  padding-bottom: .5rem;
  margin-top: 0;
  margin-bottom: .5rem;
  color: #333;
}

h3 {
  font-family: inherit;
  font-weight: bold;
  font-style: inherit;
  font-size: 1.3rem;
  margin-top: .5rem;
  margin-bottom: .5rem;
  color: #333;
}

h4 {
  font-family: inherit;
  font-weight: 500;
  font-style: inherit;
  font-size: 1.125rem;
  margin-top: 0;
  margin-bottom: 0px;
  color: #333;
}

.margin-bottom {
  margin-bottom: 2rem;
}


/***************** Inputs and labels  *********************/
label {
    font-size: 1.15rem;
    margin-top: .5rem;
    margin-bottom: .5rem;
    font-weight: 500;
    padding-left:0px;
}

.field-date {
  padding: 0px;
}

.field-date label {
  margin: 0;
}

.field-date .form-control {
  text-align: center;
}

.field-date .help-block {
  margin-top: 14px;
}

.field-date--label {
  font-size: 1.28571429rem;
}

.field-date .form-control {
  text-align: center;
}

.field-date-day,
.field-date-month,
.field-date-year {
  padding: 0;
  width: 29%;
  padding-left: 4px;
}

.field-date-day,
.field-date-month {
  margin-right: 14px;
}

@media only screen and (max-width: 480px) {
  .field-date {
    margin-top: 0;
    margin-bottom: 10px;
  }
}

@media only screen and (min-width: 300px) and (max-width: 768px) {
  .field-group-date {
    max-width: 328px;
  }
}

.checkbox {
  margin: 0px;
  display: inline-block;
}

.checkbox input[type=checkbox] {
  width: 2em;
  margin: -20px;
  padding: 0;
  font-size: 1em;
  opacity: 0;
  filter: alpha(opacity=0);
  /* For IE8 and earlier */
}

.checkbox label {
  display: inline-block;
  cursor: pointer;
  position: relative;
  padding-right: 1rem;
  line-height: 32px;
}

.checkbox label:before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 28px;
  top: 0;
  left: 5px;
  position: absolute;
  background-color: #fff;
  border: 2px solid #000;
}

.checkbox input[type=checkbox]:checked~label:before {
  font-family: "MyRevenue";
  content: "\e601";
  background: #0c72bc;
  border: 0;
  color: #fff;
  padding-top: .5rem;
  font-size: 1rem;
  text-align: center;
  line-height: 1rem;
}

.checkbox input[type=checkbox]:focus~label:before {
  border: 3px #00c6c6 solid;
  width: 30px;
  height: 30px;
}


/***************** End Inputs and labels  *********************/


/******************* Icons *********************/

.icon {
  margin-right: 10px;
  display: inline-block;
  font-family: "MyRevenue";
  font-style: normal;
  font-weight: normal;
  line-height: 1;
  font-size: .9rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-fill_form:before {
  content: "\e60e";
}

.icon-back:before {
  content: "\e600";
}

.icon-checkbox_selected:before {
  content: "\e601";
}

.icon-error:before {
  content: "\e602";
}

.icon-help_expanded:before {
  margin-left: -8px;
  content: "\e603";
}

.icon-help:before {
  padding-right: 8px;
  content: "\e604";
}

.icon-help-left:before {
  padding-right: 8px;
  padding-left: 8px;
  content: "\e604";
  display: inline-block;
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}

.icon-lock:before {
  content: "\e605";
}

.icon-next:before {
  content: "\e606";
}

.icon-pw_strong:before {
  content: "\e607";
}

.icon-pw_weak:before {
  content: "\e608";
}

.icon-radio_selected .path1:before {
  content: "\e609";
  color: #000000;
}

.icon-radio_selected .path2:before {
  content: "\e60a";
  margin-left: -1em;
  color: #ffffff;
}

.icon-radio_unselected:before {
  content: "\e60b";
}

.icon-success:before {
  content: "\e60c";
}

.icon-user:before {
  content: "\e60d";
  font-size: 16px;
  font-size: 1.14285714rem;
}

.info-icon-image {
  max-width: 1.2rem;
  max-height: 1.2rem;
  margin: 0 .2rem .2rem 0;
  image-rendering: crisp-edges;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  cursor: pointer;
}

/******************* End Icons *********************/


/**************** form content *********************/

* form content */ .form-content {
  /*
  border: 2px solid #ecedee;
  padding: 15px;
*/
  margin: 1rem 0;
  position: relative;
}

.form-buttons {
  float: left;
}

.form-group {
  float: left;
  width: 100%;
  margin-bottom: 0;
  clear: both;
}

.form-header {
  margin: 2rem 0 0;
}

.form-header h3 {
  margin-bottom: 1rem;
}

.output-text {
  margin-left: 5px;
}


/**************** End form content *********************/


/*************** buttons ********************/

button {
  font-family: 'Fira Sans';
}

.btn-primary {
  color: #ffffff;
  background-color: #0c72bc;
  border-color: transparent;
  border-bottom: 4px solid #0a4977;
  outline: none;
  font-weight: bold;
  letter-spacing: .5px;
  font-size: 1.2rem;
  line-height: 1;
  border-radius: 3px;
  padding: .825rem 1rem;
  margin-top: 1rem;
  text-decoration: none;
}

.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled.focus,
.btn-primary[disabled].focus,
fieldset[disabled] .btn-primary.focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
  background-color: #0c72bc;
  border-color: transparent;
}

.btn-primary:hover {
  background: #0673e8;
  border-color: transparent;
  border-bottom: 4px solid #0a4977;
}

.btn-primary:hover:active {
  background: #0a4977;
  outline: none;
}

.btn-secondary {
      color: #0d73bd;
      text-decoration: none;
      font-size: 1.15rem;
      border-bottom: 1px solid;
}
.btn.btn-secondary:hover {
    text-decoration: none;
    color: #0090ec;
    border: #fff;
}

/*************** End buttons ********************/


/******************* link styles *******************/

a {
  text-decoration: underline;
  color: #0c72bc;
}

a:hover {
  color: #0c72bc;
  text-decoration: none;
}

a:active {
  color: #0a4977;
}

.header a {
  color: #fff
}


/* all links to have a focus border for tabbing */

a:focus,
input:focus,
button:focus {
  outline: #00c6c6 solid 3px;
}


/******************* end link styles *******************/


/******************* basic colours *******************/

.header {
  background-color: #025e63;
  color: #fff;
  padding: 1rem 0;
  border-bottom: 14px solid #00c6c6;
}

.preheader {
  background-color: #073236;
  color: #fff;
  padding: .5rem 0;
  line-height: 1rem;
}

.preheader a {
  color: #fff;
  text-decoration: underline;
  display: inline-block;
}

.preheader a:hover,
.preheader a:active,
.preheader a:focus {
  color: #fff;
  text-decoration: none;
}

.footer {
  background-color: #ecedee;
  color: #333;
  padding: 2rem 0;
  border-top: 14px solid #00c6c6;
}

footer-nav {
  padding: 1rem 0;
}

ul.footer-nav {
  padding: 0;
}

.footer-nav li {
  list-style: none;
  display: inline;
}

.footer-nav li a {
    font-size: 1rem;
    color: #333333;
    text-decoration: underline;
    margin-bottom: .5rem;
    display: inline-block;
}
.footer-nav li a:hover {
    text-decoration: none;
}

.footer-nav li span {
  padding: 0px 10px;
  color: #00c6c6;
  text-decoration: none;
}

#logout-button {
  padding: 5px 15px;
  border-radius: 15px;
  background: #0B4D51;
}

#logout-button:hover {
  background: #00c6c6;
}

.employer-details {
  padding: 5px 0;
}

.header-action {
  padding: 5px 15px;
}

#logout-button {
    color: white;
    padding: 5px 10px;
    text-decoration: underline;
}
#logout-button:hover {
    color: white;
    padding: 5px 10px;
    text-decoration: none;
}

.clickable-tile {
  background-color: white;
  text-decoration: none;
  display: inline-block;
  cursor: pointer;
  -webkit-transition: all ease .3s;
  transition: all ease .3s;
}

.clickable-tile:hover,
.clickable-tile:active {
  box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.3);
}

.light-grey-background {
  background-color: #ECEDEE;
}

.dark-grey-background {
  background-color: #DCDDDE;
}

/******************* end basic colours *******************/

img.system-error {
  max-width: 10rem;
  margin: 1rem 0;
}


/******************* coloured bullets *******************/

.revenue .content ul li {
  list-style: none;
}

.revenue .content ul li:before {
  content: "â—�";
  margin-left: -1.3rem;
  padding-right: .7rem;
  color: #009999;
}


/******************* end coloured bullets *******************/


/****************** table styles ********************************/

table tr td {
  padding: .2rem;
}

table tbody tr:nth-child(odd) {
  background-color: transparent;
}

table thead tr,
table tbody tr:nth-child(even) {
  background-color: #f5f4f4;
}

table thead {
  border-bottom: 2px solid #595959;
  font-weight: bold;
}

table {
  font-size: .875rem;
  width: auto;
  border-collapse: collapse;
  border-spacing: 0;
}


/****************** end table styles ********************************/


/**************** input *********************************/

select,
textarea,
input[type="text"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="datetime"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="time"],
input[type="week"],
input[type="month"],
input[type="search"] {
  font-family: 'Fira Mono', monospace;
  color: #333;
  padding-left: .5rem;
}

.styled-1 select:focus {
    min-width: 150px;
    width: auto;
}

.input-group {}

.input-group-field {
  height: 3.125rem;
  box-shadow: none;
  border: 2px solid #666;
  border-right: 0;
  font-size: 1.125rem;
}

.input-group-button {}


/* styles used just for the search bar input */


/* demo only, not responsive */

.search .input-group {
  width: 20rem;
  position: absolute;
  right: 0;
  top: 5rem;
  margin-right: 2rem;
}

.search .input-group-field {
  height: 3.125rem;
  border: none;
  width: 14.5rem;
  position: absolute;
  left: 0;
}

.search .input-group-button {
  position: absolute;
  right: 0;
}

.search .input-group-button .btn-primary {
  padding: .5rem 0 0;
  width: 5rem;
  border-radius: 0;
}

.status-container {
  max-width: 300px;
  border: 4px solid transparent;
}

.status-active {
}

.status-error {
  border-color: #ff5655;
}
fieldset{
    margin-bottom: 1rem;
}
.form-control {
  max-width: 300px;
  height: 42px;
  border: 2px solid #333333;
  color: #333;
  border-radius: 1px;
  font-family: "Fira Mono", Courier, Arial, sans-serif;
  font-size: 1rem;
}
input.form-control:focus, select.form-control:focus {
    box-shadow: 0 0 0 4px #00c6c6;
    border-radius: 0;
}
.form-control:focus {
  border-color: #000;
  box-shadow: none;
  -webkit-box-shadow: none;
}

.field-label {
  margin-left: 5px;
  font-weight: 700;
}
.btn:focus, .btn:active {
    outline: #00c6c6 solid 3px;
}
.btn.btn-secondary:hover {
    text-decoration: none;
}
.info-text {
  margin: 5px 5px 10px;
  display: none;
}

.radio-btn:last-child {
    margin-bottom: 0;
}
.radio-btn {
    display: block;
    padding: 0;
    margin-bottom: .5rem;
    width:100%;
}

.radio-btn input[type=radio] {
  display: block;
  padding: 0;
  font-size: 1em;
  opacity: 0;
  position: absolute;
  height: 0;
  width: 0;
}

.radio-btn label {
  margin: 0;
  width: 100%;
}

.radio-btn label {
  display: inline-block;
  cursor: pointer;
  background: #ecedee;
  position: relative;
  padding: .5rem 1.5rem .5rem 2.5rem;
  line-height: 2rem;
  font-size: 1rem;
  font-weight: 400;
}

.radio-label {
  width: 280px;
}

.radio-btn label:before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  top: 1rem;
  left: 1rem;
  position: absolute;
  background-color: #fff;
  border: 2px solid #000;
  border-radius: 100%;
}

.radio-float-left {
  float: left;
  padding: 0px 7px 14px 14px;
}
.radio-btn input[type=radio]:focus+label{
    box-shadow: 0 0 0 4px #00c6c6;
}
.radio-btn input[type=radio]:checked+label:before {
  background: url("../img/radio_selected.png") no-repeat center;
  border: 0px;
  color: #fff;
  font-size: 22px;
  background-size: contain;
  text-align: center;
  line-height: 18px;
}
.input-group {
  position: relative;
  display: table;
  width: 100%;
  border-collapse: separate;
}

.input-group-addon {
  color: #000;
  background: #fff;
  border: 2px solid #000;
  border-radius: 0px;
  font-size: 1rem;
}

textarea {
  white-space: initial;
}

.nopadding {
  padding: 0 !important;
  margin: 0 !important;
}


/**************** end input *********************************/


/* Modals */

.modal-content {
  border-radius: 0;
  padding: 1rem 15px;
}
.modal-title {
     color: #025e63;
 }
.modal-body h4 {
    padding-bottom: 1rem;
}
.modal-content .modal-header {
  border-bottom: none !important;
 padding: .5rem 15px;
}

.modal-content .modal-header .close {
  position: relative;
  background: #b0b0b0;
  border-radius: 100%;
  display: block;
  color: #fff;
  font-size: 38px;
  line-height: 22px;
  left: -10px;
  opacity: 1;
  filter: alpha(opacity=100);
}

.modal-content .modal-header .close img {
  height: 40px !important;
  width: 40px !important;
}

.modal-content .modal-body {
   padding: .5rem 15px;
  border-bottom: none;
}

.modal-content .modal-body p {
  font-size: 1rem;
  margin: 0;
  padding: .5rem 0;
}

.modal-content .modal-footer {
  border-top: none;
  padding: .5rem 15px;
  margin-top: 0;
  float: left;
  width: 100%;
}
.modal-content .modal-footer .btn-primary{
  margin-top: 1rem;
 }
.modal-content .modal-footer .underline {
  margin-left: 22px;
}

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

}

/* Validation */

.validation-error-icon {
  width: 34px;
  height: 24px;
  position: absolute;
  left: -24px;
  margin-top: 12px;
  background: url("../img/error.png") no-repeat center;
  background-size: contain;
}

.validation-error-icon-extended {
  width: 34px;
  height: 24px;
  position: absolute;
  left: -40px;
  margin-top: 12px;
  background: url("../img/error.png") no-repeat center;
  background-size: contain;
}

@media screen and (max-width: 992px) {
  .validation-error-icon {
    width: 24px;
    height: 17px;
    left: -11px;
    margin-top: 16px;
  }
}

.review-validation-content {
  padding: 90px;
  padding-bottom: 0px;
  text-align: center;
}


/* Error */

.error {
  color: #ff5655;
  font-weight: bold !important;
}

.status-message.status-error {
  color: #ff5655;
}

.status-message.status-weak {
  color: #fbb816;
}

.status-message.status-medium {
  color: #25a7a7;
}

.status-message.status-strong {
  color: #025e63;
}

.status-message.visible {
  display: block;
}

.status-message.without-label {
  margin-top: 0;
}


/* Accessibility */

.outline-accesibility-tab:focus,
.outline-accesibility-tab-img:focus img {
  outline: thin dotted;
  outline: 5px auto -webkit-focus-ring-color;
  outline-offset: -2px
}

.open .outline-accesibility-tab:focus {
  outline: 0;
}

.outline-accesibility-tab-img-black:focus img {
  outline: 1px dotted black;
}

.outline-accesibility-tab-img-white:focus img {
  outline: thin dotted white;
  outline-offset: 5px
}
.sr-only-focusable:active, .sr-only-focusable:focus {
    position: static;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
}
.tabHalfWidth {
  width: 50%
}


.toolTipIcon {
	float: left;
	display: block;
	width: 100%;
	padding-right: 2;
	line-height: 1;
	margin-bottom: 12px;
}
.save-button {
    max-width: 250px;
    float: right;
    margin-top: 2rem;
  }

  .cancel-button {
    margin-top: 2.5rem !important;
    float: left;
    padding: .3rem;
    margin: -.3rem;
  }

  .cancel-btn {
    max-width: 250px;
    float: left;
    margin-top: 2rem;
    padding: .825rem 1rem;
  }

  .btn-icon-padding {
    margin-left: 10px;
  }

  .btn-icon-padding-right {
    margin-right: 10px;
  }

  .details-divider {
    border-top: 1px solid #9d9d9d;
    float: left;
    width: 100%;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    margin-top: 1rem;
  }

  #civilStatusChangeForm img.section-icon {
    width: 100%;
    margin-top: 0;
    max-height: 120px;
    max-width: 120px;
  }

  .date-container {
    width: 100%;
    max-width: 308px;
    float: left;
  }
  .dateInput legend {
      margin-bottom: .5rem;
  }
  legend {
    font-weight: 500;
    font-size: 1.15rem;
    border: none;
    margin-bottom: 1rem;
    margin-top: 0.5rem;
    float: left;
  }
  #content {
    padding-bottom: 2rem;
  }

  #civilStatusChangeForm h2 {
    font-size: 1.8rem;
    padding-bottom: .5rem;
    margin-bottom: .5rem;
    width: 100%;
  }

  #civilStatusChangeForm h3 {
    font-size: 1.4rem;
    float: left;
    color: #025e63;
    margin: 0 0 0.5rem 0;
  }

  .dashboard-back span {
    font-size: 1.28571429rem;
    padding-left: 7px;
    font-family: "Fira Sans", Helvetica, Arial, sans-serif;
  }

  .dashboard-back {
    color: #333;
    margin: 28px 0;
    font-size: 1rem;
    display: inline-block;
    text-decoration: none;
  }

  a.dashboard-back.icon-arrow-left-bold {
    font-size: 1.3rem;
  }

  .changeOfCivilStatusPage {
    background-color: #fff;
    padding: 1rem 70px;
  }

  a.navigation-link.cancel {
    font-size: 1.2rem;
  }

  .checkboxToLeft {
    margin-left: 25px;
  }

  span.icon.icon-arrow-right-bold {
    font-size: 1.2rem;
    margin-left: 5px;
  }

  span.icon.icon-arrow-left-bold {
    font-size: 1.2rem;
    margin-right: 5px;
  }

  .white-panel h2 {
    font-size: 1.5rem;
  }

  .intro-text {
    margin-bottom: 0;
  }

  body {
    float: left;
    width: 100%;
  }

  nav {
    padding-top: 1rem;
  }

  @media screen and (max-width: 768px) {
    .changeOfCivilStatusPage {
      padding: 2rem 15px;
    }
    nav {
      padding: 0 0 1rem 0;
    }
    .image-container {
      padding-right: 0;
    }
  }

  /****************** list styles ********************************/

  .list-heading-margin {
    margin-top: 2rem;
    margin-bottom: 2rem;
  }

  .grouping-container {
    border: 1px solid #ccc;
    padding: 0 2rem;
    margin-top: 1rem;
    float: left;
    width: 100%;
}

.grouping-heading {
    display: inline-block;
}

.grouping-heading h3 {
    background-color: #fff;
    padding: 15px;
    margin: 0;
    margin-top: -2rem;
    float: left;
}

.itemContainer {
    width: 100%;
    margin-bottom: .5rem;
    background-color: #fff;
    padding: 5px;
    float: left;
    border-left: 5px solid #24C1E9;
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.1);
    -webkit-transition: all ease .3s;
    transition: all ease .3s;
    margin-bottom: .5rem;
}

.itemContainer:last-child {
    margin-bottom: 0;
}

.itemContainer:hover {
    box-shadow: 0 3px 6px 0 rgba(0, 0, 0, 0.3);
    -webkit-transition: all ease .3s;
    transition: all ease .3s;
}

.list-section .labels .item {
    word-break: normal;
    word-wrap: normal;
    line-height: 1.2rem;
}

.item-list-container {
    float: left;
    width: 100%;
    margin-bottom: 2rem;
}

.item-list-container .item {
    float: left;
    padding: 5px;
    width: 19% !important;
    font-size: .9rem;
    word-break: break-word;
    word-wrap: break-word;
}

.item-list-container .labels {
    font-weight: bold;
    padding: .5rem 20px 0 25px;
    width: 100%;
    float: left;
    background-color: #ecedee;
}

.item-list-container .item.longField {
    word-break: break-word;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-list-container .item.longField:hover {
    white-space: initial;
    white-space: normal;
}

.item-list-container .item.shortField {
    width: 12% !important;
    word-break: break-word;
    text-overflow: ellipsis;
}

.mobile-label {
    position: absolute;
    left: -1000rem;
}

.grey-background {
    background-color: #ECEDEE;
    width: 100%;
    float: left;
    padding: 15px;
}

@media screen and (max-width: 992px) {
    .item-list-container .subGroup {
        float: left;
        width: 100%;
    }

    .mobile-label {
        position: relative;
        left: 0;
    }

    .item-list-container .mobile-label {
        float: left;
        font-weight: bold;
        width: 50%;
        padding: 3px;
    }

    .item-list-container .item {
        width: 50% !important;
    }

    .item-list-container .action.text-right {
        text-align: left;
    }

    .item-list-container .labels {
        display: none;
    }
}

.field-tip {
    position:relative;
    cursor:help;
}
    .field-tip .tip-content {
        position:absolute;
        top:-22px; /* - top padding */
        right:9999px;
        width:200px;
        margin-right:-220px; /* width + left/right padding */
        padding:10px;
        color:#fff;
        background:#333;
        -webkit-box-shadow:2px 2px 5px #aaa;
           -moz-box-shadow:2px 2px 5px #aaa;
                box-shadow:2px 2px 5px #aaa;
        opacity:0;
        -webkit-transition:opacity 250ms ease-out;
           -moz-transition:opacity 250ms ease-out;
            -ms-transition:opacity 250ms ease-out;
             -o-transition:opacity 250ms ease-out;
                transition:opacity 250ms ease-out;
    }
        .field-tip .tip-content:before {
            content:' '; /* Must have content to display */
            position:absolute;
            top:50%;
            left:-16px; /* 2 x border width */
            width:0;
            height:0;
            margin-top:-8px; /* - border width */
            border:8px solid transparent;
            border-right-color:#333;
        }
        .field-tip:hover .tip-content {
            right:-20px;
            opacity:1;
        }

