/*
Override table width restrictions
taken from https://rackerlabs.github.io/docs-rackspace/tools/rtd-tables.html
*/

@media screen and (min-width: 767px) {
    .wy-table-responsive table td {
        /* !important prevents the common CSS stylesheets from overriding
        this as on RTD they are loaded after this stylesheet */
        white-space: normal !important;
   }
   .wy-table-responsive {
      overflow: visible !important;
   }
}

/*
CSS for toggle-able code pieces
adapted from https://stackoverflow.com/questions/2454577/sphinx-restructuredtext-show-hide-code-snippets
*/

.example-toggle .header {
    display: block;
    clear: both;
    cursor: pointer;
}

.example-toggle .header p:last-child:after {
    font-weight: 700;
    content: " (click to expand)";
}

.example-toggle .header.open p:last-child {
    margin-bottom: 0px;
}

.example-toggle .header.open p:last-child:after {
    font-weight: 700;
    content: " (click to collapse)";
}
