/*! HTML5 Boilerplate v5.1.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

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

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

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

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

/*
 * A better looking default horizontal rule
 */

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

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
 
        body{ font-family: helvetica, arial, san-serif;}
        header{ height: 88px; background-color: #004468; }
        header p{ color: #fff; padding: 0; margin: 0; font-size: 12px;}

        .wrapper{ width: 1024px; min-height: 800px; margin: 0 auto; background: url(../img/img-physicians-bg.jpg) no-repeat; position: relative; }
        .content{ width: 856px; margin: 0 auto; padding-top: 75px; color: #03486d;}

        div.juice img{ position: absolute; top: 0; left: 0; }

        ul{ margin-left: 0; padding-left: 0; }
        h1{ 
          font-size: 44px;
          margin: 0.67em 0;
          line-height: 110%;
          color: #007ec1;
          padding-left: 30px;
        }
        h2{
            padding-left: 30px;
            color: #4e4d4d;
            font-size: 28px;
            font-weight: normal;
            margin-bottom: 0;
        }
        ul.physician-intro-list{
            padding-left: 55px;
            font-size: 28px;
            color: #4d4d4d;
            margin-top: 0;
        }
        sup{ font-size: 50%;}

        .content-narrow{
            margin: 0 40px;
        }

        .step{ margin-left: -90px; }
        .step-line {
          width: 130px;
          border-bottom: 1px solid black;
          margin: 5px 0;
        }
        .step-1-title{ background: url(../img/img-step-1-bg.jpg) no-repeat; height: 113px; }
        .step-1-title{ font-size: 30px; color: #004468;  }
        .step-1-title p{ padding: 10px 0 0 0; margin: 0; text-align: center; }
        .step-1-title p.bold{ font-weight: bold; font-size: 35px; padding: 0; margin: 0; text-align: center; }

        
        .radio-questions{ margin-bottom: 60px;  }
        .radio-questions p{ font-family: 'Lobster Two', Helvetica, sans-serif; padding: 10px; font-size: 24px; }
        .radio-buttons{ padding: 0 10px; text-align: center; }
        .radio-buttons input[type="radio"]{ margin-left: 50px;}
        .radio-buttons input[type="radio"]:first-child{ margin-left: 0px;}
        .radio-box{ 
            float: left;
            margin-left: 25px;
            width: 240px;
            height: 240px;
            border: 1px solid #fffcd5;
            -webkit-border-radius: 5px 5px 5px 5px;
            border-radius: 5px 5px 5px 5px; 
            background-color: #fffcd5;
            -webkit-box-shadow: 0px 5px 5px 0px rgba(50, 50, 50, 0.75);
            -moz-box-shadow:    0px 5px 5px 0px rgba(50, 50, 50, 0.75);
            box-shadow:         0px 5px 5px 0px rgba(50, 50, 50, 0.75);             
        }
        .radio-box:first-child{ margin-left: 0;}

        .specialty-list{ list-style-type: none; }
        .specialty-list li{ padding-left: 20px;   padding-bottom: 10px; font-size: 18px;}
        .specialty-cb{ margin-right: 10px; float: left;  margin-top: 20px; }
        label.specialty-text{ 
            padding: 10px;
              margin-bottom: 20px;
              background-color: #d5d5d5;
              -webkit-border-radius: 5px 5px 5px 5px;
              border-radius: 5px 5px 5px 5px;
              -webkit-box-shadow: 0px 5px 5px 0px rgba(50, 50, 50, 0.75);
              -moz-box-shadow: 0px 5px 5px 0px rgba(50, 50, 50, 0.75);
              box-shadow: 0px 5px 5px 0px rgba(50, 50, 50, 0.75);
              width: 210px;
              display: block;
              float: left;
              color: #004468;
              font-weight: bold;
              cursor: pointer;
        }
        label.specialty-text-over{
            background-color: #004468;
            color: #fff;
        }
        .col-2{ float: left; width: 280px; padding-left: 50px;}
        .col-2:first-child{ float: left; width: 280px;}

        .specialty-input-section{ padding-left: 20px; }
        .other-specialty{ width: 230px;}

        .sortable-numbers{ float: left; }
        .sortable-numbers ul{ list-style-type: none; }
        .sortable-numbers ul li{
            padding: 10px;
            margin-bottom: 20px;
            background-color: #d5d5d5;
            -webkit-border-radius: 5px 5px 5px 5px;
            border-radius: 5px 5px 5px 5px;        
            -webkit-box-shadow: 0px 5px 5px 0px rgba(50, 50, 50, 0.35);
            -moz-box-shadow:    0px 5px 5px 0px rgba(50, 50, 50, 0.35);
            box-shadow:         0px 5px 5px 0px rgba(50, 50, 50, 0.35);         
            font-weight: bold;       
        }
        .sortable-list{ float: left; }
        .sortable-list ul{ list-style-type: none; margin-left: 20px; }
        .sortable-list li{
            cursor: move;
            padding: 10px;
            margin-bottom: 20px;
            background-color: #d5d5d5;
            -webkit-border-radius: 5px 5px 5px 5px;
            border-radius: 5px 5px 5px 5px;        
            -webkit-box-shadow: 0px 5px 5px 0px rgba(50, 50, 50, 0.35);
            -moz-box-shadow:    0px 5px 5px 0px rgba(50, 50, 50, 0.35);
            box-shadow:         0px 5px 5px 0px rgba(50, 50, 50, 0.35);    
            width: 745px;            
            font-weight: bold;
        }

        .step-2{ margin-bottom: 60px; }

        select{ width: 765px;}
        .k-dropdown .k-input, .k-dropdown .k-state-focused .k-input, .k-menu .k-popup{ color: #e34525; font-weight: bold; }
        .k-dropdown{ width: 765px; }
        .k-icon {
          background: url(../img/img-down-arrow.png) no-repeat 0px 0;
          width: 32px;
          height: 16px;
        }

        .othertopics{ width: 765px;  height: 92px; width: 815px;}

        .intro-text{ font-size: 28px; }

        p.error{ font-size: 28px; padding: 0 20px; color: #ff0000; }

        .emphasis1{ color: #3fc3dc; }
        .emphasis2{ color: #007ec1; }
        .center{ text-align: center; }
        .uppercase{ text-transform: uppercase; }
        .bold{ font-weight: bold;}
        .pad-bottom{ padding-bottom: 20px;}
        .no-pad-top{ padding-top: 0; }

        /* ====== media ====== */
        .media {}
        .media, .bd {overflow:hidden; _overflow:visible; zoom:1; }
        .media .img {float:left; }
        .media .img img{display:block;}
        .media .imgExt{float:right; }        
        .bd.intro-text {
             padding-top: 40px;
        }

        .resource{ margin-bottom: 15px; position: relative;   float: left;   width: 350px;  margin-right: 30px; }
        .resource .bd{ padding-left: 10px; }
        .resource h2{ font-size: 24px; margin: 0; padding: 0; font-weight: bold; line-height: 120%; }
        .content .resource p{   font-size: 12px; margin: 0; padding: 0; }
        .view{   position: absolute;  bottom: 0px;}
        .view-pdf{   font-size: 18px; color: #4e4d4d; font-weight: bold; text-decoration: none; }

        @media only screen and (min-width: 660px) and (max-width: 1023px) {
            header{ width: 660px; margin: 0 auto;}
            h1{ padding-left: 60px; font-size: 34px; padding-left: 30px; }
            h2{ font-size: 24px; }
            ul.physician-intro-list{ font-size: 24px; }
            .wrapper{ width: 660px;  background-position: top center; }
            .content{ width: 600px; }
            .radio-box{ float: none; margin: 0 auto 20px; }
            .radio-box:first-child{ float: none; margin: 0 auto 20px; }
            .radio-questions {  margin-bottom: 0px; }
            .radio-questions p{ padding-top: 60px;}

            .col-2{  width: 280px; padding-left: 0px;}
            .col-2:first-child{  width: 280px;}
            .specialty-list{ margin-top: 0; padding-top: 0;  margin-bottom: 0; }

            .specialty-input-section{ padding-left: 40px; }
            .other-specialty{ width: 230px;}
            
            .bd.intro-text{ padding-top: 0px; font-size: 18px; }

            .sortable-numbers{ display: none; }
            .sortable-list li{ width: 480px; }
            select{ width: 520px; }
            .k-dropdown{ width: 520px; }
            .step{ margin-left: 0px; text-align: center; }
            .step-2{ margin-bottom: 0;}
            .step-1-title{ background: none; font-size: 24px; }
            .step-1-title p.bold{ font-size: 28px; }
            .othertopics{ width: 520px;}
            .media .img {
                float: none; 
            }   
            .resource{ float: none; }         
            
        }
        @media only screen and (min-width: 480px) and (max-width: 659px) {
            header{ width: 480px; margin: 0 auto;}
            h1{
                font-size: 28px;
                  padding-top: 10px;
padding-bottom: 0px;
  padding-left: 30px;        
            }
            h2{ font-size: 22px; }
            ul.physician-intro-list{ font-size: 24px; }
            .wrapper{ width: 480px; background-position: top center; }
            .content{ width: 440px; }
            .content-narrow{ margin: 0;}
            .radio-box{ float: none; margin: 0 auto 20px; }
            .radio-box:first-child{ float: none; margin: 0 auto 20px; }
            .radio-questions {  margin-bottom: 0px; }
            .radio-questions p{ padding-top: 60px;}

            .col-2{  width: 280px; padding-left: 0px;}
            .col-2:first-child{  width: 280px;}
            .specialty-list{ margin-top: 0; padding-top: 0;  margin-bottom: 0; }

            .specialty-input-section{ padding-left: 40px; }
            .other-specialty{ width: 230px;}

            .bd.intro-text{ padding-top: 0px; font-size: 18px; }

            .sortable-numbers{ display: none; }
            .sortable-list li{ width: 360px; }
            select{ width: 360px; }
            .step{ margin-left: 0px; text-align: center; }
            .step-1-title{ background: none; font-size: 24px; }
            .step-1-title p.bold{ font-size: 28px; }
            .step-2{ margin-bottom: 0;}
            .othertopics{ width: 400px; }
            .media .img {
                float: none; 
            }            
            .resource{ float: none; }         
        }
        @media only screen and (max-width: 480px) {
            header{ width: 320px; margin: 0 auto;}
            h1{   font-size: 25px; padding-left: 30px; padding-bottom: 0px;}
            h2{ font-size: 18px; }
            ul.physician-intro-list{ font-size: 18px; }
            div.juice img{ display: none; }
            .wrapper{ width: 320px; background-position: top center; }
            .content{ width: 300px; }
            .content-narrow{ margin: 0; }
            .radio-box{ float: none; margin: 0 auto 20px; }
            .radio-box:first-child{ float: none; margin: 0 auto 20px; }
            .radio-questions {  margin-bottom: 0px; }
            .radio-questions p{ padding-top: 60px;}

            .col-2{  width: 280px; padding-left: 0px;}
            .col-2:first-child{  width: 280px;}
            .specialty-list{ margin-top: 0; padding-top: 0;  margin-bottom: 0; }

            .specialty-input-section{ padding-left: 40px; }
            .other-specialty{ width: 230px;}

            .sortable-numbers{ display: none; }
            .sortable-list li{ width: 220px; }
            select{ width: 300px; }
            .k-dropdown{ width: 300px; }

            .bd.intro-text{ padding-top: 0px; font-size: 18px; }
            .step{ margin-left: 0px; text-align: center; }
            .step-1-title{ background: none; font-size: 20px; }
            .step-1-title p.bold{ font-size: 24px; }
            .step-2{ margin-bottom: 0;}
            .othertopics{ width: 300px; }
            .media .img {
                float: none; 
            }
            .resource{ float: none; width: 280px; }        
            .resource h2{ font-size: 18px; margin: 0; padding: 0; font-weight: bold;   line-height: 110%;}
        .content .resource p{   font-size: 12px; margin: 0; padding: 0; }
        .view-pdf{ font-size: 14px; }
        }


        body.juice{ margin: 0 auto; text-align: center;}
        @media only screen and (max-width: 928px) {
            body.juice img{ width: 100%; }
            body.juice header{ width: 100%; }
        }
















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

/*
 * Hide visually and from screen readers:
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

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

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        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) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

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

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

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    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;
    }
}
