*,html{
    margin: 0;
    padding: 0;
}

body{
    margin: 0;
    padding: 0;
    background: #222222;
    font-family:  arial;
    color:#fff;
}

a{
    text-decoration: underline;
}


img{
    border: 0;
}





.wrapper{
    
}

.content{             
    min-width:989px;
    max-width:1320px;
    width:expression(document.body.clientWidth < 989? "989px" : document.body.clientWidth > 1320? "1320px" : "auto");
/*    overflow:hidden;*/
    min-height:800px;
}

.top{
    height:131px;
    width: 100%;
    background: #a3b91c;
}
.top_left{
    float: left;
    width:22%;                 
}

    .top_nav{
        width: 30px;
        height:82px;
        /*height:92px;*/
        background: #222222;
        float: left;
        margin-top:39px;
        padding:10px 0 0 0;
    }
        .top_nav p{
            padding:17px 0 0px 2px;
        }
    .lang{
        float: left;
        width:40px;
        margin:10px 0 0 0;
    }
        .lang a{
            color:#000;
            text-decoration: none;
            font-size:13px;
        }
        .lang span{
            padding:0;
            border-bottom: 1px #000 dotted;
            height:17px;
        }
.top_center{
    float: left;
    width:56%;
}
    .logo{}
    
.top_right{
    float: right;
    width:21%;                 
}
    .contact_us{
        float: right;
        width: 212px;
        height:30px;
        background: #f7366b;
        margin:101px 0 0 0; 
        text-align: left;
    }
    
    .contact_us div{
        width:160px;
        margin:6px 0 0 15px;
        background: url('images/buttons/contact_us.gif') left bottom no-repeat;
    }
    .contact_us a{
       color:#000;
       font-size:13px;    
       padding-left:20px;
    }
    
/******* End of TOP ***/    

/********************************* Main page ***/    

.main_center{
    width: 95%;
    background: #2e2e2e;   
    margin:80px 0 0 0; 
    padding:40px 0 10px 0;
    /*padding-bottom: 0px; */
}

    .main_center_item{
        width: 33%;
        float:left;
    }
    
        .frame{              
/*            background: url('images/frame.png') no-repeat;*/
        }
         .frame img{
             border:4px #a3b91c solid;         
         }
          
    
.main_contacts{
    padding:20px 0 0px 0;
}

/***** End of Main page ***/    

/***************************** Sub page ***/    

.menu{
    margin:30px 0 23px 0;
}
    .menu a{
        color:#ccc;
        font-size: 22px;
        padding:7px 19px 5px 19px;
        margin:0 5px 0 5px;
        text-decoration: none;
    }
    .menu a:hover{
        color:#333;
        font-size: 22px;
        background: #a3b91c;
    }
    
    .menu_active{
        color:#333 !important;
        font-size: 22px;
        background: #a3b91c;
    }
    
    
.sub_area{  
    text-align: left;
}
    .sub_left{
        width:100%;
        margin-left:-310px;
        float: left;
    }    
        .sub_content{
            background: #2e2e2e;
            margin-left:340px;     
            color:#ccc; 
            font-family: arial;
            font-size: 16px;
            line-height: 20px;
            padding:26px 30px 40px 40px;
        }
        .sub_content a{
            color:#fff;
        }
        .sub_content h1{
            font-size: 25px;
            padding:5px 0 20px 0;
        }
        .sub_content h2{
            font-size: 20px;
            padding:0 0 20px 0;
        }
        .sub_content h3{
            font-size: 18px;
            padding:0 0 20px 0;
        }
        .sub_content p{
            margin:0 0 20px 0;
        }
        
        .sub_content ul, .sub_content ol{
            padding: 0;
            margin:0 0 0 40px;
        }
        
        .sub_content ul{
            list-style-type: none;
            list-style-image: url('images/internal-list.gif');
        }
        
         .sub_content ul li
        {
            behavior: expression( !this.before && parentNode && parentNode.tagName == 'UL' ? this.before = ( 1
                    | ( parentNode.style.listStyleImage = 'none' )
                    | ( this.firstChild && this.firstChild.nodeType != 3
                        ? ( 1 | ( this.firstChild.style.marginTop = '-1.2em' ) | ( this.firstChild.style.position = 'relative' ) ) : 1 )
                    | ( this.innerHTML = '<nobr style="position: relative; width: 1.25em; left: -1.25em; margin: 0 -1.25em 0 0;color:#a3b91c;">&mdash;&nbsp;</nobr>'
                        + this.innerHTML ) ) : '' );
            margin:0 0 20px 0;
        }
    
