/*!
 * Adapted from:
 * Start Bootstrap - Modern Business HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Global Styles */

html,
body {
    height: 100%;
}

body {
    padding-top: 50px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
    font-size: 16px;
}

h4, .h4, h5, .h5 {
    font-weight: bold;
}

h5, h6 {
    font-size: 16px;
}

h6 {
    color: #6a737d;
}

:target:before {
  content:"";
  display:block;
  height:50px; /* fixed header/navbar height*/
  margin:-50px 0 0; /* negative fixed header/navbar height */
}

.navbar-toggle {
    margin-right: 55px; /* adjusts right nav toggle margin for github corner */
}

.navbar-brand {
    padding: 15px 7px 15px 15px;  /* to properly space the navbar-byline */
}

.navbar-byline {
    float: left;
    padding: 15px 5px 15px 0px;
    font-size: 12px;
    line-height: 22.5px;
    height: 50px;
    color: #2d2d2d;
}

a.navbar-byline{
    color: #2d2d2d;
    text-decoration: none;
}

.bg-dark {
    background: #2d2d2d;
    color: #e9e9e9;
}

.jumbotron {
    height: 50%;
    margin-bottom: 0;
    /*background-image: url(/http/oaccframework.org/images/tbd.jpg);*/
    background-position: center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    background-size: cover;
    -o-background-size: cover;
}

.jumbotron .container{
    width: 80%;
}

.jumbotron h1{
    margin-top: 0px;
}

.jumbotron h3, .jumbotron p{
    /*margin-top: 0px;*/
}

.jumbotron .btn {
    box-shadow: 1px 1px 10px rgba(0,0,0,.3);

}

.call-to-action .btn {
    margin: 5px 25px auto; /* space buttons apart horizontally (and vertically, if need be) */ 
}

section {
    margin-top: 15px;
    margin-bottom: 25px;
}

aside.bg-info {
    /*background-color: #aea79f;*/ /* bootswatch_united primary */
    background-color: #978e83; /* bootswatch_united primary dark*/
    color: #ffffff;
}

aside h2 {
    margin-top: 15px; 
}

aside .lead {
    margin-bottom: 15px; 
}

h2, h3, h4, h5 {
    margin-top: 15px; 
}

/* Table Styles */

table {
    padding: 0px 10px 10px 10px;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 10px 0 20px;
}

table th,
table td {
    padding: 6px 13px;
    border: 1px solid #dadada;
}

table tr {
    background-color: #fff;
    border-top: 1px solid #ccc;
}

table tr:nth-child(2n) {
    background-color: #f8f8f8;
}

/* Media Styles */

.media{
    margin-bottom: 30px;
}

.media.tight-bottom{
    margin-bottom: 0px;
}

/* Panel Styles */

.panel-default>.bg-primary {
    background-color: #dd4814;
    color: #ffffff;
}

.panel-group.parent-panel > .panel {
    margin-top: 0px;
    border: 0px;
}

/* Definition-list Styles*/

dd {
    font-size: 0.9em;
    margin: 2px 0 16px 35px;
}

/* Timeline Styles */

.timeline {
    list-style: none;
    padding: 20px 0 20px;
    position: relative;
}

.timeline:before {
    top: 0;
    bottom: 0;
    position: absolute;
    content: " ";
    width: 3px;
    background-color: #eeeeee;
    left: 50%;
    margin-left: -1.5px;
}

.timeline > li {
    margin-bottom: 20px;
    position: relative;
}

.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}

.timeline > li:after {
    clear: both;
}

.timeline > li:before,
.timeline > li:after {
    content: " ";
    display: table;
}

.timeline > li:after {
    clear: both;
}

.timeline > li > .timeline-panel {
    width: 46%;
    float: left;
    border: 1px solid #d4d4d4;
    border-radius: 2px;
    padding: 8px 8px 10px;
    position: relative;
    -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.175);
}

.timeline > li > .timeline-panel:before {
    position: absolute;
    top: 26px;
    right: -15px;
    display: inline-block;
    border-top: 15px solid transparent;
    border-left: 15px solid #ccc;
    border-right: 0 solid #ccc;
    border-bottom: 15px solid transparent;
    content: " ";
}

.timeline > li > .timeline-panel:after {
    position: absolute;
    top: 27px;
    right: -14px;
    display: inline-block;
    border-top: 14px solid transparent;
    border-left: 14px solid #fff;
    border-right: 0 solid #fff;
    border-bottom: 14px solid transparent;
    content: " ";
}

