/*
    Theme Name: LFS
    Author: Lyons Financial Services
    Author URI: http://lfs.ie/
    Version: 1.0
    Description: Lyons Financial Services website.
    License: GNU General Public License v2 or later
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/*  ============================================================================
    TABLE OF CONTENTS
    ============================================================================

    # TYPOGRAPHY
    # LAYOUT
    # - Wrappers
    # - Rows
    # - Sections
    # COMPONENTS
    # - Logo
    # - hCard
    # - Bootstrap navbar
    # - Custom menu
    # - Footer menu
    # - Testimonials feed carousel
    # - Forms
    # - Buttons
    # - Optional
    # WORDPRESS
    # HELPERS
    --------------------------------------------------------------------------*/

/*  ----------------------------------------------------------------------------
    # TYPOGRAPHY
    ------------------------------------------------------------------------- */

    h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
        font-weight: 500;
        color: #2d77d8;
    }

    h1, .h1 { font-size: 24px; }
    h2, .h2 { font-size: 22px; }
    h3, .h3 { font-size: 20px; }
    h4, .h4 { font-size: 18px; }
    h5, .h5 { font-size: 16px; }
    h6, .h6 { font-size: 14px; }

    h1, .h1, h2, .h2, h3, .h3 {
        margin-top: 30px;
        margin-bottom: 20px;
    }

    h4, .h4, h5, .h5, h6, .h6 {
        margin-top: 30px;
        margin-bottom: 20px;
    }

    a {
        color: #2d77d8;
    }

    a:hover,
    a:focus {
        color: #2d77d8;
    }

    .alert {
        padding: 5px 15px;
    }

    ul {
        list-style-image: url(images/rightsnippet_bullet.gif);
    }

    @media (min-width: 768px) {

        h1, .h1 { font-size: 26px; }
        h2, .h2 { font-size: 24px; }
        h3, .h3 { font-size: 22px; }
        h4, .h4 { font-size: 20px; }
        h5, .h5 { font-size: 18px; }
        h6, .h6 { font-size: 16px; }

    }

    @media (min-width: 992) {

        h1, .h1 { font-size: 28px; }
        h2, .h2 { font-size: 26px; }
        h3, .h3 { font-size: 24px; }
        h4, .h4 { font-size: 22px; }
        h5, .h5 { font-size: 20px; }
        h6, .h6 { font-size: 18px; }

    }

/*  ----------------------------------------------------------------------------
    # LAYOUT
    ------------------------------------------------------------------------- */

    body {
        color: #5f5f5f;
        background-color: #EBEBEB;
        padding-bottom: 0;
        position: relative;
    }

/*  ----------------------------------------------------------------------------
    - Wrappers */

    .main-wrapper {
        margin-top: 0;
    }

    .widget-wrapper-1 {
        padding-bottom: 0;
    }

    .widget-wrapper-2 {
        padding-bottom: 0;
    }

/*  ----------------------------------------------------------------------------
    - Rows */

    .header-row-1 {
        padding: 7px 0;
        background: #2770d4;
        text-align: right;
    }

    .header-row-2 {
        background: #fff;
    }

    .header-row-3 {
        background: #7C7D80;
    }

    .header-row-4 {
        background: #fff;
    }

    .main-row-1 {
        padding-top: 30px;
        background: #fff;
    }

    .main-row-2 {
        background: #fff;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .main-row-3 {
        background: #fff;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .footer-row {
        border-top: 1px solid #206DD6;
        padding: 20px 0;
        background: #fff;
    }

