body,
html {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Merriweather', 'Helvetica Neue', Arial, sans-serif;
}

hr {
    max-width: 50px;
    border-width: 3px;
    border-color: #09235c;
}

    hr.light {
        border-color: #fff;
    }

a {
    color: #09235c;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
}

    a:hover {
        color: #09235c;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.bg-primary {
    background-color: #09235c !important;
}

.bg-dark {
    background-color: #212529 !important;
}

.text-faded {
    color: rgba(255, 255, 255, 0.7);
}

section {
    padding: 8rem 0;
}

.section-heading {
    margin-top: 0;
}

::-moz-selection {
    color: #fff;
    background: #212529;
    text-shadow: none;
}

::selection {
    color: #fff;
    background: #212529;
    text-shadow: none;
}

img::selection {
    color: #fff;
    background: transparent;
}

img::-moz-selection {
    color: #fff;
    background: transparent;
}

#mainNav {
    border-bottom: 1px solid rgba(33, 37, 41, 0.1);
    background-color: #fff;
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    -webkit-transition: all 0.2s;
    -moz-transition: all 0.2s;
    transition: all 0.2s;
}

    #mainNav .navbar-brand {
        font-weight: 700;
        text-transform: uppercase;
        color: #09235c;
        font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
    }

        #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
            color: #09235c;
        }

    #mainNav .navbar-nav > li.nav-item > a.nav-link,
    #mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
        font-size: .9rem;
        font-weight: 700;
        text-transform: uppercase;
        color: #212529;
    }

        #mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
        #mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
            color: #09235c;
        }

        #mainNav .navbar-nav > li.nav-item > a.nav-link.active,
        #mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active {
            color: #09235c !important;
            background-color: transparent;
        }

            #mainNav .navbar-nav > li.nav-item > a.nav-link.active:hover,
            #mainNav .navbar-nav > li.nav-item > a.nav-link:focus.active:hover {
                background-color: transparent;
            }


#mainNav .navbar-nav-dark > li.nav-item > a.nav-link, 
#mainNav .navbar-nav-dark > li.nav-item,
.navbar-nav-dark > form.navbar-right > li.nav-item > a.nav-link,
.nav-link-dark {
    color: #212529 !important;
}

#mainNav .navbar-nav-dark > li.nav-item > a.nav-link, 
#mainNav .navbar-nav-dark > li.nav-item,
.navbar-nav-dark > form.navbar-right > li.nav-item > a.nav-link,
.nav-link-dark {
    color: #09235c !important;
}

@media (min-width: 992px) {
    #mainNav {
        border-color: transparent;
        background-color: transparent;
    }

        #mainNav .navbar-brand {
            color: #fff;
            background-color: #09235c;
            font-size: 3rem;
            font-family: 'Arial Black', Gadget, sans-serif;
            font-weight: bold;
        }

            #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
                color: rgba(255, 255, 255, 0.7);
                background-color: #09235c;
            }

        #mainNav .navbar-nav > li.nav-item > a.nav-link {
            padding: 0.5rem 1rem;
        }

			#mainNav .navbar-nav > li.nav-item > a.nav-link,
			#mainNav .navbar-nav > li.nav-item > a.nav-link:focus {
				color: #fff;
			}

                #mainNav .navbar-nav > li.nav-item > a.nav-link:hover,
                #mainNav .navbar-nav > li.nav-item > a.nav-link:focus:hover {
                    color: #c4c4c4;
                }

        #mainNav.navbar-shrink {
            border-bottom: 1px solid rgba(33, 37, 41, 0.1);
            background-color: #fff;
        }

            #mainNav.navbar-shrink .navbar-brand {
                color: #fff;
            }

                #mainNav.navbar-shrink .navbar-brand:focus, #mainNav.navbar-shrink .navbar-brand:hover {
                    color: rgba(255, 255, 255, 0.7);
                }

            #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link,
            #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus {
                color: #212529;
            }

                #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:hover,
                #mainNav.navbar-shrink .navbar-nav > li.nav-item > a.nav-link:focus:hover {
                    color: #09235c;
                }
}

