/* $Id: local.css 61 2012-11-30 15:58:05Z jo $ */ 
/* Local style additions */

.main, #main, #footer {
  max-width:45em; 
  hyphens:auto; 
  text-align:justify;
  margin-right:1em;
  clear: both;
}

#main img {
  /* width - margin-left */
  max-width:43em;
}

/* Libre Office Styles */

.code-western { 
  white-space: nowrap;
  line-height: 60%;
}

p, ul, ol, form {
  margin-left:2em;
}
pre {
  margin-left:4em  
}

/* Form styles for formPersistence */

label {
  display: block;
  float: left;
  width: 120px; 
  text-align: right; 
  padding-right: 10px;
}

label:after {
  /* Just couldn't resist */
  content: ":";
}

input:not([type]), input[type=text], input[type=password] {
  width: 100px; 
}

form br {
  clear: left; 
}

fieldset {
  border: thin solid grey;
  padding:.5em;
  display: inline;
}

form {
  border: thin solid #ab0;
  padding:.5em;
  font-family: sans-serif;
}

form hr {
  color:#ab0;
  background-color:#ab0;
  height:1px;
  border:none;
}

#footer form {
  border: thin solid black;
  padding:.5em;
  margin-bottom: 1em;
  font-family: sans-serif;
}

/* Style buttons as links */
.link, .link:focus, .link:active {
    /* Remove all decorations */
    border: none;
    display: inline;
    margin: 0em;
    padding: 0em;
    outline: none;
    outline-offset: 0em;
    /* Look like a link */
    background: none;
    color: blue;
    cursor: pointer;
    font: inherit;
    text-decoration: underline;
}

/* Remove extra space inside buttons in Firefox */
.link::-moz-focus-inner {
    border: none;
    padding: 0em;
}

/* Exclude stuff from printing */
@media print
{    
    .no-print, .no-print *
    {
        display: none;
    }
}

/* Quotes after headlines */
.quote-follows::after {
	font-size: 9pt;
	display: block;
	margin-left: 5em;
	margin-top: 1em;
	font-weight: normal;
	font-style: italic;
}

.flag_rus {
  font-family: sans-serif;
  text-align: center;
  font-weight: bold;
  text-shadow: -1px 0 rgba(255,255,255, 0.9), 0 1px rgba(255,255,255, 0.9), 1px 0 rgba(255,255,255, 0.9), 0 -1px rgba(255,255,255, 0.9);
  text-shadow: -1px 0 rgba(255,255,255, 0.4), 0 1px rgba(255,255,255, 0.4), 1px 0 rgba(255,255,255, 0.4), 0 -1px rgba(255,255,255, 0.4);  
  border:  1px solid black;
  width: 66px;
  height: 44px;
  backdrop-filter: opacity(0.5);
  background-image: -webkit-linear-gradient(top, #FFF 0, #FFF 33%, #003da5 33%, #003da5 67%, #da291c 67%, #da291c 100%);
  background-image: linear-gradient(180deg, #FFF 0, #FFF 33%, #003da5 33%, #003da5 67%, #da291c 67%, #da291c 100%);
}


