/*NAV*/
body {
    background-image: url(../images/backgroundpic.jpg) !important;
    background-repeat: repeat !important;
    background-size: cover !important;
    background-position: 50% 0% !important;
    background-attachment: fixed !important;
    background-color: #fff !important;
}

a {
    transition: all .2s linear;
}

.work-background a:hover {text-decoration: underline;}
   
.new-window {
        width: 1rem;
        height: 1rem;
    }

img {margin-bottom: .5rem;}

.title-bar,
.top-bar,
.top-bar ul {
    background: transparent;
}

.menu-icon {
    width: 30px;
    height: 26px;
}

.menu-icon::after {
    background: #000;
    box-shadow: 0 9px 0 #000, 0 18px 0 #000;
}

.menu-icon:hover::after {
    background: #cacaca;
    box-shadow: 0 9px 0 #cacaca, 0 18px 0 #cacaca;
}

.mobilemenu a,
.mobilemenu .active a,
.mobilemenu a:visited,
.dropdown.menu a,
.dropdown.menu a:visited {
    color: #444;
    font-size: 1.3rem;
    background: transparent;
}

.hero.callout {
    padding: 0;
    border: 0;
    height: auto;
    padding-bottom: 0;
    margin-bottom: 0;
    margin-top: 0;
}

.offscreen {
    color: transparent;
}

@media print,
screen and (min-width: 40em) {
    .hero.callout {
        margin-top: 2rem;
    }
}


.focal-point {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.focal-point img {
    width: 100%;
    max-width: 100%;
    height: auto;
    -ms-interpolation-mode: bicubic;
}

.focal-point div {
    position: relative;
    max-width: none;
    height: auto;
}

@media all and (max-width: 767px) {



    /* 4x3 Landscape Shape (Default) */
    .focal-point div {
        margin: -3em -4em;
    }

    /* Landscape up (Total 6em) */
    .up-3 div {
        margin-top: -1.5em;
        margin-bottom: -4.5em;
    }

    .right-3 div {
        margin-left: -9em;
        margin-right: -2em;
    }
}

@media all and (max-width: 1023px) {

    .dropdown.menu,
    .top-bar {
        display: none !important
    }

  /*  p,
    li {
        font-size: 1.1rem;
        letter-spacing: -.02rem;
    }*/

    .mobilemenu a,
    .mobilemenu .active a,
    .mobilemenu a:visited,
    .dropdown.menu a,
    .dropdown.menu a:visited {
        font-size: 1.8rem;
    }

}


.mi-icons {
    font-size: 2rem;
}

.mi-name {
    text-align: center;
}

.name-home,
name-home:visited,
.name-home:hover,
.name-home:focus {
    margin-top: .5rem;
    color: #444;
    font-size: 1.7rem;
    letter-spacing: -.03rem;
    /*

    

font-family: 'Amatic SC', cursive;
font-family: 'Sacramento', cursive;
font-family: 'Bad Script', cursive;
font-family: 'Sue Ellen Francisco', cursive;
    
    font-family: 'Sacramento', cursive;
    */
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
}

/*fonts*/

h1,
h2,
h3,
h4,
h5,
p,
li,
a {
    /*

    
    font-family: 'Karla', sans-serif;
font-family: 'Noto Sans SC', sans-serif;
font-family: 'Lato', sans-serif;
font-family: 'Source Sans Pro', sans-serif;
font-family: 'Amatic SC', cursive;
font-family: 'Sacramento', cursive;
font-family: 'Bad Script', cursive;
font-family: 'Sue Ellen Francisco', cursive;
    */

    font-family: 'Karla', sans-serif;


}

p a:hover,  a:hover figcaption {text-decoration: underline;}

.p-2nd {
  margin: 2.5rem 0 1.3rem;}

h1,
.h1 {
    letter-spacing: -.08rem;
    margin: 2rem 0 0;

}

h2,
.h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
}

h3,
.h3 {
    font-size: 1.3rem;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0 0 1.5rem;
}

h4,
.h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 2rem 0 1.5rem;
}

p, .p, li {
    font-size: 1.2rem;
    letter-spacing: -.035rem;
}

li {margin-top: .8rem}

ul {
    margin-bottom: 3rem;
}

.uline a:hover, 
.uline a:focus {
    text-decoration: underline;
}



figcaption {
    font-style: oblique;
    text-align: center;
    margin: 1rem auto 2rem;
}

@media print,
screen and (min-width: 40em) {

    h1,
    .h1 {
        font-size: 2.3rem;
    }

    h2,
    .h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    h3,
    .h3 {
        font-size: 1.4rem;

        margin-bottom: 1rem;

    }

}

