@font-face {
    font-family: 'Icons';
    src:  url('/fonts/IcoMoon-Free.ttf');
    font-weight: normal;
    font-style: normal;
}

html { background: #f4f3f6; }
html, body { margin: 0; padding: 0; font-family: arial,verdana; }


a { color: #0076be; }

div.top-line
{
    display: flex;
    flex-flow: row;
    align-items: center;
}

div.top-line > *
{
    margin-right: .5rem;
}

/*
div.top-line > a,
div.top-line > form
{
    position: absolute;
    top:.5rem;
    right: 1rem;
}
*/

div.top-line:before
{
    content: '';
    display: block;
    width: 100%;
    height: 37px;
    background: #f4f3f6;
}

div.bottom-line 
{
    color: rgb(164 162 170);
    padding:2rem 4rem;
}

body > header
{
    background: #133455;
    display: flex;
}

body > main
{
    min-height: 50rem;
}

body > header > a#logo
{
    display: block;
    width: 78px;
    height: 115px;
    margin: -16px 0 -16px 2%;
    z-index: 100;
}

body > header > a#logo > img
{
    width: 78px;
    height: 115px;
}

body > header > nav
{
    height: 83px;
}

body > header > nav > ul
{
    display: flex;
    flex-flow: row nowrap;
    list-style: none;
    margin: 0 0 0 9px;
    padding: 0;
}

body > header > nav > ul > li > a
{
    position: relative;
    display: block;
    font-weight: 700;
    font-size: 1rem;
    line-height: 20px;
    padding: 31px 35px 32px;
    color: #fff;
    text-decoration: none;
}

body > header > nav > ul > li:not(:last-of-type) > a:before
{
    content: '';
    display: block;
    width: 1px;
    height: 20px;
    background: #314e6c;
    position: absolute;
    top: 50%;
    right: -1px;
    transform: translateY(-50%);
}

body > header > nav > ul > li:hover > a
{
    color: #43aac0;
    background: #072441;
}


body > header > nav > ul > li > ul
{
    display: none;
    list-style: none;
    padding: 0;
    width: 96%;
    margin: 0;
    padding: 40px 2%;
    background: #05407b;
}

body > header > nav > ul > li > ul a 		{ color: #fff; }
body > header > nav > ul > li:hover > ul > li,
body > header > nav > ul > li > ul a:hover 	{ color: #43aac0; }

body > header > nav > ul > li:hover > ul
{
    display: flex;
    position: absolute;
    left: 0;
}

body > main > section
{
    color: rgb(92 101 107);
    padding: 0 2rem 1rem;
}

body > main > section > header
{
    font-size: 2.2rem;
    /*padding-bottom: 2rem;*/
    font-weight: bolder;
}

h2, h3, h4 {
    font-weight: 100;
    letter-spacing: -.025em;
    color:rgb(64 64 64)
}


body > main > section > header > h2 {
    font-size: 1.15em;
    color: rgb(92 101 107);
}


body > main.padding
{
    padding: 1rem 2.5rem;
}

section.info
{
    height: 280px;
    background: #2b5d92;
    padding: 40px 2%;
    width: 96%;
}

footer > section.info
{
    background: #133455;
}

footer > section.info > nav
{
    border-bottom: 1px solid rgb(44 73 103);
    padding-bottom: 2rem;
	margin-bottom: 2rem;
}

footer .contacts
{
	display: flex;
	flex-flow: row wrap;	
}

footer > section > .contacts > header
{
	width: 100%;
	color: #a4a2aa;
	font-size: 1rem;
    text-transform: uppercase;
    font-weight: bold;
    margin-bottom: 2rem;	
}
footer > section >.contacts > div
{
	display: flex;
    align-items: center;
}

footer > section >.contacts > div:not(:last-child)
{
	margin-right:2rem;
}

footer > section >.contacts > div:before
{
	color: #a4a2aa;
	font-family: icons;
	margin-right:.5rem;
	font-size: 1.5rem;
}

footer > section >.contacts > div.phone:before
{
	content: '\E942';
}

footer > section >.contacts > div.mail:before
{
	content: '\E945';
}

footer > section >.contacts > div.contact:before
{
    content: '\E96E';
}


footer > section >.contacts > div.phone > a,
footer > section >.contacts > div.mail > a,
footer > section >.contacts > div.contact > a
{
	color: white;
	text-decoration: none;
	font-size:1.5rem;
    cursor: pointer;
}
footer > section >.contacts > div.contact > a
{
    color: #81d6e9;
}

section.info > header
{
    color: #bfbdc6;
    /*margin: 22px 0 16px;*/
    font-size: 2rem;
    line-height: 1.3em;
}

section.info > article
{
    font-weight: 800;
    color: #fff;
    font-size: 1.2rem;
}

section.info > nav > ul
{
    list-style: none;
    display: flex;
    color: #fff;
    margin:0;
    padding:0;
}

section.info > nav > ul > li:not(:first-child):before
{
    content: '——';
    display: inline-block;
    color: #a4a2aa;
    margin: 0 1.5rem;
}

section.info > nav > ul a {  color: #a4a2aa; }

ul.cards
{
    display: flex;
    flex-flow: row wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

ul.cards > li 
{
    background: #fff;
    border-radius: 4px;
    text-align: left;
    margin-bottom: 20px;
    display: inline-block;
    padding:1rem;
    /*max-width: 26.25rem;*/
    max-width: calc(100% / 3 - 3rem);
    margin-right: 1rem;
}

ul.cards > li > img
{
	width:100%;
	max-width:100%;
}

.accepted
{
    background-color: #255925;
    border-radius: .25rem;
    color: darkseagreen;
    font-weight: bold;
    margin: 0;
    padding: .5rem 1rem;
    width: fit-content;
}

.rejected
{
    background-color: #461313;
    border-radius: .25rem;
    color: #b96464;
    font-weight: bold;
    margin: 0;
    padding: .5rem 1rem;
    width: fit-content;
}

ul.cards > li > article > a { text-decoration: none; color: rgb(64 64 64); }

#top-menu-select, label[for=top-menu-select] {
    display: none;
}

label[for=top-menu-select]:after {
    content:'≡';
}

@media screen and (max-width:40rem) {
    body {margin: 0 auto; max-width:40rem;}

    body >  header > nav {
        display:none;
    }

    footer > section > nav > ul
    {
        flex-flow: column;
        font-size: 1.25rem;
    }
    footer > section > nav > ul > li {
        margin-left: 1.5rem;
        margin-bottom: 1.25rem;
    }
    footer > section > nav > ul > li:not(:first-child):before {
        display: none !important;
    }

    footer .contacts
    {
        flex-flow: column;
        padding: 0 1.5rem;
    }
    footer section.info
    {
        height:auto;
        margin: 0;
    }

    ul.cards
    {
        flex-flow: column;
    }

    ul.cards > li {
        max-width: 100%;
        margin-right: 0;
    }

    text > img, text > div,  text > div > iframe {
        clear: both !important;
        max-width:100% !important;
        width:100% !important;
        margin-bottom: 1rem;
    }

    text > div
    {
        flex-flow: column!important;
    }

    text > div > ul
    {
        width:80%!important;
    }

    #logo {
        flex-grow: 2;
    }

    label[for=top-menu-select] {
        display: block;
        font-size: 4.5rem;
        color: white;
        margin-right: 1rem;
        line-height: 4.5rem;
        align-self: center;
    }

    footer > section >.contacts > div:not(:last-child)
    {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    input#top-menu-select:checked + label:after {
        content: '✕';
        font-size: 3rem;
        font-weight: bold;
        color: rgb(200 200 200);
    }

    input#top-menu-select:checked + label + nav
    {
        display: block;
        flex-flow: column;
        position: absolute;
        top: 9rem;
        left: 1px;
        right: 1px;
        z-index: 100;

    }

    body > header > nav > ul
    {
        flex-flow: column;
        background: #133455;
        margin:0;
        padding: 0;
    }

    body > header > nav > ul > li:not(:last-child)
    {
        border-bottom: 1px solid rgb(44 73 103);
    }


}
