/* old queries
 screens between 1024px - 1140pxwide
@media screen and (max-width: 1200px) {
}

 screens between 768px - 1023px wide
@media screen and (max-width: 1023px) {
}

 screens between 481px - 767px wide 
@media screen and (max-width: 767px) {
}
    
 screens between 0 - 480px wide 
@media screen and (max-width: 480px) {
}
*/

/* Extra small devices (portrait phones, less than 576px) */
/* No media query for `xs` since this is the default in Bootstrap */
@media (min-width: 0px) {
    
    .img-fluid {
        max-width: 100%;
    }
    .carousel-indicators {
        top: 83%;
    }
    .carousel-indicators li {
        margin-right: 5px;
        margin-left: 5px;
        height: 8px;
        transition: height 0.3s;
    }
    .carousel-indicators li:hover {
        height: 12px;
    }
    .carousel-indicators li.active {
        height: 12px;
    }
    .carousel-inner img {
        padding: 0;
    }
    .carousel-caption {
        right: 5%;
        left: 5%;
        padding-bottom: 0;
    }
    .textblocksm {
        padding: 0 .5rem;
    }
    .textblockmd {
        padding: 0rem .5rem 1rem .5rem;
    }
    .textblocklg {
        padding: 1rem 0;
    }
    .blockpad {
        padding: 1rem;
    }
    .navbar-brand {
        margin-right: 0;
        width: 60%;
    }
    .navbar-brand img {
        width: auto;
    }
    .navbar-nav .nav-link {
        font-size: 1rem;
    }
    .navbar-nav .nav-item {
        margin: 5px 0;
    }
    .dropdown-menu {
        padding: 0;
    }
    .dropdown-item {
        padding: 15px 25px;
        font-size: 1.1rem;
    }
    .lead {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 15px;
    } 
    p {
        font-size: 1.0rem;
    }
    .textblocksm ul {
        padding-left: 20px;
    }
    
    .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link {
        color: #0250cf;
        background-color: #ffffff;
        border-color: #0250cf;
        border-radius: 5px;
        margin: 10px;
        transition: border-color 1s, background-color 1s, color 1s ease;
    }
    .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link:hover {
        color: #ffffff;
        background-color: #0087fa;
        border-color: #0087fa;
    }
    .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
        color: #ffffff;
        background-color: #0087fa;
        border-color: #0087fa;
    }
    .nav-tabs {
    border-bottom: 1px solid #ffffff;
    }
}


/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .img-fluid {
        max-width: 80%;
    }
    .container {
        max-width: 576px;
    }
    .carousel-indicators {
        top: 83%;
    }
    .carousel-indicators li {
        height: 8px;
        margin-right: 5px;
        margin-left: 5px;
    }
    .carousel-indicators li:hover {
        height: 12px;
    }
    .carousel-indicators li.active {
        height: 12px;
    }
    .carousel-inner img {
        padding: 0;
    }
    .carousel-caption {
        right: 5%;
        left: 5%;
        padding-bottom: 0;
    }
    .textblocksm {
        padding: 0 .5rem;
        width: auto;
    }
    .textblockmd {
        padding: 0rem .5rem 1rem .5rem;
    }
    .textblocklg {
        padding: 1.5rem;
    }
    .blockpad {
        padding: 1rem;
    }
    .navbar-brand {
        width: 60%;
    }
    .navbar-brand img {
        width: auto;
    }
    .navbar-nav .nav-item {
        margin: 5px 0;
    }
    .navbar-nav .nav-link {
        font-size: 1rem;
    }
    .dropdown-menu {
        padding: 0;
    }
    .dropdown-item {
        padding: 15px 25px;
        font-size: 1.1rem;
    }
    .lead {
        font-size: 1.1rem;
        line-height: 1.6;
        margin-bottom: 15px;
    } 
    p {
        font-size: 1.0rem;
    }
    .textblocksm ul {
        padding-left: 20px;
    }

    .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link {
        color: #0087fa;
        background-color: #fff;
        border-color: #fff #fff #0250cf;
        border-radius: 5px 5px 0 0;
        margin: 0;
        transition: border-color 1s, background-color 1s, color 1s ease;
    }
    .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link:hover {
        color: #495057;
        background-color: #f0f9ff;
        border-color: #0087fa #0087fa #0250cf;
    }
    .nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
        color: #495057;
        background-color: #fff;
        border-color: #0250cf #0250cf #fff;
    }
    .nav-tabs {
    border-bottom: 1px solid #0250cf;
    }
}