/*  ----------------------------------------------------------------------------
    - Sections */

    .main-section {
        padding-bottom: 20px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .home .main-section {
        padding-left: 0;
        padding-right: 0;
    }

/*  ----------------------------------------------------------------------------
    # COMPONENTS
    ------------------------------------------------------------------------- */

/*  ----------------------------------------------------------------------------
    - Logo */

    .logo {
        display: block;
        width: 100%;
        text-align: left;
    }

    .logo img {
        position: relative;
        top: 0;
        left: -5px;
        width: 200px;
    }

    @media (min-width: 768px) {

        .logo {
            height: auto;
            text-align: center;
        }

        .logo img {
            top: 0;
            left: -10px;
            width: auto;
        }

    }

/*  ----------------------------------------------------------------------------
    - hCard */

    .vcard_address {
        padding-bottom: 1em;
    }

    .vcard_address span {
        display: block;
    }

    /* Option 1 */
    .vcard-1 .vcard_email {
        color: #fff;
        display: inline-block;
        float: left;
        text-align: left;
        padding-left: 15px;
        font-size: 0.9em;
    }

    .vcard-1 .vcard_email-link {
        color: #fff;
        padding-left: 5px;
    }

    .vcard-1 .vcard_telephone {
        color: #fff;
        display: inline-block;
        float: right;
        text-align: right;
        padding-right: 15px;
        font-size: 0.9em;
    }

    .vcard-1 .vcard_tel-link {
        color: #fff;
        padding-left: 5px;
        text-decoration: none;
    }

    /* Option 2 */
    .vcard-2 .vcard_tel-link {
        color: #5f5f5f;
        text-decoration: none;
    }

    /* Option 3 */
    .vcard-3 {
        clear: both;
        overflow: hidden;
        margin-bottom: 10px;
        text-align: left;
    }

    .vcard-3 .vcard_email {
        display: block;
        font-size: 0.9em;
    }

    .vcard-3 .vcard_email-link {
        color: #2d77d8;
    }

    .vcard-3 .vcard_telephone {
        display: block;
        font-size: 0.9em;
    }

    .vcard-3 .vcard_fax {
        display: block;
        font-size: 0.9em;
    }

    .vcard-3 .vcard_tel-link {
        color: #5f5f5f;
        text-decoration: none;
    }

    /* Break point */
    @media (min-width: 560px) {

        .vcard_address {
            float: left;
            width: 50%;
        }

    }

    @media (min-width: 768px) {

        .vcard-1 .vcard_email {
            display: inline;
            float: none;
            text-align: right;
            padding-right: 15px;
            font-size: 1.1em;
        }

        .vcard-1 .glyphicon-envelope {
            top: 3px;
        }

        .vcard-1 .vcard_telephone {
            display: inline;
            float: none;
            text-align: right;
            padding-right: 15px;
            font-size: 1.1em;
        }

        .vcard-1 .vcard_telephone .tel {
            display: inline;
        }

        .vcard_address {
            float: none;
            width: 100%;
        }

        .vcard-3 {
            text-align: center;
        }

        .vcard-3 .vcard_email,
        .vcard-3 .vcard_telephone,
        .vcard-3 .vcard_fax {
            display: inline-block;
            float: left;
            padding-right: 10px;
        }

        .vcard-3 .vcard_email {
            display: block;
            clear: both;
            padding-right: 10px;
        }

    }

/*  ----------------------------------------------------------------------------
    - Bootstrap navbar */

    .navbar {
        min-height: 1px;
        margin-bottom: 0;
        border: 0;
    }

    .navbar-brand {
        color: #fff;
        padding: 12px 15px;
        font-size: 16px;
        line-height: 20px;
        font-weight: bold;
    }

    .navbar-nav > li > a {
        color: #fff;
        font-weight: 600;
        font-size: 1.1em;
        padding-top: 7px;
        padding-bottom: 7px;
        font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
    }

    .navbar-nav > li > a:hover,
    .navbar-nav > li > a:focus {
        color: #fff;
        background-color: #2670d3;
    }

    .navbar-nav > .active > a,
    .navbar-nav > .active > a:hover,
    .navbar-nav > .active > a:focus {
        color: #fff;
        background-color: #7C7D80;
    }

    .navbar-toggle {
        padding: 7px 8px;
        margin-top: 7px;
        margin-bottom: 7px;
        border: 1px solid #7C7D80;
        border-radius: 0;
        background-color: #7C7D80;
    }

    .navbar-toggle:hover,
    .navbar-toggle:focus {
        background-color: #7C7D80;
    }

    .navbar-toggle .icon-bar {
        background-color: #fff;
    }

    .navbar-nav > .dropdown > a:hover .caret,
    .navbar-nav > .dropdown > a:focus .caret {
        border-top-color: #fff;
        border-bottom-color: #fff;
    }

    .navbar-nav > .open > a,
    .navbar-nav > .open > a:hover,
    .navbar-nav > .open > a:focus {
        color: #fff;
        background-color: #2670d3;
    }

    .navbar-nav > .open > a .caret,
    .navbar-nav > .open > a:hover .caret,
    .navbar-nav > .open > a:focus .caret {
        border-top-color: #fff;
        border-bottom-color: #fff;
    }

    .navbar-nav > .dropdown > a .caret {
        border-top-color: #fff;
        border-bottom-color: #fff;
    }

    .navbar-collapse {
        border-top: 0;
        box-shadow: none;
        max-height: 500px;
    }

    .no-js .navbar-collapse {
        display: block !important;
    }

    .dropdown-menu {
        border: 0;
        padding: 0;
        border-radius: 0px;
    }

    .dropdown-menu > li > a {
        color: #fff;
        border-bottom: 1px solid #999;
        padding: 5px 30px;
        background-image: url(images/dropdown1.gif) !important;
        background-repeat: no-repeat;
        background-position: 15px 50%;
    }

    .no-js .navbar-nav li:hover .dropdown-menu {
        display: block !important;
    }

    .navbar-nav .open .dropdown-menu {
        background-color: #7C7D80;
    }

    .dropdown-menu > li > a:hover,
    .dropdown-menu > li > a:focus {
        color: #fff;
        background-color: #2670d3;
    }

    .dropdown-menu > .active > a,
    .dropdown-menu > .active > a:hover,
    .dropdown-menu > .active > a:focus {
        color: #fff;
        background-color: #2670d3;
    }

    @media (min-width: 768px) {

        .navbar-brand {
            display: none;
        }

        .navbar-collapse {
            padding-right: 0;
            padding-left: 0;
        }

        .navbar-nav > li > a {
            padding: 5px;
            font-size: 1em;
        }

        .dropdown-menu > li > a {
            padding: 5px 15px;
            background-position: 6px 50%;
        }

    }

    @media (min-width: 992px) {

        .navbar-nav > li > a {
            padding: 10px;
            font-size: 1.1em;
        }

        .dropdown-menu > li > a {
            padding: 5px 20px;
            background-position: 10px 50%;
        }


    }

    @media (min-width: 1200px) {

        .navbar-nav > li > a {
            padding: 10px 15px;
            font-size: 1.2em;
        }

        .dropdown-menu > li > a {
            padding: 7px 30px;
            background-position: 15px 50%;
        }

    }

/*  ----------------------------------------------------------------------------
    - Custom menu */

    .custom-menu-wrapper ul,
    .custom-menu-wrapper ul li {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    ul.custom-menu li a {
        cursor: pointer;
        display: block;
        padding: 7px 0 7px 15px;
        border-bottom: 1px solid #DDDDD3;
        text-decoration: none;
        background: url(images/arrow.gif) 0 50% no-repeat;
    }

    ul.custom-menu li.menu-item a:link,
    ul.custom-menu li.menu-item a:visited {
        color: #206DD6;
    }

    ul.custom-menu li:hover a:link,
    ul.custom-menu li:hover a:visited,
    ul.custom-menu li.menu-item a:hover,
    ul.custom-menu li.menu-item a:active,
    ul.custom-menu li.current-menu-item a:link,
    ul.custom-menu li.current-menu-item a:hover,
    ul.custom-menu li.current-menu-item a:active,
    ul.custom-menu li.current-menu-item a:visited {
        color: #197cb0;
    }

/*  ----------------------------------------------------------------------------
    - Footer menu */

    .footer-menu-wrapper {
        text-align: left;
        margin-bottom: 1em;
        font-size: 0.9em;
    }

    .footer-menu-wrapper ul,
    .footer-menu-wrapper ul li {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    ul.footer-menu li {
        display: inline;
        padding: 0 3px;
    }

    ul.footer-menu li a {
        display: inline-block;
    }

    ul.footer-menu li.menu-item a:link,
    ul.footer-menu li.menu-item a:visited {
        color: #206DD6;
        text-decoration: none;
    }

    ul.footer-menu li:hover a:link,
    ul.footer-menu li:hover a:visited,
    ul.footer-menu li.menu-item a:hover,
    ul.footer-menu li.menu-item a:active {
        color: #206DD6;
        text-decoration: underline;
    }

    @media (min-width: 992px) {

        .footer-menu-wrapper {
            text-align: right;
        }

    }

/*  ----------------------------------------------------------------------------
    - Testimonials feed carousel */

    .testimonials-feed-init,
    .testimonials-feed {
        overflow-x: hidden;
    }

    .testimonials-feed-item {
        display: block;
        float: left;
    }

    .testimonials-feed-item small {
        font-weight: bold;
    }

    .no-js .testimonials-feed {
        height: 140px;
    }

    @media (min-width: 768px) {

        .no-js .testimonials-feed {
            height: 90px;
        }

    }

    @media (min-width: 992px) {

        .no-js .testimonials-feed {
            height: 133px;
        }

    }

/*  ----------------------------------------------------------------------------
    - Forms */

    .form-control {
        max-width: 100%;
    }

    .form-control:focus {
        border-color: #2d77d8;
    }

    .input-important {
        display: none !important;
    }

    .form-control,
    #searchform #s {
        border-radius: 0px;
    }

    .header-search-form {
        margin-bottom: 15px;
    }

    .search-form-button { display: none }

    .required-field {
        color: #2d77d8 !important;
    }

    @media (min-width: 768px) {

        .header-search-form {
            padding: 37px 0;
            width: 400px;
            float: right;
            margin-bottom: 0;
        }

        .search-form-input { display: inline-block; width: 300px; float: left; }

        .search-form-button { display: inline-block; float: right; }

    }

/*  ----------------------------------------------------------------------------
    - Buttons */

    /* Form Button */
    .btn-custom {
        color: #ffffff;
        background-color: #2d77d8;
        border-color: #2d77d8;
    }

    .btn-custom:hover,
    .btn-custom:focus,
    .btn-custom:active,
    .btn-custom.active,
    .open .dropdown-toggle.btn-custom {
        color: #ffffff;
        background-color: #2d77d8;
        border-color: #2d77d8;
    }

    .btn-custom:active,
    .btn-custom.active,
    .open .dropdown-toggle.btn-custom {
        background-image: none;
    }

    .btn-custom.disabled,
    .btn-custom[disabled],
    fieldset[disabled] .btn-custom,
    .btn-custom.disabled:hover,
    .btn-custom[disabled]:hover,
    fieldset[disabled] .btn-custom:hover,
    .btn-custom.disabled:focus,
    .btn-custom[disabled]:focus,
    fieldset[disabled] .btn-custom:focus,
    .btn-custom.disabled:active,
    .btn-custom[disabled]:active,
    fieldset[disabled] .btn-custom:active,
    .btn-custom.disabled.active,
    .btn-custom[disabled].active,
    fieldset[disabled] .btn-custom.active {
        background-color: #2d77d8;
        border-color: #2d77d8;
    }

    .btn-custom .badge {
        color: #2d77d8;
        background-color: #fff;
    }

    .btn,
    .comment-reply-link,
    .comment-respond #submit,
    #wp-calendar #prev a,
    #wp-calendar #next a,
    #searchform #searchsubmit {
        border-radius: 0px;
    }

    .btn-cta,
    a.btn-cta:link,
    a.btn-cta:hover,
    a.btn-cta:visited,
    a.btn-cta.active {
        color: #fff !important;
        border-color: 0 !important;
        position: relative;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;

        position: relative;
        background-image: linear-gradient(bottom, #2D77D8 0%, #388EFF 100%);
        background-image: -o-linear-gradient(bottom, #2D77D8 0%, #388EFF 100%);
        background-image: -moz-linear-gradient(bottom, #2D77D8 0%, #388EFF 100%);
        background-image: -webkit-linear-gradient(bottom, #2D77D8 0%, #388EFF 100%);
        background-image: -ms-linear-gradient(bottom, #2D77D8 0%, #388EFF 100%);
        -pie-background: linear-gradient(bottom, #2D77D8 0%, #388EFF 100%);

        background-image: -webkit-gradient(
            linear,
            left bottom,
            left top,
            color-stop(0, #2D77D8),
            color-stop(1, #388EFF)
        );
        behavior: url(PIE.htc);
    }

/*  ----------------------------------------------------------------------------
    - Optional */

    .well {
        background-color: #fdfdfd;
    }

    .cta-box {
        background: url(images/cta-bg.jpg) top left repeat-x;
        position: relative;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
        -webkit-box-shadow: 2px 2px 10px #ccc;
        -moz-box-shadow: 2px 2px 10px #ccc;
        box-shadow: 2px 2px 10px #ccc;
        behavior: url(PIE.htc);
        padding: 10px 10px 20px;
    }

    .cta-box ul {
        padding-left: 15px;
    }

    .cta-box h1,
    .cta-box h2,
    .cta-box h3,
    .cta-box h4,
    .cta-box h5,
    .cta-box h6 {
        margin-top: 10px !important;
    }


    .banner-container {
      background: #fff;
      border-bottom: 1px solid #eee;
    }

    .map-iframe {
        width: 100% !important;
    }

    .regulator,
    .copyright,
    .website-by {
        text-align: left;
        font-size: 0.9em;
    }

/*  ----------------------------------------------------------------------------
    # WORDPRESS CUSTOM (all default styles are in bootsrap.css)
    ------------------------------------------------------------------------- */

    .post-item {
        margin-bottom: 20px;
    }

    .page-header {
        padding-bottom: 30px;
        margin: 0;
        border-bottom: 0;
    }

    /* Post Thumbnail */
    .attachment-post-thumbnail {
        float: right;
        margin: 7px 10px;
    }

    .commentlist {
        padding: 0;
    }

    .comment-body {
        border-bottom: 1px solid #eee;
        padding: 15px 0;
    }

    a.comment-reply-link:link,
    a.comment-reply-link:hover,
    a.comment-reply-link:visited,
    a.comment-reply-link.active  {
        color: #333;
        background-color: #F7EB01;
        border-color: #F7EB01;
        padding: 3px 7px;
        font-size: 14px;
        text-decoration: none;
    }

    .comment-author {
        margin-bottom: 10px;
        font-size: 0.9em;
    }

    .comment-meta {
        font-size: 0.9em;
    }

    h4#comments {
        font-style: italic;
    }

    #commentform {
        min-height: 20px;
        padding: 19px;
        margin-bottom: 20px;
        background-color: #fdfdfd;
        border: 1px solid #ddd;
        border-radius: 4px;
        -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
        box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05);
    }

    #commentform label {
        width: 100px
    }

    #commentform input,
    #commentform textarea {
        border: 1px solid #ccc;
    }

/*  ----------------------------------------------------------------------------
    # HELPERS
    ------------------------------------------------------------------------- */

    .no-gutter {
        padding-right: 0px !important;
        padding-left: 0px !important;
    }

    .gform-mod .gfield_label {
        display: none !important;
    }

    li#field_5_15 .gfield_label,
    li#field_5_16 .gfield_label,
    li#field_5_17 .gfield_label,
    li#field_7_14 .gfield_label,
    li#field_7_15 .gfield_label,
    li#field_8_15 .gfield_label,
    li#field_8_17 .gfield_label,
    li#field_8_16 .gfield_label,
    li#field_9_15 .gfield_label,
    li#field_9_24 .gfield_label,
    li#field_9_25 .gfield_label,
    li#field_11_24 .gfield_label,
    li#field_11_25 .gfield_label,
    li#field_12_24 .gfield_label,
    li#field_12_25 .gfield_label {
        display: none;
    }

    li#field_11_44 label,
    li#field_11_44 label,
    li#field_11_46 label,
    li#field_11_47 label,
    li#field_11_48 label,
    li#field_11_50 label,
    li#field_11_51 label,
    li#field_11_52 label,
    li#field_11_54 label,
    li#field_11_55 label,
    li#field_11_56 label,
    li#field_11_57 label,
    li#field_11_58 label,
    li#field_11_59 label,
    li#field_11_60 label,
    li#field_11_61 label {
        float: left;
        margin-right: 10px;
    }

    @media only screen and (max-width:761px), (min-device-width:768px) and (max-device-width:1023px) {
        .gform_wrapper table.gfield_list td {
            width: 100% !important;
        }

        .gform_wrapper table.gfield_list tr {
            border: 0 !important;
        }

        .gform_wrapper ul.gform_fields.form_sublabel_below table.gfield_list td:before {
            content: attr(data-label);
            line-height: 1.6;
            font-weight: bold;
        }

        .gform_wrapper ul.gform_fields.form_sublabel_below table.gfield_list td:after {
            content: "" !important;
        }
        
        .gform_wrapper table.gfield_list tr td.gfield_list_icons, .gform_wrapper table.gfield_list tr td:last-child {
            background: none !important;
        }

        .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=image]) {
            width: 100%;
            margin-right: 0;
            margin-left: 0;
            margin-bottom: 10px;
        }

        .iceland-competition .gform_wrapper.gf_browser_chrome .chosen-container-single .chosen-single div b,
        .iceland-competition .gform_wrapper.gf_browser_gecko .chosen-container-single .chosen-single div b,
        .iceland-competition .gform_wrapper.gf_browser_safari .chosen-container-single .chosen-single div b {
            top: 0px !important;
        }

    }

    .iceland-competition .gfield_list_container {
        max-width: 440px;
    }

    .iceland-competition .gfield_list_cell {
        width: auto !important;
    }

    .iceland-competition .chosen-container {
        width: 100% !important;
        max-width: 333px;
    }

    .iceland-competition .chosen-single {
        height: 27px !important;
        line-height: 27px !important;
    }

    .iceland-competition .ginput_list .chosen-container-single .chosen-single div b {
        background-position: 0 4px !important;
    }

    .gform_wrapper .gform_footer input.button, .gform_wrapper .gform_footer input[type=submit],
    .gform_wrapper .gform_page_footer input.button, .gform_wrapper .gform_page_footer input[type=submit] {
        font-size: 16px !important;
        padding: 7px 14px;
        margin: 0 0 16px;
        color: #ffffff;
        background-color: #2d77d8;
        border: 0;
        -webkit-border-radius: 0px !important;
        -moz-border-radius: 0px !important;
        border-radius: 0px !important;
    }

    .gform_wrapper .gform_page_footer {
        text-align: center;
    }

    .gform_wrapper form li#field_12_42 ul li {
        margin-left: 40px !important;
        list-style: url(images/rightsnippet_bullet.gif) !important;
    }



    @media only screen and (min-width: 992px) {
        ul.gfield_radio li {
            display: inline;
            margin-right: 24px !important;
        }
    }

    ul.gfield_radio li label {
        font-weight: normal !important;
        vertical-align: top !important;
        line-height: 1.9 !important;
    }