/*!
 * Start Bootstrap - Modern Business (http://startbootstrap.com/)
 * Copyright 2013-2016 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap/blob/gh-pages/LICENSE)
 */

/* Global Styles */

html,
body {
    height: 100%;
}

body {
    padding-top: 50px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
}

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

.text-primary {
    color: #06069C;
}

.img-header {
	margin-top: 9px;
	margin-left: auto;
    margin-right: auto;
	width: 100%;
    display: block;
    max-width: 1000px;
    height: auto;
    vertical-align: middle;
    border: 0;
}

.img-hover:hover {
    opacity: 0.8;
}

.navbar {
	min-height: 60px;
}

.navbar-inverse {
	background-color: #FFF;
	border-color: #06069C;
}

.navbar-inverse .navbar-nav>li>a {
    color: #06069C;
}

.navbar-inverse .navbar-nav>li>b {
    color: #000;
    padding-top: 15px;
    padding-bottom: 15px;
    line-height: 20px;
    position: relative;
    display: block;
    padding: 5px 5px
}

.navbar-nav>li>a:hover {
    color: #000;
    background-color: transparent;
}

.navbar-right {
    float: right!important;
    margin-right: -15px;
    margin-top: 15px;
}

.navbar-phone {
	position: absolute;
	margin-left: auto;
	margin-right: auto;
	left: 0;
	right: 0;
	top: 30px;
	width: 200px;
	height: 40px;
	vertical-align: middle;
}

.nav-own {
    color: #000;
    padding-top: 5px;
    padding-bottom: 5px;
    line-height: 20px;
    position: relative;
    display: block;
    padding: 5px 5px
}

.txt-phone {
	font-size: 12px;
}

.tel-box {
	position: relative;
	float: left;
	width: 200px;
	height: 40px;
	top: 30px;
	left: 50px;
	vertical-align: middle;
}

/* Home Page Carousel */

header.carousel {
    height: 60%;
}

header.carousel .item,
header.carousel .item.active,
header.carousel .carousel-inner {
    height: 100%;
}

header.carousel .fill {
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: cover;
}

/* 404 Page Styles */

.error-404 {
    font-size: 100px;
}

/* Pricing Page Styles */

.price {
    display: block;
    font-size: 50px;
    line-height: 50px;
}

.price sup {
    top: -20px;
    left: 2px;
    font-size: 20px;
}

.period {
    display: block;
    font-style: italic;
}

/* Footer Styles */

footer {
    margin: 10px 0;
}

/* Responsive Styles */

@media(max-width:991px) {
    .customer-img,
    .img-related {
        margin-bottom: 30px;
    }
}

@media(max-width:767px) {
    .img-portfolio {
        margin-bottom: 15px;
    }

    header.carousel .carousel {
        height: 60%;
    }
}

/* POPUP
-------------------------------------------------- */
.popupoverlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
  z-index: 100;
  overflow: auto;
}
.popupoverlay:target {
  visibility: visible;
  opacity: 1;
}

.popup {
  margin: 70px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 70%;
  position: relative;
  transition: all 5s ease-in-out;
  overflow: auto;
}

.popup h2 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup .close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup .close:hover {
  color: orange;
}
.popup .content {
  max-height: 30%;
  overflow: auto;
}
