/*!
 * Start Bootstrap - Freelancer Bootstrap Theme (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

html, body {
    /* height: max-content; */
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-x: hidden;
    background-image:url('../img/banner-background.jpg');
    background-repeat:no-repeat;
    background-position:center;
    background-size:cover;
    background-attachment:fixed;
    overscroll-behavior: none;
    position: absolute;
    right: 0;
    left: 0;
}

p {
    font-size: 20px;
}

p.small {
    font-size: 16px;
}

p.BMargin100 {
    margin-bottom: auto;
}
p.BMargin50 {
    margin-bottom: auto;
}

@media (min-width:1200px) {
    p.BMargin100 {
        margin-bottom: 100px;
    }
    p.BMargin50 {
        margin-bottom: 50px;
    }
}
a,
a:hover,
a:focus,
a:active,
a.active {
    outline: 0;
    color: #1E5F88;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    /*text-transform: uppercase;*/
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    /*font-weight: 700;*/
}

hr.star-light,
hr.star-primary {
    margin: 25px auto 30px;
    padding: 0;
    /*max-width: 250px;*/
    border: 0;
    border-top: solid 2px;
    text-align: center;
}

hr.star-light:after,
hr.star-primary:after {
    /*content: "\f0dd";*/
    display: inline-block;
    position: relative;
    top: -.8em;
    padding: 0 .25em;
    font-family: FontAwesome;
    font-size: 2em;
}

hr.star-light {
    border-color: #fff;
}

hr.star-light:after {
    color: #fff;
}

hr.star-primary {
    border-color: #1E5F88;
}

hr.star-primary:after {
    color: #1E5F88;
}

.img-centered {
    margin: 0 auto;
}

header {
    text-align: center;
    color: #fff;
    background: #1E5F88;
    /*height:600px;*/
}
header .banner {
    padding-top: 60px;
    width:100%;
}

header .container {
    padding-bottom: 25px;
    background-color:transparent;
}

header img {
    display: block;
    margin: 0 auto 20px;
}

header .intro-text .name {
    display: block;
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 2em;
    font-weight: 700;
}

header .intro-text .skills {
    font-size: 1.25em;
    font-weight: 300;
}

@media(min-width:768px) {
    header .container {
        /*padding-top: 200px;*/
        /*padding-bottom: 100px;*/
    	padding-bottom: 25px;
        background-color:transparent;
    }

    header .intro-text .name {
        font-size: 2.5em;
    }

    header .intro-text .skills {
        font-size: 1.75em;
    }
    header .banner {
    	padding-top: 105px;
    }
}

@media(min-width:768px) {
    .navbar-fixed-top {
        padding: 25px 0;
        -webkit-transition: padding .3s;
        -moz-transition: padding .3s;
        transition: padding .3s;
        font-size:80%;
    }

    .navbar-fixed-top .navbar-brand {
        font-size: 2em;
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        transition: all .3s;
    }
    .navbar-fixed-top .navbar-brand img {
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        transition: all .3s;
	height:80px;
	margin-top:-30px;
    }

    .navbar-fixed-top.navbar-shrink {
        padding: 10px 0;
        border-bottom:1px solid #dddddd;
        box-shadow: 0px 0px 2px 0px #cccccc;
        /*background: rgba(103,176,209,0.8);*/
        background: rgba(255,255,255,0.95);
        color:gray;
    }

    .navbar-fixed-top.navbar-shrink .navbar-brand {
        font-size: 1.5em;
    }
    .navbar-fixed-top.navbar-shrink .navbar-brand img {
        height:60px;
        margin-top:-20px;
    }
    .dropdown-menu {
    	font-size:90%;
    }
}
@media (min-width: 992px) {
    .navbar-fixed-top {
        padding: 25px 0;
        -webkit-transition: padding .3s;
        -moz-transition: padding .3s;
        transition: padding .3s;
	font-size:100%;
    }

    .navbar-fixed-top .navbar-brand {
        font-size: 2em;
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        transition: all .3s;
    }
    .navbar-fixed-top .navbar-brand img {
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        transition: all .3s;
	height:90px;
	margin-top:-35px;
    }

    .navbar-fixed-top.navbar-shrink {
        padding: 10px 0;
        border-bottom:1px solid #dddddd;
        box-shadow: 0px 0px 2px 0px #cccccc;
        /*background: rgba(103,176,209,0.8);*/
        background: rgba(255,255,255,0.95);
        color:gray;
    }

    .navbar-fixed-top.navbar-shrink .navbar-brand {
        font-size: 1.5em;
    }
    .navbar-fixed-top.navbar-shrink .navbar-brand img {
        height:80px;
        margin-top:-25px;
    }
    .dropdown-menu {
    	font-size:100%;
    }
}
@media (min-width: 1200px) {
    .navbar-fixed-top {
        padding: 25px 0;
        -webkit-transition: padding .3s;
        -moz-transition: padding .3s;
        transition: padding .3s;
	font-size:120%;
    }

    .navbar-fixed-top .navbar-brand {
        font-size: 2em;
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        transition: all .3s;
    }
    .navbar-fixed-top .navbar-brand img {
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        transition: all .3s;
	height:110px;
	margin-top:-40px;
    }

    .navbar-fixed-top.navbar-shrink {
        padding: 10px 0;
        border-bottom:1px solid #dddddd;
        box-shadow: 0px 0px 2px 0px #cccccc;
        /*background: rgba(103,176,209,0.8);*/
        background: rgba(255,255,255,0.95);
        color:gray;
    }

    .navbar-fixed-top.navbar-shrink .navbar-brand {
        font-size: 1.5em;
    }
    .navbar-fixed-top.navbar-shrink .navbar-brand img {
        height:70px;
        margin-top:-25px;
    }
    .dropdown-menu {
    	font-size:95%;
    }
}

