
/*********************************************************************************************

x. Home

*********************************************************************************************/

/*****   Grid Layout   ******/

#home-grid-1 {
	width: 100%;
	height: auto;
    position: relative;
}

#home-grid-1 #col-1 {
	width: calc(51% - 150px);
	position: relative;
	float: left;
}

#home-grid-1 #col-2 {
	width: 300px;
	position: relative;
	float: left;
}

#home-grid-1 #col-3 {
	width: calc(49% - 150px);
	position: relative;
	float: left;
}

#home-grid-1 p {
    font-size: 0.85em;
    line-height: 1.5;
}
#home-grid-1 h1 {
    font-size: 30px;
    line-height: 1.5;
    font-weight: normal;
    margin: 0;
}

#home-grid-1 #top-left {
	width: 100%; 
    height: 450px;
	background: url(img/loader-brown.gif) center center no-repeat #77726C;
	position: relative;
	float: left;
	overflow: hidden;
}
#home-grid-1 #top-left .slides {
	width: auto; 
    height: 145%;
    position: absolute;
    transform: translate(-50%,-50%);
	top: 50%; left: 50%;
}
#home-grid-1 #top-left .slides img {
	width: auto; 
    height: 100%;
    max-width: none;
}
    @media only screen and (min-width: 1830px) {
        #home-grid-1 #top-left .slides {
            width: 100%; 
            height: auto;
        }        
        #home-grid-1 #top-left .slides img {
            width: 100%;
            height: auto;
        }
    }

#home-grid-1 #bottom-left {
	width: 100%; 
    height: 300px;
	background: url(img/loader-brown.gif) center center no-repeat #77726C;
	position: relative;
	float: left;
	overflow: hidden;
}
    #home-grid-1 #bottom-left .slides {
        width: auto; 
        height: 100%;
        position: absolute;
        transform: translate(-50%,-50%);
        top: 50%; left: 50%;
    }
    #home-grid-1 #bottom-left .slides img {
        width: auto; 
        height: 145%;
        max-width: none;
    }
        @media only screen and (min-width: 1830px) {
            #home-grid-1 #bottom-left .slides {
                width: 100%; 
                height: auto;
            }        
            #home-grid-1 #bottom-left .slides img {
                width: 100%;
                height: auto;
            }
        }

#home-grid-1 #content {
	color: #FFF;
	width: 100%; 
    height: 450px;
	background: #687782;
	position: relative;
	float: left;
	overflow: auto;
}

#home-grid-1 #bottom-middle {
	width: 100%; 
    height: 300px;
	background: url(img/loader-brown.gif) center center no-repeat #77726C;
	position: relative;
	float: left;
	overflow: hidden;
}
    #home-grid-1 #bottom-middle .slides {
        width: 320px;
        height: 100%;
        margin: 0;
        position: absolute;
        transform: translate(-50%,-50%);
        top: 50%; left: 50%;
    }
    #home-grid-1 #bottom-middle .slides img {
        width: 100%; height: auto;
    }

#home-grid-1 #top-right {
	text-align: right;
	width: 100%; 
    height: 285px;
	background: url(img/loader-brown.gif) center center no-repeat #77726C;
	position: relative;
	float: left;
	overflow: hidden;
}
#home-grid-1 #top-right .slides {
	width: 100%; height: 100%;
	position: absolute;
}
#home-grid-1 #top-right .slides img {
	width: 100%; height: auto;
}
    @media only screen and (min-width: 1830px) {
        #home-grid-1 #top-right .slides img {
            transform: translateY(-20%);
        }
    }

#home-grid-1 #bottom-right {
	width: 100%; 
    height: 465px;
	background: url(img/loader-brown.gif) center center no-repeat #77726C;
	position: relative;
	float: left;
	overflow: hidden;
}
    #home-grid-1 #bottom-right img {
        width: 100%; height: auto
    }
        @media only screen and (max-width: 1830px) {
            #home-grid-1 #bottom-right img {
                width: 130%; max-width:none;
            }
        }
        @media only screen and (max-width: 1530px) {
            #home-grid-1 #bottom-right img {
                width: 160%; max-width:none;
            }
        }

    #home-grid-1 #bottom-right .slides {
        width: 700px; height: 100%;
        margin:0;
        position: absolute;
        transform: translate(-50%,-50%);
        top: 50%; left: 50%;
    }

    #home-grid-1 #bottom-right .slides img {
        width: 740px; height: auto;
    }


/*****   Content Styles   ******/

#home-grid-1 #content > .content {
    padding:20px;
}

#home-grid-1 #content hr {
	width: 100%; height: 1px;
	background: #d7dee0;
	border: none;
	margin: 30px 0;
}

#home-grid-1 #content p > a {
    color:#fff;
    text-decoration:underline;
}
#home-grid-1 #content p > a:hover {
    text-decoration:none;
}

#home-grid-1 #content .scroll {
	position: absolute;
	top: 20px; bottom: 20px;
	right: 20px; left: 20px;	
}

#home-grid-1 #content table {
	width: auto; height: 100%;
}

