/**** /main.css ****/

html, body {
    background-color: #e0e7eb;
    width:100%;
    height: 100%;
}

#bg_left {
    position: absolute;
    top: 260px;
    left: 2%;
    height:500px;
    width: 500px;
    z-index: -1;
}
#bg_right {
    position: absolute;
    top: 230px;
    right: 2%;
    height:500px;
    width: 500px;
    z-index: -2;
}

#layout {
    position: absolute;
    z-index: 0;
    width: 100%;
}

#vitalik_nose
{
    position: absolute;
    right: 140px;
    top: 83px;
    display: block;
    width: 20px;
    height: 20px;
    z-index: 100000;
}



#top {
    clear: both;
    background-image: url("/res/top/bg.jpg");
    background-repeat: repeat-x;
    position: relative;
    overflow: hidden;
    height: 200px;
    width: 100%;
}
#top_masc {
    position: absolute;
    height: 200px;
    width: 100%;
    top: 0;
    left: 0;
}
#instructors_masc {
    height: 200px;
    float: right;
    display: block;
}
#logo_masc {
    height: 200px;
    float: left;
    display: block;
}
#people {
    height: 200px;
}
#people img{
    height: 200px;
}

#layout #middle {
    clear: both;
    width: 100%;
    min-height: 500px;
}
#layout #left {
    display: none;
}
#layout #center {
    padding-left: 10%;
    padding-right: 10%;
}
#layout #right {
    display: none;
}

#layout #bottom {
    clear: both;
    background-color: black;
    margin-top: 1em;
    width:100%;
}
#bottom .workinsolutions {
    text-align: center;
    padding: 1em;
    color: gray;
    font-size: 80%;
}
#bottom .workinsolutions * {
    color: gray;
}

#layout h1 {
    padding-top: 1em;
    padding-bottom: 0.5em;
    font-size: 250%;
    font-weight: bold;
}


abbr, acronym {
    border-bottom: 1px dotted;
    cursor: help;
    font-style: italic;
}

.article {
    font-size: 100%;
    line-height: 1.2em;
    
text-align: justify;
}
.article p {
    text-align: justify;
    margin-bottom: 1em;
}
.article h2{
    font-size: 130%;
    margin-bottom: 1em;
}
.article h3{
    font-size: 110%;
    margin-bottom: 0.5em;
    clear: right;
}
.article img{
    background: #fff;
    padding: 5px;
    margin: 0.5em;
    border: solid 1px gray;
    clear: right;
    float: right;
    height: 300px;
}


.article ul, ol {
    margin-bottom: 1em;
    margin-top: 0.5em;
}

.article ul li {
    list-style: disc inside none;
    padding-left: 1em;
    margin-bottom: 0.3em;
}
.article ol li {
    list-style: decimal inside none;
}

.article strong {
    font-weight: bold;
}
.article em {

}
.article blockquote {
    background-color: #ebebeb;
    padding: 1em;
    border: 1px dashed black;
    clear: both;
}



.article table {
    border: 1px solid black;
    margin-top: 1em;
    margin-bottom: 1em;
    background-color: WhiteSmoke;
}
.article table thead {
    margin: 2px;
    font-size: 80%;
}
.article table tbody {
    font-size: 70%;
}
.article table tfoot {
}
.article table tbody tr.odd {
    background-color: #ebebeb;
}
.article table th {
    border: 1px solid black;
    background-color: LightSlateGray;
    color: white;
    font-size: 120%;
    vertical-align: middle;
    text-align: center;
    padding: 0.6em;
}
.article table thead th {
    background-color: SlateGray;
}

.article table td {
    border: 1px dotted gray;
    padding: 0.1em;
    padding-left: 0.4em;
    padding-right: 0.4em;
    height: 1.5em;
}



.doctor_price {
}
.doctor_price tr input {
    width: 100%;
    background-color: white;
    border: 1px dotted gray;
}
.doctor_price h3 {
    font-size: 120%;
    color: white;
    margin:0;
    padding: 0;
}
.doctor_price div {
    color: #ebebeb;
}
.doctor_price img {
    float: right;
    clear:none;
    height: 100px;
}

.doctor_price_update input{
    border: 1px solid gray;
    background-color: white;
    padding: 0.5em;
    margin-right: 1em;
}




.article .author {
    margin-left: 30%;
    height: 130px;
    margin-bottom: 1em;
}
.article .author .info {
    padding-top: 1em;
}
.article .author .info div{
    text-align: right;
}
.article .author .name {
    font-weight: bold;
    font-size: 130%;
    color: black;
    font-weight: bold;
}
.article .author .titul {
    color: darkred;
}
.article .author .contact {
    font-weight: bold;
}
.article .author img {
    height: 100px;
    float: right;
}


.gallery {
    margin-top: 1em;
    clear: both;
}
.gallery .photos {
    margin-top: 1em;
    clear: both;
}
.gallery .photos .photo {
    position: relative;
    float: left;
    margin-right: 1em;
    margin-bottom: 1em;
}
.gallery .photos .photo img.draggable {
    background-color: white;
    padding: 6px;
    border: solid 1px gray;
    height: 150px;
    background-image: url(/lib/img/animated_loading/circle2.gif);
    background-repeat: no-repeat;
    background-position: center center;
    min-width: 40px;
}
.gallery .photos .photo img.selected {
    background-color: red;
    border: solid 1px red;
}
.gallery .tags {
    margin-bottom: 1em;
    height: 3em;
}
.gallery .tags li {
    margin-top: 0.4em;
    margin-left: 1em;
    float: left;
    height: 1em;
}
.gallery .tags li.filter{
    font-weight: bold;
    margin:0;
    font-size: 150%;
}

