﻿body {
    padding-top: 0;
    /* background: rgb(41, 17, 41); */
    background: white;
    min-width:320px
}

.body-shadow {
    /* -webkit-box-shadow: 0px 0px 60px 60px rgba(255,255,255,1); */
    /* -moz-box-shadow: 0px 0px 60px 60px rgba(255,255,255,1); */
    /* box-shadow: 0px 0px 30px 3px rgba(246,246,246,0.5); */
}

.body-content {
    padding-left: 15px;
    padding-right: 15px;
    /* margin-top: 8rem !important; */
    padding-top: 8rem;
    /* background: #f6f6f6; */
    background: rgba(255, 255, 255, 1);
}

.card a { color: #444; }

.card-img-top {
    -moz-box-shadow: 0 4px 6px -6px gray;
    -webkit-box-shadow: 0 4px 6px -6px gray;
    box-shadow: 0 4px 6px -6px gray;
    padding: 5px;
    height: 250px;
}

.icon-list i{
    font-size: 1.5rem;
    color: whitesmoke;
}

.navbar {
    margin-bottom: 30px;
}

hr { padding-top: 15px; }

#contactList a {
    color: white;
}

.display-5 {
    font-size: 2rem;
    font-weight: 300;
    line-height: 1.2;
}

@media screen and (max-width: 299px) {
    .main-jumbotron .jumbotron { padding-top: 10vh; }

    .main-jumbotron .full-width {
        min-height: 45vh;
    }
}
@media screen and (min-width: 300px) and (max-width: 417px) {
    .main-jumbotron .jumbotron {
        padding-top: 17vh;
    }

    .main-jumbotron .full-width {
        min-height: 60vh;
    }
}

@media screen and (min-width: 418px) and (max-width: 598px) {
    .main-jumbotron .jumbotron {
        padding-top: 15vh;
    }

    .main-jumbotron .full-width {
        min-height: 60vh;
    }
}

@media screen and (min-width: 599px) and (max-width: 767px) {
    .main-jumbotron .jumbotron {
        padding-top: 20vh;
    }

    .main-jumbotron .full-width {
        min-height: 60vh;
    }
}

@media screen and (min-width: 768px) {
    .main-jumbotron .jumbotron {
        padding-top: 30vh;
    }

    .main-jumbotron .full-width {
        min-height: 80vh;
    }
}

.card {
    max-height: 50rem;
    max-width: 40rem;
    min-width: 20rem;
}

@media screen and (max-width: 575px) {
    .card {
        margin-top: 15px !important;
        min-width: 10rem;
    }
    .card-img-top {
        height: 100%
    }
}

@media screen and (min-width: 576px) and (max-width: 767px) {
    .card {
        max-height: 60rem;
    }
    .card-img-top {
        height: 100%;
        max-height: 350px;
    }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
    .card, .card * { 
        max-width: 25rem;     
    }

}

@media screen and (min-width: 992px) and (max-width: 1199px) {
    .card, .card * { max-width: 30rem; }

    .card-img-top {
        height: 325px;
    }
}

@media screen and (min-width: 1200px) {
    .card, .card * { max-width: 30rem; }
}

.red { color: red; }


.list-group {
    float: left;
    margin: 0 auto;
    padding-top: 20px;
}

.list-group-item {
    color: #333;
    font-weight: bold;
}

.post-text-row {
     padding: 20px 15px 5px;
}

.post-text-row p ul {
    width: 100% !important;
}

.fill {
    height: 100%;
    min-height: 100%;
}

.parent { width: 240px; }

.img {
    display: block;
    height: auto;
    width: 100%;
}

.post {
    min-height: 15rem;
    padding: 15px;
}

.post-content { position: relative; }

.how-section1 {
    padding: 0 10%;
}

.how-section1 a { color: #555555 }

.how-section1 h4 {
    color: #555;
    font-size: 30px;
    font-weight: bold;
}

.how-section1 .subheading {
    color: #3931af;
    font-size: 20px;
}

.how-section1 hr { margin: 3rem 0; }

.how-img {
    padding-bottom: 15px;
    text-align: center;
}

.how-img img { width: 80%; }

.fill {
    height: 100%;
    min-height: 100%;
}

.parent { width: 240px; }

.main-jumbotron {
    background-attachment: scroll;
    background-image: url('../images/lead-background.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}



.jumbotron { background-color: transparent; }

.lead-shadow-gradient { background: radial-gradient(closest-side, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.20), rgba(0, 0, 0, 0)); }

.lead-back-shadow-gradient { background: radial-gradient(closest-side, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.1)); }


.full-width {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    margin-top: -56px;
}


#mainNav {
    -moz-transition: padding-top 0.5s, padding-bottom 0.5s, background-color 0.5s;
    -webkit-transition: padding-top 0.5s, padding-bottom 0.5s, background-color 0.5s;
    background: linear-gradient(to top, rgba(255, 0, 0, 0), rgba(0, 0, 0, 0.5));
    border: none;
    font-weight: 500;
    padding-bottom: 1.3rem;
    transition: padding-top 0.5s, padding-bottom 0.5s, background-color 0.5s;
    z-index: 9;
}

#mainNav .navbar-brand {
    -moz-transition: all 0.5s;
    -webkit-transition: all 0.5s;
    color: white;
    font-size: 1.75em;
    transition: all 0.5s;
}

#mainNav .navbar-nav .nav-item .nav-link {
    color: white;
    padding: 1.1em 1em !important;
}

#mainNav.navbar-shrink {
    /* background-color: rgba(0, 0, 0, 0.2);  */
    padding-bottom: 0;
    padding-top: 0;
}

#mainNav.navbar-shrink .navbar-brand {
    color: azure;
    font-size: 1.25em;
    padding: 12px 0;
}

#mainNav .transition-helper {
    -moz-transition: opacity 0.5s linear;
    -o-transition: opacity 0.5s linear;
    -webkit-transition: opacity 0.5s linear;
    background: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.9));
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    transition: opacity 0.5s linear;
    width: 100%;
    z-index: -1;
}

#mainNav.navbar-shrink .transition-helper { opacity: 1; }

.nav-open {
    padding-bottom: 50px !important;
}

#mainNav.nav-open .transition-helper {
    background: -moz-linear-gradient(top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.8) 80%, rgba(0,0,0,0.55) 90%, rgba(0,0,0,0) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(0,0,0,0.9) 0%,rgba(0,0,0,0.8) 80%,rgba(0,0,0,0.55) 90%,rgba(0,0,0,0) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(0,0,0,0.9) 0%,rgba(0,0,0,0.8) 80%,rgba(0,0,0,0.55) 90%,rgba(0,0,0,0) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e6000000', endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
    opacity: 1;

}

.sceditor-toolbar {
    background: white !important;
}

.sceditor-container {
    border: 1px solid #dcdcdc !important;
}

.span-ellipsis {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: inline-block;
    width: 100%;
}

.proj-thumb-full {
    width: 100%;
    float: right;
}

.post-text-row *{
    max-width: 100%;
}