button.position-absolute {
    right:1rem;
    top:1rem;
    z-index:1;
}
ul.position-absolute {
    right:1rem;
    z-index:1;
}

.img-responsive{
   max-width: 100%;
    display: block;
    height:auto;
}

h3{
    margin-bottom: 30px;
 }


.navbar .brand{
    margin-left:200px !important;
    margin-right:200px !important;
}

.navbar-inner{
    padding-left: 0;
    padding-right: 0;
}

nav {
    margin-left:-8px;
}
nav button{
    margin-left: -20px; 
}

.navbar-custom {
    background-color: #336600;
}

.navbar-toggler {
    color: whitesmoke;
    font-size: 27px;
}

.navbar-custom .navbar-brand,
.navbar-custom .navbar-text{
    color: whitesmoke;
}

nav a:hover{
    color: whitesmoke!important;
    background-color:#2D2C2B!important;
}

.dropdown {
    position: relative;
    display: inline-block;
     
}

 .dropdown-toggle {
  background-color: #336600;
color: whitesmoke;!important;
     padding-left:0;
     padding-right:0;
    margin-left:0px;
    margin-right:0px;     
font-size: 25px;
     font-weight: 500;
}


.dropdown-menu{
  background-color: #428000;
     font-weight: 500;
    font-size: 20px;
}

.dropdown-menu>li>a{
  color: whitesmoke;
}
body { 
    background: #2D2C2B !important;
}

.scroll {
    color: #fff;
    margin-top: 100px
}

#toTopBtn {
    position: fixed;
    bottom: 50px;
    right: 16px;
    z-index: 98;
    padding: 21px;
    background-color: #336600;
}

.js .cd-top--fade-out {
    opacity: .5
}

.js .cd-top--is-visible {
    visibility: visible;
    opacity: 1
}

.js .cd-top {
    visibility: hidden;
    opacity: 0;
    transition: opacity .3s, visibility .3s, background-color .3s
}

.cd-top {
    position: fixed;
    bottom: 20px;
    bottom: var(--cd-back-to-top-margin);
    right: 20px;
    right: var(--cd-back-to-top-margin);
    display: inline-block;
    height: 40px;
    height: var(--cd-back-to-top-size);
    width: 40px;
    width: var(--cd-back-to-top-size);
    box-shadow: 0 0 10px rgba(0, 0, 0, .05) !important;
    background: url(https://res.cloudinary.com/dxfq3iotg/image/upload/v1571057658/cd-top-arrow.svg) no-repeat center 50%;
    background-color: hsla(5, 76%, 62%, .8);
    background-color: hsla(var(--cd-color-3-h), var(--cd-color-3-s), var(--cd-color-3-l), 0.8)
}

.height {
    height: 30px
}

#gallery img {
    height: 75vw;
    object-fit: cover;
}

#BrianRileyProjects .carousel-item img {
    height: 40vw;
    object-fit: cover;
}


#AboutBrianRiley .carousel-item img {
    height: 60vw;
    object-fit: contain;
}


#AboutBrianRiley .carousel-caption {
    font-size: 15px;
    top:auto;
   bottom:30px;
}


@media (min-width:576px) {
    .carousel-item img {
        height: 350px;
    }
    #gallery img {
        height: 40vw;
    }
}

@media (min-width:992px) {
    #gallery img{
        height: 40vw;
    }
}











