﻿body
{
	max-width: 968px !important;
	margin: auto;
}

h1
{
	text-align: center;
	position: relative;
}

/* Overlays */
.overlay_full
{
	position:absolute;
	width: 100%;
	height: 100%;
}

.overlay_bottom
{
	position:absolute;
	bottom: 0px;
}

.overlay_top
{
	position:absolute;
	top:0px;
}

.overlay_right
{
	position:absolute;
	right:0px;
	top:0px;
}

/* ------ */

.projectsList
{
	width:100%;
	text-align: center;
}

.projectPanel
{
	margin: 10px;
	border: 1px solid gray;
    display:inline-block;

	width:300px;
	height: 200px;
	overflow:hidden;

	border-radius: 28px;
	text-align: initial;
    box-shadow: 0px 0px 6px 0px #000000;
}

.projectPanel:hover {
    box-shadow: 0px 0px 12px 1px #000000;
    transition: box-shadow 0.2s ease-in-out;
}

.projectIcon
{
	width: 96px;
	margin: 4px 4px;
	display:inline-block;
	overflow:hidden;
	text-align: center;
	vertical-align:top;
}

.projectIcon img
{
	border: 1px solid gray;
    width:92px;
	height:92px;
	border-radius: 18px;
}

.projectPanel #header
{
	text-align: center;
	background-color: rgba(255, 255, 255, 0.75);
	font-size: 24px;
	margin-top: 12px;
	width:100%;
	position:relative;
}

.projectIcon #header
{
	width:100%;
	text-align:center;
	background-color: rgba(255, 255, 255, 0.75);
	font-size: smaller;
}

.projectPanel #link
{
	z-index: 10;
	position: relative;
}

.projectPanel #link img
{
	width:48px;
	height:48px;
	cursor: pointer;
}

.projectPanel #links
{
	text-align:center;
	width:100%;
}

/*  Global  */
#lnkHere
{
	font-size: x-large !important;
}

#tdName
{
	text-align : center;
}


/* Animate */

#links,
#header {
	position: absolute;
	transition: all 0.15s ease-in-out;
}

#links {
	bottom: -60px;
}

#header {
	top: -100px;
	pointer-events: none;
}

/* Состояние при наведении на родителя */
.inst-hover #links {
	bottom: 0 !important;
}

.inst-hover #header {
	top: 0 !important;
}

#link
{
	filter: brightness(0.9) drop-shadow(0px 0px 5px rgb(87, 87, 87, 0.75));
	transition: filter 0.15s ease-in-out;
}
#link:hover
{
	filter: brightness(1) drop-shadow(0px 0px 5px rgb(0, 0, 0));
}