body
{
        background-color: #FFFFFF;
        margin: 0px;
	padding: 0px;
        font-family: Verdana, Helvetica, serif;
        font-size: 12px;
	line-height: 180%;
}

IMG {border: 0;}

#wrap {
background-image: url(/img/shapka_bg.jpg);
background-repeat: repeat-x;
width:100%;
text-align:center;
}

#header {
height:80px;
width:100%;
text-align:center;
clear: both;
}

#s_header {
display:none
}

#menu {
width:100%;
clear: both;
background-color:#E7F6FE;
text-align:left;
}

#subheader {
display: flex;
display: -webkit-flex; 
justify-content: flex-end;
width:100%;
}

#layout {
display: flex;
display: -webkit-flex; 
}

#leftsidebar {
left: 0px;
width: 200px;
text-align: center;
margin-left:10px;
padding-top:20px;
}

#content {
padding: 20px;
display: flex;
align-items: center;
flex-direction: column;
-ms-flex: 1 1 0.000000001px;
-webkit-flex: 1;
flex: 1;
-webkit-flex-basis: 0.000000001px;
flex-basis: 0.000000001px;
}

#rightsidebar {
width:200px;
text-align:center;
display: flex;
flex-direction: column;
align-items: center; 
height:100%;
padding-top:20px;
}

#footer {
clear: both;
display: flex;
display: -webkit-flex; 
background-image: url(//allforchildren.ru/img/bottom.jpg);
background-repeat: repeat-x;
height:60px;
}

.footer1 {width:33%;}
.footer2 {width:34%; margin-top: 10px;}
.footer3 {width:33%; text-align:right; margin-top: 20px;}

H4 {text-align:center;}

H1 {font-size: 2.2em; font-weight:normal; margin-top:10px; line-height:120%;
}
H2 {font-size:1.7em; text-align:center; margin-top:10px;	
}
H3 {font-size:1.5em; font-weight:normal;}

/* SIDE STYLE*/

.inputbutton {
BORDER-RIGHT: #717171 1px solid; BORDER-TOP: #ffffff 1px solid; FONT-WEIGHT: normal; FONT-SIZE: 12px; BORDER-LEFT: #ffffff 1px solid; WIDTH: 36px; CURSOR: hand; COLOR: #000000; BORDER-BOTTOM: #717171 1px solid; FONT-FAMILY: Verdana; HEIGHT: 20px; BACKGROUND-COLOR:  #F4CAE9;
}

a {
color: #0000C0;
text-decoration: none;
}

a:hover {text-decoration:underline;}

/* Left Side blocks */

