/*
 * This stylesheet for sphinx is based on GitHub 'minimal' theme: http://orderedlist.github.com/minimal/
 * This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.
 */

@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: local('Lato Regular'), local('Lato-Regular'), url(lato-regular.woff) format('woff');
}
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: local('Lato Italic'), local('Lato-Italic'), url(lato-italic.woff) format('woff');
}

body {
  padding:50px;
  font:14px/1.5 Lato, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color:#222;
}

h1, h2, h3, h4, h5, h6 {
  color:#222;
  margin:0 0 20px;
}

p, ul, ol, table, pre, dl, .admonition {
  margin:0 0 20px;
}

h1, h2, h3 {
  line-height:1.1;
}

h1 {
  font-size:28px;
}

h2 {
  color:#393939;
}

h3, h4, h5, h6 {
  color:#494949;
}

a {
  color:#39c;
  font-weight:400;
  text-decoration:none;
}

a:hover {
  color:#069;
}

a small {
  font-size:11px;
  color:#777;
  margin-top:-0.6em;
  display:block;
}

a:hover small {
  color:#777;
}

.wrapper {
  width:860px;
  margin:0 auto;
}

blockquote {
  border-left:1px solid #e5e5e5;
  margin:0;
  padding:0 0 0 20px;
  font-style:italic;
}

code, pre {
  color:#333;
  font-size:12px;
}

pre, .admonition {
  padding:8px 15px;
  background: #f8f8f8;  
  border-radius:5px;
  border:1px solid #e5e5e5;
  overflow-x: auto;
}

.admonition {
  margin-left: auto;
  margin-right: auto;
  max-width: 70%;
}

.note .first {
    display: none;
}

tt {
  background-color: #FDFDFD;
  border: 1px solid #EDEDED;
  border-radius: 4px 4px 4px 4px;
  padding: 1px 5px;
}

table {
  width:100%;
  border-collapse:collapse;
}

th, td {
  text-align:left;
  padding:5px 10px;
  border-bottom:1px solid #e5e5e5;
}

dt {
  color:#444;
  font-weight:700;
}

th {
  color:#444;
}

img {
  max-width:100%;
}

.body img {
    border: 1px solid #EAEAEA;
    border-radius: 5px 5px 5px 5px;
    max-width: 60%;
    padding: 5px;
}

.full-image {
    max-width:100% !important;
    border: none !important;
    padding: 10px !important;
}

.math {
    border: 0 !important;
    padding: 0 !important;
}

.align-center {
    display: block;
    margin: auto;
}


header {
  width:270px;
  float:left;
  position:fixed;
}

