/*!
 * 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.
 */
 @import url('https://fonts.googleapis.com/css?family=Abril+Fatface');
 
body {
    font-family:'Open Sans', sans-serif;
    max-width: 100%;
    overflow-x: hidden;
    font-weight: 300;
    font-size: 14px;
    -webkit-font-smoothing: subpixel-antialiased;
}

@media (min-width: 1200px) {
    .container {
      width: 940px;
    }
}

p.small {
    font-size: 14px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    /*text-transform: uppercase;*/
    font-weight: 400;
}

hr.light,
hr.primary {
    margin: 10px auto 10px;
    padding: 0;
    max-width: 250px;
    border: 0;
    border-top: solid 2px;
    text-align: center;
}

hr.light {
    border-color: #10245E;
}

hr.light-white {
    border-color: #ffffff;
}

hr.primary:after {
    color: #10245E;
    background-color: #fff;
}

hr.star-light,
hr.star-primary {
    margin: 10px auto 10px;
    padding: 0;
    max-width: 250px;
    border: 0;
    border-top: solid 2px;
    text-align: center;
}

hr.star-light:after,
hr.star-primary:after {
    content: "\f005";
    display: inline-block;
    position: relative;
    top: -.8em;
    padding: 0 .25em;
    font-family: FontAwesome;
    font-size: 2em;
    background-color: #e9f0f5;
}


hr.star-primary {
    border-color: #10245E;
}

hr.star-primary:after {
    color: #10245E;
    background-color: #fff;
}

.img-centered {
    margin: 0 auto;
}

header {
    /*text-align: center;*/
    color: #fff;
    background: #10245E;
}

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


header .intro-text .name {
    /*display: block;*/
    /*text-transform: uppercase;*/
    font-family: 'Open Sans', 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: 100px;
        padding-bottom: 30px;
    }

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

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

@media(min-width:768px) {
    .navbar-fixed-top {
        
        max-width: 100%;
        overflow-x: hidden;
        -webkit-transition: padding .3s;
        -moz-transition: padding .3s;
        transition: padding .3s;

    }

    .navbar-fixed-top .navbar-brand {
        font-size: 2em;
        /*-webkit-transition: all .3s;*/
        /*-moz-transition: all .3s;*/
        /*transition: all .3s;*/
    }

    .navbar-fixed-top.navbar-shrink {
    }

    .navbar-fixed-top.navbar-shrink .navbar-brand {
        font-size: 1.5em;
    }
}

.navbar {
    text-transform: uppercase;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
}

.navbar a:focus {
    outline: 0;
}

.navbar .navbar-nav {
    letter-spacing: 1px;
}

.navbar .navbar-nav li a:focus {
    outline: 0;
    color: #ffffff;

}

.navbar-default,
.navbar-inverse {
    border: 0;
    max-width: 100%;
    overflow-x: hidden;
}

.navbar-about-me-hidden {
    display: none;
}
section {
    padding: 10px 0;
}

section#timeline {
    padding-top: 0px;
}

section h2 {
    margin: 0;
}

section#news-list .news-date {
    font-weight: 700;
    font-size: 18px;
    font-family: 'Inconsolata', monospace;
    text-align: right;
}


section#projects {
    padding-bottom: 100px;
    text-align: justify
}

#projects img {
    padding: 10px 0;
}

section.success a,
section.success a:hover,
section.success a:focus,
section.success a:active,
section.success a.active {
    outline: 0;
    color: #10245E;
}

@media(max-width:767px) {
    section {
        padding: 75px 0;
    }

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

#about .row {
    padding: 15px 0 0px 0;
}

#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;
    -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: 18px;
    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;
    text-align: center;
}

.btn-outline:hover,
.btn-outline:focus,
.btn-outline:active,
.btn-outline.active {
    border: solid 2px #fff;
    color: #18bc9c;
    background: #fff;
    text-align: center;
}

.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: #18bc9c;
}

