body,
html {
    width: 100%;
    height: 100%;
}
body {
    background-color: #ffffff;
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    /*color: #1e656d;*/
    line-height: 25px;
    overflow-x: hidden;
    /*background-image: url('../images/background.jpg');*/
    background-repeat: no-repeat;
    background-position: center bottom;
    background-attachment: fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}


.text-dark {
    color: #00293c;
}
.text-light {
    color: #f1f3c1;
}


a {
    color: rgba(124, 125, 125, 0.51);
    outline: none;
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
a:hover,
a:focus {
    outline: none;
    text-decoration: none;
}


h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-family: 'DejaVu Sans Mono', sans-serif;
}
h3{
    font-size: 18px;
    line-height: 35px;
    font-weight: 700;
    color: #00293c;
    margin-top: 30px;
    margin-bottom: 0px;
}
h3 span{
    font-family: 'Libre Baskerville', serif;
    font-size: 12px;
    font-style: italic;
    font-weight: 400;
    color: #a8aa87;
    padding: 0 10px;
    float: right;
}
hr.h3-spacer{
    margin-top: 0;    
}
h4 {
    font-family: 'Lato', sans-serif;
    color: #00293c;
}
h5 .project-desc{
    
}


.btn.btn-custom, .btn-section, .btn-project {
    background-color: #f62a00;
    font-family: 'Lato', sans-serif;
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #f1f3c1;
    border-radius: 3px;
    border: 1px solid #f62a00;
    margin: 20px 20px 20px 0px;
    padding: 10px 15px;
}
.btn.btn-custom:hover {
    background-color: transparent;
    border: 1px solid #f1f3c1;
    color: #f1f3c1;
}
.btn.btn-custom > i {
    padding-right: 2px;
}
.btn.btn-section:hover {
    background-color: transparent;
    border: 1px solid #00293c;
    color: #00293c;
}
.btn.btn-project {
    font-size: 13px;
}
@media (max-width: 981px) {
    .btn.btn-project {
        padding: 6px 12px;
        font-size: 11px;
        line-height: 1.42857143;
    }
}
.btn.social:hover {
    color: #00293c;
}


span.divider {
    display: block;
    margin: 35px 0px;
    width: 150px;
    height: 2px;
    background-color: #ca030b;
}
span.divider.center {
    margin-right: auto;
    margin-left: auto;
}

.bold {
    font-weight: bold;
}


header.hero {
    display: table;
    position: relative;
    z-index: 5;
    width: 100%;
    height: 100%;
    text-align: center;
}
@media (max-width: 991px) {
    header.hero {
        margin-top: 65px;
    }
}
@media (min-width: 992px) {
    header.hero {
        height: calc(100% - 65px);
        text-align: left;
    }
}
header.hero:before {
    position: absolute;
    content: '';
    z-index: 10;
    width: 100%;
    height: 100%;
    /*background: rgba(0, 0, 0, 0.5);*/
}
header.hero .pattern-overlay {
    position: absolute;
    z-index: 15;
    width: 100%;
    height: 100%;
    /*background-image: url('../images/background-pattern.png');*/
    /*background-repeat: repeat;*/
}
header.hero .hero-body {
    position: relative;
    z-index: 15;
    display: table-cell;
    vertical-align: middle;
    padding: 0 0 30px 0;
}
header.hero .hero-body .right {
    padding-top: 1.5em;
}
header.hero .hero-body .hero-text {
    color: rgba(255, 255, 255, 0.9);
}
header.hero .hero-body .hero-text h1 {
    font-size: 34px;
    font-weight: 700;
    font-family: 'DejaVu Sans Mono', sans-serif;
    letter-spacing: -2px;
    color: #ffffff;
}
@media (max-width: 361px) {
    header.hero .hero-body .hero-text h1 {
        padding-bottom: 15px;
    }
}
@media (min-width: 600px) {
    header.hero .hero-body .hero-text h1 {
        font-size: 50px;
    }
}
@media (min-width: 768px) {
    header.hero .hero-body .hero-text h1 {
        font-size: 55px;
        line-height: 80px;
        padding-top: 0.5em;
    }
}
header.hero .hero-body .hero-text h1 span {
    font-size: 34px;
    font-weight: 400;
    color: #00293c;
    display: block;
}
@media (min-width: 600px) {
    header.hero .hero-body .hero-text h1 span {
        font-size: 42px;
    }
}
@media (min-width: 768px) {
    header.hero .hero-body .hero-text h1 span {
        font-size: 50px;
    }
}
header.hero .hero-body .hero-text p {
    margin-top: 10px;
    font-size: 20px;
    padding-bottom: 10px;
    color: #f1f3c1;
}
header.hero .hero-body .hero-text p span{
    font-style: italic;
    color: #a8aa87;
}
@media (min-width: 768px) {
    header.hero .hero-body .hero-text p {
        line-height: 30px;
    }
}
header.hero .hero-body .hero-text .hero-buttons {
    margin-top: 50px;
    display: inline-block;
}

