* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background: #fff;
    font-family: 'Open Sans', sans-serif;
}

.navbar {
    margin-bottom: 0;
}

.navbar-org {
    background-color: #b91137;
    border-color: #880d29;
    padding: 0
}

.navbar-org .navbar-nav > li > a {
    color: #fff;
}

.navbar-org .navbar-nav > li > a:hover {
    color: #fff;
    background-color: transparent;
    border-bottom: solid 2px #fff;
}

.navbar-header {
    float: right;
}

.navbar-header .navbar-brand {
    color: #fff;
}

.navbar-inverse {
    background-color: #ce6e64;
    border-color: #b91137;
}

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

.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
    background-color: #b91137;
}

.navbar-nav > li.dropdown-split-right > a {
    padding-left: 7px;
}

.navbar-nav > li.dropdown-split-left > a {
    padding-right: 0px;
}

.navbar-inverse .navbar-nav > .open > a,
.navbar-inverse .navbar-nav > .open > a:hover,
.navbar-inverse .navbar-nav > .open > a:focus {
    background-color: #b91137;
    color: #fff;
}

.brand h1 {
    font-family: 'Roboto Slab', serif;
    text-shadow: 4px 3px 0 #f3c4be, 9px 8px 0 rgba(0, 0, 0, 0.15);
    letter-spacing: -2px;
    line-height: 1;
    margin: 7px 0 15px;
    font-size: 60px;
    color: #b91137;
    
        
}
h2{
    padding: 30px 0;
}
h2,
h3,
h4 {
    font-family: 'Roboto Slab', serif;
    color: #b91137;
}

.jumbotron {
    background-color: #fff;
    margin-bottom: 0;
    padding: 0px 0 0px;
}
.content-blog p, .content-blog li{
    line-height: 2;
    padding-bottom: 15px;
}
.brand p {
    font-size: 32px;
    margin: 20px 0;
    color: #9f4c48;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.15);
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 22px;
    line-height: 1.3;
    font-weight: 400;
    font-family: 'Mate SC', serif;
}

#carousel-example-generic {}

.carousel-inner,
.carousel-inner .item,
.carousel-inner .item div,
.carousel-inner .item img {
    width: 100%;
}

.carousel-inner .item img {
    /*    padding: 20px*/
}

.carousel-indicators {
    bottom: 8px;
    position: absolute;
}

.carousel-control.right {
    background: none;
}

.carousel-control.left {
    background: none;
}

.content p {
    line-height: 25px;
    line-height: 35px;
}

.welcome p {
    font-size: 20px;
    line-height: 30px;
}

.register {
    font-family: 'Mate SC', serif;
    font-size: 18px;
}

.articles {
    display: table;
}

.article {
    display: table-row;
}

.article-col {
    display: table-cell;
    vertical-align: top;
}

.article-thumb {
    max-width: 64px;
}

.article-details {
    padding-left: 10px;
    padding-bottom: 20px;
}

.article-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-bottom: 0!important;
}

.article-snippet {
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    text-align: left !important;
}

.article-auth {
    color: #333;
    font-size: 12px;
    margin: 0;
    padding: 0;
}

.article-dt {
    font-style: italic;
    color: #666;
    font-size: 10px;
    margin: 0;
    padding: 0;
}

.article-link {
    color: #1b926c;
    text-decoration: underline;
    margin: 0;
    padding: 0;
}

.footer {
    background-color: #f3c4be;
    margin-right: 0;
    margin-left: 0;
    padding: 40px 0 40px;
}

#logo {
    display: block;
    margin: 10 0;
    max-height: 150px;
}

.footer i {
    color: #9f4c48;
}

#reg_form {
    border: solid 1px;
    color: #666;
    margin-top: 30px;
    margin-bottom: 30px;
}

.actions {
    position: absolute;
    left: 50%;
    margin-left: -187px;
    bottom: 10px;
    font-weight: 700;
}

.actions a {
    background: rgba(5, 56, 190, 0.7) !important;
    color: #fff;
    font-weight: 700;

}

.actions a:hover {
    background: rgba(5, 56, 190, 1.0) !important;
    color: #fff;


}

.navbar {
    border-radius: 0;
}

.main-menu-btn {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 28px;
  text-indent: 28px;
  white-space: nowrap;
  overflow: hidden;
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0,0,0,0);
}
/* hamburger icon */
.main-menu-btn-icon, .main-menu-btn-icon:before, .main-menu-btn-icon:after {
  position: absolute;
  top: 50%;
  right: 5px;
  height: 2px;
  width: 24px;
  background: #bbb;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}
.main-menu-btn-icon:before {
  content: '';
  top: -7px;
  right: 0;
}
.main-menu-btn-icon:after {
  content: '';
  top: 7px;
  right: 0;
}
/* x icon */
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon {
  height: 0;
  background: transparent;
}
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:before {
  top: 0;
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
#main-menu-state:checked ~ .main-menu-btn .main-menu-btn-icon:after {
  top: 0;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
/* hide menu state checkbox (keep it visible to screen readers) */
#main-menu-state {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  overflow: hidden;
  clip: rect(1px,1px,1px,1px);
}
/* hide the menu in mobile view */
#main-menu-state:not(:checked) ~ #main-menu {
  display: none;
}
#main-menu-state:checked ~ #main-menu {
  display: block;
}
@media (min-width: 768px) {
  /* hide the button in desktop view */
  .main-menu-btn {
    position: absolute;
    top: -99999px;
  }
  /* always show the menu in desktop view */
  #main-menu-state:not(:checked) ~ #main-menu {
    display: block;
  }
}

.media a  img {
        width:150px;
    }
#name{
    width: calc(100% - 100px);
    float: left;
}
#logo{
        width:100px;
        float: left;
    }
.carousel-inner .item img,  .thumbnail>img, .media a img{
    -webkit-filter: grayscale(100%);
}
.media-left a{
    max-height: 200px;
    display: block;
    overflow: hidden;
}
@media (min-width: 768px) {
    #main-menu > li {
        float: none;
        display: table-cell;
        width: 1%;
        text-align: center;
    }
    .brand h1 {
        
        float: left;
        padding-right: 20px;
        
       
        padding-left: 20px;
    }
    .brand p {
        border-left: solid 1px gray;
        font-size: 42px;
        line-height: 35px;
        margin-top: 29px;
        padding-left: 20px;
        width: calc(100% - 417px);
            float:left;
    }
    .media a  img {
        width:200px;
    }
    #logo{
        width: 100px;
        padding-top: 10px;
    }
}
