html,
body {
    height: 100%;
    width: 100%;
}

body {
    /*-webkit-font-smoothing: antialiased;*/
    /*-moz-osx-font-smoothing: grayscale;*/
    font-family: -apple-system,BlinkMacSystemFont,Helvetica Neue,PingFang SC,Microsoft YaHei,Source Han Sans SC,Noto Sans CJK SC,WenQuanYi Micro Hei,sans-serif;
    font-size: 15px;
}

a {
    -webkit-transition: all 0.35s;
    -moz-transition: all 0.35s;
    transition: all 0.35s;
    color: rgba(134, 142, 150, 1.0);
    text-decoration: none;
}

a:hover,
a:focus {
    color: rgba(134, 142, 150, 1.0);
    text-decoration: none;
}

hr {
    max-width: 100px;
    margin: 25px auto 0;
    border-width: 1px;
    border-color: rgba(34, 34, 34, 0.1);
}

hr.light {
    border-color: white;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: #121212;
    font-weight: 600;
    letter-spacing: 1px;
    font-size: 15px;
}

p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
}
.navbar-fixed-container {
    height: 50px;
    background: rgba(246, 246, 246, 1.0);
}

.navbar-default {
    font-weight: 15px;
    letter-spacing: 1px;
}

.navbar-default .navbar-header .navbar-brand {
    font-weight: 200;
    letter-spacing: 1px;
    color: rgba(18, 18, 18, 1.0);
}

.navbar-default .navbar-header .navbar-brand:hover,
.navbar-default .navbar-header .navbar-brand:focus {
    color: rgba(18, 18, 18, 1.0);
}

.navbar-default .navbar-header .navbar-toggle {
    font-size: 12px;
    color: rgba(18, 18, 18, 1.0);
    padding: 8px 10px;
}

.navbar-default .nav > li > a {
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 14px;
    color: rgba(133, 144, 166, 1.0);
}

.navbar-default .nav > li > a:hover,
.navbar-default .nav > li > a:focus:hover {
    color: rgba(18, 18, 18, 1.0);
}

.navbar-default .nav > li.active > a,
.navbar-default .nav > li.active > a:focus {
    color: rgba(18, 18, 18, 1.0) !important;
    background-color: transparent;
}

.navbar-default .nav > li.active > a:hover,
.navbar-default .nav > li.active > a:focus:hover {
    background-color: transparent;
}

#mainbody {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 111px);
    padding: 10px 0;
    /*overflow-y: hidden;*/
    background: rgba(246, 246, 246, 1.0);
    color: rgba(18, 18, 18, 1.0);
    /*height: calc(100vh - 61px);*/
}

#mainbody .index-text {
    text-align: center;
    padding: 250px 0 50px;
    position: relative;
    height: 100vh;
}

#mainbody .index-text h1 {
    font-size: 50px;
    font-weight: bold;
    color: #171347
}

#mainbody .index-gallery {
    text-align: center;
    padding: 200px 0 50px;
    position: relative;
}

@media (max-height: 500px) {
    #mainbody {
        height: inherit;
    }
}

@media (min-width: 768px) {
    .navbar-default {
        background-color: rgba(255, 255, 255, 1.0);
        border-color: rgba(232, 232, 232, 1.0);
    }

    #mainbody .index-text {
        text-align: left;
    }
}

@media (max-width: 767px) {

    .navbar-default {
        background-color: rgba(255, 255, 255, 1.0);
        border-color: rgba(232, 232, 232, 1.0);
    }

    .navbar-default .navbar-collapse {
        background: rgba(255, 255, 255, 1.0);
        box-shadow: 5px 9px 5px rgba(0, 0, 0, 0.07);
    }

    #mainbody {
        height: unset;
    }

    #mainbody .index-text {
        padding: 130px 0 0 0;
        height: calc(100vh - 261px);
    }

    #mainbody .index-gallery {
        padding: 30px 0 50px 0;
    }

    #mainbody .index-text h1 {
        font-size: 50px;
        margin-bottom: 20px;
    }
}
.navbar-form .form-control {
    border-radius: 300px;
    -webkit-box-shadow: unset; 
    box-shadow: unset; 
}
.navbar-form .btn {
    border-left: none;
}
.navbar-form .btn:focus {
    outline: 0;
    background-color: #fff;
}
.artile-box {
    padding-top: 10px;
    padding-bottom: 10px;
    border-radius: 2px;
    -webkit-box-shadow: 0 1px 3px rgba(18,18,18,.1);
    box-shadow: 0 1px 3px rgba(18,18,18,.1);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}
