
body {
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #777;
    font-weight: 400;
    overflow-x: hidden;
}

.playball {
    font-family: 'Playball', cursive;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #333;
    line-height: 1.4;
    font-weight: 600;
}

a,
a:hover {
    color: #00b5e2;
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* --- Menu --- */
.isFixed {
    left: 0px;
    width: 100%;
}

.menu {
    margin-top: 0px;
    position: absolute;
    z-index: 999;
    left: 0px;
    right: 0px;
    bottom: 0;
}

.navArea {
    /*float:right;*/
}

.navwrapper .container {
    padding: 0;
    width: auto;
}

.navbar-header {
    display: none;
}

.nav > li > a {
    display: inline-block;
}

.navbar-nav > li {
    float: none;
    display: inline-block;
}

.navbar-nav {
    margin: 0 auto;
    text-align: center;
    float: none;
}

.navbar-toggle {
    margin-top: 14px;
}

/* Special class on .container surrounding .navbar,used for positioning it into place. */
.navbar-wrapper {
    margin-top: 0px;
    height: 80px;
    position: relative;
    z-index: 15;
    margin-right: -15px;
}

.navbar-wrapper .container {
    padding: 0px;
}

.navbar-collapse {
    padding: 0;
}

.navbar-collapse.in {
    max-height: 100%;
}

.navbar.navbar-inverse.navbar-static-top {
    margin: 0px auto;
    background: none;
    color: #00b5e2;
    border: none;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.navbar.navbar-inverse.navbar-static-top a {
    color: #fff;
    padding: 31px 16px;
    line-height: 18px;
    text-align: center;
}

.navbar.navbar-inverse.navbar-static-top a:hover {
    background: none;
    color: #fff;
}

.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:focus {
    background: none;
    color: #fff !important;
}

.navbar-inverse .navbar-nav > .active > a:hover {
    color: #fff;
}

.hideClass {
    display: none;
}

.isFixed .navbar-inverse .navbar-nav > .active > a,
.isFixed .navbar-inverse .navbar-nav > .active > a:focus {
    background: #00b5e2;
    color: #fff;
}

.isFixed .navbar.navbar-inverse.navbar-static-top a:hover {
    background: #00b5e2;
    color: #fff;
}

.isFixed .navbar.navbar-inverse.navbar-static-top a {
    color: #fff;
}

.stuckMenu {
    -o-transition: all .5s;
    -ms-transition: all .5s;
    -moz-transition: all .5s;
    -webkit-transition: all .5s;
    transition: all .5s;
    background: #111;
}

.isFixed {
    background: #333;
    -o-transition: all .5s;
    -ms-transition: all .5s;
    -moz-transition: all .5s;
    -webkit-transition: all .5s;
    transition: all .5s;
}

.collapse {
    display: block !important;
}

@media (max-width: 655px) {
    .collapse {
        background: #333;
    }

    .navbar.navbar-inverse.navbar-static-top a {
        padding: 15px 16px;
        line-height: 15px;
        font-size: 13px;
    }
}

/* --- Intro --- */
header {
    padding-bottom: 0px;
}

.intro {
    font-family: 'Playball', cursive;
    font-size: 60px;
    line-height: 1.0;
    font-weight: 900;
}


.intro a {
    /*	-webkit-text-stroke: 1px black; */
    color: #eee;
    text-shadow:
        -1px -1px 0 #222,
        1px -1px 0 #222,
        -1px 1px 0 #222,
        1px 1px 0 #222;
    /*	text-shadow: -1px 0 #d1d1d1, 0 1px #d1d1d1, 1px 0 #d1d1d1, 0 -1px #d1d1d1; */
    /*	font-smooth: always; */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Parallax --- */
.parallax {
    text-align: center;
    /* background-position:center center; */
    background-position: 50% 50px fixed;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed !important;
    overflow: hidden;
}

.parallax-pattern-overlay {
    background-image: url(../img/pattern.png);
    background-repeat: repeat;
}

/* --- Heading --- */
.heading {
    padding-bottom: 15px;
    text-align: center;
    max-width: 960px;
    margin: 0px auto;
    padding-top: 80px;
}

.heading h2 {
    font-weight: 700;
    font-family: 'Playball', cursive;
    font-size: 35px;
    color: #333;
    margin: 0;
    padding: 5px;
}

.heading h2::first-letter {
    color: #00b5e2;
}

.heading h3 {
    font-size: 16px;
    line-height: 1.7;
}

img#site-title {
    max-width: 200px;
}

.papers,
.papers:before,
.papers:after {
    background-color: #fff;
    border: 1px solid #ccc;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.1), 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.papers {
    position: relative;
    width: 80%;
    padding: 2em;
    margin: 0px auto;
    margin-top: 40px;
    font-size: 11px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.papers:before,
.papers:after {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    -webkit-transform: rotateZ(2.5deg);
    -o-transform: rotate(2.5deg);
    transform: rotateZ(2.5deg);
    z-index: -1;
}

.papers:after {
    -webkit-transform: rotateZ(-2.5deg);
    -o-transform: rotate(-2.5deg);
    transform: rotateZ(-2.5deg);
}

.papers h1 {
    font-size: 1.8em;
    font-weight: normal;
    text-align: center;
    padding: 0.2em 0;
    margin: 0;
    border-top: 1px solid #ddd;
    border-bottom: 2px solid #ddd;
}

.papers p {
    text-align: left;
    margin: 1.5em 0;
}

.papers img {
    max-width: 100%;
    margin-bottom: 5px;
}

/* --- Skills --- */

.progress-wrap {
    position: relative;
}

/*
.progress .color1,
.progress .color1 .bar-width{
  background: #2d7da4;
}

.progress .color2,
.progress .color2 .bar-width{
  background: #6aa42f;
}

.progress .color3,
.progress .color3 .bar-width{
  background: #ffcc33;
}

.progress .color4,
.progress .color4 .bar-width{
  background: #db3615;
}
*/

/*
.progress .color1,
.progress .color1 .bar-width{
  background: #64a70b;
}

.progress .color2,
.progress .color2 .bar-width{
  background: #d50032;
}

.progress .color3,
.progress .color3 .bar-width{
  background: #862633;
}

.progress .color4,
.progress .color4 .bar-width{
  background: #f8e08e;
}

.progress .color5,
.progress .color5 .bar-width{
  background: #003da5;
}

.progress .color6,
.progress .color6 .bar-width{
  background: #63666a;
}
*/


.progress .color1,
.progress .color1 .bar-width {
    background: #00b5e2;
}

.progress .color2,
.progress .color2 .bar-width {
    background: #00a2cb;
}

.progress .color3,
.progress .color3 .bar-width {
    background: #0090b4;
}

.progress .color4,
.progress .color4 .bar-width {
    background: #007e9e;
}

.progress .color5,
.progress .color5 .bar-width {
    background: #006c87;
}

.progress .color6,
.progress .color6 .bar-width {
    background: #005a71;
}

.progress .color7,
.progress .color7 .bar-width {
    background: #00485a;
}

.progress .color8,
.progress .color8 .bar-width {
    background: #003643;
}


.progress,
.progress-bar {
    height: 15px;
    line-height: 15px;
    background: #e6e6e6;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    text-align: right;
}

.progress {
    position: relative;
}

.progress .bar-width {
    position: absolute;
    width: 40px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    top: -30px;
    border-radius: 2px;
    margin-left: -30px;
}

.progress span {
    position: relative;
}

.progress span:before {
    content: " ";
    position: absolute;
    width: auto;
    height: auto;
    border-width: 8px 5px;
    border-style: solid;
    bottom: -15px;
    right: 8px;
}

.progress .color1 span:before {
    border-color: #2d7da4 transparent transparent transparent;
}

.progress .color2 span:before {
    border-color: #6aa42f transparent transparent transparent;
}

.progress .color3 span:before {
    border-color: #ffcc33 transparent transparent transparent;
}

.progress .color4 span:before {
    border-color: #db3615 transparent transparent transparent;
}

.specialties img {
    margin-top: 30px;
    margin-bottom: 50px;
}

.skills {
    box-shadow: inset 0 0 0 16px #fff, inset 0 0 0 17px #eee, inset 0 0 0 18px #fff, inset 0 0 0 19px #eee, inset 0 0 0 20px #fff, inset 0 0 0 21px #eee, 0 4px 20px rgba(0, 0, 0, 0.1);
    -webkit-transform: translateZ(0px);
    transform: translateZ(0px);
    opacity: 1;
    pointer-events: auto;
}

.skills h5 {
    margin: 0;
    font-size: 14px;
}

.skills .rm-thumb {
    width: 100px;
    height: 100px;
    background-repeat: no-repeat;
    background-position: center center;
    float: left;
    margin: 0 20px 0 0;
    box-shadow: inset 1px 1px 3px rgba(0, 0, 0, 0.2), 1px 1px 1px rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.skills {
    font-size: 12px;
    padding: 40px 40px 20px 40px;
}

.restitem {
    margin-bottom: 40px;
}

.restitem p {
    margin-bottom: 0px;
}

.skills h3.main {
    margin: 0 0 20px 0;
    font-size: 19px;
    padding-bottom: 10px;
    color: #00b5e2;
    border-bottom: 4px double #eee;
}

/* General style */
.grid-gallery ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.grid-gallery figure {
    margin: 0;
}

.grid-gallery figure img {
    display: block;
    width: 100%;
}

.grid-gallery figcaption h3 {
    margin: 0;
    padding: 0 0px 0;
    color: #fff;
    font-size: 17px;
    font-weight: 300;
}

.grid-gallery figcaption p {
    margin: 0;
    font-size: 12px;
}

/* Grid style */
.grid-wrap {
    margin: 0 auto;
}

.grid {
    margin: 0 auto;
}

.grid li {
    width: 25%;
    float: left;
    cursor: pointer;
}

.grid figure {
    padding: 15px;
    -webkit-transition: opacity 0.2s;
    transition: opacity 0.2s;
}

.grid li:hover figure {
    opacity: 0.7;
}

.grid figcaption {
    background: #333;
    padding: 25px;
}

/* Slideshow style */
.slideshow {
    position: fixed;
    background: rgba(0, 0, 0, 0.6);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
    -webkit-transition: opacity 0.5s, visibility 0s 0.5s;
    transition: opacity 0.5s, visibility 0s 0.5s;
}

.slideshow-open .slideshow {
    opacity: 1;
    visibility: visible;
    -webkit-transition: opacity 0.5s;
    transition: opacity 0.5s;
}

.slideshow ul {
    width: 100%;
    height: 100%;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
    -webkit-transform: translate3d(0, 0, 150px);
    transform: translate3d(0, 0, 150px);
    -webkit-transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
}

.slideshow ul.animatable li {
    -webkit-transition: -webkit-transform 0.5s;
    transition: transform 0.5s;
}

.slideshow-open .slideshow ul {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}

.slideshow li {
    width: 660px;
    height: 460px;
    position: absolute;
    top: 65%;
    left: 50%;
    margin: -280px 0 0 -330px;
    visibility: hidden;
}

.slideshow li.show {
    visibility: visible;
}

.slideshow li:after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.8);
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
}

.slideshow li.current:after {
    visibility: hidden;
    opacity: 0;
    -webkit-transition: opacity 0.3s, visibility 0s 0.3s;
    transition: opacity 0.3s, visibility 0s 0.3s;
}

.slideshow figure {
    width: 100%;
    height: 100%;
    background: #fff;
    border: 50px solid #fff;
    overflow: hidden;
}

/*
.slideshow figure img {
    border: 1px solid #bbb;
}
*/

/* Navigation */
.slideshow nav span {
    position: fixed;
    z-index: 1000;
    color: #fff;
    text-align: center;
    padding: 2%;
    cursor: pointer;
    font-size: 2.2em;
    background: rgba(0, 0, 0, 0.1);
}

.slideshow nav span.nav-prev,
.slideshow nav span.nav-next {
    top: 50%;
    -webkit-transform: translateY(-50%);
    transform: translateY(-50%);
}

.slideshow nav span.nav-next {
    right: 0;
}

.slideshow nav span.nav-close {
    top: 75px;
    right: 0px;
    padding: 10px 25px;
    color: #999;
}

.icon:before,
.icon:after {
    font-family: 'fontawesome';
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

span.nav-prev:before {
/*    content: "\f104";*/
    font-family: "consolas";
    content: "<";
}

span.nav-next:before {
/*    content: "\f105";*/
    font-family: "consolas";
    content: ">";
}

span.nav-close:before {
/*    content: "\f00d";*/
    font-family: "consolas";
    content: "X";
}

/* Info on arrow key navigation */
.info-keys {
    position: fixed;
    top: 10px;
    left: 10px;
    width: 60px;
    font-size: 8px;
    padding-top: 20px;
    text-transform: uppercase;
    color: #fff;
    letter-spacing: 1px;
    text-align: center;
}

.info-keys:before,
.info-keys:after {
    position: absolute;
    top: 0;
    width: 16px;
    height: 16px;
    border: 1px solid #fff;
    text-align: center;
    line-height: 14px;
    font-size: 12px;
}

.info-keys:before {
    left: 10px;
    content: "\e603";
}

.info-keys:after {
    right: 10px;
    content: "\e604";
}

/* Example media queries (reduce number of columns and change slideshow layout) */
@media screen and (max-width:60em) {

    /* responsive columns;see "Element sizing" on http://masonry.desandro.com/options.html */
    .grid li {
        width: 33.3%;
    }

    .slideshow li {
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        margin: 0;
    }

    .slideshow li figure img {
        width: auto;
        margin: 0 auto;
        max-width: 100%;
    }

    .slideshow nav span,
    .slideshow nav span.nav-close {
        font-size: 1.8em;
        padding: 0.3em;
    }

    .info-keys {
        display: none;
    }
}

@media screen and (max-width:35em) {
    .grid li {
        width: 50%;
    }
}

@media screen and (max-width:24em) {
    .grid li {
        width: 100%;
    }
}

/* --- Educations --- */
.hi-icon-effect {
    padding-bottom: 30px;
    padding-left: 10px;
    padding-right: 10px;
}

.hi-icon-effect:hover {
    -webkit-transition: color 300ms, background-color 300ms;
    -moz-transition: color 300ms, background-color 300ms;
    -o-transition: color 300ms, background-color 300ms;
    transition: color 300ms, background-color 300ms;
}

.hi-icon-effect i.fa:hover {
    background: #fff;
    color: #00b5e2;
    -webkit-transition: color 300ms, background-color 300ms;
    -moz-transition: color 300ms, background-color 300ms;
    -o-transition: color 300ms, background-color 300ms;
    transition: color 300ms, background-color 300ms;
}

.hi-icon-effect i {
    font-size: 30px;
    margin-top: 50px;
    margin-bottom: 30px;
    color: #fff;
    padding: 50px;
    background: #00b5e2;
    border-radius: 50%;
}

/* --- Contact --- */
/* --- Map --- */
.map {
    position: relative;
    margin-top: 50px;
    margin-bottom: 40px;
}

/* google map */
#google-map {
    position: relative;
    height: 400px;
}

.contact-info {
    margin-top: 40px;
}

.contact-info p {
    color: #333;
}

.contact-info ul {
    color: #333;
    list-style: none;
    margin-left: -40px;
}

.contact-info ul li {
    margin-top: 20px;
    margin-bottom: 20px;
}

.contact-info i {
    color: #00b5e2;
}


.validation {
    color: red;
    display: none;
    margin: 0 0 20px;
    font-weight: 400;
    font-size: 13px;
}

#sendmessage {
    color: green;
    border: 1px solid green;
    display: none;
    text-align: center;
    padding: 15px;
    font-weight: 600;
    margin-bottom: 15px;
}

#errormessage {
    color: red;
    display: none;
    border: 1px solid red;
    text-align: center;
    padding: 15px;
    font-weight: 600;
    margin-bottom: 15px;
}

