

body {
    overflow-x: hidden;
    font-family: "Roboto Slab","Helvetica Neue",Helvetica,Arial,sans-serif;
}

.text-muted {
    color: #777;
}

.text-primary {
    color: #1e295d;
}

p {
    font-size: 14px;
    line-height: 1.75;
}

p.large {
    font-size: 16px;
}

a,
a:hover,
a:focus,
a:active,
a.active {
    outline: 0;
}

a {
    color: #1e295d;
}

a:hover,
a:focus,
a:active,
a.active {
    color: #1e295d;
}


.container{max-width:960px;}


.img-centered {
    margin: 0 auto;
}

.bg-light-gray {
    background-color: #f7f7f7;
}

.bg-darkest-gray {
    background-color: #222;
}

.btn-primary {
    border-color: #1e295d;
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
    color: #fff;
    background-color: #1e295d;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    border-color: #f6bf01;
    color: #fff;
    background-color: #1e295d;
}

.btn-primary:active,
.btn-primary.active,
.open .dropdown-toggle.btn-primary {
    background-image: none;
}

.btn-primary.disabled,
.btn-primary[disabled],
fieldset[disabled] .btn-primary,
.btn-primary.disabled:hover,
.btn-primary[disabled]:hover,
fieldset[disabled] .btn-primary:hover,
.btn-primary.disabled:focus,
.btn-primary[disabled]:focus,
fieldset[disabled] .btn-primary:focus,
.btn-primary.disabled:active,
.btn-primary[disabled]:active,
fieldset[disabled] .btn-primary:active,
.btn-primary.disabled.active,
.btn-primary[disabled].active,
fieldset[disabled] .btn-primary.active {
    border-color: #1e295d;
    background-color: #1e295d;
}

.btn-primary .badge {
    color: #1e295d;
    background-color: #fff;
}

.btn-xl {
    padding: 20px 40px;
    border-color: #1e295d;
    border-radius: 3px;
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    background-color: #1e295d;
}

.btn-xl:hover,
.btn-xl:focus,
.btn-xl:active,
.btn-xl.active,
.open .dropdown-toggle.btn-xl {
    border-color: #f6bf01;
    color: #fff;
    background-color: #1e295d;
}

.btn-xl:active,
.btn-xl.active,
.open .dropdown-toggle.btn-xl {
    background-image: none;
}

.btn-xl.disabled,
.btn-xl[disabled],
fieldset[disabled] .btn-xl,
.btn-xl.disabled:hover,
.btn-xl[disabled]:hover,
fieldset[disabled] .btn-xl:hover,
.btn-xl.disabled:focus,
.btn-xl[disabled]:focus,
fieldset[disabled] .btn-xl:focus,
.btn-xl.disabled:active,
.btn-xl[disabled]:active,
fieldset[disabled] .btn-xl:active,
.btn-xl.disabled.active,
.btn-xl[disabled].active,
fieldset[disabled] .btn-xl.active {
    border-color: #1e295d;
    background-color: #1e295d;
}

.btn-xl .badge {
    color: #1e295d;
    background-color: #fff;
}

.navbar-default {
    border-color: transparent;
    background-color: #222;
}

.navbar-nav{margin-top: 30px;}
.navbar-default .navbar-brand {
    color: #1e295d;
}

.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus,
.navbar-default .navbar-brand:active,
.navbar-default .navbar-brand.active {
    color: #1e295d;
}

.navbar-default .navbar-collapse {
    border-color: rgba(255,255,255,.02);
}

.navbar-default .navbar-toggle {
    border-color: #fff;
    background-color: #f3f3f3;
}

.navbar-toggle{ border-radius: 2px;}

.navbar-default .navbar-toggle .icon-bar {
    background-color: #f3f3f3;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
    background-color: #f3f3f3;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: #1e295d;
}

.navbar-default .nav li a {
    font-family: 'Roboto Condensed', Arial, Helvetica, sans-serif;
    font-weight: 300;
    font-size: 17px;
    letter-spacing: -0.3px;
    color: #1e295d;
    text-transform: uppercase;
}