/*---------------------------------------------------------------------*/
/*  5. NAVIGATION
/*---------------------------------------------------------------------*/
.navbar.navbar-fixed-top {
    margin: 0;
    border: 0;
    height: 66px;
    background-color: #ffffff;
    border-bottom: 1px solid #606060;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 5px rgba(0, 0, 0, 0.1) inset;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 5px rgba(0, 0, 0, 0.1) inset;
}
@media (min-width: 992px) {
    .navbar.navbar-fixed-top {
        position: relative;
        background-color: #ffffff;
    }
}
.navbar.navbar-fixed-top .navbar-header {
    border-bottom: 1px solid #606060;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 5px rgba(0, 0, 0, 0.1) inset;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3), 0 0 5px rgba(0, 0, 0, 0.1) inset;
}
.navbar.navbar-fixed-top .navbar-container {
    background-color: #ffffff;
    width: 100%;
}
.navbar.navbar-fixed-top .navbar-brand {
    font-family: 'DejaVu Sans Mono', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #00293c;
    text-transform: uppercase;
    height: 65px;
    line-height: 65px;
    padding-top: 0px;
    padding-bottom: 0px;
}
.navbar.navbar-fixed-top .navbar-brand:hover {
    color: #f62a00;
}
.navbar.navbar-fixed-top .navbar-nav > li > a {
    padding-top: 0px;
    height: 40px;
    line-height: 40px;
    font-family: 'DejaVu Sans Mono', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #00293c;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    width: 100%;
}
@media (min-width: 992px) {
    .navbar.navbar-fixed-top .navbar-nav > li > a {
        height: 65px;
        line-height: 65px;
    }
}
.navbar.navbar-fixed-top .navbar-nav > li > a:hover {
    background-color: transparent;
    color: #ca030b;
}
.navbar.navbar-fixed-top .navbar-nav > li > a:focus {
    background-color: transparent;
    color: #ca030b;
}
.navbar.navbar-fixed-top .navbar-nav > li.active > a {
    background-color: transparent;
    color: #ca030b;
}
.navbar.navbar-fixed-top .navbar-nav > li.active > a:hover {
    background-color: transparent;
    color: #ca030b;
}
.navbar.navbar-fixed-top .navbar-nav > li.active > a:focus {
    background-color: transparent;
    color: #ca030b;
}
.navbar.navbar-fixed-top .navbar-nav > li.dropdown > a:hover {
    color: #ca030b;
}
.navbar.navbar-fixed-top .navbar-nav > li.dropdown.open > a {
    background-color: transparent;
    color: #ca030b;
}
.navbar.navbar-fixed-top .navbar-nav > li.dropdown.open > a:focus {
    background-color: transparent;
}
.navbar.navbar-fixed-top .navbar-nav > li.dropdown.active > a,
.navbar.navbar-fixed-top .navbar-nav > li.dropdown.active.open > a {
    color: #ca030b;
}
.navbar.navbar-fixed-top .navbar-nav > li.dropdown.active > a:hover,
.navbar.navbar-fixed-top .navbar-nav > li.dropdown.active.open > a:hover {
    color: #ca030b;
}
.navbar.navbar-fixed-top .navbar-nav .dropdown-menu {
    min-width: 180px;
    padding: 10px 0px;
    background-color: transparent;
}
@media (max-width: 991px) {
    .navbar.navbar-fixed-top .navbar-nav .dropdown-menu {
        padding-top: 0px;
    }
}
.navbar.navbar-fixed-top .navbar-nav .dropdown-menu > li a {
    height: 35px;
    line-height: 35px;
    font-family: 'DejaVu Sans Mono', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #00293c;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.navbar.navbar-fixed-top .navbar-nav .dropdown-menu > li a:hover {
    background-color: #171717;
    color: #f1f3c1;
}
.navbar.navbar-fixed-top .navbar-nav .dropdown-menu > li a:focus {
    background-color: #171717;
    color: #00293c;
}
.navbar.navbar-fixed-top .navbar-nav .dropdown-menu > li.active a {
    color: #9b4f0f;
    background-color: #171717;
}
.navbar.navbar-fixed-top .navbar-nav .dropdown-menu > li.active a:hover,
.navbar.navbar-fixed-top .navbar-nav .dropdown-menu > li.active a:focus {
    color: #9b4f0f;
    background-color: #171717;
}
.navbar.navbar-fixed-top .navbar-nav .caret {
    margin-top: -4px;
}
.navbar.navbar-fixed-top .navbar-toggle {
    background-color: transparent;
    margin-top: 18px;
}
.navbar.navbar-fixed-top .navbar-toggle .icon-bar {
    background-color: #00293c;
}
.navbar.navbar-fixed-top .navbar-toggle:hover .icon-bar {
    background-color: #f62a00;
}
.navbar.navbar-fixed-top .navbar-collapse {
    border-bottom: 0;
    background-color: #ffffff;
}
@media (max-width: 991px) {
    .navbar.navbar-fixed-top .navbar-collapse {
        border-bottom: 1px solid #00293c;
        background-color: transparent;
    }
}
.navbar.navbar-fixed-top .navbar-nav .language-text-color {
    color: #34747b;
}

