
/* ///////////////////////////////
	Resets	 
/////////////////////////////// */

a:hover, a:focus, btn:hover, btn:focus, button:hover, button:focus, 
input:focus, textarea:focus, .form-control:focus {
	outline: none !important;
	box-shadow: none;
}

/* ///////////////////////////////
	Structure 
/////////////////////////////// */

html {
  position: relative;
  min-height: 100%;
}
body {
	font-family: 'Source Sans Pro', sans-serif;
	font-weight: 400;
	color: #607D8B;
	margin-bottom: 88px;
}
.footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 88px;
	background-color: #fff;
}

/* ///////////////////////////////
	Colors 
/////////////////////////////// */

.color-red {
	color: #ff3300;
}
.color-gray-dark {
	color: #37474F;
}
.color-gray-med {
	color: #607D8B;
}
.color-gray-light {
	color: #CFD8DC;
}

/* ///////////////////////////////
	Typography 
/////////////////////////////// */

h1 {
	font-family: 'Teko', serif;
	font-size: 4rem;
	font-weight: 300;
	line-height: 1;
	letter-spacing: -.05rem;
	color: #607D8B;
}
h2 {
	font-family: 'Teko', serif;
	font-size: 2.5rem;
	font-weight: 300;
	line-height: 1;
	letter-spacing: -.05rem;
	color: #607D8B;
}
blockquote {
	padding-left: 35px;
	color: #37474F;
	margin-top: 30px;
	position: relative;
}
blockquote p span.openquotes {
	font-family: 'Pragati Narrow', sans-serif;
	font-weight: 700;
	color: #CFD8DC;
    font-size: 5rem;
    line-height: 0;
    display: inline-block;
    position: absolute;
	top: 28px;
    left: -3px;
}
blockquote footer {
	color: #CFD8DC;
	font-weight: 300;	
}
p a {
	color: #37474F;
	font-weight: 400;
    text-transform: uppercase;
    font-size: .94rem;	
    transition: all 0.2s ease;
}
p a:hover {
	color: #ff3300;
	text-decoration: none;
}

/* ///////////////////////////////
	Buttons 
/////////////////////////////// */

.btn {
	padding: .375rem 1.5rem;
}
.btn-primary, .btn-primary.disabled, .btn-primary:disabled {
	background-color: #607D8B;
	border-color: #607D8B;	
}
.btn-primary:hover {
	background-color: #ff3300;
	border-color: #ff3300;	
}
.btn-primary.disabled:hover, .btn-primary:disabled:hover {
	background-color: #607D8B;
	border-color: #607D8B;	
}
form .btn {
	width: 150px;
}

/* ///////////////////////////////
	Forms 
/////////////////////////////// */

label.error {
	color: #ff3300;
}
.form-control.error {
	border-color: #ff3300;
}

/* ///////////////////////////////
	Animated ... 
/////////////////////////////// */

.sending {
	text-align: left;
	display: none;
}
.sending:after {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
  -webkit-animation: ellipsis steps(4,end) 1500ms infinite;      
  animation: ellipsis steps(4,end) 1500ms infinite;
  content: "\2026"; /* ascii code for the ellipsis character */
  width: 0px;
}
@keyframes ellipsis {
  to {
    width: 1.25em;    
  }
}
@-webkit-keyframes ellipsis {
  to {
    width: 1.25em;    
  }
}


/* ///////////////////////////////
	Navbar 
/////////////////////////////// */

.navbar {
	padding: 0;
	font-size: .9rem;
}
.navbar-nav {
	padding: 3px 20px 0;
	background: #fff;
	border: 1px solid #CFD8DC;
	border-top: 0;
}    
@media screen and (max-width: 767px) {
	.navbar-nav {
		padding: 15px 0 20px;
		margin-top: -82px;
		padding-top: 100px;		
	}
	.navbar-collapse {
	    background-color: #fff;
	    margin-top: -41px;
	    padding-top: 41px;
	}
}
.nav-divider {
	color: #ff3300;
	display: block;
    padding: .5rem 1rem;
}
a.nav-link {
	color: #607D8B;
	text-transform: uppercase;
	letter-spacing: .05rem;
}
a.nav-link:hover, a.nav-link.active {
	color: #ff3300;
}
@media screen and (max-width: 767px) {
	a.nav-link {
		font-size: 1.2rem;
	}	
}
.navbar-toggler {
	top: -1px;
	font-size: 1.7rem;
	height: 1.5em;
	color: #CFD8DC;
	padding: 0;
	background: #fff;
	border: 1px solid #CFD8DC;
	border-top: 0;
	text-align: center;	
	width: 54px;	
	margin: 0 auto;
	border-radius: 0 0 .25rem .25rem;
	height: 41px;
	z-index: 1;
}
.navbar-toggler .icon-bar {
	width: 23px;
	height: 2px;
	margin: 0 auto;
	display: block;
	background-color: #607D8B;
	-webkit-transition: all 0.2s;
	transition: all 0.2s;
}
.navbar-toggler .icon-bar+.icon-bar {
    margin-top: 4px;
}
.navbar-toggler:hover .icon-bar {
	background-color: #607D8B;
}

