/*!
 * Start Bootstrap - Agency Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

body {
    overflow-x: hidden;
    font-family: "Roboto Slab","Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size: 16px;
}

.project-info {
    text-align: left;
}

.no-padding-margin {
	padding: 0;
	margin: 0;
}

.fill { 
    min-height: 100%;
    height: 100%;
	width: 100%;
	margin: 0;
}

.text-muted {
    color: #777;
}

.text-primary {
    color: #48929b;
}

.overlay .section {
	background-color: rgba(255,255,255,0.93);
	margin: 2.5em 0em;
	padding-top: 50px;
	padding-bottom: 35px;
}

.top-padding {
	padding-top: 80px !important;
	margin: 0px !important;
}

.jump {
	padding-top: 1em;
}

.bg-black {
	background-color: #000 !important;
}

#categories .tile {
	padding: 0px;
}

#categories .tile-content {
	padding: 29% 0px;
	background-color: rgba(0,0,0,.4);
}
#categories .tile:hover .tile-content {
	background-color: transparent;
	color: transparent;
}
#categories .tile:hover h3 {
	visibility: hidden;
}
#categories .tile-content h3 {
	font-size: 7.5vw;
	white-space: nowrap
}
@media only screen and (min-width: 768px) {
	#categories .tile-content h3 {
		font-size: 2.5vw;
	}
}

p {
	line-height: 2rem;
}

/*
p {
    font-size: 14px;
    line-height: 1.75;
}

p.large {
    font-size: 16px;
}

h3 {
  font-size: 18px;
}
*/

a,
a:hover,
a:focus,
a:active,
a.active {
    outline: 0;
}

a {
    color: #48929b;
}

a:hover,
a:focus,
a:active,
a.active {
    color: #73b6bf;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    /*text-transform: uppercase;*/
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
}

.img-centered {
    margin: 0 auto;
}

.bg-light-gray {
    background-color: #f7f7f7;
}

.bg-darkest-gray {
    background-color: #222;
}

.btn-primary {
    border-color: #48929b;
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
    color: #fff;
    background-color: #48929b;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    border-color: #f6bf01;
    color: #fff;
    background-color: #73b6bf;
}

.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    background-image: none;
}

.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
    border-color: #48929b;
    background-color: #48929b;
}

.btn-primary .badge {
    color: #48929b;
    background-color: #fff;
}

.btn-xl {
    padding: 20px 40px;
    border-color: #48929b;
    border-radius: 3px;
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    background-color: #48929b;
}

.btn-xl:hover,
.btn-xl:focus,
.btn-xl:active,
.btn-xl.active,
.open .dropdown-toggle.btn-xl {
    border-color: #f6bf01;
    color: #fff;
    background-color: #73b6bf;
}

.btn-xl:active,
.btn-xl.active,
.open .dropdown-toggle.btn-xl {
    background-image: none;
}

.btn-xl.disabled,
.btn-xl[disabled],
fieldset[disabled] .btn-xl,
.btn-xl.disabled:hover,
.btn-xl[disabled]:hover,
fieldset[disabled] .btn-xl:hover,
.btn-xl.disabled:focus,
.btn-xl[disabled]:focus,
fieldset[disabled] .btn-xl:focus,
.btn-xl.disabled:active,
.btn-xl[disabled]:active,
fieldset[disabled] .btn-xl:active,
.btn-xl.disabled.active,
.btn-xl[disabled].active,
fieldset[disabled] .btn-xl.active {
    border-color: #48929b;
    background-color: #48929b;
}

.btn-xl .badge {
    color: #48929b;
    background-color: #fff;
}

.btn-details {
    padding: 15px 20px;
    color: #aaa;
    border-color: #aaa;
    border-radius: 3px;
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    background-color: #fff;
}

.btn-details:hover,
.btn-details:focus,
.btn-details:active{
    color: #777;
    border-color: #777;
    background-color: #fff;
}

.navbar-default {
    border-color: transparent;
    background-color: #fff;
	padding-bottom: 12px;
}

