/*!
 * Start Bootstrap - Stylish Portfolio v5.0.9 (https://startbootstrap.com/theme/stylish-portfolio)
 * Copyright 2013-2020 Start Bootstrap
 * Licensed under MIT (https://github.com/StartBootstrap/startbootstrap-stylish-portfolio/blob/master/LICENSE)
 */
 @font-face {
    font-family: AbrilFatface-Regular; /* Имя шрифта */
    src: url(/fonts/AbrilFatface-Regular.ttf); /* Путь к файлу со шрифтом */
   }
body,
html {
    width: 100%;
    height: 100%;
}
body {
    font-family: "Source Sans Pro";
    background: #000;
    overflow-x: hidden;
}
.btn-xl {
    padding: 1.25rem 2.5rem;
}
.content-section {
    padding-top: 7.5rem;
    padding-bottom: 7.5rem;
}
.content-section-heading h2 {
    font-size: 3rem;
}
.content-section-heading h3 {
    font-size: 1rem;
    text-transform: uppercase;
}
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
}
.text-faded {
    color: rgba(255, 255, 255, 0.7);
}
.map {
    height: 30rem;
}
@media (max-width: 992px) {
    .map {
        height: 75%;
    }
}
.map iframe {
    pointer-events: none;
}
.scroll-to-top {
    position: fixed;
    right: 15px;
    bottom: 15px;
    display: none;
    width: 50px;
    height: 50px;
    text-align: center;
    color: #fff;
    background: rgba(52, 58, 64, 0.5);
    line-height: 45px;
}
.scroll-to-top:focus,
.scroll-to-top:hover {
    color: #fff;
}
.scroll-to-top:hover {
    background: #343a40;
}
.scroll-to-top i {
    font-weight: 800;
}
.masthead {
    min-height: 30rem;
    position: relative;
    display: table;
    width: 100%;
    height: auto;
    padding-top: 8rem;
    padding-bottom: 8rem;
    background: url(../img/james1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.masthead h1 {
    font-size: 4rem;
    margin: 0;
    padding: 0;
}
@media (min-width: 992px) {
    .masthead {
        height: 100vh;

    }
    .masthead h1 {
        font-size: 9.5rem;
        color: #fff;
    font-family: AbrilFatface-Regular;
    letter-spacing: 4px;
    text-align: left;
    line-height: 150px !important;
    }
    section#about h2 {
        font-size: 6.5rem;
        color: #fff;
    font-family: AbrilFatface-Regular;
    letter-spacing: 4px;
    text-align: left;
    line-height: 100px;
}
p.mytext {
    color: #fff;
    font-size: 15px;
    padding: 2rem 0rem;
    text-align: left;
}
.col-md-6.lover {
    margin-top: 7rem;
}
.row.right-version {
    text-align: right;
    padding-bottom: 9rem;
}
.row.right-version p {
    text-align: right!important;
}
.row.right-version h2 {
    text-align: right !important;
}
/*.row.right-version .col-md-9.lover {
    padding-left: 53px;
}*/
}
#sidebar-wrapper {
    position: fixed;
    z-index: 2;
    right: 0;
    width: 250px;
    height: 100%;
    transition: all 0.4s ease 0s;
    transform: translateX(250px);
    background: rgb(72 72 72 / 40%);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.sidebar-nav {
    position: absolute;
    top: 0;
    width: 250px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.sidebar-nav li.sidebar-nav-item a {
    display: block;
    text-decoration: none;
    color: #fff;
    padding: 15px;
}
.sidebar-nav li a:hover {
    text-decoration: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
}
.sidebar-nav li a:active,
.sidebar-nav li a:focus {
    text-decoration: none;
}
.sidebar-nav > .sidebar-brand {
    font-size: 1.2rem;
    background: rgba(52, 58, 64, 0.1);
    height: 80px;
    line-height: 50px;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 15px;
}
.sidebar-nav > .sidebar-brand a {
    color: #fff;
}
.sidebar-nav > .sidebar-brand a:hover {
    color: #fff;
    background: 0 0;
}
#sidebar-wrapper.active {
    right: 250px;
    width: 250px;
    transition: all 0.4s ease 0s;
}
.menu-toggle {
    position: fixed;
    right: 15px;
    top: 15px;
    width: 50px;
    height: 50px;
    text-align: center;
    color: #fff;
    background: rgba(52, 58, 64, 0.5);
    line-height: 50px;
    z-index: 999;
}
.menu-toggle:focus,
.menu-toggle:hover {
    color: #fff;
}
.menu-toggle:hover {
    background: #343a40;
}
.service-icon {
    background-color: #fff;
    color: #1d809f;
    height: 7rem;
    width: 7rem;
    display: block;
    line-height: 7.5rem;
    font-size: 2.25rem;
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
}
.callout {
    padding: 15rem 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1) 0, rgba(255, 255, 255, 0.1) 100%), url(../img/bg-callout.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}
