﻿
/*@font-face {
    font-family: Gothic;
    src: local("Yu Gothic UI Regular"), url(/ttf/yugothib.ttf);
}*/


* {
    font-family: Yu Gothic UI;
}

img {
    -ms-user-select: none;
    -moz-user-select: none;
    /*-khtml-user-select: none;*/
    -webkit-user-select: none;
}

body {
    /*position: relative;*/
    max-width: 1519px;
    /* width: 1519px; */
    margin: auto;
    padding-top: 56px;
}

#mobAlert {
    display: none;
}



a {
    color: black;
    text-decoration: none;
}

a:hover {
    color: dodgerblue;
    text-decoration: underline;
}


/*         ШАПКА*/





header {
	position:relative;
    background-color: white;
    position: fixed;
    display: flex;
    border-bottom: 1px solid lightgrey;
    box-sizing: border-box;
    z-index: 8;
    width: 100%;
    max-width: 1519px;
    top: 0;
}

header > div {
	flex-grow: 1;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin-right: 15px;
}

#emblem {
    height: 56px;
    width: 205px;
    background-size: auto 72%;
    background-position: 20px center;
    background-repeat: no-repeat;
    background-image: url(/Working/images/Layout/emblem_DA.png)
}

#main_mn {
    display:flex;
    height:100%;
	margin: 0;
    padding: 0;
}

#main_mn li {
	display: inline-flex;
	align-items: center;
	text-transform: uppercase;
	letter-spacing: 0.3px;
	cursor: pointer;
	height: 100%;
}

#main_mn li:hover > a {
	font-weight: 400;
	color: black;
}

#main_mn a {
    padding: 0 25px;
    color: rgba(84,84,84, 0.7);
    text-decoration: none;
}

#main_mn ul {
    display: none;
    height: 100%;
    padding: 0;
    top: 100%;
    width: 100%;
    left: 0;
    justify-content: center;
    position: absolute;
    background-color: #f2f2f2;
    border-top: 1px solid rgba(211,211,211, 0.7);
    border-bottom: 1px solid rgba(211,211,211, 0.7);
    font-size: 15px;
    z-index: 0;
}

#main_mn li:hover ul {
	display: flex;
}


#btn-OS {
    color: black;
    border: 1px solid grey;
    border-radius: 20px;
    background-color: white;
    font-size: 15px;
    line-height: 15px;
    font-weight: 600;
    padding: 8px 21px;
    cursor: pointer;
    white-space: nowrap;
    margin: 0 30px;
    text-decoration: none;
}

#btn-mn {
    display: none;
}

#btn-bskt {
    display:flex;
}

#mn_thr {
    display: flex;
    height: 100%;
}

/*#mn_thr > a, #mn_thr > div {
	height: inherit;
	margin: 0 1px;
	color: black;
	text-decoration: none;
}*/

#mn_thr > a, #mn_thr > div > a {
	position: relative;
	display: inline-flex;
	width: 46px;
	/*height: 100%;*/
	background-position: center;
	background-size: 55%;
	background-repeat: no-repeat;
}



    #mn_thr a > span {
        position: absolute;
        padding: 0 4px;
        line-height: 14px;
        display: none;
        font-size: 10px;
        font-weight: 900;
        border: 1px solid black;
        border-radius: 8px;
        top: 21%;
        left: 55%;
        background-color: white;
        color: black;
    }








/*         ВЕРХНИЙ ФУТЕР*/

#top_ftr {
    display: flex;
    padding: 40px 150px;
    padding-left: 200px;
}

    #top_ftr div {
        width: 200px;
        margin: 0 auto;
        white-space: nowrap;
        /* flex-grow: 1;*/
    }

        #top_ftr div a {
            text-decoration: none;
            color: black;
        }

    #top_ftr b {
        display: block;
        text-transform: uppercase;
        text-decoration: underline;
        font-size: 15px;
        padding: 0 15px 3.8px;
    }

    #top_ftr text {
        display: block;
        font-family: Microsoft YaHei Light;
        font-weight: 500;
        font-size: 15px;
        line-height: 25px;
        padding: 0 15px;
    }





/*         НИЖНИЙ ФУТЕР*/
#bottom_ftr {
    background-color: #50585f;
    display: flex;
    justify-content: space-between;
    padding: 15px;
    color: white;
}

    #bottom_ftr text {
        font-size: 11.5pt;
        display: flex;
    }

    #bottom_ftr span img {
        height: 20px;
        margin: 0 4.5px;
    }

    #bottom_ftr > span {
        display: flex;
        align-items: center;
    }





@media screen and (max-width: 1519px) {

    body {
        width: auto;
    }
}

@media screen and (max-device-width: 800px) {


    body > *:not(#mobAlert):not(header):not(footer):not(#regForm) {
        display: none !important;
    }

    #mobAlert {
        display: flex;
    }


    body {
        padding-top: 10vh;
    }

    #emblem {
        background-image: url(/Working/images/Layout/emblem_ICO.png);
        height: inherit;
    }

    header {
        height: 10vh;
        border-bottom: 2px solid darkgrey;
    }

    #mn_thr > a, #mn_thr > div > a {
        width: 14vw;
        height: 100%;
    }

    #main_mn_mbl {
        position: fixed;
        top: 10vh;
        height: 90vh;
        width: 87vw;
        background-color: white;
        border-left: 2px solid darkgray;
        padding: 2vh 0;
        margin: 0;
        transition-duration: 0.4s;
        transition-timing-function: ease-out;
        color: black;
        text-decoration: none;
        overflow-y: auto;
        box-sizing: border-box;
    }

    #main_mn_mbl ul li {
        list-style-type: none;
        font-size: 40pt;
        line-height: 7vh;
        padding-left: 15vw;
    }


    #main_mn_mbl span {
        display: flex;
        justify-content: space-between;
    }

    #main_mn_mbl span a {
        margin: 0;
        font-size: 40pt;
        line-height: 7vh;
        padding-left: 10vw;
        white-space: nowrap;
        width: 100%;
        list-style-type: none;
    }

    #main_mn_mbl span img {
        height: 2.5vh;
        margin: auto 0;
        padding: 2vw 10vw;
    }

    #main_mn_mbl ul {
        display: none;
        border-top: 1px solid darkgray;
        border-bottom: 1px solid darkgray;
        background-color: #d3d3d32b;
    }

    #main_mn, #btn-OS {
        display: none;
    }

    #btn-mn {
        display: block;
    }

    header > div {
        margin: 0;
    }

    #top_ftr {
        display: none;
    }

    #bottom_ftr text {
        font-size: 10pt;
        margin: 1.5vh 0;
    }

        #bottom_ftr text:nth-child(2), #bottom_ftr text:nth-child(3) {
            display: none;
        }

    #bottom_ftr {
        flex-direction: column-reverse;
        align-items: center;
    }

        #bottom_ftr > span {
            flex-direction: column;
        }


        #bottom_ftr text {
            font-size: 2.5vh;
        }

        #bottom_ftr span img {
            height: 5vh;
            margin: 0 4vw;
        }
}
