/*stuff for mobile yay */


/*override some old classes......... */

.container-fluid {
  background-color: #fff;
  box-shadow: 0px 3.6px 7.6px 0px #888888;
  margin-bottom: 30px;
}
.ul-scroll-wrapper {
  height: 51px;
  width: 100%;
  overflow: hidden;
  /*padding-top: 1px;
  margin-left: 36px;*/
  left: 0px;
  position: relative;
  margin-bottom: 15px;
  /*background-color: aqua;*/
}

.nav-tabs-border-bottom-nb {
  border-bottom: 1px solid #ccc !important;
}

.icon-wrapper-left {
  position: absolute;
  /*left: 90%;*/
  top: 71px;
  display:none;
}
.icon-wrapper-right {
  position: absolute;
  left: 90%;
  top: 71px;
  display:none;
}

.bottom-block-text {
  /*  min-height: 55px;*/
  height:auto;
  line-height: 1.3;
  min-height: 60px;
}

.highlight-the-thing:hover {
  opacity: 0.75;
  cursor: pointer;
}

.navbar-inverse {
    background-color: inherit;
  }
.navbar-header {
  color: #fff;
  list-style: none;
  margin-top:10px;
  font-size:18px;
}
.navbar-collapse > ul > li {
  /*color: #7fb9d2;*/
}

.navbar-toggle {
  /*background-color: #0074a6;*/
}
.navbar-inverse .navbar-toggle:focus, .navbar-inverse .navbar-toggle:hover {
  /*background-color: #00395d;
  border-color: #0074a6;*/
}
.nav-a-no-color-nb {
  background-color: inherit !important;
  border: 0px !important;
  color:inherit !important;
  padding: 4px 15px !important;
}
.nav-a-fs-nb {
  font-size: 18px !important;
}

.navbar-inverse {
  margin: 0px;
}

.table-hover tbody tr:hover td, .table-hover tbody tr:hover th {
  background-color: rgba(2, 80, 130, 0.12);
  cursor: pointer;
}
.row-selected {
  background-color: rgba(2, 80, 130, 0.12);
  box-shadow: 0px 0px 2px 2px #ECFFFE;
}
.row-selected > td:nth-child(1) {
  padding-left: 2px;
}

.btn-report {
  padding: 3px 10px;
  min-width:110px;
  font-size: 15px;
}

/* not mobile but for logon screens */
.viewPassword {
  position: absolute;
  padding: 5px; 
  right: 14px; /* size of the icon */
  opacity: 50%;
  transition: all .2s ease-in-out
}
.viewPassword:hover {
  opacity: 100%;
  cursor: pointer;
}

/* to pad the input field to not block the input text */
.hasRevealIcon {
  padding-right: 19px !important; 
}

/* remove existing eye for edge */
input.hasRevealIcon::-ms-reveal,
input.hasRevealIcon::-ms-clear {
    display: none;
}


/*cater for phones......... */