.navbar {
    /*text-transform: uppercase;*/
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    /*font-weight: 700;*/
        border-bottom:1px solid #ffffff;
        box-shadow: 0px 0px 2px 0px #1E5F88;
}

.navbar a:focus {
    outline: 0;
}

.navbar .navbar-nav {
    letter-spacing: 1px;
}

.navbar .navbar-nav li a:focus {
    outline: 0;
}

.navbar-default,
.navbar-inverse {
    border: 0;
}

section {
    /*padding: 100px 0;*/
    padding-top:0px;
    padding-bottom:0px;
    /*background-color:rgba(255,255,255,0.8);*/
    background-color:#ffffff;
}

section h2 {
    margin: 20px 0px 0px 0px;
    font-size: 3em;
}

section.success {
    color: #fff;
    background: #1E5F88;
}

section.success a,
section.success a:hover,
section.success a:focus,
section.success a:active,
section.success a.active {
    outline: 0;
    color: #1E5F88;
}

@media (min-width: 992px) {
	section .container {
	    padding: 15px;
	}
}

section.transparent {
	/*background-color:rgba(255,255,255,0.8);*/
	background-color:transparent;
	/*box-shadow: 0px 0px 2px 0px #cccccc;*/
	border-left: 1px solid #f0f0f0;
	border-right: 1px solid #f0f0f0;
}

@media(max-width:767px) {
    section {
        padding: 25px 0;
    }

    section.first {
        padding-top: 25px;
    }
}

#contact, #press, #manuscripts {
    flex: 1 1 auto;
}

#portfolio .portfolio-item {
    right: 0;
    margin: 0 0 15px;
}

#portfolio .portfolio-item .portfolio-link {
    display: block;
    position: relative;
    margin: 0 auto;
    max-width: 400px;
}

#portfolio .portfolio-item .portfolio-link .caption {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    background: rgba(24,188,156,.9);
    -webkit-transition: all ease .5s;
    -moz-transition: all ease .5s;
    transition: all ease .5s;
}

#portfolio .portfolio-item .portfolio-link .caption:hover {
    opacity: 1;
}

#portfolio .portfolio-item .portfolio-link .caption .caption-content {
    position: absolute;
    top: 50%;
    width: 100%;
    height: 20px;
    margin-top: -12px;
    text-align: center;
    font-size: 20px;
    color: #fff;
}

#portfolio .portfolio-item .portfolio-link .caption .caption-content i {
    margin-top: -12px;
}

#portfolio .portfolio-item .portfolio-link .caption .caption-content h3,
#portfolio .portfolio-item .portfolio-link .caption .caption-content h4 {
    margin: 0;
}

#portfolio * {
    z-index: 2;
}

@media(min-width:767px) {
    #portfolio .portfolio-item {
        margin: 0 0 30px;
    }
}

.btn-outline {
    margin-top: 15px;
    border: solid 2px #fff;
    font-size: 20px;
    color: #fff;
    background: 0 0;
    transition: all .3s ease-in-out;
}

.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active,
.btn-outline.active {
    border: solid 2px #fff;
    color: #1E5F88;
    background: #fff;
}