/*Mobile menu*/
.full.reveal {
    top: 0px !important;
    left: 0px !important;
    position: absolute;
    padding-top: 5rem;
    height: 100% !important;
    min-height: 100% !important;
}

.full.reveal .callout {
    border: 0;
    text-align: center
}


.full.reveal .close-button {

    margin-right: .3rem;
    font-size: 3em;
    top: 3px;
}


@media only screen and (min-width: 1024px) {
    
    .new-window {
        width: 1rem;
        height: 1rem;
    }
    
    .title-bar {
        display: none
    }
}

h1.intro,
.welcome-accordion {
    padding-left: .5rem;
}

/*ACCORDION*/
.accordion {
    background: transparent;
}

.welcome-accordion {
    margin-top: 1rem;
    margin-bottom: 2rem;
}

@media print,
screen and (min-width: 40em) {
    .welcome-accordion {
        margin-top: 1.2rem;
        margin-bottom: 1.5rem;
    }
}


.accordion-title {
    position: relative;
    display: block;
    padding: 1.25rem 1rem;
    border: 1px solid #e6e6e6;
    border-bottom: 0;
    font-size: 0.75rem;
    line-height: 1;
    color: #1779ba;
}

.welcome-accordion-item .accordion-title {
    background-color: #f5f5f5;
    color: #717171;
    font-size: 1.35rem;
    line-height: 1.5;
    letter-spacing: -0.035rem;
    padding-left: 0;
    background: none;
    border: none;
    border-bottom: 1px dashed #d6d6d6;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.accordion-item:first-child > :first-child {
    border-radius: 0 0 0 0;
}

.welcome-accordion-item.is-active .accordion-title {
    margin-bottom: 0;
    border-bottom: none;
    color: #0a0a0a;
    border: none;
    padding-left: 1rem;
}


.accordion-content {
    display: none;
    padding: 1rem;
    border: none;
    border-bottom: 0;
    background-color: #fefefe;
    color: #0a0a0a;
}

:last-child > .accordion-content:last-child {
    border-bottom: none;
}

.welcome-accordion-item.is-active .accordion-content {
    border: none;
    border-bottom: 1px dashed #e6e6e6;
}

.accordion-title::before {
    position: absolute;
    top: 50%;
    right: 1rem;
    margin-top: -0.5rem;
    content: '+';
}

