a, a:visited, a:hover { color: #800000; text-decoration:none}

.plate1 {border-left: solid 3px #FFFFFF; border-top: solid 3px #FFFFFF; border-right: solid 2px #C7BA94; border-bottom: solid 2px #C7BA94 }  
.plate3 {border-left: solid 3px #FFFFFF; border-top: solid 1px #FFFFFF; border-right: solid 2px #C7BA94; border-bottom: solid 1px #C7BA94 }  

.text, .cen, .poem, .right, .foottext, .title_cen, li, .ph, .ph_xx, .ph_com,
.biblio      { font-size: 120%; font-family: Palatino Linotype, Times New Roman; color: #800000; margin:1pt 0; padding:0}

p.ph_xx      { font-size:100%;}
p.ph_com     { text-align:justify; text-indent:20pt; padding:0 18pt; font: 12pt Verdana; color: #000}
p.ph         { font-size:125%; text-align:justify; text-indent:20pt; }
p.com, p.questions     { font-family: Tahoma; font-size:108%; text-align:justify; text-indent:0pt; margin:20pt; }

.cen         { text-align:center }
.right       { text-align:right }
.biblio      { text-align:left; padding:0.5ex 0; margin-right:15px}
.poem        { text-align:justify; margin-top:0; margin-bottom:0 }
p.text       { text-align:justify; text-indent:20pt }
a.text       { font:inherit; color:#CC0000; margin:0; text-decoration:underline } 
a.text:hover { text-decoration:underline }
p.foottext   { font-size: 120%; text-align:justify; text-indent:20pt; padding:0 15pt }
p.poem_title { margin: 0; padding:0; font: bold 140% Palatino Linotype, Times New Roman; color: #800000; font-style:italic; text-align:center}
a.biblio     { font:inherit } 

p.title_cen  { line-height:125%; padding-top:13pt; text-align:center}

.link        { font: 800 14pt Arial;}
p.link       { margin-top:25pt; margin-bottom:5pt; padding:0; text-align:center;}
a.link:visited,
a.link       {color:#C00000}
a.link:hover {color:#C00000; text-decoration:underline}


p.ref         {font:400 12pt arial; color: #800000; margin-top:4pt; margin-bottom:20pt; text-align:center}
a.ref         {font:400 12pt verdana, arial; color: #c00000}
a.ref:hover   {color: #c00000; text-decoration:underline}
a.ref:visited {color: #c00000 }


p.news       { font: bold 13px Verdana; color: #800000; text-align: left; text-indent: 20px;
               line-height:120%; margin:5px 10px; }

a.biblio,
a.biblio:visited { color: #CC0000; margin:0; padding:0; text-decoration:underline}

h1,h2,h3,h4,h5  { font-family: Arial; font-weight:bold; color: #CC0000; text-align:center; text-indent:0}
h1           { font-size: 215%; margin-top:20px; margin-bottom:15px}
h2           { font-size: 170%; margin-top:20px; margin-bottom:10px}
h3           { font-size: 140%; margin-top:15px; margin-bottom:5px}
h4           { font-size: 125%; margin-top:15px; margin-bottom:5px}
h5           { font-size: 105%; margin-top:15px; margin-bottom:5px; text-align:left;}

h1.atitle    { font-size: 24pt; margin: 20px;}
h2.atitle    { font: bold 18pt Palatino Linotype; font-style:italic}

.title-list   { font:400 14pt Arial; color: #CC0000; text-align:left; text-decoration:none}
li.title-list { margin:12px 30px; text-align:left}
a.title-list:visited  {color: #CC0000}
a.title-list:hover    {color: #CC0000; text-decoration:underline}
ul.title-list {margin-left:30px}

p.menu         { font-family: Palatino Linotype; font-size: 18px; color: #800000; text-align:justify; margin-left:30px; margin-right:5px; margin-top:5px; margin-bottom:10px; line-height:130%; text-indent:0 }
a.menu,
a.menu:hover,
a.menu:link,
a.menu:visited { color: #800000;text-decoration:underline }   
p.title        { font-family: Arial; font-size: 28px; color: #CC0000; text-align:center; text-indent:0; font-weight:bold; margin-left:0; margin-right:0; margin-top:20px; margin-bottom:10px}
.links         { font-size: 15px; font-family: Tahoma; color: #800000; text-align: center; margin-top: 15px; margin-bottom: 5px; font-weight:bold; line-height:120%; margin-left:15px; margin-right:15px }

h1.title-white { font-family: Arial; font-size: 16px; color: #FFFFFF; text-align:right; text-indent:0; font-weight:bold; line-height:120%; margin-right:25px; margin-top:70px; margin-bottom:10px}

.menu-title  { font:bold 16px Arial; color: #CC0000;}
p.menu-title { text-align:center; margin:10px;}
a.menu-title:hover,
a.menu-title:visited,
a.menu-title {text-decoration:none; color: #CC0000;}

hr    { color:#C7BA94; border-top:0; border-bottom:1px solid #C7BA94; width:90%}

.menu-book   { font: bold 13px Verdana; }   
p.menu-book  { text-indent: 0; line-height:140%; margin:5px 5px 15px 5px; }
a.menu-book:hover  { text-decoration:underline }

.menu-book-zh   { font: 600 18px SimSun, Arial; }   
p.menu-book-zh  { text-indent: 0; line-height:140%; margin:5px 5px 15px 10px; }
a.menu-book-zh:hover  { text-decoration:underline }

a.menu0      { font: 400 14px Verdana; text-transform:uppercase }
a.menu0s     { font: 400 13px Verdana; text-transform:uppercase }
a.menu1      { font: 400 15px Verdana; }
a.menu2      { font: 400 14px Verdana; }

a.menu0:hover, 
a.menu0s:hover, 
a.menu1:hover, 
a.menu2:hover {text-decoration:underline}

li {text-align:justify}

li.menu0     {margin-bottom:7px; line-height:90%; text-align:left}
li.menu1     {margin-bottom:6px; line-height:88%; text-align:left; background:url('//swami-center.org/picnew/l1.gif') 0 7px no-repeat; padding-left:13px}
li.menu2     {margin-bottom:5px; line-height:88%; text-align:left; background:url('//swami-center.org/picnew/l2.gif') 0 7px no-repeat; padding-left:12px}

ul           { color: #800000; padding: 0; margin-right: 8px; }
ul.level0    { margin:13px 12px 0px 12px; list-style: none;}
ul.level1    { margin:0px 8px 0px 12px; list-style: none; }
ul.level2    { margin:0px 8px 12px 25px; list-style: none;}

.button      { font-family: Tahoma; font-size: 14px; color: #800000; text-align:center }
               
.top         { font-family: Tahoma; font-size: 13px; color: #800000; text-align:center; font-weight:bold; padding:0; margin:12px 0;}
               
img.rb       { border: 1px solid #FF6600; }
img.rb:hover { border: 1px solid #FFFFAA; }

P.tristar { font: 400 18pt Georgia, Palatino Linotype; color: #800000; text-align: center; margin-bottom:2pt; margin-top:16pt; padding:0;}

A.footlink, 
A.footlink:visited,
A.footlink:hover { color:#CC0000; text-decoration:none; font: bold 18pt Gergia, Times New Roman; }

div.footlayerIE { position:absolute; border: medium solid #a3d7fb; padding-top: 1em; padding-bottom: 1em; background: #FFFFCC; visibility:hidden; 
width:60%; left:20%; display:inline-block}

div.imgdiv {
text-align: center;
}

/************* стили для главной страницы основного сайта ****************/

h2.main-page {
  font: 14pt/18pt arial;
  text-align:left;
  margin:0;
}    
table.table-striped a 
{
font: 18px Palatino Linotype;
color: #800000;
text-decoration: underline;
margin:0;
padding:0;
}
table.table-striped a:hover, 
table.table-striped a:visited {
color: #CC0000;
text-decoration: none;
}
table.table-striped td {
padding: 3px 0;
}
div.col-md-9 {
padding: 0 20px;
}
table.num { counter-reset: count; }
table.num td:first-child:before {
      content: counter(count);
      counter-increment: count;
  font: 18px Palatino Linotype;
  color: #800000;
  padding: 5px 10px;     
}
/*************************social media*************/

a.facebook, a.twitter, a.youtube, a.instagram,a.linkedin,a.tumblr,a.google  {
  background-image: url(//swami-center.org/picnew/sprites.png);
  background-repeat: no-repeat;
  /*height: 98px;
  width: 100px;*/
  height: 42px;
  width: 42px;
  display: inline-block;
  margin-right: 10px;
  transition: all 0.2s ease-out;
}
/*div {
  display: inline-block;
}*/
a.facebook { background-position: left top; }
a.twitter { background-position: -42px top; } 
a.youtube { background-position: -86px top; }
a.instagram { background-position: -128px top; }
a.linkedin { background-position: -172px top; }
a.tumblr { background-position: -216px top; }
a.google { background-position: -260px top; }

a:hover {
  background-position-y: bottom;
}

/**************** search engine ************/

.searchinput {
  margin-top: 15px;
  font-size: smaller;
  border: none;
}

.fa-search {
  margin-top: 15px;
  color: #fff;
}

.bigsearchinput {
  margin-top: 1px;
  font-size: smaller;
  margin-bottom: 1px;
  color: #888;
  border-width: 1px;
  width: 90%;
}

.bigfa-search {
  margin-top: 5px;
  color: #888;
}