/*@import url('//fonts.googleapis.com/css?family=PT+Sans+Caption:400,700|PT+Sans:400,400i,700,700i|PT+Serif+Caption:400,400i|PT+Serif:400,400i,700,700i&subset=cyrillic-ext,latin-ext');*/

body{
    font-family: 'Open Sans', sans-serif;
}

img{
  max-width: 100% !important;
}

@font-face {
  font-family: 'icomoon';
  src:  url('../fonts/icomoon-o6rclp.eot');
  src:  url('../fonts/icomoon-o6rclp.eot#iefix') format('embedded-opentype'),
    url('../fonts/icomoon-o6rclp.ttf') format('truetype'),
    url('../fonts/icomoon-o6rclp.woff') format('woff'),
    url('../fonts/icomoon-o6rclp-icomoon.svg') format('svg');
  font-weight: normal;
  font-style: normal;
}

[class^="icon-"], [class*=" icon-"] {
  /* use !important to prevent issues with browser extensions that change fonts */
  font-family: 'icomoon' !important;
  speak: none;
  font-style: normal;
  font-weight: normal;
  font-variant: normal;
  text-transform: none;
  line-height: 1;

  /* Better Font Rendering =========== */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.icon-quotes-left:before {
  content: "\e977";
}
.icon-quotes-right:before {
  content: "\e978";
}
.icon-google-plus:before {
  content: "\ea8b";
}
.icon-facebook:before {
  content: "\ea90";
}
.icon-twitter:before {
  content: "\ea96";
}
.icon-vk:before {
  content: "\ea98";
}
.icon-youtube:before {
  content: "\ea9d";
}



.navbar-text{
    font-size: 1.2rem;
}

.navbar-text a{
    text-decoration: none !important;
}

.navbar-text a:hover{
    opacity: .7;
}

*,*:before,*:after{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}




.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6{
    font-family: 'Playfair Display', serif;
}

div#footer {
    padding: 20px 5%;
    color: #FFF;
    text-align: center;
}

.bg-quote{
    background-color: #780000 !important;
}

.bg-navfooter{
    background: url(../img/navBG.png) !important;
}

a, a:visited{
    color: #780000;
    text-decoration: underline;
}

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

a > blockquote{
    color: #FFF;
}

a:hover > blockquote{
    /*color: #ffdcdc;*/
    opacity: .8;
}

a.btn-primary{
    color: inherit;
    text-decoration: inherit;
}

.badge{
    font-weight: 400 !important;
}

article{
    font-family: 'Open Sans', sans-serif !important;
    font-size: 1.05rem;
}

article blockquote{
  font-size: 1.5rem !important;
  line-height: 1.2em;
  /*font-weight: bold  !important;*/
  width: 70%;
  margin: 2rem auto;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  position: relative;

}

article blockquote:before{
  font-size: 4rem !important;
  font-family: 'Playfair Display', serif;
  color: #780000;
  font-style: italic;
  font-weight: bold;
  content: "«";
  position: absolute;
  left: -3.5rem;
  top: 0;
}

article blockquote:after{
  font-size: 4rem !important;
  font-family: 'Playfair Display', serif;
  color: #780000;
  font-style: italic;
  font-weight: bold;
  content: "»";
  position: absolute;
  right: -3.5rem;
  bottom: 0;

}

article p.instant-caps{
font-family: 'Open Sans Condensed', sans-serif;
  font-size: 1.5rem !important;
  width: 70%;
  margin: 2rem auto;
  font-style: normal;
  text-transform: uppercase;
  font-weight: bold;
  line-height: 1.1em;
  text-align: center;
  position: relative;
  border: 0;
  color: inherit;
}



article p:first-of-type:first-letter {
  font-family: 'Open Sans Condensed', sans-serif;
    font-size: 5rem; 
    line-height: 4rem;
    font-weight: bold;
    float: left; 
    vertical-align: top;
    margin: 0 7px 5px 0;
    padding: 0;

   }



article h1,article h2,article h3,article h4,article h5,article h6{
    font-family: 'Open Sans', sans-serif !important;
    /*font-size: inherit;*/
}


.list-group a{
    color: inherit;
    text-decoration: none;
}

.label h3{
font-family: 'Open Sans', sans-serif !important;
font-weight: bold;
font-size: 1rem;
}

.container{
    margin: 1rem auto;
}

.card blockquote, .card footer{
    font-family: 'Playfair Display', serif !important;
}


.bg-black{
    background-color: #000;
}

.navbar-nav .nav-item{
    font-family: 'Open Sans', sans-serif !important;
    font-size: 0.9375em;
    /*line-height: 40px;    */
    text-transform: uppercase;

}

.navbar-dark .navbar-nav .nav-link{
    color: #ffffff;
}

.navbar-dark .navbar-nav .nav-link:focus, .navbar-dark .navbar-nav .nav-link:hover{
    color: #ffffff;
    text-decoration: none;
}

.navbar-dark .navbar-nav .active>.nav-link, .navbar-dark .navbar-nav .nav-link.active, .navbar-dark .navbar-nav .nav-link.show, .navbar-dark .navbar-nav .show>.nav-link{
    color: #7a7a7a;
}

#carouselExampleSlidesOnly .h4{
  text-shadow: 1px 1px 2px black, 0 0 1em black; /* Параметры тени */
}

#carouselExampleSlidesOnly .h4 span{
  text-shadow: none !important; /* Параметры тени */
}

.grid a {text-decoration: none;}
.grid {margin: 0 auto;}
.grid-sizer, .grid-item { width: 32%; }
.grid-item { margin-bottom: 0.75rem; display: inline-block;}


         @media screen and (max-width: 1200px) {
            .grid-sizer, .grid-item { width: 48%; }

         }



         @media screen and (max-width: 480px) {
            .grid-sizer, .grid-item { width: 100%; }

            .h4{
              font-size: 0.9375em;
            }
         }