@font-face {
    font-family: "RubFlama";
    src: url("../fonts/RubFlama-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "RubFlama";
    src: url("../fonts/RubFlama-Italic.ttf") format("truetype");
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: "RubFlama";
    src: url("../fonts/RubFlama-Bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "RubScala";
    src: url("../fonts/RUB%20Scala%20MZ.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "RubScala";
    src: url("../fonts/RUB%20Scala%20MZ%20Italic.ttf") format("truetype");
    font-weight: normal;
    font-style: italic;
}

@font-face {
    font-family: "RubScala";
    src: url("../fonts/RUB%20Scala%20MZ%20Bold.ttf") format("truetype");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "foundation-icons";
    src: url("../fonts/foundation-icons.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

html {
    /* background-color: #e7e7e7; */
    height: 100%;
}

body {
    color: #003560;
    background-color: white;
    font-family: "RubScala";
    max-width: 75%;
    box-sizing: border-box;
    padding: 2% 10% 5% 10%;
    margin: 0 auto 0 auto;
    /* border-left: 1px solid lightgrey; */
    /* border-right: 1px solid lightgrey; */
    min-height: 100%;
}

html, body, {
    position:fixed;
    top:0;
    bottom:0;
    left:0;
    right:0;
}

p {
    line-height: 1.5;
    hyphens: auto;
    text-align: justify;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: "RubFlama";
}

h1 {
  margin-bottom: 1.5em;
  
}

h2 {
  margin-top: 1.5em;
  
}


a {
    color: unset;
    text-decoration: none;
    border-bottom: 2px solid #8dae10;
    white-space: nowrap;
}

a img
{
  border: 0 none;
  border-bottom: none;
}

.image-link
{
  text-decoration: none;
  border-bottom: none;
}

a:visited {
    border-bottom: 2px solid grey;
}

a[href^="mailto:"]:before {
    content: "\f16d";
}

a[href^="tel:"]:before {
    content: "\f1f8";
}

a[href^="fax:"]:before {
    content: "\f19f";
}

a[href^="tel:"]:before,
a[href^="fax:"]:before,
a[href^="mailto:"]:before,
a[href^="http"]:not([href*="linguistics.ru"]):before {
    font-family: "foundation-icons";
    margin-right: 0.1em;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    text-decoration: none;
}

table tr th {
    font-weight: bold;
}

figure {
    margin: 1em;
}

.floatleft {
    float: left;
    margin-bottom: 1.5em;
}

.floatright {
    float: right;
}

.rub {
  margin-right: 1em;
  padding: 0 0 0 0;
  left: 1em;
  top: 6%;
  position:absolute;
  min-width: 50px;
  
}

#logo-wrapper {
  display: block;
  margin-top: 1.5em;
  margin-left: auto;
  margin-right: auto;
  display: table;
  
}

.logo {
  height: 2em;
  margin: 0 1em;
}


figcaption {
    text-align: center;
    font-weight: bold;
}