/* ANIMATED X */
/* https://codepen.io/gza/pen/GMzzRg/ */

.navbar-toggler.x .icon-bar:nth-of-type(1) {
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	-webkit-transform-origin: 3px 3px;
	-ms-transform-origin: 3px 3px;
	transform-origin: 3px 3px;
}

.navbar-toggler.x .icon-bar:nth-of-type(2) {
	opacity: 0;
	filter: alpha(opacity=0);
}

.navbar-toggler.x .icon-bar:nth-of-type(3) {
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
	-webkit-transform-origin: 3px 0px;
	-ms-transform-origin: 3px 0px;
	transform-origin: 3px 0px;
}

/* ANIMATED X COLLAPSED */
.navbar-toggler.x.collapsed .icon-bar:nth-of-type(1) {
	-webkit-transform: rotate(0);
	-ms-transform: rotate(0);
	transform: rotate(0);
}

.navbar-toggler.x.collapsed .icon-bar:nth-of-type(2) {
	opacity: 1;
	filter: alpha(opacity=100);
}

.navbar-toggler.x.collapsed .icon-bar:nth-of-type(3) {
	-webkit-transform: rotate(0);
	-ms-transform: rotate(0);
	transform: rotate(0);
}
/* END ANIMATED X */


/* ///////////////////////////////
	Special 
/////////////////////////////// */ 

.alert {
	padding: 5px 15px;
	margin: 0 25% 30px;
	font-size: 1.5rem;
	border: 1px dotted #ff3300;
	border-radius: 50px;
	max-height: 100px;
	overflow: hidden;
	transition: all 0.2s ease;
}


/* ///////////////////////////////
	Modals 
/////////////////////////////// */ 

.modal {
	-webkit-overflow-scrolling: touch;	
}
.modal-backdrop {
	background-color: #fff;
	transition : opacity 500ms linear;
}
.close-box {
	padding: 3px 0 8px;
	width: 54px;
	background: #fff;
	border: 1px solid #CFD8DC;
	border-radius: 0 0 .25rem .25rem;	
	border-top: 0;
	height: 41px;
}
.modal-dialog.modal-cover {
	width: 100%;
	max-width: 100%;
	margin: 0;
}
.modal.show .modal-dialog {
	margin-top: 0;
}
.modal-cover .modal-content {
	border: none;
}
.modal-cover .modal-content p {
	font-size: 1.2rem;
	line-height: 1.5;
	font-weight: 300;
	padding: 0 40px;
}
@media screen and (max-width: 767px) {
	.modal-cover .modal-content p {
		padding: 0;
	}	
}
.close {
	font-family: 'Helvetica', sans-serif;
    font-size: 2.3rem;
    font-weight: 300;
    line-height: .8;
    color: #607D8B;
    width: 54px;
    text-shadow: none;
	text-align: center;    
    opacity: 1;
}
button.close {
	padding-left: 3px;
}
.close:hover {
	color: #607D8B;
	opacity: 1;
}
.modal-cover .modal-content blockquote p {
	font-size: 1.4rem;
}

/* ///////////////////////////////
	grid 
/////////////////////////////// */ 

.grid {
  background: transparent;
}

/* ---- .grid-item ---- */

.grid {
	display: flex;
	flex-wrap: wrap;
}
.grid-item {
	width: 0;
	height: 0;
	cursor: pointer;
}

.grid-item.show {
	width: 25%;
	height: auto;
	padding: 5px;
}	

@media screen and (max-width: 992px) {
	.grid-item.show {
	  width: 33.333333%;
	}		
}
@media screen and (max-width: 768px) {
	.grid-item.show {
	  width: 50%;
	}	
}
@media screen and (max-width: 470px) {
	.grid-item.show {
		width: 100%;
	}
}

/* used for scrolling on mobile */
.grid-item.highlight img {
	filter: grayscale(0);
	opacity: 1;
}	

.grid-item img {
  display: block;
  max-width: 100%;
  transition : all 200ms ease-out;
  border-radius: 6px;
}
.grid-item:hover img {
/*   transform: rotate(5deg); */
}
.grid-item:hover {
  z-index: 1;	
}

