.navbar-default .navbar-brand {
    font-family: "Kaushan Script","Helvetica Neue",Helvetica,Arial,cursive;
    color: #48929b;
	padding-top: 0px;
	height: 0px;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus,
.navbar-default .navbar-brand:active,
.navbar-default .navbar-brand.active {
    color: #73b6bf;
}

.navbar-default .navbar-collapse {
    border-color: rgba(255,255,255,.02);
}

.navbar-default .navbar-toggle {
    border-color: #73b6bf;
    background-color: #73b6bf;
}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}

.navbar-default .navbar-toggle:focus {
    border-color: #73b6bf;
    background-color: #73b6bf;
}
.navbar-default .navbar-toggle:hover {
    background-color: #79c8d2;
	border-color: #73b6bf;
}

.navbar-default .nav li a {
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    color: #73b6bf;
}

.navbar-default .nav li a:hover,
.navbar-default .nav li a:focus {
    outline: 0;
    color: #48929b;
}

.navbar-default .navbar-nav>.active>a {
    border-radius: 0;
    color: #fff;
    background-color: #48929b;
}

.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
    color: #fff;
    background-color: #73b6bf;
}

.btn-info {
	background-color: #73b6bf;
	border-color: #73b6bf;
}
.btn-info:hover {
	background-color: #79c8d2;
	border-color: #73b6bf;
}

.navbar-toggle {
	margin-top: 0px;
	margin-bottom: 0px;
}

.col-right {
    width: 100%; 
    float: right;
}

.navbar {
	padding-left: 0px;
	padding-right: 0px;
}

.navbar-brand {
	margin-right: 1rem;
	margin-left: 1rem;
	color: rgba(0,0,0,.5) !important;
}
.navbar-brand:hover {
	margin-right: 1rem;
	margin-left: 1rem;
	color: #48929b !important;
}

.navbar-collapse {
	padding-top: 0.5rem;
	background-color: #fff;
}

.navbar-toggler {
	margin-right: 1rem;
	margin-left: 0.25rem;
	padding: .15rem .5rem;
}

.bg-white .navbar-toggler {
	margin-right: 0.25rem;
}

@media(min-width:500px) {
	.bg-white .navbar-toggler {
		margin-right: 1rem;
	}
}

.link-item {
	padding-left: 5rem;
	padding-right: 5rem;
}
.link-item:hover {
	background-color: #f5f5f5;
}
.navbar-dark .link-item:hover {
	background-color: #262626;
}

.dropdown-divider {
	margin: 0px;
}
.navbar-dark .dropdown-divider {
	margin: 0px;
	border-top: 1px solid rgba(255,255,255,.4);
}

.bottom-border {
	border-bottom: 1px solid #dee2e6 !important;
	border-top: none;
}

.navbar-dark .bottom-border {
	border-bottom: 1px solid rgba(255,255,255,.4) !important;
	border-top: none;
}

.dropdown-menu {
	left: 0;
	background-color: transparent;
	border: none;
	padding-top: 0rem;
	padding-bottom: 0rem;
}
.dropdown-toggle {
	padding-left: 5rem !important;
	padding-right: 5rem !important;
}
.dropdown-menu .nav-link {
	padding-left: 6rem;
	padding-right: 6rem;
}
.nav-link:hover {
	background-color: #f5f5f5;
}
.navbar-dark .nav-link:hover {
	background-color: #262626;
}

.nav-search {
	padding: 1rem 5rem;
}

.page-scroll .btn-light {
	border: 1px solid rgba(0,0,0,.1);
	background-color: transparent;
	color: rgba(0,0,0,.5);
	margin-top: 5px;
}
.page-scroll .btn-light:focus {
	outline: none;
	box-shadow: none;
	border: 1px solid rgba(0,0,0,.1);
	background-color: transparent;
	color: rgba(0,0,0,.5);
}

.page-scroll .btn-dark {
	border: 1px solid rgba(255,255,255,.4);
	background-color: transparent;
	color: rgba(255,255,255,.8);
	margin-top: 5px;
}
.page-scroll .btn-dark:focus {
	outline: none;
	box-shadow: none;
	border: 1px solid rgba(255,255,255,.4);
	background-color: transparent;
	color: rgba(255,255,255,.8);
}


.cat-search {
	padding-top: 30px;
    min-height: 60px;
}

.left-corner {
	position: fixed;
	left: 0;
	bottom: 0;
	margin: 1em;
}

