/* **** General **** */
body {
    padding-top: 40px;
}

.right-border {
    border-right: 1px solid #eee;
}

.next-header {
    margin-top: 60px;
}

.col-lg-6 {
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    padding-top: 20px;
}

.hideen-sm-inline {
    display: inline !important;
}

a:hover {
    text-decoration: none;
}

.page-header > h3 {
    padding-top: 80px;
    margin-top: -80px;
}

/* ******** Navbar color ******** */
.navbar-inverse {
    background-color: #447b3a;
}

.navbar-inverse .navbar-brand {
    color: white;
}

.navbar-inverse .navbar-toggle {
    border: none;
    color: #447b3a;
}

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

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

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

/* ******** News ******** */
.news .article {
    min-height: 105px;
}

.news .article:nth-child(even) {
    border-right-style: none;
}

.news .title {
    display: block;
    font-weight: bold;
    font-size: 18px;
    padding-bottom: 5px;
    color: #333;
}

.news .title a {
    color: #333;
}

.news .pub-date {
    display: block;
    padding-bottom: 10px;
}

.news .pub-date {
    color: #b3b3b1;
}

.news .pub-date a:hover {
    text-decoration: underline;
}

.news .post-description {
    font-size: 85%;
    color: #333332;
    word-break: break-word;
    margin-bottom: 0;
}

a.article:hover {
    color: #428bca;
}

.new {
    background-color: #F2F7F9;
}

small.pub-date {
    font-style: italic;
}

img.user {
    display: block;
    float: right;
    border-radius: 100%;
    width: 50px;
    height: 50px;
}

div.article-left {
    display: inline;
    float: left;
    max-width: 350px;
}

/* Calendar + Absences General */
#absences li {
    display: block;
    position: relative;
}

#absences .col-lg-6/*, #calendar .co-lg-6*/ {
    padding: 10px;
}

#absences .col-lg-6:nth-child(even) {
    border-right-style: none;
}


/* Absences */

#absences {
    padding: 0;
    margin-bottom: 30px;
}

#absences li span.day {
    display: block;
    float: left;
    position: absolute;
    top: 0;
    bottom: 0;
    font-size: 40px;
    font-weight: 300;
    color: #333333;
    line-height: 40px;
    padding: 10px;
}

#absences li span.month {
    display: block;
    font-weight: bold;
    text-transform: uppercase;
    padding: 8px 10px 0 160px;
    font-size: 13px;
    color: #222222;
    text-align: right;
}

#absences li span.title {
    display: block;
    font-size: 14px;
    line-height: 18px;
    padding: 0 10px 10px 160px;
    font-weight: normal;
    color: #222222;
    text-align: right;
}

/* Countdown */

#countdown {
    display: block;
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

#countdown div.number {
    display: inline-block;
    width: 63px;
}

#countdown div.number span.number {
    display: block;
    text-align: center;
    font-size: 40px;
    font-weight: bold;
}

#countdown div.number span.title {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: #333333;
    text-align: center;
}

/* ******** Kantin ******** */
.panel-group .panel-body h4 {
    font-weight: bold;
}

/* ******** Fotoen ******** */
.pics .thumbnail {
    display: inline-block;
    float: left;
    height: 140px;
    width: 140px;
}

.pics .description {
    float: left;
    margin-left: 20px;
    margin-top: 35px;
    text-decoration: none;
}

.pics .row .right-border:nth-child(even) {
    border-right-style: none;
}

.description .gallery-title {
    display: block;
    font-weight: bold;
    margin-bottom: 0;
    font-size: 18px;
    margin-top: 10px;
}

.description .gallery-description {
    display: block;
    font-size: 85%;
}

/* ******** About **** */
img.image {
    display: block;
    max-width: 741px;
    max-height: 291px;
    margin-left: auto;
    margin-right: auto;
}

footer {
    margin-bottom: 20px;
}

/* Tablets and phone adjustments */

@media screen and (max-width: 480px) {
    body {
        padding-top: 60px;
        padding-bottom: 42px;
    }

    .container {
        margin-left: 20px;
        margin-right: 20px;
    }
    .right-border {
        border-right: none;
    }
    .accordion-toggle {
        font-size: 18px;
    }
    #countdown {
        display:block;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }
    .hidden-sm-inline {
        display: none !important;
    }
    .pics .thumbnail {
        height: 100px;
        width: 100px;
    }
    .pics .description {
        float: left;
        margin-left: 10px;
        margin-top: 20px;
        text-decoration: none;
    }

    #countdown div.number {
	width: 55px;
	text-align: center;
    }

    #countdown div.number span.number {
	font-size: 35px;
    }
    
    #countdown div.number span.title {
	font-size: 10px;
    }
    
    footer {
	margin-bottom: 5px;
    }

}

@media screen and (max-width: 768px) {
    body {
        padding-top: 60px;
        padding-bottom: 42px;
    }

    .container {
        margin-left: 20px;
        margin-right: 20px;
    }

    .right-border {
        border-right: none;
    }
    .accordion-toggle {
        font-size: 18px;
    }
    #countdown {
        display:block;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
	margin-top: 0;
	margin-bottom: 0;
        text-align: center;
    }
    .hidden-sm-inline {
        display: none !important;
    }

    .pics .thumbnail {
        height: 100px;
        width: 100px;
    }
    .pics .description {
        float: left;
        margin-left: 10px;
        margin-top: 20px;
        text-decoration: none;
    }

    #countdown div.number {
	width: 55px;
	text-align: center;
    }

    #countdown div.number span.number {
	font-size: 35px;
    }
    
    #countdown div.number span.title {
	font-size: 10px;
    }
    
    footer {
	margin-bottom: 5px;
    }
}
