/*!
 * Start Bootstrap - Creative v4.0.0-beta.2 (https://startbootstrap.com/template-overviews/creative)
 * Copyright 2013-2017 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-creative/blob/master/LICENSE)
 */
body,html {
    width: 100%;
    height: 100%
}

body {
    font-family: Merriweather,'Helvetica Neue',Arial,sans-serif
}

hr {
    border-color: #b3a47b;
    border-width: 4px;
    max-width: 488px;
}

hr.light {
    border-color: #fff
}

a {
    color: #3c2f09c2;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s;
    text-shadow: 0 0 5px white;
    font-weight: bold;
}

a:hover {
    color: #3c2f09c2
}

h1,h2,h3,h4,h5,h6 {
    font-family: 'Open Sans','Helvetica Neue',Arial,sans-serif
}

.bg-primary {
        background-color: #3c2f09c2!important;
}

.bg-dark {
    background-color: #6b6144!important;
}

.blacks {
    color: #6b6144 !important;

}

.slide {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.slideimg {
    height: 20vh;
    width: auto;
    margin-bottom: 2vmin;
    outline: white 12px solid;
}

.collageimg {
    width: 61vmax;
}

.text-faded {
    color: #f6e6e1;
}

section {
    padding: 2.8rem 0;
    background-image: url(../img/floor-tile.png);
    background-blend-mode: overlay;
    background-color: rgb(255 255 255 / 50%) !important;
}

.section-heading {
    margin-top: 0
}

::-moz-selection {
    color: #fff;
    background: #212529;
    text-shadow: none
}

::selection {
    color: #004085;
    background: #212529;
    text-shadow: none;
}

img::selection {
    color: #fff;
    background: 0 0
}

img::-moz-selection {
    color: #fff;
    background: 0 0
}

body {
    -webkit-tap-highlight-color: #212529
}

#mainNav {
    border-bottom: 1px solid rgba(33,37,41,.1);
    background-color: #fff;
    font-family: 'Open Sans','Helvetica Neue',Arial,sans-serif;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s
}

#mainNav .navbar-brand {
    font-weight: 700;
    text-transform: uppercase;
    color: #3c2f09c2;
    font-family: 'Open Sans','Helvetica Neue',Arial,sans-serif
}

#mainNav .navbar-brand:focus,#mainNav .navbar-brand:hover {
    color: #3c2f09c2
}

#mainNav .navbar-nav>li.nav-item>a.nav-link,#mainNav .navbar-nav>li.nav-item>a.nav-link:focus {
    font-size: .9rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #212529
}

#mainNav .navbar-nav>li.nav-item>a.nav-link:focus:hover,#mainNav .navbar-nav>li.nav-item>a.nav-link:hover {
    color: #3c2f09c2
}

#mainNav .navbar-nav>li.nav-item>a.nav-link.active,#mainNav .navbar-nav>li.nav-item>a.nav-link:focus.active {
    color: #000000c2!important;
    background-color: transparent;
}

#mainNav .navbar-nav>li.nav-item>a.nav-link.active:hover,#mainNav .navbar-nav>li.nav-item>a.nav-link:focus.active:hover {
    background-color: transparent
}

