
body {
    font-family: 'Comic Sans MS', verdana, ariel, 'Roboto Condensed',  sans-serif;
    /*font-size: 12px;*/
    background-color: #ccc;

}


h1 {
    font-size: 50px;
}

h2 {
    font-size: 25px;
}



.container  {
    margin: 0 auto;
    padding-left: 30px;
    padding-right: 30px;
    width: 960px;
	height: 400px;
    /*background-color: #0ee; /* ���� ���� */
}	


.gall {
	margin-top: 20px;
	
}

header {
    display: block; /*��� ����� ���������*/
    /*background-color: #990;*/
    position: relative;
    height: 400px;
    border: 1px solid #ccc;

}




#bgd-img .photos{
    position: relative;
    height: авто;
}



#bgd-img .photos img{
    /* width: 100%;*/
    position: absolute;
    left: 0;
    opacity: 0;
    transition: opacity 3s;
}

#bgd-img .photos img.showed{
    opacity: 1;
}


#text-heder {
    position: absolute;
    bottom: 100px; /* ��������� �� ������� ���� */
    right: -100px; /* ��������� �� ������� ���� */
    border: solid 1px #fff;
    width: auto; /*������ ������*/
    height: auto;    /*������ ������*/

    /*float: right;*/
    /*margin-right: -400px;
    margin-top: -250px;*/
    padding: 10px;
    background: #fff;
    background: linear-gradient(180deg, #fff, #999);
    opacity:0.8;
    border-radius: 20px/20px;

}

.shadow {
    /*background: #fc0; /* ���� ���� */
    box-shadow: 0 0 20px rgba(0,0,0,0.8); /* ��������� ���� */
    padding: 10px;
}

#title {
    margin: 0px;
    color: #ff2912;

}


.menu-heder {
    height: auto;    /*������ ������*/
    /*background-color: #999; /* ���� ���� */
    text-align: center;
    border: #ccc solid 1px;

}


ul {

    width: auto; /* ������ ���� */
    height: auto;
    list-style: none; /* ��� ������ ������� ������� */
    margin: 0; /* ��� �������� ������ */
    padding: 0; /* ������� ���� ������ ������ */
	
    font-size: 12pt; /* ������ �������� � ������ ���� */
	z-index: 1;
}

.menu-line {
    display: inline-block;  /*������ � �����*/  

}

li ul {

    position: absolute; /* ������� ��������������� ��������� */

    /*display: none; /* �������� ������� */
    height: 0;
    overflow: hidden;
    transition: height 0.5s cubic-bezier(0,.72,.24,1.27) 0.1s;
}

li:hover ul { 
    /*display: block; /* ��� ��������� ������ �������� ���� ������������ ������� */
    height: 150px;
    
}


li a {

    display: block; /* ������ ��� ������� ������� */
    padding-right: 10px; /* ���� ������ ������� */
    padding-left: 10px;
    text-decoration: none; /* ������������� � ������ ������� */
    color: #333; /* ���� ������ */
    border: 1px solid #ccc;/* ����� ������ ������� ���� */

    background: linear-gradient(180deg, #fff, #999);
    transition: background 2s;

    border-bottom: none; /* ������� ����� �� �������� */
}

li a:hover {
    /* color: #ffe; /* ���� ������ ��������� ������ */
    /*background: #fff;*/
    background: linear-gradient(180deg, #eee, #777); /* ���� ���� ��������� ������ */
}

.brd {
    border-bottom: 1px solid #ccc; /* ����� ����� */
}

.container-1 {
    display: flex;

}

.container-1 div {
    padding: 10px;
    border: 1px solid #ccc;
}

.box-1 {
    flex: 1;
	

}

.box-1 img {
   width: 350px;

}




.box-2 {
    flex: 2;

}


.text-img {
    background: #e0e0e0;
    background: linear-gradient(340deg, #e0e0e0, #fff); /* ���� ���� */

    height: auto;
    color: #000;
    padding: 20px;
    border-radius: 10px;
}

footer {
    display: block; /*��� ����� ���������*/
    /*background-color: #990;*/
    height: auto;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.foot {
	margin-top: 800px;
	
}