.callout h2 {
    font-size: 3.5rem;
    font-weight: 700;
    display: block;
    max-width: 30rem;
}
.portfolio-item {
    display: block;
    position: relative;
    overflow: hidden;
    max-width: 530px;
    margin: auto auto 1rem;
}
.portfolio-item .caption {
    display: flex;
    height: 100%;
    width: 100%;
    background-color: rgba(33, 37, 41, 0.2);
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
}
.portfolio-item .caption .caption-content {
    color: #fff;
    margin: auto 2rem 2rem;
}
.portfolio-item .caption .caption-content h2 {
    font-size: 0.8rem;
    text-transform: uppercase;
}
.portfolio-item .caption .caption-content p {
    font-weight: 300;
    font-size: 1.2rem;
}
@media (min-width: 992px) {
    .portfolio-item {
        max-width: none;
        margin: 27px;
    }
    .portfolio-item .caption {
        transition: background-color 0.7s, -webkit-clip-path 0.25s ease-out;
        transition: clip-path 0.25s ease-out, background-color 0.7s;
        transition: clip-path 0.25s ease-out, background-color 0.7s, -webkit-clip-path 0.25s ease-out;
        -webkit-clip-path: inset(0);
        clip-path: inset(0);
    }
    .portfolio-item .caption .caption-content {
        transition: opacity 0.25s;
        margin-left: 5rem;
        margin-right: 5rem;
        margin-bottom: 5rem;
    }
    .portfolio-item img {
        transition: -webkit-clip-path 0.25s ease-out;
        transition: clip-path 0.25s ease-out;
        transition: clip-path 0.25s ease-out, -webkit-clip-path 0.25s ease-out;
        -webkit-clip-path: inset(-1px);
        clip-path: inset(-1px);
    }
    .portfolio-item:hover img {
        -webkit-clip-path: inset(2rem);
        clip-path: inset(2rem);
    }
    .portfolio-item:hover .caption {
        background-color: rgb(35 41 43 / 68%);
        -webkit-clip-path: inset(2rem);
        clip-path: inset(2rem);
    }
}
.map iframe {
    height: 100%;
    width: 100%;
    border: 0;
}
footer.footer {
    padding-top: 3rem;
    padding-bottom: 3rem;
   /* background: url(/img/footerbg.jpg);*/
}