@media (min-width: 1200px) {
    #mainNav {
        border-color:transparent;
        background-color: transparent
    }

    #mainNav .navbar-brand {
        color: rgba(255,255,255,.7)
    }

    #mainNav .navbar-brand:focus,#mainNav .navbar-brand:hover {
        color: #fff
    }

    #mainNav .navbar-nav>li.nav-item>a.nav-link {
        padding: 5px;
    }

    #mainNav .navbar-nav>li.nav-item>a.nav-link,#mainNav .navbar-nav>li.nav-item>a.nav-link:focus {
        color: rgba(255,255,255,.7)
    }

    #mainNav .navbar-nav>li.nav-item>a.nav-link:focus:hover,#mainNav .navbar-nav>li.nav-item>a.nav-link:hover {
        color: #fff
    }

    #mainNav.navbar-shrink {
        border-bottom: 1px solid rgba(33,37,41,.1);
        background-color: #6b6144;
    }

    #mainNav.navbar-shrink .navbar-brand {
        color: #efebe1;
    }

    #mainNav.navbar-shrink .navbar-brand:focus,#mainNav.navbar-shrink .navbar-brand:hover {
        color: #efebe1;
    }

    #mainNav.navbar-shrink .navbar-nav>li.nav-item>a.nav-link,#mainNav.navbar-shrink .navbar-nav>li.nav-item>a.nav-link:focus {
        color: #ffffff;
    }

    #mainNav.navbar-shrink .navbar-nav>li.nav-item>a.nav-link:focus:hover,#mainNav.navbar-shrink .navbar-nav>li.nav-item>a.nav-link:hover {
        color: #3c2f09c2
    }
}

header.masthead {
    padding-top: 10rem;
    padding-bottom: calc(10rem - 56px);
    background: linear-gradient(#7cbbff4f,#2125299e),url(../img/header.jpg);
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

header.masthead hr {
    margin-top: 30px;
    margin-bottom: 30px
}

header.masthead h1 {
    background: #b3a47b;
    border-radius: 28px 28px 5px 5px;
    border: 9px solid #6b614445;
    font-size: 2rem;
    padding: 28px;
    text-shadow: 1px 1px 4px rgb(246 255 255);
/*     animation-name: shadow;
animation-duration: 6s;
animation-direction: alternate;
animation-iteration-count: 90; */
}

header.masthead p {
    filter: drop-shadow(2px 4px 6px black);
    font-weight: 300;

}

@media (min-width: 768px) {
    header.masthead p {
        font-size:1.15rem
    }
}

@media (min-width: 992px) {
    header.masthead {
        height:100vh;
        min-height: 650px;
        padding-top: 0;
        padding-bottom: 0
    }

    header.masthead h1 {
        font-size: 3rem
    }
}

@media (min-width: 1200px) {
    header.masthead h1 {
        font-size:4rem
    }
}

.service-box {
    max-width: 400px
}

.portfolio-box {
    position: relative;
    display: block;
    max-width: 650px;
    margin: 0 auto
}

.portfolio-box .portfolio-box-caption {
    position: absolute;
    bottom: 0;
    display: block;
    width: 100%;
    height: 100%;
    text-align: center;
    opacity: 0;
    color: #fff;
    background: #3c2f09c2!important;
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    transition: all .2s
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    text-align: center
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category,.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
    padding: 0 15px;
    font-family: 'Open Sans','Helvetica Neue',Arial,sans-serif
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase
}

.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
    font-size: 18px
}

.portfolio-box:hover .portfolio-box-caption {
    opacity: 1
}

.portfolio-box:focus {
    outline: 0
}

@media (min-width: 768px) {
    .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
        font-size:16px
    }

    .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
        font-size: 22px
    }
}

.text-primary {
    color: #3c2f09c2!important
}

.btn {
    border: #6b614421 solid 3px;
    font-family: 'Open Sans','Helvetica Neue',Arial,sans-serif;
    font-weight: 700;
    text-transform: uppercase;
}
}

/*.btn-xl {
    padding: 0rem 19rem
}*/

.btn-primary {
    background-color: #6b6144;
    border-color: #3c2f09c2;
    animation-name: colorground;
    animation-duration: 26s;
    animation-delay: 0.5s;
    animation-iteration-count: infinite;
    animation-direction: linear;
}

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

.btn-primary:active,.btn-primary:focus {
    box-shadow: 0 0 0 .2rem rgba(240,95,64,.5)!important
}

.btn-yanmap {
    width: 488px;
    margin-top: 35px;
}

.imgyanmap {
    border-radius: 51px;
}

@keyframes  colorground {
    0% {
        background-color: #6b6144;
    }
    50% {
        background-color: #3c578e;
    }
    100% {
        background-color: #6b6144;
    }
}

