/* Globals */

    :root {
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #006ab1;
    --oldprimary: #49a74d;
    --text-primary: #003d66;
    --secondary: #e54801;
    --success: #28a745;
    --info: #e54901a8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --breakpoint-xs: 0;
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;

    --background-image-gradient: linear-gradient(to bottom, rgba(0, 0, 0, 0.25) 0%,rgba(0, 0, 0, 0.25) 100%);
    --background-image-hover-gradient: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%,rgba(0, 0, 0, 0.25) 100%);
    --background-image-url: url(/images/placeholderimage.jpg);


    }

   

    html
    {
    
        scroll-behavior: smooth;
    }

    a.anchor
    {
        display: block;
        position: relative;
        top: -85px;
        visibility: hidden;
    }


    body
    {
        font-family: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; 
        margin-top: 69px;
        scroll-behavior: smooth;
    }

    footer
    {
        color:white;
    }


    .footerdividers
    {
        border-left: 2px solid white;
        border-right: 2px solid white;
    }

    .footerdividersv
    {
        border-top: 2px solid white;
        border-bottom: 2px solid white;
    }

    .sectionanimation
    {
        visibility: hidden;

        animation-name: slide;
        animation-duration: 1s;
        animation-fill-mode: forwards;

        -webkit-animation-name: slide;
        -webkit-animation-duration: 1s;
        -webkit-animation-fill-mode: forwards;
    }


    @keyframes slide
    {
        0%
        {
            visibility: visible;
            opacity: 0;
            transform: translateX(-75px);
        }
        100%
        {
            visibility: visible;
            opacity: 100;
            transform: translateX(0);
        }
    }

    @-webkit-keyframes slide
    {
        0%
        {
            visibility: visible;
            opacity: 0;
            transform: translateX(-75px);
        }
        100%
        {
            visibility: visible;
            opacity: 100;
            transform: translateX(0);
        }
    }

    .headeranimation
    {
        visibility: hidden;

        animation-name: appear;
        animation-duration: 1s;
        animation-fill-mode: forwards;

        -webkit-animation-name: appear;
        -webkit-animation-duration: 1s;
        -webkit-animation-fill-mode: forwards;
    }

    @keyframes appear
    {
        0%
        {
            visibility: visible;
            opacity: 0;
            transform: scale(0.8);
        }
        100%
        {
            visibility: visible;
            opacity: 100;
            transform: scale(1);
        }
    }

    @-webkit-keyframes appear
    {
        0%
        {
            visibility: visible;
            opacity: 0;
            transform: scale(0.8);
        }
        100%
        {
            visibility: visible;
            opacity: 100;
            transform: scale(1);
        }
    }

    .homebanneranimation
    {
        animation-name: zoomin;
        animation-timing-function: linear;
        animation-duration: 6s;
        animation-fill-mode: forwards;
        backface-visibility: hidden; /* add to fix webkit bug jitter */
        transform: perspective(1000px); /* add to fix webkit bug jitter */
      

        -webkit-animation-name: zoomin;
        -webkit-animation-timing-function: linear;
        -webkit-animation-duration: 6s;
        -webkit-animation-fill-mode: forwards;
        -webkit-backface-visibility: hidden; /* add to fix webkit bug jitter */
        -webkit-transform: perspective(1000px); /* add to fix webkit bug jitter */
      
    }

    @keyframes zoomin
    {
        0%
        {
            opacity: 0%;
            background-size: 100%;
        }
        10%
        {
            opacity: 100%;
        }

        90%
        {
            opacity: 100%;
        }
        100%
        {
            opacity: 0%;
            background-size: 120%
        }
    }

    @-webkit-keyframes zoomin
    {
        0%
        {
            opacity: 0%;
            background-size: 100%
        }
        10%
        {
            opacity: 100%;
        }

        90%
        {
            opacity: 100%;
        }
        100%
        {
            opacity: 0%;
            background-size: 120%
        }
    }

    .portfoliobanneranimation
    {
        animation-name: zoominout;
        animation-timing-function: linear;
        animation-duration: 20s;
        animation-fill-mode: forwards;
        animation-iteration-count: infinite;
        backface-visibility: hidden; /* add to fix webkit bug jitter */
        transform: perspective(1000px); /* add to fix webkit bug jitter */
      

        -webkit-animation-name: zoominout;
        -webkit-animation-timing-function: linear;
        -webkit-animation-duration: 20s;
        -webkit-animation-fill-mode: forwards;
        -webkit-animation-iteration-count: infinite;
        -webkit-backface-visibility: hidden; /* add to fix webkit bug jitter */
        -webkit-transform: perspective(1000px); /* add to fix webkit bug jitter */
      

    }

    @keyframes zoominout
    {
        0%
        {
            background-size: 100%
        }
        50%
        {
            background-size: 150%

        }
        100%
        {
            background-size: 100%
        }
    }

    @-webkit-keyframes zoominout
    {
        0%
        {
            background-size: 100%
        }
        50%
        {
            background-size: 150%

        }
        100%
        {
            background-size: 100%
        }
    }
       

    h1
    {
        text-shadow: 0px 0px 5px black;
        color: white;
        font-size: 6vw;
        font-weight: 300;
        line-height: 1;
        text-transform: uppercase;
    }

    h2
    {
        padding: 0;
        color: var(--text-primary);
        font-size: 3.5rem;
        font-weight: 600;
        line-height: 1;
        letter-spacing: 5px;
        text-transform: uppercase;

    }


    h3
    {
        margin: 0;
        padding-top: 10px;
        padding-bottom: 10px;
        color: var(--text-primary);
        font-size: 2rem;
        font-weight: 600;
        line-height: 1;
        letter-spacing: 1px;
        text-transform: uppercase;
    }

    h4
    {
        margin: 0;
        padding-top: 10px;
        padding-bottom: 10px;
        color: var(--text-primary);
        font-size: 1.5rem;
        font-weight: 500;
        line-height: 1;
        letter-spacing: 0px;

    }

    p1
    {
        font-size: 1.3rem;
        font-weight: 400;
        line-height: 1.2;
        color: var(--text-primary);
    }
    p2
    {
        font-size: 1.2rem;
        font-weight: 400;
        line-height: 1.2;
        color: var(--text-primary);
    }
    p3
    {
        font-size: 1rem;
        font-weight: 400;
        color: var(--text-primary);
    }

    a, a:hover
    {
        color: var(--secondary);
    }

        
    @media screen and (max-width: 576px)
    {
        h1 
        {
            font-size: 9vw;
        }
        h2 
        {
            font-size: 2.25rem;
            letter-spacing: 0px;
        }
        h3 
        {
            font-size: 1.75rem;
        }
        h4
        {
            font-size: 1.50rem;
        }
        p1
        {
            font-size: 1.15rem;
            font-weight: 400;
            color: var(--text-primary);
        }
        p2
        {
            font-size: 1.15rem;
            font-weight: 400;
            color: var(--text-primary);
        }
        p3
        {
            font-size: 1.15rem;
            font-weight: 400;
            color: var(--text-primary);
        }

        .homebanneranimation
        {
            animation-name: zoominsmall;
            animation-timing-function: linear;
            animation-duration: 6s;
            animation-fill-mode: forwards;
            backface-visibility: hidden; /* add to fix webkit bug jitter */
            transform: perspective(1000px); /* add to fix webkit bug jitter */
          
    
            -webkit-animation-name: zoominsmall;
            -webkit-animation-timing-function: linear;
            -webkit-animation-duration: 6s;
            -webkit-animation-fill-mode: forwards;
            -webkit-backface-visibility: hidden; /* add to fix webkit bug jitter */
            -webkit-transform: perspective(1000px); /* add to fix webkit bug jitter */
          
        }
    
        @keyframes zoominsmall
        {
            0%
            {
                opacity: 0%;
                background-size: 200%;
            }
            10%
            {
                opacity: 100%;
            }
    
            90%
            {
                opacity: 100%;
            }
            100%
            {
                opacity: 0%;
                background-size: 250%
            }
        }
    
        @-webkit-keyframes zoominsmall
        {
            0%
            {
                opacity: 0%;
                background-size: 200%
            }
            10%
            {
                opacity: 100%;
            }
    
            90%
            {
                opacity: 100%;
            }
            100%
            {
                opacity: 0%;
                background-size: 250%
            }
        }

        .portfoliobanneranimation
        {
            animation-name: zoominoutsmall;
            animation-timing-function: linear;
            animation-duration: 20s;
            animation-fill-mode: forwards;
            animation-iteration-count: infinite;
            backface-visibility: hidden; /* add to fix webkit bug jitter */
            transform: perspective(1000px); /* add to fix webkit bug jitter */
          
    
            -webkit-animation-name: zoominoutsmall;
            -webkit-animation-timing-function: linear;
            -webkit-animation-duration: 20s;
            -webkit-animation-fill-mode: forwards;
            animation-iteration-count: infinite;
            -webkit-backface-visibility: hidden; /* add to fix webkit bug jitter */
            -webkit-transform: perspective(1000px); /* add to fix webkit bug jitter */
          
    
        }
        @keyframes zoominoutsmall
        {
            0%
            {
                background-size: 100%
            }
            50%
            {
                background-size: 150%
    
            }
            100%
            {
                background-size: 100%
            }
        }
    
        @-webkit-keyframes zoominoutsmall
        {
            0%
            {
                background-size: 100%
            }
            50%
            {
                background-size: 150%
    
            }
            100%
            {
                background-size: 100%
            }
        }
    
    
    }

