body {
    font: 400 15px Lato, sans-serif;
    line-height: 1.8;
    color: #818181 !important;
}

.modal {
    margin-top: 30px;
}

.modal-footer {
    margin-top: 40px;
}

.save-btn {
    display: none;
}

h2 {
    font-size: 24px;
    text-transform: uppercase;
    color: #303030 !important;
    font-weight: 600;
    margin-bottom: 30px;
}
h4 {
    font-size: 19px;
    line-height: 1.375em;
    color: #303030 !important;
    font-weight: 400;
    margin-bottom: 30px;
}

.container-fluid {
    padding: 60px 50px;
}

#prev h2,
#info h2,
#demo h2,
#create-app h2 {
    margin-bottom: 3px;
    font-size: 24px;
}

.navbar {
    margin-bottom: 0;
    background-color: #1995dc;
    z-index: 9999;
    border: 0;
    font-size: 12px !important;
    line-height: 1.42857143 !important;
    letter-spacing: 4px;
    border-radius: 0;
    font-family: Montserrat, sans-serif;
}
.navbar li a, .navbar .navbar-brand {
    color: #fff !important;
}
.navbar-nav li a:hover, .navbar-nav li.active a {
    color: #1995dc !important;
    background-color: #fff !important;
}

.navbar-default, .navbar-toggle {
    border-color: transparent !important;
    color: #fff !important;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #fff;
}

.navbar-default .navbar-toggle .icon-bar:hover{
    color: #fff;
}

.logo-small {
    color: #1995dc;
    font-size: 50px;
}
.logo {
    color: #1995dc;
    font-size: 200px;
}

.slideanim {visibility:hidden;}

.slide {
    animation-name: slide;
    -webkit-animation-name: slide;
    animation-duration: 1s;
    -webkit-animation-duration: 1s;
    visibility: visible;
}

@keyframes slide {
    0% {
        opacity: 0;
        transform: translateY(70%);
    }
    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}
@-webkit-keyframes slide {
    0% {
        opacity: 0;
        -webkit-transform: translateY(70%);
    }
    100% {
        opacity: 1;
        -webkit-transform: translateY(0%);
    }
}

@media screen and (max-width: 768px) {
    .col-sm-4 {
        text-align: center;
        margin: 25px 0;
    }
    .btn-lg {
        width: 100%;
        margin-bottom: 35px;
    }
}
@media screen and (max-width: 480px) {
    .logo {
        font-size: 150px;
    }
}

.navbar-brand {
    cursor: pointer;
}

.bg-grey {
    background-color: #f6f6f6;
}

.jumbotron {
    background-color: #1995dc;
    color: #fff;
    padding: 100px 25px;
    font-family: Montserrat, sans-serif;
}
.jumbotron > h2 {
    color: #fff !important;
}

.thumbnail {
    background-color: #f6f6f6;
}

#all-components.thumbnail {
    width: 360px;
}

.caption {
    text-align: center;
    height: 174px;
}
.abstract {
    height: 20px;
    overflow: hidden;
}

.thumbnail img {
    width: 360px;
    height: 216px;
}

#logo img {
    width: 100px;
    height: 100px;
}

.button {
    margin-top: 30px;
}
section {
    padding: 30px 0 5px 0;
}

code {
    word-break: break-all;
}

#portfolio {
    padding-left: 20px;
    padding-right: 20px;
}
/*--------- thumbnail-expander ----------*/
.gallery-item {
    display: inline-block;
    vertical-align: top;
    transition: height 500ms ease;
}

.gallery-expander {
    position: absolute;
    left: 0;
    right: 0;
    overflow: hidden;
    max-height: 0;
    transition: max-height 500ms ease;
}

.gallery-contents { position: relative; }

.gallery-contents:after {
    display: block;
    bottom: 0px;
    left: 50%;
    margin-left: 150px;
    margin-top: -19px;
    width: 0;
    height: 0;
    content: '';
    border-left: 30px solid transparent;
    border-right: 30px solid transparent;
    border-bottom-style: solid;
    border-bottom-width: 0px;
    transition: border-bottom-width 500ms ease;
}

.gallery-item.active .gallery-contents:after { border-bottom-width: 30px; }

#all {
  position: relative;
  text-align: center;
  padding-left: 0px;
}

.gallery-item {
    margin: 22px 10px;
    padding: 10px 0;
}

.gallery-item .thumbnail {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.gallery-contents > .thumbnail {
    width: 360px;
}

.gallery-contents:after { border-bottom-color: #f6f6f6 !important; }

.gallery-expander { background: #f6f6f6 !important; }

.gallery-expander-contents {
    text-align: left;
    margin: 0 auto;
    width: 1000px;
    padding: 20px 0;
}
@media (min-width: 640px) and (max-width: 999px) {

    .gallery-expander-contents { width: 640px; }
}
/*
@media (max-width: 639px) {

    .gallery-expander-contents { width: 100%; }
}*/

.gallery-expander-contents:after {
    clear: both;
    display: table;
    content: '';
}

.gallery-expander-contents > div.col {
    float: left;
    width: 90%;
}

/*@media (min-width: 640px) and (max-width: 999px) {

    .gallery-expander-contents > div.col { width: 310px; }
}

@media (max-width: 639px) {

    .gallery-expander-contents > div.col {
        float: none;
        padding: 25px 20px 0;
        width: auto;
    }
}

.gallery-expander-contents > div.col + div.col { margin-left: 40px; }

@media (min-width: 640px) and (max-width: 999px) {

    .gallery-expander-contents > div.col + div.col { margin-left: 20px; }
}
@media (max-width: 639px) {

    .gallery-expander-contents > div.col + div.col { margin-left: 0px; }
}*/

.gallery-expander-contents div.close {
    position: absolute;
    top: 10px;
    right: 20px;
}

.caption {
    text-align: center;
}

.vertical-align {
    display: flex;
    align-items: center;
}