footer.footer .social-link {
    display: block;
    height: 4rem;
    width: 4rem;
    line-height: 4.3rem;
    font-size: 1.5rem;
    background-color: #1d809f;
    transition: background-color 0.15s ease-in-out;
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
}
footer.footer .social-link:hover {
    background-color: #155d74;
    text-decoration: none;
}
a {
    color: #1d809f;
}
a:active,
a:focus,
a:hover {
    color: #155d74;
}
.btn-primary {
   background: rgb(72 72 72 / 40%);!important;
    border-color: #ffffff !important;
    color: #fff !important;
    border-radius: 1px;
    padding: 18px 73px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.btn-primary:active,
.btn-primary:focus,
.btn-primary:hover {
    /*background-color: #155d74 !important;
    border-color: #155d74 !important;*/
    background-color: #6e838bb0 !important;
    border-color: #ffffff !important;
}
.btn-secondary {
    background-color: #b9b9b9 !important;
    border-color: #ecb807 !important;
    color: #fff !important;
}
.btn-secondary:active,
.btn-secondary:focus,
.btn-secondary:hover {
    background-color: #6d6d6d !important;
    border-color: #ba9106 !important;
}
.btn-dark {
    /* color: #fff; */
    /* background-color: #343a40; */
    /* border-color: #6b7783; */
    background-color: #1d809f00 !important;
    border-color: #ffffff !important;
    color: #fff !important;
    border-radius: 1px;
    padding: 18px 73px !important;
}
.btn {
    box-shadow: 0 3px 3px 0 rgba(0, 0, 0, 0.1);
    font-weight: 700;
    margin: 25px 5px 0 0 !important;
}
.bg-primary {
    background-color: #000 !important;
}
.text-primary {
    color: #1d809f !important;
}
.text-secondary {
    color: #ecb807 !important;
}
.image3 {
    width: 100%;
}
/*.container .clark {
    margin: 0 0 0 581px;
}
*/
.clark {
    position: relative !important;
    right: -533px !important;
}
.col-lg-6 {
    margin: 3rem 0px;
}

section#portfolio h2 {
    color: #fff !important;
    font-family: AbrilFatface-Regular;
    font-size: 5rem;
}

section#portfolio p {
    color: #fff !important;

}
 .my-caption{
    margin-top: 6rem;

 }

 #slider {margin: 0 auto; width: 600px; position: relative;}
#slides {
  background: #fff;
 /* padding: 5px; */
  /*-webkit-box-shadow: 2px 2px 4px #333, inset 1px 1px 0 #ddd;*/
     /*-moz-box-shadow: 2px 2px 4px #333, inset 1px 1px 0 #ddd;
       -o-box-shadow: 2px 2px 4px #333, inset 1px 1px 0 #ddd;
      -ms-box-shadow: 2px 2px 4px #333, inset 1px 1px 0 #ddd;
          box-shadow: 2px 2px 4px #333, inset 1px 1px 0 #ddd;*/
  /*-webkit-border-radius: 5px;
     -moz-border-radius: 5px;*/
          /*border-radius: 5px;*/
}

.inner {width: 500%;}
.inner:after {
  content: '';
  display: block;
  height: 0;
  clear: both;
}

.page {float: left; width: 20%;}
/*.page img {width: 588px; height: 250px;}*/

#overflow {overflow: hidden;}

#slider input {display: none;}

#controls {
   position: absolute;
   width:100%;
   top: 50%;
   left: 0;
   height: 50px;
}
#controls label {
  display: none;
  opacity: 1;
  cursor: pointer;
}
#controls label:hover {opacity: 0.8;}
#slide1:checked ~ #controls label:nth-child(2),
#slide2:checked ~ #controls label:nth-child(3),
#slide3:checked ~ #controls label:nth-child(4),
#slide4:checked ~ #controls label:nth-child(5),
#slide5:checked ~ #controls label:nth-child(1) {
  width: 0;
  height: 0;
  border-top: 40px solid transparent;
  border-left: 25px solid #fff;
  border-bottom: 40px solid transparent;
  float: right; 
  margin-right:-44px; 
  display: block;
}

#slide1:checked ~ #controls label:nth-child(5),
#slide2:checked ~ #controls label:nth-child(1),
#slide3:checked ~ #controls label:nth-child(2),
#slide4:checked ~ #controls label:nth-child(3),
#slide5:checked ~ #controls label:nth-child(4) {
    width: 0;
    height: 0px;
    border-top: 40px solid transparent;
    border-bottom: 40px solid transparent;
    border-right: 25px solid #fff;
    float: left;
    display: block;
    margin-left: -44px;
}

#slide1:checked ~ #slides .inner { margin-left:0;} 
#slide2:checked ~ #slides .inner { margin-left:-100%;} 
#slide3:checked ~ #slides .inner { margin-left:-200%;} 
#slide4:checked ~ #slides .inner { margin-left:-300%;} 
#slide5:checked ~ #slides .inner { margin-left:-400%;} 

