:root {
  --color-blue: #1c2847;
  --color-header: #1c2847;
  --color-footer: #1c2847;
  --main-page-background: #d0c5c57a;
  --color-primary: #1c2847;
  --color-primary-active: #11182c;
  --color-department-name-header: #800000;
  --color-hover: #ffb049;
}

.yellow {
  background: #FDD600 !important;
}

.main-page-background {
  background: unset !important;
  width: calc(100% + 2rem) !important;
  height: calc(100% + 2rem) !important;
  top: 0;
  left: 0;
  margin-left: -1rem;
  margin-top: -1rem;
  font-family: Arial, Helvetica, sans-serif;
  padding-top: 50px;
  min-height: 400px;
}

@media screen and (max-width: 991px) {
  .main-page-background {
    width: 100%;
    min-height: 300px;
    padding-left: 20px;
  }
}

@media screen and (max-height: 360px) {
  .main-page-background {
    padding-top: 10px;
  }
}

.main-page-background .top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background: var(--color-primary);
  max-width: 1000px;
  width: 70%;
  position: relative;
  padding: 0.7rem;
  box-sizing: border-box;
}

@media screen and (max-width: 991px) {
  .main-page-background .top {
    width: 100%;
    padding-left: 20px;
  }
}

@media screen and (max-width: 360px) {
  .main-page-background .top {
    width: calc(100% + 2rem) !important;
    margin-left: -2rem;
    padding-left: 20px;
  }
}

@media screen and (max-height: 360px) {
  .main-page-background .top {
    width: calc(100% + 2rem) !important;
    margin-left: -2rem;
    padding: 10px 10px 0 10px;
  }
}

.main-page-background .top .logo {
  height: 100px;
  margin: 0 auto;
}

.main-page-background .top h1 {
  color: white;
  font-weight: normal;
  font-size: 2.3em;
  margin: 5px;
  word-break: inherit;
  z-index: 2;
}

.main-page-background .top .triangle {
  width: 50px;
  height: 100%;
  position: absolute;
  right: -50px;
}

@media screen and (max-width: 991px) {
  .main-page-background .top .triangle {
    display: none;
  }
}

.main-page-background .background-logo {
  position: absolute;
  bottom: 0.1rem;
  left: 0.5rem;
  height: 170px;
  z-index: 1;
}

@media screen and (max-width: 991px) {
  .main-page-background .background-logo {
    bottom: 0.1rem;
    left: 1rem;
    height: 100px;
  }
}

@media screen and (max-width: 500px) {
  .main-page-background .background-logo {
    bottom: 0.1rem;
    left: 1rem;
    height: 70px;
  }
}

.main-page-background .info {
  font-size: 2.3em;
  margin: 100px 0 0 150px;
  padding-bottom: 100px;
  position: relative;
  z-index: 2;
}

@media screen and (max-width: 991px) {
  .main-page-background .info {
    margin: 50px 0 0 5%;
    font-size: 2em;
  }
}

.main-page-background .info h2 {
  color: #23375a;
  font-weight: normal;
  font-size: 1em;
  margin: 5px;
  word-wrap: break-word;
}

.main-page-background .info ul li {
  list-style-type: none;
  position: relative;
  padding: 20px;
  margin-left: 70px;
}

@media screen and (max-width: 991px) {
  .main-page-background .info ul li {
    padding: 10px;
    margin-left: 50px;
    line-height: 1.2em;
  }
}

.main-page-background .info ul li:before {
  content: "";
  display: block;
  width: 40px;
  height: 40px;
  border: 2px solid black;
  position: absolute;
  left: -50px;
}

@media screen and (max-width: 991px) {
  .main-page-background .info ul li:before {
    width: 30px;
    height: 30px;
    left: -30px;
  }
}

.main-page-background .info ul li:after {
  content: "";
  display: block;
  width: 40px;
  height: 20px;
  border-bottom: 7px solid #37d309;
  border-left: 6px solid #37d309;
  position: absolute;
  transform: rotate(-45deg);
  top: 15px;
  left: -42px;
}

@media screen and (max-width: 991px) {
  .main-page-background .info ul li:after {
    width: 30px;
    height: 15px;
    top: 10px;
    left: -25px;
  }
}

@media screen and (max-width: 850px) {
  .main-page-background > div:last-child {
    width: 100%;
  }
}

@media screen and (max-width: 600px) {
  .main-page-background > div:last-child {
    bottom: 30px !important;
  }
}

footer .ui.inverted.banner {
  background-color: var(--main-page-background);
  background-image: none !important;
}

footer .bottom-banner img {
  height: 60px;
}

@media screen and (max-width: 991px) {
  footer .bottom-banner img {
    height: unset;
    width: 80% !important;
  }
}

.main-content {
  display: flex;
  flex-direction: column;
}

.enabor-layout-column {
  height: 100%;
  overflow-y: auto !important;
  flex: 1 0 auto !important;
}

.content-container .ui.blue.button {
  background-color: var(--color-blue) !important;
}

.content-container .ui.blue.header {
  color: var(--color-primary) !important;
}

body .button:hover,
body .button.active,
body a:hover,
body .active.item,
body .ui.inverted.menu .active.item,
body .ui.menu .active.item {
  color: var(--color-hover) !important;
  background-color: var(--color-primary-active) !important;
}

body .ui .menu {
  border-radius: 0 !important;
}

@media only screen and (max-width: 1050px) {
  body .ui.bottom.attached.segment.pushable > #right-sidebar a.item {
    color: black !important;
  }
  body .ui.bottom.attached.segment.pushable > #right-sidebar .button:hover,
  body .ui.bottom.attached.segment.pushable > #right-sidebar .button.active,
  body .ui.bottom.attached.segment.pushable > #right-sidebar a:hover,
  body .ui.bottom.attached.segment.pushable > #right-sidebar .active.item,
  body .ui.bottom.attached.segment.pushable > #right-sidebar .ui.menu .active.item {
    color: var(--color-hover) !important;
    background-color: var(--color-primary-active) !important;
  }
}