/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .img-fluid {
        max-width: 80%;
    }
    .container {
        max-width: 768px;
    }
    .carousel-indicators {
        top: 92%;
    }
    .carousel-indicators li {
        height: 3px;
        margin-right: 3px;
        margin-left: 3px;
    }
    .carousel-indicators li:hover {
        height: 5px;
    }
    .carousel-indicators li.active {
        height: 5px;
    }
    .carousel-caption {
        right: 5%;
        left: 5%;
        padding-bottom: 20px;
    }
    .carousel-inner img {
        padding: 0 0 20px 0;
    }
    .carousel-caption h4 {
        font-size: 1.2rem;
    }
    .carousel-caption p {
        font-size: 0.9rem;
    }
    .textblocksm {
        padding: 0 1.0rem;
    }
    .textblockmd {
        padding: .5rem 1rem 1.5rem 1rem;
    }
    .textblocklg {
        padding: 2rem;
    }
    .blockpad {
        padding: 1.5rem 2rem;
    }
    .navbar-brand {
        width: auto;
    }
    .navbar-brand img {
        width: auto;
    }
    .navbar-nav .nav-item {
        margin: 5px 0;
    }
    .navbar-nav .nav-link {
        font-size: 1rem;
    }
    .dropdown-menu {
        padding: 0;
    }
    .dropdown-item {
        padding: 15px 25px;
    }
    .lead {
        font-size: 1.4rem;
        line-height: 1.8;
        margin-bottom: 15px;
    } 
    p {
        font-size: 1.1rem;
    }
    .textblocksm ul {
        padding-left: 40px;
    }
}


/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .img-fluid {
        max-width: 80%;
    }
    .container {
        max-width: 992px;
    }
    .carousel-indicators {
        top: 93%;
    }
    .carousel-indicators li {
        height: 3px;
        margin-right: 3px;
        margin-left: 3px;
    }
    .carousel-indicators li:hover {
        height: 5px;
    }
    .carousel-indicators li.active {
        height: 5px;
    }
    .carousel-caption {
        right: 15%;
        left: 15%;
        padding-bottom: 20px;
    }
    .carousel-inner img {
        padding: 0;
    }
    .carousel-caption h4 {
        font-size: 1.5rem;
    }
    .carousel-caption p {
        font-size: 1.1rem;
    }
    .textblocksm {
        padding: 0 1.5rem;
    }
    .textblockmd {
        padding: .5rem 1rem 1.5rem 1rem;
    }
    .textblocklg {
        padding: 3rem;
    }
    .blockpad {
        padding: 2rem 3rem;
    }
    .navbar-brand {
        width: auto;
    }
    .navbar-brand img {
        width: auto;
    }
    .navbar-nav .nav-item {
        margin: 0;
    }
    .navbar-nav .nav-link {
        font-size: 1rem;
    }
    .dropdown-menu {
        padding: 0;
    }
    .dropdown-item {
        padding: 6px 12px;
        font-size: 1rem;
    }
    .dropdown-link {
        padding-top: 0.2rem;
        padding-bottom: 0.2rem;
    }
    .lead {
        font-size: 1.4rem;
        line-height: 1.8;
        margin-bottom: 15px;
    } 
    p {
        font-size: 1.1rem;
    }
    .textblocksm ul {
        padding-left: 40px;
    }
}


/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .img-fluid {
        max-width: 80%;
    }
    .container {
        max-width: 1200px;
    }
    .carousel-indicators {
        top: 93%;
    }
    .carousel-indicators li {
        height: 3px;
        margin-right: 3px;
        margin-left: 3px;
    }
    .carousel-indicators li:hover {
        height: 5px;
    }
    .carousel-indicators li.active {
        height: 5px;
    }
    .carousel-caption {
        right: 15%;
        left: 15%;
        padding-bottom: 30px;
    }
    .carousel-inner img {
        padding: 0;
    }
    .carousel-caption h4 {
        font-size: 1.5rem;
    }
    .carousel-caption p {
        font-size: 1.1rem;
    }
    .textblocksm {
        padding: 0 1.5rem;
    }
    /*
    .textblockmd {
        padding: .5rem 1rem 1.5rem 1rem;
    }
    */
    .homecfabar {
    }
    .textblocklg {
        padding: 5rem 0;
    }
    .textblockmd {
        padding: 4rem 0 3rem;
    }
    .blockpad {
        padding: 2rem 3rem;
    }
    .navbar-brand {
        width: auto;
    }
    .navbar-brand img {
        width: auto;
    }
    .navbar-nav .nav-item {
        font-size: 1rem;
        margin: 0;
    }
    .navbar-nav .nav-link {
    }    
    .navbar-nav .nav-item a {
        border: none !important;
    }
    .dropdown-menu {
        padding: 0;
    }
    .dropdown-item {
        padding: 6px 12px;
        font-size: 1rem;
    }
    .lead {
        font-size: 1.4rem;
        line-height: 1.8;
        margin-bottom: 15px;
    } 
    p {
        font-size: 1.1rem;
    }
    .textblocksm ul {
        padding-left: 40px;
    }
}