/*
 * HTML5 Boilerplate
 *
 * 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,
button,
input,
select,
textarea {
    color: #222;
}

body {
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * 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 images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

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

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

.bold{font-weight: 700;}
.underline{text-decoration: underline;}
.hide{display: none;}
.block{display: block;}
.inline-block{display: inline-block;}
.valign{display: table-cell;vertical-align: middle;} /* Must explicitly set height and width on .valign element in order for vertical-align to work */
.pointer{cursor: pointer;}
.relative{position: relative;}
.background{position: absolute;top: 0;left: 0; bottom: 0;right: 0;}
.text-left{text-align: left;}
.text-center{text-align: center;}
.text-right{text-align: right;}

::-webkit-input-placeholder {color: #6B6B6B;}
:-moz-placeholder {color: #6B6B6B;}
::-moz-placeholder {color: #6B6B6B;}
:-ms-input-placeholder {color: #6B6B6B;}

.wrapper{
    font: 12px Arial,Helvetica,sans-serif;
    color: #333333;
    border: 2px solid #cccccc;
    border-radius: 15px;
    padding: 20px;
    width: 100%;
    max-width: 650px;
    margin: 10px auto;
    box-sizing: border-box;
}

.no_border{
    border: none;
    font-size: 11px;
    color: #838383;
}

h1 {
    font-size: 20px;
    font-family: Arial,Helvetica,sans-serif;
    font-weight: strong;
    color: #034C1F;
}

.no_border h1 {
    font-size: 14px;
    color: #2EB135;
    margin-bottom: 3px;
    font-weight: 700;
}

.healthcare{
    color: #034c1f;
    font-size: 14px;
    font-weight: 700;
    margin-top: 15px;
}

section{
    margin-top: 10px;
}

section div{
    display: inline-block;
    padding: 10px;
    height: 65px;
    border-radius: 10px;
    color:#ffffff;
    vertical-align: top;
    margin: 0 10px;
    font: 13px Arial,Helvetica,sans-serif;
}

.box_eo {
    color: #034c1f;
    font-weight: bold;
    font-family: Arial,Helvetica,sans-serif;
}

section div a{
    text-decoration: none;
    color: #ffffff;
    font-weight: 700;
}

.required {
    font-size:11px; 
    line-height:18px; 
    margin: 10px 20px 5px 0px;
    font-weight: 700;
}
.info_header{
    color: #034c1f;
    font-weight: 700;
    line-height: 18px;
    margin: 5px 20px 10px 0px;
}
#webform table{
    table-layout: fixed;
    width: 100%;
    margin: 0 auto;
}

#webform table td{
    height: 50px;
    vertical-align: top;
    text-align: left;
}

.col_left{
    width: 40%;
    min-width: 110px;
}

.position {
    display: inline-block;
    vertical-align: top;
    margin-top: 5px;
}

.position.label {
    padding-top: 3px;
    width: 40%;
}

#webform label{
    font-weight: bold;
    line-height: 28px;
    font-size: 13px;
}

#webform label[for=state]{
	color: #034C1F;
}

#webform label[for=affiliation], #webform label[for=specialty]{
	line-height: 16px;
}

#webform label[for=npi]{
	margin-left: 16px;
    line-height: 35px;
}

#webform input[name=npi]{
	width: 159px !important;
}
#webform input[name=npi_v2]{
	width: 154px !important;
}

#webform .npi_specialty{
	margin-left: 10px;
}
#webform .npi_specialty_v2{
	margin-left: 10px;
}

#webform .subtext {
    font-size: 10px;
}

#webform input[type=text]{
    height: 26px;
    width: 100%;
    color: inherit;
    font: inherit;
    font-size: 14px;
    line-height: normal;
    background: #f6f6f6;
    border: 1px solid #e6e6e6;
    box-shadow: 0px 0px 15px 0px rgba(204, 204, 204, 0.75) inset; 
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

#webform input[type=radio] {
    display: none;
}

#webform input[type=radio] + label > div {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 1px solid #000000;
    background-color: #ffffff;
    position: relative;
    top: 4px;
    margin-right: 5px;
    border-radius: 9px;
}

#webform input[type=radio]:checked + label > div {
    background-color: #000000;
    box-shadow: 0px 0px 0 3px #ffffff inset;
}

#webform select{
    height: 26px;
    width: 100%;
    color: inherit;
    font: inherit;
    line-height: normal;
    background: #f6f6f6;
    border: 1px solid #e6e6e6;
    box-shadow: 0px 0px 15px 0px rgba(204, 204, 204, 0.75) inset;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}
select#specialty{width: 159px;}
select#specialty_v2{width: 158px;}

input[name=position]{margin-top: 5px;}
input[name=position]:last-of-type{margin-bottom: 15px;}

.form_note{
    font-weight: normal;
    background-color: #c2d7bf;
    width: 100%;
    padding: 15px;
    margin: 0 auto;
    box-sizing: border-box;
}

.form_note p{margin: 0 0 15px 0;}
.form_note p:last-child{margin: 0;}

.cta {
    display: inline-block;
    margin-left: 445px;
    border: 0;
    border-radius: 5px;
    background: #034c1f;
    padding: 8px 50px 8px 50px;
    color: #fff;
    position: relative;
    margin-top: 15px;
    font: 13px/1.231 Akkurat-Pro-Bold, arial, sans-serif;
}

.cta:after {
    content: '';
    display: block;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 4px solid #fff;
    position: absolute;
    top: 50%;
    right: 40px;
    margin-top: -4px;
}

.cta:hover {
  background: #c6d52f;
}

.section-nav {
  border-bottom: 1px dotted;
  color: #034c1f !important;
  text-decoration: none;
  font-family: Akkurat-Pro-Bold, arial, sans-serif;
}

.section-nav:hover {
  border-color: #034c1f;
  color: #034c1f;
}      

.error{
    color:#cd3500;
    font-weight: normal;
    line-height: 22px;
    font-size: 13px;
}

.rule{
    border-top: 2px solid #dddddd;
    margin-bottom: 10px;
}

.no_border a{color: #336699;}
.npi {
	display: none;
}

/*************** Updated June 17th 2015 ************************************/
.info_header_v2 {
    color: #80276C;
    font-weight: 700;
    line-height: 18px;
    margin: 5px 20px 10px 20px;
}
.bc_green {
    background-color: #034C1F!important;
}
/**************** End Updated CSS *******************************************/

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

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 150%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

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

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.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: h5bp.com/p
 */

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

/*
 * Hide visually and from screenreaders, 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;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   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,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        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 for images, or javascript/internal links
     */

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

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

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

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

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

    @page {
        margin: 0.5cm;
    }

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

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

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

    .wrapper {
        padding: 10px;
    }

    .col_left {
        width: 120px;
    }

    #webform table td {
        height: 35px;
    }

    .cta {
        display: inline-block;
        margin: 0 auto;
        border: 0;
        border-radius: 5px;
        background: #034c1f;
        padding: 8px 50px 8px 50px;
        color: #fff;
        position: relative;
        margin-top: 15px;
        font: 13px/1.231 Akkurat-Pro-Bold, arial, sans-serif;
        left: 50%;
        margin-left: -70px;
    }

    .cta:after {
        content: '';
        display: block;
        border-top: 4px solid transparent;
        border-bottom: 4px solid transparent;
        border-left: 4px solid #fff;
        position: absolute;
        top: 50%;
        right: 40px;
        margin-top: -4px;
    }

    .position, .position.label {
        width: 100%;
    }
}