/*
Custom CSS for...
'Modern Business' HTML Theme by Start Bootstrap

All Start Bootstrap themes are licensed under Apache 2.0.
For more info and more free Bootstrap 3 HTML themes, visit http://startbootstrap.com!
*/

/* Global Styles */

html, body {
  height: 100%;
}

body {
  padding-top: 50px;
  overflow-y: scroll;
  overflow-x: hidden;
 /* body padding for fixed top nav */
}

p {
/*   font-family: 'Open Sans', sans-serif; */
  font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
  font-weight: 300;
  color: #666;
  font-size: 16px;
  line-height: 1.6em;
  text-align:left;
}

h3 {
  font-family: 'Open Sans', sans-serif;
  color:#b20005;
  font-size: 1.5em
}

h4 {
  /* font-family: "Open Sans", sans-serif;  */
  font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
  font-weight: 400;
  color: #666;
  font-size: 13px;
  line-height: 1.6em;
  text-align:left;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0px;
  margin-bottom: 0;
  font-style: italic;
}

h4.thick {
    font-weight: 700;
	margin-top: 6px;
	font-style: normal;
}

/* Video header style */
header {
position: relative;
background-color: black;
height: 50vh;
min-height: 25rem;
width: 100%;
overflow: hidden;
}

header video {
position: absolute;
top: 25%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: 100%;
height: auto;
z-index: 0;
-ms-transform: translateX(-50%) translateY(-25%);
-moz-transform: translateX(-50%) translateY(-25%);
-webkit-transform: translateX(-50%) translateY(-25%);
transform: translateX(-50%) translateY(-25%);
}

header .container {
position: relative;
z-index: 2;
}

header .overlay {
position: absolute;
top: 0;
left: 0;
height: 100%;
width: 100%;
background-color: black;
opacity: 0.2;
z-index: 1;
}

@media (pointer: coarse) and (hover: none) {
  header {
    background: url('../img/entry.png') black no-repeat center center scroll;
  }
  header video {
    display: none;
  }
}

/*Better menu*/
.navbar-inverse .navbar-nav>li>a {
  color: #e2e2e2;
  background-color: #343538;
  font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}

.navbar-inverse .navbar-nav>li>a:hover {
  color: #ffffff;
  background-color: #000000;
}

.navbar {
  background-color: #343538
}

#header-nav .navbar-inverse .navbar-nav>li>a {
  color: #e2e2e2;
  background-color: #343538;
  font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;
}

#header-nav .navbar-inverse .navbar-nav>li>a:hover {
  color: #ffffff;
  background-color: #000000;
}

#header-nav .navbar {
  background-color: #343538
}

.row {
  background-color:transparent;
  border:none;
}

.container{
  border:none;
}

.floating-text {
  display:inline;
  float:left;
}

.round-edges {
  border-radius:4%;
  display:inline;
  float:left;
  margin:5px;
  margin-left:0px;
  border: 5px solid #ffffff;
}

.toggle-text {
  padding:7px;
  border-radius: 3px;
}

.scaled-half {
  height:50%;
  width: 50%;
}

.scaled-third {
  height: 30%;
  width: 30%;
}

.scaled-quarter {
  height:25%;
  width: 25%;
}

.scaled-fifth {
  height:20%;
  width: 20%;
}

.scaled-eighth {
  height:12.5%;
  width: 12.5%;
}

.scaled-sixteenth {
  height:6.25%;
  width: 6.25%;
}
.center {
  text-align: center;
}

.open-reader{
  background-color: #f5f5f5;
  border-radius:3px;
  color: #b20005;
  padding:0;
  margin:0;
  border: 0;
}

.open-reader:hover{
  text-decoration: underline;
}

.small-title {
  font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
  color:#b20005;
  font-size: 1.5em
}

.img-home-portfolio,
.img-customer,
.portfolio-item {
  margin-bottom: 30px;
}

.tab-pane {
  margin-top: 15px;
}

/* Page Sections */
.section,
.section-colored {
  padding: 50px 0;
}

.section-colored {
  background-color: #F2F2F2;
 /* change this to change the background color of a colored section */
}