/*---------------------------------------------------------------------*/
/*  5.1. NAVIGATION - CENTER MENU
/*---------------------------------------------------------------------*/
@media (min-width: 992px) {
    .navbar.navbar-fixed-top.center-menu .navbar-nav {
        float: none;
        text-align: center;
    }
}
@media (min-width: 992px) {
    .navbar.navbar-fixed-top.center-menu .navbar-nav > li {
        float: none;
        display: inline-block;
    }
}

/*---------------------------------------------------------------------*/
/* 6. SECTION
/*---------------------------------------------------------------------*/
.section .section-wrapper > .section-content {
    padding: 30px 0px;
}
@media (min-width: 768px) {
    .section .section-wrapper > .section-content {
        padding: 50px 0px;
    }
}
.section-divider {
    background-color: transparent;
    background-image: url('../images/background-pattern.png');
    background-repeat: repeat;
}
@media (min-width: 768px) {
    .section-divider {
        padding-bottom: 30px;
    }
}
.section-divider .section-wrapper > .section-content {
    padding-top: 30px;
    padding-bottom: 0px;
}
.section .section-title {
    margin-bottom: 20px;
    font-size: 35px;
    letter-spacing: 1px;
    color: #00293c;
}
.section-divider .section-divider-title {
    margin-bottom: 20px;
    font-size: 35px;
    letter-spacing: 1px;
    color: #f1f3c1;
}
.section .section-subtitle {
    color: #606060;
    font-size: 18px;
    font-style: italic;
}
.section-divider .section-divider-subtitle {
    color: #f1f3c1;
    font-size: 18px;
    font-style: italic;
}
.section.bg-image-yes {
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}
@media (min-width: 1280px) {
    .section.bg-image-yes {
        background-attachment: fixed;
    }
}
.section.bg-image-yes .container-fluid.section-wrapper {
    position: relative;
}
.section.bg-image-yes .container-fluid.section-wrapper > .section-content {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
}
@media (min-width: 768px) {
    .section.bg-image-yes .container-fluid.section-wrapper > .section-content {
        width: 750px;
    }
}
@media (min-width: 992px) {
    .section.bg-image-yes .container-fluid.section-wrapper > .section-content {
        width: 970px;
    }
}
@media (min-width: 1200px) {
    .section.bg-image-yes .container-fluid.section-wrapper > .section-content {
        width: 1170px;
    }
}
.section.bg-image-yes .container-fluid.section-wrapper > .section-content:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
.section.parallax-yes > .parallax {
    width: 100%;
    height: 100%;
}
.section.parallax-yes > .parallax > .bcg {
    display: table;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center bottom;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}