/* @keyframes shadow {

    0% {
        text-shadow: 1px 1px 2px rgb(246, 255, 255);
    }
    40% {
        text-shadow: 2px 1px 2px rgb(246, 255, 255);
    }
    50% {
        text-shadow: 2px 1px 3px #d1dede;
    }
    60% {
        text-shadow: 2px 1px 2px rgb(246, 255, 255);
    }    
    100% {
        text-shadow: 1px 1px 2px rgb(246, 255, 255);
    }


} */

@keyframes border {

        0% {
                border: #6b614454 solid 3px;
        }
        50% {
                border: #6b6144 solid 3px;
        }
        100% {
                border: #6b614454 solid 3px;
        }

}
.section-for-about {
    margin-top: 50px;
}
.nav-item.active {
    border-bottom: 2px solid white;
    border-radius: 5px;
}
.random_foto img {
    height: 300px;
    object-fit: cover;
}

.modalo-header h2 {
    color: #555;  
    font-size: 20px;
    font-weight: normal;
    line-height: 1;    
    margin: 0;
}
/* кнопка закрытия окна */
.modalo .btn-close {
    color: #aaa;
    cursor: pointer;
    font-size: 30px;
    text-decoration: none;
    position: absolute;
    right: 10px;
    top: 0;
}
.modalo .btn-close:hover {
    color: red;
}
/* слой затемнения */
.modalo-wrap:before {
    content: "";
    display: none;
    background: rgba(0, 0, 0, .3);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 101;
}
.modalo-overlay {
    bottom: 0;
    display: none;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 102;
}
/* активация слоя затемнения и модального блока */
.modalo-open:checked ~ .modalo-wrap:before,
.modalo-open:checked ~ .modalo-wrap .modalo-overlay {
    display: block;
}
.modalo-open:checked ~ .modalo-wrap .modalo-dialog {
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%,-50%);
    transform: translate(-50%, -50%);
    top: 50%;
}
/* элементы модального окна */
.modalo-dialog {
    background: #fefefe;
    border: none;
    border-radius: 5px;
    position: fixed;
    width: 80%;
    height: auto;
    overflow: auto;
    max-height: 80%;
    max-width: 500px;
    left: 50%;
    top: -100%;
    -webkit-box-shadow: 0 15px 20px rgba(0,0,0,.22), 0 19px 60px rgba(0,0,0,.3);
    -moz-box-shadow: 0 15px 20px rgba(0,0,0,.22),0 19px 60px rgba(0,0,0,.3);
    box-shadow: 0 15px 20px rgba(0,0,0,.22), 0 19px 60px rgba(0,0,0,.3);
    -webkit-transform: translate(-50%, -500%);
    -ms-transform: translate(-50%, -500%);
    -o-transform: translate(-50%, -500%);
    transform: translate(-50%, -500%);
    -webkit-transition: -webkit-transform 0.4s ease-out;
    -moz-transition: -moz-transform 0.4s ease-out;
    -o-transition: -o-transform 0.4s ease-out;
    transition: transform 0.4s ease-out;
    z-index: 999999;
}
.modalo-body {
  padding: 20px;
}
.modalo-body p {
	margin: 0;
	padding: 20px;
    text-align: justify;
    font-size: 14px;
    color: black;
}
.modalo-header,
.modalo-footer {
    padding: 20px 20px;
}
.modalo-header {
	border-bottom: #eaeaea solid 1px;
	text-align: center;
}
.modalo-header h2 {
    font-size: 20px;
	margin: 0;
	color: black;
}
.modalo-footer {
    border-top: #eaeaea solid 1px;
    text-align: right;
}
/* адаптивные картинки в модальном блоке */
.modalo-body img { 
    max-width: 100%;
    height: auto;
}
.btn-primary {
    color: #fff;
    background-color: #b3a47b !important;
    border-color: #b3a47b !important;
    cursor: pointer;
}
.btn-primary:hover {
    background-color: #6a6041 !important;
    border-color: #6a6041 !important;
}
#plt, #noofert, #usecookie {
    background: transparent;
    color: #6a6041;
    padding: 5px;
    outline: 0;
    cursor: pointer;
    margin: 0px auto;
    font-weight: bold;
    text-decoration: underline;
}
#plt:hover, #noofert:hover, #usecookie:hover {
    text-decoration: none;
}

