﻿/* -----------------------------------
 * Slidebars
 * Version 0..10
 * http://plugins.adchsm.me/slidebars/
 *
 * Written by Adam Smith
 * http://www.adchsm.me/
 *
 * Released under MIT License
 * http://plugins.adchsm.me/slidebars/license.txt
 *
 * -------------------
 * Slidebars CSS Index
 *
 * 001 - Box Model, Html & Body
 * 002 - Site
 * 003 - Slidebars
 * 004 - Animation
 * 005 - Helper Classes
 *
 * ----------------------------
 * 001 - Box Model, Html & Body
 */

html, body, #sb-site, .sb-site-container, .sb-slidebar {
  /* Set box model to prevent any user added margins or paddings from altering the widths or heights. */
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  /*overflow-x: hidden;  Stops horizontal scrolling. */
}

html {
  height: 100%; /* Site is as tall as device. */
}

body {
  min-height: 100%;
  height: auto;
  position: relative; /* Required for static Slidebars to function properly. */
}

html.sb-scroll-lock.sb-active:not(.sb-static) {
  overflow: hidden; /* Prevent site from scrolling when a Slidebar is open, except when static Slidebars are only available. */
}

/* ----------
 * 002 - Site
 */

#sb-site, .sb-site-container {
  /* You may now use class .sb-site-container instead of #sb-site and use your own id. However please make sure you don't set any of the following styles any differently on your id. */
  width: 100%;
  position: relative;
  z-index: 1; /* Site sits above Slidebars */
  background-color: transparent; /*Default background colour, overwrite this with your own css. I suggest moving your html or body background styling here. Making this transparent will allow the Slidebars beneath to be visible. */
}

#sb-site {
  overflow-x: hidden;
  overflow-y: visible;
}

/* ---------------
 * 003 - Slidebars
 */

.sb-slidebar {
  height: 100%;
  overflow-y: auto; /* Enable vertical scrolling on Slidebars when needed. */
  position: fixed;
  top: 0;
  z-index: 0; /* Slidebars sit behind sb-site. */
  display: none; /* Initially hide the Slidebars. Changed from visibility to display to allow -webkit-overflow-scrolling. */
  background-color: #7d7d7d; /* Default Slidebars background colour, overwrite this with your own css. */
  -webkit-transform: translate(0px); /* Fixes issues with translated and z-indexed elements on iOS 7. */
}

.sb-left {
  left: 0; /* Set Slidebar to the left. */
}

.sb-right {
  right: 0; /* Set Slidebar to the right. */
}

html.sb-static .sb-slidebar,
.sb-slidebar.sb-static {
  position: absolute; /* Makes Slidebars scroll naturally with the site, and unfixes them for Android Browser < 3 and iOS < 5. */
}

.sb-slidebar.sb-active {
  display: block; /* Makes Slidebars visibile when open. Changed from visibility to display to allow -webkit-overflow-scrolling. */
}

.sb-style-overlay {
  z-index: 9999; /* Set z-index high to ensure it overlays any other site elements. */
}

.sb-momentum-scrolling {
  -webkit-overflow-scrolling: touch; /* Adds native momentum scrolling for iOS & Android devices. */
}

.sb-toggle-left .fa-bars {
  color: #FFF;
  background-color: rgba(255,255,255,0.15);
  font-size: 40px;
  padding: 5px;
  top: 0px;
  left: 0px;
  position: absolute;
}


#nav-toggle {
  position: absolute;
  /*left: 18px;
    top: 58px;*/
}

#nav-toggle {
  cursor: pointer;
  padding: 10px 35px 16px 0px;
}

  #nav-toggle span, #nav-toggle span:before, #nav-toggle span:after {
    cursor: pointer;
    border-radius: 1px;
    height: 4px;
    width: 30px;
    background: #92278f;
    position: absolute;
    display: block;
    content: '';
  }

    #nav-toggle span:before {
      top: -10px;
    }

    #nav-toggle span:after {
      bottom: -10px;
    }

    #nav-toggle span, #nav-toggle span:before, #nav-toggle span:after {
      transition: all 500ms cubic-bezier(0.56, 0.01, 0.39, 0.99);
    }

  #nav-toggle.active span {
    background-color: transparent;
  }

    #nav-toggle.active span:before, #nav-toggle.active span:after {
      top: 0;
    }

    #nav-toggle.active span:before {
      transform: rotate(45deg);
    }

    #nav-toggle.active span:after {
      transform: rotate(-45deg);
    }

@media (max-width: 380px) {
  #nav-toggle {
    position: absolute;
    left: 4px;
    top: 56px;
  }
}


/* Slidebar widths for browsers/devices that don't support media queries. */
.sb-slidebar {
  width: 30%;
}

.sb-width-thin {
  width: 15%;
}

.sb-width-wide {
  width: 45%;
}