.right-corner {
	position: fixed;
	right: 0;
	bottom: 0;
	margin: 1em;
}


@media only screen and (min-width: 768px) {
	body {
		font-size: 16px;
	}
	p {
		line-height: 1.75;
	}
	
	h3 {
	  font-size: 20px;
	}
}

.navbar-toggler {
	z-index: 1;
}

/*@media(min-width:768px) {*/
    .navbar-light {
        /*padding: 10px 0 15px 0;*/
        border: 0;
        /*background-color: transparent;*/

		background: -webkit-linear-gradient(bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0)); /* For Safari 5.1 to 6.0 */
		background: -o-linear-gradient(bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0)); /* For Opera 11.1 to 12.0 */
		background: -moz-linear-gradient(bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0)); /* For Firefox 3.6 to 15 */
		background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(255,255,255,0)); /* Standard syntax (must be last) */

        -webkit-transition: padding .3s;
        -moz-transition: padding .3s;
        transition: padding .3s;
		padding-bottom: 0px;
    }
	
	.navbar-dark {
		background-color: transparent;
		padding-bottom: 0px;
	}
	.navbar-dark .navbar-toggler {
		border-color: rgba(255,255,255,.4);
	}
	.navbar-dark .navbar-toggler-icon {
		background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.7%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
	}
	/*.navbar-dark .navbar-collapse {
		position: absolute;
		width: 100%;
		top: 0;
		padding-top: 56px;
	}*/

    .navbar-default .navbar-brand {
        font-size: 2em;
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        transition: all .3s;
    }

    .navbar-default .navbar-nav>.active>a {
        border-radius: 3px;
    }

    .navbar-default.navbar-shrink .navbar-brand {
        font-size: 1.5em;
    }
/*}*/

header {
    text-align: center;
    color: #fff;
    background-attachment: scroll;
    background-image: url(../img/header-bg.jpg);
    background-position: center center;
    background-repeat: none;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

header .intro-text {
    padding-top: 100px;
    padding-bottom: 50px;
}

header .intro-text .intro-lead-in {
    margin-bottom: 25px;
    font-family: "Droid Serif","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 22px;
    font-style: italic;
    line-height: 22px;
}

header .intro-text .intro-heading {
    margin-bottom: 25px;
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 50px;
}

@media(min-width:768px) {
    header .intro-text {
        padding-top: 300px;
        padding-bottom: 200px;
    }

    header .intro-text .intro-lead-in {
        margin-bottom: 25px;
        font-family: "Droid Serif","Helvetica Neue",Helvetica,Arial,sans-serif;
        font-size: 40px;
        font-style: italic;
        line-height: 40px;
    }

    header .intro-text .intro-heading {
        margin-bottom: 50px;
        text-transform: uppercase;
        font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
        font-size: 75px;
        font-weight: 700;
        line-height: 75px;
    }
	
	.main-search {
		width: 70%;
		margin-left: 15%;
	}
}

.nav-search-page {
	width: 60%; 
	padding: 3px 0 0;
}

@media(min-width:500px) and (max-width:767px) {
	.nav-search-page {
		width: 50%; 
	}
}

@media(min-width:768px) {
	.social-footer {
		display: hidden; 
	}
}

.searchbar {
	min-height: 36px;
}

@media(min-height:760px) {
	.nav-search-page {
		width: 30%; 
	}
}

.google-ad {
	margin: 40 0;
	border: 1px solid rgba(0,0,0,.1);
}

section {
    padding: 50px 0;
}

section h2.section-heading {
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 25px;
    text-align: left;
}

section h3.section-subheading {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.5em;
}

section h4{
    margin: 0;
    font-family: "Droid Serif","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 16px;
    font-style: italic;
}

@media(min-width:768px) {
    section {
        padding: 50px 0;
    }
	#projects #more-projects{
		display:none;
	}
}

.service-heading {
    margin: 15px 0;
    text-transform: none;
}

@media(max-width:768px) {
    #projects {
        padding-top: 50px;
    }
	#projects .portfolio-item {
		margin: auto;
	}
	#projects #more-projects{
		display:block;
	}
}

@media(min-width:500px) and (max-width:767px) {
	#projects .portfolio-item {
		padding: 15px;
	}
}

