/*
Theme Name:     Twenty Fourteen CA Lending Theme
Description:    Twenty Fourteen Child Theme
Author:         Anthony Dias
Template:       twentyfourteen
*/
 
@import url("../twentyfourteen/style.css");

/* Insert your changes below this line -------- */

/*this center aligns site */

.site {
	margin-top: 0;
	max-width: 100%;
	width:100%;
	position: relative;
		}
		
/*end center align code */

/* remove/adjust featured image indent (default -48px) change to 0 or more for no indent (WP 4.1) */

.site-content .has-post-thumbnail .entry-header {
  margin-top: 0px;
}

/* end indent code */

/* adjust padding between top of content and header  72px default */

.content-area, .content-sidebar {
  padding-top: 72px;
}

/* end adjust padding between top of content & header */
/*make content set width*/
.site-content {
	margin-left: 0;
}
article {
	width:672px;
	height:830px;
	background-image: url("images/content2.png");
	border-style:solid;
	border-width:8px;
	border-color: rgba(110, 110, 110, 0.8);
	animation:none !important;
	z-index:5;
}

/*remove top header*/

.site-header {
	display:none;
}
.masthead-fixed .site-main {
    margin-top: 0px;
}
/*end remove top header*/

/*left menu property changes*/
#secondary {
	margin-top: 50px;
	margin-left: 50px;
	position: fixed;
	z-index: 5;
}
.site:before {

background-color:transparent;
}

.secondary-navigation {
	background-image: url("images/menu3.png");
	background-repeat: repeat-y;
	Opacity:0.8;
	height: 610px;
	border-style:solid;
	border-width:8px;
	border-color:#6e6e6e;

}
.navigation.site-navigation.secondary-navigation:after {
	background-image: url("images/star.png");
	height: 184px;
	width: 222px;
	position:absolute;

}
.navigation.site-navigation.secondary-navigation:before {
	background-image: url("images/logo.png");
	height: 115px;
	width: 222px;
}
.menu-main-menu-container {
	text-align: right;
	font-family:Museosans;
}
.headerwatermark {
	color:transparent;
	background-image: url("images/star.png");
}

.secondary-navigation ul ul {
	background-color:transparent;
   	background-image: url("images/menu3.png");
}
.secondary-navigation li {
	border-top: 0px;
}
.secondary-navigation li:hover > a,
.secondary-navigation li.focus > a {
	transition-property: background-color, color;
	transition-duration: .5s;
	transition-timing-function:ease-out;
	background-color: #E2E2E2 !important;
	Opacity:0.65;
	color: black;
}

.site-navigation .current_page_item > a,
.site-navigation .current_page_ancestor > a,
.site-navigation .current-menu-item > a,
.site-navigation .current-menu-ancestor > a {
	color: black;
	Opacity:1.0 !important;
	background-color:#B3B3B3;
}
/*end left menu property changes */

/*custom fonts*/
@font-face {
	font-family: MuseoSans;
	src: url(museo.otf);
}
/*end custom fonts/*
/*set html background*/
body {
	background-image: url("images/almondorchard2.jpg");
	background-position:top;
	background-attachment:fixed;
	overflow:hidden;
	overflow-y:hidden;

}
body.page-id-2 {
	background-image: none !important;
	background-color:black;
	background-position:top;
	background-attachment:fixed;
}

/*end set html background*/

/*make everything transparent*/
.site {
	color: white;
	background-color: transparent;
}
.site-content .entry-content, .site-content .entry-summary, .entry-header{
 	color:white;
	background-color:transparent !important;
}
/*make everything transparent*/


.site-footer {
    position:fixed;
    bottom:0;
    width:100%;
    height:180px;   /* Height of the footer */
}


/*custom menu changes*/
.home {
	border-top:4px #FFFFFF solid !important;

}
.our-staff {
	border-bottom:2px #FFFFFF solid !important;

}
.Ag-Loans {
	border-top:2px #FFFFFF solid !important;

}
.Portfolio {
	border-bottom:2px #FFFFFF solid !important;

}
.News {
	border-top:2px #FFFFFF solid !important;

}

/*end menu changes*/

/*slideshow background - will move to external file later/alter with media queries */
.cb-slideshow ,
.cb-slideshow:after {
    position:fixed; 
    width:100%;
    height:100%;
    top:0px;
    left:0px;	
    z-index: 0;  
    list-style-type:none;
    margin:0 0 0 0;
}

.cb-slideshow li span { 
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    left: 0px;
    color: transparent;
    background-size: cover;
    background-position: 50% 50%;
    background-repeat: none;
    opacity: 0;
    z-index: 0;
    animation: imageAnimation 18s linear infinite 0s; 
}

.cb-slideshow li:nth-child(1) span { 
    background-image: url("images/almondorchard2.jpg") 
}
.cb-slideshow li:nth-child(2) span { 
    background-image: url("images/appleorchard.jpg");
    animation-delay: 6s; 
}
.cb-slideshow li:nth-child(3) span { 
    background-image: url("images/appleorchard2.jpg");
    animation-delay: 12s; 
}


@keyframes imageAnimation { 
    0% { opacity: 0; transform: Scale(1.20);}
    17% { opacity: 1; transform: Scale(1.15);}
    33% { opacity: 1; transform: Scale(1.10);}
    50% { opacity: 0; transform: Scale(1.05);}
    100% { opacity: 0;}
}

.no-cssanimations .cb-slideshow li span{
	opacity: 1;
}

/*end slideshow background*/

h1 {
text-align:center !important;
}