#sendmessage.show,
#errormessage.show,
.show {
    display: block;
}

input.contact {
    background: #fff;
    border: solid 1px #ddd;
    color: #000;
    padding: 15px 30px;

    margin-right: 3%;
    margin-bottom: 30px;
    outline: none;
}

input.contact.noMarr {
    margin-right: 0px;
}

textarea.contact {
    background: #fff;
    color: #000;
    border: solid 1px #ddd;
    padding: 15px 30px;

    margin-bottom: 40px;
    outline: none;
    height: 150px;
}

.contact.submit {
    background: #333;
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    text-align: center;
    margin: 0px;
    border: none !important;
    border-radius: 3px;
}

.contact.submit:hover {
    background: #00b5e2;
}

.done {
    display: none;
}

.error input,
input.error,
.error textarea,
textarea.error {
    background-color: #ffffff;
    border: 1px solid red !Important;
    -webkit-transition: border linear 0.2s, box-shadow linear 0.2s;
    -moz-transition: border linear 0.2s, box-shadow linear 0.2s;
    -o-transition: border linear 0.2s, box-shadow linear 0.2s;
    transition: border linear 0.2s, box-shadow linear 0.2s;
}

@media screen and (min-width:768px) {
    input.contact.col-md-6 {
        width: 48.5%;
    }
}

