html {
	position: relative;
	min-height: 100%;
}

body {
	background-color: #fff;
	margin-bottom: 60px;
}

h1 {
	font-family: "Open Sans", Arial, sans-serif;
}

.body-main {
	background-image: url('Photos_Ready/Main_Background.jpg');
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-position: center;
}

.body-contact {
	background-image: url('Photos_Ready/Contact_Background.jpg');
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-position: center;	
}

header {
	padding-top: 5px;
	padding-bottom: 8px;
	background-color: rgba(255, 255, 255, 1.0);
	font-family: "Open Sans", Arial, sans-serif;
	border-bottom: 1px solid #eee;
}

.more-description { 
    display: none;
}

.sublogo {
	position: absolute;
	top: 54px;
	left: 74px;
	font-weight: 700;
	color: #555;
}

.main-subtext {
	background-color: rgba(0, 0, 0, 0.65);
    color: white;
    padding: 10px;
    font-weight: 700;
    margin-bottom: 46vh;
    height: 40px;
    font-size: 16px;
}

.main-subtext-item {
	position: absolute;
	width: 100%;
	text-align: center;
	display: none;
}

.main-links {
	text-align: right;
}

.slider-container {
	position: fixed;
	bottom: 0;
	width: 100%;

	border-top: 1px solid #eee;

	background-color: #fff;
	padding-top: 10px;
	padding-bottom: 10px;

	max-height: 75px;
}

.header-link {
	margin-left: 20px;
	margin-top: 25px;
	display: inline-block;
	font-size: 16px;
	font-weight: 700;
}

.header-link:link, .header-link:visited, .header-link:active, .header-link:hover {
	text-decoration: none;
}

.solutions-list li:before {
	margin-right: 10px;
	content: '\00B7';
}

.solutions-list li:first-child:before {
	content: '';
}

.marquee-container {
	width: 100%;
	overflow:hidden;
}

.marquee {
	display:block;
	position:relative;
	height:50px;
	animation: scrollin 50s linear infinite;
	padding:5px;
}

.marquee img {
	height:40px;
  	margin-left: 8px;
  	margin-right: 8px;
  	float:left;
}

@keyframes scrollin {
	
}

.main-well {
	background-color: rgba(0, 0, 0, 0.85);
	color: #fff;
	margin-top: 30px;
	padding: 10px;

	-webkit-box-shadow: 0px 7px 21px -2px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 7px 21px -2px rgba(0,0,0,0.2);
	box-shadow: 0px 7px 21px -2px rgba(0,0,0,0.2);
}

.main-tagline {
	font-style: italic;

	margin-top: 30px;
	margin-bottom: 30px;
	text-align: center;
	font-size: 30px;
	display: block;
}

.main-tagline.sub-tagline {
	font-size: 24px;

	margin-top: 18px;
	margin-bottom: 18px;

	font-variant: small-caps;

	font-style: normal;
}

.main-list {
	list-style-type: none;
	padding-left: 0;
	margin-top: 24px;
	margin-bottom: 39px;
}

.main-list li {
	margin-bottom: 15px;
}

.caption-large {
    position: absolute;
    left: 0;
    right: 0;

    padding: 15px;
    text-align: right;
    
    background-color: rgba(0, 0, 0, 0.65);
    color: white;

    font-size: 18px;
    font-weight: 700;
}

.gallery-thumbnail {
    margin-top: 25px;
}

.gallery-thumbnail img {
    width: 360px;
}

.thumbnail-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 40px;
}

.caption-small {
    text-align: center;
    color: white;
    background-color: #000;
    padding: 10px;
}

.product-row {
    margin-top: 30px;
    margin-bottom: 30px;
}

figure img {
    outline: 4px solid rgba(0, 0, 0, 0.65);
    outline-offset: -4px;
    width: 100%;
}

.bxslider figure img {
	outline: none;
}

@media (max-width: 1200px) {
    .gallery-thumbnail img {
        width: 290px;
    }

    .caption-small {
    	font-size: 13px;
    }
}

@media (max-width: 992px) {
	.logo-wrapper {
		text-align: center;
		position: relative;
		margin-left: -15px;
	}

	.main-links {
		text-align: center;
	}

	.sublogo {
		position: absolute;
		top: inherit;
		left: inherit;
		margin-top: -20px;
		margin-left: -52px;
	}

	.gallery-thumbnail img {
        width: 100%;
    }
}

@media (min-width: 768px) {
	.gallery-thumbnail {
		cursor: pointer;
	}
}

@media (max-width: 576px) {
	.sublogo {
		font-size: 14px;
	}

	.header-link {
		margin-left: 10px;
		font-size: 14px;
	}

	.solutions-list li:before {
		content: '';
	}

	.marquee {
		animation: scrollin 40s linear infinite;
	}

	.main-well {
		text-align: center;
	}

	.body-main {
		background-image: url('Photos_Ready/Main_Background_Mobile.jpg');
		background-position: 0px 120px;
		background-size: 100% auto;
	}
}

@media (max-width: 400px) {
	.main-subtext {
    	height: 70px;
    }

    .subtext-mobile-view {
    	top: 14px;
    }
}

/* ===== Cladco footer ===== */
.site-footer {
    border-top: 1px solid #e3e3e3;
    padding: 40px 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-length: 1.5;
    background-color: #fff;
}

.footer-table {
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
    border-collapse: collapse;
    table-layout: fixed;           /* equal columns */
    text-align: left;
}

.footer-table td {
    width: 20%;                    /* five equal columns */
    vertical-align: top;
    padding: 0 14px;
}

/* Logo column */
.footer-logo-cell {
    text-align: center;
}

.footer-logo-img {
    max-width: 170px;
    height: auto;
    display: block;
    margin: 0 auto 8px;
}

.footer-logo-text {
    font-weight: bold;
    color: #333;
}

/* Headings & links */
.footer-heading {
    font-weight: bold;
    color: #0055cc;
    margin-bottom: 8px;
}

.footer-link {
    color: #000;
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

/* Social icons */
.social-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.social-list li {
    margin-bottom: 6px;
}

/* ===== Responsive behavior ===== */
@media (max-width: 900px) {
    .footer-table,
    .footer-table tbody,
    .footer-table tr,
    .footer-table td {
        display: block;
        width: 100%;
    }

    .footer-table td {
        padding: 16px 0;
        text-align: center;
    }

    .footer-table td div,
    .footer-table td a {
        text-align: center;
    }

    .footer-logo-cell {
        margin-bottom: 10px;
    }
}

/* Force correct icon size in footer */
.site-footer .social-list img.social-icon {
    width: 22px !important;
    height: 22px !important;
    max-width: none !important;
    object-fit: contain !important;
    display: inline-block !important;
    vertical-align: middle;
    margin-right: 6px;
}
