/*
 * Colors
 * #2f3b40
 * #5c6f73
 * #bfd6bc
 * #d9d9d7
 * #f5f5f2
 */

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}
body {
    margin-bottom: 70px;
    padding-top: 70px;
}
.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 70px;
    background-color: #2f3b40;
}

/* Navbar */
.navbar-brand {
    padding: 0;
}
.navbar-brand .logo {
    width: 40px;
    height: 40px;
    margin: 5px 20px 0;
}

/* sidebar */
aside {
    color: #f5f5f2 ;
    /*padding-top: 520px;*/
    position: relative;
}
aside .logo  {
    margin-top: 10px;
}

aside .fixed {
    position: fixed;
    top: 70px;
    width: 280px;
    margin-top: 0;
    z-index: 10;
}

aside .fixed p {
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphens: manual;
}


.fixed h1 {
    margin-top: 115px;
}

aside h1 {
    font-size: 1.8em;
}

aside .btn-link {
    color: #f5f5f2;
}

aside > div {
    width: 250px;
    border: 1px solid #5C6F73;
    background-color: #5c6f73;
    border-radius: 4px;
    margin-bottom: 1em;
    padding: 15px;
}

/* Course list on courses page */
.well, .thumbnail {
    border: 1px solid #5C6F73;
    background-color: #F5F5F2;
}
.well h1 {
    margin: 10px 0;
}

.filter > p,
.filter > div {
    padding-left: 0;
}

#courses-list .well {
    border-bottom: 0;
    border-radius: 0;
    margin: 0;
}
#courses-list .well:first-of-type{
    -webkit-border-radius: 10px 10px 0 0;
    -moz-border-radius: 10px 10px 0 0;
    border-radius: 10px 10px 0 0;
}
#courses-list .well:first-of-type p {
    margin-bottom: 10px;
    line-height: 30px;
}
#courses-list .well:last-of-type{
    -webkit-border-radius: 0 0 10px 10px;
    -moz-border-radius: 0 0 10px 10px;
    border-radius: 0 0 10px 10px;
    border-bottom: 1px solid #5C6F73;
    margin-bottom: 20px;
}

/* Style filter on curse sort menu */
.dropdown-menu {
    left: inherit;
}

/* Home page */
/* thumbnile school list */

.thumbnail.school h3 {
    font-size: 1.4em;
}
.thumbnail.school img {
    max-height: 150px;
}

.school-list h1 {
    font-size: 2.2em;
}

.school-list h2 {
    font-size: 1.6em;
}
.school-item h1 {
    font-size: 1.5em;
}

/* Footer element styling */

/* Hide email and phone  address spam-bot */
span.hidden-mail {
    unicode-bidi: bidi-override;
    direction: rtl;
}
footer {
    padding-top: 3px;
    color: #d9d9d7;
}
footer p {
    padding: 3px 0;
    margin-bottom: 0;
}
footer a {
    color: #d9d9d7;
}
footer a:hover {
    color: #5c6f73;
}

footer .copy-right {
    padding-top: 42px;
}

/* Styled elements */

hr.aside {
    border: 0;
    height: 2px;
    background-color: #f5f5f2;
    width: 99.5%;
}
hr.styled {
    border: 0;
    height: 2px;
    background-color: #5c6f73;
    width: 99.5%;
}

.slogan {
    font-size: 1.8em;
    text-align: center;
    margin-bottom: 20px;
}

.action {
    text-align: right;
}

/* Modal Window for certificate width */
@media (min-width: 768px) {
    .modal-dialog {
        width: 800px;
    }
}
@media (max-width: 768px) {
    .action {
        text-align: center;
    }
}
@media (max-width: 320px) {
    .action a:first-child {
        margin-bottom: 10px;
    }
}
.modal-body .form-group:after {
    content: '';
    clear: both;
    display: block;
}

.contact--header, .contact--header a {
    color: #ced7db;
    margin-top: 5px;
}

.msg--warning {
    padding: 10px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.justify {
    text-align: justify;
}

.school.no-border {
    border: none;
}