.floating-label-form-group {
    position: relative;
    margin-bottom: 0;
    padding-bottom: .5em;
    border-bottom: 1px solid #eee;
}

.floating-label-form-group input,
.floating-label-form-group textarea {
    z-index: 1;
    position: relative;
    padding-right: 0;
    padding-left: 0;
    border: 0;
    border-radius: 0;
    font-size: 1.5em;
    background: 0 0;
    box-shadow: none!important;
    resize: none;
}

.floating-label-form-group label {
    display: block;
    z-index: 0;
    position: relative;
    top: 2em;
    margin: 0;
    font-size: .85em;
    line-height: 1.764705882em;
    vertical-align: middle;
    vertical-align: baseline;
    opacity: 0;
    -webkit-transition: top .3s ease,opacity .3s ease;
    -moz-transition: top .3s ease,opacity .3s ease;
    -ms-transition: top .3s ease,opacity .3s ease;
    transition: top .3s ease,opacity .3s ease;
}

.floating-label-form-group::not(:first-child) {
    padding-left: 14px;
    border-left: 1px solid #eee;
}

.floating-label-form-group-with-value label {
    top: 0;
    opacity: 1;
}

.floating-label-form-group-with-focus label {
    color: #1E5F88;
}

form .row:first-child .floating-label-form-group {
    border-top: 1px solid #eee;
}

footer {
	/* bottom: -131px;
	margin-top: auto;
	padding-top: 10px;
    position: absolute;
    right: 0;
    left: 0; */
    color: #fff;
}

footer h3 {
    margin-bottom: 30px;
}

footer a {
	color:#ffffff;
}
footer a:hover {
	color:#ffffff;
}

footer .footer-above {
    padding-top: 50px;
    background-color: #1E5F88;
}

footer .footer-col {
    margin-bottom: 50px;
}

footer .footer-below {
    padding: 25px 0;
    background-color: #233140;
}

.btn-social {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 2px solid #fff;
    border-radius: 100%;
    text-align: center;
    font-size: 20px;
    line-height: 45px;
}

.btn:focus,
.btn:active,
.btn.active {
    outline: 0;
}

.scroll-top {
    z-index: 1049;
    position: fixed;
    right: 2%;
    bottom: 2%;
    width: 50px;
    height: 50px;
}

.scroll-top .btn {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    font-size: 20px;
    line-height: 28px;
}

.scroll-top .btn:focus {
    outline: 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: 0;
    font-size: 3em;
}

.portfolio-modal .modal-content img {
    margin-bottom: 30px;
}

.portfolio-modal .modal-content .item-details {
    margin: 30px 0;
}

.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: #1E5F88;
    -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: #1E5F88;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.portfolio-modal .modal-backdrop {
    display: none;
    opacity: 0;
}

.buffer-top {
	margin-top:60px;
}
.buffer-bottom {
	margin-bottom:60px;
}
.buffer-left {
	margin-left:20px;
}
.buffer-right{
	margin-right:20px;
}

.padding-top {
	padding-top:60px;
}
.padding-bottom {
	padding-bottom:60px;
}
.padding-left {
	padding-left:20px;
}
.padding-right{
	padding-right:20px;
}
@media (min-width: 768px) {
	.buffer-top {
		margin-top:110px;
	}
	.buffer-bottom {
		margin-bottom:110px;
	}
	.buffer-left {
		margin-left:40px;
	}
	.buffer-right{
		margin-right:40px;
	}

	.padding-top {
		padding-top:110px;
	}
	.padding-bottom {
		padding-bottom:110px;
	}
	.padding-left {
		padding-left:40px;
	}
	.padding-right{
		padding-right:40px;
	}
}

ul.list-arrows {
	list-style-type: none;
	padding-left: 20px;
}

ul.list-arrows li {
	position: relative;
	padding-left: 32px;
	margin-bottom: 10px;
	font-size:24px;
}

ul.list-arrows li:before {
	position: absolute;
	top: 0;
	left: 0;
	font-family: FontAwesome;
	content: "\f061";
	color: #1E5F88;
}

.opaque {
    background-color:#ffffff;
}

.panel-clickable {
        -webkit-transition: all .5s;
        -moz-transition: all .5s;
        transition: all .5s;
	cursor:pointer;
}

.panel-clickable:hover {
        -webkit-transition: all .5s;
        -moz-transition: all .5s;
        transition: all .5s;
	filter:brightness(115%);
}

a.panel-link {
	text-decoration:none;
	color:#444444;
}
a.panel-link:hover {
	text-decoration:none;
	color:#444444;
}