#projects #more-projects{
	text-align:center;
	z-index: 1000;
	text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
	cursor:pointer; 
}

#projects .portfolio-item {
	max-width: 500px;
	min-width: 250px;
	
}

#projects .portfolio-item .portfolio-link {
    display: block;
    position: relative;
    margin: 0;
}

#projects .portfolio-item .portfolio-link .portfolio-hover {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 1;
    /*background: rgba(80,68,20,.5);*/
	background: rgba(51,51,51,.4);
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    transition: all ease .5s;
}

#projects .portfolio-item .portfolio-link .portfolio-hover:hover {
    opacity: 0;
}

#projects .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content {
    position: absolute;
    top: 50%;
    width: 100%;
    padding: 15px 0;
    margin-top: -35px;
    text-align: center;
    font-size: 20px;
    color: #fff;
	background: rgba(51,51,51,.2);
}

#projects .portfolio-item .portfolio-link .portfolio-hover .portfolio-hover-content i {
    margin-top: -12px;
}

#projects .portfolio-item .portfolio-caption {
    margin: 0;
    padding: 25px;
    text-align: center;
    background-color: #fff;
}

#projects .portfolio-item .portfolio-hover-content h4 {
    margin: 0;
    text-transform: none;
}

#projects .portfolio-item .portfolio-hover-content p {
    margin: 0;
    font-family: "Droid Serif","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 16px;
    font-style: italic;
	color: #fff;
}

#projects * {
    z-index: 2;
}

@media(min-width:767px) {
    #projects .portfolio-item {
        margin: 0px;
    }
}

.timeline {
    position: relative;
    padding: 0;
    list-style: none;
}

.timeline:before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 2px;
    margin-left: -1.5px;
    background-color: #f1f1f1;
}

.timeline>li {
    position: relative;
    margin-bottom: 50px;
    min-height: 50px;
}

.timeline>li:before,
.timeline>li:after {
    content: " ";
    display: table;
}

.timeline>li:after {
    clear: both;
}

.timeline>li .timeline-panel {
    float: right;
    position: relative;
    width: 100%;
    padding: 0 20px 0 100px;
    text-align: left;
}

.timeline>li .timeline-panel:before {
    right: auto;
    left: -15px;
    border-right-width: 15px;
    border-left-width: 0;
}

.timeline>li .timeline-panel:after {
    right: auto;
    left: -14px;
    border-right-width: 14px;
    border-left-width: 0;
}

.timeline>li .timeline-image {
    z-index: 100;
    position: absolute;
    left: 0;
    width: 80px;
    height: 80px;
    margin-left: 0;
    border: 7px solid #f1f1f1;
    border-radius: 100%;
    text-align: center;
    color: #fff;
    background-color: #48929b;
}

.timeline>li .timeline-image h4 {
    margin-top: 12px;
    font-size: 10px;
    line-height: 14px;
}

.timeline>li.timeline-inverted>.timeline-panel {
    float: right;
    padding: 0 20px 0 100px;
    text-align: left;
}

.timeline>li.timeline-inverted>.timeline-panel:before {
    right: auto;
    left: -15px;
    border-right-width: 15px;
    border-left-width: 0;
}

.timeline>li.timeline-inverted>.timeline-panel:after {
    right: auto;
    left: -14px;
    border-right-width: 14px;
    border-left-width: 0;
}

.timeline>li:last-child {
    margin-bottom: 0;
}

.timeline .timeline-heading h4 {
    margin-top: 0;
    color: inherit;
}

.timeline .timeline-heading h4.subheading {
    text-transform: none;
}

.timeline .timeline-body>p,
.timeline .timeline-body>ul {
    margin-bottom: 0;
}

@media(min-width:768px) {
    .timeline:before {
        left: 50%;
    }

    .timeline>li {
        margin-bottom: 100px;
        min-height: 100px;
    }

    .timeline>li .timeline-panel {
        float: left;
        width: 41%;
        padding: 0 20px 20px 30px;
        text-align: right;
    }

    .timeline>li .timeline-image {
        left: 50%;
        width: 100px;
        height: 100px;
        margin-left: -50px;
    }

    .timeline>li .timeline-image h4 {
        margin-top: 16px;
        font-size: 13px;
        line-height: 18px;
    }

    .timeline>li.timeline-inverted>.timeline-panel {
        float: right;
        padding: 0 30px 20px 20px;
        text-align: left;
    }
}

