/*////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/* MAIN CONTENT //////////////////////////////////////////////////////////////////////////////////////////*/
html, body{/*background:#111;*/font-size: 16px;font-family: 'Open Sans', sans-serif;overflow-x: hidden;}
.main {padding-left: 1%;padding-right: 1%;background: #fff;left: 0;overflow: hidden;position: relative;padding-bottom: 50px;min-height: 600px;}
.main, .responsive_fullscreen_header{webkit-transition: left 500ms ease;-webkit-transition: left 500ms ease;transition: left 500ms ease;}
.no_button_styling {background: none;border: none !important;}
/*////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/* Text Elements /////////////////////////////////////////////////////////////////////////////////////////*/
a {color: #688FCA;text-decoration: none;}
a:hover, a:focus {color: #9FCCF2;text-decoration: none;}

/* Default colour styles */ 
.danger{color:#CA1E47;}
.alert{color:#F29500;}
.passive{color:#85CC8E;}
.tandf{color:#688FCA;}
.dusk{color:#C17270;}
.cyan{color:#448391;}
.purple{color:#7368A0;}
.slate{color:#333333;}
.med_slate{color:#5F5F5F;}
.mute_slate{color:#CFCFCF;}

/*Header Text / Title and SubTitle*/
.header-title, .header-subtitle{display: block;text-align: center;position: absolute;color: #fff;width: 100%;}
.header-title {line-height: 100vh; /* This value will get switched out by JS */font-size: 8vmin;}
.reduced_header .header-title {line-height: 28vh;}
.reduced_header .header-subtitle {line-height: 37vh;}
.header-subtitle {line-height: 110vh;margin-top:2vmin;font-size: 4vmin;}

/*Block Quotes for Routledge generated book quotes*/
.product_reviews-bq .fa {padding: 5px;font-size: 0.7em;position: absolute;}
.product_reviews-bq .fa-quote-left {margin-left: -22px;}
.product_reviews-bq p {margin-left: 22px;}
.citation{font-size: 0.7em;color: #688FCA;display: block;padding-top: 10px;}
blockquote {border-left: 5px solid #E0E6F0;}
.html5warning{background:#CA1E47;color:#fff;text-align: center;margin:0;padding:0;position: absolute;top:0;left:0;z-index:400;width:100%;}
.html5logo{font-size:3em;}

/*//////////////////////////////////////////////////////////////////////////////////////////////////////*/
/* RESPONSIVE HEADER ///////////////////////////////////////////////////////////////////////////////////*/
.responsive_fullscreen_header{background: url("../img/bg.jpg") repeat scroll center center / cover  #333333;left:0;position:relative;}/*The background image for the header...*/
.reduced_header{height:300px;}/*Header image size when you DON'T want fullscreen*/
.header-scroll_icon {font-size: 46px;position: absolute;border-radius: 100px;background: #fff;text-align: center;left: 50%;height: 50px;line-height: 48px;width: 50px;margin-left: -25px;bottom: 0;z-index:400;-webkit-transition: left 500ms ease;transition: left 500ms ease;}
nav::before {content: "";background: #111;display: block;width: 100%;height: 44px;z-index: 1;position: fixed;left: 0;top: 0;-webkit-transition: left 500ms ease;transition: left 500ms ease;}
/*/////////////////////////////////////////////////////////////////////////////////////////////////////*/
/* FOOTER //////////////////////////////////////////////////////////////////////////////////////////////*/
footer{background:#333;color: #fff;-webkit-transition: left 500ms ease;transition: left 500ms ease;position:relative;left:0;}
.cw-navigation-main {margin-top: 25px;}
.FOOTER_information {display: none;}
.FOOTER_cookies{background:#111;color:#fff;text-align: center;height:44px;line-height:44px;font-size: 0.5em;}
.FOOTER_copyright{background:#222;color:#fff;text-align: center;height:44px;line-height:44px;font-size: 0.6em;}
.FOOTER_social {background: #688FCA;color: #fff;position: relative;z-index: 10;height: 150px;line-height: 150px;}
.FOOTER_social>.social>li>a {color:#fff;text-decoration: none;}
.social{margin:0;padding:0;display: -webkit-box;display: flex;display: -webkit-flex;display: -ms-flexbox;-webkit-box-pack: start;-ms-flex-pack: center;-webkit-box-orient: horizontal;-webkit-box-direction: normal;-ms-flex-direction: row;flex-direction: row;-webkit-flex-direction: row;-ms-flex: row;flex-wrap: wrap;-webkit-flex-wrap: wrap;-ms-flex-wrap: wrap;-ms-flex-line-pack: center;align-content: center;-webkit-align-content: center;-ms-flex-align: center;-webkit-box-pack: center;-ms-flex-pack: center;justify-content: center;-webkit-justify-content: center;-ms-justify: center;-webkit-box-align: center;-ms-flex-align: center;align-items: center;-webkit-align-items: center;}
.social>li>a>i {font-size: 2em;top: 6px;position: relative;width: 34px;text-align: center;}
.social>li>a>span {display:none;}
.social>li{list-style: none;text-align: center;display: inline-block;padding-left: 20px;padding-right: 20px;}
.social>li>a:hover {color: #043C6C;}
#return {width: 44px;position: fixed;height: 44px;right: 0px;z-index: 200000;background: #111;bottom: 0;line-height: 39px;font-size: 2em;color: #fff;text-align: center;cursor: pointer;display: none;}

/*////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/* Page Blurb ////////////////////////////////////////////////////////////////////////////////////////////*/
.product_reviews, .product_description {margin: 0;padding-left: 5%;padding-right: 5%;z-index: 200;padding-top: 40px;padding-bottom: 40px;position: relative;webkit-transition: left 500ms ease;-webkit-transition: left 500ms ease;transition: left 500ms ease;left:0;}
.product_reviews{background: #E0E6F0;}
.product_description{background: #fff;z-index: 300;}
.product_reviews p, .product_description p,.product_reviews h1, .product_description h1,.product_reviews ul, .product_description ul   {max-width:1280px; margin-left:auto;margin-right:auto;}
.product_reviews blockquote:last-child {margin-bottom: 0;}
.product_reviews_arrow {font-size: 46px;position: absolute;border-radius: 100px;background: #E0E6F0;text-align: center;left: 50%;height: 50px;line-height: 50px;width: 50px;margin-left: -25px;bottom: -22px;}
.product_description_arrow {font-size: 46px;position: absolute;border-radius: 100px;background: #fff;text-align: center;left: 50%;height: 50px;line-height: 50px;width: 50px;margin-left: -25px;bottom: -22px;}
/*////////////////////////////////////////////////////////////////////////////////////////////////////////*/
/* NAVIGATION ////////////////////////////////////////////////////////////////////////////////////////////*/
.navigation_button {position: fixed;left: 0px;top: 0px;color: #fff;background: #111;font-size:2em;height: 44px;line-height: 44px;width: 44px;text-align: center;cursor: pointer;z-index: 10000000;webkit-transition: all 500ms ease;-webkit-transition: all 500ms ease;transition: all 500ms ease;}
.mobile-navigation_reveal {left:0 !important;}
.mobile-navigation_buttonmove{left: 100%;margin-left: -46px;}/*Colour button switches to on menu reveal*/
.mobile-navigation_shift{left:100%;}/*how much the page shifts on menu reveal*/
.navigation_shift{left:25%;}/*how much the page shifts on menu reveal*/
.navigation_shift_long{left:75%;}/*how much the page shifts on menu reveal*/
.navigation_reveal {left:0 !important;}
.navigation_buttonmove{left:25% !important;background:#111;}
nav{position: fixed;background:#111;width: 100%;height:100%;left:-100%;color: #fff;top:0;z-index:50000;-webkit-transition: left 500ms ease;transition: left 500ms ease;}
.cw-navigation-main{margin: 0;padding: 0;margin-top: 25px;height: 90%;padding-bottom: 70px;overflow-y: auto;}
.cw-navigation-main>li {display: block;background: #222;margin: 6px;font-size: 1em;line-height: 43px;min-height: 44px;padding-top: 0;padding: 0;border-radius: 0;text-align: center;list-style: none;border:0;}
.header-author {display:none;}
.header-edition {display:none;}
.SUBMENU_child {display: none;background: #555;padding: 0;border-left: 2px solid #222;border-right: 2px solid #222;margin-top: -2px;}
.cw-navigation-main a{text-decoration:none;color: #fff;display: block;text-align: left;padding-left:10px;border: 2px solid #222;position:relative;text-overflow: ellipsis;height: 47px;}
.mobile-navigation_reveal .brand-ribbon {display: block;bottom: 0;left: 0;background: #111;width: 100%;padding-top: 4px;position: absolute;height: 50px;}
.mobile-navigation_reveal .brand-ribbon img {height: 40px;margin-left: 4px;}
.SUBMENU_parent {position: relative;width: 100%;margin: 0;top: 0;padding: 0;display: none;-webkit-backface-visibility: hidden;-webkit-transform: translateZ(0);left: 0;background: #333;}
.nav_anchor .fa-times {position: absolute;right: 18px;margin-top: 13px;}
.SUBMENU_button-child>.SUBMENU_open::after {content: "\f00d";}
.submenu_reveal .nav_anchor {background: #688FCA;}
.SUBMENU_open {background: #688FCA;}
.SUBMENU_child a {border: 2px solid #333;}
.cw-navigation-main i {width: 20px;text-align: center;margin-left: -4px;}
/*///////////////////////////////////////////////////////////////////////////////////////////////////////*/
/* Page Tabs ////////////////////////////////////////////////////////////////////////////////////////////*/
#page_pills{display: -webkit-box;display: flex;display: -webkit-flex;display: -ms-flexbox;-webkit-box-pack: start;-ms-flex-pack: center;-webkit-box-orient: horizontal;-webkit-box-direction: normal;-ms-flex-direction: row;flex-direction: row;-webkit-flex-direction: row;-ms-flex: row;flex-wrap: wrap;-webkit-flex-wrap: wrap;-ms-flex-wrap: wrap;-ms-flex-line-pack: start;align-content: flex-start;-webkit-align-content: flex-start;-ms-flex-align: center;-webkit-box-pack: start;-ms-flex-pack: start;justify-content: flex-start;-webkit-justify-content: flex-start;-ms-justify: center;-webkit-box-align: start;-ms-flex-align: start;align-items: flex-start;-webkit-align-items: flex-start;background: #eee;padding: 10px;margin-bottom: 10px;border-bottom: 3px solid #ddd;}
.nav-pills>li.active>a, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus {color: #fff;background-color: #111;border-radius: 0;height: 44px;padding: 0;padding-left: 10px;line-height: 44px;padding-right: 30px;}
.tab-pane>.nav-pills>li.active>a, .tab-pane>.nav-pills>li.active>a:hover, .tab-pane>.nav-pills>li.active>a:focus {color: #fff;background-color: #333;border-radius: 0;}
.nav-pills>li {margin: 2px;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-flex-grow:1;-ms-flex:1;-ms-flex-preferred-size: auto;}
.nav-pills > li.active::after {bottom: 7px;color: #fff;content: "\f103";font-family: FontAwesome;font-size: 1.4em;pointer-events: none;position: absolute;text-align: right;width: 100%;padding-right: 10px;}
.nav-pills > li::after {bottom: 14px;color: rgba(255,255,255,0.4);content: "\f067";font-family: FontAwesome;font-size: 0.7em;pointer-events: none;position: absolute;text-align: right;width: 100%;padding-right: 10px;}
.tab-content > .tab-pane > .nav-pills > li.active::after {bottom: 7px;color:#fff;content: "\f107";font-family: FontAwesome;font-size: 1.4em;pointer-events: none;position: absolute;text-align: right;width: 100%;}
.nav>li>a {position: relative;display: block;padding: 0;background: #ccc;border-radius: 0 !important;height: 44px;line-height: 44px;padding-left: 10px;padding-right: 30px;color: #fff;}
#page_pills li:first-child {margin-left: 1px;}
#page_pills li:last-child {margin-right: 1px;}
.nav>li>a:hover, .nav>li>a:focus {text-decoration: none;background-color: #688FCA;}
.tab-content {background: #eee;padding: 10px;}
.tab-pane>#page_pills {padding-left: 0;padding-right: 0;padding-top: 0;}
.horiz_navigation_button {position: fixed;top: 0;left: 0;z-index: 1000;font-size: 2em;width: 44px;text-align: center;height: 44px;line-height: 44px;}
.horizontal_menu {padding-top: 44px;}
.horizontal_menu>ul>li>a {text-decoration: none;color: #fff;background: none;display: block;text-align: left;padding-left: 10px;border: 2px solid #222;position: relative;text-overflow: ellipsis;overflow: hidden;height: 47px;}
.horizontal_menu>ul>li {display: block;background: #222;margin: 6px;font-size: 1em;line-height: 43px;min-height: 44px;padding-top: 0;padding: 0;border-radius: 0;text-align: center;list-style: none;border: 0;}
.horizontal_menu img {height: 44px;position: absolute;bottom: 5px;left: 5px;}
.navigation_reveal .dropdown-menu {position: relative;float: none;background: none;margin: 0;padding: 0;}
.navigation_reveal>ul>li>ul>li>a, .navigation_reveal>ul>li>ul>li>ul>li>a{text-decoration: none;color: #fff;display: block;text-align: left;border: 2px solid #222;position: relative;text-overflow: ellipsis;height: 47px;background: #333;padding: 0 0 0 10px;line-height: inherit;}
.navigation_reveal>ul>li>ul>li>ul>li>a{background:#444;}
.horizontal_menu .open>a, .horizontal_menu .open>a:hover, .horizontal_menu .open>a:focus {background:none; border:none;}
/*///////////////////////////////////////////////////////////////////////////////////////////////////////*/
/* Rows and Columns /////////////////////////////////////////////////////////////////////////////////////*/
.row {margin-left: auto;margin-right: auto;max-width: 1280px;background: none;}
/*///////////////////////////////////////////////////////////////////////////////////////////////////////*/
/* SAMS /////////////////////////////////////////////////////////////////////////////////////////////////*/

.LOGINFORM_modal {position: fixed;padding: 15px;top: 0;left: 0;background: #fff;width: 100%;height: 100%;z-index: 100000;}
.LOGINFORM_close {position: relative;float: right;font-size: 1.5em;margin-top: -6px;z-index: 20000;width: 44px;height: 44px;margin-right: -6px;line-height: 44px;text-align: center;cursor: pointer;}
.LOGINFORM-new .fa, .LOGINFORM-exist .fa {font-size: 3em;}
.global_form_loader footer{display:none;}
.LOGINFORM_return i, #LOGINFORM_submit_button i {font-size: 2em;}
/*///////////////////////////////////////////////////////////////////////////////////////////////////////*/
/* CUSTOM ///////////////////////////////////////////////////////////////////////////////////////////////*/

body {
  color: #777;
  font-family: 'Source Sans Pro', sans-serif;
}

h1, h2, h3, h4 {
    font-family: 'Encode Sans Semi Expanded', sans-serif;
    font-weight: 300;
    line-height: 1.3;
}

h1 {
    color: #2f3e46;
}

h2 {
    color: #84a98c;
}

h3, h4 {
    color: #987D7C;
}

h4 {
  margin-bottom: 30px;
}

a {
  color: #333;
  text-decoration: underline;
}

/* Buttons */
.btn-default {
  color: #fff;
  background-color: #809d2f; 
  border: 1px solid #596e21;
  transition: ease-in 0.3s;
  margin: 10px;
  text-decoration: none;
}

.btn-default:hover {
  color: #222;
  background-color:  #B1CF5F; 
  border: 1px solid #596e21;
}

/* Buttons */

/* Code snippets */
.code_container {
    border: 1px solid #e1e1e1;
    background-color: #F7F2F4;
    margin: 10px 0;
    padding: 10px;
}

code {
  color: crimson;
  padding: 2px;
}
/* /Code snippets */

/* Standout divs (Homepage bio, quotes etc) */
.standout,
.quotation
{
  color: #2f3e46;
  background-color: #f7f7f7;
  border: 1px solid #e1e1e1;
  margin: 20px 0;
  padding: 10px;
}

hr.standout_underline {
  border-bottom: 1px solid #e1e1e1;
}
/* Standout divs (Homepage bio, quotes etc) */

/* Videos */
.video_wrapper,
.audio_video_wrapper {
  display: flex;
  flex-wrap: wrap;
}

.video_container,
.audio_container {
  /* border-bottom: 1px solid #f1f1f1; */
  display: flex;
  flex-direction: column;
  margin: 10px;
  background-color: #fff;
  max-width: 320px;
  padding: 0;
}

.audio_container {
  justify-content: center;
  align-items: center;
}

video {
  padding: 0;
  margin: 0;
}
audio {
  border: 1px solid #999;
  border-radius: 50px;
}

/* Videos */

/* Images - not gallery */
.img_border {
  border: 1px solid #f1f1f1;
}

.img_spacer {
  margin: 20px 0;
}
/* /Images - not gallery */


/* Main hero page title styles - homepage and subpages */
.title_bg,
.edition_subtitle_bg {
  display: flex;
  flex-direction: column;
  align-items: center; 
}

.title_bg,
.sub-page_bg {
  background-color: rgba(188, 57, 8, .6);
}

.edition_subtitle_bg {
  background-color: rgba(47, 62, 70, 0.8);
}
/* Main hero page title styles - homepage and subpages */

/* Global Nav */
nav.horizontal_menu { background-color: #2f3e46; letter-spacing: 1px; border-bottom: 1px solid #3d505a; box-shadow: 0 0 3px #222;}

.horizontal_menu.navbar_background { }

ul.cw-navigation-horz.nav a{  color: #a2bea8; }

/* Mobile Nav- changes the bg colour */
nav::before { background-color: #2f3e46; }

/* Hero Image Content */
.hero {
    position: absolute;
    bottom: 10%;
    /* background: rgba(132, 157, 164, 0); */
    padding: 20px;
    width: 100%;
    margin-left: auto;
    text-align: center;
    margin-right: auto;
  }
  
  ​.header-content { margin-bottom: 60px; }

  .header-title-intro,
  .header-subtitle-intro,
  .header-edition-intro {
    font-family: 'Encode Sans Semi Expanded', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 10px;
  }

  .header-subtitle-intro,
  .header-edition-intro {
    color: #84a98c;
    font-size: 3vmin;
    padding: 0 5px;
    margin: 20px 0;
  }
  
  .header-title-intro {
    color: #D3AC4A;
    font-size: 8vmin;
    line-height: 8vmin;
    /*background: rgba(51, 51, 51, 0.58);*/
    padding: 7px 10px 7px 10px;
    margin: 20px;
  }
  .header-subtitle-intro {
    line-height: 4vmin;
    /* background-color: rgba(25,255,255,0.5); */
  }
  .header-edition-intro {
    
    
  }
  .header-scroll_icon {
      font-size: 30px;
      position: absolute;
      border-radius: 100px;
      text-align: center;
      left: 50%;
      height: 50px;
      line-height: 48px;
      width: 50px;
      margin-left: -25px;
      z-index: 0;
      -webkit-transition: left 500ms ease;
      transition: left 500ms ease;
      bottom: 4%;
  }
  
  /* Header - all pages except home */
  .responsive_fullscreen_header {
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .responsive_fullscreen_header:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
  }

  .sub-page_bg {
    padding: 10px;
  }
  
  .responsive_fullscreen_header h1 {
    color: #D3AC4A;
    font-family: 'Encode Sans Semi Expanded', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 10px;
    text-align: center;
    z-index: 101;
    margin: 5px 0;
  }
  
  .responsive_header_text {
   
    font-weight: 200;
    font-size: 4vmin;
  }

  /* Nav Pills - Students page */
#page_pills { background-color: #fff; border-bottom: 0;}

.nav>li>a {
  color: #516b79;
  background-color: #fff;
  border: 1px solid #516b79;
}

/* Various states of page pills - Students page */
.nav-pills>li>a:link {text-decoration: none; background-color: #fff; color: #516b79; border: 1px solid #516b79; transition: ease-in 0.3s;}

.nav-pills>li>a:hover {text-decoration: none; background-color: #2f3e46; color: #a2bea8;}

.nav-pills>li>a:focus {text-decoration: none; background-color: #2f3e46; color: #fff;}

/* Controls active state on Chapter pills -Chapter 1, Chapter 2 etc */
.nav-pills>li.active>a, .nav-pills>li.active>a:hover, .nav-pills>li.active>a:focus {color: #fff; background-color: #516b79 ; border-radius: 0; height: 44px; padding: 0; padding-left: 10px; line-height: 44px; padding-right: 30px;}

/* Controls active states on Chapter sub-sections - Chapter Summary, Additionl Material etc */
.tab-pane>.nav-pills>li.active>a, .tab-pane>.nav-pills>li.active>a:hover, .tab-pane>.nav-pills>li.active>a:focus { background-color: #516b79;}

/* Wrapper around active tab content - Students page */
.tab-content {background-color: #fff; border: 1px solid #e1e1e1; border: 0;}

.img-responsive {
  border: 1px solid #f1f1f1;
  padding: 0;
  margin: 15px 0;
}

.img_wrapper_right {
  float: right;
  margin: 15px;
}

.item {
  margin: .5rem;
}

.item:hover {
  x-box-shadow: 0px 0px 15px #999;
  transition: ease-in 0.3s;
}

@media screen and (min-width: 600px) {
  .flex_wrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
  }
  .item {
    width: calc(50% - 2rem);
  }
}

@media screen and (min-width: 1000px) {
  .item {
      width: calc(33.3333% - 2rem);
  }
}

/*! Swipebox v1.3.0 | Constantin Saguin csag.co | MIT License | github.com/brutaldesign/swipebox */
html.swipebox-html.swipebox-touch {
  overflow: hidden !important;
}

#swipebox-overlay img {
  border: 5px solid white; !important;
}

#swipebox-overlay {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99999 !important;
  overflow: hidden;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

#swipebox-container {
  position: relative;
  width: 100%;
  height: 100%;
}

#swipebox-slider {
  -webkit-transition: -webkit-transform 0.4s ease;
          transition: transform 0.4s ease;
  height: 100%;
  left: 0;
  top: 0;
  width: 100%;
  white-space: nowrap;
  position: absolute;
  display: none;
  cursor: pointer;
}
#swipebox-slider .slide {
  height: 100%;
  width: 100%;
  line-height: 1px;
  text-align: center;
  display: inline-block;
}
#swipebox-slider .slide:before {
  content: "";
  display: inline-block;
  height: 50%;
  width: 1px;
  margin-right: -1px;
}
#swipebox-slider .slide img,
#swipebox-slider .slide .swipebox-video-container,
#swipebox-slider .slide .swipebox-inline-container {
  display: inline-block;
  max-height: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  width: auto;
  height: auto;
  vertical-align: middle;
}
#swipebox-slider .slide .swipebox-video-container {
  background: none;
  max-width: 1140px;
  max-height: 100%;
  width: 100%;
  padding: 5%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}
#swipebox-slider .slide .swipebox-video-container .swipebox-video {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
  position: relative;
}
#swipebox-slider .slide .swipebox-video-container .swipebox-video iframe {
  width: 100% !important;
  height: 100% !important;
  position: absolute;
  top: 0;
  left: 0;
}
#swipebox-slider .slide-loading {
  background: url(../img/loader.gif) no-repeat center center;
}

#swipebox-bottom-bar,
#swipebox-top-bar {
  -webkit-transition: 0.5s;
          transition: 0.5s;
  position: absolute;
  left: 0;
  z-index: 999;
  height: 50px;
  width: 100%;
}

#swipebox-bottom-bar {
  bottom: -50px;
}
#swipebox-bottom-bar.visible-bars {
  -webkit-transform: translate3d(0, -50px, 0);
          transform: translate3d(0, -50px, 0);
}

#swipebox-top-bar {
  top: -50px;
}
#swipebox-top-bar.visible-bars {
  -webkit-transform: translate3d(0, 50px, 0);
          transform: translate3d(0, 50px, 0);
}

#swipebox-title {
  display: block;
  width: 100%;
  text-align: center;
}

#swipebox-prev,
#swipebox-next,
#swipebox-close {
  background-image: url(../img/icons.png);
  background-repeat: no-repeat;
  border: none !important;
  text-decoration: none !important;
  cursor: pointer;
  width: 50px;
  height: 50px;
  top: 0;
}

#swipebox-arrows {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: 50px;
}

#swipebox-prev {
  background-position: -32px 13px;
  float: left;
}

#swipebox-next {
  background-position: -78px 13px;
  float: right;
}

#swipebox-close {
  top: 0;
  right: 0;
  position: absolute;
  z-index: 9999;
  background-position: 15px 12px;
}

.swipebox-no-close-button #swipebox-close {
  display: none;
}

#swipebox-prev.disabled,
#swipebox-next.disabled {
  opacity: 0.3;
}

.swipebox-no-touch #swipebox-overlay.rightSpring #swipebox-slider {
  -webkit-animation: rightSpring 0.3s;
          animation: rightSpring 0.3s;
}
.swipebox-no-touch #swipebox-overlay.leftSpring #swipebox-slider {
  -webkit-animation: leftSpring 0.3s;
          animation: leftSpring 0.3s;
}

.swipebox-touch #swipebox-container:before, .swipebox-touch #swipebox-container:after {
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  -webkit-transition: all .3s ease;
          transition: all .3s ease;
  content: ' ';
  position: absolute;
  z-index: 999;
  top: 0;
  height: 100%;
  width: 20px;
  opacity: 0;
}
.swipebox-touch #swipebox-container:before {
  left: 0;
  -webkit-box-shadow: inset 10px 0px 10px -8px #656565;
          box-shadow: inset 10px 0px 10px -8px #656565;
}
.swipebox-touch #swipebox-container:after {
  right: 0;
  -webkit-box-shadow: inset -10px 0px 10px -8px #656565;
          box-shadow: inset -10px 0px 10px -8px #656565;
}
.swipebox-touch #swipebox-overlay.leftSpringTouch #swipebox-container:before {
  opacity: 1;
}
.swipebox-touch #swipebox-overlay.rightSpringTouch #swipebox-container:after {
  opacity: 1;
}

@-webkit-keyframes rightSpring {
  0% {
    left: 0;
  }

  50% {
    left: -30px;
  }

  100% {
    left: 0;
  }
}

@keyframes rightSpring {
  0% {
    left: 0;
  }

  50% {
    left: -30px;
  }

  100% {
    left: 0;
  }
}
@-webkit-keyframes leftSpring {
  0% {
    left: 0;
  }

  50% {
    left: 30px;
  }

  100% {
    left: 0;
  }
}
@keyframes leftSpring {
  0% {
    left: 0;
  }

  50% {
    left: 30px;
  }

  100% {
    left: 0;
  }
}
@media screen and (min-width: 800px) {
  #swipebox-close {
    right: 10px;
  }

  #swipebox-arrows {
    width: 92%;
    max-width: 800px;
  }
}

/* Skin
--------------------------*/
#swipebox-overlay {
  background-color: rgba(0,0,0,.75);
}

#swipebox-bottom-bar,
#swipebox-top-bar {
  background: #758e86;
  opacity: 0.9;
}

#swipebox-top-bar {
  color: white !important;
  font-size: 16px;
  line-height: 43px;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 1px;
}

.media-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  x-border: 1px solid #f1f1f1;
  margin: 10px 0;
}

.media-image {
  x-width: 100%;
  margin: 10px;
  background-color: #fff;
}

.media-text {
  padding: 5px 20px;
}

@media screen and (min-width: 700px) {
  .media-wrapper {
    flex-direction: row;
      width: 100%;
  }

  .media-image {
    width: 25%;
  }

  .media-text {
      width: 75%;
  }
}

/* Code snippets

<img src="" class="img-responsive" alt="">
<h4>Figure </h4>

<div class="row">
  <div class="col-lg-6 col-md-6 col-sm-12">

  </div>
</div><!-- /row -->

<div class="code_container">
<code>
  
</code>
</div><!-- /code_container -->

<code></code>

<div class="audio_video_wrapper">
									<div class="video_container">
										<video width="320" height="240" controls>
											<source src="" type="video/mp4">
											Your browser does not support the video tag.
										</video>
										<h4 class="text-center"></h4>
									</div>
								</div><!-- audio_video_wrapper -->

								<div class="audio_container">
									<audio controls>
										<source src="" type="audio/mpeg">
										Your browser does not support the audio element.
									</audio>
									<h4 class="text-center"></h4>
                </div>

                
*/

/* Resistors table */
table {
  width: 50%;
  margin: 10px 0;
}

table, th, td {
  border: 1px solid #e1e1e1;
  border-collapse: collapse;
}

th {
  color: #222;
  background-color: #f1f1f1
}

th, td {
  padding: 5px;
}

th {
  text-align: left;
}

.black {
  color: #fff;
  background-color: #000;
}

.brown {
  color: #fff;
  background-color: #A52A2A;
}

.red {
  color: #fff;
  background-color: #FF0000;
}

.orange {
  color: #222;
  background-color: #FFA500;
}

.yellow {
  color: #222;
  background-color: #FFFF00;
}

.green {
  color: #fff;
  background-color: #008000;
}

.blue {
  color: #fff;
  background-color: #0000FF;
}

.violet {
  color: #fff;
  background-color: #EE82EE;
}

.gray {
  color: #fff;
  background-color: #808080;
}

/* ///////////// SAMS /////////////// */
span.SAMS_user_information {
  display: none;
}
.SAMS_user_information {
  position: absolute;
  bottom: 50px;
  font-size: 0.8em;
  width: 100%;
  background: #384C6B;
  text-align: center;
  font-weight: 100;
  height: 30px;
  color: #fff;
  padding-left: 8px;
  line-height: 30px;
  left: 0;
}
.SAMS_functions {
  list-style: none;
  width: 360px;
  margin: 0;
  padding: 0;
  background: none;
  position: relative;
  bottom: 0px;
  height: 51px;
  text-align: center;
  margin-left: auto;
  margin-top: 20px;
}
.SAMS_functions>li {
  display: inline-block;
  width: 48%;
  height: 45px;
  margin: 0.5%;
  line-height: 44px;
  border: 0px solid #A5C7FA;
  cursor: pointer;
}
.SAMS_functions a {
  color: #fff;
  display: block;
  cursor: pointer;
  border-radius: 0px;
  background-color: #364047;
  margin: 5px 0;
  transition: ease-in 0.3s;
}
.SAMS_functions a:hover {
color: #fff;
display: block;
cursor: pointer;
background: #5a6b78;
}
.SAMS_functions>li:hover {
  border: none;
  background: none;
}

/* /Login BTN for SAMS */


/* Using V2 of the global SAMS btns */
/* SAMS btns */
.SAMS_btn_wrapper {
margin-top: 20px;
}

a.btn.btn-logout {
color: #fff;
}

a.btn.btn-account {
color: #fff;
}

a.btn.btn-logout,
a.btn.btn-account {
border-bottom: none;
}

.SAMS_user_information {
color: #222;
background-color: #f7f7f7;
border: 1px solid #e1e1e1;
}

.SAMS_session_user,
.SAMS_loggedin_msg {
color: #444;
}

.dropdown-menu {
  background: #516b79;
}

.dropdown-menu>li>a
 {
     color: #222;
     background: #516b79;
 }

.dropdown-menu>li>a:hover
 {
     color: #fff;
     background: #516b79;
     border: 0;
 }

 .navigation_reveal>ul>li>ul>li>a {
    background: #fff; 
    color: #222;  
    border: 0;  
 }

 .SUBMENU_child>ul>li {
  background: #516b79;
}