.timeline > li > .timeline-badge {
    color: #fff;
    width: 50px;
    height: 50px;
    line-height: 50px;
    font-size: 1.8em;
    text-align: center;
    position: absolute;
    top: 16px;
    left: 50%;
    margin-left: -25px;
    /*background-color: #999999;*/
    z-index: 100;
    border-top-right-radius: 50%;
    border-top-left-radius: 50%;
    border-bottom-right-radius: 50%;
    border-bottom-left-radius: 50%;
}

.timeline > li:nth-of-type(even) > .timeline-panel {
    float: right;
}

.timeline > li:nth-of-type(even) > .timeline-panel:before {
    border-left-width: 0;
    border-right-width: 15px;
    left: -15px;
    right: auto;
}

.timeline > li:nth-of-type(even) > .timeline-panel:after {
    border-left-width: 0;
    border-right-width: 14px;
    left: -14px;
    right: auto;
}

.timeline-badge.bg-success {
    background-color: #978e83; /* bootswatch_united primary dark*/
    /*background-color: #aea79f;*/ /* bootswatch_united primary*/
    /*background-color: #2d2d2d !important;*/
}

.timeline-badge.primary {
    background-color: #2e6da4 !important;
}

.timeline-badge.success {
    background-color: #3f903f !important;
}

.timeline-badge.warning {
    background-color: #f0ad4e !important;
}

.timeline-badge.danger {
    background-color: #d9534f !important;
}

.timeline-badge.info {
    background-color: #5bc0de !important;
}

.timeline-title {
    margin-top: 0;
    color: inherit;
}

.timeline-heading > p {
    margin-bottom: 5px;
}

.timeline-body > p,
.timeline-body > ul {
    margin-bottom: 0;
}

.timeline-body > p + p {
    margin-top: 5px;
}

@media (max-width: 767px) {
    ul.timeline:before {
        left: 40px;
    }

    ul.timeline > li > .timeline-panel {
        width: calc(100% - 90px);
        width: -moz-calc(100% - 90px);
        width: -webkit-calc(100% - 90px);
    }

    ul.timeline > li > .timeline-badge {
        left: 15px;
        margin-left: 0;
        top: 16px;
    }

    ul.timeline > li > .timeline-panel {
        float: right;
    }

        ul.timeline > li > .timeline-panel:before {
            border-left-width: 0;
            border-right-width: 15px;
            left: -15px;
            right: auto;
        }

        ul.timeline > li > .timeline-panel:after {
            border-left-width: 0;
            border-right-width: 14px;
            left: -14px;
            right: auto;
        }
}

/* iFrame Styles */

iframe.test-coverage-report {
    width: 100%;
    height: 500px;
    border: none;
    margin: 0;
}


/* Footer Styles */

footer {
    margin: 20px 0px 0px;
    background: #2d2d2d;
    color: #e9e9e9;
    text-align: center;
    padding: 35px 50px 10px;
}

footer .call-to-action {
    padding: 0 0 20px;
}

footer p.lead {
    font-size: 16px;
    border-bottom: 1px solid #444;
    padding-bottom: 5px;
    margin-top: 10px;
    margin-bottom: 0;
}

footer ul {
    list-style: none;
    padding: 0px 0px 20px 0px;
    margin: 10px 0 0;
    color: #777;
}

footer a {
    color: #777;
}

#footer-copyright {
    font-size: 14px;
    padding: 20px 0 0;
    border-top: 1px solid #444;
}

#footer-copyright p {
    color: #777;
}

/* GitHub-corner Styles*/

.github-corner svg {
    fill: #fff;
    color: #dd4814;
    position: absolute;
    top: 0;
    border: 0;
    right: 0;
}

.github-corner:hover .octo-arm {
    animation: octocat-wave 560ms ease-in-out
}

@keyframes octocat-wave {
    0%, 100% {
        transform: rotate(0)
    }
    20%, 60% {
        transform: rotate(-25deg)
    }
    40%, 80% {
        transform: rotate(10deg)
    }
}

@media (max-width:500px) {
    .github-corner:hover .octo-arm {
        animation: none
    }

    .github-corner .octo-arm {
        animation: octocat-wave 560ms ease-in-out
    }
}

/* Responsive Styles */

@media(max-width:991px) {
    .customer-img,
    .img-related {
        margin-bottom: 30px;
    }
}

@media(max-width:767px) {
    .img-portfolio {
        margin-bottom: 15px;
    }

    header.carousel .carousel {
        height: 70%;
    }
}

@media(min-width: 768px) {
    .navbar-right {
        margin-right: 20px; /* adjusts right nav menu margin for github corner */
    }

    .jumbotron {
        padding-top: 40px;
        padding-bottom: 40px;
    }
}