@import url('https://fonts.googleapis.com/css?family=Roboto&display=swap');

* {
 
  padding: 0;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

.profile-name {
  color: #0a0a0a;
  padding-top: 6px;
  font-size: 20px;
  
}
.profile-mail {
  color: #0a0a0a;
  font-size: 18px;
}
a {
  text-decoration: none;
  color: inherit;
}

.fa-2x{
  /* font-size: 1.5em; */
  color: #1A7FB9;
padding-right: 10px;
}

#reviewLogo {
  width: 175px;
  padding-left: 15%;

  position: absolute;
  bottom: 0;
  /* left: 0; */
 margin-top: 15%;
}

#sidebar {
  height: 100%;
  background-color: #fff;
  width: 23%;
  visibility: visible;
  color: #1A7FB9  ; 
  opacity: 1;
  -webkit-transform: translateX(0);
          transform: translateX(0);
  -webkit-transition: 250ms ease-in;
  transition: 250ms ease-in;
  -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
          box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
          float: left;
          border-right: 1px solid #fff;
}

 .profile-tab{
   /* width: 100%; */
    visibility: visible;
    text-align: center;
    padding: 5px;
    color: #0a0a0a;
     -webkit-transition: 400ms all ease-in-out;
  transition: 400ms all ease-in-out;
  -webkit-transform: translateX(0);
          transform: translateX(0);
}
.profile-img{
    width: 100px;
    height: 100px;
    border-radius: 100%;
    margin: auto;

}
 .navbar-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 10px 20px;
  background-color: #1A7FB9;
  color: #fff;    
}

#sidebar .navbar-header .brand-logo {
  color: #fff !important;
  font-size: 1.5em;
  text-decoration: none !important;
  -webkit-transform: translateX(0);
          transform: translateX(0);
  -webkit-transition: 250ms ease-in;
  transition: 250ms ease-in;
  visibility: visible;
}

.navbar-body .nav-item {
  padding: 0px;
  cursor: pointer;
  -webkit-transition: 400ms all ease-in-out;
  transition: 400ms all ease-in-out;
  -webkit-transform: translateX(0);
          transform: translateX(0);
  border-bottom: 1px solid #ddd;   
}

/* Keep Font Awesome and Ionic menu icons on the same brand color. */
.navbar-body .nav-item > i,
.navbar-body .nav-item > ion-icon:not(.chatbubbles) {
  color: #1A7FB9 !important;
}
.navbar-body .nav-item:first-child {

  border-top: 1px solid #ddd;   
}

.navbar-body .nav-item:hover {
  background-color: #1A7FB9;
    
}

#main-content {
  /* -webkit-box-flex: 1;
      -ms-flex: 1 0 auto;
          flex: 1 0 auto; */
  float: right;
  width: 77%
}
.navbar{
   padding: 11px 20px !important;
   background-color: #1A7FB9;
   color: #fff;
    height: 56px;
    
}
.navbar h2{
 font-size: 1.5em;
 font-weight: normal;
 display: inline-block;
 width: 92%;    
}
#main-content .check-box {
  cursor: pointer;
  display: inline-block;
  width:5px; 
  /* float: right; */
}

#main-content .check-box .line {
  width: 5px;
  height: 5px;
  background-color: #fff;
  margin: 4px auto;
  display:block;
    border-radius: 100%;
}

#checkbox {
  display: none;
}

#checkbox:checked ~ #sidebar {
  width: 0;
  -webkit-animation: sidebarAnim 500ms;
          animation: sidebarAnim 500ms;
}

#checkbox:checked ~ #sidebar .nav-item {
  -webkit-transform: translateX(-200px);
          transform: translateX(-200px);
}

#checkbox:checked ~ #sidebar .brand-logo {
  -webkit-transform: translateX(-200px);
          transform: translateX(-200px);
  visibility: hidden;
}

#checkbox:checked ~ #sidebar .navbar-header,#checkbox:checked ~ #sidebar .profile-tab {
  visibility: hidden;
}