.media {
    padding-bottom: 10px;
    border-bottom: 1px solid #f6f6f6;
}
.media-heading.primary {
    color: #337ab7;
}
.media-heading.success {
    color: #5cb85c;
}
.media-heading.info {
    color: #5bc0de;
}
.media-heading.warning {
    color: #f0ad4e;
}
.media-heading.danger {
    color: #d9534f;
}
.layer-photos img{
    max-width: 100%;
}
.media-object {
    width: 38px;
    height: 38px;
    border-radius: 50%;
}
.media-title {
    display: flex;
    align-items: flex-start;
}
.label {
    border-radius: 12px;
    display: inline-block;
    margin-left: 5px;
}
.label-color-1 {
    background-color: #525564;
}
.label-color-2 {
    background-color: #D25565;
}
.label-color-3 {
    background-color: #2E94B9;
}
.label-color-4 {
    background-color: #F0B775;
}
.label-color-5 {
    background-color: #F54EA2;
}
.label-color-6 {
    background-color: #5BE7C4;
}
.label-color-7 {
    background-color: #2E94B9;
}
.label-color-8 {
    background-color: #F0B775;
}
.label-color-9 {
    background-color: #525564;
}
.media-author {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    font-size: 14px;
    color: #8590a6;
}
.media-author .badge {
    background: #bec2cd;
    padding: 3px 10px;
    border-radius: 12px;
}
.media a:hover{
    text-decoration: underline;
}
.center-block {
    display: flex;
    justify-content: center;
}
.right-block {
    display: flex;
    justify-content: flex-end;
}
.card-box {
    padding: 10px 0;
    border-radius: 2px;
    -webkit-box-shadow: 0 1px 3px rgba(18,18,18,.1);
    box-shadow: 0 1px 3px rgba(18,18,18,.1);
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    
}
.card-header {
    color: #454d55;
    font-size: 14px;
    border-bottom: 1px solid rgba(178, 186, 194, .15);
    display: flex;
    align-items: center;
    padding: 0 15px 10px 15px;
}
.text-bold {
    font-weight: bold;
}
.card-header .data {
    box-sizing: border-box;
    margin: 0;
    min-width: 0;
    background-color: #0066FF;
    width: 4px;
    height: 15px;
    border-radius: 2px;
    margin-right: .3em;
}
.card-body {
    padding: 10px 15px;
}
.card-body-title {
    color: #868e96;
}
.card-body-title .num {
    color: #212529;
    font-weight: bolder;
}
footer {
    background-color: rgba(52, 58, 64, 1.0);
    padding: 20px 0;
    color: rgba(134, 142, 150, 1.0);
    text-align: center;
}

footer p {
    font-size: 14px;
    margin: 0;
}
footer.footer .copyright a:hover {
    color: #fff;
}

.bg-primary {
    background: #fdcc52;
    background: -webkit-linear-gradient(#fdcc52, #fdc539);
    background: linear-gradient(#fdcc52, #fdc539);
}

.bg-white {
    background: #ffffff;
    background: -webkit-linear-gradient(#ffffff, #ffffff);
    background: linear-gradient(#ffffff, #ffffff);
}
.btn {
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 300px;
}

.btn-xl {
    margin-top: 20px;
    padding: 10px 45px;
    font-size: 14px;
}
.author-img {
  width: 48px;
  height: 48px;
  border-radius: 4px;
}
.flex {
  display: flex;
}
.align-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}
.author a {
  color: #778087;
}
.author a:hover {
  color: #4d5256;
  text-decoration: underline;
}
.pr-0 {
    padding-right: 0;
}
.pl-0 {
    padding-left: 0;
}
.pt-2 {
    padding-top: 10px;
}
.mt-2 {
    margin-top: 10px;
}
.mb-2 {
    margin-bottom: 10px;
}
.links:hover {
    text-decoration: underline;
}
blockquote {
  margin: 0 0 10px 0;
  font-size: 14px;
  background: #eee;
  border-left: 5px solid #ccc;
  background-image: url(../img/quote.png);
  background-repeat: no-repeat;
  background-position: top right;
}