.welcome-accordion-item .accordion-title::before {
    color: #8a8a8a;
    font-size: 1.25rem;
    line-height: 1.1;
    top: 45%;
    border-radius: 50%;
    border: 1px solid #e6e6e6;
    background-color: #fefefe;
    width: 25px;
    height: 25px;
    text-align: center;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.welcome-accordion-item .accordion-title:hover::before,
.welcome-accordion-item .accordion-title:focus::before {
    color: #0a0a0a;
    background-color: #fafafa;
    border: 1px solid #cacaca;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.welcome-accordion-item .accordion-title:hover,
.welcome-accordion-item .accordion-title:focus{
    text-decoration: underline;
}

.welcome-accordion ul {
    margin-bottom: 1rem;
}

/*logos*/
.worklogos {
    text-align: center;
    margin-top: 0;
}

.worklogos .small-6 {
    margin-bottom: 3rem;
}

.salesforcelogo {
    width: 4rem
}

.vlocitylogo {
    width: 8rem;
}

.anzlogo {
    width: 6rem;
}

.visauslogo {
    width: 8rem;
}

.barclogo {
    width: 7.5rem;
}

.auspostlogo {
    width: 9rem;
}




@media print,
screen and (min-width: 40em) {

    .worklogos {
        margin-top: 1rem;
    }

    .worklogos .medium-6 {
        margin-bottom: 4rem;
    }
    
    .salesforcelogo {
    width: 5rem
    }

    .vlocitylogo {
        width: 11rem;
    }

    .anzlogo {
        width: 8rem;
    }

    .visauslogo {
        width: 9rem;
    }

    .barclogo {
        width: 10rem;
    }
    
    .auspostlogo {
    width: 11rem;
}

}

@media print,
screen and (min-width: 64em) {

    .worklogos .small-6,
    .worklogos .medium-6 {
        margin-bottom: 1rem;
    }

}

    /*FOOTER*/
    .footer-block {
        display: inline-block;

    }

    .footer-block.social {
        margin-top: 0;
        float: right
    }

    p.footer-block.copyright {
        color: #555;
        margin: .5rem 0 0;
    }

    .fi-crown {
        font-size: 3rem;
    }

    .footer-block .mi-icons {
        font-size: 2rem;
        padding-right: .5rem
    }

    /*ABOUT*/
    .callout.about {
        border: 0
    }

    .about.greybg {
        background: #f8f8f8;
    }

    @media print,
    screen and (min-width: 40em) {

        .callout.about {
            margin: 2rem;
            padding: 2rem;
        }

        .menu .active > a {
            background: #444;

        }
        
        .menu .inactive > a:hover,
        .menu .inactive > a:focus, 
        .menu .active > a:hover,
        .menu .active > a:focus {
            background: #888;
            color: #fff;


        }

        .dropdown.menu .active a,
        .dropdown.menu .active a:visited {
            color: #fff;

        }
    }

    /*WORK*/
    .work {
        padding-top: 2rem;
    }

    img.imgborder {border: 1px solid #eee;}

    .work .callout {
        min-height: 12rem;
        border: 0;
        background-repeat: no-repeat;
        /*background-attachment: fixed;*/
        background-color: #fff;
    }

    .callout.anz {
        background-image: url(../images/anz-mobile-ui.jpg);
        background-size: 500px auto;
        background-position: 0px -22px;
    }

    .callout.auspost {
        background-image: url(../images/auspost.jpg);
        background-size: 660px auto;
        background-position: -4rem 0rem;
    }

    .callout.apparel21 {
        background-image: url(../images/apparel21.jpg);
        background-size: 500px auto;
        background-position: 0 30px;
    }

    .callout.years {
        background-image: url(../images/years.jpg);
        background-size: 500px auto;
        background-position: 0rem 4rem;
    }

    .callout.vlocity {
        background-image: url(../images/vlocity.png);
        background-size: auto 110%;
        background-repeat: no-repeat;
        background-color: transparent;
        background-position: -8rem 4rem;
    }

    .callout.salesforce {
        background-image: url(../images/salesforce.png);
        background-size: 500px auto;
        background-position: 0rem 4rem;
    }



 @media only screen and (min-width: 280px) {
     
         .callout.vlocity {
            background-position: -14rem 4rem;
        }    
        .h1-banner {
        padding: 0 1rem;
        }
    }

 @media only screen and (min-width: 640px) {
     
         .callout.vlocity {
            background-position: -8rem 4rem;
        }    
    }

 @media only screen and (min-width: 768px) {
     
         .callout.vlocity {
            background-position: 0rem 4rem;
        }    
    }

    @media only screen and (min-width: 1024px) {
        .work .callout {
            min-height: 18rem;
        }
        
    .callout.salesforce {
        background-image: url(../images/salesforce.png);
        background-size: 500px auto;
        background-position: 4rem 4rem;
    }
        
        .callout.anz {
            background-size: 560px auto;
            background-position: 0 -32px;

        }

        .callout.auspost {
            background-size: 660px auto;
            background-position: 100% -20px;
        }

        .callout.apparel21 {
            background-size: 570px auto;
            background-position: 0 40px;
        }

        .callout.years {
            background-image: url(../images/years.jpg);
            background-size: 530px auto;
            background-position: 0rem 3rem;
        }
        .h1-banner {
        padding: 1rem 0.5rem .5rem;
        }
    }

    @media only screen and (min-width: 1150px) {
        
        .callout.vlocity {
            background-position: 0rem 4rem;
        }
       
        .callout.anz {
            background-size: 730px auto;
            background-position: 40% -60px;
        }

        .callout.auspost {
            background-size: 680px auto;
            background-position: 50% -20px;
        }

        .callout.apparel21 {
            background-size: 690px auto;
            background-position: 13% 20px;
        }

        .callout.years {
            background-image: url(../images/years.jpg);
            background-size: 680px auto;
            background-position: 0rem 3rem;
        }
        .h1-banner {
        padding: 2rem 0.7rem 1rem;
        }
        .h1-banner.aboutpage {
        padding: 2rem 2rem 0;
        }        
        
    }

    .work-background {
        padding: 1.5rem 0.7rem;
    }


    .work-background.grey {
        background-color: rgb(231, 232, 236);
    }

    .work-background .grid-x.grid-padding-x {
        padding-bottom: 1rem;
    }

    h1.worktitle {
        font-size: 1.8rem;
        margin-top: 0;
        margin-bottom: 1.5rem;
    }

    @media only screen and (min-width: 1024px) {
        .work-background {
            padding: 4rem 0.5rem;
        }

        h1.worktitle {
            font-size: 2.6rem;
            margin-bottom: 2.2rem;
        }

    }

    @media only screen and (min-width: 40em) {


        h1.worktitle {
            font-size: 2.6rem;
            margin-bottom: 2rem;
        }

    }

    .grid-container {
        max-width: 88rem;
    }
