/*
 * ---------------------------------------------------------------------------
 * --- +++ *** [[[     AWS Documentation Sphinx .css file      ]]] *** +++ ---
 *
 * Overrides the AWS Zonbook .css file, which is imported as the first rule in
 * this style sheet.
 * ---------------------------------------------------------------------------
 */

@import url('awsdocs.css');

@font-face {
    font-family: 'Source Code Pro';
    src: url("/National_Library/20161130034600oe_/http://docs.aws.amazon.com/mobile/sdkforxamarin/developerguide/_static/fonts/Source_Code_Pro/SourceCodePro-Medium.ttf")
}

@font-face {
    font-family: 'Open Sans';
    src: url("/National_Library/20161130034600oe_/http://docs.aws.amazon.com/mobile/sdkforxamarin/developerguide/_static/fonts/Open_Sans/OpenSans-Regular.ttf")
}

/*
 * header links -- allow permalinks to a section in the docs.
 */

a.headerlink {
    padding: 0px 4px;
    font-size: inherit;
    color: #eeeeee;
    text-decoration: none;
}

a.headerlink:hover {
    color: #AAAAAA;
}


/*
 * Fix search form formatting
 */

#search-form input {
    float: left;
}

#search-form:after {
    clear: both;
    content: "";
    display: block;
}

/*
 * Local toc, float to the side.
div.contents.local {
    width: 100%;
    padding: 8px;
    margin-left: 10px;
}
*/

/*
div#main {
    width: 100%;
}
*/

/* responsive behavior for sphinx elements */
/*
@media only screen and (min-width: 768px) {
    div.contents.local {
        width: 17%;
        position: fixed;
        top: 70px;
        right: 0px;
        height: 100%;
        overflow: auto;
        border-left: solid #1F1F1F 2px;
        border-right: solid #1F1F1F 2px;
    }

    div#left-column {
        width: 22%;
    }

    div#main {
        width: 75%;
    }
}
*/

/*
 * definition lists -- these occur in reStructuredText using the syntax:
 *
 * definition term
 *     definition text. The definition text goes on until the next line is not
 *     indented.
 */

dt {
    font-size: 16px;
    font-weight: bold;
    padding: 8px 4px 4px;
}

dd {
    font-size: 15px;
    font-weight: normal;
    padding: 1px 4px;
}

/*
 * images -- set max-width so that images don't extend past the window's edge.
 */

img {
    max-width: 99%;
}


/*
 * code -- use a better font
 */

code, samp, kbd, pre, pre span {
    font-family: 'Source Code Pro', monospace;
    font-size: 14px;
    line-height: 1.2;
}

/*
 * Scroll pre (usually code sample) blocks if they overflow.
 */
pre {
    overflow: auto;
    -webkit-overflow: touch;
}

/*
 * inline elements need a background color that matches the code blocks.
 */
code, kbd, samp {
    background-color: #F7F7F9;
}


/*
 * admonition styling -- set it off a bit from the text for readability.
 */

div.aws-note {
    background-color: #F7F7F7;
    padding: 8px 8px;
    border-radius: 10px;
    border: 1px solid lightgrey;
    margin-left: 1em;
    margin-right: 1em;
}

div.aws-note > p.aws-note {
    padding: 0px;
    margin-bottom: 0px;
    margin-right: 0px;
    margin-top: 0px;
}

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

/*
 * Reposition header links so that they appear in the center of the bar.
 */

/*
div.aws-nav-popover-trigger {
    height: inherit;
}

div.aws-nav-popover-trigger span {
    position: relative;
    top: 12.5%;
}
*/

/*
 * Give the PDF link a similar treatment to admonitions, to set it apart from the other text on the
 * page
 */

#language-selector {
  font-weight: 500;
  font-size: 14px;
  color: #333;
  background: #fafafa;
  border-style: ridge;
  border-radius: 3px;
  display: inline-block;
  text-align: left;
}

#language-selector:hover {
  background: white;
}

#aws-nav-pdf-button {
  font-weight: 500;
  font-size: 14px;
  color: #eeeeee;
  background: #ff0000;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ff0000), color-stop(100%, #bf000f));
  background-image: -moz-linear-gradient(#ff0000 0%, #bf000f 100%);
  background-image: -webkit-linear-gradient(#ff0000 0%, #bf000f 100%);
  background-image: linear-gradient(#ff0000 0%, #bf000f 100%);
  }

a#aws-nav-pdf-button:hover {
  text-decoration: none;
  background: #ff3333;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, #ff3333), color-stop(100%, #ff0000));
  background-image: -moz-linear-gradient(#ff3333 0%, #ff0000 100%);
  background-image: -webkit-linear-gradient(#ff3333 0%, #ff0000 100%);
  background-image: linear-gradient(#ff3333 0%, #ff0000 100%);
  }

#aws-nav-github-button {
  color: #333;
  font-weight: 500;
  font-size: 14px;
  background: lightgray;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, white), color-stop(100%, #d0d0d0));
  background-image: -moz-linear-gradient(white 0%, #d0d0d0 100%);
  background-image: -webkit-linear-gradient(white 0%, #d0d0d0 100%);
  background-image: linear-gradient(white 0%, #d0d0d0 100%);
  }

a#aws-nav-github-button:hover {
  text-decoration: none;
  background: whitesmoke;
  background-image: -webkit-gradient(linear, 50% 0%, 50% 100%, color-stop(0%, lightgray), color-stop(100%, whitesmoke));
  background-image: -moz-linear-gradient(lightgray 0%, whitesmoke 100%);
  background-image: -webkit-linear-gradient(lightgray 0%, whitesmoke 100%);
  background-image: linear-gradient(lightgray 0%, whitesmoke 100%);
  }


/*
 * fix the font size of the navbar links.
 */

div #guides {
    font-size: inherit;
}

div #current {
    background-color: #F7F7F7;
    float: right;
    margin-right: 20px;
    word-wrap: break-word;
}

/*
 * make sure headings don't get smaller than the body text.
 */
h2 {
    padding: initial;
}

h4 {
    font-size: 16px;
    margin: initial;
}

h5 {
    font-size: 16px;
    margin: initial;
}

h6 {
    font-size: 16px;
    margin: initial;
}


table > caption {
    border-top: 1px solid #cccccc;
    font-style: italic;
    font-weight: bold;
    padding: 4px;
}

/* restyling for nested lists */
ol ol.arabic {
    list-style-type: lower-latin;
}

ol ol ol.arabic {
    list-style-type: lower-roman;
}

/* A few things that aren't in ZonBook that we need styling for */

p.caption {
    padding-top: 0px;
    margin-top: 0px;
    font-style: italic;
}

.menuselection {
    font-weight: bold;
}

code.samp > em {
    color: red;
}

dd > p.first {
    margin-top: 0px;
}

div.toctree-wrapper > p.caption {
    font-size: 16px;
    font-style: normal;
    font-weight: bold;
}

div#capabilities-banner {
    border: solid #ccc;
    margin: 20px 0px;
    border-width: 1px 1px 1px 5px;
    padding: 8px 16px;
    border-left-color: #cc6600;
}

/*
table {
    border: 1px solid #cccccc;
    display: block;
    max-width: 100%;
    border-collapse: collapse;
}

td {
    border: 1px solid #cccccc;
    padding: 4px;
}

th {
    background-color: #eeeeee;
    border: 1px solid #cccccc;
    color: #333333;
    font-weight: bold;
    padding: 4px;
}
*/
