@import url('https://fonts.googleapis.com/css?family=Open+Sans+Condensed:300');
/* @import url("http://fonts.fontstorage.com/import/eurofurence.css"); */

@font-face {
    font-family: 'Eurofurence';
    src: local('eurofurence  regular'), local('Eurofurenceregular'), url('300.woff2') format('woff2'), url('400.woff') format('woff');
    font-weight: 400;
    font-style: normal;
}

html {
    font-size: 110%;

    /* по умолчанию в браузере - 16px */
}

body {
    background-color: rgba(245, 245, 245, 1);
    padding: 0;
    margin: 0;

    font-family: "Open Sans Condensed", sans-serif;
    overflow-y: scroll;
    /* убираем "дерганье" при появлении прокрутки*/
    font-size: 1.4rem;
    /* шрифты в rem относятся к корневому элементу html, для увеличения нужно просто поменять базовое */
}


/* можно обойтись и без main, он нужен для общих отступов и фона */

#main {
    background-color: rgba(245, 245, 245, 1);
    max-width: 1600px;
    /* Ограничим максимальную ширину, чтоб на FullHD и 4К не разъезжалось*/
    width: 100%;
    margin: 0px auto 0px auto;
    /* выровняем по центру */
}

#header {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
}

#contacts {
    background-color: rgba(63, 108, 163, 0.5);
    text-align: center;
    padding: 0 5px 0 5px;
    color: white;
}

.contacts_item {
    display: inline-block;
    line-height: 3.5rem;
    padding: 0 1rem 0 1rem;
}

#d12 {
    background-color: rgba(79, 135, 204, 0.5);
    text-align: center;
    padding: 1.5rem 5px 0rem 5px;
    font-size: 6rem;
    font-family: 'Eurofurence';
    line-height: 90%;
}

#d13 {
    background-color: rgba(79, 135, 204, 0.5);
    padding: 1rem 5px 1rem 5px;
}

#d14 {
    background-color: rgba(79, 135, 204, 0.5);
    padding: 1rem 5px 1.3rem 5px;
}

#d2 {
    background-color: rgba(245, 245, 245, 1);
    text-align: center;
    font-size: 1.6rem;
    color: rgba(50, 50, 50, 1);
    padding: 1.5rem 0 0.5rem 0;
}

#menu {
    margin: 0 auto 0 auto;
    width: 96%;
    background-color: rgba(20, 61, 112, 0.5);
    text-align: center;
}

#particles-js {
    top: 0px;
    left: 0px;
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgb(16, 60, 114);
}
#particles-js1 {
    top: 0px;
    left: 0px;
    z-index: -1;
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgb(16, 60, 114);
}
#mapid { 
    margin: 1rem auto 1rem auto;
    width: 90%;
    height: 780px;
    }

#d5 {
    background-color: rgba(245, 245, 245, 1);
    text-align: center;
    font-size: 1.6rem;
    color: rgba(50, 50, 50, 1);
    padding: 2rem 0 0.5rem 0;
}

#d8 {
    background-color: rgba(245, 245, 245, 1);
    text-align: center;
    font-size: 1.6rem;
    color: rgba(50, 50, 50, 1);
    padding: 0.5rem 0 0.5rem 0;
}

#d6 {
    background-color: rgba(245, 245, 245, 1);
    text-align: left;
    font-size: 1.4rem;
    color: rgba(50, 50, 50, 1);
    padding: 1rem 0 1rem 0;
    width: 96%;
    margin: 0 auto 0 auto;
}

#d9 {
    background-color: rgba(245, 245, 245, 1);
    text-align: left;
    font-size: 1.4rem;
    color: rgba(50, 50, 50, 1);
    padding: 1rem 0 2rem 0;
    width: 96%;
    margin: 0 auto 0 auto;
}

#d10 {
    width: 100%;
    position: relative;
    z-index: 1;


}

