/*! HTML5 Boilerplate v5.0 | MIT License | http://h5bp.com/ */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


/* ==========================================================================
   Author's custom styles
   ========================================================================== */




body {
    background: #F8F8F8;
    font-family: 'Gibson-Web', Gibson, Helvetica Neue, Helvetica, sans-serif;
}

.transition * {
    -webkit-transition: all .2s ease-in-out;
    -moz-transition: all .2s ease-in-out;
    -ms-transition: all .2s ease-in-out;
    -o-transition: all .2s ease-in-out;
    transition: all .2s ease-in-out;
}

h1, h2, h3, h4 {
    font-weight: 300;
}
h1 strong, h2 strong, h3 strong, h4 strong {
    font-weight: 600;
}
h1 {
    font-size: 32px;
    line-height: 1.25;
}
h2 {
    font-size: 24px;
}
h3 {
    font-size: 20px;
}
h4 {
    font-size: 14px;
    line-height: 1.6;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #666666;
}
p {
    font-weight: 300;
    color: #666666;
}
p a {
    font-weight: 400;
    color: #000000;
    text-decoration: none;
}
p a:hover {
    color: #666666;
}

.container {
    margin: 0 auto;
    margin-top: 80px;
    margin-bottom: 80px;
    max-width: 1272px;
}

.g8 {
    margin: 0 auto;
    width: 90%;
}
.g10 {
    margin: 0 auto;
    width: 90%;
}
.g10 .g8 {
    width: 100%;
}

.bio p {
    font-size: 18px;
    line-height: 1.5;
}

.profile-photo {
    margin-bottom: 55px;
}

.profile-photo img {
    width: 50%;
    max-width: 192px;
    -moz-border-radius: 100px;
    -webkit-border-radius: 100px;
    border-radius: 100px;
    -moz-box-shadow: 0 10px 60px rgba(0,0,0,0.15);
    -webkit-box-shadow: 0 10px 60px rgba(0,0,0,0.15);
    box-shadow: 0 10px 60px rgba(0,0,0,0.15);
}

.clients {
    margin-top: 68px;
    border-top: 1px solid #d5d5d5;
    border-bottom: 1px solid #d5d5d5;
    padding: 54px 0 21px;
}
.clients h4 {
    margin-top: 0;
}

.logos {
    list-style: none;
    margin-top: 40px;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-flow: row wrap;
}

.logos li {
    margin-right: 24px;
    margin-bottom: 20px;
}

.logos li:last-child {
    margin-right: 0;
}

.preview {
    margin-top: 90px;
    margin-bottom: 70px;
}

.sample-wrap {
    margin-bottom: 80px;
    width: 100%;
    position: relative;
    -moz-box-shadow: 0 20px 80px rgba(0,0,0,0.15);
    -webkit-box-shadow: 0 20px 80px rgba(0,0,0,0.15);
    box-shadow: 0 20px 80px rgba(0,0,0,0.15);
}

.sample {
    padding-bottom: 60.60606061%;
}

.xo-ehr {
    background-image: url(../img/xo-ehr.jpg);
    background-repeat: no-repeat;
    background-size: contain;
}

.xo-ios {
    background-image: url(../img/xo-ios.jpg);
    background-repeat: no-repeat;
    background-size: contain;
}

.xm {
    background-image: url(../img/xm.jpg);
    background-repeat: no-repeat;
    background-size: contain;
}

.wm {
    background-image: url(../img/wm.jpg);
    background-repeat: no-repeat;
    background-size: contain;
}

.ds-comments {
    background-image: url(../img/ds-comments.jpg);
    background-repeat: no-repeat;
    background-size: contain;
}

