/*!
 * Start Bootstrap - Stylish Portfolio (https://startbootstrap.com/template-overviews/stylish-portfolio)
 * Copyright 2013-2017 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-stylish-portfolio/blob/master/LICENSE)
 */

/* Global Styles */

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

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

.text-vertical-center {
  display: table-cell;
  text-align: center;
  vertical-align: bottom;
}

.text-vertical-center h1 {
  font-size: 4.5em;
  font-weight: 500;
  padding: 0;

}

.text-vertical-center h1 span{
  background-color: rgba(220,237,255,0.8);
}

/* Custom Button Styles */
.offset-100{
  margin-top: 40px;
}

.btn-dark {
  color: #fff;
  border: none;
  border-radius: 0;
  height: 3em;
  background-color: #037bea;
  vertical-align: middle;
  padding: 0.9em;
}

.btn-dark:hover, .btn-dark:focus, .btn-dark:active {
  color: #fff;
  background-color: rgba(66, 116, 255, 0.7);
}

.btn-light {
  color: #333;
  border: none;
  border-radius: 0;
  background-color: rgb(255, 255, 255);
}

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


/* 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/bg3_.jpg) no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.bg_clean {
  position: relative;
  display: table;
  width: 100%;
  height: 150px;
  background: url(../img/bg_clean.jpg) repeat-x top center scroll;
  -webkit-background-size: auto ;
  -moz-background-size: auto;
  -o-background-size: auto;
  background-size: auto;
}
.second_page {
  margin-top: 20px;
}




/* About */

.about {
  padding: 50px 0;
}


/* Services */

.services {
  padding: 50px 0;
}

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


/* Callout */

.callout {
  display: table;
  width: 100%;
  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;
}


/* Portfolio */

.portfolio {
  padding: 50px 0;
}

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

.img-portfolio {
  margin: 0 auto;
}

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


/* Call to Action */

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

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


/* Map */

.map {
  height: 500px;
}

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

/**Кард **/

.h-100 {
  height: 100%!important;
}

.card {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0,0,0,.125);
  border-radius: .25rem;
  text-align: left;
  color: #0e0e0e;
  margin-bottom: 40px;
}

.card-img-top {
  width: 100%;
  border-top-left-radius: calc(.25rem - 1px);
  border-top-right-radius: calc(.25rem - 1px);
}

.card-footer:last-child {
  border-radius: 0 0 calc(.25rem - 1px) calc(.25rem - 1px);
}


.card-footer {
  padding: .75rem 1.25rem;
  background-color: rgba(0,0,0,.03);
  border-top: 1px solid rgba(0,0,0,.125);
}

.card-body {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1.25rem;
}

.card-title {
  margin-bottom: .75rem;
}

.h5, h5 {
  font-size: 2rem;
}

.card-text:last-child {
  margin-bottom: 0;
}

/*contact area*/
.contact{
  background-color: #337ab7;
  height: 400px;
}
.contact-heading img{
  margin: auto;
  margin-bottom: 50px;
}
.contact i.fa{
  color: #008ed6;
  font-size: 20px;
  padding: 20px;
}
.contact p{
  font-size: 18px;
  color: #000000;
  line-height: 1;
}
.contact-form{

  overflow: hidden;
  z-index: 222;

}
.contact-form-left, .contact-form-right{
  margin-top: 20px;
}
.contact-form-left input, .contact-form-left select{
  width: 100%;
  height: 50px;
  padding: 12px;
  border-radius: 5px;
  border:1px solid #99969e;
  margin-bottom: 20px;
  background: #eaeaea;
  color: #3e3e3e;
}
.contact-form textarea{
  width: 100%;
  height: 169px;
  border-radius: 5px;
  border:1px solid #444348;
  margin-bottom: 15px;
  background: transparent;
  background: #eaeaea;
  color: #3e3e3e;
  padding: 1em;
}

.contact-form h2{

}

.contact-form-right input{
  width: 160px;
  height: 50px;
  color: #e6e6e6;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 700;
  background: #008ed6;
  border-radius: 5px;
  border: 0;
  margin-bottom: 40px;
}
/*map section*/


#logo{
  position: absolute;
  z-index: 10000;
  top: 40px;
  left: 100px;
}

.plashka_1{
  background: #008ed6;
  margin: 50px 0 0px 0;
  padding: 30px;
}

.nav-tabs > li{
  color: #fff;
  cursor: default;
  font-size: 1.3em;
  background-color: #337AB7;

  border-bottom-color: rgb(221, 221, 221);
  border-bottom-color: transparent;
}
.nav-tabs > li a{
  color: #fff;
  border: 1px solid #ddd;
}

.nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus {
  color: #fff;
  cursor: default;
  background-color: #337AB7;
  border: 1px solid #ddd;
  border-bottom-color: rgb(221, 221, 221);
  border-bottom-color: transparent;
}

.cms-tab{
  padding-top: 20px;
}

#searchTable td{
  background-color: #337AB7;
}

#searchTable td a{
 color: #ffff00;
}

.myForm input, select, textarea{
  margin-bottom: 2em;
}