@media (min-width: 1280px) {
    .section.parallax-yes > .parallax > .bcg {
        background-attachment: fixed;
    }
}
.section.parallax-yes .container-fluid.section-wrapper {
    position: relative;
}
.section.parallax-yes .container-fluid.section-wrapper > .section-content {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px;
}
@media (min-width: 768px) {
    .section.parallax-yes .container-fluid.section-wrapper > .section-content {
        width: 750px;
    }
}
@media (min-width: 992px) {
    .section.parallax-yes .container-fluid.section-wrapper > .section-content {
        width: 970px;
    }
}
@media (min-width: 1200px) {
    .section.parallax-yes .container-fluid.section-wrapper > .section-content {
        width: 1170px;
    }
}
.section.parallax-yes .container-fluid.section-wrapper > .section-content:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

/*---------------------------------------------------------------------*/
/*  6.2.1. MAGNIFIC POP UP CUSTOM
/*---------------------------------------------------------------------*/
.mfp-bg {
    background-color: #ffffff;
}
button.mfp-arrow {
    display: block;
    position: absolute;
    top: 50%;
    width: 90px;
    height: 60px;
    line-height: 20px;
    margin-top: -30px;
}
button.mfp-arrow:active {
    margin-top: -30px;
}
.mfp-arrow-left:before {
    border-right: none;
    margin: 0;
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 90px;
    height: 60px;
    line-height: 20px;
    margin-top: -30px;
    content: '\ea26';
    font-family: 'icomoon';
    font-size: 50px;
}
.mfp-arrow-left:after {
    border-right: none;
}
.mfp-arrow-right:before {
    border-left: none;
    margin: 0;
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    width: 90px;
    height: 60px;
    line-height: 20px;
    margin-top: -30px;
    content: '\ebf9';
    font-family: 'icomoon';
    font-size: 50px;
}
.mfp-arrow-right:after {
    border-left: none;
}

/*---------------------------------------------------------------------*/
/*  6.2.2. MAGNIFIC POP CUSTOM - FADE EFFECT
/*---------------------------------------------------------------------*/
.mfp-fade.mfp-bg {
    opacity: 0;
    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}
.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.8;
}
.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}
.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    -webkit-transition: all 0.15s ease-out;
    -moz-transition: all 0.15s ease-out;
    transition: all 0.15s ease-out;
}
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}

