/*!
 * 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:canis; /* Имя шрифта */
    src: url(/fonts/font/CanisMinor-Regular.ttf); /* Путь к файлу со шрифтом */
   }

@font-face{
  font-family: caviar;
  src: url(/fonts/caviar/caviardreams.ttf);
}



body,
html {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: canis;
}

.text-center {
    text-align: left!important;
}

.btn-xl {
  padding: 1.25rem 2.5rem;
}

.content-section {
  padding-top: 10.5rem;
  padding-bottom: 0.5rem;
  background-color: #040404; 
}

.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;
  color: #fff;
 
}

.text-faded {
  color: rgba(255, 255, 255, 0.7);
}

/* Map */
.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: white;
  background: rgba(52, 58, 64, 0.5);
  line-height: 45px;
}

.scroll-to-top:focus, .scroll-to-top:hover {
  color: white;
}

.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/nasa.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.masthead h1 {
  font-size: 4rem;
  margin: 0;
  padding: 0;
  color: #fff;
  user-select: none;
}

@media (min-width: 992px) {
  .masthead {
    height: 100vh;
  }
  .masthead h1 {
    font-size: 5.5rem;
    text-shadow: -2px 0px 10px #ff8600;
    color: #fff4db;
  }
}


/*Перекличка*/


h1 {
  font-weight: normal;
  font-size: 40px;
  font-weight: normal;
  text-transform: uppercase;
  float: left;
  margin: 20px 0 100px 10px;
}
h1 span {
  font-size: 13px;
  display: block;
  padding-left: 4px;
}

em {
    font-family: caviar;
    font-style: inherit;
}

.rowme {
    position: relative;
    bottom: 325px;
    left: 13%;
    z-index: 1;
}

.tabs {
  width: 100%;
  float: none;
  list-style: none;
  position: relative;
  margin: 23px 0 300px 10px;
  text-align: left;
  color: #fff;
  font-family: caviar;
}
.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: #092040;
  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: #506b84;
}
.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: 0;
  background: #514d53;
}
.tabs [id^="tab"]:checked + label {
  top: 0;
  padding-top: 17px;
  background: #514d53;
}
.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: #ffc107;
  -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: #ffc107;
}
.tabs .tab-content {
    z-index: 1;
    display: none;
    overflow: hidden;
    width: 698px;
    font-size: 17px;
    line-height: 25px;
    padding: 25px;
    position: absolute;
    top: 61px;
    left: 41px;
    background: #514d53;
    color: #fff;
}


/* my castom */



#myslider {margin: 0 auto; width: 100%; position: relative;}
#slides {
  background: #040404;
  padding: 93px; 
  /*-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;*/
          /*Radius*/
 /* -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: 100%; height: 100%;}

#overflow {overflow: hidden;}

#myslider input {display: none;}

#controls {
   position: absolute;
   width:100%;
   top: 50%;
   left: 60px;
   height: 50px;
}
#controls label {
  display: none;
  opacity: 0.3;
  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: 20px solid transparent;
  border-left: 20px solid #0d6dff;
  border-bottom: 20px solid transparent;
  float: right; 
  margin-right: 92px; 
  display: block;
  /*position: absolute;
  left: 97%;
  top: 338%;*/

}

#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: 0;
  border-top: 20px solid transparent;
  border-bottom: 20px solid transparent;
    border-right: 20px solid  #0d6dff;
    float: left;  
    display: block;
    margin-left: -27px;
  }

#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: -29px;}
#active label {
  width: 15px;
  height: 10px;
  background: #fff;
  display: inline-block;
  cursor: pointer;
  
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
}

#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: #0d6dff;}

#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;
}



.mycontainers {
    width: 50%;
    padding: 5%;
    background-color: #040404;
    border: 1px solid;
    border-radius: 10px;
    margin: 2px 0px 3px 355.5px;
    margin: 11% 25%;
    color: #fff;
    font-family: 'caviar';
}