.submenu{
    float: right;
    width:237px;
    margin:0 37px 0 36px;  /*margin:0 17px 0 18px;*/
    background: #2e2e2e;
}
    .submenu a{
        font-family: verdana;
        color:#fff;
    }
    
    ul.submenu1{
        list-style-type: none;
        list-style-image: url('images/submenu-list.gif');
/*        margin:27px 0px 20px 28px;*/
        margin:27px 0px 20px 33px;
    }

        ul.submenu1 li{
            margin:0 0 25px 0;
        }
            ul.submenu1 li a{
                font-size:14px;
            }
            ul.submenu2{                      
                list-style-image:none !important;
                list-style-type: none;                                     
                margin:-10px 35px 25px 10px; /*margin:12px 35px 0 10px;    */
            }
                ul.submenu2 li{                                
                    margin:18px 0px 15px 0; /*margin:0 0px 15px 0;                 */
                    font-size:12px;
                }
                .submenu2 a{ 
                    font-size:12px !important;
                }
                    ul.submenu3{                      
                        list-style-image:none !important;
                        list-style-type: none;                                     
                        margin:0 15px 0 10px; 
                    }
                        ul.submenu3 li{                                
                            margin:5px 0px 0px 0;
                            font-size:11px;
                        }
                        .submenu3 a{ 
                            font-size:11px !important;
                        }
                
                
/***************** Gallery Submenu ***/                

.gallery_user_all{
    margin:20px 20px 0px 20px;
    font-size: 14px;
    text-align: right;
}
.gallery_user{
    width:160px;
    margin:30px 0px 25px 20px;
    font-size: 14px;
    color: #cccccc;
/*    text-align: center;*/
}
    .gallery_user img{
       border:4px #a3b91c solid; 
    }
    .gallery_user p{
        margin: 0 0 7px 0;
    }
ul.gallery_submenu{
        list-style-type: none;
        list-style-image: url('images/internal-list.gif');
        margin:0 0px 20px 40px;
    }

        ul.gallery_submenu li{
            margin:0 0 5px 0;
        }
            ul.gallery_submenu li a{
                font-size:14px;
            }
/***** End of Main page ***/    


.contacts_link{
    padding:41px 0 40px 0;
    /*padding:20px 0 40px 0;*/
}
    /*.contacts_link a{
        color:#fff;
        font-size: 17px;
        padding:0 20px 0 20px;
    } */
    .contacts_link a{
        color:#ccc;
        font-size: 20px;
        padding:3px 19px 1px 19px;
        margin:0 5px 0 5px;
        text-decoration: none;
    }
    .contacts_link a:hover{
        color:#000;
        font-size: 20px;
        background: #F7366B;
        text-decoration: none;
    }
    
    .contacts_link_active{
        color:#000 !important;
        font-size: 20px;
        background: #F7366B;
    }


.footer{
    padding:0 30px 15px 30px;
/*    border: 1px #fff solid;*/
}
    .development{
        float: left;
    }
    .development a{
        font-size: 13px;
        color:#666;
    }
    
    .copy{
        color:#ccc;
        font-size: 13px;
        float: right;
    }

    
    
    
    
/*********************************************** Gallery **/

.gallery{
    width: 100%;          
}  

.gallery_left_area{
    float:left;
    width: 58%; 
    padding:0 0 10px 0;          
}
    #gallery_image_wrap{
        width: 368px;
        height:500px;
        float:right;
    }
        #gallery_image_win{    
            position: relative;        
            overflow: hidden;        
            border:4px #a3b91c solid;
            width: 360px;
            height:492px;
            /*width: 368px;
            //height:500px;*/
        }

        #gallery_image, #gallery_image div{
           width: 360px;
           height:492px;
        }

        #gallery_image{  
            position: absolute;      
            background:url('/images/gallery-image-loader.gif') center no-repeat;
        }

            #gallery_image p{
                color:#ccc;
                font-size: 12px;
                margin:10px;
                font-weight: bold;    
            }

            #gallery_image div{          
                background: center no-repeat;
                float: left;       
            }

        #gallery_left{ 
            width: 37px;
            background: url('/images/buttons/gallery_left.png');                                                                         
            float:left;   
        }
        #gallery_right{
            width: 38px;
            background: url('/images/buttons/gallery_right.png');                                                                         
            float:right;  
        }
        #gallery_left,#gallery_right{
            position:relative;  
            cursor: pointer;   
            height: 48px;             
            margin:-275px 4px 0 4px;
            /*margin:-275px 2px 0 2px;*/
            z-index: 992;     
            opacity:.4;
            filter: alpha(opacity=40);
            -moz-opacity: 0.4;
            -khtml-opacity: 0.4;
        }

        #gallery_left_link,#gallery_right_link{
            display: none;
        }