@media(min-width:992px) {
    .timeline>li {
        min-height: 150px;
    }

    .timeline>li .timeline-panel {
        padding: 0 20px 20px;
    }

    .timeline>li .timeline-image {
        width: 150px;
        height: 150px;
        margin-left: -75px;
    }

    .timeline>li .timeline-image h4 {
        margin-top: 30px;
        font-size: 18px;
        line-height: 26px;
    }

    .timeline>li.timeline-inverted>.timeline-panel {
        padding: 0 20px 20px;
    }
}

@media(min-width:1200px) {
    .timeline>li {
        min-height: 170px;
    }

    .timeline>li .timeline-panel {
        padding: 0 20px 20px 100px;
    }

    .timeline>li .timeline-image {
        width: 170px;
        height: 170px;
        margin-left: -85px;
    }

    .timeline>li .timeline-image h4 {
        margin-top: 40px;
    }

    .timeline>li.timeline-inverted>.timeline-panel {
        padding: 0 100px 20px 20px;
    }
}

.team-member {
    margin-bottom: 50px;
    text-align: center;
}

.team-member img {
    margin: 0 auto;
    border: 7px solid #fff;
}

.team-member h4 {
    margin-top: 25px;
    margin-bottom: 0;
    text-transform: none;
}

.team-member p {
    margin-top: 0;
}

aside.clients img {
    margin: 50px auto;
}

section#contact {
    background-color: #222;
    background-image: url(../img/map-image.png);
    background-position: center;
    background-repeat: no-repeat;
}

section#contact .section-heading {
    color: #fff;
}

section#contact .form-group {
    margin-bottom: 25px;
}

section#contact .form-group input,
section#contact .form-group textarea {
    padding: 20px;
}

section#contact .form-group input.form-control {
    height: auto;
}

section#contact .form-group textarea.form-control {
    height: 236px;
}

section#contact .form-control:focus {
    border-color: #48929b;
    box-shadow: none;
}

section#contact::-webkit-input-placeholder {
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
    color: #bbb;
}

section#contact:-moz-placeholder {
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
    color: #bbb;
}

section#contact::-moz-placeholder {
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
    color: #bbb;
}

section#contact:-ms-input-placeholder {
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
    color: #bbb;
}

section#contact .text-danger {
    color: #e74c3c;
}

footer {
    padding: 25px 0;
    text-align: center;
}

footer span.copyright {
    text-transform: uppercase;
    text-transform: none;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    line-height: 40px;
}

footer ul.quicklinks {
    margin-bottom: 0;
    text-transform: uppercase;
    text-transform: none;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    line-height: 40px;
}

ul.social-buttons {
    margin-bottom: 0;
}

ul.social-buttons li a {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    font-size: 20px;
    line-height: 40px;
    outline: 0;
    color: #fff;
    background-color: #222;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s;
}

ul.social-buttons li a:hover,
ul.social-buttons li a:focus,
ul.social-buttons li a:active {
    background-color: #48929b;
}

.btn:focus,
.btn:active,
.btn.active,
.btn:active:focus {
    outline: 0;
}

main {
	padding: 80px 0;
}

.portfolio-modal .modal-content {
    padding: 100px 0;
    min-height: 100%;
    border: 0;
    border-radius: 0;
    text-align: center;
    background-clip: border-box;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.portfolio-modal .modal-content h2 {
    margin-bottom: 15px;
    font-size: 2em;
}

.portfolio-modal .modal-content p {
    margin-bottom: 30px;
}

.portfolio-modal .modal-content p.item-intro {
    margin: 20px 0 30px;
    font-family: "Droid Serif","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 16px;
    font-style: italic;
}

.portfolio-modal .modal-content ul.list-inline {
    margin-top: 0;
    margin-bottom: 30px;
}

.portfolio-modal .modal-content img {
    margin-bottom: 30px;
}

.portfolio-modal .close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 75px;
    height: 75px;
    background-color: transparent;
    cursor: pointer;
}

.portfolio-modal .close-modal:hover {
    opacity: .3;
}