.container {
    text-align: center;
}
/**/


/* Side Menu */
#sidebar-wrapper {
  position: fixed;
  z-index: 2;
  right: 0;
  width: 250px;
  height: 100%;
  transition: all 0.4s ease 0s;
  transform: translateX(250px);
  background: #0404046b;
  border-left: 1px solid rgb(70 70 70);
  backdrop-filter: blur(2px);
}

.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: none;
}

#sidebar-wrapper.active {
  right: 250px;
  width: 250px;
  transition: all 1s cubic-bezier(0.42, 0, 0, 1.38) 0.2s;
  box-shadow: -1px 0px 10px 0px #000000c9;
}

.menu-toggle {
  position: fixed;
  right: 15px;
  top: 15px;
  width: 50px;
  height: 50px;
  text-align: center;
  color: #fff;
  background-color: #0404046b;
  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: 0;
  }
  .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(0px);
    clip-path: inset(0px);
  }
  .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: rgba(29, 128, 159, 0.9);
    -webkit-clip-path: inset(2rem);
    clip-path: inset(2rem);
  }
}

.map iframe {
  height: 100%;
  width: 100%;
  border: 0;
}

footer.footer {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: #040404;
  font-family: 'caviar';
  font-size: 26px;
}

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:hover, a:focus, a:active {
  color: #155d74;
}

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

section.gallery {
    padding-top: 7%;
    background-color: #040404;
    padding-bottom: 10%;
}

.btn-primary {
  background-color: #a88059c2 !important;
  border-color: #ffc48a !important;
  color: #fff !important;

}

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

.btn-secondary {
  background-color: #ecb807 !important;
  border-color: #ecb807 !important;
  color: #fff !important;
}

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

.btn-dark {
  color: #fff !important;
}

.btn {
  box-shadow: 0px 3px 3px 0px rgba(0, 0, 0, 0.1);
  font-weight: 700;
  font-family: caviar;
}

.bg-primary {
  background-color: #1D809F !important;
}

.text-primary {
  color: #1D809F !important;
}

.text-secondary {
  color: #ecb807 !important;
}

/*modal*/
.modal-dialog {
    max-width: 1105px;
    margin: 1.75rem auto;
}

.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(255, 255, 255);
    border-radius: .3rem;
    outline: 0;
    color: #fff;
    font-family: caviar;
    padding: 36px;
    box-shadow: 0px 1px 20px 3px #fff;
}
button, input {
    overflow: visible;
    background-color: #000000;
    /* border: none; */
    /* border-top: 1px solid !important; */
    border: none;
    border-bottom: 1px solid #fff;
    width: 100%;
    padding: 12px;
    color: #fff;
    outline: none;
}
input#btn_submit {
    background-color: #ecb807;
    width: 20%;
    border: none;
    padding: 7px;
    border-radius: 5px;
    margin: 12px 0 0 0;
}
@media (min-width: 320px) and (max-width: 1340px) {
  .masthead h1 {
    font-size: 2rem;
    margin: 0;
    padding: 0;
    color: #fff;
    user-select: none;
}
.tabs .tab-content {
    z-index: 1;
    display: none;
    overflow: hidden;
    width: 100%;
    font-size: 15px;
    line-height: 20px;
    padding: 24px;
    position: absolute;
    top: 61px;
    left: -5px;
    background: #514d53;
    color: #fff;
}
.tabs {
    width: 100%;
    float: none;
    list-style: none;
    position: relative;
    margin: 0; 
    text-align: left;
    color: #fff;
    font-family: caviar;
}
.tabs label {
    display: block;
    padding: 14px 21px;
    border-radius: 2px 2px 0 0;
    font-size: 17px;
    font-weight: normal;
    text-transform: uppercase;
    background: #092040;
    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;
}
.content-section {
    padding-top: 10.5rem;
    padding-bottom: 0.5rem;
    background-color: #040404;
    height: 500px;
}
ul.tabs {
    padding-top: 5px;
}
}