img {
    image-orientation: from-image;
}

header.masthead {
    padding-top: 10rem;
    padding-bottom: calc(10rem - 56px);
    background-image: url("../img/header.jpg");
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

    header.masthead hr {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    header.masthead h1 {
        font-size: 2rem;
    }

    header.masthead p {
        font-weight: 300;
    }

@media (min-width: 768px) {
    header.masthead p {
        font-size: 1.15rem;
    }
}

@media (min-width: 992px) {
    header.masthead {
        height: 100vh;
        min-height: 650px;
        padding-top: 0;
        padding-bottom: 0;
    }

        header.masthead h1 {
            font-size: 3rem;
        }
}

@media (min-width: 1200px) {
    header.masthead h1 {
        font-size: 4rem;
    }
}

.service-box {
    max-width: 400px;
}

.portfolio-box {
	position: relative;
	display: block;
	max-width: 400px;
	margin: 0 auto;
	margin-bottom: 10px;
}

	.portfolio-box .portfolio-box-caption {
		position: absolute;
		bottom: 0;
		display: block;
		width: 100%;
		height: 100%;
		text-align: center;
		opacity: 0.8;
		color: #fff;
		background: #09235c;
		-webkit-transition: all 0.2s;
		-moz-transition: all 0.2s;
		transition: all 0.2s;
	}

	.portfolio-box .portfolio-box-caption2 {
		position: absolute;
		bottom: 0;
		display: block;
		width: 100%;
		height: 100%;
		text-align: center;
		opacity: 0;
		color: #fff;
		background: #09235c;
		-webkit-transition: all 0.2s;
		-moz-transition: all 0.2s;
		transition: all 0.2s;
	}

	.portfolio-box .portfolio-box-caption3 {
		position: absolute;
		bottom: 0;
		display: block;
		width: 100%;
		height: 100%;
		text-align: center;
		opacity: 1;
		color: #fff;
		background: #212529;
		-webkit-transition: all 0.2s;
		-moz-transition: all 0.2s;
		transition: all 0.2s;
	}

		.portfolio-box .portfolio-box-caption .portfolio-box-caption-content {
			position: absolute;
			top: 50%;
			width: 100%;
			transform: translateY(-50%);
			text-align: center;
		}

			.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category,
			.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
				padding: 0 15px;
				font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
			}

			.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-category {
				font-size: 14px;
				font-weight: 600;
				text-transform: uppercase;
			}

			.portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
				font-size: 18px;
			}

	.portfolio-box:hover .portfolio-box-caption {
		opacity: 0.85;
	}

	.portfolio-box:focus {
		outline: none;
	}

@media (min-width: 768px) {
    .portfolio-box .portfolio-box-caption .portfolio-box-caption-content .project-name {
        font-size: 27px;
    }
}



.portfolio-box2 {
	position: relative;
	display: block;
	max-width: 600px;
	margin: 0 auto;
	margin-bottom: 10px;
}

    .portfolio-box2 .portfolio-box2-caption {
        position: absolute;
        bottom: 0;
        display: block;
        width: 100%;
        height: 100%;
        text-align: center;
        opacity: 0;
        color: #fff;
        background: #09235c;
        -webkit-transition: all 0.2s;
        -moz-transition: all 0.2s;
        transition: all 0.2s;
    }

        .portfolio-box2 .portfolio-box2-caption .portfolio-box2-caption-content {
            position: absolute;
            top: 50%;
            width: 100%;
            transform: translateY(-50%);
            text-align: center;
        }

            .portfolio-box2 .portfolio-box2-caption .portfolio-box2-caption-content .project-category2,
            .portfolio-box2 .portfolio-box2-caption .portfolio-box2-caption-content .project-name {
                padding: 0 15px;
                font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
            }

            .portfolio-box2 .portfolio-box2-caption .portfolio-box2-caption-content .project-category2 {
                font-size: 14px;
                font-weight: 600;
                text-transform: uppercase;
            }

            .portfolio-box2 .portfolio-box2-caption .portfolio-box2-caption-content .project-name {
                font-size: 18px;
            }

    .portfolio-box2:hover .portfolio-box2-caption {
        opacity: 0.7;
    }

    .portfolio-box2:focus {
        outline: none;
    }

