body {
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    border-top: 0.5em solid #77216F;
    border-bottom: 0.5em solid #77216F;
}

#container {
 background-color: #eff;
}

#sidebar {
    margin: 1em;
    background-color: #efefef;	
}

#content {
    margin: 1em;
    max-width: 50em;
}

h1 {
    text-align: center;
    font-size: 282%;
}

h2 {
    border-bottom: 2px solid #E95420;
}

h3 {
    border-bottom: 1px dotted #E95420;
}


h1 a, h2 a, h3 a, h4 a {
   color: black;
}

#sidebar h1, #sidebar h2, #sidebar h3 {
     border: none;
}

a.headerlink {
    font-size: 52%;
    color: lightgrey;
    margin-left: 0.25em;
}

a.headerlink:visited {
  color: lightgrey;
}

a {
  color: #004866;
  text-decoration: none;
}

a:visited {
  color: #007eb2;
}

a:hover {
  text-decoration: underline;
}


.sphinxlocaltoc,
.sphinxglobaltoc
{
    border-bottom: 1px solid #77216F;
}


/* downloads */

div.downloads {
    padding-top: 0em;
    padding-bottom: 0em;
    padding-left: 1em;
}


table.downloads {
   border: 0;
   border-collapse: collapse;
   margin: 0px;
   margin-bottom: 1em;
   margin-left: 1.5em;
   width: 100%;
   table-layout: auto;
}

.downloads p {
    margin: 0px;
}
table.downloads p {
    margin: 0px;
}

table.downloads tr td:first-child {
    font-weight: bold;
}

div.downloads table.docutils tbody {
    border-bottom: none;
}

table.downloads td{
   color:  ;
   background-color: ;
   border: 0 !important;
   border-collapse: collapse;
}

div.downloads a{
   text-decoration: underline;
}


/* table.downloads a:hover { */
/*    text-decoration: underline; */
/* } */


/* downloads end*/


dl.docutils dt {
   border-bottom: 1px dotted #E95420;
}

.field-name {
    text-align: right;
    font-weight: normal;
}

table.field-list {
    margin-bottom: 1em;
}

div.admonition {
    border: 1px dotted #77216F;
    margin: 2em 3em 2em 3em;
    padding: 5px 5px 5px 60px;
    background-color: #efefef;
    background-repeat: no-repeat;
    background-position: 10px 1em;
}

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

div.note {
    background-image: url(admonition-note.png);
}

div.warning {
    background-image: url(admonition-warning.png);
}

div.danger {
    background-image: url(admonition-danger.png);
}

div.important {
    background-image: url(admonition-important.png);
}



div.align-center,
img.align-center{
    margin: auto;
    width: max-content;
}


p.caption{
    font-style: italic;
    margin-top: 0px;
    margin-left: 2em;
    
}

div.figure{
    padding: 1em;
}



@media screen and (min-width: 500px) {
    #container {    
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;

	display: -webkit-box;
	display: -moz-box;   
	display: -ms-flexbox;
	display: -webkit-flex;
    }

    #toclink {
	display: none;	
    }

    #sidebar {
	-webkit-box-ordinal-group: 1;
	-moz-box-ordinal-group: 1;   
	-ms-flex-order: 1;           
	-webkit-order: 1;            
	order: 1;      
	
	margin: 1em;
	margin-right: 2em;
	padding: 0.5em;
	border: 1px dotted #77216F;
	min-width: 20em;
    }

    h1 {
       line-height: 141%;
       margin-bottom: 1.5em;
    }

    #content {
	-webkit-box-ordinal-group: 2;
	-moz-box-ordinal-group: 2;   
	-ms-flex-order: 2;           
	-webkit-order: 2;            
	order: 2;                
	
	margin: 1em;
	min-width: 40em;
	max-width: 50em;	
    }

    div.sphinx-toc  ul {
    padding-left: 1em;
    }

}

@media print {
    body {
    	border: None;
    }
    
    #container {
	display: block;
    }
    #sidebar {
	display: none;
    }

    #content {
	width: 100%;
    }
    
    #toclink {
	display: none;	
    }
    
    a.headerlink {
	display: none;
    }
}