#active {text-align: center; margin-top: 10px;}
#active label {
  width: 10px;
  height: 10px;
  background: #ccc;
  display: inline-block;
  cursor: pointer;
  
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 12px;
}

#active label:hover {background: #999;}

#slide1:checked ~ #active label:nth-child(1),
#slide2:checked ~ #active label:nth-child(2),
#slide3:checked ~ #active label:nth-child(3),
#slide4:checked ~ #active label:nth-child(4),
#slide5:checked ~ #active label:nth-child(5) { background: #333;}

#slides .inner {
  -webkit-transition: all 0.8s ease-in-out;
     -moz-transition: all 0.8s ease-in-out;
      -ms-transition: all 0.8s ease-in-out;
       -o-transition: all 0.8s ease-in-out;
          transition: all 0.8s ease-in-out;
}
.page img {
    width: 100%;
    height: 620px;
}
#slider {
    margin: 0 auto;
    width: 100%;
    position: relative;
}

.tabs {
  width: 104%;
  float: none;
  list-style: none;
  position: relative;
  margin: 80px 0 0 -40px;
  text-align: left;
}
.tabs li {
  float: left;
  display: block;
}
.tabs input[type="radio"] {
  position: absolute;
  top: 0;
  left: -9999px;
}
.tabs label {
  display: block;
  padding: 14px 21px;
  border-radius: 2px 2px 0 0;
  font-size: 20px;
  font-weight: normal;
  text-transform: uppercase;
  background: #292929;
  cursor: pointer;
  position: relative;
  top: 4px;
  -moz-transition: all 0.2s ease-in-out;
  -o-transition: all 0.2s ease-in-out;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.tabs label:hover {
  background: #292929;
}
.tabs .tab-content {
    z-index: 2;
    display: none;
    overflow: hidden;
    width: 100%;
    font-size: 17px;
    line-height: 25px;
    padding: 25px;
    position: absolute;
    top: 53px;
    left: 40px;
    background: #141414;
}
.tabs [id^="tab"]:checked + label {
  top: 0;
  padding-top: 17px;
  background: #141414;
}
.tabs [id^="tab"]:checked ~ [id^="tab-content"] {
  display: block;
}

p.link {
  clear: both;
  margin: 380px 0 0 15px;
}
p.link a {
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  color: #fff;
  padding: 5px 10px;
  margin: 0 5px;
  background-color: #612e76;
  -moz-transition: all 0.2s ease-in;
  -o-transition: all 0.2s ease-in;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}
p.link a:hover {
  background-color: #522764;
}

section.gallery img {
    width: 100%;
    margin: 0.9rem;
}

section.gallery {
    padding-top: 6rem;
    margin: -1px 0px 24px -28px;
}
section#faq h2 {
    color: #fff !important;
    font-family: AbrilFatface-Regular;
    font-size: 5rem;
    }
section#faq {
    color: #fff;
    padding-bottom: 5rem;
}

.text-muted {
    color: #ffffff!important;
    font-size: 20px;
}

section#portfolio {
    margin: -5rem;
}

div#tab-content1 {
    width: 1112px !important;
}

div#tab-content2 {
    width: 1112px !important;
}

div#tab-content3 {
    width: 1112px !important;
}

div#tab-content4 {
    width: 1112px !important;
}

div#tab-content5 {
    width: 1112px !important;
}

/*.col-lg-6 {
    margin: 0 0 18px -26px;
}*/

/*a.portfolio-item {
    margin: 40px 40px 18px 1px;
}
*/


.ruler {
    margin: 0 0px 0 -26px;
}

.ruler2 {
    margin: 0 -26px 0 2px;
  }

  .btn-secondary {
    background: rgb(72 72 72 / 40%);
    !important: ;
    border-color: #ffffff !important;
    color: #fff !important;
    border-radius: 1px;
    padding: 18px 73px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    background-color: #b9b9b9
}

.modal-footer .btn.btn-primary {
    background-color: #51b54a;
}

button, input {
    overflow: visible;
    display: block;
}