.gallery_right_area{
    float:left;
}
    .gallery_nav{
        margin:0 0 0 40px;
    } 

        .gallery_up,.gallery_down{
            vertical-align: top;
            width: 29px;
            height:37px;
            padding: 0 0 0 75px;
            /*padding: 0 0 0 85px;*/
        }           

        #preview_up_link, #preview_down_link{
            display: none;     
        }                 

        #gallery_preview_win{
            height:330px;
            width:168px;
        }


        #gallery_preview_wrap{
            height:330px;
            width:168px;
            /*width:180px;*/
            overflow: hidden;      
            position: absolute;    
        }

        #gallery_preview{   
            position: relative;    
        }

        #gallery_preview div{   
            width: 66px;
            height: 92px;
            /*width: 74px;
            //height: 100px;*/
            margin:0 0 10px 10px;
            border:4px #cccccc solid;
            float: left;
            cursor: pointer;
        }

        .gallery_preview_active{
            border-color:#a3b91c !important;
        }    

#order{                    
    display: none;    
    width:70%;
    text-align: center;     
}
    #order p{
        margin:0 0 15px 0;
    }    
#gallery_description{
    width:70%;   
/*    height:80px;*/
    text-align: center;     
}

 /******************* News **********/
 
 .news_date{
    font-size:12px;
 }
 
 .news_notice{
    margin:7px 0 7px 0;
 }
    
 /******************* Teachers Info */   

.teacher{
    height:150px;            
    background: #424242;
    margin: 0 30px 30px 0;
    padding:10px 12px 10px 12px;
    float: left;
}

    .teacher_name a{
        text-decoration: none;
    }
    .teacher_photo{
        margin:0 20px 0 0;
        float: left;
    }
        .teacher_photo img{
            border:4px #ccc solid;
        }
    
     .teacher_disc{
        height: 80px;
     }
     
     .teacher_info{
        width:240px;
        float:left;
     }

.teacher_c_left{
    float: left;
    margin:7px 20px 10px 0;
}     
    .teacher_c_left p{
        padding:10px 0 0 0px;
        margin:0;
    }
    
/******************* Users block **********/ 

.user{
    width:230px;
    /*width:250px;*/
    height:150px;            
    background: #424242;
    margin: 0 30px 30px 0;
    padding:10px 12px 10px 12px;
    float: left;
}

    .user_photo{
/*        border:4px #ffb200 solid;*/
        border:4px #ccc solid;
        float: left;
        margin:0 12px 0 0;
    }
    .user_name{
        height:90px;
    }
    .user_gallery{        
    }
        .user_gallery a{
            font-size:13px;
        }


/******************* Blog **********/ 
 
.blog{
    width: 550px;         
    margin:0 0 40px 0;
}
    .blog p{
        margin: 0;
    }
    .blog_title{
        font-size: 20px;
        padding:0 0 20px 0;
        color:#fff;
    } 
        .blog_title a{ 
            text-decoration: none;
        }
    .blog_ribric{
        padding:15px 0 0px 0;
        font-size: 13px; 
    }
    .blog_date{
        padding:5px 0 0px 0;
        font-size: 12px;
/*        color:#fff;*/
    }
    .blog_comment a{
        font-size: 13px;
    }
    
.blog_comment_title{
    font-size:17px;
    color:#fff;
}
/*.blog_item{

}
    .blog_item p{
        margin: 0;
    }*/
#message_form{
    margin:20px 0 10px 0;
} 

.subscription{
    float: right;          
    margin:15px 0 0 0;
}
    .subscription div{
        float: left;
        padding:0 0 0 20px;
    }

/**************** Consultation ****/
.consultation{
    margin:0 0 20px 0;
}
    .consultation p{
        margin:0;
    }

    .consult_name{
        color:#fff;
        padding:0 0 5px 0;
    }
    .consult_answer{
        padding:5px 0 0 0;
    }
.date{
   font-size: 12px;
}

/*#{
    display: none;
}*/

/********************************/    
.back{
    margin:0 !important;
    padding:0 !important;
}
    
.input100pc{
    width:100%;
}  

.input200px{
    width:200px;
}   
    
.button{
    padding:0 13px 0 13px;
    
}
    
.table_error{
    color:#f7366b;
}    

 .error{
    color:#f7366b;
    padding:0;
    margin:0px 0 0 20px !important;
    font-size: 12px;
 }   
 
#private_key{
    width:155px;
}   

.right{
    float:right;
}    

.left{
    float:left;
}    

.clear{
    clear:both;
}





.login_table{
    background:#2e2e2e;
    padding:10px 0 10px 0;
    font-size:13px;
}
.login_table td{
    padding:5px;
}

.pager{

}
.pager a{
/*    color: #A3B91C;*/
    font-size: 13px;
/*    text-decoration: none;*/
    font-family: tahoma;
}
.pager_current{
    font-weight: bold;
    font-family: tahoma; 
    font-size: 13px;
/*    color:#ffb200;*/
    padding-top: 2px;
}

.content .sub_area img[align="left"] {margin:20px 20px 20px 0;}
.content .sub_area img[align="right"] {margin:20px 0 20px 20px;}