header ul {
  list-style:none;
  height:40px;
  
  padding:0;
  
  background: #eee;
  background: -moz-linear-gradient(top, #f8f8f8 0%, #dddddd 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f8f8f8), color-stop(100%,#dddddd));
  background: -webkit-linear-gradient(top, #f8f8f8 0%,#dddddd 100%);
  background: -o-linear-gradient(top, #f8f8f8 0%,#dddddd 100%);
  background: -ms-linear-gradient(top, #f8f8f8 0%,#dddddd 100%);
  background: linear-gradient(top, #f8f8f8 0%,#dddddd 100%);
  
  border-radius:5px;
  border:1px solid #d2d2d2;
  box-shadow:inset #fff 0 1px 0, inset rgba(0,0,0,0.03) 0 -1px 0;
  width:270px;
}

header li {
  width:89px;
  float:left;
  border-right:1px solid #d2d2d2;
  height:40px;
}

header li:first-child a {
  border-radius:5px 0 0 5px;
}

header li:last-child a {
  border-radius:0 5px 5px 0;
}

header ul a {
  line-height:1;
  font-size:11px;
  color:#999;
  display:block;
  text-align:center;
  padding-top:6px;
  height:34px;
}

header ul a:hover {
  color:#999;
  background: -moz-linear-gradient(top, #fff 0%, #ddd 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fff), color-stop(100%,#ddd));
  background: -webkit-linear-gradient(top, #fff 0%,#ddd 100%);
  background: -o-linear-gradient(top, #fff 0%,#ddd 100%);
  background: -ms-linear-gradient(top, #fff 0%,#ddd 100%);
  background: linear-gradient(top, #fff 0%,#ddd 100%);
}

header ul a:active {
  -webkit-box-shadow: inset 0px 2px 2px 0px #ddd;
  -moz-box-shadow: inset 0px 2px 2px 0px #ddd;
  box-shadow: inset 0px 2px 2px 0px #ddd;
}

strong {
  color:#222;
  font-weight:700;
}

header ul li + li {
  width:88px;
  border-left:1px solid #fff;
}

header ul li + li + li {
  border-right:none;
  width:89px;
}

header ul a strong {
  font-size:14px;
  display:block;
  color:#222;
}

section {
  width:500px;
  float:right;
  padding-bottom:50px;
}

small {
  font-size:11px;
}

hr {
  border:0;
  background:#e5e5e5;
  height:1px;
  margin:0 0 20px;
}

footer {
  width:270px;
  float:left;
  position:fixed;
  bottom:50px;
}

select {
    font: 14px Lato,"Helvetica Neue",Helvetica,Arial,sans-serif;
}

@media print, screen and (max-width: 960px) {
  
  div.wrapper {
    width:auto;
    margin:0;
  }
  
  header, section, footer {
    float:none;
    position:static;
    width:auto;
  }
  
  header {
    padding-right:320px;
  }
  
  section {
    border:1px solid #e5e5e5;
    border-width:1px 0;
    padding:20px 0;
    margin:0 0 20px;
  }
  
  header a small {
    display:inline;
  }
  
  header ul {
    position:absolute;
    right:50px;
    top:52px;
  }
}

@media print, screen and (max-width: 720px) {
  body {
    word-wrap:break-word;
  }
  
  header {
    padding:0;
  }
  
  header ul, header p.view {
    position:static;
  }
  
  pre, code {
    word-wrap:normal;
  }
}

@media print, screen and (max-width: 480px) {
  body {
    padding:15px;
  }
  
  header ul {
    display:none;
  }
}

@media print {
  body {
    padding:0.4in;
    font-size:12pt;
    color:#444;
  }
}

.linenos {
    padding: 0;
    width: 50px;
}

div.documentwrapper {
    float: left;
    width: 100%;
}

div.bodywrapper {
    margin: 0 0 0 230px;
}

div.body {
    padding: 0 20px 30px 20px;
}

div.footer {

    width: 100%;
    padding: 9px 0 9px 0;
    text-align: center;
    font-size: 75%;
}

div.footer a {

    text-decoration: underline;
}

div.sphinxsidebarwrapper {
    padding: 10px 5px 0 10px;
}

div.sphinxsidebar {
    float: left;
    width: 230px;
    margin-left: -100%;
    font-size: 90%;
}

div.sphinxsidebar ul {
	padding-left:20px;
    list-style: none;
}

div.sphinxsidebar ul ul,
div.sphinxsidebar ul.want-points {
    list-style: square;
}

div.sphinxsidebar ul ul {
    margin-top: 0;
    margin-bottom: 0;
}

div.sphinxsidebar form {
    margin-top: 10px;
}

div.sphinxsidebar input {
    border: 1px solid #98dbcc;
    font-family: sans-serif;
    font-size: 1em;
}

div.related {
    line-height: 30px;

}

div.related a {

}

/* -- relbar ---------------------------------------------------------------- */

div.related {
    width: 100%;
    font-size: 90%;
}

div.related h3 {
    display: none;
}

div.related ul {
    margin: 0;
    padding: 0 0 0 10px;
    list-style: none;
}

div.related li {
    display: inline;
}

div.related li.right {
    float: right;
    margin-right: 5px;
}

/*--------------------- admonitions ----------------*/


div.admonition p.admonition-title + p {
    display: inline;
}

div.admonition p {
    margin-bottom: 5px;
}

div.admonition pre {
    margin-bottom: 5px;
}

div.admonition ul, div.admonition ol {
    margin-bottom: 5px;
}

div.note {
    background-color: #eee;
    border: 1px solid #ccc;
}

div.seealso {
    background-color: #ffc;
    border: 1px solid #ff6;
}

div.topic {
    background-color: #eee;
}

div.warning {
    background-color: #ffe4e4;
    border: 1px solid #f66;
}

p.admonition-title {
	font-weight:bold;
}


/*--------------------- sections ------------*/

/* no bullets in item list at top-level of morse-serctions */
.morse-section > ul {
    list-style-type: none;
}

.levels > ul dt {
    font-style:italic;
}


.morse-section > ul dt tt {
    font-style:normal;
    border-radius:6px;
    display:inline-block;
    font-weight:bold;
    padding:2px 10px;
    margin-right: 10px;
    text-decoration:none;
}


.morse-section > ul dt tt:active {
    position:relative;
    top:1px;
}

/* buttons for levels */
.levels > ul dt tt {
    -moz-box-shadow:inset 0px 1px 0px 0px #c1ed9c;
    -webkit-box-shadow:inset 0px 1px 0px 0px #c1ed9c;
    box-shadow:inset 0px 1px 0px 0px #c1ed9c;
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #9dce2c), color-stop(1, #8cb82b) );
    background:-moz-linear-gradient( center top, #9dce2c 5%, #8cb82b 100% );
    color:#ffffff;
    background-color:#9dce2c;
    text-shadow:1px 1px 0px #689324;
    border:1px solid #83c41a;
}

.levels > ul dt tt:hover {
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #8cb82b), color-stop(1, #9dce2c) );
    background:-moz-linear-gradient( center top, #8cb82b 5%, #9dce2c 100% );
    background-color:#8cb82b;
}
/****************/

/* spacing between params */
.services li, .fields li, .properties li, .levels dd ul:nth-child(2) li {
    margin-top: 10px;
}

/* service names */
.services dt tt:first-child {
    background-color:#f8f8f8;
    text-shadow:1px 1px 0px #e5e5e5;
    border:1px solid #e5e5e5;
    padding:0px 4px;
}

/* remove bullets for services and levels params lists */
.services dd > ul, .levels dd > ul {
    list-style-type: none;
}

/* thin bloc border for services params and return value */
.services dd ul dd {
    border-left: solid 1px #e5e5e5;
    padding-left: 10px;

}

/* reduce margin of service's parameters */
.services dd ul dd ul {
    padding: 0px;

}

/* params/fields name */
.services dd ul ul tt:first-child, .fields dt tt:first-child, .properties dt tt:first-child, .levels dd ul:nth-child(2) li tt:first-child {
    background-color:#f8f8f8;
    border-radius: 2px;
    text-shadow:1px 1px 0px #e5e5e5;
    border:1px solid #e5e5e5;
    padding:0px 4px;
}



/*--------------------- tags ----------------*/

.tag {
    border-radius: 2px 2px 2px 2px;
    display: inline-block;
    font-size: 11px;
    font-weight: bold;
    padding: 1px 4px;
    text-decoration: none;
}

.tag-api {
    background-color: #859900;
    color: #fff;
}

.tag-middleware {
    background-color: #cb4b16;
    color: #fff;
}

.tag-access {
    background-color: #268bd2;
    color: #fff;
}

.tag-yarp {
    background-color: #333333;
    color: #fff;
}

.tag-ros {
    background-color: #53497e;
    color: #fff;
}

.tag-moos {
    background-color: #7e2433;
    color: #fff;
}

.tag-pocolibs {
    background-color: #3a7e25;
    color: #fff;
}

.tag-mavlink {
    background-color: #0080ff;
    color: #fff;
}