/*---------------------------------------------------------------------*/
/*  6.3. SECTION - RESUME
/*---------------------------------------------------------------------*/
#resume {
    background-color: #ffffff;
}
#resume h3 {
    text-align: center;
}
@media (min-width: 768px) {
    #resume h3 {
        text-align: left;
    }
}
#resume .education {
    margin-top: 30px;
}
#resume .work-experience {
    margin-top: 0px;
}
.panel-group.resume {
    position: relative;
    margin-top: 30px;
}
.panel-group.resume .resume-item {
    position: relative;
    margin-bottom: 40px;
}
@media (min-width: 568px) {
    .panel-group.resume .resume-item {
        margin-bottom: 20px;
    }
}
@media (min-width: 768px) {
    .panel-group.resume .resume-item:before {
        position: absolute;
        content: '';
        width: 1px;
        height: calc(100% + 20px);
        top: 0;
        left: 170px;
    }
}
.panel-group.resume .resume-item:last-child {
    margin-bottom: 0px;
}
.panel-group.resume .resume-item:last-child:before {
    display: none;
}
.panel-group.resume .resume-item .resume-year {
    display: block;
    position: relative;
    width: 120px;
    height: 40px;
    margin-bottom: -20px;
    margin-right: auto;
    margin-left: auto;
    line-height: 40px;
    background-color: #ffffff;
    text-align: center;
    font-weight: 700;
    /*text-transform: uppercase;*/
    border-radius: 4px;
    color: #ca030b;
}
@media (min-width: 568px) {
    .panel-group.resume .resume-item .resume-year {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    }
}
.panel-group.resume .resume-item .resume-btn {
    position: absolute;
    z-index: 5;
    top: 0;
    left: 150px;
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border-radius: 4px;
}
@media (max-width: 767px) {
    .panel-group.resume .resume-item .resume-btn {
        display: none;
    }
}
.panel-group.resume .resume-item .resume-btn > a {
    display: block;
    position: absolute;
    z-index: 10;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
}
.panel-group.resume .resume-item .resume-btn > a:before {
    display: block;
    position: absolute;
    z-index: 15;
    content: 'v';
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    line-height: 38px;
    color: #ca030b;
    font-size: 30px;
    font-weight: 700;
    text-align: center;
}
.panel-group.resume .resume-item .resume-btn > a.collapsed:before {
    content: '>';
}
.panel-group.resume .resume-item .panel {
    padding: 10px;
    width: 100%;
    background: transparent;
    border: 1px solid #6e6e6e;
    border-radius: 4px;
}
@media (min-width: 568px) {
    .panel-group.resume .resume-item .panel {
        width: calc(100% - 140px);
        margin-left: 140px;
    }
}
@media (min-width: 768px) {
    .panel-group.resume .resume-item .panel {
        width: calc(100% - 210px);
        margin-left: 210px;
    }
}
.panel-group.resume .resume-item .panel .panel-heading {
    position: relative;
}
@media (max-width: 567px) {
    .panel-group.resume .resume-item .panel .panel-heading .panel-title {
        padding-top: 20px;
    }
}
.panel-group.resume .resume-item .panel .panel-collapse .panel-body {
    padding-top: 5px;
    border-top: none;
}
.panel-group.resume .resume-item .panel .panel-collapse .panel-body p {
    margin-bottom: 0px;
}
.panel-group.resume .resume-item .panel .panel-collapse .panel-body .no-bullets {
    list-style-type: none;
}
.panel-group.resume .resume-item .panel .panel-collapse .panel-body ul {
    list-style: none;
}
.panel-group.resume .resume-item .panel .panel-collapse .panel-body li { 
    padding-left: 1em; 
    text-indent: -.7em;
}
.panel-group.resume .resume-item .panel .panel-collapse .panel-body li:before {
    content: "- ";
}


/*---------------------------------------------------------------------*/
/*  6.7. SECTION - CONTACT
/*---------------------------------------------------------------------*/
.contact {
    background-color: #ffffff;
    width: 100%;
    z-index: 9999;
    -webkit-transition: all 1500ms ease 0s;
    -moz-transition: all 1500ms ease 0s;
    -ms-transition: all 1500ms ease 0s;
    -o-transition: all 1500ms ease 0s;
    transition: all 1500ms ease 0s;
}

/*---------------------------------------------------------------------*/
/*  6.7.1. SOCIAL ICONS
/*---------------------------------------------------------------------*/
.contact ul.social-icons {
    margin-bottom: 30px;
    text-align: center;
}
.contact ul.social-icons > li {
    padding-right: 7px;
    padding-left: 7px;
}
.contact .social{
    width:50px;
    height:50px;
    font-size:42px;
    font-weight:800;
    background-color: transparent;
    padding: 0;
    margin: 5px; 
}
.custom-tooltip + .tooltip > .tooltip-inner {
      background-color: rgba(124, 125, 125, 0.51);
      color: #ca030b;
      border: 0; 
}
.custom-tooltip + .tooltip.top > .tooltip-arrow {
    border-top: 5px solid rgba(124, 125, 125, 0.51);
}

/*---------------------------------------------------------------------*/
/*  8. FOOTER
/*---------------------------------------------------------------------*/
footer.footer {
    background-color: rgba(124, 125, 125, 0.51);
    padding-top: 40px;
    padding-bottom: 20px;
    color: #606060;
}
footer.footer > a {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    width: 48px;
    height: 46px;
    line-height: 48px;
    margin-top: -64px;
    margin-left: -24px;
    background-color: #f62a00;
    color: #f1f3c1;
    font-size: 24px;
    text-align: center;
    border-radius: 4px;
}
footer.footer .page-top-arrow > a {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    width: 48px;
    height: 46px;
    line-height: 48px;
    margin-top: -64px;
    margin-left: -24px;
    background-color: #f62a00;
    color: #f1f3c1;
    font-size: 24px;
    text-align: center;
    border-radius: 4px;
}
.icon-Arrow-Up:hover {
    color: #333;
}