/* Forms */

    .form-control
    {
        color: #000000;
        font-weight: 600;
        background-color: #eeeeee;
        display: block;
        width: 100%;
        height: calc(1.5em + 0.75rem + 2px);
        padding: 0.375rem 0.75rem;
        font-size: 1.2rem;
        font-weight: 600;
        line-height: 1.5;
        background-clip: padding-box;
        border: 1px solid var(--primary);
        border-radius: 0.25rem;
        transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    }   

    .form-check-label
    {
        padding-bottom: 5px;
    }

    .form-check {

        background-color: #eeeeee;
        position: relative;
        display: block;
        padding-left: 0rem;
        margin-left: auto;
        margin-right:auto;
      }

      label
      {
        margin-bottom:0px !important;
      }  


/* Info Boxes */

.info-box
{
    padding: 0px;
    background-color: rgba(255, 255, 255, 0.97);
    border: 5px solid #c5c5c5;
    border-radius: 1rem;
    max-width: 100%;
    height: auto;
    box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.644);
}



/* Profile Cards */

    .profile-pic
    {
        box-shadow: 0px 0px 15px #00000077;
        border: 7px solid #ffffff !important;
    }

/* Primary Color Group */

    .btn-primary 
    {
        color: #fff;
        background-color: #000000;
        border-color: #000000;
        background-color: #e54801 !important;
        border-radius: 25px;
        padding: 10px;
    }

    .btn-primary:hover 
    {
        color: #fff;
        background-color: #e54801;
        border-color: #fff;
    }

    .btn-primary:focus, .btn-primary.focus 
    {
        box-shadow: 0 0 0 0.2rem #1d421f;
    }

    .btn-primary.disabled, .btn-primary:disabled 
    {
        color: #fff;
        background-color: var(--primary);
        border-color: var(--primary);
    }

    .btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active,
    .show > .btn-primary.dropdown-toggle 
    {
        color: #fff;
        background-color: var(--primary);
        border-color: var(--primary);
    }

    .btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus,
    .show > .btn-primary.dropdown-toggle:focus 
    {
        box-shadow: 0 0 0 0.2rem #1d421f;
    }

    .bg-primary
    {
        background-color: var(--primary) !important;
        /*background: linear-gradient(to bottom, #2f6832 ,#1d421f ) !important;*/
        background: linear-gradient(to bottom, #006ab1 ,#003d66 ) !important;
    }

    .btn-glossary
    {
        font-size: 2rem;
        border-radius: 5px;
        color: white;
    }



/* NavBar */

    #navbar
    {
        transition: top 0.5s;
    }

    .navbar-dark
    {
        color: #fff; 
    }
    .navbar-brand 
    {
        padding: 0;
    }

    .navbar-dark .navbar-nav .nav-link 
    {
        font-size: 1.10rem;
        color: rgba(255, 255, 255, 0.95);
        text-transform: uppercase;
        text-align: center;
    }
    
    .navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus 
    {
        font-size: 1.10rem;
        color: rgba(255, 255, 255, 1);
    }
    
    .navbar-dark .navbar-nav .nav-link.disabled 
    {
        color: rgba(255, 255, 255, 0.25);
    }

    .dropdown-item
    {
        font-size: 1.10rem;
        color: rgb(0, 0, 0);
        text-decoration: none;
        text-transform: uppercase;
        text-align: center;
    }

    .dropdown-item:hover
    {
        background-color: rgb(168, 168, 168);
        font-size: 1.10rem;
        color: rgb(0, 0, 0);
        text-decoration: none;
    }

    .dropdown-item.active, .dropdown-item:active 
    {
        font-size: 1.10rem;
        color: #fff;
        text-decoration: none;
        background-color: #e54801;
    }

    .navbar-toggler-icon 
    {
        display: inline-block;
        width: 1.5em;
        height: 1.5em;
        vertical-align: middle;
        content: "";
        background: no-repeat center center;
        background-size: 100% 100%;
    }

    .navbar-dark .navbar-toggler-icon 
    {
        background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-width='3' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .navbar-toggler 
    {
        padding: 0.25rem 0.75rem;
        font-size: 1.25rem;
        line-height: 1;
        background-color: transparent;
        border: 0px;
        border-radius: 0;
    }

/* Banners */

    .jumbotron 
    {
        background-size: cover;
        background-color: black;
        background-position: center;
        margin: 0;
        border-radius: 0px;
        border-top: 0.75rem solid var(--secondary);
        border-bottom: 0.75rem solid var(--secondary);

    }

    .sizeablebanner img
    {
        width: 100%;
        margin: 0px;
        padding: 0px;
    }

    .homebannertext {
        position: absolute;
        bottom: 8px;
        width: 100%;
        text-align: center;
      }

/* Carousel */

    .carousel-item
    {
        padding-bottom: 2rem;
        padding-left: 10%;
        padding-right: 10%;
    }


    .carousel-control-prev-icon 
    {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23006ab1' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5-2.5-2.5 2.5-2.5-1.5-1.5z'/%3e%3c/svg%3e");
    }

    .carousel-control-next-icon 
    {
      background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23006ab1' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5 2.5 2.5-2.5 2.5 1.5 1.5 4-4-4-4z'/%3e%3c/svg%3e");
    }


/* Portfolio Cards */

    .portfolio-card
    {
        background-image: var(--background-image-gradient), var(--background-image-url); 
        background-position: center; 
        background-size: cover;
        height: 25rem;
        padding-bottom: 10rem;
        padding-top: 10rem;
        margin: .5rem;
        text-decoration: none;
        box-shadow: 0px 0px 15px #00000077;
        border: 7px solid #ffffff !important;
        border-radius: 10px;

    }

    .portfolio-photo-row
    {
        padding-top: 1rem;
        padding-bottom: 1rem;
        border-top: 0.75rem solid var(--secondary);
        border-bottom: 0.75rem solid var(--secondary);
        background-color: var(--primary) !important;
        /*background: linear-gradient(to bottom, #2f6832 ,#1d421f ) !important;*/
        background: linear-gradient(to bottom, #006ab1 ,#003d66 ) !important;

    }

    .portfolio-photo
    {
        height: 25rem;
        box-shadow: 0px 0px 15px 1px #000000;
        border: 5px solid #ffffff !important;
        border-radius: 5px;
    }

    .bubble
    {
        background-color: rgba(175, 175, 175, 0.295);
        border-radius: 1rem;
        box-shadow: 0px 0px 15px #00000077;
        border: 7px solid #ffffff !important;
    }

    .servicebubble
    {
        background-color: rgba(214, 214, 214, 0.288);
        border-radius: 1rem;
        border: 3px solid #ffffff !important;
    }

    .servicebubble:hover
    {
        background-color: var(--info);
        border-radius: 1rem;
        border: 3px solid #ffffff !important;
    }

    
    .service-link:hover
    {
        text-decoration: none;
    }


/* Portfolio Modal */

  
/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1800; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0, 0, 0, 0.726); /* Black w/ opacity */
  }
  
  /* Modal Image Content */
  .modal-img-content {
    max-width: 90vw;
    max-height: 90vh;
    height: auto;
    width: auto;
    margin: auto;
    display: block;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    -webkit-animation-name: animatetop;
    -webkit-animation-duration: 0.4s;
    animation-name: animatetop;
    animation-duration: 0.4s
  }
  
  /* Add Animation */
  @-webkit-keyframes animatetop {
    from {top:-300px; opacity:0} 
    to {top:0; opacity:1}
  }
  
  @keyframes animatetop {
    from {top:-300px; opacity:0}
    to {top:0; opacity:1}
  }
  
  /* The Close Button */
  .close {
    color: white;
    float: right;
    font-size: 28px;
    font-weight: bold;
  }
  
  .close:hover,
  .close:focus {
    color: #c5c5c5;
    text-decoration: none;
    cursor: pointer;
  }
  
  .modal-header {
    padding: 10px 16px;
    color: white;
    width: 100%;
  }
  
  .modal-body
  {
    overflow: auto;
  }
  
  .modal-body h2
  {
      letter-spacing: 0px;
      color: white;
  }
  .modal-body p2
  {
      color: white;
  }
  
  .modal-footer {
    height: 25px;
    background-color: #00326b52;
    color: white;
  }
    



