/*
 * 1. GENERAL STYLES
 * 2. NAV
 * 3. FOOTER
*/


/* GENERAL STYLES */

* {
  box-sizing: border-box;
}

body {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
}

body > .container {
  background: url(../img/bg-big.jpg);
  background-size: 100% 100%;
  background-repeat: no-repeat;
}

section {
  padding: 20px 0;
}

.text-primary {
  color: #9DBC3C;
  font-family: 'Encode Sans Expanded', sans-serif;
}

a.text-primary:hover {
  color: #EB3CF5 !important;
}

.text-secondary {
  color: #EB3CF5;
  font-family: 'Encode Sans Expanded', sans-serif;
}

.btn {
  text-transform: uppercase;
  font-family: 'Encode Sans Expanded', sans-serif;
  background: transparent;
  font-weight: bold;
  transition: all 150ms ease-in-out;
}

.btn.center-block {
  margin: 0 50px;
}

.btn:hover {
  color: #fff !important;
}

.btn-primary {
  color: #9DBC3C;
  border-color: #9DBC3C !important;
}

.btn-primary:hover, .btn-primary:active, .btn-primary:focus, .btn-primary.active {
  color: #fff !important;
  background: #9DBC3C !important;
}

.btn-secondary {
  color: #EB3CF5;
  border-color: #EB3CF5 !important;
}

.btn-secondary:hover, .btn-secondary:active, .btn-secondary:focus, .btn-secondary.active  {
  color: #fff !important;
  background: #EB3CF5 !important;
}

/* NAV */

nav {
  position: relative;
  padding: 15px 0;
  margin: 1em 0 3em;
  width: 100%;
  background: #4b4b4d;
  border-radius: 10px;
}

@media (min-width: 992px) {
  nav {
    width: 550px;
  }
}

nav:after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: 50px;
  border-width: 20px 0 0 20px;
  border-style: solid;
  border-color: #4b4b4d transparent;
  display: block;
  width: 0;
}

nav.none {
  margin-top: 50px;
}

nav.none:after {
  content: none;
}

nav ul {
  margin: 0 0;
  padding-left: 20px;
}

nav.none ul {
  padding-left: 10px;
}

nav ul li {
  display: inline-block;
  text-transform: uppercase;
}

nav ul li:after {
  content: '/';
  display: inline-block;
  color: #EB3CF5;
  margin-left: 5px;
  margin-right: 5px;
}

nav ul li:last-child:after {
  content: none
}

nav ul li a {
  color: #fff;
  font-family: 'Encode Sans Expanded', sans-serif;
  text-decoration: none !important;
}

nav ul li a:hover {
  color: #EB3CF5;
}

nav:hover {
  animation: none;
}

/* FOOTER */

footer {
  background-color: #F5F5F5;
}

footer .btn-primary:hover {
  color: #F5F5F5 !important;
  background: #9DBC3C !important;
}

footer #logo_box {
  display: inline-block;
  padding: 20px 20px 0 20px;
}

footer .logo {
  max-height: 50px;
  position: relative;
  top: -10px;
}

footer .social {
  list-style: none;
}

footer .social li {
  display: inline-block;
}

footer a, footer a:hover {
  color: #EB3CF5
}

footer .fa-facebook-official {
  color: #3b5998;
}

footer .fa-twitter-square, footer .fa-envelope {
  color: #1da1f2 !important;
}

footer .fa-google-plus-square {
  color: #d34836;
}

footer input.form-control, footer textarea.form-control {
  background: transparent ;
  border-width: 3px;
  padding: 20px 15px;
  font-size: 1.1em;
}

footer textarea.form-control {
  resize: none;
}

footer .contacts p {
  font-size: 1.1em;
}

footer .contacts p a {
  font-family: 'Encode Sans Expanded', sans-serif;
}

footer .newsletter {
  padding-top: 35px;
}

footer input.form-control, footer textarea.form-control {
  background: #fff;
  padding: 6px 12px;
  color: #555;
  border: 1px solid #ccc;
}

footer .newsletter input.form-control::placeholder, footer .newsletter textarea.form-control::placeholder {
  color: #555;
}

#news_box {
  max-height: 405px;
  overflow-y: scroll;
  width: 100%
}

.news {
  border-bottom: 1px solid #555;
  display: flex;
  justify-content: space-between;
  padding: 5px;
}

.news:last-of-type {
  border: none;
  padding-bottom: 0;
}

.news * {
  text-decoration: none;
}

.news div:first-child {
  width: 100px;
}

.news div:last-child {
  width: calc(100% - 135px)
}

.news img {
  width: 125px;
  height: 125px;
  object-fit: cover;
}

.news h4 {
  font-size: 1.1em;
  font-family: 'Encode Sans Expanded', sans-serif;
}

.news h4, .news p {
  margin: 0 0 10px 0;
}

.news p {
  margin-bottom: 10px;
  font-size: .95em;
  min-height: 60px;
  color: #555;
}

.news a {
  font-size: .9em;
}

.news small {
  float: right;
}

#sidebar_search .form-group.split > div {
  padding: 0;
}

#sidebar_search .form-group.split > div:first-of-type {
  padding-right: 15px;
}

#sidebar_search .form-group.split > div:last-of-type {
  padding-left: 15px;
}

#sidebar_search .form-group.split label {
  cursor: pointer;
}
