
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "HeliosC", "Open Sans", sans-serif;
  color: #313030;
    background: linear-gradient(90deg, #fce8cf, #eadcc5);
}


a {
  color: #ff5821;
  text-decoration: none;
}

a:hover {
  color: #ff7e54;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "HeliosC", "Raleway", sans-serif;
}

.h-red {
  color: #e83f37;
}

.scrolled-offset {
  margin-top: 125px;
}

#main {
  z-index: 3;
}


@font-face { font-family: HeliosC; src: url(fonts/44-font.otf); }
@font-face { font-family: BastionKontrastAltC; src: url(fonts/Bastionkontrastaltc.otf); }
@font-face { font-family: BastionKontrastAltCRegular; src: url("fonts/BastionKontrastAltC Regular.otf"); }

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 23px;
  z-index: 996;
  background: #e83f37;
  width: 40px;
  height: 40px;
  border-radius: 4px;
  transition: all 0.4s;
}
.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}
.back-to-top:hover {
  background: #ff774a;
  color: #fff;
}
.back-to-top.active {
  visibility: visible;
  opacity: 1;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  z-index: 997;
}
#header.header-fixed {
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
}
#header .logo h1 {
  font-size: 28px;
  margin: 0;
  line-height: 0;
  font-weight: 700;
  font-family: "Open Sans", sans-serif;
}
#header .logo h1 a, #header .logo h1 a:hover {
  color: white;
  text-decoration: none;
}
#header .logo img {
  padding: 0;
  margin: 0;
  max-height: 40px;
}

/* === MAY9.KALUGA.RU === */
#header h1 {
  margin: 0;
  margin-left: 20px;
  font-family: BastionKontrastAltC;  
}
#header {
  background: url("/img/op45-hdr-11.png") center;
  height: 80px;
}
#header h1 span {
  display: none;
}
#header h1 {
  line-height: 1.8rem;
}
#header h1 a,#header h1 a:hover {
  color: white;
}
@media (min-width: 575px) {
  #header {
    background: url("/img/op45-hdr-10.png") center no-repeat;
    height: 80px;
  }
}
@media (max-width: 768px) {
  #header h1 {
    margin-left: 10px !important;
    font-size: 1.6rem;
  }  
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar-45 {
  padding: 0;
}
.navbar-45 {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  height: 45px;
}
.navbar-45 ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
  height: 30px;
}
.navbar-45 li {
  position: relative;
  padding: 10px 0 10px 0px;
}
.navbar-45 a:hover, .navbar-45 .active, .navbar-46 .active:focus, .navbar-45 li:hover > a {
  color: #fff;
  text-decoration: underline;
}
.navbar-45 a, .navbar-45 a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
/*  padding: 10px 0 10px 30px; */
  font-size: 16px;
  font-family: "Poppins", sans-serif;
  color: #fff;
  white-space: nowrap;
  transition: 0.3s;
}

.header-navbar-45 {
  position:fixed;
  background: #e83f37;
  z-index: 100;
  width: 100%;
  border-bottom: solid white 0px;
  box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
  display: flex;
  justify-content: center;
  top:80px;
}
@media screen and (max-width: 768px) {
  .navbar-45 a, .navbar-45 a:focus {
    font-size: 0.9rem;
  }
}

