/*! HTML5 Boilerplate v5.3.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
   ========================================================================== */

@font-face {
    font-family: 'MyriadPro-BoldCond';
    src: url('../fonts/MyriadPro-BoldCond.eot');
    src: url('../fonts/MyriadPro-BoldCond.eot?#iefix') format('embedded-opentype'),
        url('../fonts/MyriadPro-BoldCond.woff2') format('woff2'),
        url('../fonts/MyriadPro-BoldCond.woff') format('woff'),
        url('../fonts/MyriadPro-BoldCond.ttf') format('truetype'),
        url('../fonts/MyriadPro-BoldCond.svg#MyriadPro-BoldCond') format('svg');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Myriad Pro cn';
    src: url('../fonts/MyriadPro-SemiboldCond.eot');
    src: url('../fonts/MyriadPro-SemiboldCond.eot?#iefix') format('embedded-opentype'),
        url('../fonts/MyriadPro-SemiboldCond.woff2') format('woff2'),
        url('../fonts/MyriadPro-SemiboldCond.woff') format('woff'),
        url('../fonts/MyriadPro-SemiboldCond.ttf') format('truetype'),
        url('../fonts/MyriadPro-SemiboldCond.svg#MyriadPro-SemiboldCond') format('svg');
    font-weight: 600;
    font-style: normal;
}

*{
    box-sizing: border-box;
}

html {
    color: #000000;
    font-size: 1em;
    line-height: 1.4;
	background-color: #FFF;
   
}

body {
     font-family: "Myriad Pro", Myriad, Helvetica, Arial, sans-serif;
}

/*
 * 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
   ========================================================================== */

















/* ==========================================================================
   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;
}


/*
 *  Hero Banner
 */

.logo_brand {
    width: 500px;
    margin: 0 auto;
    padding-top: 20px;
}

.logo_brand img,
.media_banner img {
    max-width: 100%;
}

.media_banner {
    padding-bottom: 30px;
}

.container {
    width: 1170px;
    margin: 0 auto;
    position: relative;
}

.hero_banner {
    background: url(../img/banner.jpg) no-repeat;
    background-size: cover;
    width: 100%;
    height: auto;
    position: relative;
}


/*
 *  Form Container
 */


.form_panel_group {
    width: 475px;
    float: left;
    margin-top: 80px;
}

.form_panel_head {
    width: 100%;
    color: #fff;
    text-align: center;
    text-transform: uppercase;
}

.form_panel_head sup {
    line-height: 15px;
}
.form_panel_head h1 {
    margin: 0;
    line-height: 50px;
    font-family: "MyriadPro-BoldCond";
    font-size: 2.5em;
    font-weight: 700;
}

.form_panel_content {
    width: 100%;
    margin: 0px auto;
    box-sizing: border-box;
    background-color: rgba(255,255,255,0.8);
    padding: 20px 20px 0px;
    border: 1px solid #383438;
    -webkit-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.47);
    -moz-box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.47);
    box-shadow: 5px 5px 5px 0px rgba(0,0,0,0.47);
}

.media_banner {
    width: 700px;
    padding: 10px 15px 30px;
    box-sizing: border-box;
}

.media_banner {
    margin: 0 auto;
}

input[type="text"],
input[type="email"] {
    width: 100%;
    border: 1px solid #5a4a42;
    padding: 0.45em 0.55em;
    box-sizing: border-box;
    font-size: 1.1em;
    vertical-align: middle;
}

button {
    width: 100%;
    background-color: #fad00c;
    border: 1px solid #5a4a42;
    border-radius: 8px;
    font-family: "MyriadPro-BoldCond";
    font-size: 37px;
    text-transform: uppercase;
    font-weight: 700;
    -webkit-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.48);
    -moz-box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.48);
    box-shadow: 3px 3px 5px 0px rgba(0,0,0,0.48);
}

.text_center {
    text-align: center;
}

.fl_left {
    float: left;
}

.fl_right {
    float: right;
}


/*
 *  Columns and row
 */

.row {
    width: 100%;
    margin-bottom: 15px;
    position: relative;
}