@media (max-width: 767px){
    .modalo-dialog {
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    border-radius: 0px;
}
}
@media (max-width: 767px){
    #plt {
      margin-bottom: 20px;
    }
    #noofert {
       margin-bottom: 20px;
     }
   #usecookie {
      margin-bottom: 50px;
    }
  }
  #portfolio .controls {
    text-align: center;
    margin-bottom: 0px;
    width: 100%;
  }
  
  #portfolio .filter.btn.btn-border.active {
    background: #675c3c;
    color: #ffffff;
  }
  #portfolio .controls .btn {
    margin: 10px 5px;
    font-weight: 700;
    font-size: 20px;
    background: rgb(170, 170, 170);
    border: 0px;
    padding: 10px;
    color: white;
    border-radius: 0px;
  }
  #portfolio-items.portfolio-items {
    width: 100%;
  }
  #portfolio.portfolio .portfolio-items .mix {
    width: 100%;
    padding: 5px;
  }
  #portfolio .portfolio-items figure {
    background: #675c3c;
    float: left;
    width: 100%;
    border: none;
    position: relative;
    padding: 6px;
  }
  .mix {
    display: none !important;
  }
  .active_pom {
    display: inline-block !important;
  }
  #portfolio.portfolio .portfolio-items .mix figure .img {
    position: relative;
    width: 30%;
    display: inline-block;
    float: left;
  }
  #portfolio .portfolio-items figure .img {
    position: relative;
    width: 100%;
    height: 230px;
  }
  #portfolio .portfolio-items figure .img img {
    width: 100%;
    height: 100%;
    vertical-align: middle;
    object-fit: cover;
  }
  #portfolio.portfolio .portfolio-items .mix figure .item-description {
    position: relative;
    width: calc(70% - 20px);
    height: 230px;
    float: left;
    display: inline-block;
    border: none;
    margin-left: 20px;
  }
  #portfolio .portfolio-items .item-description {
    padding: 4px 12px;
    text-align: center;
    background-color: #675c3c;
    border-top: 3px solid #675c3c;
    border-bottom: 6px solid #675c3c;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
    position: relative;
  }
  #portfolio.portfolio .portfolio-items figure h3 {
    color: #fff;
    display: inline-block;
    float: left;
    margin: 20px 0 10px;
    font-size: 24px;
  }
  .item-description > .property-main-features-wrapper {
    display: inline-block;
    background: transparent;
    margin-top: 20px;
    width: 75%;
    padding: 0;
    float: left;
  }
  figure .item-description > .btn.title {
    background: transparent;
    border: 0px;
    outline: none;
    box-shadow: none;
  }
  .item-description > .btn.title {
    padding: 0;
    margin: 0;
    text-transform: uppercase;
    position: absolute;
    top: 20px;
    right: 50px;
    border-radius: 0;
    cursor: context-menu !important;
  }
  .item-description > .property-main-features-wrapper ul li {
    color: #fff;
    margin: 0;
    /* padding-top: 10px; */
    width: 100%;
    font-size: 17px;
    display: block;
    /* padding: 24px 0 0 0; */
    /* line-height: 30px; */
    float: left;
    text-align: left;
    white-space: nowrap;
  }
  #portfolio {
    position: relative;
  }
  #portfolio .portfolio-items .item-description p {
    color: #FEF2F6;
    font-weight: 300;
    line-height: 22px;
    -webkit-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
  }
  .item-description > .btn.description a {
    display: block;
    padding: 10px 30px;
    border: 1px solid transparent;
    border-radius: 0;
    color: #675c3c;
    font-size: 18px;
    text-decoration: none;
    background: #ffffff;
    transition: 0.4s all;
  }
  .item-description > .btn.description a:hover {
    border-color: #fff;
    color: white !important;
    background-color: #675c3c;
  }
  .item-description > .btn.title {
    padding: 0;
    margin: 0;
    text-transform: uppercase;
    position: absolute;
    top: 20px;
    right: 50px;
    border-radius: 0;
    cursor: context-menu !important;
  }
  .item-description > .btn.description {
    padding: 0;
    margin: 0;
    text-transform: uppercase;
    position: absolute;
    bottom: 10px;
    right: 12px;
    border-radius: 0;
  }
  .item-description > .btn.title p {
    font-size: 20px;
    font-weight: 600 !important;
  }


  @media (max-width:1000px) {
    #portfolio .portfolio-items figure {
      display: flex;
      flex-direction: column;
    }
    #portfolio.portfolio .portfolio-items .mix figure .img {
      width: 100%;
    }
    #portfolio.portfolio .portfolio-items .mix figure .item-description {
      width: 100%;
      margin-left: 0px;
    }
    #portfolio-items.portfolio-items {
      width: 90%;
      margin: 0px auto;
    }

  }
  
  @media (max-width:640px) {
    .item-description > .property-main-features-wrapper {
      width: 250px;
    }
    .item-description > .property-main-features-wrapper ul li {
      white-space: normal;
    }
    .item-description > .btn.description {
      bottom: -95px;
    }
    #portfolio .portfolio-items figure {
      min-height: 580px;
    }
  }
  
  @media (max-width:500px) {

  .item-description > .btn.title {
    display: none;
  }
  }
  .for_pom {
    width: 100%;
    white-space: normal;
    margin-bottom: 10px;
  }
  .for_news h3 {
      color: white;
      margin-top: 15px;
  }
  .for_news .item-description > .property-main-features-wrapper {
    width: 100%;
    color: white;
    margin: 15px auto;
  }
  .for_news .item-description > .btn.description {
      position: unset;
  }
  .contact-info .contact {
    padding: 20px 0px;
    text-align: center;
    }
    
    .contact p {
        text-align: center;
    }

    .contact-info .contact-phone {
        border-left: 4px solid #685d3d;
        border-right: 4px solid #685d3d;
    }
    
    @media (max-width:768px){
        .contact-info .contact-phone {
    border: 0px;
        }
    }

    
