
.tm-white { color: #FFFFFF; }


.tm-section-margin-t { margin-top: 50px; }
.tm-section-margin-t-small { margin-top: 50px; }

.cd-hero-slider li:first-of-type,
.cd-hero-slider li:nth-of-type(2),
.cd-hero-slider li:nth-of-type(3),
.cd-hero-slider li:nth-of-type(4) {
    background: none;
}

.cd-hero-slider .cd-full-width { padding-top: 0; }

.cd-slider-nav {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	z-index: 1002;
	background-color: rgba(42, 59, 85, 0.8);
	height: 50px;
}

.cd-slider-nav nav { 
	width: 100%; 
	padding: 0 10px;
}

.cd-slider-nav .navbar-nav {
	display: inline-block;
	float: none;
	vertical-align: top;
}

.cd-slider-nav li { 
	display: block;
	float: none;
	width: auto;	
}

.tm-navbar { float: right; }
.tm-navbar-bg {
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	    align-items: center;
	-ms-flex-pack: justify;
	    justify-content: space-between;
	padding-left: 10px;
	padding-right: 10px;
	overflow: auto;
}

button:focus { outline: none; }

.cd-slider-nav a.navbar-brand {
	background-color: transparent;
	color: white;
	font-size: 3rem;
	padding-top: 0;
	padding-bottom: 0;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-align: center;
	    align-items: center;
	-ms-flex-pack: center;
	    justify-content: center;
	margin-top: 0;
	width: auto;
}

.cd-slider-nav a { text-transform: capitalize; }

.cd-slider-nav a,

.cd-slider-nav .nav-item.selected .nav-link,
.cd-slider-nav .nav-link:hover,
.cd-slider-nav .nav-link:focus {
	background-color: #1a2d4b;
	color: white;	
}

/* Hero Slider */
.cd-hero-slider { /*height: 100vh;*/ }
.cd-hero-slider li { list-style: none; }
.tm-textbox { /*display: inline-block;*/ }

.cd-hero-slider h2, .cd-hero-slider p {
	max-width: none;
	width: 100%;
}

.cd-hero-slider p { color: white; }
.cd-hero-slider .tm-bg-white p,
.cd-hero-slider .tm-bg-white h2 { color: black; }

.cd-hero-slider .tm-text { 
	font-size: 1em;
	line-height: 1.8; 
}

.tm-home-container {
	/*margin: 0 auto;*/
	/*max-width: 800px;*/
	width: 100%;
}

.tm-home-title-container,
.tm-home-description-container {
	width: 100%;
}

.tm-home-title-container {
	background-color: #f9c10b;
	border: 1px solid white;
	margin-bottom: 0;
	padding: 30px;
}

.tm-bg-dark-blue { background-color: #1A2D4B; }
.tm-bg-white { 
	background-color: white; 
	color: black;
}
.tm-bg-brown { background-color: #856729; }
.tm-bg-dark-brown { background-color: #5a471c; }
.tm-home-description-container { padding: 50px; }

.tm-home-container-bg {
	background-color: white;
    width: 100%;
    max-width: 840px;
    margin: 0 auto;
    position: absolute;
    z-index: -1;
    left: 0;
    top: 45px;
    height: 94%;
}

.tm-home-container-outer {
    position: relative;
    max-width: 840px;
    margin: 0 auto;
}

.cd-hero-slider h2.tm-text-title {	
    font-size: 1.6em;
    font-weight: 400;
}

/* About */
.tm-white-header-container { width: 100%; }

.tm-white-header-container .tm-text-title {
	padding: 25px 40px 60px;
    font-size: 3rem;
}

.tm-white-header-body {
	width: 96%;
    display: block;
    margin: -40px auto 0;
}

.tm-2-col-left { padding-right: 30px; }
.tm-2-col-right { padding-left: 30px; }
.tm-margin-b { margin-bottom: 40px; }
.tm-height-100 { height: 100%; }
.tm-white-border { border: 1px solid white; }

/* Gallery */
.cd-hero-slider h2.tm-margin-b-0 { margin-bottom: 0; }
.tm-gallery-title-container { 
	position: relative; 
	padding-left: 10px;
	padding-right: 10px;
}

.tm-bg-white-half {
	background-color: white;
	width: 50%;
	height: 126px;
	position: absolute;
	top: -10px;
	left: -15px;
	z-index: -1;
}

.tm-footer {
	position: absolute;
	bottom: 0;
	left: 0;	
}

.tm-footer {
    width: 100%;
    color: white;
    z-index: 1001;
    padding: 0 11px 12px;
}

.cd-full-width {
	display: -ms-flexbox;
	display: flex;
    -ms-flex-direction: column;
        flex-direction: column;
    -ms-flex-align: center;
        align-items: center;
    -ms-flex-pack: center;
        justify-content: center;
}

.cd-hero-slider p:last-child { margin-bottom: 0; }

/* Contact */
.tm-contact-page {
	margin: 0 auto;
	max-width: 1190px;
	padding: 0;
}

.tm-contact-container { max-width: 1150px; }

.form-control,
.tm-submit-btn {
	font-size: 1.8rem;
}
.form-control {
	border-radius: 0;
	padding: 1rem 2rem;
}

.form-control::-webkit-input-placeholder { color: #000000; }
.form-control:-moz-placeholder { color: #000000; } /* Firefox 18- */
.form-control::-moz-placeholder { color: #000000; } /* Firefox 19+ */
.form-control:-ms-input-placeholder { color: #000000; }
.form-group { margin-bottom: 1.5rem; }

.tm-submit-btn {
	background-color: #856729;
	border: none;
	color: white;
	padding: 10px 50px;
	margin-top: 10px;
	font-weight: 400;
	font-size: 2.5rem;
}

.tm-submit-btn:hover,
.tm-submit-btn:focus,
.tm-submit-btn:active {
	background-color: rgb(176, 138, 59);
}

textarea { height: 168px; }


.cd-hero-slider.small-screen { height: 100%; }

.tm-navbar {
	position: absolute;
    right: 20px;
    top: 44px;
}

.cd-slider-nav .navbar-nav { background-color: #455471; }

.cd-slider-nav a, 

.cd-hero-slider .cd-full-width { text-align: left; }
.tm-2-col-left { padding-right: .9375rem; }

.tm-2-col-right {
	padding-left: .9375rem;
	padding-top: 14px;
}

.tm-2-col-textbox-2 {
	width: 100%;
	padding: 25px;
	margin-bottom: 30px; 
	-ms-flex: 0 1 auto; 
	    flex: 0 1 auto; 
	        /* Fix flexbox in IE 10 bug https://philipwalton.com/articles/normalizing-cross-browser-flexbox-bugs/ */
}

.tm-2-col-textbox-2:last-child { margin-bottom: 0; }

/* Gallery */
.grid-item {
	margin-bottom: 20px;
	padding-left: 1px;
	padding-right: 1px;
	float: left;
	width: 100%;
}

.grid-item-square { width: 50%; }

.grid-item:last-child { margin-bottom: 0; }

.tm-img-gallery {
	margin: 0 auto 10px;
	display: inline-block;
}

.tm-img {
  	width: 100%;
  	height: auto;
  	border: 10px solid #ffffff;
  	margin: 0 auto;
}

.tm-img-no-border {
	width: 100%;
	height: auto;
	margin: 0 auto;
}

.tm-textbox-padding { padding: 35px 30px; }

.col-xs-12 {
	padding-left: 10px;
	padding-right: 10px;
}

.tm-copyright-text {
	background-color: rgba(0, 0, 0, 0.3);
	color: white;
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 400;
    padding: 5px 12px;
    width: 100%;
}

.tm-footer { padding: 50px 11px 20px; }
.tm-footer-link { color: white; }
.tm-footer-link:hover,
.tm-footer-link:focus {
	color: yellow;
}