.col_padd {
    padding: 0 0.55em;
    box-sizing: border-box;
}

.colum_100 {
    width: 100%;
}

.colum_50 {
    width: 50%;
}
.colum_45 {
    width: 45%;
} 
.colum_35 {
    width: 35%;
}
.colum_30 {
    width: 30%;
}
.colum_70 {
    width: 70%;
}
.colum_25 {
    width: 25%;
}

.submit_btn h3 {
    color: #000;
    font-size: 1.5em;
    margin: 0;
    padding: 10px 0 0;
    font-family: "MyriadPro-BoldCond";
    font-weight: 700;
}

.submit_btn h3 a {
    color: #0071bc;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.how-it-works h2 {
   font-family: 'Myriad Pro cn';
   font-weight: 600; 
    font-size: 3em;
    text-transform: uppercase;
    margin-top: 30px;
    margin-bottom: 10px;
}

.how-it-works h3 {
    font-size: 1.4em;
    padding-left: 0.85em;
    padding-right: 0.85em;
    line-height: 1.2em;
}

.how-it-works p {
    font-weight: 400;
}

.inner_content p{
    padding-left: 0.85em;
    padding-right: 0.85em;
}

.inner_content .media {
    padding-left: 1em;
    padding-right: 1em;
}



/*
 *  Testimonials
 */


.testimonial {
    border-top: 8px solid #fad00e;
    background-color: rgba(255,255,255, 0.8);
    padding: 1em;
    width: 90%;
}

.testimonial p {
    text-align: right;
    margin-bottom: 0;
    font-weight: 700;
}

.testimonial_1 {
    margin-left: 20px;
}
.testimonial_2 {
    margin-right: 20px;
    text-align: right;
}

.testimonial_1 p {
    text-align: left;
}


.contact_group {
    width: 100%;
    background-color: rgba(255,255,255, 0.8);
}

.bottom_contact {
    margin-top: 263px;
    margin-bottom: 0;
    padding-bottom: 58px;
}

.contact_header {
    width: 100%;
    height: 43px;
    background-color: #000;
    color: #fff;
    font-size: 2em;
}
.contact_group .contact_conent {
    padding: 1em;
    text-align: left;
    position: relative;
    min-height: 255px;
}

.contact_group .contact_me {
    position: absolute; 
    bottom: 0;
    padding-bottom: 1em;
}

.contact_group .contact_conent p {
    margin-top: 0;
}

.contact_group .contact_me p {
    margin-bottom: 0;
}


/*
 *  Video Block
 */

.video_block iframe {
    margin: 0 auto;
    display: block;
    width: 100%;
}

.bottom_content {
    background: url(../img/bottom_img.jpg) no-repeat;
    background-size: cover;
    margin: 0;
}

.bottom_content h2 {
    font-size: 3.5em;
    color: #fbd00e;
    padding-top: 20px;
}

.test_row {
    max-width: 1300px;
    height: 200px;
    margin: 100px auto 0;
}

.meet-expert {
    margin-left: 50px;
}

.meet-expert .media-img {
    width: 200px;
}
.meet-expert .descrp {
    width: 60%;
}
.meet-expert h3 {
    font-size: 2.2em;
    margin: 0 0 10px;
    font-family: "MyriadPro-BoldCond";
    font-weight: 700;
}
.meet-expert p {
    text-align: left;
}


.meet-expert .name,
.meet-expert .email {
    margin: 5px 0 0;
    font-size: 1.2em;
    line-height: 0.95em;
    font-family: 'Myriad Pro cn';
}

.meet-expert .email a{
    color: #000;
    text-decoration: none;
}

.meet-expert .email a:hover {
    text-decoration: underline;
}

.meet-expert .name {
    margin-top: 10px;
}

.meet-expert .descrp p {
    padding-left: 15px;
    margin: 0;
    font-size: 1.2em;
}

footer {
    font-size: 0.85em;
   
}

footer .container {
     border-top: 1px solid #f2f2f2;
     padding-top: 15px;
}

footer a,
footer p {
    color: #666666;
    text-decoration: none;
}

footer ul {
    margin: 0;
    padding: 0;
}

