/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */

body {
	font-family: 'Raleway', sans-serif;
	background-color: #262453;
}

h1 {
	font-size: 36px;
	line-height: 36px;
	color: #222222;
}

h2 {
	font-size: 24px;
	line-height: 26px;
	color: #222222;
	font-weight: 700;
}

span.smaller {
	font-size: 20px;
	line-height: 30px;
}

.half-content, .half-image {
	width: 100%;
	display: inline-block;
	padding: 0px 15px;
}

.content-wrapper:nth-child(odd) .half-content {
	float: left;
}

.content-wrapper:nth-child(even) .half-content {
	float: right;
}

.content-wrapper {
	overflow: hidden;
}

.header-wrapper {
	background-color: #262453;
}

.header-wrapper .navbar-default {
	background-color: transparent;
	border-color: transparent;
}

.header-wrapper .navbar {
	border: none;
	margin-bottom: 0px;
}

header .nav>li {
	text-align: center;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #e4e2e4;
}

.navbar-default .navbar-toggle:focus, .navbar-default .navbar-toggle:hover {
    background-color: transparent;
}

.header-wrapper .navbar-brand {
    float: left;
    min-height: 50px;
    height: auto;
    padding: 10px 0px;
    font-size: 18px;
    line-height: 20px;
}

.header-wrapper .navbar-default .navbar-nav>li>a {
    color: #fff;
}

.header-wrapper .navbar-default .navbar-nav>.active>a, 
.header-wrapper .navbar-default .navbar-nav>.active>a:focus {
    color: #fff;
    background-color: #262453;
    text-shadow: 0 0 1px #fff, 0 0 1px #fff;
}

.header-wrapper .navbar-default .navbar-nav>li>a:focus, .navbar-default .navbar-nav>li>a:hover {
    color: #fff;
    background-color: transparent;
    text-shadow: 0 0 1px #fff, 0 0 1px #fff;
}

.header-wrapper .navbar-default .navbar-nav>.active>a:hover {
	color: #fff;
	text-decoration: none;
	text-shadow: 0 0 1px #fff, 0 0 1px #fff;
	background-color: #262453;
}

