* {
  box-sizing: border-box;
}
html {
  font-family: "Verdana", "Trebuchet MS", "Monaco CY", sans-serif;
}

body {
  padding: 10px;
  background: #f1f1f1;
}

/*link a */

a {
  text-decoration: none;
}
a.rubrika:link {
  color: #000000;
}
a.rubrika:visited {
  color: #000000;
}
a.rubrika:active {
  color: #000000;
}
a.rubrika:hover {
  color: #f41717;
}
/* Header/Blog Title */
.header {
  text-align: center;
  background: white;
}

iframe {
  max-width: 100%;
  display: block;
  margin: 0 auto;
  margin-top: 20px;
  margin-bottom: 20px;
}
.header h1 {
  font-size: 50px;
}

h4.hd {
  text-transform: uppercase;
}

/* Style the top navigation bar */
.topnav {
  overflow: hidden;
  background-color: #333;
}

/* Style the topnav links */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

/* Change color on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}
/*Добавьте активный класс, чтобы выделить текущую страницу*/
.topnav a.active {
  background-color: #4caf50;
  color: white;
}

/* Скрывает ссылку, которая должна открывать и закрывать topnav на маленьких экранах */
.topnav .icon {
  display: none;
}

/* Create two unequal columns that floats next to each other */
/* Left column */
.leftcolumn {
  float: left;
  width: 75%;
}

/* Right column */
.rightcolumn {
  float: left;
  width: 24%;
  background-color: #f1f1f1;
  padding-left: 20px;
}

/* Image */
.image {
  max-width: 75%;
  display: block;
  margin: 0 auto;
}
.imageheader {
  max-width: 100%;
  display: block;
  margin: 0 auto;
}

.imagekarjera {
  max-width: 50%;
  display: block;
  margin: 0 auto;
}
/* Image */

/* Fake image */
.fakeimg {
  background-color: #aaa;
  width: 100%;
  padding: 20px;
}
/*image kontakti*/
.responsive {
  max-width: 150px;
  height: auto;
  float: left;
  padding: 10px;
  margin-right: 20px;
}
.responsive2 {
  max-width: 250px;
  height: auto;
  float: left;
  padding: 10px;
  margin-right: 20px;
}
/* Add a card effect for articles */
.card {
  background-color: white;
  padding: 20px;
  margin-top: 20px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - when the screen is less than 800px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 800px) {
  .leftcolumn,
  .rightcolumn {
    width: 100%;
    padding: 0;
  }
}
/* Если ширина экрана меньше 800 пикселей, скрыть все ссылки, кроме первой. Показать ссылку, которая должна открывать и закрывать topnav (.icon) */
@media screen and (max-width: 800px) {
  .topnav a:not(:first-child) {
    display: none;
  }
  .topnav a.icon {
    float: right;
    display: block;
  }
}
/* при помощи JavaScript когда нажимаешь на иконку все поля выстраиваются один под одним горизонтально*/
@media screen and (max-width: 800px) {
  .topnav.responsive {
    position: relative;
  }
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}
/* Responsive layout - when the screen is less than 400px wide, make the navigation links stack on top of each other instead of next to each other */
@media screen and (max-width: 400px) {
  .topnav a {
    float: none;
    width: 100%;
  }
}

.row::after {
  content: "";
  clear: both;
  display: table;
}

[class*="col-"] {
  float: left;
  padding: 15px;
}

.menu ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.menu li {
  padding: 8px;
  margin-bottom: 7px;
  background-color: red;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  text-decoration: none;
  text-align: center;
}

.menu li:hover {
  background-color: grey;
}
.menu a {
  color: #ffffff;
  text-decoration: none;
  text-align: center;
}
.konline {
  display: block;
  float: left;
  width: 100%; 
 background-color:red;   
 height: 2px;
}
hr {
  display: block;
  float: left;
  width: 100%;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  margin-left: auto;
  margin-right: auto;
  border-style: inset;
  border-width: 1px;
}
.footer {
  background-color: #333;
  color: #ffffff;
  text-align: center;
  font-size: 12px;
  padding: 10px;
  margin-top: 5px;
  width: 100%;
}