#d101 {
   
    background-color: #2B5890;
    text-align: center;
    font-size: 1.4rem;
    color: rgba(240, 240, 240, 1);
    padding: 1rem 0 1rem 0;
    width: 100%;
    position: relative;
 
}



#d3 {
    background-color: rgba(245, 245, 245, 1);
    text-align: center;
    font-size: 1.6rem;
    color: rgba(50, 50, 50, 1);
    padding: 1rem 0 1rem 0;
}

#d4 {

    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
    margin: 0 auto 0 auto;
    width: 96%;
}

#d41 {

    background-color: rgba(63, 108, 163, 0.6);
    text-align: center;
    font-size: 1.6rem;
    color: rgba(250, 250, 250, 1);
    padding: 0.6rem 0 0.8rem 0;
}

#d51 {
    background-color: rgba(79, 135, 204, 0.6);
    text-align: center;
    font-size: 1.6rem;
    color: rgba(250, 250, 250, 1);
    padding: 1.5rem 0 1.5rem 0;
}

.s3,
.s51 {
    vertical-align: top;
    display: inline-block;
    /*чтоб выровнять по центру, достаточно указать line-height*/
    max-width: 28rem;
    text-align: left;
    padding: 1rem 2rem 1rem 2rem;
    font-size: 1.4rem;

}

.s3 img {
    width: 100%;
  
    
}

#d111 {
    background-color: rgba(63, 108, 163, 0.8);
    text-align: center;
    padding: 0.8rem 5px 0.9rem 5px;
    color: white;
}

#d112 {
    background-color: rgba(79, 135, 204, 0.8);
    text-align: center;
    padding: 4rem 5px 1rem 5px;
    font-size: 4rem;
    font-family: 'Eurofurence';
    font-weight: 100;
}

#d113 {
    background-color: rgba(79, 135, 204, 0.8);
    padding: 1rem 5px 1rem 5px;
}

.s141 {
    display: inline-block;
    line-height: 3.5rem;
    width: 7.5rem;
}

.s141:hover {
    background-color: rgba(33, 57, 85, 0.6);
    cursor: pointer;
    transition: all 0.5s ease;
}

.selected {
    background-color: rgba(33, 57, 85, 1);
    border: 0;
}

.underline {
    display: inline-block;
    line-height: 1;
    border-bottom: 1px solid rgba(240, 240, 240, 0.7);
}

.underlined {
    display: inline-block;
    line-height: 1;
    border-bottom: 1px solid rgba(50, 50, 50, 0.7);
}

.s111 {
    display: inline-block;
    padding: 0 1rem 0 1rem;
}

a {
    text-decoration: none;
    border-bottom: 1px solid;
    display: inline-block;
    line-height: 1;
}

a:visited {
    color: blue;
}


/* белые ссылки */

a.white {
    border-color: rgba(240, 240, 240, 0.7);
}

a.white:link {
    color: rgba(240, 240, 240, 1);
}

a.white:visited {
    color: rgba(240, 240, 240, 1);
}

a.white:hover {
    color: rgba(240, 240, 240, 1);
}


/* Класс для иконок */

.icon {
    display: inline-block;
    background-repeat: no-repeat;
    background-size: 100%;
    width: 1.1rem;
    height: 1.2rem;
}

.icon1 {
    background-image: url(ic_email_white.svg);
    margin-bottom: -0.2rem;
}

.icon2 {
    background-image: url(ic_phone_white.svg);
    margin-bottom: -0.1rem;
}

.icon3 {
    background-image: url(ic_viber_white.svg);
    margin-bottom: -0.1rem;
}

a[href$=jpg], a[href$=jpeg], a[href$=jpe], a[href$=png], a[href$=PNG], a[href$=gif] { text-decoration: none; border: 0 none; }

.news {
    background-color: rgba(48, 98, 159, 0.89);
    color: white;
    padding-left: 0.5rem;
  
}