﻿body {
    padding-top: 20px;
    padding-bottom: 40px;
    background-color: #9c2426;
    background-image:url(../images/bg_top.jpg);
    background-position:center top;
    background-repeat:no-repeat;

}
 
.well {
    box-shadow: 0 0 10px black;
    -moz-box-shadow: 0 0 10px black;
    -webkit-box-shadow: 0 0 10px black; 
}

.well-lg{
    
    background-image:url('../images/constituition_corner_graphic.jpg');
    background-repeat:no-repeat;
    background-position:right bottom;
}

.sidebar-nav {
    padding: 9px 0;
}

.navbar {
    min-height: 40px;
    position: static;
     z-index: 1039;
}


/*.nav > li > a {
    padding-left: 20px;
    padding-right: 20px;
}*/

.navbar > li {
    z-index: 1039;
}


.navbar > li > a {
    line-height: 15px;
}

.navbar-nav {
    font-size: 10pt;
}

.navbar-inverse .navbar-text {
  color: #fff;
}
.navbar-inverse .navbar-nav > li > a {
  color: #fff;
}
.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
  color: #ffd800;
  background-color: transparent;
}

.dropdown-menu {
    font-size: 9pt;
    z-index: 1039;
}

.dropdown:hover .dropdown-menu {
    display: block;
    background-color:palegoldenrod;
}

.dropdown-menu .sub-menu {
    left: auto;
    background-color: rgba(0, 0, 0, 0.2);
    right: 100%;
    margin-left: 0;
    position: absolute;
    top: 0;
    visibility: hidden;
    margin-top: -1px;
}

.dropdown-menu li:hover .sub-menu {
    visibility: visible;
}

.dropdown-menu li:hover .sub-menu-left {
    visibility: visible;
}

@media (min-width: 1201px) {
    .nav > li > a {
    padding-left: 40px;
    padding-right: 40px;
    }
}

@media (min-width: 991px) and (max-width: 1200px) {
    .nav > li > a {
    padding-left: 25px;
    padding-right: 25px;
    }
}

@media (min-width: 768px) and (max-width: 990px) {
    .nav > li > a {
    padding-left: 9px;
    padding-right: 9px;
    }

}


@media (max-width: 767px) {
    .dropdown-menu {
        visibility: hidden;
    }
    .navbar .navbar-nav {
        overflow: hidden;
    }
   .Div1 {
        padding: 10px;
    }

}

@media (min-width: 768px) {

    .navbar-nav {
        width: 100%;
        margin: 0 auto;
        display: table;
        table-layout:auto;
        float: none;
    }
}




.nav-tabs .dropdown-menu, .nav-pills .dropdown-menu, .navbar .dropdown-menu {
    margin-top: 0;
}

.navbar .sub-menu:before {
    border-bottom: 7px solid transparent;
    border-left: none;
    border-right: 7px solid rgba(0, 0, 0, 0.2);
    border-top: 7px solid transparent;
    left: -7px;
    top: 10px;
}
.navbar .sub-menu:after {
    border-top: 6px solid transparent;
    border-left: none;
    border-right: 6px solid #fff;
    border-bottom: 6px solid transparent;
    left: 10px;
    top: 11px;
}

/* Fade transition for carousel items */
 .carousel-fade .carousel-inner > .item {
            left: 0 !important;
                -webkit-transition: opacity 1s; /*adjust timing here */
                   -moz-transition: opacity 1s;
                     -o-transition: opacity 1s;
                        transition: opacity 1s;
        }
 .carousel-fade .next.left,  .carousel-fade .prev.right {
    opacity: 1;
    z-index: 1;
}
 .carousel-fade .active.left, .carousel-fade .active.right {
    opacity: 0;
    z-index: 2;
}
.carousel-fade .carousel-control {
        background-image: none !important; /* remove background gradients on controls */
}



.well {
    border: 1px 1px 10px 10px;
    border-color: rgba(0, 0, 0, 0.4);
}

@media print{
    a[href]:after{content:""}
}

