body
{
        background-color: #FFFFFF;
        margin: 0 auto;
	padding: 0px;
        font-family: Verdana, Helvetica, serif;
        font-size: 100%;
}

IMG {
 max-width: 100%;
 height: auto;
 width: auto\9; /* ie8 */
}


#wrap {
background-image: url(http://allforchildren.ru/img/shapka_bg.jpg);
background-repeat: repeat-x;
width:100%;
text-align:center;
margin: 0 auto;
}

#header {
display:none
}

#s_header {
height:62px;
width:100%;
text-align:center;
clear: both;
}


#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;
width:100%;
display: -webkit-flex;
flex-direction: column;
}

#leftsidebar {
display: flex;
width:100%;
padding-top:20px;
flex-direction: column;
align-items: center; 
}

#leftsidepic {
display:none;
}

#content {
text-align:center;
/* padding: 20px; */
order: -1;
width:100%;
}

#rightsidebar {
display:none;
}

#footer {
clear: both;
display: flex;
display: -webkit-flex; 
flex-direction:column;
background-image: url(http://allforchildren.ru/img/bottom.jpg);
background-position: bottom;
background-repeat: repeat-x;
}

.footer1 {display:none}
.footer2 {margin-top: 10px;}
.footer3 {text-align:center; margin-top: 20px;}
/* END MENU STYLE*/

H4 {text-align:center;}

H1 {font-weight:normal; font-size: 2.2em; margin-top:10px; line-height:120%;
}
H2 {font-size: 1.7em; text-align:center; margin-top:10px;	
}
H3 {font-size: 1.5em;}

/* 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 */

.adv1 {
text-align:center;
border: 1px solid #95C9FC;
margin-top: 20px;
margin-left: 5px;
width:80%;
font-size: 0.8em;
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-left: 30px;
margin-top:20px;
padding: 0;
width:180px
}

.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;
}

/* 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 {text-align:justify; padding-top:50px; font-size:1em; font-family: Arial, Helvetica, sans-serif; padding:20px;}
.drawtext H3 {color:#3366FF; text-align:center; margin-top: 30px;}
.drawtext IMG {
display:block;
margin:auto;
}

.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;
}

.audiodescr {text-align:justify; font-size:smaller}
.bigtext {font-family:Arial, Helvetica, sans-serif; font-size:16px; line-height:140%; text-align:justify; margin-top:20px; width:80%;}
.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;}
.craftdescription {text-align:justify; font-size:11px; padding-left:5px; padding-right:5px; vertical-align:top}
.diff TD {border: #FF33FF 1px dashed; padding:4px;}
.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}
.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}
.imgdescr {font-style:italic; font-size:11px; text-align:center;}
.imgdescr IMG {border:0; padding:10px;}
.imgsource {color:#999999; font-size:10px;}
.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:#6C2301; 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; vertical-align:middle; text-align:left; font-size:12px;}
.kid1 TD {border-bottom: #0C446B 1px dotted; padding-top:10px; vertical-align:middle; text-align:left}
.kroshki {width:80%; text-align:justify; font-size:11px; margin: 10px 0 0 10px;}
.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-top:20px; margin-left:40px; width:180px;}
.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 10px;}
.perelman {color:#8797AB}
.poetspage {flex-direction: column;}
.poet {width: auto; padding: 10px; font-size: 1em; text-align: justify;}
.poemlist UL LI {margin: 12px; font-size:0.9em; text-align: justify;}
.fonfish, .fonml, .fonriver, .hygwrap {width: auto; background-size: cover;}
.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;}
.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-top:20px; margin-left:5px;}
.stereopre {font-size:10pt; font-family: Arial, Verdana, Helvetica; text-align:justify; width:600px}
.stxt {width:80%; text-align:justify; margin-top:20px; font-size:12px; font-family:Arial, Helvetica, sans-serif; margin:0 auto;}
.stxt1 {width:80%; text-align:justify; margin-top:20px; font-size:11px; margin:0 auto;}
.tdtxt {background-color:#FDFCEE; text-align:justify; padding:10px; vertical-align: text-top; font-size: 1em;}
.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-top:20px; margin: 0px auto; font-size:14px;}
.whyapropos {font-size:10pt; font-family: Arial, Verdana, Helvetica;}
.gallerydescr {font-style:italic; color:#95004A; width:85%; margin-bottom:20px; font-weight:bold}
.nonformobile {display: none}