.socialflowerinv {display: flex; align-items: center; flex-direction: column; flex-wrap: wrap; font-size:10px; color:#3399FF; line-height:100%; width:160px; text-align: center; margin: 0  auto;}

.adv1 {
text-align:center;
border: 1px solid #95C9FC;
margin: 20px 0 20px 5px;
width: 200px;
font-size: 1em;
font-weight:bold;
padding-bottom:10px;
border-radius: 10px;
}

.adv1 P {
text-align:left;
padding: 3px;
line-height: 2em;
}

.adv1 h4{
background: #82BEFB;    
border: 1px solid #95C9FC;
border-left: 0;
border-right: 0;
color: #2304E4;
font-size: 12px;
font-weight: bold;
margin: 0;
padding: 3px;
text-align: center;
border-radius: 10px 10px 0 0; 
}

.adv1 a:link,
.adv1 a:visited,
.adv1 a:active{
background: transparent;
text-decoration: none;
/* color: #3A4F6C; */
}

.adv1 UL LI {font-size:10px; margin-left:-10px; margin-right:5px}

.sidebanner {
margin-left: 40px;
margin-top: 20px;
padding: 0;
width: 180px;
}

.adv {
border: 1px solid #95C9FC;
border-top: 0;
margin: 20px 0 20px 5px;
padding: 0;
width:190px;
border-radius: 10px;
}

.adv p{
background: transparent;
border: 0;
color: #3A4F6C;
margin: 0;
padding: 8px;
font-size: 10px;
text-align:center;
}

.adv a:link,
.adv a:visited,
.adv a:active {
background: transparent;
text-decoration: none;
color: #2304E4;
}
.adv a:hover{
background: transparent;
text-decoration: underline;
}

.adv h4 {
background: #82BEFB;    
border: 1px solid #95C9FC;
border-left: 0;
border-right: 0;
color: #2304E4;
font-size: 12px;
font-weight: bold;
margin: 0;
padding: 3px;
text-align: center;
border-radius: 10px 10px 0 0; 
}

/* END SIDE STYLE*/

.bottomad {font-size:85%; background-color:#FFFFFF; color: #666666; text-align:center}
.bottomad a {color:#666666}

.clearing {
height: 0;
clear: both;
}

/* listalka for sci - szf */
.listalka-container {display: flex; justify-content: center;}
.p1 {width:150px; font-size:11px; line-height:1.1em; text-align:center;}
.p2 {width:98px;}

/* DRAW */
.drawtext {width: 600px; text-align:justify; padding-top:20px; font-size:10pt; font-family: Arial, Helvetica, sans-serif;}
.drawtext H3 {color:#3366FF; text-align: center; margin-top:30px;}
.drawtext P {margin-top: 30px;}
.drawtext IMG {
display:block;
margin:auto;
}

.bigtext {font-family:Arial, Helvetica, sans-serif; font-size:16px; line-height:140%; text-align:justify; margin-top:20px; width:80%;}
.chuk P {border-top:#008000 2px dotted; text-align:left; margin-top: 20px; padding: 10px;}
.chuk H2 {color:#0069D2; text-decoration:underline;}
.chuk_answer {background-color: #FFFFCC; border: 1px solid #FEA723; font-size:13px; text-align:center; padding: 10px;}
.contentlist {display: flex; justify-content: center; align-content: space-between; align-items: center; flex-direction: column; font-size:16px; font-family:Arial, Helvetica, sans-serif;}
.contentlist OL {line-height: 1.7em;}
.epighraph {float:right; text-align:left; font-size:10px;}
.example {margin-left:30px; font-size:11px;}
.ex {width:85%; text-align:justify; font-size:12pt;}

.flashgamewrap {
display: flex;
justify-content: center;
align-content: flex-start;
align-items: flex-start;
flex-flow: row wrap;
width: 80%;
margin: 0px auto;
}

.flashgamecell {
border: #FF33FF 1px dashed;
padding:10px;
width: auto;
margin: 10px;
font-size: 11px;
font-weight: bold;
}
.flashgamedescr {font-weight: bold;}
.frase P {margin-top:20px; text-align:left; font-size:16px}
.frase1 {font-weight:bold; background-color:#FFFF66}
.friend {padding:5px; border:#A8D1FF 1px solid; background-color:#E6F2FF; margin-top:20px; margin-bottom:20px; width:400px;}
.friendtext {padding:10px; border:#A8D1FF 1px solid; background-color:#F1F6FC; margin-top:20px;}
.friend A {color:#005CB9}
.gallerydescr {font-style:italic; color:#95004A; width:85%; margin-bottom:20px; font-weight:bold}
.imgdescr {font-style:italic; font-size:11px; text-align:center; line-height: 0.9em;}
.imgdescr IMG {border:0;}
.imgsource {color:#999999; font-size:10px; text-align: justify;} /* Пример: /ft/moldavia.php */
.imgleft {float:left; margin-right:10px; text-align:center; font-size:11px; color:#6C2301; line-height:120%; border:#85C3E6 1px dotted; padding:8px; background-color:#E6F1F7;}
.imgright {float:right; margin-left:10px; text-align:center; font-size:11px; color:#1C5E82; line-height:120%; border:#85C3E6 1px dotted; padding:8px; background-color:#E6F1F7;}
.imgright1 {float:right; margin-left:10px; text-align:center; font-size:11px; line-height:120%; padding:10px;}
.imgleft1 {float:left; margin-left:10px; text-align:center; font-size:11px; line-height:120%; padding:10px;}
.kid P {border-bottom: #6699FF 1px dotted; padding-top:10px; text-align:left; font-size:12px; line-height:140%;} /* ex: riddles_animals */
.kid A {font-style:italic; font-weight:bold; font-size:10pt;}
.kroshki {width:80%; text-align:center; font-size:11px; margin: 0 auto;}
.linkbold {font-weight:bold}
.list A {color:#68809B; font-size:1.0em}
.list  {font-weight:bold; font-size:1.1em}
.mulinecenter TD {text-align:center; width:120px; border:#D2DFFF 1px solid}
.music {padding:5px; border:#4c9ac3 1px solid; background-color:#E6F2FF; margin-top:20px; margin-bottom:20px; width:400px;}
.music A {color:#043DFF}
.musictext {padding:10px; border:#E0A3CE 1px solid; background-color:#FDF9FF; margin-top:20px;}
.musictext1 {padding:3px; padding-left:10px; border:#DAA0F5 1px solid; background-color:#FBFBFF;}
.myteaser {color:#999999; font-size:11px; text-align:center; margin: 20px auto; width:180px; border: 1px solid #95C9FC; margin: 10px; box-shadow: 3px 3px 4px #CCC; border-radius: 10px;}
.painttitle {font-size:24px; color:#AE0000}
.picdescr {font-style:italic; color:#95004A; width:80%; text-align:justify;}
.picturesann {font-style:italic; font-weight: bold; color:#95004A; margin: 0 100px;}
.perelman {color:#8797AB}
.poet {width: 400px;}
.poet P {font-size:10px; text-align:justify; line-height: 180%;}
.poemlist {width: 350px;}
.poemlist UL LI {text-align:left; font-size:12px; font-weight:bold; margin: 3px;}
.poemlist H5 {text-align:left; margin-left: 3em;}
.poteshka P {margin-top:20px; text-align:left}
.poteshki IMG { vertical-align:text-bottom;}
.qw {width:85%; text-align:justify; font-size:12px; margin-top:20px;}
.sdvig {margin-left:40px;}
.smallcomment {font-size:10px; font-style:italic;}
.snoska {font-style:italic; font-size:11px; font-family:Arial, Helvetica, sans-serif; margin-top:30px; border-top:#000 1px dashed; padding-top:15px;}
.stxt {width:80%; text-align:justify; font-size:12px; font-family:Arial, Helvetica, sans-serif; margin:0 auto;}
.stxt1 {width:80%; text-align:justify; font-size:11px; margin:0 auto; padding: 20px;}
.tdtxt {background-color:#FDFCEE; text-align:justify; padding:10px; vertical-align:text-top; font-size: 0.9em; width: 600px; margin: 20px auto 10px;}
.ths1 {border:#85E9B9 1px solid}
.ths2 {background-color:#BCF3D9}
.toprint {font-size:12px; text-align:right; margin-right:20px;}
.txt {width: 80%; text-align: justify; margin: 0px auto; line-height: 160%; font-size: 12pt;}
.nonfordesktop {display: none}