/*
  Custom Variables are accessible via: 
*/

.clear {
  clear: both;
  height: 0px;
  visibility: hidden;
}

.clearfix:after {
     visibility: hidden;
     display: block;
     font-size: 0;
     content: " ";
     clear: both;
     height: 0;
}

.clearfix {
  display: inline-block;
}

* html .clearfix {
  height: 1%;
}

.clearfix {
  display: block;
}



/* Base */


/* Base */



html {
}

body {
	font-family: 'Rosario', 'Helvetica', sans-serif;
	font-size: 16px;
    color: #333;
    background-color: #fff;
}



p {
	line-height: 1.4;
}

h1 {
	font-size: 24px;
}

h2, h3 {
	font-size: 24px;
}




a, button {
	color: #333;
	transition: all 0.3s;
	-webkit-transition: all 0.3s;
	-moz-transition: all 0.3s;
}


header {
    margin-bottom:3%;
}

#description {
    width: 80%;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

#description p {
    margin: 12px 0;
    text-align:left;
}


#photos {
	overflow: hidden;
	overflow-x: scroll;
	overflow-y: hidden;
	-webkit-overflow-scrolling: touch;
	white-space:nowrap;
	padding: 0 10px 0 20px;
	font-size: 0;
}
	.photowrapper {
		position: relative;
		margin-right: 5px;
		display: inline-block;		
	}
    .photoinfo {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        padding: 0 10px 10px 10px;
        font-size: 16px;
        white-space: normal;
        background: rgba(255, 255, 255, 0.9);
        transition: all 0.3s ease-in-out;
        -webkit-transition: all 0.3s ease-in-out;
        -moz-transition: all 0.3s ease-in-out;
    }
        .photoinfo.hidden {
            opacity: 0;
            pointer-events: none;
        }
        .photoinfo > * {
            margin-top: 5px;
            line-height: 1.4;
        }
        .photoinfo li {

            font-style: italic;
            font-size: 14px;
            margin-right: 20px;
        }
            .photoinfo li:last-child {
                margin-right: 0;
            }
        .photoinfo .map {
            position: absolute;
            top: 0;
            right: 0;
            margin-top: 0;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.8);
        }
        .store_links a {
            margin-right: 10px;
        }
            .store_links a:last-child {
                margin-right: 0;
            }

footer {
	position: absolute;
	bottom: 0;
	padding: 0 20px;
	font-size: 12px;
}
	footer p,
	footer a {
		color: #999;
        margin-top:6px;
        margin-bottom:5px;
	}

.infopage {
	box-sizing: border-box;
	padding: 20px;
	overflow-x: hidden;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}
	.infopage p {
		margin-bottom: 1em;
	}
	#about {
		min-width: 320px;
		max-width: 480px;
	}

		#about .avatar {
			width: 100px;
			margin-top: 10px;
		}
		#about li {
			line-height: 1.6;
		}
		#about .map {
			width: 280px;
		}
		
	input, textarea {
		color: #333 !important;
		border: none;
		border: 1px solid rgba(128,128,128,0.2);
		padding: 10px;
		background: #fff;
	}
	
	textarea {
		width: 280px;
		min-height: 100px;
	}
	
	#rc {
		margin-left: -9px;
	}
	
/* 	button {
	    width: 160px;
	    margin: 20px 0;
	    padding: 20px;
	    border: none;
	    border: 1px solid #ccc;
	    background: none;
	    background: #eee;
	    font-family: 'Rosario', 'Helvetica', sans-serif;
	    font-size: 16px;
	    color: #333;
	}
	    button:hover {
	        background: #ddd;
	        border: 1px solid #aaa;
	        cursor: pointer;
	    } */


/* custom tweaks  */

img.photo { border: 1px solid #CACACA;  margin-right:20px;         box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);  }

a { color:#cc0000; }

	a:hover {
		color: #ffff66;
	}

a.navbar-brand {
    font-weight: bold;
    font-size: 2.3rem;
}
.navbar-inverse .navbar-brand {
    color: white;
}

.navbar-inverse .navbar-brand:hover,
.navbar-inverse .navbar-brand:focus {
    color:#eaea88;
}

.navbar-inverse .navbar-nav > li > a:hover, 
.navbar-inverse .navbar-nav > li > a:focus {
    color:#eaea88;
}


h2.title {
    text-align:center;
    font-weight:bold;
    color: #929292; 
    font-size:24px; 
    margin-top:60px;
    margin-bottom:20px;
    border-bottom: 1px solid #d3d3d3; 
    padding-bottom:10px;
}


/* icons */
header i.fa {
    margin-top: 15px;
    margin-left: 22px;
    color: white;
}

i.fa:hover,
i.fa:focus {
    color: #eaea88;
}


/* resume page (about) only */

#resume { 
    max-width:800px;
    width:80%; 
    margin-left:auto; 
    margin-right:auto; 
    margin-bottom:100px; 
}




 .resumepage .button-wrapper {
    text-align:center;
    margin-top:20px;
}

#resume h2 {
    margin-top:50px;
    border-bottom: 1px solid #d3d3d3; 
}

#resume h3 {
    margin-top:50px;
    margin-bottom:0;
    font-size: 1.2em;
    font-weight:bold;
}

#resume p { margin-top:4px; margin-bottom:4px;}

#resume p.location {
    font-weight:bold;
}


#resume li { 
    margin-bottom:3px;  
}

#resume ul.fa-ul i.fa {
   color: #929292;
}



/* Adjustments for Mobile */
@media only screen and (max-width: 480px) {
	header {
	}
		
    header ul {
			padding-top: 5px;
		}
	li {
	    font-size: 14px;
			}

	

	.photoinfo {
			display: none;
		}
	.infopage {
		padding: 10px;
	}
    
    footer {
	    position: absolute;
	    bottom: 10px;
        left:10px;
	    padding: 0;
	    font-size: 12px;
        margin:0;
        height:0;
    }
    footer p,
	footer a  {
        height:0;
        margin:0;
        padding:0;
	}
	h1, h2 {
		font-size: 16px;
		margin-bottom:0;
	}

    h2.title {
        margin:0;
    }    
    
/* fix title on home page */    
    
 .resumepage h2.title  { 	
    margin-top:40px; 
    margin-bottom:0px;  
} 
	h3 {
		/* font-size: 16px; */
	}
    
    #description {
        display:none;
}


/* icons */
header i.fa {
    margin-top: 18px;
    margin-left: 6px;
    color: white;
}

}
