/*!
 * Main Stylesheet
 * Author: José Díaz / jbd.baez@gmail.com
 */
html, body {
    overflow-x: hidden;
    font-family: 'Open Sans', sans-serif;
}

p {
    font-size: 18px;
}

p.small {
    font-size: 14px;
}
.m-1 {
    margin-top: 1em;
}
a,
a:hover,
a:focus,
a:active,
a.active {
    outline: 0;
    color: #FFF;
}

.img-centered {
    margin: 0 auto;
}

header {
    text-align: center;
    color: #fff;
    background: #025bba;
    overflow: hidden;
    position: relative;
    height: 560px;
}

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

header img {
    display: block;
    margin: 0 auto 20px;
}

header .intro-text {
    text-align: right;
}
header .intro-text .name {
    display: block;
    font-size: 2em;
    font-weight: 700;
}

header .intro-text .subline {
    font-size: 1.25em;
    font-weight: 300;
}
.navbar-brand {
    text-transform: capitalize;
    font-size: 24px;
    font-weight: normal;
}

.navbar .navbar-toggle {
    background-color: #0076A9;
    border-color: #0076A9;
}
.navbar .navbar-toggle:hover {
    background-color: #025bba;
    border-color:#025bba;
}
.navbar .navbar-toggle .icon-bar {
    background-color:#FFF;
}
.navbar {
    text-transform: capitalize;
    font-weight: 700;
    background-color: #025bba;
    margin: 0;
    padding:1em;
    border-radius: 0;
}
.scroll-top .btn {
    background-color: #0076A9;
    border-color: #0076A9;
}
.scroll-top .btn:hover {
    background-color: #025bba;
    border-color: #025bba;
}

.navbar a:focus {
    outline: 0;
}

.navbar .navbar-nav {
    letter-spacing: 1px;
}
.navbar .navbar-nav a {
    border-radius: 10px;
}

.navbar .navbar-nav li a:focus {
    outline: 0;
}
.btn-norm {
    width: 100%;
    background-color: #FFB700;
    color: #FFF;
    transition: all .3s ease-in-out;
}
.btn-norm:hover {
    background-color: #D99C00;
    color: #FFF;
}
.noscroll {
    position: fixed;
    overflow: hidden;
}
.padding-top {
    padding-top: 20px;
}

section {
    padding: 100px 0;
}

section h2 {
    margin: 0;
    font-size: 3em;
}

section.success {
    color: #fff;
    background: #025bba;
}
.mdetail>li {
    width: 100%;
    text-align: left;
    border: 1px solid #EEE;
    padding: 5px;
}

.mdetail li:nth-child(odd) { 
    background-color:#FFF; 
}
.mdetail li:nth-child(even) { 
    background-color:#F0F0F0; 
}
.modal-body {
    border: 1px solid #EEE;
}
.modal-body p a {
    color:#FFB700;
}
#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(0,118,169,0.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;
}



.floating-label-form-group {
    position: relative;
    margin-bottom: 10px;
    padding-bottom: .5em;
    border: 1px solid #eee;
    border-radius: 10px;
}

.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: 20px;
    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: 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: 3px;
    opacity: 1;
    color:#CCC;
}

.floating-label-form-group-with-focus label {
    color: #777;
}
.floating-label-form-group-with-focus {
    border: 1px solid #CCC;
}

footer {
    color: #fff;
}

footer h3 {
    margin-bottom: 30px;
}

footer {
    background-color: #025bba;
    padding: 2em;
    font-size: 20px;
}
.about-detail div.boxed {
    background-color: #0265ce;
    border-radius: 10px;
    padding: 15px;
    font-size:20px;
}
.about-detail div.boxed ul {
    background-color: #0265ce;
    border-radius: 10px;
    padding: 15px 35px 15px 35px;
    margin: 15px;
    font-size: 14px;
    line-height: 1.7;
}
.jd-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 0;
    opacity: 0.3;
}
.btn-social {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 1px solid #fff;
    border-radius: 100%;
    text-align: center;
    font-size: 20px;
    line-height: 38px;
}

.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: 20px 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: fixed;
    top: 25px;
    right: 25px;
    width: 75px;
    height: 75px;
    background-color: transparent;
    cursor: pointer;
    z-index: 7777;
}

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

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

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

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

/* Media Queries */

@media(min-width:767px) {
    #portfolio .portfolio-item {
        margin: 0 0 30px;
    }
    section {
        padding: 75px 0;
    }

    section.first {
        padding-top: 75px;
    }
}

@media(min-width:768px) {
    header .container {
        padding-top: 200px;
        padding-bottom: 100px;
    }

    header .intro-text .name {
        font-size: 4.75em;
    }

    header .intro-text .subline {
        font-size: 1.75em;
    }

    .navbar-nav li.active>a {
        background-color: #FFF !important;
        color: #025bba;
    }
    .navbar-nav li > a:hover, .navbar-nav li > a:active, .navbar-nav li > a:focus {
        background-color: #025bba !important;
        background-color: #FFF !important;
        color: #025bba;
    }
}