/*
 * NavStyles.css
 *
 * Copyright 2015 - 2024 (c) Team IP Holdings, LLC. All rights reserved.
 */

a, a:hover, a:focus {
  color: #000;
  text-decoration: none;
  -o-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}

.navbar-brand {
  padding-left: 20px;
}

.navbar-header {
  padding-top: 12px;
}

.navbar-collapse {
  padding-top: 7px;
}

.navbar-nav {
  /*padding-left: 4px;*/
}

/* bootstrap dialog */

@media (max-width: 768px) {
  .modal-dialog {
    max-width: 100%;
    min-width: 400px;
    margin: 0;
    padding: 0;
  }
}

.line {
  width: 100%;
  height: 1px;
  border-bottom: 1px dashed #ddd;
  margin: 40px 0;
}

.wrapper {
  display: flex;
  width: 100%;
  margin: 0;
  padding: 0;
  height: calc(100vh - 60px);
  -webkit-align-items: stretch;
  align-items: stretch;
  /*border: 1px dashed green;*/
}

/* Sidebar */

#sidebar {
  min-width: 220px;
  max-width: 220px;
  border-right: 1px solid #eee;
  -o-transition: all 0.6s cubic-bezier(0.945, 0.020, 0.270, 0.665);
  -webkit-transition: all 0.6s cubic-bezier(0.945, 0.020, 0.270, 0.665);
  -ms-transition: all 0.6s cubic-bezier(0.945, 0.020, 0.270, 0.665);
  transition: all 0.6s cubic-bezier(0.945, 0.020, 0.270, 0.665);
}

  #sidebar.active {
    margin-left: -220px;
    -ms-transform: rotateY(100deg);
    -webkit-transform: rotateY(100deg);
    transform: rotateY(100deg);
  }

  #sidebar .sidebar-header {
    width: 216px;
    padding:  10px 0 10px 20px;
    background-color: whitesmoke;
  }

  #sidebar ul.components {
    padding: 1px;
    border-top: 1px solid #eee;
  }

  #sidebar ul p {
    color: #fff;
    padding: 10px;
  }

  #sidebar ul li a {
    padding-left: 25px;
    color: #555;
  }

    #sidebar ul li a:hover {
      color: #bc2e29;
      background: lightgrey;
    }

  #sidebar ul ul li.active > a, a[aria-expanded="true"] {
    color: #fff;
    background: #bc2e29;
  }

a[data-toggle="collapse"] {
  position: relative;
}

.dropdown-toggle:after {
  display: block;
  position: absolute;
  top: 50%;
  right: 20px;
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

ul ul a {
  font-size: 0.9em !important;
  padding-left: 30px !important;
}

ul.CTAs {
  padding: 20px;
}

  ul.CTAs a {
    text-align: center;
    font-size: 0.9em !important;
    display: block;
    margin-bottom: 5px;
  }

a.download {
  background: #fff;
  color: #7386D5;
}

/*
    CONTENT STYLE
*/
#content {
  width: 100%;
  padding: 0;
  height: calc(100vh - 122px);
  /*min-height: 100vh;*/
  -o-transition: all 0.3s;
  -webkit-transition: all 0.3s;
  -ms-transition: all 0.3s;
  transition: all 0.3s;
}

#sidebarCollapse {
  width: 40px;
  height: 40px;
  background: #f5f5f5;
  cursor: pointer;
}

  #sidebarCollapse span {
    width: 80%;
    height: 2px;
    margin: 0 auto;
    display: block;
    background: #555;
    -o-transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375);
    -webkit-transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375);
    transition: all 0.8s cubic-bezier(0.810, -0.330, 0.345, 1.375);
    -o-transition-delay: 0.2s;
    -webkit-transition-delay: 0.2s;
    transition-delay: 0.2s;
  }

    #sidebarCollapse span:first-of-type {
      -ms-transform: rotate(45deg) translate(2px, 2px);
      -webkit-transform: rotate(45deg) translate(2px, 2px);
      transform: rotate(45deg) translate(2px, 2px);
    }

    #sidebarCollapse span:nth-of-type(2) {
      -ms-opacity: 0;
      opacity: 0;
    }

    #sidebarCollapse span:last-of-type {
      -ms-transform: rotate(-45deg) translate(1px, -1px);
      -webkit-transform: rotate(-45deg) translate(1px, -1px);
      transform: rotate(-45deg) translate(1px, -1px);
    }


  #sidebarCollapse.active span {
    -ms-transform: none;
    -webkit-transform: none;
    transform: none;
    -ms-opacity: 1;
    opacity: 1;
    margin: 5px auto;
  }

/* Snackbar */

#snackbar {
  visibility: hidden;
  min-width: 350px;
  margin-left: -125px;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 16px;
  position: fixed;
  z-index: 1;
  left: 50%;
  top: 60px;
  font-size: 18px;
}

  #snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 4.5s;
    animation: fadein 0.5s, fadeout 0.5s 4.5s;
  }

@-webkit-keyframes fadein {
  from {
    top: 0;
    -ms-opacity: 0;
    opacity: 0;
  }

  to {
    top: 60px;
    -ms-opacity: 1;
    opacity: 1;
  }
}

@keyframes fadein {
  from {
    top: 0;
    -ms-opacity: 0;
    opacity: 0;
  }

  to {
    top: 60px;
    -ms-opacity: 1;
    opacity: 1;
  }
}

@-webkit-keyframes fadeout {
  from {
    top: 60px;
    -ms-opacity: 1;
    opacity: 1;
  }

  to {
    top: 0;
    -ms-opacity: 0;
    opacity: 0;
  }
}

@keyframes fadeout {
  from {
    top: 60px;
    -ms-opacity: 1;
    opacity: 1;
  }

  to {
    top: 0;
    -ms-opacity: 0;
    opacity: 0;
  }
}

/* Media queries */

@media (max-width: 768px) {
  #sidebar {
    margin-left: -220px;
    -ms-transform: rotateY(90deg);
    -webkit-transform: rotateY(90deg);
    transform: rotateY(90deg);
  }

    #sidebar.active {
      margin-left: 0;
      -ms-transform: none;
      -webkit-transform: none;
      transform: none;
    }

  #sidebarCollapse span:first-of-type,
  #sidebarCollapse span:nth-of-type(2),
  #sidebarCollapse span:last-of-type {
    -ms-transform: none;
    -webkit-transform: none;
    transform: none;
    opacity: 1;
    margin: 5px auto;
  }

  #sidebarCollapse.active span {
    margin: 0 auto;
  }

    #sidebarCollapse.active span:first-of-type {
      -ms-transform: rotate(45deg) translate(2px, 2px);
      -webkit-transform: rotate(45deg) translate(2px, 2px);
      transform: rotate(45deg) translate(2px, 2px);
    }

    #sidebarCollapse.active span:nth-of-type(2) {
      opacity: 0;
    }

    #sidebarCollapse.active span:last-of-type {
      -ms-transform: rotate(-45deg) translate(1px, -1px);
      -webkit-transform: rotate(-45deg) translate(1px, -1px);
      transform: rotate(-45deg) translate(1px, -1px);
    }
}