@media (max-width: 640px) {
  .img-home-items {
    max-width: 300px;
  }
  .hide-for-mobile {
    display: none !important;
  }
  .callCentreOutsideDiv {
    overflow: auto;
    min-height: 180px;
  }
  .topRowLogo {
    display: none;
  }
  .topBreadcrumb {
    padding-top: 20px;
  }
  .toolbox-div {
    padding-top: 0px;
    margin-top: 0px;
    width: 100%;
    padding-left: 0px;
  }
  .text-right {
    text-align: left !important;
  }
  .ul-scroll-wrapper {
    left: 20px;
  }
  .tab-content {
    overflow-y: auto;
    max-height: 350px;
  }
  .icon-wrapper-right, .icon-wrapper-left {
    display: block;
    top: 51px;
  }
  .table-overflow-x {
    overflow: scroll !important;
  }
  .table-employer, .table-contribution {
   /* width: auto;
    max-width: none;
    table-layout: fixed;*/
    
  }
  .table-employer, .table-contribution > tbody > tr > th, td {
   /* min-width: 20px;*/
  }
  .bottom-block-text {
    height: auto;
    min-height: 0;
  }
  .navbar {
    height: auto;
    font-size: inherit;
  }

  .navbar-header {
    float: none;
  }
  .navbar-toggle {
    display: block;
  }

  .navbar-collapse {
    border-top: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
  }

  .navbar-collapse.collapse {
    display: none!important;
  }
  .navbar-nav {
    float: none!important;
    margin: 7.5px -15px;
  }
  .navbar-nav>li {
    float: none;
  }
  .navbar-nav>li>a {
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .navbar-text {
    float: none;
    margin: 15px 0;
  }

  /* since 3.1.0 */
  .navbar-collapse.collapse.in { 
    display: block!important;
  }
  .collapsing {
    overflow: hidden!important;
  }
  .nav-header-padding {
    padding: 9px;
  }
  .benefit-icon-width {
    width: 90%;
  }
  .pos-z-index {
    z-index: 5;
  }
  .tc-no-max-height-mobile {
    max-height: none; 
  }
  .projection-box-center {
    border-left:1px solid #ccc;
    border-right:1px solid #ccc;
  }
  .projection-box {
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .proj-no-border {
    border: 0px solid #ccc;
  }
  .nstSlider-calculator {
    margin-bottom: 23px;
    margin-top: 20px;
  }
  .projection-button {
    margin-top: 10px;
  }
}



/*cater for tablets......... */

@media (max-width: 1024px) {
  .tab-content {
    overflow-y: auto;
    max-height: 350px;
  }
  .icon-wrapper-right, .icon-wrapper-left {
    display: block;
  }
  .ul-scroll-wrapper {
    left: 20px;
  }
  .tc-no-max-height-mobile {
    max-height: none; 
  }
  .bottom-block-text {
    height:auto;
    min-height: 70px;
  }
  .projection-label {
    height: 30px;
  }

}



/*cater for desktops......... */

@media (min-width: 767px) {
  .pull-right-desktop {
    float: right !important;
  }
  .navbar-collapse {
    width: 50%;
  }
  .portfolio-tab-value {
    text-align: right;
    padding-right: 31px !important;
  }
  .li-btn-desktop {
    /*background-color: #105887;
    border-color: #105887;*/
    color: #fff !important;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    white-space: nowrap;
    border-radius: 5px;
    -moz-user-select: none;
    font-size: 16px;
    font-family: Arial, 'Helvetica Neue', Helvetica;
    transition: background 0.45s ease-out;
  }
}

.cookie-banner {
  padding: 10px;
  align-items: center;
  background-color: #eee;
  border-radius: 5px;
  box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
  margin-top: 5px;
  z-index:9999;
  height: 40px;
  display: inline-block;
  opacity: 0.9;
}

.msgContent {
  max-height: 193px; 
  overflow-y: auto;
  padding-top: 0px;
}

.btn-register, .btn-danger {
  border: none;
}
.greenArrow {
  font-size: 15px;
}
.btn-success {
  outline: none !important;
  border-color: transparent !important;
}

.switch {
	position: relative;
	display: inline-block;
	width: 50px;
	height: 24px;
  margin-top: 5px;
  top: -9px;
}
  
/* Hide default HTML checkbox */
.switch input {
	opacity: 0;
	width: 0;
	height: 0;
}
  
/* The checkbox-slider */
.checkbox-slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	-webkit-transition: .4s;
	transition: .4s;
}
  
.checkbox-slider:before {
	position: absolute;
	content: "";
	height: 16px;
	width: 16px;
	left: 4px;
	bottom: 4px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
}

input:checked + .checkbox-slider {
  background-color: #2a77b5;
}

input:checked + .checkbox-slider:before {
	-webkit-transform: translateX(26px);
	-ms-transform: translateX(26px);
	transform: translateX(26px);
}
  
/* Rounded checkbox-sliders */
.checkbox-slider.round {
	border-radius: 34px;
}
  
.checkbox-slider.round:before {
	border-radius: 50%;
}
.landing-page-image {
  width: 90%;
  height: 140px;
  margin-top: 10px;
}
.landing-page-image:hover {
  cursor:pointer;
}
.div-no-padding {
	padding: 0px !important;
}
.div-no-margin {
  margin: 0px !important;
}