*, *::before, *::after {
    -webkit-box-sizing: border-box;
            box-sizing: border-box;
}

html {
    background-size: cover;
    height: 100%;
    overflow: hidden;
        overflow-x: clip;
    overflow-y: scroll;
}

body {
	margin: 0;
	margin-left: auto;
	margin-right: auto;
	padding: 0;
	/*background-position: top center;
	width: 100%;
	background-repeat: no-repeat;*/

    background: no-repeat center center fixed;
    background-size: cover;
    height: 100%;
    overflow: hidden;
}
/*
#header {
    width: 975px;
    height: 267px;
    position: absolute;
    top: 0;
    left: 0;
    background-image: url('../header.png');
    background-repeat: no-repeat;
    background-size: contain;
}

#footer {
    width: 361px;
    height: 35px;
    position: absolute;
    bottom: 0;
    left: 0;
    //background-image: url('../footer.png');
    background-repeat: no-repeat;
    background-size: contain;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    margin-left: 50px;
    color: #000;
}
*/

body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 28px;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

#header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 28px;
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    margin-top: 20px;
    margin-left: 50px;
    margin-right: 30px;
}

#header img
{
    display: block;
    max-inline-size: 100%;
    max-block-size: 100%;
    height: auto;
}

#footer {
    margin-left: 50px;
    margin-right: 30px;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
    font-size: 12px;
    color: #000;
}

@media screen and (max-width:987px)
{
    #header {
    gap: clamp(0.625rem, 0.365rem + 1.154vw, 1.75rem);
    margin-left: clamp(1.25rem, 0.817rem + 1.923vw, 3.125rem);
}

    .header__kgw
{
    width: max(100%,45.57291666666667vw);
}

.header__mail
{
    width: max(100%,47.291666666666664vw);
}

.link--tel
{
    width: 60%;
}

#footer {
    margin-left: 30px;
}
}


#tempLink {
    width: 55px;
    height: 49px;
    float: right;
}

#tempMail {
    height: 89px;
    width: 975px;
    width: 100%;
}

#tempIndex {
    height: 89px;
    width: 975px;
    width: 100%;
    margin: 0 0 0 89px;
}

body, html, #cont {
	height: 100%;
	min-height: 100%;
	width: 100%;
	overflow: hidden;
}
html>body, html>body #contents {
	height: auto;
}
body {
	background-color: rgb(44, 44, 44);
	font-family: Tahoma, Arial, Helvetica, sans-serif;
	font-size: 10px;
	color: #B2B2B2;
	line-height: 1.7em;
}
h1 {
	font-size: 1em;
	margin: 0px;
}
div {
	font-size: 1.05em;
}
p {
	margin: 10px;
}
a {	
	color: #B2B2B2;
	background-color: inherit;
}
a:hover {
	color: #D2D2D2;
}
#cont {
	position: absolute;
	top: 0px;
}
#hed {
    background-image: url('../links_header.png');
    width: 360px;
    height: 114px;
    margin-bottom: 26px;
    position: relative;
    top: 0;
    left: 0;
}
#dir {
	padding: 0px 50px 0px 50px;
}
#dir ul{
	list-style-type: none;
}
#dir li a {
	width: 100%;
}
#dir li a:hover {
    color: rgb(249, 249, 249);
    border-bottom: 1px solid rgb(249, 249, 249);
}
#tempLink {
    width: 55px;
    height: 49px;
    float: right;
    position: absolute;
    bottom: 0;
    right: 0;
}