input#name {
    margin: 0 0 8px 0;
    border: 0;
    border-bottom: 1px solid #fff;
    outline: none;
    padding: 10px 20px;
}

input#phone {
    margin: 0 0 8px 0;
    border: 0;
    border-bottom: 1px solid #fff;
    outline: none;
    padding: 10px 20px;
}
 
 input#btn_submit{
  border: 1px solid #fff; 
    outline: none;
 }

.modal-title {
    margin-bottom: 0;
    line-height: 1.5;
    color: #fff;
}

.modal-header {
    background-color: #000;
} 

.modal-content {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: #000;
    background-clip: padding-box;
    border: 1px solid rgba(0,0,0,.2);
    border-radius: .3rem;
    outline: 0;
}

input {
    margin: 0 0 8px 0;
    width: 100%;
    background-color: #000;
    color: #fff;
}

input#name::placeholder {
    color: #fff;
    
}

input#phone::placeholder {
    color: #fff;
}

.form {
    height: 42px;
}

*, ::after, ::before {
    box-sizing: border-box;
    color: #fff;
}

.modal-content {
    width: 561px;
    height: 234px;
    text-align: center;
}

@media(max-width: 768px) {
  section#portfolio {
    margin: 0;
}

div#tab-content1 {
    width: 100% !important;
}

div#tab-content2 {
    width: 100% !important;
}

div#tab-content3 {
    width: 100% !important;
}

div#tab-content4 {
    width: 100% !important;
}

div#tab-content5 {
    width: 100% !important;
}
.tabs label {
    padding: 14px 17px;
    font-size: 15px;
}
section#portfolio h2 {
    color: #fff !important;
    font-family: AbrilFatface-Regular;
    font-size: 3rem;
}
.masthead h1 {
        font-size: 4.4rem;
    color: #fff;
    font-family: AbrilFatface-Regular;
    letter-spacing: 3px;
    text-align: left;
    line-height: 77px !important;
    }
    section#about h2 {
        font-size: 3rem;
        color: #fff;
    font-family: AbrilFatface-Regular;
    letter-spacing: 4px;
    text-align: left;
   /* line-height: 100px;*/
}
 .desk{
  display: none;
}
section#faq {
    color: #fff;
    padding-bottom: 5rem;
    height: 500px;
}
.page img {
    width: 100%;
    height: 240px;
}
#slide1:checked ~ #controls label:nth-child(2), #slide2:checked ~ #controls label:nth-child(3), #slide3:checked ~ #controls label:nth-child(4), #slide4:checked ~ #controls label:nth-child(5), #slide5:checked ~ #controls label:nth-child(1) {
    width: 0;
    height: 0px;
    border-top: 17px solid transparent;
    border-left: 22px solid #fff;
    border-bottom: 17px solid transparent;
    float: right;
     margin-right: 0px; 
    display: block;
}
#slide1:checked ~ #controls label:nth-child(5), #slide2:checked ~ #controls label:nth-child(1), #slide3:checked ~ #controls label:nth-child(2), #slide4:checked ~ #controls label:nth-child(3), #slide5:checked ~ #controls label:nth-child(4) {
    width: 0;
    height: 0px;
    border-top: 17px solid transparent;
    border-bottom: 17px solid transparent;
    border-right: 20px solid #fff;
    float: left;
    display: block;
    margin-left: 0px;
}
#controls {
    position: absolute;
    width: 100%;
    top: 40%;
    left: 0;
    height: 38px;
}
section#faq h2 {
    color: #fff !important;
    font-family: AbrilFatface-Regular;
    font-size: 4rem;
}
.ruler2 {
     margin: 0; 
}
.ruler {
     margin: 0; 
}
div#tab-content1 {
    width: 96% !important;
}
body {
    overflow-x: hidden !important;
}
.modal-content {
    width: 100%;
    height: 234px;
    text-align: center;
}
.modal-content {
    width: 100%;
    height: 234px;
    text-align: center;
    border: 0.9px solid #fff;
    border-radius: 0;
}
}

@media(min-width: 769px) {

.mob {
  display: none;
}
}