/*--------------------------------------------------------------
# Values
--------------------------------------------------------------*/
.values .card {
  border: 0;
  position: relative;
  width: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center center;
}
.values .card-body {
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  padding: 15px 30px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  transition: ease-in-out 0.4s;
}
.values .card-title {
  font-weight: 600;
  margin-bottom: 15px;
  font-size: 1.2rem;
}
.values .card-title a {
  color: #473d3a;
}
.values .card-text {
  color: #4b4949;
}
.values .read-more a {
  color: #656262;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 12px;
  transition: 0.4s;
}
.values .read-more a:hover {
  text-decoration: underline;
}
.values .card:hover .card-body {
  background: #e83f37;
}
.values .card:hover .read-more a, .values .card:hover .card-title, .values .card:hover .card-title a, .values .card:hover .card-text {
  color: #fff;
}
/* === MAY9.KALUGA.RU === */
#values .list-title {
  margin: 0 0 40px 0;
  padding: 20px;
  background: #e83f37;
  color: white;
  text-align: center;
}
#values .list-title h2 {
  font-size: 2.4rem;
  margin: 0;
}
#values .content {
  padding: 25px;
  margin-bottom: 40px;
  margin-top: -10px;
  background: #f3e7d9;
  font-family: HeliosC;
}
#values .content h2 {
  color: #e83f37;  
  margin-bottom: 30px;
}
#values .content a {
  color: #e83f37;
  text-decoration: underline;
}
#values .card-body a {
  word-wrap: initial;
}
@media screen and (max-width: 768px) {
  #values .list-title h2 {
    font-size: 1.3rem;
  }
  #values .content h2 {
    font-size: 1.3rem;
  }
  .poetry {
      font-size: x-small;
  }
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  color: #313030;
  font-size: 14px;
  background: #fff;
}
#footer .credits {
  padding-top: 5px;
  font-size: 13px;
  color: #313030;
}
#footer .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #e83f37;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}
#footer .social-links a:hover {
  background: #ff7e54;
  color: #fff;
  text-decoration: none;
}
section.breadcrumb_ {
  padding: 30px 0 0 0;
}
.justify-content-flex-start {
  justify-content: flex-start!important;
}
#topbar .form-control-sm {
  font-size: 0.7rem;
}


@media (min-width: 992px) {
  #header {
    background: url("/img/op45-hdr-09.png") center !important;
    height: 200px !important;
  }
  #main {
    /*background: url(/img/op45-background-1024.webp) no-repeat center 100px fixed;*/
    background: url(/img/maket_1.jpg) no-repeat center bottom fixed; 
  }
  .scrolled-offset {
    margin-top: 245px;
  }  
  #header h1 {
    font-size: 3.3rem;
    line-height: 46px !important;
  }
  #header h1 span {
    display: block;
  }
  .header-navbar-45 {
    top: 200px !important;
  }  
}



#main {
  background-color: #ffffff77;
  background: url(/img/op45-background-1024.webp) no-repeat center 40px fixed; 
  background-size: cover; 
}
#values .container {
  background: #e8c8a677;
  padding: 27px;
  max-width: 1294px;
}
.card-img-top {
  height: 300px;
  background-size: cover !important;
  background-repeat: no-repeat !important;
  filter:grayscale(0);
}

.card:hover .card-img-top {
  filter: grayscale(0);
}

.no-image img.card-img-top {
  display: none;
}

.col-lg-3.mb-5.no-image {
  margin: auto;
}



@media (min-width: 1340px) {
  .card-img-top {
    height: 300px !important;
  }
}

@media (min-width: 575px) {
  .card-img-top {
    height: 300px;
    filter: grayscale(1);
  }
}

.social-links {
  padding-right: 30px;
}


#veteran .container {
  background: #fffe;
  padding: 27px;
  width: 80%
}
#veteran img.veteran-photo {
  width: 30%;
  float: left;
  margin: 0 20px 20px 0;
  background-size: cover !important;
}
#veteran .veteran-story {
  font-family: HeliosC;
  font-size: 12pt;
}
#veteran h2 {
  font-family: "HeliosC", sans-serif;
  font-weight: bold;
  color: #e83f37;
  margin-bottom:20px;
}
#veteran .veteran-story ul {
  list-style-position: inside;
}
#veteran .list-title h2 {
  margin: 0 0 40px 0;
  padding: 20px;
  background: #e83f37;
  color: white;
  text-align: center;
  font-weight: normal;
}
@media (max-width: 768px) {
  #veteran .list-title h2 {
    font-size: 1.1rem;
  }
}
.card-nodsc .card-body h5 {
  color:#666;
}