@-webkit-keyframes sidebarAnim {
  0% {
    width: 220px;
    opacity: 1;
    -webkit-transform: translateX(0);
            transform: translateX(0);
    visibility: visible;
  }
  50% {
    width: 220px;
  }
  100% {
    width: 0;
    opacity: 0;
    -webkit-transform: translateX(-220px);
            transform: translateX(-220px);
    visibility: hidden;
  }
}

@keyframes sidebarAnim {
  0% {
    width: 220px;
    opacity: 1;
    -webkit-transform: translateX(0);
            transform: translateX(0);
    visibility: visible;
  }
  50% {
    width: 220px;
  }
  100% {
    width: 0;
    opacity: 0;
    -webkit-transform: translateX(-220px);
            transform: translateX(-220px);
    visibility: hidden;
  }
}
ion-header ion-toolbar {
  --background: #1A7FB9;
}
.header {
  --background: #1A7FB9;
}

.ion-icon-custom{
  height: 46px;
  margin-left: 8px;
  cursor: pointer;
}
ion-title{
  color: #fff;
}
.title {
  float: right;
  margin-right: 45%;
  color: #fff;
  font-size: 1.5em;
  font-weight: normal;
}
.ion-btn-custom{
  --background: #1A7FB9;
}

.delete-btn {
  --background: #f53d3d;
  margin-left: 15px;
}

ion-checkbox{
  --background-checked: #1A7FB9;
  --border-color-checked: #1A7FB9;
}
button{
  --background: #1A7FB9;
}
ion-footer ion-toolbar{
  --background :#f7d500;
}
.footerNav {
  --background: #f7d500;
}
.footerNav {
  width: 77%;
  float: right;
}

.copyright {
  color : gray;
  margin-left: 3%;
}
#addBtn{
  font-size: 45px;
  color: #1A7FB9;
  font-weight: bold;
  float: right;
  margin-right: 10px;
  cursor: pointer;
  display: inline-block;
}

#refreshBtn {
  font-size: 45px;
  color: #1A7FB9;
  font-weight: bold;
  margin-left: 10px;
  cursor: pointer;
  display: inline-block;
}
.login-div{
  max-width: 520px;
  min-height: 200px;
  margin: 10% auto;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
}
.login-section{
  width: 100%;
  height: 100vh;
  background: #f5f5f5;
}

.logo_img{
  width: 128px;
  margin: auto;
  display: block;
}
.login-body{
  width: 100%;
  padding: 20px;
}
.input-label{
color: #676a6c;
font-size: 16px;  
font-weight: bold;
margin-bottom:5px;
display: block; 
  margin-top: 10px;
}
.inputbox{
  width: 100%;
  height: 40px;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 0 5px;
}
.login-btn{
  display: block;
  width: 100%;
  height: 45px;
  text-decoration: none;
  color: #fff;
  --background: #1A7FB9;
  text-align: center;
  line-height: 45px;
  border-radius: 5px;
  margin-top: 20px;
}
.label {
  color: #1A7FB9;
  font-weight: bold;
  margin-left: 49px;
}
ion-toggle { 
  zoom: 1.8;
}
.haut { 
  height: 36px; 
}

#deletBtn{
  color: #fff;
  background-color: #f53d3d;
}


#sidebar{
    position: sticky;
    top: 0; 
    left: 0;
    right: 0;
    z-index: 9999;
}

/* 
ion-content {
  --overflow: hidden !important;
} */

.my-custom-class{
  --background: #1A7FB9;
  /* --color:#FF3F22;
  --border-style:solid;
  --border-width :5px;
  --border-color:#FF3F22; */
  
  width: 50%;
      /* --end: 488px; */
      --end: 60%;
      --border-radius: 9px;
}

.loading-wrapper.sc-ion-loading-md {
    background: transparent;
    box-shadow: none;
  }


.invalid-feedback {
  display: block;
}