footer ul li {
    float: left;
    display: inline-block;
    padding: 0 15px;
    border-right: 1px solid #666;
    height: 15px;
}

footer ul li:first-child {
    padding-left: 0;
}

footer ul li:last-child {
    border:0;
}
footer p {
    text-align: right;
    padding: 0;
    margin: 0;
}

.testimonialwrap img  {
    display: none;
}

/* ==========================================================================
   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 only screen and (max-width: 1200px) {
    /* Style adjustments for viewports that meet the condition */
    .container {
        width: 1000px;
    }
    .test_row {
        width: 100%;
    }
    .testimonial {
        width: 300px
    }
    .meet-expert .descrp {
        width: 42%;
    }
    .meet-expert h3 {
        font-size: 1.5em;
    }
}

@media only screen and (max-width: 900px) {
    /* Style adjustments for viewports that meet the condition */
    .container {
        width: 800px;
    }    
    .test_row {
        width: 800px;
    }
    .testimonial {
        width: 250px
    }
    .form_panel_group {
        float: none;
        margin: 0 auto;
    }
    .meet-expert .descrp {
        width: 42%;
    }
     .meet-expert .descrp p {
        margin-top: 12px;
     }
}


@media only screen and (max-width: 768px) {
  /* For mobile phones: */
  [class*="colum_"] {
    width: 100%;
  }
  .hero_banner {
    height: auto;
  }

  .logo_brand {
    width: 320px;
  }
  .container {
    width: 100%;
  }
  .media_banner {
    width: 100%;
    margin-top: 15px;
  }

    .testimonialwrap img {
        float: none;
        margin: 0 auto 15px;
        display: none;
    }
    .testimonial {
        width: 100%;
        margin:0!important; 
    }

  .test_row {
    width: 100%;
    height: auto;
  }
  .test_row .colum_50 {
    width: 90%;
    margin: 0 auto 15px;
    float: none;
  }

  .form_panel_content .row {
    margin-bottom: 0;
  }

  .test_row .colum_50::after,
  .colum_100,
  .form_panel_content .colum_50::after {
    content: " "; /* 1 */
    display: table; /* 2 */
    clear: both;
  }

   .form_panel_content [class*="colum_"] {
     margin-bottom: 10px;
  }

  .video_block iframe {
    width: 94%;
    height: auto;
    margin: 0 auto;
  }
    .video_block {
        position: relative;
        padding-bottom: 56.25%;
         height: 0; overflow: hidden;
    }

    .video_block iframe,
    .video_block object,
    .video_block embed {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        margin: 0 auto;
        height: 100%;
    }
  .form_panel_group {
    width: 90%;
    margin: 0 auto;
  }
  .contact_header {
    height: auto;
  }
  .meet-expert {
    margin: 0;
    text-align: center;
  }
  .meet-expert .media-img ,
  .meet-expert .descrp{
    width: 100%;
    text-align: center;
    float: none;
  }
  .meet-expert .name, .meet-expert .email,
   .meet-expert .descrp p{
    text-align: center;
  }
}


@media only screen and (max-width: 480px) {

    .form_panel_head h1 {
        font-size: 1.5em;
    }
    .logo_brand {
        width: 95%;
    }
    .how-it-works h2 {
        font-size: 2em;
    }
    .test_row {
        height: auto;
    }
    .testimonial {
        width: 100%;
    }
    .testimonial_1 {
        margin-left: 0;
    }
    .testimonialwrap img {
        float: none;
        margin: 0 auto 15px;
        display: none;
    }
    .meet-expert {
        margin-left: 0;
        padding: 0 20px;
    }
    .meet-expert p {
        text-align: center;
    }
    .meet-expert .media-img,
    .meet-expert .descrp {
        width: 100%;
    }
    .meet-expert .descrp p {
        margin-top: 12px;
    }
    .meet-expert h3 {
        text-align: center;
        line-height: 1em;
        padding: 15px 0;
    }
    .meet-expert img {
        margin: 0 auto;
        display: block;
    }
}


@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (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,
    *:first-letter,
    *:first-line {
        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;
    }
}