.gallery li.tag-type0, .gallery li.tag-type0 a {
    color: blue;
}
.gallery li.tag-type1, .gallery li.tag-type1 a {
    color: green;
}
.gallery li.tag-type2, .gallery li.tag-type2 a {
    color: OrangeRed ;
}
.gallery li.tag-type3, .gallery li.tag-type3 a {
    color: red;
    font-weight: bold;
}


.gallery ul.pages_num {
    clear:both;
}
.gallery ul.pages_num li {
    float: left;
    background-color: black;
    color: white;
    font-size: 120%;
    padding: 0.2em;
    margin: 0.13em;
}
.gallery ul.pages_num li a {
    text-decoration: none;
    background-color: black;
    color: white;
}
.gallery ul.pages_num li.selected {
    background-color: darkred;
}

#publication {
    clear:both;
    
}
#publication textarea {
    background-color: #ebebeb;
    clear:both;
    border: solid 1px red;
    margin: 5px;
}


#admin {
    z-index: 1000;
    width: 900px;
    height: 700px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -350px;
    margin-left: -450px;
    background-color: #ebebeb;
    background-repeat: no-repeat;
    border: solid 5px black;
}
#admin #admin-top {
    padding-top: 20px;
    padding-bottom: 20px;
    background-color: black;
    color: white;
    font-size: 200%;
    text-align: center;
    margin: 2px;
}
#admin ul li{
    position:relative;
    font-size: 100%;
    float: left;
    margin: 0.5em;
    padding: 0.5em;
    background-color: LightSteelBlue;
    border: 2px solid blue;
}

#admin .admin-tag-droppable-left {
    position:absolute;
    width: 28%;
    height: 100%;
    top:0;
    left:0;
}
#admin .admin-tag-droppable-right {
    position:absolute;
    width: 70%;
    height: 100%;
    top:0;
    right:0;
}

#admin input {
    background-color: #ebebeb;
    margin: 0.5em;
    padding: 0.2em;
}

#login_layer {
    width: 400px;
    height: 300px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -150px;
    margin-left: -200px;
    background-color: #ebebeb;
    border: solid 5px black;
}
#login_layer input{
    clear: both;
    border: solid 1px black;
    margin: 0.5em;
    padding: 0.2em;
    font-size: 200%;
}



#aboutus div{
    clear: both;
}
#aboutus div img {
    float: right;
}
.article_name1 {
    padding-top: 150px;
    display: block;
    font-size: 200%;
}



.clear {
    clear:both;
}
.visible {
    display:block;
}
.invisible {
    display:none;
}

.shadow {
    border: 1px solid #ebebeb;
    border-bottom:2px solid #eee;
    border-right:2px solid #eee;
    padding-bottom:2px;
    padding-right:2px;
    background:#fff;
}

#tooltip {
    position: absolute;
    z-index: 300000;
    border: 1px solid #111;
    background-color: #eee;
    padding: 5px;
    opacity: 0.85;
}
#tooltip h3, #tooltip div { margin: 0; }



ul.catalog {
    margin: 0;
    padding: 0;
    list-style: none inside none;
}
ul.catalog li {
    display: block;
    list-style: none inside none;
    float: left;
    margin: 0.5em;
    padding: 0;
    text-align: center;
}
ul.catalog li a {
    margin: 0;
    padding: 0;
}
ul.catalog li img {
    float: none;
    margin: 0;
    padding: 5px;
    background-color: white;
    border: solid 1px gray;
    height: 150px;
}

#video_fullscreen_fgh{
    width: auto;
    height: auto;
    float: none;
    padding: 0;
    margin: 0;
    vertical-align: middle;
}



/**** /nav.css ****/

ul.kr_nav, ul.kr_nav * {margin: 0;padding: 0;border: 0; float: none; position: relative;text-decoration: none;line-height: 100%; list-style: none;}

ul.kr_nav {
	z-index: 100;
}
ul.kr_nav a {
	display: block;
	width: 12em;
}
ul.kr_nav li {float: left;}
ul.kr_nav li li {float: none;}

ul.kr_nav ul{
	left: 0;
	top: 100%;
	position: absolute;
	display:none;
	z-index: 101;
	
}

ul.kr_nav li:hover ul ul, ul.kr_nav li:hover ul ul ul, ul.kr_nav li:hover ul ul ul ul, ul.kr_nav li:hover ul ul ul ul ul{ display:none; }
ul.kr_nav li:hover ul, ul.kr_nav li li:hover ul, ul.kr_nav li li li:hover ul, ul.kr_nav li li li li:hover ul, ul.kr_nav li li li li li:hover ul{ display:block;}



ul.kr_nav a{width: 9.3em;}


.kr_nav, .kr_nav *{
	font-family: arial; 
	font-size: 12px;
	text-align: center;
	font-weight: bold;
	color: white;
	background-color: black;
}
ul.kr_nav {
	border-top: solid 2px #ebebeb;
	border-bottom: solid 1px #ebebeb;
	clear:both;
	height: 24px;
	width: 100%;
}

ul.kr_nav ul li{
	border-top: solid 1px #999;
	
}
ul.kr_nav a{
	padding: 0.5em;
	padding-top: 0.4em;
	
}

ul.kr_nav A{text-decoration: none; font-weight: bold; color: white;}
ul.kr_nav A:visited {color: white;}
ul.kr_nav A:active, ul.kr_nav A:hover {text-decoration: none;color: white; background-color: darkred;}