@media (max-width: 480px) { /* Slidebar widths on extra small screens. */
  .sb-slidebar {
    width: 70%;
  }

  .sb-width-thin {
    width: 55%;
  }

  .sb-width-wide {
    width: 85%;
  }
}

@media (min-width: 481px) { /* Slidebar widths on small screens. */
  .sb-slidebar {
    width: 55%;
  }

  .sb-width-thin {
    width: 40%;
  }

  .sb-width-wide {
    width: 70%;
  }
}

@media (min-width: 768px) { /* Slidebar widths on medium screens. */
  .sb-slidebar {
    width: 40%;
  }

  .sb-width-thin {
    width: 25%;
  }

  .sb-width-wide {
    width: 55%;
  }
}

@media (min-width: 980px) {
  #sb-site, .sb-site-container {
    transform: none !important;
  }
}

/* ---------------
 * 004 - Animation
 */

.sb-slide, #sb-site, .sb-site-container, .sb-slidebar {
  -webkit-transition: -webkit-transform 400ms ease;
  -moz-transition: -moz-transform 400ms ease;
  -o-transition: -o-transform 400ms ease;
  transition: transform 400ms ease;
  -webkit-transition-property: -webkit-transform, left, right; /* Add left/right for Android < 4.4. */
  /*-webkit-backface-visibility: hidden;  Prevents flickering. This is non essential, and you may remove it if your having problems with fixed background images in Chrome. */ /*REMOVED::This messes with stuck_container styles in the top nav on desktop view::AS 12/19/14*/
}

/* --------------------
 * 005 - Helper Classes
 */

.sb-hide {
  display: none; /* Optionally applied to control classes when Slidebars is disabled over a certain width. */
}


.sb-slidebar {
  /*padding: 14px;*/
  color: #fff;
}

html.sb-active #sb-site, .sb-toggle-left, .sb-toggle-right, .sb-open-left, .sb-open-right, .sb-close {
  cursor: pointer;
}

/* Fixed position examples */
#sb-site.top-padding {
  padding-top: 50px;
}

#fixed-top {
  position: fixed;
  top: 0;
  width: 100%;
  height: 50px;
  background-color: red;
  z-index: 4;
}

  #fixed-top span.sb-toggle-left {
    float: left;
    color: white;
    padding: 10px;
  }

  #fixed-top span.sb-toggle-right {
    float: right;
    color: white;
    padding: 10px;
  }
/*========================================================
                     mobile-menu styles
=========================================================*/
.mobile-menu {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
}

  .mobile-menu .CircleLink, .mobile-menu .LinkImage {
    display: none;
  }

  ul.mobile-menu, .mobile-menu li ul {
    list-style: none;
    margin-top: -1px;
  }

  .mobile-menu > li > a, .mobile-menu > li > a:hover {
    display: block;
    margin: 1px 0px 1px 0px;
    padding: 16px 18px;
    font-size: 1.3em;
    font-weight: 500;
    text-decoration: none;
    color: #ffffff;
  }

  .mobile-menu > li > a {
    border-bottom: rgba(255,255,255,0.30) 2px solid;
  }

    /*
.mobile-menu .mzr-content{
    display: none; This is done in CommonScripts.js
}
*/

    .mobile-menu > li > a:hover, .mobile-menu > li > a.open {
      color: #FFF;
    }

  .mobile-menu li ul {
    display: none;
    background-color: #545454;
    /*padding: 0px !important;*/
  }

    .mobile-menu li ul.mzr-content li br {
      display: none;
    }

    .mobile-menu li ul.mzr-content li a h3 {
      padding-left: 0px !important;
      margin-bottom: 5px;
      margin-left: 0px !important;
      text-align: left !important;
    }

  .mobile-menu .GroupTitlelink a {
    color: #ffffff !important;
  }

    .mobile-menu .GroupTitlelink a:hover {
      color: #ffffff !important;
    }

  .mobile-menu .three-col .MenuBorderTop {
    border: none !important;
  }

  /*
.mobile-menu h3.GroupTitlelink	{
    margin: 0px;
}
*/
  /*.mobile-menu a.MobileArrow:before	{
    font-family: "Font Awesome 5 Pro";
    content: "\f107";
    padding-left: 10px;
    -webkit-transition: -webkit-transform 200ms ease-in-out;
    transition: transform 200ms ease-in-out;
}
.mobile-menu a.MobileArrow.open:before	{
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
}*/

  .mobile-menu li ul li a, .mobile-menu li ul li a:hover {
    display: block;
    background: none;
    padding: 3px 0px;
    padding-left: 30px;
    font-size: 1.1em;
    text-decoration: none;
    font-weight: normal;
    color: #FFF !important;
  }

  .mobile-menu li ul li ul li a {
    padding-left: 50px;
    margin-bottom: -8px;
  }
/*
.mobile-menu  li ul li a:hover {
   background: #2c7882;
   color: #FFF;
}
*/