.form-group {
  margin: 43px;
}
#moreBtn {
  font-size: 33px;
  cursor: pointer;
}
@media screen and (max-height: 760px){
  .profile-img{
    width: 58px;
    height: 58px;
  }
  .profile-tab {
    padding: 4px;
  }

  #reviewLogo {
    width: 130px;
    padding-left: 60px;
    margin-left: 25px;
  }

  .profile-name {
    padding-top: 4px;
    font-size: 16px;
  }
  .profile-mail {
    color: #0a0a0a;
    font-size: 14px;
  }
  .tollfree-no {
    font-size: 14px;
  }

  .navbar-body .nav-item {
    height: 45px;
  }

}
.chatbubbles {
  color: #f53d3d;
  font-size: 14px;
  border-radius: 25px;
  background-color:  #f53d3d;
}

.closeIcon {
  color: #f53d3d;
}

* ::-webkit-scrollbar {
  display: none;
}

/* ================================================================ */
/* MOBILE RESPONSIVE STYLES */
/* ================================================================ */

/* Hamburger button - hidden on desktop */
.hamburger-btn {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
  margin-right: 12px;
  vertical-align: middle;
  background: none;
  border: none;
  padding: 0;
  line-height: 1;
}

/* Overlay backdrop for mobile sidebar */
.sidebar-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9998;
}

.sidebar-backdrop.active {
  display: block;
}

/* Shared mobile drawer controls */
.navbar-header {
  align-items: center;
  justify-content: space-between;
}

.sidebar-close {
  background: transparent;
  border: 0;
  color: #fff;
  cursor: pointer;
  font-size: 32px;
  line-height: 1;
  padding: 0 4px;
}

body .sidebar-backdrop.active {
  background-color: rgba(17, 28, 38, 0.55);
}

@media (max-width: 768px) {
  /* Mobile sidebar: slide in as overlay */
  #sidebar {
    display: block;
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    max-width: 80vw;
    height: 100vh;
    z-index: 10001;
    transition: left 0.3s ease-in-out;
    overflow-y: auto;
    background-color: #fff;
  }

  .sidebar-backdrop {
    z-index: 10000;
  }

  .menu-is-open {
    visibility: hidden;
  }

  #sidebar.sidebar-open {
    left: 0;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.3);
  }

  .hamburger-btn {
    display: inline-block;
  }

  #main-content {
    width: 100%;
    float: none;
  }

  .footerNav {
    width: 100%;
  }

  .title {
    margin-right: 0;
    text-align: center;
    float: none;
  }

  .navbar h2 {
    width: 80%;
    display: inline-block;
  }

  #moreBtn {
    font-size: 26px;
  }

  #addBtn, #refreshBtn {
    font-size: 36px;
  }

  .label {
    margin-left: 0;
  }

  .form-group {
    margin: 20px 10px;
  }

  /* Override inline width styles in inbox-details */
  ion-input[style*="width: 1000px"],
  div[style*="width: 1000px"] {
    width: 100% !important;
    max-width: 100% !important;
  }

  div[style*="height: 150px"][style*="width: 1000px"] {
    width: 100% !important;
    height: auto !important;
    min-height: 100px;
  }
}

@media (max-width: 576px) {
  .login-div {
    margin: 5% 10px;
    min-height: 150px;
  }

  .logo_img {
    width: 100px;
  }

  .profile-img {
    width: 60px;
    height: 60px;
  }

  .profile-name {
    font-size: 16px;
  }

  .profile-mail {
    font-size: 14px;
  }

  .navbar h2 {
    font-size: 1.2em;
  }

  #addBtn, #refreshBtn {
    font-size: 32px;
  }

  ion-toggle {
    zoom: 1.4;
  }
}

/* Tablet landscape adjustments */
@media (max-width: 992px) and (min-width: 769px) {
  #sidebar {
    width: 30%;
  }

  #main-content {
    width: 70%;
  }

  .footerNav {
    width: 70%;
  }
}