@media (min-width: 768px) {
    .portfolio-box2 .portfolio-box2-caption .portfolio-box2-caption-content .project-category2 {
        font-size: 16px;
    }

    .portfolio-box2 .portfolio-box2-caption .portfolio-box2-caption-content .project-name {
        font-size: 22px;
    }
}


.portfolio-box3 {
	position: relative;
	display: block;
	max-width: 600px;
	margin: 0 auto;
	margin-bottom: 10px;
}

	.portfolio-box3 .portfolio-box3-caption {
		position: absolute;
		bottom: 0;
		display: block;
		width: 100%;
		height: 100%;
		text-align: center;
		opacity: 0;
		color: #fff;
		background: #212529;
		-webkit-transition: all 0.2s;
		-moz-transition: all 0.2s;
		transition: all 0.2s;
	}

		.portfolio-box3 .portfolio-box3-caption .portfolio-box3-caption-content {
			position: absolute;
			top: 50%;
			width: 100%;
			transform: translateY(-50%);
			text-align: center;
		}

			.portfolio-box3 .portfolio-box3-caption .portfolio-box3-caption-content .project-category3,
			.portfolio-box3 .portfolio-box3-caption .portfolio-box3-caption-content .project-name {
				padding: 0 15px;
				font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
			}

			.portfolio-box3 .portfolio-box3-caption .portfolio-box3-caption-content .project-category3 {
				font-size: 14px;
				font-weight: 600;
				text-transform: uppercase;
			}

			.portfolio-box3 .portfolio-box3-caption .portfolio-box3-caption-content .project-name {
				font-size: 18px;
			}

	.portfolio-box3:hover .portfolio-box3-caption {
		opacity: 1;
	}

	.portfolio-box3:focus {
		outline: none;
	}

@media (min-width: 768px) {
	.portfolio-box3 .portfolio-box3-caption .portfolio-box3-caption-content .project-category3 {
		font-size: 16px;
	}

	.portfolio-box3 .portfolio-box3-caption .portfolio-box3-caption-content .project-name {
		font-size: 22px;
	}
}



img.lazy {
    width: 700px;
    height: 467px;
    display: block;
}



.text-primary {
    color: #09235c !important;
}

.btn {
    font-weight: 700;
    text-transform: uppercase;
    border: none;
    border-radius: 300px;
    font-family: 'Open Sans', 'Helvetica Neue', Arial, sans-serif;
}

.btn-xl {
    padding: 1rem 2rem;
}

.btn-primary {
    background-color: #09235c;
    border-color: #09235c;
}

    .btn-primary:hover, .btn-primary:focus, .btn-primary:active {
        color: #fff;
        background-color: #25407c !important;
    }

	.btn-primary:active, .btn-primary:focus {
		box-shadow: 0 0 0 0.2rem #09235c !important;
	}


img.lazy {
    width: 700px;
    height: 467px;
    display: block;
}

.auth-main {
    padding-top: 10rem;
    padding-bottom: calc(10rem - 56px);
    /*background-image: url("../img/header.jpg");
    background-position: center center;*/
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

    .auth-main hr {
        margin-top: 30px;
        margin-bottom: 30px;
    }

    .auth-main h1 {
        font-size: 2rem;
    }

    .auth-main p {
        font-weight: 300;
    }

@font-face {
	font-family: LogoFont2;
	src: url(../img/Avenir-Light.ttf);
}

img.resizemillbrook {
	max-width: 20%;
	max-height: 20%;
}