table th {
    text-align: center;
    background-color: #6b6040 !important;
    border-color: #685c3d !important;
    color: white;
  }
  
  table td { 
          text-align: center;
          border-color: #685c3d !important;
          background: white;
        }

    table .dopheader {
      background: #d2c08c;
      color: white;
    }
    @media (min-width:641px) and (max-width:767px){
        #portfolio.portfolio .portfolio-items .mix figure .item-description {
            height: 260px;
        }
    }

    
  .owl-prev{
    position: absolute;
    background: transparent !important;
    left: 5px;
    top: 50%;
    font-size: 30px!important;
    width: 40px;
    transform: translateY(-50%);
    box-shadow: 0 0 10px #000;
    border-radius: 10px;
    height: 40px;
    outline: none;
    border: 2px solid white !important;
    transition: all 0.3s;
  }
  .owl-next{
    position: absolute;
    background: transparent !important;
    right: 5px;
    top: 50%;
    font-size: 30px!important;
    width: 40px;
    transform: translateY(-50%);
    box-shadow: 0 0 10px #000;
    border-radius: 10px;
    height: 40px;
    outline: none;
    border: 2px solid white !important;
    transition: all 0.3s;
  }
  .owl-prev:hover,   .owl-next:hover {
    background: #695e3f !important;
  }
  .owl-prev i {
    color: #ffffff;
    font-size: 18px;
    position: relative;
    top: -7px;
  }
  
  .owl-next i {
    color: #ffffff;
    font-size: 18px;
    position: relative;
    top: -7px;
  }
  .owl-carousel .owl-item img {
    height: 400px;
    object-fit: cover;
  }