.sidebar {
  margin-top: 40px;
}

.sidebar ul {
  border-radius: 5px;
  padding: 5px;
  border: 1px solid #cccccc;
}

/* Half Page Height Carousel Customization */
.carousel {
  height: 40%;
}


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


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

/* Social Icons Styles */
.list-social-icons {
  margin-bottom: 45px;
}

.tooltip-social a {
  text-decoration: none;
  color: inherit;
}

.facebook-link a:hover {
  color: #3b5998;
}

.linkedin-link a:hover {
  color: #007fb1;
}

.twitter-link a:hover {
  color: #39a9e0;
}

.google-plus-link a:hover {
  color: #d14836;
}

/* Service Page Styles */
.service-icon {
  font-size: 50px;
}

/* 404 Page Styles */
.error-404 {
  font-size: 8em;
}

/* Pricing Page Styles */
.price {
  font-size: 4em;
}

.price-cents {
  vertical-align: super;
  font-size: 50%;
}

.price-month {
  font-size: 35%;
  font-style: italic;
}

.btn, .btn-primary{
  background-color: #b20005;
  border:none;
  border: 1px solid #ffffff;
}

.btn:hover, .btn-primary:hover {
  color: #b20005;
  background-color: #ffffff;
  border: 1px solid #b20005;
}

a.red-link {
  color: #b20005;
}
/* Footer Styles */
footer {
  margin: 50px 0;
  width: auto;
}

/* Responsive Styles */
@media (max-width: 767px) {

  .carousel {
    height: 70%;
 /* increases the carousel height so it looks good on phones */
  }
}

@media screen and (max-width: 1000px) {
  .readmore-dialog {
    width: 100% !important;
  }
}

/* Logo Styles */
.logostyle {
	padding-right: 3px !important;
	padding-left: 3px !important;
}

.logostyle2 {
	height: 100px;
}

.logo-achmea {
	padding: 20px 0;
}

.logo-nsi{
	padding: 30px 5px;
}

.logo-fidelity{
	padding: 35px 15px;
}

@media (min-width: 460px) {
	.logostyle2 {
		height: 170px;
	}

	.logo-nsi{
		padding:60px 10px;
	}

	.logo-fidelity{
		padding: 70px 15px;
	}

}

@media (min-width: 992px) {
	.logo-achmea {
		padding: 80px 0;
	}

	.logo-nsi{
		padding:55px 10px;
	}

	.logo-fidelity{
		padding: 70px 15px;
	}

	.logostyle2 {
		height: 90px;
	}

}

/* Table styles */
table {
  width: 100%;
}

th, td {
  font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
  font-weight: 300;
  font-size: 16px;
  text-align: left;
  padding: 3px;

}

td {
  color: #666;
}

th {
  color: #b20005;
}

/* #free-scores tr:nth-child(even){background-color: #f2f2f2;} */

table.sortable th:not(.sorttable_sorted):not(.sorttable_sorted_reverse):not(.sorttable_nosort):after {
    content: " \25B4\25BE"
}

#pricing th td {
  padding: 3px;
}

/* Carousel CSS */
.carousel-inner img {
    padding: 7%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
		max-height: 80px;
		width: auto;
		height: auto;
		position: absolute;
		vertical-align: middle;
}

.client-item {
	position: relative;
	height: 80px;
}

.carousel-inner a {
    vertical-align: middle;
    line-height:normal;
    display: inline-block;
}

@media (min-width: 992px ) {
	.carousel-inner .active.left {
		left: -16.6667%;
	}
	.carousel-inner .next {
		left:  16.6667%;
	}
	.carousel-inner .prev {
		left: -16.6667%;
	}
}

@media (max-width: 991px ) {
	.carousel-inner .active.left {
		left: -33.3%;
	}
	.carousel-inner .next {
		left:  33.3%;
	}
	.carousel-inner .prev {
		left: -33.3%;
	}
	.active > div:first-child {
		display:block;
	}
	.active > div:first-child + div {
		display:block;
	}
	.active > div:last-child {
		display:none;
	}
}