.portfolio-modal .close-modal .lr {
    z-index: 1051;
    width: 1px;
    height: 75px;
    margin-left: 35px;
    background-color: #222;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.portfolio-modal .close-modal .lr .rl {
    z-index: 1052;
    width: 1px;
    height: 75px;
    background-color: #222;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.portfolio-modal .modal-backdrop {
    display: none;
    opacity: 0;
}

/*
::-moz-selection {
    text-shadow: none;
    background: #48929b;
}

::selection {
    text-shadow: none;
    background: #48929b;
}

img::selection {
    background: 0 0;
}

img::-moz-selection {
    background: 0 0;
}

body {
    webkit-tap-highlight-color: #48929b;
}
*/

.background-img-Buddhism:before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  background: url('../img/bg/Buddhism.jpg') no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.background-img-building:before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  background: url('../img/bg/building.jpg') no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.background-img-culture:before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  background: url('../img/bg/culture.jpg') no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.background-img-emperor:before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  background: url('../img/bg/emperor.jpg') no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.background-img-family:before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  background: url('../img/bg/family.jpg') no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.background-img-geographical:before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  background: url('../img/bg/geographical.jpg') no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.background-img-history:before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  background: url('../img/bg/history.jpg') no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.background-img-person:before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  background: url('../img/bg/person.jpg') no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.background-img-literature:before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  background: url('../img/bg/literature.jpg') no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.background-img-railway:before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  background: url('../img/bg/railway.jpg') no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.background-img-road:before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  background: url('../img/bg/road.jpg') no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.background-img-school:before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  background: url('../img/bg/school.jpg') no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.background-img-Shinto:before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  background: url('../img/bg/Shinto.jpg') no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.background-img-shrines:before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  background: url('../img/bg/shrines.jpg') no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}
.background-img-title:before {
  content: "";
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: -10;
  background: url('../img/bg/title.jpg') no-repeat center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}


.background-img-building {
	background: url('../img/bg/building.jpg') no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.background-img-culture {
	background: url('../img/bg/culture.jpg') no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.background-img-emperor {
	background: url('../img/bg/emperor.jpg') no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.background-img-family {
	background: url('../img/bg/family.jpg') no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.background-img-geographical {
	background: url('../img/bg/geographical.jpg') no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.background-img-history {
	background: url('../img/bg/history.jpg') no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.background-img-literature {
	background: url('../img/bg/literature.jpg') no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.background-img-person {
	background: url('../img/bg/person.jpg') no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.background-img-railway {
	background: url('../img/bg/railway.jpg') no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.background-img-road {
	background: url('../img/bg/road.jpg') no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.background-img-school {
	background: url('../img/bg/school.jpg') no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.background-img-Shinto {
	background: url('../img/bg/Shinto.jpg') no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.background-img-shrines {
	background: url('../img/bg/shrines.jpg') no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.background-img-title {
	background: url('../img/bg/title.jpg') no-repeat center center fixed;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}






.thumb-img-Buddhism {
	background: url('../img/thumb/Buddhism.jpg') no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.thumb-img-building {
	background: url('../img/thumb/building.jpg') no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.thumb-img-culture {
	background: url('../img/thumb/culture.jpg') no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.thumb-img-emperor {
	background: url('../img/thumb/emperor.jpg') no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.thumb-img-family {
	background: url('../img/thumb/family.jpg') no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.thumb-img-geographical {
	background: url('../img/thumb/geographical.jpg') no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.thumb-img-history {
	background: url('../img/thumb/history.jpg') no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.thumb-img-literature {
	background: url('../img/thumb/literature.jpg') no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.thumb-img-person {
	background: url('../img/thumb/person.jpg') no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.thumb-img-railway {
	background: url('../img/thumb/railway.jpg') no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.thumb-img-road {
	background: url('../img/thumb/road.jpg') no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.thumb-img-school {
	background: url('../img/thumb/school.jpg') no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.thumb-img-Shinto {
	background: url('../img/thumb/Shinto.jpg') no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.thumb-img-shrines {
	background: url('../img/thumb/shrines.jpg') no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
.thumb-img-title {
	background: url('../img/thumb/title.jpg') no-repeat center center;
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-size: cover;
	-o-background-size: cover;
}