.home-grid #latest-posts {
    color: #FFF;
    background: #7C775A;
    z-index: 150;
    border-top: 1px #fff solid;
    padding: 10px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
.home-grid #latest-posts h2 {
    color: #fff;
    font-size: 1.05em;
    text-transform: uppercase;
    margin: 0;
    padding: 5px 8px;
}
.home-grid #latest-posts p {
	font-size: 0.9em;
    line-height: 1.3em;
}
.home-grid #latest-posts .post {
	margin: 0;
	padding: 8px;
}
.home-grid #latest-posts .post-last {
    border:none;
}
.home-grid #latest-posts .post a {
	color: #FFF;
	text-decoration: none;
}
.home-grid #latest-posts .post a:hover {
	text-decoration: underline;
}
.home-grid #latest-posts .scroll {
	position: absolute;
	top: 70px; bottom: 70px;
	left: 20px; right: 20px;
	overflow: auto;
}
@media only screen and (min-width: 1150px) {
    .home-grid #latest-posts {
        position: absolute;
        right: 0; bottom: 0;
        width: 200px;
        color: #FFF;
        z-index: 150;
        border-top: 1px #fff solid;
        border-left: 1px #fff solid;
        padding: 10px;
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
    }
    .home-grid #latest-posts .post:not(.post-last) {
        border-bottom: 1px rgba(255, 255, 255, 0.3) solid;
    }
}
@media only screen and (max-width: 750px) and (min-width: 500px) {
    .home-grid #latest-posts h2{
        display: none;
    }
}

body.home #stripe-6 h3 {
    color:#A9905B;
}
body.home #stripe-6 a.fflms-button > span {
    color:#747476;
}

#home-grid-1 .padding {
	padding: 20px;
}


@media only screen and (max-width: 1350px) {
	#home-grid-1 #content hr {
		margin: 20px 0;
	}
}

@media only screen and (max-width: 1150px) {
	#home-grid-1 #col-1 {
		width: calc(100% - 300px);
		position: relative;
		float: left;
	}
	#home-grid-1 #col-2 {
		position: relative;
		float: left;
	}
	#home-grid-1 #col-2 .border-right {
		display: none;
	}
	#home-grid-1 #col-3 {
		width: 100%;
		position: relative;
		float: left;
	}
	#home-grid-1 #col-3 {
	    display: none;
	}
	#home-grid-1 #col-3 #top-right {
	    background-color:#8e9ba5;
	}
	#home-grid-1 #col-3 #bottom-right {
	    width:100%;
	}
}

@media only screen and (max-width: 750px) {
	#home-grid-1 #col-1 {
		width: calc(100% - 240px);
	}
	#home-grid-1 #col-2 {
        width: 240px;
	}    
    #home-grid-1 p {
        font-size: 0.85em;
    }
    #home-grid-1 h2 {
        font-size: 24px;
        margin: 0;
    }
}
/********************************************************************************************* 

x. Mobile Portrait (smaller than 500px)

*********************************************************************************************/
@media only screen and (max-width: 500px) {
    #home-grid-1 {
        height: auto;
    }
    #home-grid-1:after{
        content: "";
        display: table;
        table-layout: fixed;
    }
	#home-grid-1 #col-1 {
		width: 100%; 
        height: 35vh;
		position: relative;
		float: left;
		overflow: hidden;
	}
	#home-grid-1 #col-1 .border-right {
		display: none;
	}
	#home-grid-1 #col-2 {
		width: 100%; 
        height: auto;
		position: relative;
		float: left;
		overflow: hidden;
	}
	#home-grid-1 #col-3 {
		width: 100%; 
        height: 400px;
		position: relative;
		float: left;
		overflow: hidden;
	}
	#home-grid-1 #top-left {
	    height:300px;
	}
	#home-grid-1 #bottom-left {
		display: none;
	}
	#home-grid-1 #bottom-middle {
		height: 40vh;
	}
    #home-grid-1 #bottom-middle .slides {
        width: 500px;
    }

	#home-grid-1 #bottom-right {
		display: none;
	}
	
	#home-grid-1 #content {
		width: 100%; 
        height: auto;
	}
	#home-grid-1 #content h2{
        display: block;
		font-size: 2.2em;
	}
	#home-grid-1 #content p{
		font-size: 1em;
        line-height: 1.2;
	}

	.home-grid #latest-posts {
		width: 100%; 
        height: auto;
        position: static;
        border-top: 1px #fff solid;
        flex-wrap: wrap;
        align-items: flex-start;
	}
    .home-grid #latest-posts h2 {
        width: 100%;
    }
    .home-grid #latest-posts p {
        
    }
    .home-grid #latest-posts .post {
        width: 50%;
    }
    .home-grid #latest-posts .post-last {
        width: 100%;
        text-align: center;
        padding-top: 5px 0 0;
        margin-top: 6px;
        border-top: 1px rgba(255, 255, 255, 0.3) solid;
    }

	#home-grid-1 #slideshow {
		width: 320px; height: 181px;
	}
	
	#home-grid-1 #top-right {
		display: none;
	}
}