.navbar-default .nav li a:hover,
.navbar-default .nav li a:focus {
     color: #9e9593!important;
}

.navbar-default .navbar-nav>.active>a {
    border-radius: 0;
    color: #9e9593;
    border-bottom: 6px solid #9e9593;
}



@media(max-width:976px) {


}


@media(min-width:768px) {
    .navbar-default {
        padding: 10px 0;
        border: 0;
        background-color: transparent;
        -webkit-transition: padding .3s;
        -moz-transition: padding .3s;
        transition: padding .3s;
    }

    .navbar-default .navbar-brand {
        font-size: 2em;
        -webkit-transition: all .3s;
        -moz-transition: all .3s;
        transition: all .3s;
    }

    .navbar-default .navbar-nav>.active>a {
    }

    .navbar-default.navbar-shrink {
        padding: 10px 0;
        background-color: #fff;
    }

    .navbar-default.navbar-shrink .navbar-brand {
        font-size: 1.5em;
    }



}

header {
    text-align: center;
    color: #fff;
}


header .intro-text .intro-lead-in {
    margin-bottom: 25px;
    font-family: "Droid Serif","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 22px;
    font-style: italic;
    line-height: 22px;
}

header .intro-text .intro-heading {
    margin-bottom: 25px;
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 50px;
    font-weight: 700;
    line-height: 50px;
}

@media(min-width:768px) {
    header .intro-text {
        padding-top: 300px;
        padding-bottom: 200px;
    }

    header .intro-text .intro-lead-in {
        margin-bottom: 25px;
        font-family: "Droid Serif","Helvetica Neue",Helvetica,Arial,sans-serif;
        font-size: 40px;
        font-style: italic;
        line-height: 40px;
    }

    header .intro-text .intro-heading {
        margin-bottom: 50px;
        text-transform: uppercase;
        font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
        font-size: 75px;
        font-weight: 700;
        line-height: 75px;
    }
}


section h2.section-heading {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 40px;
}

section h3.section-subheading {
    margin-bottom: 75px;
    text-transform: none;
    font-family: "Droid Serif","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 16px;
    font-style: italic;
    font-weight: 400;
}

@media(min-width:768px) {
    section {
        padding: 150px 0;
    }
}

.service-heading {
    margin: 15px 0;
    text-transform: none;
}



.team-member {
    margin-bottom: 50px;
    text-align: center;
}

.team-member img {
    margin: 0 auto;
    border: 7px solid #fff;
}

.team-member h4 {
    margin-top: 25px;
    margin-bottom: 0;
    text-transform: none;
}

.team-member p {
    margin-top: 0;
}

aside.clients img {
    margin: 50px auto;
}

section#contact {
    background-color: #222;
    background-image: url(../../img/map-image.png);
    background-position: center;
    background-repeat: no-repeat;
}

section#contact .section-heading {
    color: #fff;
}

section#contact .form-group {
    margin-bottom: 25px;
}

section#contact .form-group input,
section#contact .form-group textarea {
    padding: 20px;
}

section#contact .form-group input.form-control {
    height: auto;
}

section#contact .form-group textarea.form-control {
    height: 236px;
}

section#contact .form-control:focus {
    border-color: #1e295d;
    box-shadow: none;
}

section#contact::-webkit-input-placeholder {
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
    color: #bbb;
}

section#contact:-moz-placeholder {
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
    color: #bbb;
}

section#contact::-moz-placeholder {
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
    color: #bbb;
}

section#contact:-ms-input-placeholder {
    text-transform: uppercase;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: 700;
    color: #bbb;
}

section#contact .text-danger {
    color: #e74c3c;
}

footer {
    padding:50px 0 80px 0;
    text-align: center;
}

footer span.copyright {
    text-transform: uppercase;
    text-transform: none;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    line-height: 40px;
}

footer ul.quicklinks {
    margin-bottom: 0;
    text-transform: uppercase;
    text-transform: none;
    font-family: Montserrat,"Helvetica Neue",Helvetica,Arial,sans-serif;
    line-height: 40px;
}