.header-wrapper .nav>li>a {
    position: relative;
    display: block;
    padding: 10px 5px;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

.header-wrapper .navbar-toggle {
    position: relative;
    float: right;
    padding: 9px 10px;
    margin-top: 35px;
    color: #fff;
    margin-right: 15px;
    margin-bottom: 35px;
    background-color: transparent;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
}

.introduction-wrapper {
	background-image: url("../images/introbg.jpg");
	background-size: cover;
	min-height: 550px;
}

.introduction {
	text-align: center;
	min-height: 550px;
	display: table;
	width: 100%;
}

.introduction .showless-content h1, .introduction .showmore-content h1 {
	margin-bottom: 45px;
}

.introduction .showmore-content h1 {
	
}

.showless-content {
	display: table-cell;
	vertical-align: middle;
	opacity: 1;
	padding: 15px 0;
}

.showmore-content {
	display: none;
	vertical-align: middle;
	opacity: 0;
	padding: 15px 0;
}

.introduction p {
	font-size: 24px;
	line-height: 40px;
	color: #222222;
	font-weight: 300;
	font-style: italic;
	margin-bottom: 25px;
}

.introduction button.showmore {
	text-decoration: none;
	color: #222222;
	font-size: 15px;
	border: 1px solid #222222;
	border-radius: 2px;
	padding: 15px 30px;
	display: inline-block;
	background-color: transparent;
}

.introduction button.showless {
	text-decoration: none;
	color: #222222;
	font-size: 15px;
	border: 1px solid #222222;
	border-radius: 2px;
	padding: 15px 30px;
	display: inline-block;
	background-color: transparent;
}

button.showmore:hover, button.showless:hover, a.readmore:hover, .contact-form form input[type="submit"]:hover {
	text-decoration: none;
    color: #fff;
    font-size: 15px;
    border: 1px solid #fff;
    border-radius: 3px;
    padding: 15px 30px;
    background-color: #262453;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
	display: inline-block;
	outline: transparent;
}

.introduction-wrapper ul {
	width: 100%;
	text-align: center;
}

.introduction-wrapper ul li {
	display: inline-block;
	width: 100%;
    float: none;
    min-height: 0px;
    position: relative;
}

.introduction-wrapper ul li:after {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: #201c45;
	z-index: 0;
}

.introduction-wrapper ul li:hover {
    display: inline-block;
    width: 100%;
    float: left;
    padding-bottom: 0px;
    background: #474c81; /* Old browsers */
	background: -moz-linear-gradient(top, #474c81 0%, #292d5f 100%); /* FF3.6-15 */
	background: -webkit-linear-gradient(top, #474c81 0%,#292d5f 100%); /* Chrome10-25,Safari5.1-6 */
	background: linear-gradient(to bottom, #474c81 0%,#292d5f 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#474c81', endColorstr='#292d5f',GradientType=0 ); /* IE6-9 */
	-webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

.introduction-wrapper ul li a, .introduction-wrapper ul li a:hover {
	font-size: 14px;
	color: #fff;
	font-weight: 400;
	text-decoration: none;
	position: relative;
    z-index: 1;
}

.introduction-wrapper ul li img {
    margin-top: 15px;
    margin-bottom: 15px;
}

.introduction-wrapper ul li:first-child img {
	margin-top: 15px;
}

.introduction-wrapper ul li:last-child img {
	margin-top: 15px;
}

.introduction-wrapper ul li:last-child {
	padding-bottom: 15px;
}

.gray-wrapper  {
	background-color: #f3f3f3;
	overflow: hidden;
}

a.readmore {
	text-decoration: none;
	color: #222222;
	font-size: 15px;
	display: inline-block;
	border: 1px solid #222222;
	border-radius: 2px;
	padding: 15px 30px;
}

h2.topspace {
	margin-top: 50px;
}

p.content-p {
	font-size: 16px;
	line-height: 27px;
	color: #222222;
	margin-top: 40px;
	margin-bottom: 45px;
}

ol.content-ol-1 {
	font-size: 16px;
	line-height: 27px;
	color: #222222;
	padding: 0px 0px 0px 40px;
	margin-top: -20px;
	list-style-type:decimal;
}

ol.space li {
	
}

ol.content-ol-1-s {
	font-size: 16px;
	line-height: 27px;
	color: #222222;
	padding: 0px 0px 0px 40px;
	list-style-type:decimal;
}

ol.content-ol-a {
	font-size: 16px;
	line-height: 27px;
	color: #222222;
	padding: 0px 0px 0px 40px;
	list-style-type:lower-latin;
}

ol.content-ol-i {
	font-size: 16px;
	line-height: 27px;
	color: #222222;
	padding: 0px 0px 0px 40px;
	list-style-type:lower-roman;
}

ul.content-ul {
	font-size: 16px;
	line-height: 27px;
	color: #222222;
	list-style-type: circle;
	padding: 0px 0px 0px 40px;
	margin-top: -20px;
}

ul.content-ul li {
	padding-bottom: 5px;
}

ul.content-ul-small {
	font-size: 16px;
	line-height: 27px;
	color: #222222;
	list-style-type: circle;
	padding: 0px 0px 0px 20px;
	margin-top: -40px;
	padding-bottom: 50px;
}

ul.content-ul-small li {
	padding-bottom: 0px;
}

.section-image {
	text-align: center;
	margin-bottom: 10px;
	max-width: 100%;
}

.section-image img {
	margin-top: 50px;
	z-index: 1;
    position: relative;
    max-width: 100%;
}

.cut-margin-top {
	margin-top: -50px;
}

.cut-margin-top-high {
	margin-top: 0px;
}

.border-right-side, .border-left-side {
	position: relative;
	display: inline-block;
}

.border-right-side::after {
	content: "";
    position: absolute;
    border: 1px solid #212226;
    top: 60px;
    left: 10px;
    right: -10px;
    bottom: -7px;
    z-index: 0;
}

.border-left-side::after {
	content: "";
    position: absolute;
    border: 1px solid #212226;
    top: 40px;
    left: -10px;
    right: 10px;
    bottom: 12px;
    z-index: 0;
}

.white-wrapper {
	background-color: #ffffff;
	overflow: hidden;
}

.contact-form form {
	margin-top: 10px;
	margin-bottom: 50px;
}

.contact-form form input[type="text"], .contact-form form input[type="email"], .contact-form form textarea {
	border: 1px solid #222222;
	border-radius: 2px;
	background-color: #f3f3f3;
	color: #222222;
	font-size: 14px;
	line-height: 27px;
	padding: 10px 20px;
	width: 100%;
	margin-bottom: 20px;
}

textarea {
	resize: none;
}

.contact-form form input[type="submit"] {
	border: 1px solid #222222;
	border-radius: 2px;
	background-color: #f3f3f3;
	color: #222222;
	font-size: 14px;
	line-height: 27px;
	padding: 10px 30px;
	margin-bottom: 20px
}

.contact-form form input[type="submit"]:hover {
    border: 1px solid #fff;
    border-radius: 3px;
    font-size: 14px;
	line-height: 27px;
	padding: 10px 30px;
    background-color: #262453;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

.contact-form form input:focus, .contact-form form textarea:focus {
	outline: transparent;
}

.footer-content {
	background-color: #262453;
	text-align: center;
}

.footer-content p {
	font-size: 16px;
	line-height: 27px;
	color: #ffffff;
	padding: 40px 15px;
}

.page-content {
	padding: 50px 0px 100px 0px;
}

.page-content h2 {
	text-align: center;
}

span.bold {
	font-weight: 700;
}

td.bold {
	font-weight: 700;
}

.services-ul {
	margin-top: 30px;
}

.services-ul .nav-tabs{
    border-bottom: 2px solid #b5b4c3;
}

.services-ul .nav-tabs>li {
    float: none;
    margin-bottom: -2px;
    display: block;
}

.services-ul .nav-tabs>li>a {
    margin-right: 2px;
    line-height: 1.42857143;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
    color: #222222;
    font-size: 16px;
    line-height: 27px;
}

.services-ul .nav-tabs>li.active>a, .services-ul .nav-tabs>li.active>a:focus, .services-ul .nav-tabs>li.active>a:hover {
    cursor: default;
    background-color: transparent;
    border-bottom: 2px solid #d51f19;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

.services-ul .nav-tabs>li.active>a, .nav-tabs>li.active>a:focus, .nav-tabs>li.active>a:hover {
	border: 0;
	border-bottom: 2px solid #d51f19;
	-webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}

.services-ul .nav>li>a:focus, .nav>li>a:hover {
    text-decoration: none;
    background-color: transparent;
}

#blendys a, #dmm a, #wquality a, #sdq a, #products a, #sp a {
	text-decoration: none;
	color: #262453;
}

#vmm a, #nmt a {
	color: #262453;
	text-decoration: underline;
}

.content-p img {
	margin: 20px 0px;
	display: block;
}

.content-p img.center-block {
	margin: auto;
}

.spacer {
	overflow: hidden;
	height: 158px;
}

.spacer-small {
	overflow: hidden;
	height: 50px;
}

.table>tbody>tr>td, .table>thead>tr>td {
	vertical-align: middle;
}

.plus-padding {
	padding-bottom: 130px;
}

.btn-group-lg>.btn, .btn-lg {
    padding: 0;
    font-size: 16px;
    line-height: 27px;
    border-radius: none;
}
.btn-primary {
    color: #262453;
    background-color: transparent;
    border-color: transparent;
    outline-color: transparent;
}

.btn {
    display: inline-block;
    padding: 0;
    margin-bottom: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 27px;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    background-image: none;
    border: 1px solid transparent;
    border-radius: 4px;
    outline-color: transparent;
}

.btn-primary.active, .btn-primary.focus, .btn-primary:active, .btn-primary:focus, .btn-primary:hover, .open>.dropdown-toggle.btn-primary {
    color: #262453;
    background-color: transparent;
    border-color: transparent;
    outline-color: transparent;
}

ul.ref-ul li {
	padding: 5px 0px;
}

span.red {
	color: #D51F19;
}

.modal-body p {
	padding-bottom: 5px;
}

p.sent, p.sending, p.error-sent {
	font-size: 16px;
    line-height: 27px;
    color: #222222;
    padding: 10px 20px;
    display: none;
}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) { 
	.introduction-wrapper {
		min-height: calc( 100vh - 100px );
	}

	.introduction {
		height: calc( 100vh - 325px );
	}

	.introduction-wrapper ul li {
		width: 20%;
		min-height: 225px;
		float: left;
	}

	.introduction-wrapper ul li img {
	    margin-top: 65px;
	    margin-bottom: 30px;
	}

	.introduction-wrapper ul li:first-child img {
	    margin-top: 75px;
	}

	.introduction-wrapper ul li:last-child img {
	    margin-top: 74px;
	}


	.introduction-wrapper ul li:hover:after {
		top: -20px;
		background: #474c81; /* Old browsers */
		background: -moz-linear-gradient(top, #474c81 0%, #292d5f 100%); /* FF3.6-15 */
		background: -webkit-linear-gradient(top, #474c81 0%,#292d5f 100%); /* Chrome10-25,Safari5.1-6 */
		background: linear-gradient(to bottom, #474c81 0%,#292d5f 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
		filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#474c81', endColorstr='#292d5f',GradientType=0 ); /* IE6-9 */
		-webkit-transition-duration: 0.3s;
	    transition-duration: 0.3s;
	}

	.introduction-wrapper ul li:hover {
	    display: inline-block;
	    width: 20%;
	    float: left;
	    padding-bottom: 60px;
	}
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.contact-form form input[type="text"], .contact-form form input[type="email"], .contact-form form textarea {
		width: 80%;
	}

	.header-wrapper .nav>li>a {
	    padding: 40px 0px 40px 45px;
	}

	.nav>li {
		text-align: left;
	}

	.half-content, .half-image {
		width: 50%;
	}

	.section-image {
		margin-bottom: 80px;
	}

	h2.topspace {
		margin-top: 105px;
	}

	.section-image img {
		margin-top: 90px;
	}

	.cut-margin-top-high {
		margin-top: -120px;
	}

	.border-left-side::after {
		top: 60px;
	    left: -30px;
	    right: 30px;
	    bottom: 30px;
	}

	.border-right-side::after {
	    top: 120px;
	    left: 30px;
	    right: -30px;
	    bottom: -30px;
	}

	.page-content {
		padding: 100px 0px;
	}
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) { 
	.services-ul .nav-tabs>li {
	    float: left;
	}

	.contact-form form {
	    margin-top: 160px;
	    margin-bottom: 50px;
	}

	.plus-padding {
		padding-bottom: 70px;
	}
}