
/* ---- general styles */
:focus {
  outline: 0;
}

h1, h2 {
  font-size: 2em;
  font-weight:normal;
}

h3 {
  font-size: 1.5em;
  font-weight: bold;
}

ul, li {
  margin:0px;
  padding:0px;
}

ul {
  margin-left:40px;
}

ul > li {
  list-style:disc;
  margin:10px 0px;
}

hr {
  border:none;
  width:98%;
  margin-left:-10px;
  border-top:1px solid #CCCCCC;
  border-bottom:1px solid #FFFFFF;
}

code,
pre {
  border: 1px solid #CCCCCC;
  background: #F5F8F9;
  -webkit-border-radius:2px;
  -moz-border-radius:2px;
  border-radius:2px;
  white-space:pre-wrap;
}
code {
  padding: 0 0.2em;
}
pre {
  margin: 1em 0;
  padding: .75em;
  overflow: auto;
  padding:10px 1.2em;
  margin-top:0;
  margin-bottom:20px;
}
pre code  {
  border: medium none;
  padding: 0;
}
a code {
  text-decoration: underline;
}

a {
  color:#38B7EA;
  text-decoration:none;
}

h4 {
  font-size: 85%;
  margin: 0;
  padding: 0;
  line-height: 1em;
  display: inline;
}

/* tables still need cellspacing="0" in the markup */
table {
  border-collapse:collapse; border-spacing:0;
  margin: 20px 0;
}
th,
td {
  border: solid #aaa;
  border-width: 1px 0;
  line-height: 23px;
  padding: 0 12px;
  text-align: left;
  vertical-align: text-bottom;
}
th {
  border-collapse: separate;
}
tbody tr:nth-child(odd) {
  background-color: #f2f0ee;
}


/* ---- custom classes */

pre.shell,
pre.shell code {
  background:#34383D;
  color:#fff;
  border-width:0px;
}
pre.shell code::before {
  content: '$ ';
  display: inline;
}


/* ---- header and sidebar */

#sidebar {
  background-color:#F5F8F9;
  bottom:0px;
  left:0px;
  overflow:auto;
  position:fixed;
  top:0px;
  width:265px;
  z-index:1;
  box-shadow: 8px 0 8px -8px #ddd;
}
#sidebar>* {
    padding:86px 0px 0px 15px;
}

#content {
  top:64px;
  bottom:0px;
  right:0px;
  left:265px;
  padding:20px 30px 200px;
  position:absolute;
  overflow:auto;
  z-index:0;
}

#sidebar .vertical_divider {
  background-color:#FFFFFF;
  bottom:0px;
  position:absolute;
  top:0px;
  right:0px;
  width:1px;
}

#sidebar h1 {
  font-size:1.5em;
  padding:0px;
  margin-top:15px;
  margin-bottom:3px;
}

#sidebar ul {
  margin:3px 0 10px 10px;
}

#sidebar li {
  margin:0;
  padding:0;
  font-size:1.05em;
}

#sidebar li,
#sidebar li a {
  color:#5C5954;
}
#sidebar li {
  list-style:none;
  padding:1px 0px 1px 0px;
  white-space: nowrap;
}

#sidebar li span.verb {
  color: #999;
  width:4em;
  display:inline-block;
  font-size:9px;
  font-family:verdana;
  margin-right:5px;
}
#sidebar span.both .endpoint {
  display: none;
}
#content span.both .endpoint {
  color: #999;
  font-size: 80%;
}

#sidebar li div.current a {
  color:#01408D;
  font-weight:600;
}

/* ---- intro */

.intro {
  color:#29231A;
  padding: 22px 25px;
  background: #F5F8F9;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  -o-border-radius: 5px;
  border-radius: 5px;
  margin-bottom:40px;
}
.intro pre.base {
  background:#34383D;
  color:#29231A;
  color:#fff;
  border-color:#fff;
  font-size:1.5em;
}
.intro h1 {
  color: #1C313C;
}
.intro ul {
  list-style-type:disc;
  padding-left:20px;
  margin-left:0;
}
.intro ul li {
  margin: 0;
}


#content h1 {
  margin-top: 60px;
  border-bottom: 2px solid #979592;
}
#content h1:first-child {
  margin-top: 0;
  border-bottom: none;
}

#content h2 {
  margin-top: 40px;
  border-bottom: 1px dotted #979592;
  z-index: 3;
}
h1 + h2 {
  margin-top: 0px;
}

h3 {
  margin-top: 20px;
}
h3:first-child {
  margin-top: 0;
}

#content {
  font-size:1.25em;
}


/*---- print media */

@media print {
  body { background:white; color:black; margin:0; }
  #sidebar {
    display: none;
  }
  #content {
    position: relative;
    padding: 5px;
    left: 0px;
    top: 0px;
  }
  h1, h2, h4 {
    page-break-after: avoid;
  }
  pre {
    page-break-inside: avoid;
    border: 1px solid #CCCCCC !important;
  }
  pre, code {
    background: white !important;
    color: black !important;
  }
}

@font-face {
    font-family: 'ac-medical-font';
    src:
        url('https://surgconn.appcatalyst.com/1/bower_components/medical-font/icomoon/fonts/ac-medical-font.ttf?m5ol21') format('truetype'),
        url('https://surgconn.appcatalyst.com/1/bower_components/medical-font/icomoon/fonts/ac-medical-font.woff?m5ol21') format('woff'),
        url('https://surgconn.appcatalyst.com/1/bower_components/medical-font/icomoon/fonts/ac-medical-font.svg?m5ol21#ac-medical-font') format('svg');
    font-weight: normal;
    font-style: normal;
}

.ac-icon {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: 'ac-medical-font' !important;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.ac-logo:before {
    content: "\e901";
}
.ac-meds:before {
    content: "\e900";
}
.ac-er:before {
    content: "\e600";
}
.ac-h:before {
    content: "\e601";
}
.ac-uc:before {
    content: "\e602";
}

#content img {
  margin:20px 10px;
  max-height:300pt;
  max-width:80%;
  display:block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 2pt;
  box-shadow: rgba(0, 0, 0, 0.0980392) 0px 4px 3px;
}

#content .img-group {
  padding:20px 10px;
  display:block;
  margin-left: auto;
  margin-right: auto;
  text-align:center;
}

#content .img-group img {
  display:inline-block !important;
  margin: 10px 10px !important;
}

em {
    padding:10px 10px;
    display:block;
    color:#01408D;
    border-left: thick solid #01408D;
    background-color: #F5F5F5;
}

@media screen and (max-width: 767px) {
  #content {
    left:0px;
  }
  #sidebar{
    width:0px;
  }
  #sidebar.active{
    width:265px;
  }
  #content.full {
    left:0px;
  }
}
  