.footer-phone{font-size:28px!important; font-weight:400!important; color: #fff!important;}
.footer-text-area{padding-right:50px; padding-top:5px;font-size:11px; line-height:14px;}
ul.social-buttons {
    margin-bottom: 0;
}

ul.social-buttons li a {
    display: block;
    width: 40px;
    height: 40px;
    border-radius: 100%;
    font-size: 20px;
    line-height: 40px;
    outline: 0;
    color: #fff;
    background-color: #222;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    transition: all .3s;
}

ul.social-buttons li a:hover,
ul.social-buttons li a:focus,
ul.social-buttons li a:active {
   
}

.btn:focus,
.btn:active,
.btn.active,
.btn:active:focus {
    outline: 0;
}

#login-modal .closer-button{ width:26px; height:25px; background: url(../img/crb.png);}
#contact-modal .closer-button{ width:26px; height:25px; background: url(../img/crg.png);}
.close:active, .close:hover, .close:focus{ outline: 0;}
#readmore-close, #contact-close{ width:26px; height:25px; background: url(../img/crn.png);}

.portfolio-modal .modal-content {
    padding: 100px 0;
    min-height: 100%;
    border: 0;
    border-radius: 0;
    text-align: center;
    background-clip: border-box;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.portfolio-modal .modal-content h2 {
    margin-bottom: 15px;
    font-size: 3em;
}

.portfolio-modal .modal-content p {
    margin-bottom: 30px;
}

.portfolio-modal .modal-content p.item-intro {
    margin: 20px 0 30px;
    font-family: "Droid Serif","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 16px;
    font-style: italic;
}

.portfolio-modal .modal-content ul.list-inline {
    margin-top: 0;
    margin-bottom: 30px;
}

.portfolio-modal .modal-content img {
    margin-bottom: 30px;
}

.portfolio-modal .close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 75px;
    height: 75px;
    background-color: transparent;
    cursor: pointer;
}

.portfolio-modal .close-modal:hover {
    opacity: .3;
}

.portfolio-modal .close-modal .lr {
    z-index: 1051;
    width: 1px;
    height: 75px;
    margin-left: 35px;
    background-color: #222;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.portfolio-modal .close-modal .lr .rl {
    z-index: 1052;
    width: 1px;
    height: 75px;
    background-color: #222;
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

.portfolio-modal .modal-backdrop {
    display: none;
    opacity: 0;
}

::-moz-selection {
    text-shadow: none;
    /*background: #1e295d;*/
}

::selection {
    text-shadow: none;
    /*background: #1e295d;*/
}

img::selection {
    background: 0 0;
}

img::-moz-selection {
    background: 0 0;
}

body {
    webkit-tap-highlight-color: #1e295d;
}



   body,html, p, li, a{font-size: 13px; color:#1e295d}
   body,html, p, h1,h2,h3,h4, li, a{font-family: 'Roboto Slab', serif; font-size: 13px; font-weight: 300;}
   a:hover{text-decoration:none;}
    /*header section*/

        .nav>li>a {
            padding: 10px 10px;
        }
        .navbar-toggle{
            margin-top: -17px;
        }
        .navbar-shrink .navbar-toggle{

            margin-top:5px
        }
        .navbar{ background:#fff; height:150px;}
        .navbar-shrink .smarter-text{ display:none;}
        .navbar-shrink .logo{ max-width:80px; width:80px;}
        .navbar-shrink .navbar { height:80px;}
        .navbar-shrink .navbar-nav { margin-top: 12px;}
        .navbar-shrink .navbar {box-shadow: 0 6px 6px -6px #d2d2d2;}
        .navbar-collapse {background:#fff;}
        .smarter-tm{font-family: 'Raleway', sans-serif; font-size:18px; font-weight:200; margin-bottom:4px; top: -0.4em; position: relative;}
        .smarter-text{margin-top:10px; font-size:26px; font-weight:300;}
        .navbar, .logo{transition: height 0.4s, height 0.4s; }
        .logo{ max-width:188px;}
         header{margin-top:150px;}
        .header-bar{height:80px; width:100%;}
        .header-bar h1.text-left{ font-weight:200; font-size:39.6px; margin-top:12px;}
        .header-bar-bold{font-weight:500; font-size:47.64px;}
        .page-scroll{font-weight:300; font-size:17px;}


            .notransition {
              -webkit-transition: none !important;
              -moz-transition: none !important;
              -o-transition: none !important;
              -ms-transition: none !important;
              transition: none !important;
            }
         .carousel-indicators {
                position: absolute;
                top: 110px;
                right: 10%;
                z-index: 15;
                width: 75%;
                padding-left: 0;
                text-align: right;
                list-style: none;
                    height: 20px;

            }
        .carousel-indicators li{
                border: 1px solid #1e295d;
      }
        .carousel-indicators li.active{
                background-color: #1e295d;
      }
        
        .slider-text-box{ 
                font-size: 17px;
                line-height: 22px;
                background: rgba(255, 255, 255, 0.8);
                color:#1e295d;
               z-index: 1000;
                text-align: left;
                position: absolute;
                top: 280px;
                border-radius: 4px;
                padding: 20px;
        }
        .slider-text-box p{ 
            font-size: 17px;
            line-height: 22px;
        }
         .slider-text-box a{ 
             color:#1e295d;
             text-shadow: 0.3px 0.3px #000;
        }

        #slide1{ background-image: url(../img/retire.jpg);background-repeat: no-repeat;background-position: center center;  background-size: cover; height:540px;}
        #slide2{ background-image: url(../img/chart.jpg); background-repeat: no-repeat;background-position: center center;  background-size: cover; height:540px;}
        #slide3{ background-image: url(../img/business.jpg); background-repeat: no-repeat;background-position: center center;  background-size: cover; height:540px;}
        #slide4{ background-image: url(../img/pier.jpg); background-repeat: no-repeat;background-position: center center;  background-size: cover; height:540px;}


        /* Philosophy section */
        body.modal-open nav{padding-right:10px!important;}
        .philosophy-list li{ color:#fff;}
        #phil-readmore{border-radius:4px; padding:15px 10px 10px 10px; margin:35px 30px 60px 0; background-color:#4a6d8d;}
        #phil-italic{padding-right:70px; padding-top:5px;}
        #philosophy{padding: 80px 50px 0 50px;}
        #phil{position: relative; top:0px;}

        /*GLOBALS*/
        section{padding:70px 50px;}
        h2{font-size: 32px; font-weight: 200; margin-top:35px;
        }
        .robo-slab{ font-family: 'Roboto Slab', serif;}
        .robo-slab-list{ padding-left: 0px; list-style: none;}
        .robo-slab-list li{font-size: 18px; line-height: 42px;
        font-weight: 200;}
        .robo-slab-list li:before{ content: "•"; font-size: 18px; margin-right: 7px;}
        .jdm-blue{ color:#1e295d;}
        .jdm-white{ color:#fff;}
        .jdm-white p{ color:#fff;}
        .jdm-grey{ color:#646464;}
        .jdm-grey-back{ background:#646464;}
        .jdm-white-back{background:#fff;}
        .jdm-blue-back{ background:#164968;}
        .jdm-palegrey-back{background:#f3f3f3;}
        .jdm-bluegrey-back{background:#4a6d8d;}

        #milestone-header{font-weight:200; margin-bottom:20px; font-size:56px;}
        #milestone-area{padding:15px 50px 70px 50px;}
               .team-pic{padding:30px; } .team-pic img{width:100%; max-width:250px;}
               .team-text{padding: 30px 0px 30px 12px;} .team-text p{ font-size:18px; font-weight:400;} 
               .team-scrollbox p{font-size:14px; font-weight:300; padding-right:5px;}
               .team-scrollbox{ max-height:200px; height: 200px; overflow-y:scroll;}

               /*-----CUSTOM SCROLLBAR---*/
               div ::-webkit-scrollbar{
                     width: 10px;
                }
                div ::-webkit-scrollbar-track{
                     box-shadow: inset 0 0 6px rgba(0,0,0,0); 
                }
                div ::-webkit-scrollbar-track-piece{
                    background:#f3f3f3;
                    border-radius:7px;
                    border:1px solid #f3f3f3;
                }
                div ::-webkit-scrollbar-thumb {
                    background: #646464;
                    box-shadow: inset 0 0 6px rgba(0,0,0,0); 
                    border-radius:7px;  
                    border:1px solid rgba(255,255,255,0);
                }
                div ::-webkit-scrollbar-thumb:window-inactive {
                    background: #f3f3f3; 
                }

                /*modal styling*/
                .white-list li{color:#fff!important;}
                .fade{opacity: 1;}
                .modal{padding-right:0!important;}
                .modal-dialog{    width: 100%; height: 680px; margin:150px 0 0 0!important;}
                .navbar-shrink .modal-dialog{ width: 100%; height: 750px; margin:80px 0 0 0!important;}
                .modal-content { width: 100%; height: 100%; border-radius: 0px;}
                .modal-backdrop { background-color: transparent;}
                #login-body p{font-size:12px; color:#1e295d; font-weight:300; line-height:20px;} 
                .modal-content1{background:#a6c5dd; min-height:100%;}
                .modal-content2{background:#646464; min-height:100%;}
                .modal-content3{background:#304968; min-height:100%;}

                .modal-header{ border:none;}
                .modal-button{ background:#fff; color:#1e295d; font-size:17px; padding:20px; width:366px; font-weight:300; display:block; margin: 30px auto; border-radius: 7px;}
                .modal-button:hover{text-decoration: none;}
                .modal-header .close {
                margin-top: -3px;
                    }
                #login-body{display: block; max-width: 563px; margin:20px auto;}    
                #contact-body{display: block; max-width: 670px; margin:20px auto;}    
                #readmore-body{display: block; max-width: 670px; margin:20px auto; padding:15px;}    
                .close{opacity:1;}
                .modal.fade:not(.in) .modal-dialog {
                -webkit-transform: translate3d(100%, 0, 0);
                transform: translate3d(100%, 0, 0);
                }
 

                /*PRIORITIES STYLING*/
                .prior-list-num li{list-style: none; text-indent:-10px;}
                .prior-list li{ font-weight:200; font-size:12px; color:#61626e;}
                .prior-list li .list-text{color:#61626e;}
                .priorities-header{font-weight:200; margin-bottom:80px;}
                .priorities-box{ width: 100%; overflow: hidden; position: relative; margin-bottom: 30px;}
                .priorities-box img{ width:100%; }
                .boxes.col-md-12{padding:50px;}
                ul.portfolio li{ list-style: none;}
                .boxes{ padding-right: 10px; padding-left: 10px;margin-bottom: 20px;}
                .row{ margin:0; padding:0;}
                .text-slide{position: absolute;  background: rgba(51, 51, 51, 0.7); top: 83%; color: #fff; width: 100%; padding: 5px;
                            height: 100%; -webkit-transition-duration: 1s; /* Safari */ transition-duration: 1s; cursor: pointer;
                        }


               .text-slide:hover > .expand-icon{display:none;}
                .text-slide p{font-size: 15px; color:#fff;} 
                .read-arrow{ margin-left: 6px;}
                .read-arrow img{width:16px;}
                .slide-bold{font-weight: 400; color:#fff;} 
                 #slide-header{ color:#1E295D;}
                .expand-icon{ position: absolute; top: -2px; right: 7px; font-size: 27px; }
                .colio-container{ background:#fff;}
                .colio-close{width:26px; height:25px; background: url(../img/cr1.png); margin-right: -3px;}
                .colio-close:hover{opacity:0.5;}
                .colio-placement-inside, .colio-placement-before { margin-bottom: 20px;}

                #slide-box1{background-image: url(../img/chart-banner.jpg);}  
                #slide-box2{background-image: url(../img/retire-banner.jpg);}   
                #slide-box3{background-image: url(../img/pier-banner.jpg);} 
                #slide-box4{background-image: url(../img/business-banner.jpg);} 
                #slide-box5{background-image: url(../img/family-banner.jpg);} 
                #slide-box6{background-image: url(../img/living-banner.jpg);}  
                .slide-box-image{ background-repeat: no-repeat; background-position: center center; width:100%; height:220px; background-size: 100%;}
                .slide-box-text{ margin-top: 20px; color:#61626e;}
                .slide-box-text ul li{line-height: 25px; color:#61626e;}
                .slide-box-text p{color:#61626e; font-size: 14px;}
                #jdm_portfolio{  transition:all 0.6s ease; -webkit-transition:all 0.6s ease;}

                img.milestone-card{padding-top:20px;width: 100%; max-width:532px;}

                footer {
                   margin-bottom: 0px;}


             /* CUSTOM MEDIA QUERIES */

                 @media screen and (max-width: 3000px) {
                      .text-slide{top:81%;}
                      .mobile-show{ display:none;}
                      .mobile-slide-show{display:none;}
                      #main-headshot{float:right; width: 340px; margin-right: -105px; padding-top: 51px;}


                 }
                @media screen and (max-width: 1008px) {
                    .text-slide p {
                        font-size: 14px;
                        color: #fff;
                    }

                    img.milestone-card{    
                        max-width: 232px;
                        margin: 0 auto;
                        display: block;}
                    .header-bar h1.text-left {
                          font-size: 35px;
                      }
                    .header-bar-bold {
                          font-size: 43px;
                      }
                    .header-bar {
                        height: 74px;
                    }
            }
                 

                @media screen and (min-width: 1030px) {
                    .text-slide:hover{top:0;}  
                    }
                @media screen and (max-width: 980px) {
                        .text-slide:hover > .expand-icon{display:inline;}

                          .nav>li>a {
                              padding: 10px 8px;
                          }
                         
                          .header-bar h1.text-left {
                              font-size: 34px;
                          }

                          .header-bar-bold {
                              font-size: 40px;
                          }
                          .header-bar {
                              height: 70px;
                          }
                          .logo{max-width:180px;}
                          .text-slide p {
                                font-size: 12px;
                                color: #fff;
                            }
                            .expand-icon {
                                top: -4px;
                                font-size: 25px;
                            }

                     #main-headshot{float:right; width: 340px; margin-right: -65px; padding-top: 0px; margin-top:-50px}


                }

                @media screen and (max-width: 893px) {

					
                          .text-slide p {
                                font-size: 11px;
                            }
                            .expand-icon {
                                top: -1px;
                                font-size: 20px;
                            }

                }
                @media screen and (max-width: 875px) {
                       .logo{max-width:144px; }
                }
                
                 @media screen and (max-width: 840px) {
                       .logo{max-width:176px; margin-top: 2px;}
                        .nav>li>a {
                              padding: 10px 8px;
                          }
                          .text-slide p {
                                font-size: 10px;
                            }
                          .navbar-default .nav li a {
                            font-size: 13px!important;
                            padding-right: 20px;
                        }
                         .navbar-default .navbar-nav>.active>a {
                              border-bottom:none;   
                    }  
                         .navbar-default .navbar-toggle {
                            position: absolute;
                            top: 81px;
                            right: 0;
                        }
                        .modal-dialog {height:auto;}
                }

                  @media screen and (max-width: 770px) {
                        img.milestone-card{    
                        max-width: 165px;
                        margin: 0px auto 0 auto;
                        padding-top: 0;
                        display: block;
                        }
                        #priorities {
                            padding: 50px 0!important;
                        }   
                        span.slide-bold {
                                font-size: 15px;
                        }       
                        .expand-icon-mobile {
                            font-size: 31px;
                            top: -5px;
                        } 
                        .mobile-slide-hide{display: none;}
                        .mobile-slide-show{display:block;}
                        .carousel-inner, .priorities-box {height: 400px;}
                        .carousel-indicators {top:18px;}
                        .mobile-boxes > li{ list-style-type: disc;}
                        .mobile-boxes p{color:#61626e;}
                        div.mobile-boxes {
                                padding: 10px 20px 30px 20px;
                            }
                        #slider-header{color:#61626e!important;}

                         .text-slide-top{
                        position: absolute; background: rgba(51, 51, 51, 0.7); bottom: -1px; color: #fff; width: 100%; padding: 5px; height: 38px; cursor: pointer;
                        }
                         .text-slide{
                        position: absolute; top:auto;  background: rgba(51, 51, 51, 0.7); bottom: 0; color: #fff; width: 100%; padding: 5px; height: 38px; cursor: pointer; top:auto;
                        }
                        .text-slide-top a, .text-slide a{color:#fff; padding: 5px 0px;}
                        .text-slide{-webkit-transition-duration: 0s; /* Safari */ transition-duration: 0s;}
                         .expand-icon-mobile {position:absolute; right: 14px;font-size: 25px; top:-1px;
                            -webkit-transition-duration: 0.2s; /* Safari */ transition-duration: 0.2s;
                        }
                        .text-slide > .expand-icon-mobile{ -webkit-transform: rotate(-45deg);
                                -moz-transform: rotate(-45deg);
                                -ms-transform: rotate(-45deg);
                                -o-transform: rotate(-45deg);
                                }
                         .text-slide.collapsed > .expand-icon-mobile{ -webkit-transform: rotate(0deg);
                                -moz-transform: rotate(0deg);
                                -ms-transform: rotate(0deg);
                                -o-transform: rotate(0deg);
                                }
                                .priorities-box{margin-bottom: 15px;}
                                .footer-phone{font-size:22px!important;}
                                .footer-text-area{padding-right:0px;}
                                .team-scrollbox {margin-bottom: 30px;}
                  }



                  @media screen and (max-width: 750px) {
                      

                        .navbar-shrink .navbar-default .navbar-toggle {
                             top: 12px;
                        }
                    
                        .header-bar {
                             height: 62px;
                        }
                        .header-bar h1.text-left {
                             font-size: 30px;
                        }
                        .header-bar-bold {
                             font-size: 37px;
                        }
                        .navbar-default .nav li a {
                             font-size: 16px;
                        }
                }


                    @media screen and (max-width: 667px) {

                         #philosophy{padding:10px 10px!important;}
                         section{padding:50px 10px!important;}
                         #milestone-header {
                                font-size: 46px;
                            }
                        .expand-icon-mobile {right: 4px;}

                        .priorities-box, .carousel-inner {height: auto;}
                          
                        .header-bar {
                            height: 58px;
                        }
           
                        .header-bar h1.text-left {
                              font-size: 27px;
                        }
                        .header-bar-bold {
                              font-size: 34px;
                        }
                        .navbar-shrink .navbar {
                                height: 67px;
                        }
                        .navbar-shrink .modal-dialog {
                                margin-top: 67px!important;
                        }
                        .modal-dialog {
                            margin-top: 67px!important;
                        }
                        .navbar-shrink .navbar-collapse {
                                margin-top: 20px;
                        }
                        .header-bar {
                             height: 48px;
                        }
                        .robo-slab-list li{
                            line-height: 33px;
                        }
                        #phil-readmore{ margin: 30px 0;}
                        #phil-italic{padding-right:10px;}

                        .modal-open .container .smarter-text {
                            padding-left: 36px;
                        }


                        span.slide-bold {
                            font-size: 15px;
                            text-align: left!important;
                        }
                        .text-slide-top {
                            text-align: left;
                            padding-left: 10px;
                            bottom:-1px;
                        }
                       ::-webkit-scrollbar{
                                 width: 0px;
                        }

                        div.team-scrollbox::-webkit-scrollbar{
                         width: 10px;   
                        }
                         #readmore-body {
                            padding: 15px 0px;
                        }
                        footer {
                            padding:20px 0 50px 0;
                        }
        
                       .priorities-header{font-weight:200; margin-bottom:50px;}

                        #milestone-header {
                                margin-top: 20px;
                        }

                        .header-bar h1.text-left {
                              font-size: 22px;
                          }
                          .header-bar-bold {
                              font-size: 26px;
                          }
                          .container .smarter-text {
                                padding-left: 25px;
                                position: relative;
                                float: none;
                                width: 100%;
                                text-align: center;
                                right:0;padding-top: 10px; font-size: 18px;
                            }

                        .navbar-brand{ position: absolute; top: 0;}
                         .navbar-shrink .smarter-text{ display:block;}

                         .smarter-tm {
                                font-size: 14px;
                                top: -0.3em;
                        }
                          header{margin-top: 67px;}
                          .logo{ max-width:100px; width:100px;}
                          .navbar{ height: 67px; margin-bottom: 0px;}
                          .navbar-nav { margin-top: 12px;}
                          .navbar {box-shadow: 0 6px 6px -6px #d2d2d2;}  
                          .navbar-collapse{margin-top: 15px;}  
                          .carousel-indicators{top:10px; height: 20px;}   
                          h2{font-size: 22px; text-align: center;}           
                          section#team{padding:45px 10px!important;}
                          .navbar-shrink .modal-dialog {
                              height: auto;
                              margin-left:-10px;
                          }
                        .logo{max-width: 80px; width: 80px;}
                        .navbar-default .navbar-toggle {
                                    top: 34px;
                        }
                        .mobile-show{ display:block;}
                        .mobile-hide { display: none;}
                        .item, .priorities-box{height:300px;}
                        .text-slide-top{
                        position: absolute; background: rgba(51, 51, 51, 0.7); bottom: -2px; color: #fff; width: 100%; padding: 5px; height: 38px; cursor: pointer;
                        }
                         .text-slide{
                        position: absolute; background: rgba(51, 51, 51, 0.7); bottom: 0; color: #fff; width: 100%; padding: 5px; height: 38px; cursor: pointer; top:auto;
                        }
                       
                        .collapsing {
                            transition: height 0.2s ease; -webkit-transition: height 0.2s ease; 

                        }    

                        .carousel-inner .priorities-box{
                            margin-bottom: 0;
                        }

                        #priorities{ padding:50px 0!important;}
                        
                    #phil{position: relative; top:-50px;}
 }

                 @media screen and (max-width: 380px) {
                   
                    .smarter-tm {
                        font-size: 12px;
                        top: -0.2em;
                    }
                    .container .smarter-text{font-size: 14px;}
                     

                      .item, .priorities-box{height:auto;}

                      .col-xs-6.col-sm-8.col-md-9.team-text {
                                padding-top: 7px;
                            }
                      .team-pic {
                            padding: 0px;
                            padding-top:10px;
                        }      
                        .team-pic {
                            margin-left: 8px;
                        }
                     .header-bar {
                             height: 40px;
                          }
           
                          .header-bar h1.text-left {
                              font-size: 16px;
                          }
                          .header-bar-bold {
                              font-size: 18px;
                          }

                         #milestone-header{
                          font-size: 38px;
                         }
                         #milestone-area{padding:15px 0px 50px 0px;}

                          .team-pic {
                              width: 100%;
                          }
                          .team-text {
                            width: 100%;
                        }
                        a.modal-button {
                              max-width: 240px;
                          }
                    }


                      .icon-bar {
                        width: 22px;
                        transition: all 0.2s;
                      }
                      .top-bar {
                        transform: rotate(45deg);
                        transform-origin: 10% 10%;
                      }
                      .middle-bar {
                        opacity: 0;
                      }
                      .bottom-bar {
                        transform: rotate(-45deg);
                        transform-origin: 10% 90%;
                      }

                      &.collapsed {
                        .top-bar {
                          transform: rotate(0);      
                        }
                        .middle-bar {
                          opacity: 1;
                        }
                        .bottom-bar {
                          transform: rotate(0);
                        }
                      }

                 @media screen and (max-width: 360px) {
                              #phil-bullet{margin-left:13px; position:relative; top:-0.5em;}
                               #fee-only-li{ height:55px;}

                    }