/* --- Footer --- */
.footer {
    background: #00b5e2;
    margin-top: 120px;
    position: relative;
    margin-right: -15px;
}

.footer .container {
    padding: 60px 0 20px;
}

.footer ul {
    margin: 0 auto;
    margin-bottom: 30px;
    margin-top: 10px;
    text-align: center;
    list-style-type: none;
    padding-left: 0;
}

.footer ul li {
    display: inline-block;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    color: #ffffff;
    line-height: 45px;
    margin: 0 4px 0px;
    width: 45px !important;
    height: 45px !important;
    -webkit-border-radius: 3px;
    border-radius: 3px;
}

.footer ul li:hover {
    background: #2a2a2a;
}

.footer ul li:hover a {
    color: #fff;
}

.footer ul li a {
    color: #fff;
    width: 42px !important;
    height: 42px !important;
}

.footer ul li a i {
    line-height: 45px;
    color: #fff;
}

.footer p {
    color: #fff;
    font-size: 13px;
    line-height: 24px;
    font-weight: 300;
    text-align: center;
    text-transform: uppercase;
}

.gototop {
    display: inline-block;
    width: 60px;
    height: 60px;
    background: #fff;
    position: absolute;
    margin-left: -30px;
    top: -35px;
    border-radius: 50%;
}

.gototop i {
    color: #00b5e2;
    line-height: 70px;
}

.footer a,
.footer a:hover {
    color: #fff;
}

.credits {
    text-align: center;
}

blockquote {
    font-style: italic;
    margin: 0 0 0px 0;
    padding: 20px 70px 10px;
    position: relative;
    font-size: 13px;
    border: 0;
}

blockquote:before {
    display: block;
    content: "\201C";
    font-size: 120px;
    position: absolute;
    left: 10px;
    top: -30px;
    color: #00b5e2;
    font-family: Georgia;
}

blockquote cite {
    color: #00b5e2;
    font-size: 14px;
    display: block;
    margin-top: 5px;
    text-align: right;
}

blockquote cite:before {
    content: "\2014 \2009";
}
