/* Created by Alisher Karzhaubayev 13/11/2017 */

/* Global Styles */

html, body {
  width: 100%;
  height: 100%;
}

/* ===================== Тема: переключатель ===================== */
html[data-theme="light"] { color-scheme: only light; }
html[data-theme="dark"]  { color-scheme: only dark; }

.theme-toggle {
  background: transparent;
  border: 1px solid rgba(128,128,128,.45);
  border-radius: 6px;
  width: 38px; height: 38px;
  font-size: 18px; line-height: 1;
  cursor: pointer; margin-left: 10px;
  color: inherit;
}
.theme-toggle:hover { border-color: rgba(128,128,128,.9); }
.theme-toggle-item { display: flex; align-items: center; }

/* ---------- Тёмная тема ---------- */
html[data-theme="dark"] body { background-color: #121212; color: #e6e6e6; }
html[data-theme="dark"] .navbar.bg-light { background-color: #1d1d1d !important; border-bottom: 1px solid #2a2a2a; }
html[data-theme="dark"] .navbar-light .navbar-nav .nav-link { color: #cfcfcf; }
html[data-theme="dark"] .navbar-light .navbar-nav .nav-link:hover,
html[data-theme="dark"] .navbar-light .navbar-nav .nav-link:focus { color: #ffffff; }
html[data-theme="dark"] .navbar-toggler { border-color: #444; }
html[data-theme="dark"] .about { background-color: #121212; color: #e6e6e6; }
html[data-theme="dark"] .services.bg-color,
html[data-theme="dark"] .bg-color { background-color: #191919 !important; }
html[data-theme="dark"] .text-black { color: #e6e6e6 !important; }
html[data-theme="dark"] .content-section-a { background-color: #191919; color: #e6e6e6; }
html[data-theme="dark"] .content-section-b { background-color: #141414; border-top-color: #2a2a2a; border-bottom-color: #2a2a2a; color: #e6e6e6; }
html[data-theme="dark"] h1,
html[data-theme="dark"] h2,
html[data-theme="dark"] h3,
html[data-theme="dark"] h4,
html[data-theme="dark"] h5,
html[data-theme="dark"] p,
html[data-theme="dark"] li,
html[data-theme="dark"] .lead,
html[data-theme="dark"] .companyText,
html[data-theme="dark"] .section-heading,
html[data-theme="dark"] .services-text,
html[data-theme="dark"] .services-head { color: #e6e6e6; }
html[data-theme="dark"] a:not(.btn) { color: #6db3f2; }
html[data-theme="dark"] .btn-light { background-color: #2a2a2a; border-color: #3a3a3a; color: #e6e6e6; }
html[data-theme="dark"] .btn-light:hover { background-color: #343434; color: #fff; }
html[data-theme="dark"] .modal-content { background-color: #1e1e1e; color: #e6e6e6; }
html[data-theme="dark"] .modal-header { border-bottom-color: #2f2f2f; }
html[data-theme="dark"] .close { color: #e6e6e6; text-shadow: none; opacity: .85; }
html[data-theme="dark"] .past-name { color: #9a9a9a; }
html[data-theme="dark"] .text-muted { color: #9a9a9a !important; }
html[data-theme="dark"] hr { border-color: #333; }
html[data-theme="dark"] .bereke-card { background: #f3f3f3; box-shadow: 0 4px 18px rgba(0,0,0,.5); }
/* Портфолио (mob.css) */
html[data-theme="dark"] .bg-light { background-color: #191919 !important; }
html[data-theme="dark"] #mobile_port_list { background-color: #191919; color: #e6e6e6; }
html[data-theme="dark"] #mobile_port_list h2,
html[data-theme="dark"] #mobile_port_list h3,
html[data-theme="dark"] #mobile_port_list p { color: #e6e6e6; }
html[data-theme="dark"] #mobile_port_list .list_contant > div > div,
html[data-theme="dark"] #mobile_port_list .list_contant2 > div > div,
html[data-theme="dark"] #mobile_port_list .list_contant3 > div > div { background-color: #232323; }
html[data-theme="dark"] .badges-note { color: #9a9a9a; }

body {
  font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.intro-header {
  padding-top: 160px;
  padding-bottom: 50px;
  text-align: center;
  color: #f8f8f8;
  background: url(../img/intro-bg.jpg) no-repeat center center;
  background-size: cover;
  min-height: 300px;
  height: 40%;
  box-shadow: 0 0 0 200px rgba(0, 0, 0, 0.35) inset;

}

.logo-box{
  position:relative;
  float:left;
  left:0px;
  z-index:10;
}
.logo-box .logo img{
  display:inline-block;
  max-width:100%;
  -webkit-transition:all 300ms ease;
  -ms-transition:all 300ms ease;
  -o-transition:all 300ms ease;
  -moz-transition:all 300ms ease;
  transition:all 300ms ease;
}
/*.contactData {
  text-align: left;
  padding-left: .5rem;
  padding-right: .5rem;
  display: block;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  color:rgba(0,0,0,.5);
  float: left;
}*/
.text-color {
  color: #fff!important;
}
.bg-color {
  background-color: #d0dce738!important;
}
.tmp {
  color: #147bf0bf!important;
}

.tab-item {
  padding: .5rem;
}
.li-item {
  margin: .5rem;
}
.nav-contact-item {
  float:right;
  margin-left: 55px;
}
.contactData:hover {
  color :rgba(0,0,0,.7);
  text-decoration: none;
}
.intro-message {
  position: relative;
}

.intro-message>h1 {
  margin: 0;
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6);
  font-size: 4em;
}

.intro-divider {
  width: 400px;
  border-top: 1px solid #f8f8f8;
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.intro-message>h3 {
  text-shadow: 2px 2px 3px rgba(0, 0, 0, 0.6);
  font-size: 1.75em;
}

.intro-social-buttons i {
  font-size: 80%;
}

@media(max-width:767px) {
  .intro-message {
    padding-bottom: 15%;
  }
  .intro-message>h1 {
    font-size: 3em;
  }
  ul.intro-social-buttons>li {
    display: block;
    margin-bottom: 20px;
    padding: 0;
  }
  ul.intro-social-buttons>li:last-child {
    margin-bottom: 0;
  }
  .intro-divider {
    width: 100%;
  }
}

.network-name {
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
}
/*Sample 1  End */
.companyText {
  text-align: justify;
  margin-left: 8%;
  margin-right: 8%;
  font-size: 18px;
}
.text-vertical-center {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
}

.text-vertical-center h1 {
  font-size: 4.5em;
  font-weight: 700;
  margin: 0;
  padding: 0;
}
.page {
  display: none;
}
.page-active {
  display: block;
}

/* Custom Button Styles */

.btn-dark {
  color: #fff;
  border: none;
  border-radius: 0;
  background-color: rgba(0, 0, 0, .4);
}

.btn-dark:hover, .btn-dark:focus, .btn-dark:active {
  color: #fff;
  background-color: rgba(0, 0, 0, .7);
}
.btn-light a {
  border: none;
  outline: none;
}
.btn-light {
  color: #333;
  border-radius: 0;
  background-color: rgb(255, 255, 255);
}

.btn-light:hover, .btn-light:focus, .btn-light:active {
  color: #333;
  border: none;
  background-color: rgba(255, 255, 255, .8);
}

.btn-light:visited {
  outline: none;
  border: none;
  text-decoration: none;
  -moz-outline-style: none
}
/* Custom Horizontal Rule */

hr.small {
  max-width: 100px;
}


/* Side Menu */

#sidebar-wrapper {
  position: fixed;
  z-index: 1000;
  right: 0;
  overflow-y: auto;
  width: 250px;
  height: 100%;
  -webkit-transition: all .4s ease 0s;
  -moz-transition: all .4s ease 0s;
  -ms-transition: all .4s ease 0s;
  -o-transition: all .4s ease 0s;
  transition: all .4s ease 0s;
  transform: translateX(250px);
  background: #222;
}

.sidebar-nav {
  position: absolute;
  top: 0;
  width: 250px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sidebar-nav li {
  line-height: 40px;
  text-indent: 20px;
}

.sidebar-nav li a {
  display: block;
  text-decoration: none;
  color: #999;
}

.sidebar-nav li a:hover {
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, .2);
}

.sidebar-nav li a:active, .sidebar-nav li a:focus {
  text-decoration: none;
}

.sidebar-nav>.sidebar-brand {
  font-size: 18px;
  line-height: 55px;
  height: 55px;
}

.sidebar-nav>.sidebar-brand a {
  color: #999;
}

.sidebar-nav>.sidebar-brand a:hover {
  color: #fff;
  background: none;
}

#menu-toggle {
  position: fixed;
  z-index: 1;
  top: 0;
  right: 0;
}

#sidebar-wrapper.active {
  right: 250px;
  width: 250px;
  -webkit-transition: all .4s ease 0s;
  -moz-transition: all .4s ease 0s;
  -ms-transition: all .4s ease 0s;
  -o-transition: all .4s ease 0s;
  transition: all .4s ease 0s;
}

.toggle {
  font-size: 1em;
  margin: 5px 5px 0 0;
  padding: 15px 20px;
}


/* Header */

.header {
  position: relative;
  display: table;
  width: 100%;
  height: 100%;
  background: url(../img/bg.jpg) no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}


/* About */

.about {
  padding: 30px 0;
  margin-left: 8%;
  margin-right: 8%;
  box-shadow: 0 4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12), 0 2px 4px -1px rgba(0,0,0,.2);
}

.mkBox {
  box-shadow: 0 4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12), 0 2px 4px -1px rgba(0,0,0,.2);
  margin-left: 8%;
  margin-right: 8%;
  margin-top: 20px;
  margin-bottom: 20px;
  padding-top: 40px;
  padding-bottom: 40px;
}
/* Services */

.services {
  padding: 50px 0;
}

.service-item {
  margin-bottom: 30px;
}


/* Callout */

.callout {
  display: table;
  width: 84%;
  height: 400px;
  color: #fff;
  background: url(../img/callout.jpg) no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.services1 {
  display: table;
  width: 100%;
  height: 400px;
  color: #fff;
  background: url(../img/breadcrumb.jpg) no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  box-shadow:0 0 0 200px rgba(0, 0, 0, 0.5) inset;
}
.services2 {
  display: table;
  width: 100%;
  height: 400px;
  color: #fff;
  background: url(../img/services2.jpg) no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  box-shadow:0 0 0 200px rgba(0, 0, 0, 0.4) inset;
}

.services-text { 
  font-size: 1em;
  margin-left: 10%;
  margin-right: 10%;
}
.services-head {
  margin-left: 10%;
  margin-right: 10%;
}
.services-text-indent {
  font-size: 1em;
  margin-left: 10%;
  margin-right: 10%; 
}
/* Portfolio */

.portfolio {
  padding: 50px 0;
}

#portfolio {
  border-top: 1px solid #ced4da;
  padding-top: 20px;
  margin-bottom: 50px;
  z-index: 2;
}

#portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
    margin-top: -12px;
}
#portfolio .portfolio-item {
  right: 0;
  margin: 0 0 15px; }
  #portfolio .portfolio-item .portfolio-link {
    position: relative;
    display: block;
    max-width: 400px;
    margin: 0 auto; }
    #portfolio .portfolio-item .portfolio-link .portfolio-hover{
      position:absolute;
      width:100%;
      height:100%;
      -webkit-transition:all ease .5s;
      -moz-transition:all ease .5s;
      transition:all ease .5s;
      opacity:0;
      background:rgba(40, 167, 69, 0.55)
    }
      #portfolio .portfolio-item .portfolio-link .portfolio-hover:hover {
        opacity: 1; }
      #portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
        font-size: 20px;
        position: absolute;
        top: 50%;
        width: 100%;
        height: 20px;
        margin-top: -12px;
        text-align: center;
        color: white; }
        #portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
          margin-top: -12px; }
        #portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h3,
        #portfolio .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content h4 {
          margin: 0; }
  #portfolio .portfolio-item .portfolio-caption {
    max-width: 400px;
    margin: 0 auto;
    padding: 25px;
    text-align: center;
    background-color: #fff; }
    #portfolio .portfolio-item .portfolio-caption h4 {
      margin: 0;
      text-transform: none; }
    #portfolio .portfolio-item .portfolio-caption p {
      font-size: 16px;
      font-style: italic;
      margin: 0;
      font-family: 'Droid Serif', 'Helvetica Neue', Helvetica, Arial, sans-serif; }

#portfolio * {
  z-index: 2; }

@media (min-width: 767px) {
  #portfolio .portfolio-item {
    margin: 0 0 30px; } }

.portfolio-modal {
  padding-right: 0px !important; }
  .portfolio-modal .modal-dialog {
    margin: 1rem;
    max-width: 100vw; }
  .portfolio-modal .modal-content {
    padding: 100px 0;
    text-align: center; }
    .portfolio-modal .modal-content h2 {
      font-size: 3em;
      margin-bottom: 15px; }
    .portfolio-modal .modal-content p {
      margin-bottom: 30px; }
    .portfolio-modal .modal-content p.item-intro {
      font-size: 16px;
      font-style: italic;
      margin: 20px 0 30px;
      font-family: 'Droid Serif', 'Helvetica Neue', Helvetica, Arial, sans-serif; }
    .portfolio-modal .modal-content ul.list-inline {
      margin-top: 0;
      margin-bottom: 30px; }
    .portfolio-modal .modal-content img {
      margin-bottom: 30px; }
    .portfolio-modal .modal-content button {
      cursor: pointer; }
  .portfolio-modal .close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 75px;
    height: 75px;
    cursor: pointer;
    background-color: transparent; }
    .portfolio-modal .close-modal:hover {
      opacity: 0.3; }
    .portfolio-modal .close-modal .lr {
      /* Safari and Chrome */
      z-index: 1051;
      width: 1px;
      height: 75px;
      margin-left: 35px;
      /* IE 9 */
      -webkit-transform: rotate(45deg);
      -ms-transform: rotate(45deg);
      transform: rotate(45deg);
      background-color: #212529; }
      .portfolio-modal .close-modal .lr .rl {
        /* Safari and Chrome */
        z-index: 1052;
        width: 1px;
        height: 75px;
        /* IE 9 */
        -webkit-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        transform: rotate(90deg);
        background-color: #212529; }


.portfolio-item {
  margin-bottom: 30px;
}
.img-fluid {
  display: block;
  margin: 0 auto;
}
.img-portfolio {
  margin: 0 auto;
}

.img-portfolio:hover {
  opacity: .8;
  cursor: pointer;
}

/*Content */
.content-section-a {
  padding: 50px 0;
  background-color: #f8f8f8;
}

.content-section-b {
  padding: 50px 0;
  border-top: 1px solid #e7e7e7;
  border-bottom: 1px solid #e7e7e7;
}

.section-heading {
  margin-bottom: 30px;
}

.section-heading-spacer {
  float: left;
  width: 200px;
  border-top: 3px solid #e7e7e7;
}


/* Call to Action */

.call-to-action {
  padding: 50px 0;
}

.call-to-action .btn {
  margin: 10px;
}


/* Map */

.map {
  height: 500px;
  margin-left: 8%;
  margin-right: 8%;
  box-shadow: 0 4px 5px 0 rgba(0,0,0,.14), 0 1px 10px 0 rgba(0,0,0,.12), 0 2px 4px -1px rgba(0,0,0,.2);
  border-radius: 3px;
}

@media(max-width:768px) {
  .map {
    height: 75%;
  }
}

.map iframe {
  pointer-events: none;
}


/* Footer */

footer {
  padding: 100px 0;
}

#to-top {
  font-size: 1em;
  position: fixed;
  right: 5px;
  bottom: 5px;
  display: none;
  padding: 15px 20px;
}

.appdroid:hover a i{
  display: block;
  color: white;
}
.appdroid:hover a:hover {
  text-decoration: none;
  color: white;
}
.appdroid:hover a:visited {
  color: white;
}
.appdroid:hover a:active {
  color: white;
}
.appdroid:hover a:link {
  color: white;
}
.appdroid a i{
  display: none;
  color: white;
}
.navigation-link {
  display: block;
  text-decoration: none;
  padding: .5rem 1rem;
}
.btn:visited {
  outline: none;
}
#tab { display:inline-block;
       margin-left: 40px; }