form .row:first-child .floating-label-form-group {
    border-top: 1px solid #eee;
}

footer {
    color: #fff;
}

footer h3 {
    margin-bottom: 30px;
}

footer .footer-above {
    padding-top: 50px;
    background-color: #10245E;
}

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: justify;
    text-justify: inter-word;
    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: #10245E;
    -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: #10245E;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.portfolio-modal .modal-backdrop {
    display: none;
    opacity: 0;
}
.pubt {
    font-size: 16px;
    font-weight:300;
    color: #000;
    padding-bottom: 5px;
}
@media (max-width: 768px) {
    .pubt {
        margin-top: 10px;
        margin-bottom: 10px;
    }
    .pubd {
        text-align: justify;
    }
}
.pubd {
    text-align: justify;
    font-size: 14px;
    font-weight: 300;
    color: #000000;
}
.pubimg {
    text-align: center;
}
.pubimg img {
    max-width: 100%;
}
.puba {
    font-size: 16px;
    font-weight: 300;
    font-family: 'Inconsolata', monospace;
}
.pubv {
    color: #18bc9c;
    font-weight: 400;
    font-size: 14px;
}
.publ {
    padding-top: 10px;
}
.publ ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.publ li {
    border: 1px solid #CCC;
    padding: 5px;
    margin: 5px 2px;
    display: inline-block;
}

.publ_ {
    padding-top: 10px;
}
.publ_ ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.publ_ li {
    padding: 5px;
    margin: 5px 2px;
    display: inline-block;
}


.band {
    margin: 0 auto;
    max-width: 1570px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    grid-gap: 20px;
    text-align: left
  }
  @media (min-width: 30em) {
    .band {
      grid-template-columns: 1fr 1fr;
    }
  }
  @media (min-width: 60em) {
    .band {
      grid-template-columns: repeat(4, 1fr);
    }
  }
  .band a:hover, a:focus {
    color: #000000;
    text-decoration: none; 
    text-align: left;
  }
  .card {
    background: white;
    text-decoration: none;
    color: #444;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    position: relative;
    top: 0;
    transition: all .1s ease-in;
  }
  .card:hover {
    box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.6);
    -webkit-transform: scale(1.01, 1.01);
    transform: scale(1.01, 1.01);
  }
  .card article {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }
  .card h1 {
    font-size: 20px;
    margin: 0;
    color: #333;
  }
  .card p {
    flex: 1;
    line-height: 1.4;
  }
  .card span {
    font-size: 12px;
    font-weight: bold;
    color: #999;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin: 2em 0 0 0;
  }
  .card .thumb {
    padding-bottom: 60%;
    background-size: cover;
    background-position: center center;
  }
  .item-1 .thumb {
    max-width: 100%;
    margin-bottom: 0%;
    padding-bottom: 20%;
    left: 10%;
    margin-top: 5%;
  }

  .item {
    grid-column: span 2;
  }

  @media (min-width: 60em) {
    .item-1 {
      grid-column: 1 / span 2;
    }
    .item-5 {
        grid-column:2 / span 2;
    }
    .item-1 .thumb {
        max-width: 100%;
        padding-bottom: 20%;
        position: relative;
        left: 10%;
        margin-top: 5%;
     }
     .item-5 .thumb {
        max-width: 100%;
        padding-bottom: 40%;
        background-position: top;
    }
  }
  .affiliation {
      margin-bottom: -10%;
  }
  .affiliation-list{
    padding-left: 0;
    list-style: none;
    align-content: center;
  }
  
  .affiliation-list > li {
    display: inline-block;
    padding-left: 3%;
    padding-right: 3%;
    margin-bottom: 2%;
    margin-top: 2%;
    text-align: center;
  }

  .affiliation-list li a img {
    height: 50px;
    display: inline-block;
  }

  .btn-affl {
        display: inline-block;
        border: 2px solid #fff;
        border-radius: 100%;
        text-align: center;
        font-size: 20px;
    }