.label {
    padding: 20px 5%;
    background: rgba(255,255,255,0.9);
    background: -moz-linear-gradient(45deg, rgba(239,239,239,0.9) 0%, rgba(255,255,255,0.97) 100%);
    background: -webkit-linear-gradient(45deg, rgba(239,239,239,0.9) 0%, rgba(255,255,255,0.97) 100%);
    background: linear-gradient(45deg, rgba(239,239,239,0.9) 0%, rgba(255,255,255,0.97) 100%);
    -moz-box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    -webkit-box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.label h3 {
    margin: 0 0 4px 0;
}

.label p {
    margin: 0;
    font-size: 15px;
    line-height: 1.3333334;
}

.contact {
    padding: 40px 0 20px;
}

.icons {
    list-style: none;
    padding: 10px 0 0;
}

.icons li {
    display: inline-block;
    margin-left: 28px;
}

.icons li:first-child {
    margin-left: 0;
}

.icons img {
    width: 85%;
    border: none;
}

.icons img:hover {
    -moz-transform: scale(1.2);
    -webkit-transform: scale(1.2);
    -o-transform: scale(1.2);
    -ms-transform: scale(1.2);
    transform: scale(1.2);
}




/* ==========================================================================
   Media Queries
   ========================================================================== */


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


    .logos li {
        margin-right: 32px;
    }

    .logos li:last-child {
        margin-right: 0;
    }

}


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

    h1 {
        font-size: 40px;
    }
    h2 {
        font-size: 28px;
    }
    h4 {
        font-size: 16px;
    }

    .logos {
        justify-content: space-between;
    }

    .sample-wrap {
        margin-bottom: 120px;
    }
    .sample-wrap:nth-child(odd) .label {
        margin-left: 4%;
    }

    .sample-wrap:nth-child(even) .label {
        margin-right: 4%;
        right: 0;
    }

    .label {
        position: absolute;
        top: 50%;
        -ms-transform: translateY(-50%);
        -moz-transform: translateY(-50%);
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        width: 300px;
        padding: 36px 3.409090909%;
    }
    .label h3 {
        margin: 0 0 8px 0;
    }
    .label p {
        font-size: 18px;
    }

    .icons li {
        margin-left: 32px;
    }
    .icons img {
        width: auto;
    }


}



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

    h1 {
        font-size: 48px;
    }
    h2 {
        font-size: 32px;
    }
    h3 {
        font-size: 24px;
    }
    .container {
        margin-top: 100px;
        margin-bottom: 100px;
    }
    .g8 {
        width: 66.03773585%;
    }
    .g10 {
        width: 83.018867924%;
    }
    .g10 .g8 {
        width: 79.54545455%;
    }

    .bio p {
        font-size: 21px;
    }

    .clients {
        margin-top: 80px;
        margin-bottom: 60px;
        padding: 64px 0 28px;
    }

    .preview {
        margin-top: 110px;
        margin-bottom: 90px;
    }

    .sample-wrap {
        margin-bottom: 160px;
    }
    .sample-wrap:nth-child(odd) .label {
        margin-left: 6.818181818%;
    }

    .sample-wrap:nth-child(even) .label {
        margin-right: 6.818181818%;
    }

}



@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) { 
   .xo-ehr {
        background-image: url(../img/xo-ehr@2x.jpg);
    }

    .xo-ios {
        background-image: url(../img/xo-ios@2x.jpg);
    }

    .xm {
        background-image: url(../img/xm@2x.jpg);
    }

    .wm {
        background-image: url(../img/wm@2x.jpg);
    } 

    .ds-comments {
        background-image: url(../img/ds-comments@2x.jpg);
    } 
}





/*    .sample {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
    }

    .sample-wrap:nth-child(even) .sample {
        justify-content: flex-end;
    }

    .label {
        width: 300px;
        padding: 36px 3.409090909%;
        background: rgba(255,255,255,0.9);
        background: -moz-linear-gradient(45deg, rgba(239,239,239,0.9) 0%, rgba(255,255,255,0.97) 100%);
        background: -webkit-linear-gradient(45deg, rgba(239,239,239,0.9) 0%, rgba(255,255,255,0.97) 100%);
        background: linear-gradient(45deg, rgba(239,239,239,0.9) 0%, rgba(255,255,255,0.97) 100%);
        -moz-box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        -webkit-box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }

    .sample-wrap:nth-child(odd) .label {
        margin-left: 6.818181818%;
    }

    .sample-wrap:nth-child(even) .label {
        margin-right: 6.818181818%;
    }

    .label h3 {
        margin: 0 0 8px 0;
    }

    .label p {
        margin: 0;
        font-size: 18px;
        line-height: 1.3333334;
    }*/






@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {

}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   Print styles
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}