
::selection {
    color: #fff;
    background-color: #f5a637
}
.portfolio-box-caption {
    position: absolute;
    bottom: 0;
    background-color: #000000b8;
    width: 100%;
    font-size: 0.6em;
    text-transform: uppercase;
    font-weight: bold;
	padding: .25rem;
}
.navbar-scrolled {
	background-color: white;
}

.masthead {
	padding-top: 10rem;
    padding-bottom: calc(10rem - 72px);
    background: url(../img/bg-masthead.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-size: cover;
}

.navbar:not(.navbar-light) a.navbar-brand {
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 30px;
    padding: 5px 1em 5px 5px;
}
.navbar:not(.navbar-light) .navbar-collapse.collapse.show {
	background-color: rgba(0, 0, 0, 0.8);
    padding: 1em;
    border-radius: 0.2em;
}

.t {
    transition: 0.3s all ease-out;
}

.divider {
    width: 3rem;
    border-width: 2px;
}
.display-5 {
    font-size: 2.6rem;
    font-weight: 300;
    line-height: 1.2;
}


.font-serif {
    font-family: Georgia, serif;
}
.shadow-soft {
    transition: .15s box-shadow, .15s transform;
    box-shadow: 0 2rem 1.5rem -1.5rem rgba(33, 37, 41, .15), 0 0 1.5rem 0.5rem rgba(33, 37, 41, .05);
}
.shadow-soft.hoverable:hover {
    transform: translateY(-0.25rem);
    box-shadow: 0 2.25rem 1.5rem -1.5rem rgba(33, 37, 41, .3), 0 0 1.5rem .5rem rgba(33, 37, 41, .05)!important;
}
.shadow-pane {
    box-shadow: 0 29px 32px -20px rgba(0, 0, 0, 0.5), 0 4px 11px -3px rgba(0, 0, 0, 0.25);
}
.border-soft {
    padding: 0.5rem;
    background-color: transparent;
    border: 1px solid #dadada;
}

.shifted-border {
	position: relative;
}

@media (min-width: 768px) {
	.shifted-border {
		padding: 0 20% 0 0;
		margin-bottom: 20%;
	}
	
	.shifted-border:before {
		top: 15%;
		left: -5%;
		background-color: whitesmoke;
	}
	
	.shifted-border:after {
		top: 10%;
		left: 20%;
		border: 1px solid #f0f0f0;
	}
	
	.shifted-border:after, .shifted-border:before {
		position: absolute;
		z-index: -1;
		width: 80%;
		height: 100%;
		content: "";
	}
}

@media (min-width: 1559px) {
	.masthead-background {
		min-height: 600px;
	}
	
}

.font-size-small {
	font-size: .75rem;
	letter-spacing: .05em;
}

.portfolio-box {
	display: block;
	position: relative;
}

.portfolio-box:before {
    content: '';
    display: block;
    position: absolute;
    top: 6px;
    right: 6px;
    bottom: 6px;
    left: 6px;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.portfolio-box .caption {
	top: 0;
	position: absolute;
    text-align: center;
    margin: 0 auto;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    padding: 30% 0 0 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    transition: all 0.5s;
}

.portfolio-box:hover .caption {
	opacity: 1;
	padding-top: 46%;
}
