/*
Theme Name: The Magistrate
Theme URI: http://themagistrate.com
Description: Custom Theme by themagistrate.com
Author: Sergio v. de la Garza & Michael Angelo Cequina
Author URI: http://themagistrate.com
Version: 1.0
*/

/*------------------------------------*\
    MAIN
\*------------------------------------*/

/* global box-sizing */
*,
*:after,
*:before {
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
/* html element 62.5% font-size for REM use */

a {
	color:#B01324;
	text-decoration:none;
}
a:hover {
	color:#B01324;
}
a:focus {
	outline:0;
}
a:hover,
a:active {
	outline:0;
}
p{margin-bottom: 25px;line-height: 1.63}

.top5 { margin-top:5px; }
.top10 { margin-top:10px; }
.top15 { margin-top:15px; }
.top20 { margin-top:20px; }
.top30 { margin-top:30px; }
.bottom5 { margin-bottom:5px; }
.bottom10 { margin-bottom:10px; }
.bottom15 { margin-bottom:15px; }
.bottom20 { margin-bottom:20px; }
.bottom30 { margin-bottom:30px; }

p:empty {
    display: none;
}

/*------------------------------------*\
    STRUCTURE
\*------------------------------------*/

body.admin-bar .navbar-fixed-top { top: 32px !important; }
/* Homepage Styles */

/*Header*/
.header {
    border-bottom: 1px solid #9F0D1A;
    box-shadow: 0 0 10px 10px rgba(0, 0, 0, 0.3), 0 -1px 0 0 #D33947 inset;
}
#main-header {
    background: #b01324;
    height: 100px;
    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    transition: height 0.3s;
}

        #logo-container {
            min-height: 169px;
        }

                #logo {
                    float: left;
                    height: 169px;
                    width: 211px;
                    text-indent: -9999px;
                    overflow: visible;
                 }

                 	#logo img {
                 		display: block;
                        border-radius: 0 0 10px 10px;
                        box-shadow: 0 0 6px -2px #666666;
                 	}


        /*Main Navigation*/

        #main-navigation {
            float: right;
            margin-top: 38px;
            -webkit-transition: margin-top 0.3s;
            -moz-transition: margin-top 0.3s;
            transition: margin-top 0.3s;
        }

                #main-navigation > ul {
                    float: right;
                    margin-left: 0;
                    padding-left: 0;
                    width: 100%;
                }
                            #main-navigation > ul > li {
                                background: url(img/nav-separator.png) no-repeat right center;
                                float: left;
                                list-style: none;
                                padding: 0 14px;
                                text-align: right;
                                position: relative;
                            }

                            #main-navigation > ul > li:after {
                                /*content: "/";*/
                            }

                            #main-navigation > ul > li.first {
                                margin-left: 17px;
                            }

                            #main-navigation > ul > li.last {
                                background: none;
                                padding-right: 0;
                            }

                                    #main-navigation > ul > li a {
                                        color: #ffffff;
                                        padding: 4px 12px;
                                        text-transform: uppercase;
                                        text-decoration: none;
                                        -webkit-transition: background-color .3s ease-out;
										-moz-transition: background-color .3s ease-out;
										-o-transition: background-color .3s ease-out;
										transition: background-color .3s ease-out;
                                    }

                                    #main-navigation > ul > li > a:hover {
                                        background: #161616;

                                    }

                                    #main-navigation > ul > li.current-menu-item > a, #main-navigation > ul > li.current-page-ancestor > a {
                                    	background: #161616;
                                    }

                    #main-navigation > ul ul.sub-menu {
                        background: #ececec none repeat scroll 0 0;
                        display: block;
                        left: 0;
                        margin: 0 auto;
                        padding: 0;
                        position: absolute;
                        right: 0;
                        text-align: left;
                        top: 61px;
                        width: 160px;
                        border-radius: 0 0 5px 5px;
                    }

                    #main-navigation > ul ul.sub-menu:before {
                        /*border-bottom: 5px solid #ECECEC;
                        border-left: 5px solid transparent;
                        border-right: 5px solid transparent;
                        content: "";
                        height: 0;
                        left: 0;
                        margin: 0 auto;
                        position: absolute;
                        right: 0;
                        top: -5px;
                        width: 0;*/
                    }

                        #main-navigation > ul ul.sub-menu li {
                            border-bottom: 1px dotted #ccc;
                            list-style: outside none none;
                            padding: 10px;
                        }

                            #main-navigation > ul ul.sub-menu li:last-child {
                                border: none;
                            }

                            #main-navigation > ul ul.sub-menu li a {
                                color: #161616;
                            }
#main-header.sticky_nav {
    height: 60px;
}

    #main-header.sticky_nav #main-navigation {
        margin-top: 20px
    }

    #main-header.sticky_nav a#logo img {
        display: none;
    }

    #main-header.sticky_nav a#logo {
        background: url(img/logo-sticky-nav.png) no-repeat top left;
        width: 33px;
        height: 32px;
        margin-top: 14px;
    }
	#main-header.sticky_nav #main-navigation > ul ul.sub-menu {
		top: 40px;
	}

/*Home Intro*/
#home-intro {
    background: url(img/magistrate_header_girl.jpg) right top no-repeat;
    min-height: 450px;
}

        #home-intro h1 {
             color: #fff;
             font-family: "open_sans_condensedbold", Arial,sans-serif;
             font-size: 44px;
             margin: 125px 0 34px;
             text-transform: uppercase;
             text-shadow: 0px 6px 5px rgba(0,0,0,0.75);
         }

        #home-intro h1 strong {
            color: #cd2e41
        }

        #home-intro p {
            color: #d9d9d9;
            font-size: 16px;
        }




/*Call us now*/

#call-us-now .button.yellow-gradient {
    margin: 20px 0;
}

/*Call to Action  */
.call-to-action {
    background: #b01324;
    color: #fff;
    min-height: 120px;
}

    .call-to-action .tagline h3 {
        font-family: "open_sans_condensedbold", Arial,sans-serif;
        font-size: 30px;
        margin: 40px 0 0;
        text-transform: uppercase;
        text-shadow: 1px 1px 1px #000;
    }

    .call-to-action .tagline p {
        font-family: Georgia, Arial,sans-serif;
        font-size: 14px;
    }

    .call-to-action .button {
    	width: 100%;
    }

/* Track Record*/

ul.home-clients {
    text-align: center;
    padding: 0;
}
    ul.home-clients li img:hover {
        opacity: .9;
    }

    .tooltipster-content {
        font-size: 14px;
        line-height: 16px;
        padding: 8px 10px;
        text-align: center;
    }
        .tooltipster-content strong {
            display: block;
            text-align: center;
        }
#track-record {
    background: #eeeeee;
    border-top: #fff 2px solid;
    border-bottom: #fff 1px solid;
}

        .home-brands {
            /*background: #eee;*/
            padding-bottom: 30px;
        }

        #our-clients {
            float: none;
            margin: 0 auto;
            padding-bottom: 25px;
        }
		@media only screen and (max-width:630px) {
			#our-clients {
				/*display:none;*/
			}
		}

                #our-clients h6 {
                    color: #393939;
                    font-family: "open_sans_condensedbold", Arial,sans-serif;
                    font-size: 14px;
                    font-weight: normal;
                    letter-spacing: .01em;
                    margin: 33px auto 24px;
                    text-align: center;
                    text-transform: uppercase;
                 }

                /*#track-record #our-clients img {
                    display: block;
                    float: none;
                    margin: 0 auto;
                    max-width: 100%;
                    position: relative;
                }*/

.home-main-content {
    padding: 60px 0 0;
}

.home-main-content .home-main-title h2 {
    font-size: 40px;
    margin-bottom: 45px;
}

.home-main-content .home-main-subtitle {
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 30px;
}

.home-main-bottom-red {
    position: relative;
}

.home-main-bottom-red span {
    border-bottom: 2px dotted #c41a2d;
    bottom: 0;
    height: 2px;
    left: 15px;
    position: absolute;
    right: 15px;
}

.home-main-body {
    margin-top: 30px;
}

    .home-main-body p {
        text-align: justify;
        font-size: 18px;
    }

    .home-main-body img {
        width: 80%;
        margin: 0 auto;
        display: block;
    }

    .home-main-body h2 {
        margin: 30px auto 23px;
    }

    .home-main-body .row {
        margin-bottom: 20px;
    }

/* As Featured on */
.home-as-featured {
    text-align: center;
    padding-bottom: 40px;
    padding-top: 40px;
    background: #EEEEEE;

}

.home-as-featured span {
    display: inline-block;
}

span.as-seen-on-title {
    float: none;
    font-size: 25px;
    line-height: 30px;
    margin-right: 20px;
    text-transform: uppercase;
}

.home-as-featured a {
    float: none;
}

.home-as-featured img {
    float: none;
    margin: 0 5px;
    width: 80%;
    opacity: 0.7;
    vertical-align: bottom;
    height: auto;
}

    .home-as-featured img:hover {
        opacity: .7;
    }

/*What We Do*/

.home #what-we-do {
    border-top: 1px solid #cccccc;
    padding: 55px 0 23px;
}
        .home #what-we-do .home-services {
            margin-bottom: 50px;
        }

            #what-we-do .home-services .image-container {
                text-align: center;
            }

                #what-we-do .home-services .image-container img {
                    display: inline-block;
                }

                #what-we-do .content-holder {
                	padding-top: 30px;
                }
                        #what-we-do .content-holder h2 {
                            margin: 0 auto 23px;
                        }

                        #what-we-do .content-holder h2 strong {
                            color: #b5192a;
                        }

                #what-we-do img {
                    width: 100%;
                    height: auto;
                }

/* Testimonials Strip*/
.testimonial-wrapper .testimonial-body h4 {
    color: #b01324;
    font-size: 22px;
    margin-top: 40px;
}

.testimonial-wrapper .testimonial-body span.testimonial-body {
    font-size: 14px;
}

.testimonial-wrapper .testimonial-body span.author {
    display: block;
    font-weight: 600;
    margin-top: 15px;
    text-align: left;
}

    .testimonial-wrapper .testimonial-body span.author a {
        background: #b01324 none repeat scroll 0 0;
        border-radius: 4px;
        color: #fff;
        float: right;
        line-height: 1;
        margin-top: -5px;
        padding: 10px 20px;
        text-decoration: none;
    }

    .bg-red .testimonial-wrapper .testimonial-body span.author a {
        color: #b01324;
        background: #fff;
    }

.testimonial-wrapper .testimonial-picture {
    text-align: center;
}

    .testimonial-wrapper .testimonial-picture img {
        display: inline-block;
        margin: 30px 0 0;
        max-width: 100%;
    }

    .home .testimonial-wrapper .testimonial-picture img {
        border: 5px solid #fff;
        border-radius: 50%;
        box-shadow: 0 2px 5px #ccc;
        margin: 30px 0;
        max-width: 90%;
    }

.bg-red .testimonial-wrapper .testimonial-body h4, .bg-red .testimonial-wrapper .testimonial-body {
    color: #fff;
}


/* Services */

#services a.button.yellow-gradient {
    margin: 20px 0;
}

.yellow-gradient {
    background: none repeat scroll 0 0 transparent;
    border: 3px solid #fff !important;
    box-shadow: none !important;
    color: #fff !important;
    font-weight: bold;
    text-shadow: none !important;
    transition: all 0.3s ease-out 0s;
}

    .yellow-gradient:hover {
        background: none repeat scroll 0 0 #96101f;
    }

/*About*/

.home #about {
    border-bottom: 1px solid #ccc;
    padding: 75px 0;
    background: #000;
}

        #about .content-holder {
            padding-left: 0;
        }
            #about h2 {
                color: #fff;
            }

                    #about .strength {
                        color: #6a6a6a;
                        float: left;
                        font-size: 19px;
                        line-height: 1.4em;
                        margin: 10px 0 25px;
                        width: 100%;
                    }

                    #about p {
                        color: #bbb;
                        font-size: 14px;
                        float: left;
                    }

        #about .our-team {
            max-width: 100%;
        }

/*Facts*/
#facts {
    background: #eeeeee;
    border-top: 1px solid #fff;
    padding: 60px 0 110px;
}
        #facts h2 {
            margin-bottom: 63px;
        }

        /*Testimonial Widget*/
        #facts .testimonial-widget img {
            border: 4px solid #fff;
            border-radius: 50%;
            box-shadow: 0 2px 5px #ccc;
            display: block;
            margin: 0 auto;
            max-width: 100%;
        }
        #facts .testimonial-widget .testimonial-details {
            
        }

                #facts .testimonial-widget .testimonial-details .testimonial {
                    color: #646363;
                    font-size: 14px;
                    font-style: italic;
                    font-family: georgia;
                    line-height: 17px !important;
                    letter-spacing: 0.03em;
                }

                #facts .testimonial-widget .testimonial-details .author {
                    color: #171717;
                    font-size: 12px;
                    float: right;
                    margin-top: 16px;
                }

/*Hire Us*/

#work-with-us a.button.yellow-gradient {
    margin: 20px 0;
}

/* Home Activity Widget */

#activity-widget {
    background: #eee;
    padding: 50px 0;
}

    h2.activity-title {
        font-size: 18px;
        font-weight: normal;
        font-family: 'open_sansregular';
        margin-top: 5px;
    }

    #activity-widget span.date {
        font-size: 12px;
    }

    div.activity-widget-title h2 {
        margin-bottom: 30px;
    }

    #activity-widget .post {
        padding: 0 20px;
    }

    #activity-widget .activity-widget-items > div:first-child {
        border-right: 2px dotted #ccc;
    }



/* Local Landers Links */
#local-landers-links {
	padding:15px 0 15px;
	background:#eee;
	border-bottom:1px solid #ccc;
}
#local-landers-links ul {
	width:100%;
	text-align:center;
	list-style:none;
}
#local-landers-links ul li {
	margin:10px 10px 0;
	display:inline-block;
}
#local-landers-links ul li a {
	display:inline-block;
}
	





/*Talk to us*/

#main-footer {
    padding: 40px 0 10px;
}

#main-footer h2 {
    background: url(img/bg-title.png) no-repeat center center ;
    margin-top: 50px;
}


#main-footer aside {
    margin-top: 60px;
}

        #main-footer h3 {
            color: #be2535;
            font-size: 26px;
            margin-top: 0;
            text-transform: uppercase;
        }

        

       #main-footer .contact-us {
           margin-top: 37px;
           padding-right: 15px;
           text-align: center;
           text-transform: uppercase;
       }

                    #main-footer .contact-us .icon-phone, .contact-us .icon-mail {
                        padding: 23px 0px 23px 0;
                    }

                                #main-footer .contact-us p {
                                    color: #171717;
                                    font-size: 16px;
                                    margin-bottom: 5px;
                                }

                                        #main-footer .contact-us address {
                                            line-height: 1.25em;
                                            margin-bottom: 0;
                                        }

                                        #main-footer .contact-us address a {
                                            color: #bf2637;
                                            font-weight: bold;
                                            text-decoration: none;
                                        }

                                        #main-footer .localnap {
                                        	margin-bottom: 20px;
                                        }

                                        #main-footer .contact-us .call-us address a {
                                            font-size: 20px;
                                            display: block;
                                            margin-bottom: 10px;
                                        }

                                            #main-footer .contact-us .call-us address a span {
                                                color: #333;
                                                margin-right: 10px;
                                            }

                                        #main-footer .contact-us .email-us address a {
                                            font-size: 20px;
                                        }

                                        #main-footer .contact-us .email-us, #main-footer .contact-us .call-us {
                                        	position: relative;
                                        }

                                        .icon-phone i, .icon-mail i {
                                            display: none;
                                        }

                                        a.icon-phone-wrapper {
                                            position: absolute;
                                            right: 0;
                                            top: 15%;
                                        }

                                        .icon-phone i:hover, .icon-mail i:hover {
                                            color: #B01324;
                                        }

footer #sub-footer {
    background: #000 url(img/footer.jpg) no-repeat center top;
    padding: 460px 0 50px 0 ;
}
            /*Mail Opt-in Form*/
            #sub-footer div.gform_body {
                float: left;
                width: 70%;
            }

                #sub-footer div.gform_body label {
                    display: none;
                }

                #sub-footer div.gform_body input {
                    border: medium none;
                    border-radius: 4px 0 0 4px;
                    font-size: 20px;
                    height: auto;
                    line-height: 26px;
                    padding: 12px 15px;
                    height: 50px;
                }

                #sub-footer div.gform_body input:focus {
                    box-shadow: 0 0 0 2px #b01324 inset;
                }

                #sub-footer .gform_wrapper label.gfield_label + div.ginput_container {
                    margin: 0!important;
                }

            #sub-footer div.gform_footer {
                float: left;
                width: 30%;
                clear: none!important;
                margin: 0!important;
                padding: 0!important;
            }

                #sub-footer div.gform_footer input {
                    border: medium none;
                    font-size: 20px;
                    line-height: 1;
                    padding: 15px;
                    width: 100%;
                    margin: 0;
                    border-radius: 0 4px 4px 0;
                    background: #B01324;
                    height: 50px;
                }

            footer #sub-footer .subscribe-form p {
                color: white;
                font-size: 14px;
                float: left;
                margin-top: 10px;
            }

            /*Social Media Icons*/
            footer #sub-footer .social-media p {
                color: #fff;
                font-size: 20px;
                font-weight: bold;
                letter-spacing: 0.1em;
                margin: 18px 0;
                text-transform: capitalize;
                margin: 0;
                text-align: right;
            }

            	footer #sub-footer .social-media p i {
            		background: none repeat scroll 0 0 #FFFFFF;
            		color: #B01324;
            		line-height: 53px;
            		min-width: 53px;
            		text-align: center;
            	}

                footer #sub-footer .social-media p i:hover {
                    color: #fff;
                    background: #B01324;
                }

                        
            /*Footer Copyright*/
            footer #copyright p {
                margin: 35px 0 30px;
            }

            footer #copyright.bg-red p,
            footer #copyright.bg-red p a
            {
                color: #fff;
                font-size: 12px;
            }

            footer #copyright.bg-white p,
            footer #copyright.bg-white p a
            {
                color: #b01324;
            }


                    footer #copyright p a {
                        text-decoration: none;
                    }


                    /* Meet Us Page Styles */

                    body.page-template-template-meetus-php #home-intro{
                        background: url("img/the_team_b.jpg") no-repeat scroll right top rgba(0, 0, 0, 0)
                    }

                    body.page-template-template-meetus-php .inner-page #page-title {
                        margin: 100px 0 80px;
                    }

                    img.team-member-thumb {
                        width: 100%;
                    }

                    #what-we-do img {
                        width: 80%;
                    }

                    div.team-dep {
                        margin-top: 40px;
                    }

                        .meet-us #the-team div.team-dep div.border-top-red {
                            margin-bottom: 40px;
                        }

                    h2.team-title {
                        color: #333;
                        display: inline-block;
                        float: none;
                        margin: 0 auto;
                        padding: 20px 30px;
                        position: relative;
                        text-transform: uppercase;
                        z-index: 99;
                        background: #fff;
                        font-size: 40px;
                    }

                    div.team-ctas {
                        margin: 40px 0 60px;
                    }

                    a.join-team-btn {
                        background: #fff;
                        border: 3px solid #dbdbdb;
                        padding: 20px 60px;
                        border-radius: 4px;
                        text-decoration: none;
                        display: inline-block;
                        color: #b01324;
                        margin: 0 10px;
                        font-size: 16px;
                        font-weight: bold;
                        text-transform: uppercase;
                        transition: background-color 0.3s ease-out 0s;
                    }

                        a.join-team-btn:hover {
                            background: #b01324;
                            border: 3px solid #b01324;
                            color: #fff;
                        }

                    a.contact-team-btn {
                        background: #b01324;
                        color: #fff;
                        padding: 20px 60px;
                        border-radius: 4px;
                        text-decoration: none;
                        display: inline-block;
                        margin: 0 15px;
                        font-size: 16px;
                        font-weight: bold;
                        text-transform: uppercase;
                        border: 3px solid #b01324;
                        transition: background-color 0.3s ease-out 0s;
                    }

                        a.contact-team-btn:hover {
                            background: #333;
                            border: 3px solid #333;
                        }
/*Logo*/
.inner-page #logo {
    width: 206px;
}

/*Page Title*/

.inner-page #page-title {
    display: block;
    font-family: "open_sans_condensedbold",Arial,sans-serif;
    font-size: 45px;
    line-height: 1.1;
    margin: 154px 0 80px;
}

    .inner-page #page-title strong {
        color: #B01324;
        font-weight: normal;
    }

.inner-page #main-content > aside,
.inner-page #main-content > section{
    float: left;
    padding-top: 35px;
    padding-bottom: 35px;
    width: 100%;
}

.inner-page #main-content section > h2 {
    margin: 40px auto 20px;
}

/*The Team*/

.meet-us #the-team {
    border-bottom: 1px solid #cccccc;
    padding: 30px 0;
}


        .meet-us  #the-team .border-top-red {
            margin-bottom: 50px;
        }

                .meet-us #the-team .border-top-red h1.section-title {
                    color: white;
                    display: inline-block;
                    float: none;
                    margin: 0 auto;
                    padding: 20px 30px;
                    position: relative;
                    text-transform: uppercase;
                    z-index: 99;
                }

        .meet-us #the-team .team-tagline {
            color: #171717;
            font-size: 20px;
            margin-bottom: 60px;
        }

        .meet-us .meet-us-content {
            font-size: 18px;
            margin-bottom: 0;
            text-align: justify;
        }

        .meet-us .meet-us-main-img img {
            max-width: 100%;
            height: auto;
        }

        .meet-us .team-grid {
            margin-top: 0;
        }

                .meet-us #the-team aside .member-name {
                    color: #b01324;
                    margin: 15px 0 0;
                }
                .meet-us #the-team aside .member-role {
                    float: left;
                    font-style: italic;
                    margin: 0 0 10px;
                }

                .meet-us #the-team aside .member-description {
                    float: left;
                }


/*What We Do*/

.meet-us #what-we-do {
    border-top: none;
}

.meet-us #what-we-do aside {
    padding: 40px 0;
}

.meet-us #what-we-do aside > :first-child {
    padding-left: 0;
}

.meet-us #what-we-do aside > :last-child {
    float: right;
    padding-right: 0;
}

.meet-us #what-we-do aside > :last-child > img {
    float: right;
}

/* Track Record Section */

.inner-page #track-record {
    border-top: 1px solid #ccc;
    border-bottom:1px solid #850a17;
}

.inner-page #track-record #brands {
    border-bottom:1px solid #850a17;
}

.inner-page #track-record #our-clients {
    background: none;
}

        .inner-page #track-record .bg-red {
            border-top: 2px solid #c12e3e;
            border-bottom: 2px solid #c12e3e;
            /*border-bottom: 2px solid rgba(193, 46, 62, .75);*/
            /*box-shadow: inset 0 0 5px rgba(193, 46, 62, .75);*/
        }

                .inner-page #track-record #testimonial-details {
                    color: #fff;
                }
                        .inner-page #track-record #hightlighted-client-testimonial #testimonial-details h4 {
                            color: #fff;
                        }

/*Directors page*/

/*CEO and Founder*/
.director-content {
	padding: 40px 0;
}

	.director-content .section-title {
		margin-top: 0;
	}

/*Featured On*/

.featured-on .image-container {
    line-height: 19em;
}

/*Recent Post*/

.directors .recent-post {
    margin-bottom: 30px;
}

        .directors .recent-post > ul {
            padding: 20px 0 0 15px;
        }

                .directors .recent-post > ul li {

                }

                        .directors .recent-post > ul li a {
                            color: #171717;
                            font-size: 14px;
                            font-weight: bold;
                            line-height: 2.5em;
                        }

                        .directors .recent-post > ul li a:hover {
                            text-decoration: none;
                        }

.directors .social-media > ul {
    list-style: none;
    margin: 15px 0 0;
    padding: 0;
}

        .directors .social-media > ul li {
           float: left;
            margin-right: 15px;
        }



/* Standard Page */

.inner-page #main-content .image-container.the-team {
    line-height: 386px; /*center the image vertically*/
}

.image-container.col-md-5.right {
    width: 35.666667%;
}

/* Thank You page */
.page-template-template-thankyou #page-title {
    margin: 200px 0 30px;
}

.page-template-template-thankyou .thank-you-wrapper {
    margin-bottom: 200px;
}

    .page-template-template-thankyou .thank-you-wrapper p {
        font-size: 18px;
        text-align: center;
    }


/*Solutions Page*/

.solutions #main-content {
    padding-bottom: 120px;
}

.solutions #main-content > aside, .solutions #main-content > section {
    padding-top: 65px;
    padding-bottom: 0;
}

        .solutions #main-content section > h2 {
            margin: 0 auto 34px;
        }

        /*Capabilities*/
        #main-content #capabilities img {
            margin-top: 45px;
        }

/*Payments*/
.payments-content {
    padding-top: 50px;
}

/*Sidebar*/

#sidebar {
    padding-top: 30px;
    padding-bottom: 30px;
}

#sidebar .widget {
    margin: 40px auto;
    background: #171717;
}
#sidebar .widget#text-4 {
    background: none;
}
        #sidebar .ribbon {
            
        }

        span.ribbon-corner {
            position: absolute;
            right: -30px;
            top: 0;
            width: 30px;
            height: 93px;
            background: url(img/ribbon-corner.png) no-repeat top left;
        }

                #sidebar .widgettitle {
                    color: #FFFFFF;
                    font-size: 28px;
                    line-height: 73px;
                    margin-bottom: 0;
                    padding: 0 25px;
                    text-transform: uppercase;
                    margin-top: 0;
                }

                        #sidebar .menu, #sidebar .widget_recent_entries ul {
                            list-style: none outside none;
                            margin: 0;
                            padding: 0;
                            position: relative;
                        }

                                #sidebar .menu > li, #sidebar .widget_recent_entries ul > li {
                                    background: #171717;
                                    border-top: 1px solid #262626;
                                    border-bottom: 1px solid #111111;
                                    float: left;
                                    width: 100%;
                                    /*padding: 20px 30px 23px 30px;*/
                                }

                                        #sidebar .menu > li > a, #sidebar .widget_recent_entries ul > li > a
                                        {
                                            background: #171717;
                                            color: #fff;
                                            font-size: 14px;
                                            float: left;
                                            padding: 20px 25px 23px 25px;
                                            width: 100%;
                                        }

                                            #sidebar .menu > li.current-menu-item a {
                                                background: none repeat scroll 0 0 #ddd;
                                                box-shadow: inset 0px 0px 7px rgba(0,0,0,.75);
                                                color: #151515;
                                            }

                                        #sidebar .menu > li .sub-menu {
                                            background: #cccccc;
                                            box-shadow: inset 0px 0px 7px rgba(0,0,0,.75);
                                            float: left;
                                            padding: 0;
                                            width: 100%;
                                        }

                                                #sidebar .menu > li .sub-menu > li {
                                                    border-bottom: 1px solid #BBBBBB;
                                                    float: left;
                                                    line-height: 20px;
                                                    list-style: disc inside none;
                                                    padding: 15px 25px;
                                                    width: 100%;
                                                }

                                                #sidebar .menu > li .sub-menu > li:last-child {
                                                    border-bottom: none;
                                                }

                                                        #sidebar .menu > li .sub-menu > li > a {
                                                            /*font-size: 11px;*/
                                                            color: #171717;
                                                        }

                                                        #sidebar .menu > li .sub-menu > li > a:hover {
                                                            text-decoration: underline;
                                                        }


                /*Sidebar Contact Form*/
                #sidebar form {
                    padding: 20px;
                }

                    #sidebar form label {
                        color: #fff;
                    }

                    #sidebar .gform_button {
                        background: transparent;
                        border: 2px solid #fff;
                        font-size: 20px;
                        font-weight: normal;
                        padding: 10px;
                        transition: all 0.3s ease-out 0s;
                        width: 100%;
                    }

                        #sidebar .gform_button:hover {
                            background: #96101F;
                        }

                    #sidebar .gform_footer p {
                        color: #fff;
                        font-size: 12px;
                        margin-bottom: 10px;
                        text-align: center;
                        margin-top: 5px;
                    }

/* Sidebar Blog */
p.social-profiles {
    padding: 20px 0 0;
    text-align: center;
}
a.sidebar-social {
    margin: 10px;
}

    a.sidebar-social i {
        background: none repeat scroll 0 0 #FFFFFF;
        color: #B01324;
        line-height: 53px;
        min-width: 53px;
        text-align: center;
        font-size: 25px;
    }

    a.sidebar-social i:hover {
        color: #fff;
        background: #B01324;
    }

span.blog-read-more {
    display: block;
    margin: 20px 0;
    text-align: right;
}

    span.blog-read-more a {
        background: none repeat scroll 0 0 #b01324;
        border-radius: 4px;
        color: #fff;
        padding: 10px 20px;
    }
                            

/* Onboarding form */


    #fsPage1691695-1 .fsBody .fsRowBody {
        padding: 0;
    }

        #fsPage1691695-1 .fsRow {
            margin-bottom: 20px;
        }

        .fsHidden {
            display: none;
        }

        .fsOptionLabel {
            margin-right: 10px;
            margin-top: 5px;
        }
/* Blog */

.blog-content {
	padding-top: 80px;
	padding-bottom: 50px;
}

	#blog-listing {
		padding-top: 45px;
	}

	.blog #blog-listing .post {
		margin-bottom: 60px;
		padding-bottom:20px;
		border-bottom:1px dotted #ccc;
	}

		#blog-listing #disqus_thread {
			margin: 40px 0;
		}

		#blog-listing .post div.post-meta {
			margin-bottom: 30px;
		}

			#blog-listing .post div.post-meta span {
				font-family: "open_sans_condensedbold",Arial,sans-serif;
				font-size: 12px;
				text-transform: uppercase;
				margin-right: 20px;
                float: left;
			}
			#blog-listing .post div.post-meta span:last-child {
				margin-right:0;
			}

				#blog-listing .post div.post-meta span i {
					color: #bbb;
					margin-right: 5px;
					font-size: 15px;
				}

				#blog-listing .post div.post-meta span a {
					color: #b01324;
				}

            .page-template-template-blog-php #blog-listing span.share-counter {
                display: inline-block;
            }

                .page-template-template-blog-php #blog-listing span.share-counter i {
                    float: left;
                }

                .page-template-template-blog-php #blog-listing span.share-counter .us_shortcode  {
                    float: left;
                }

                .page-template-template-blog-php #blog-listing .us_wrapper .us_button .us_count {
					top: 0;
					transform: none!important;
					width: auto;
					float: none;
					display: inline;
                }

                .page-template-template-blog-php #blog-listing .us_wrapper .us_button .us_share {
                    position: relative;
					top: 0;
					transform: none!important;
					width: auto;
					margin-left: 6px;
					float: none;
					display: inline;
                }

                .page-template-template-blog-php #blog-listing .us_wrapper .us_button .us_box {
                    font-size: inherit!important;
					display: inline;
					top: -9px;
					left: -15px;
					position: relative;
                }

                .page-template-template-blog-php #blog-listing .us_wrapper.us_skin_default .us_button {
                    height: 17px!important;
                }

		#blog-listing h2.entry-title a {
			color: #171717;
			text-decoration: none;
		}

		#blog-listing div.post-thumbnail {
			margin-bottom: 30px;
			position: relative;
			box-shadow:0 1px 3px rgba(0,0,0,.3);
		}

			#blog-listing div.post-thumbnail span.the-date {
				position: absolute;
				left: 0;
				top: 0;
				background: #b01324;
				color: #fff;
				padding: 5px 30px;
				font-family: "open_sans_condensedbold",Arial,sans-serif;
				text-transform: uppercase;
			}

				#blog-listing div.post-thumbnail span.the-date span {
					display: block;
					text-align: center;
					line-height: 1;
				}

				#blog-listing div.post-thumbnail span.the-date span.date-day {
					font-size: 35px;
				}

			#blog-listing div.post-thumbnail img {
				width: 100%;
			}


	.us_wrapper.tac {
		  text-align: left;
		  margin-top:0;
	}


	/* Author */ /* Sanchy 2015/06/18 */
	.magauthor {
		margin:40px 0;
		padding:15px;
		width:100%;
		background:#f5f5f5;
		border:1px solid #ddd;
		float:left;
	}
	.magauthor .avatar {
		margin:0;
		background:#fff;
		float:left;
	}
	.magauthor .avatar img {
		width:100%;
		height:auto;
	}
	.magauthor p {
	  margin: 0;
	  padding-left:95px;
	  color: #333;
	  font-family: Arial, Helvetica, Tahoma, sans-serif;
	  font-size: 14px;
	  font-weight: normal;
	  line-height: 22px;
	  text-decoration: none;
	  float:none;
	}
	.magauthor .name {
		font-weight:bold;
	}
	
	
	/* Local Landing CTA in post */
	#landinginpost {
	    margin-bottom:40px;
		padding:35px 40px;
		width:100%;
		background:#424041;
		border-radius:10px;
		display:block;
	}
	#landinginpost img {
		margin-right:7%;
		width:32%;
		float:left;
	}
	#landinginpost .text {
		width:60%;
		display:inline-block;
	}
	#landinginpost .text p {
		margin-bottom:0;
		padding-bottom:20px;
		color:#fff;
		font-size:16px;
		line-height:24px;
	}
	#landinginpost .text p.title {
		padding-bottom:10px;
		font-size:24px;
		line-height:26px;
		font-weight:bold;
		text-transform:uppercase
	}
	#landinginpost form {
		margin:0;
		padding:0;
		width:100%;
	}
	#landinginpost form .ginput_container {
		margin:0;
		padding:0;
		width:100%;
	}
	#landinginpost form label {
		display:none;
	}
	#landinginpost form .input {
		margin-bottom:10px;
		display: block;
		width: 100%;
		height: 44px;
		padding: 6px 12px;
		font-size:20px;
		line-height: 1.428571429;
		color: #555;
		vertical-align: middle;
		background-color: #fff;
		border: 1px solid #ccc;
		border-radius: 4px;
		-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
		box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
		-webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	}
	#landinginpost .text .button, #landinginpost form .gform_button {
		padding:13px 0 11px;
		width:100%;
		background:#0089cf;
		border:none;
		border-bottom:2px solid #fff;
		border-radius:12px;
		border-top-right-radius: 8px;
		border-top-left-radius: 8px;
		display:block;
		color:#fff;
		font-size:22px;
		line-height:26px;
		font-weight:bold;
		text-align:center;
		cursor:pointer;
	}
	




    /* blog tables */
    .easy-table-cuscosky thead th, .easy-table-cuscosky tfoot th {
        text-align: left!important;
        background: #ddd none repeat scroll 0 0!important;
        color: #2a2a2a!important;
        font-size: 100% !important;
    }

    table.easy-table-cuscosky, .easy-table-cuscosky th, .easy-table-cuscosky td {
        border: 1px solid #ccc!important;
    }

    .easy-table-cuscosky tbody tr:nth-child(2n+1) td, .easy-table-cuscosky tbody tr:nth-child(2n+1) th {
        background: #f6f6f6 none repeat scroll 0 0!important;
    }

    .easy-table-cuscosky td.pinkbg {
        background: #F4CCCC!important;
        color: #000!important;
    }

    .easy-table-cuscosky td.redbg {
        background: #E06666!important;
        color: #000!important;
    }

    .easy-table-cuscosky tbody tr:nth-child(2n+1) td.redbg {
        background: #e06666!important;
    }

    .easy-table-cuscosky tbody tr:nth-child(2n+1) td.pinkbg {
        background: #F4CCCC!important;
    }

/* Contact Modal */
#contactmodal {

}

	
	#contactmodal .modal-header {
		background: none repeat scroll 0 0 #B01324;
		border-radius: 5px 5px 0 0;
		color: #FFFFFF;
	}

        #contactmodal .modal-header h4 {
            font-size: 30px;
        }

        .gform_wrapper ul {
          padding-left: 0;
          list-style: none; }
         
        .gform_wrapper li {
          margin-bottom: 15px; }
         
        .gform_wrapper form {
          margin-bottom: 0; }
         
        .gform_wrapper .gfield_required {
          padding-left: 1px;
          color: #b94a48; }
         
        .ginput_container input, .ginput_container select, .ginput_container textarea {
          display: block;
          width: 100%;
          height: 34px;
          padding: 6px 12px;
          font-size: 14px;
          line-height: 1.428571429;
          color: #555;
          vertical-align: middle;
          background-color: #fff;
          border: 1px solid #ccc;
          border-radius: 4px;
          -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
          -webkit-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
          transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; }
         
        .ginput_container input:-moz-placeholder, .ginput_container select:-moz-placeholder, .ginput_container textarea:-moz-placeholder {
          color: #999; }
         
        .ginput_container input::-moz-placeholder, .ginput_container select::-moz-placeholder, .ginput_container textarea::-moz-placeholder {
          color: #999; }
         
        .ginput_container input:-ms-input-placeholder, .ginput_container select:-ms-input-placeholder, .ginput_container textarea:-ms-input-placeholder {
          color: #999; }
         
        .ginput_container input::-webkit-input-placeholder, .ginput_container select::-webkit-input-placeholder, .ginput_container textarea::-webkit-input-placeholder {
          color: #999; }
         
        .ginput_container input:focus, .ginput_container select:focus, .ginput_container textarea:focus {
          border-color: #66afe9;
          outline: 0;
          -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, 0.6);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(102, 175, 233, 0.6); }
         
        .ginput_container input[disabled], .ginput_container select[disabled], .ginput_container textarea[disabled], .ginput_container input[readonly], .ginput_container select[readonly], .ginput_container textarea[readonly], fieldset[disabled] .ginput_container input, fieldset[disabled] .ginput_container select, fieldset[disabled] .ginput_container textarea {
          cursor: not-allowed;
          background-color: #eee; }
         
        textarea.ginput_container input, textarea.ginput_container select, textarea.ginput_container textarea {
          height: auto; }
         
        .ginput_container textarea {
          height: auto; }
         
        .gform_button {
          display: inline-block;
          padding: 6px 12px;
          margin-bottom: 0;
          font-size: 14px;
          font-weight: normal;
          line-height: 1.428571429;
          text-align: center;
          vertical-align: middle;
          cursor: pointer;
          border: 1px solid transparent;
          border-radius: 4px;
          white-space: nowrap;
          -webkit-user-select: none;
          -moz-user-select: none;
          -ms-user-select: none;
          -o-user-select: none;
          user-select: none;
          color: #fff;
          background-color: #428bca;
          border-color: #357ebd; }
         
        .gform_button:focus {
          outline: thin dotted #333;
          outline: 5px auto -webkit-focus-ring-color;
          outline-offset: -2px; }
         
        .gform_button:hover, .gform_button:focus {
          color: #333;
          text-decoration: none; }
         
        .gform_button:active, .gform_button.active {
          outline: 0;
          background-image: none;
          -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
          box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); }
         
        .gform_button.disabled, .gform_button[disabled], fieldset[disabled] .gform_button {
          cursor: not-allowed;
          pointer-events: none;
          opacity: .65;
          filter: alpha(opacity=65);
          -webkit-box-shadow: none;
          box-shadow: none; }
         
        .gform_button:hover, .gform_button:focus, .gform_button:active, .gform_button.active, .open .dropdown-toggle.gform_button {
          color: #fff;
          background-color: #3276b1;
          border-color: #285e8e; }
         
        .gform_button:active, .gform_button.active, .open .dropdown-toggle.gform_button {
          background-image: none; }
         
        .gform_button.disabled, .gform_button[disabled], fieldset[disabled] .gform_button, .gform_button.disabled:hover, .gform_button[disabled]:hover, fieldset[disabled] .gform_button:hover, .gform_button.disabled:focus, .gform_button[disabled]:focus, fieldset[disabled] .gform_button:focus, .gform_button.disabled:active, .gform_button[disabled]:active, fieldset[disabled] .gform_button:active, .gform_button.disabled.active, .gform_button[disabled].active, fieldset[disabled] .gform_button.active {
          background-color: #428bca;
          border-color: #357ebd; }
         
        .gform_wrapper .gfield_error .gfield_label {
          color: #b94a48; }
         
        .gform_wrapper .gfield_error input, .gform_wrapper .gfield_error select, .gform_wrapper .gfield_error textarea {
          border-color: #eed3d7;
          background-color: #f2dede;
          color: #b94a48; }
         
        .gform_wrapper .gfield_error input:focus, .gform_wrapper .gfield_error select:focus, .gform_wrapper .gfield_error textarea:focus {
          border-color: #b94a48;
          outline: 0;
          -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(185, 74, 72, 0.6);
          box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(185, 74, 72, 0.6); }
         
        .validation_error {
          padding: 15px;
          margin-bottom: 20px;
          border: 1px solid transparent;
          border-radius: 4px;
          background-color: #f2dede;
          border-color: #eed3d7;
          color: #b94a48; }
         
        .validation_error h4 {
          margin-top: 0;
          color: inherit; }
         
        .validation_error .alert-link {
          font-weight: bold; }
         
        .validation_error>p, .validation_error>ul {
          margin-bottom: 0; }
         
        .validation_error>p+p {
          margin-top: 5px; }
         
        .validation_error hr {
          border-top-color: #e6c1c7; }
         
        .validation_error .alert-link {
          color: #953b39; }
         
        #gforms_confirmation_message {
          padding: 15px;
          margin-bottom: 20px;
          border: 1px solid transparent;
          border-radius: 4px; 
        background-color: #fff;
        border-radius: 4px;
        color: #000;
        margin-bottom: 20px;
    }
         
        #gforms_confirmation_message h4 {
          margin-top: 0;
          color: inherit; }
         
        #gforms_confirmation_message .alert-link {
          font-weight: bold; }
         
        #gforms_confirmation_message>p, #gforms_confirmation_message>ul {
          margin-bottom: 0; }
         
        #gforms_confirmation_message>p+p {
          margin-top: 5px; }
         
        .gallery-row {
          padding: 15px 0; }
         
        .aligncenter {
          display: block;
          margin: 0 auto; }
         
        .alignleft {
          float: left; }
         
        .alignright {
          float: right; }
         
        figure.alignnone {
          margin-left: 0;
          margin-right: 0; }

        .gform_validation_container, .gform_wrapper .gform_validation_container, body .gform_wrapper li.gform_validation_container, body .gform_wrapper .gform_body ul.gform_fields li.gfield.gform_validation_container, body .gform_wrapper ul.gform_fields li.gfield.gform_validation_container {
            display: none !important;
            left: -9000px;
            position: absolute !important;
        }

        li.checkbox, li.radio {
            padding-left: 0;
            margin-bottom: 5px;
        }

        li.checkbox input, li.radio input {
            height: 15px;
            width: 15px;
            margin-right: 5px;
        }

        .ginput_container .textarea.small {
            height: 80px;
        }
		
        #contactmodal .modal-dialog {
            padding-top: 4%;
        }

        #contactmodal div.gform_footer {
            padding: 10px 15px 20px;
        }

        .gform_body .gfield {
            margin-bottom: 15px;
        }

        .gfield_description.validation_message {
            color: #ff808e;
            margin: 5px 0;
        }

/* Call us Modal */

#callusmodal .modal-dialog {
    padding-top: 10%;
}
#callusmodal .col-md-push-1, #callusmodal .col-md-pull-1 {
	margin:0 2%;
	padding:20px 0 0;
	width:45%;
	float:left;
	left:auto;
	right:auto;
}
#callusmodal .col-md-pull-1 {
	padding-left:90px;
}
#callusmodal h3 {
	margin-top:0;
}
#callusmodal .icon-phone i {
	top:18px;
	right:auto;
	left:0;	
}
@media only screen and (max-width:570px) {
	#callusmodal .col-md-push-1, #callusmodal .col-md-pull-1 {
		width:96%	
	}
	#callusmodal .icon-phone i {
	}
}


.help-block {
    color: #999999;
    display: block;
    font-size: 12px;
}

/* Gallery */

#gallery-1 img {
    border: 1px solid #cfcfcf!important;
    height: auto!important;
    max-width: 100%!important;
}

#gallery-1 .gallery-item {
    width: 100%!important;
}

/* Case Studies */
div.case-study-hero {
    padding: 50px 0;
}

    span.case-study-cat {
        font-size: 18px;
        color: #959595;
        display: block;
        margin-top: 30px;
        text-transform: uppercase;
    }

    div.case-study-hero h1 {
        font-size: 55px;
        color: #b01324;
        margin-bottom: 0;
    }

    span.client-subtitle {
        font-size: 24px;
        margin-bottom: 30px;
        display: block;
    }

    div.case-study-hero p {
        font-size: 16px;
    }

div.case-study-goals {
    background: #f4f4f4;
    padding: 50px 0;
}

    div.case-study-goals img {
        margin-top: 30px;
        max-width: 100%;
    }

    div.case-study-goals h2 {
        border-bottom: 1px solid #ddd;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

div.case-study-solutions {
    padding: 50px 0;
}

    div.case-result-box {
        background: #b01324;
        border-radius: 5px;
        padding: 30px;
        text-align: center;
        color: #fff;
        font-size: 20px;
        margin-bottom: 30px;
    }

        span.case-box-title {
            font-size: 60px;
            font-family: 'open_sans_condensedbold';
            display: block;
        }

        span.case-box-subtitle {
            line-height: 25px;
        }

    div.case-study-solutions h2 {
        border-bottom: 1px solid #ddd;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }

div.case-study-testimonials {
    padding: 50px 0;
}

    div.case-study-testimonials h3 {
        font-size: 45px;
        color: #b01324;
    }

    div.case-study-testimonials p {
        font-size: 24px;
    }

    div.case-study-testimonials > .container {
        border-bottom: 1px solid #eee;
        padding-bottom: 60px;
    }

div.case-study-cta {
    padding: 40px 0 80px;
}   
    div.case-study-cta a:hover {
        background: #b01324;
        color: #fff;
    }

    div.case-study-cta a {
        background: none repeat scroll 0 0 transparent;
        border: 3px solid #b01324 ;
        color: #b01324;
        font-weight: bold;
        transition: all 0.3s ease-out 0s;
        border-radius: 5px;
        display: inline-block;
        padding: 15px 60px;
        font-size: 22px;
    }

/* Local Landing Page */
div.local-info-box {
    background: #eeeeee;
    padding: 20px;
    min-height: 350px;
    position: relative;
}

    div.local-info-box strong {
        font-weight: normal;
        font-family: "open_sans_condensedbold",Arial,sans-serif;
    }

    div.local-info-box p {
        line-height: 1.234;
        margin-bottom: 15px;
    }

span.local-info-box-title {
    font-weight: bold;
    margin-bottom: 15px;
    display: block;
    margin-top: 15px;
    font-size: 18px;
    font-family: "open_sans_condensedbold",Arial,sans-serif;
    font-weight: normal;
    text-align: center;
}

div.local-info-box ul {
    margin: 0;
    padding: 0;
}

    div.local-info-box ul li {
        list-style: none;
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px dotted #ccc;
    }

    div.local-info-box a.info-button {
        background: #b01324 none repeat scroll 0 0;
        border-radius: 4px;
        bottom: 20px;
        color: #fff;
        display: block;
        left: 20px;
        padding: 7px 12px;
        position: absolute;
        right: 20px;
        text-align: center;
        width: auto;
    }

body.page-template-template-local #track-record {
    margin-top: 40px;
}




#sub-footer #field_3_2 {
	display:none;
}
.ul-newsletter {
    margin-top: -10px;
    width: 100%;
    padding-bottom: 20px;
    float: left;
}
.ul-newsletter li {
    margin-bottom: 0!important;
    padding: 0 9px 10px 14px!important;
    width: 50%;
    background: url(img/ul-newsletter-icon.png) no-repeat left 6px transparent;
    color: #fff;
    float: left;
    list-style: none!important;
    font-size: 14px;
}
body .gform_wrapper form div.gform_body ul.gform_fields li.gfield.gfield_html ul.ul-newsletter li {
    list-style: none!important;
}
.gform_wrapper .top_label .gfield_label {
    margin: 0!important;
}
.ul-newsletter li.li-title {
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 15px;
    background: none;
    font-weight: bold;
    width: 100%;
}
#sidebar #gform_confirmation_message_3 {
    padding: 25px;
    color: #fff;
    text-align: center;
}
.spam-newsletter {
    width: 100%;
    padding: 0 25px;
    font-size: 12px;
    color: #888;
    text-align: center;
    display: block;
    padding-bottom: 20px;
}


/* GF Styles */

.gform_wrapper ul li.gfield {
    clear: none!important;
}

.gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium {
    width: 100%!important;
}

.gform_wrapper {
    margin: 0!important;
}

.gform_wrapper li.gfield.gfield_creditcard_warning {
    border: none!important;
}

.gfield_creditcard_warning_message {
    display: none!important;
}

.gform_wrapper .ginput_complex .ginput_cardinfo_right span.ginput_card_security_code_icon {
    position: absolute!important;
    right: 50px !important;
    left: auto!important;
    top: 5px!important;
}

#payments {
    padding-top: 0!important;
    padding-bottom: 60px!important;
}

.payments-heading {
    text-align: center;
}

div#cadpayment, div#usdpayment {
    margin-top: 20px;
    margin-bottom: 20px;
}

#payments .panel-heading {
    text-align: center;
    background: #B01324;
    color: #fff;
    font-size: 25px;
    padding-bottom: 0;
    padding-top: 20px;
}

    #payments ul {
        padding-top: 10px;
        text-align: center;
    }

        #payments ul.nav li {
            display: inline-block;
            position: relative;
            font-size: 18px;
        }

        #payments ul.nav li a {
            color: #730e19;
            background: none;
            text-shadow: 1px 1px 1px #d02b3d;
        }

            #payments ul.nav li a:hover, #payments ul.nav li a:focus {
                background: none;
            }

            #payments ul.nav li.active a {
                color: #fff;
                background: none;
            }

                #payments ul.nav li.active .currency-active {
                    background: url(img/currency-select-arrow.png) no-repeat center center;
                    bottom: -15px;
                    height: 20px;
                    left: 0;
                    margin: 0 auto;
                    position: absolute;
                    right: 0;
                    width: 30px;
                }


.fsRowOpen, .fsRowClose {
    background: none!important;
}

.fsRowBottom {
    display: none!important;
}

#payments .fsForm .fsLabel {
    width: 
}

#payments .fsSubmit {
    margin-bottom: 0;
}

#payments .fsSubmitButton {
    background-color: #5cb85c;
    border: medium none;
    color: #fff;
    display: block;
    font-weight: bold;
    height: auto;
    margin: 0 auto;
    padding: 15px 30px;
}

#payments .fsForm .fsLabel {
    color: #444;
    padding-right: 20px;
    text-align: right;
    width: 30%;
}

#payments .fsFieldHorizontal {
    width: 70%;
    position: relative;
}

    #payments .fsFieldHorizontal .fsField {
        width: 100%;
    }

    #payments .fsCurrency {
        color: #555;
        font-size: 16px;
        font-weight: bold;
        left: 5px;
        position: absolute;
        top: 6px;
    }

    #payments .fsFormatCreditCard {
        margin-bottom: 5px;
    }

#payments input {
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    color: #555;
    font-size: 14px;
    height: 34px;
    line-height: 1.42857;
    padding: 6px 12px;
    transition: border-color 0.15s ease-in-out 0s, box-shadow 0.15s ease-in-out 0s;
    vertical-align: middle;
}

#field37808304, #field23391396 {
    padding-left: 20px!important;
}

#field37808302M, #field37808302Y, #field23391371M, #field23391371Y {
    width: 110px !important;
    border-radius: 4px;
    border: 1px solid #ccc;
    padding: 5px;
}

#payments .fsSectionText {
    border-bottom: 1px dotted #ccc;
    color: #444;
    font-size: 20px;
    font-weight: normal;
    padding-bottom: 10px;
    text-align: center;
}

    #payments .fsSectionText strong {
        font-weight: normal;
    }

#payments .fsSectionText p {
    margin-bottom: 0;
}

#payments .fsFieldFocused {
    background: #eee;
}

/*------------------------------------*\
	TYPOGRAPHY
\*------------------------------------*/




/*------------------------------------*\
    RESPONSIVE
\*------------------------------------*/

@media only screen and (min-width:320px) {
    ul.home-clients li {
        display: inline-block;
        list-style: outside none none;
        margin: 0 0px;
    }

    ul.home-clients li img {
        height: 25px;
        opacity: 0.6;
        width: auto;
    }

}
@media only screen and (min-width:480px) {
    ul.home-clients li {
        display: inline-block;
        list-style: outside none none;
        margin: 0 0;
    }

    ul.home-clients li img {
        height: 30px;
        opacity: 0.6;
        width: auto;
    }

}
@media only screen and (min-width:768px) {
    ul.home-clients li {
        display: inline-block;
        list-style: outside none none;
        margin: 0 0;
    }

    ul.home-clients li img {
        height: 35px;
        opacity: 0.6;
        width: auto;
    }

    #main-footer .contact-us {
        text-align: right;
    }

    #main-footer .contact-us .icon-phone, .contact-us .icon-mail {
        padding: 23px 95px 23px 0;
    }

    .contact-us .icon-mail {
        margin-top: 25px;
    }

    .icon-phone i, .icon-mail i {
        border: 4px solid #444444;
        border-radius: 58px;
        color: #444444;
        font-size: 40px;
        line-height: 70px;
        position: absolute;
        right: 0;
        text-align: center;
        top: 11px;
        width: 78px;
        display: block;
    }

    #main-footer .location {
        text-align: left;
    }
    
    #gallery-1 img {
        max-width: 95%!important;
    }

    #gallery-1 .gallery-item {
        width: 33%!important;
    }
}

@media (min-width: 992px) {
    .navbar-fixed-top {
        top: 49px;
    }
}

@media only screen and (min-width:1024px) {

    .fsForm {
        width: 100%;
    }

    .testimonial-wrapper .testimonial-body span.testimonial-body {
        font-size: 17px;
    }
}
@media only screen and (min-width:1140px) {
	#what-we-do .content-holder p {
		font-size:18px;	
	}

    .testimonial-wrapper .testimonial-body h4 {
        color: #b01324;
        font-size: 22px;
        margin-top: 80px;
    }

    ul.home-clients li {
        display: inline-block;
        list-style: outside none none;
        margin: 0 5px;
    }

    ul.home-clients li img {
        height: 45px;
        opacity: 0.6;
        width: auto;
    }
}
@media only screen and (min-width:1280px) {

}
@media only screen and (-webkit-min-device-pixel-ratio:1.5),
	   only screen and (min-resolution:144dpi) {

}

/* Media Queries */
@media (max-width: 768px) { 
    

    .social-media {
        float: left!important;
        margin-top: 30px;
    }

    .meet-us #the-team .border-top-red h1.section-title {
        font-size: 20px;
        margin-top: -33px;
        width: 190px;
    }

    #facts .testimonial-widget img {
    }

    .home-main-body .row {
        margin-bottom: 0px;
    }

    #main-navigation > ul li {
        background: url("img/nav-separator.png") no-repeat scroll right center rgba(0, 0, 0, 0);
        float: left;
        font-size: 10px;
        list-style: outside none none;
        padding: 0 14px;
        text-align: right;
    }

    #main-navigation > ul li a {
        color: #ffffff;
        margin-right: 3px;
        padding: 4px 6px 4px 4px;
        text-decoration: none;
        text-transform: uppercase;
        transition: background-color 0.3s ease-out 0s;
    }

    #main-navigation ul li {
        display: inline-block;
        float: none;
        margin: 0;
        padding: 0 5px 0 0;
    }

    .testimonial-wrapper div.testimonial-body {
        margin-bottom: 40px;
    }

    .home .testimonial-wrapper .testimonial-picture img {
        margin: 20px 0 10px;
        max-width: 60%;
    }

    .testimonial-wrapper .testimonial-body h4 {
        margin-top: 20px;
    }

    body p, .home-main-body p {
        font-size: 14px;
    }

    .home-main-content .home-main-subtitle {
        font-size: 16px;
    }

    span.ribbon-corner {
        display: none;
    }

    .testimonial-wrapper .testimonial-picture img {
        margin-top: 0;
        max-width: 65%;
    }

    .inner-page #main-content > aside, .inner-page #main-content > section {
        padding-top: 0;
    }

    div.goals-left {
        text-align: center;
    }

    div.case-study-testimonials h3 {
        font-size: 28px;
    }

    div.case-study-testimonials p {
        font-size: 16px;
    }
	
	#landinginpost {
		text-align:center;
	}
	#landinginpost img {
		margin-right:0;
		width:100%;
		max-width:215px;
		display:inline-block;
		float:none;
	}
	#landinginpost .text {
		margin-top:20px;
		width:100%;
	}
    
}

@media (max-width: 992px) {
    body {
        padding-top: 0!important;
    }

    .navbar-fixed-top, .navbar-fixed-bottom {
        position: static;
        margin-bottom: 0;
    }
    #main-header {
        height: auto;
    }

    div.navbar-header {
        float: none;
    }

    #logo {
        float: none;
        margin: -9px auto 0;
        display: block;
    }

    #main-navigation {
        float: left;
        width: 100%;
    }

        #main-navigation ul {
            text-align: center;
        }

            #main-navigation ul li {
                display: inline-block;
                float: none;
                margin: 0;
            }

    .meet-us #page-title {
        font-size: 35px;
        font-weight: normal;
        margin: 100px 0 50px;
    }

    #hightlighted-client-testimonial img.col-md-3 {
        display: none;
    }

    #track-record #hightlighted-client-testimonial #testimonial-details {
        float: none;
        width: auto;
        margin: 0;
        padding: 30px;
    }

    #facts .testimonial-widget {
        margin-bottom: 30px;
    }
	
	
	.blog-content {
	  padding-top:0;
	}

    div.local-info-box {
        min-height: 200px;
        padding-bottom: 60px;
    }
    
	iframe.HB-Bar {
		top:0!important;
		position:absolute!important;
	}
	
	#sub-footer div.gform_body {
		width: 61%;
	}
	#sub-footer div.gform_footer {
		width: 39%;
	}
	footer #sub-footer .social-media p {
	    font-size: 14px;
	}
	#sub-footer .social-media .fa {
		font-size:20px;
	    line-height: 40px;
	    min-width: 40px;
	}

	

}

@media (max-width: 1200px) {
    span.local-info-box-title {
        font-size: 15px;
    }

    div.local-info-box p, div.local-info-box ul li {
        font-size: 13px;
    }
	#sidebar .ribbon.cta-blue .widgettitle {
		padding-right: 0px;
		padding-left: 0px;
		font-size:22px!important;
		line-height:27px!important;
	}
}

@media (max-width: 480px) {
	
	#landinginpost {
		padding:20px 20px;
	}
	#landinginpost .text p {
		padding-bottom:20px;
	    font-size: 15px;
	}
	#landinginpost .text p.title {
		font-size:18px;
		line-height:24px;
	}
	#landinginpost form .input {
		height:35px;
		font-size:16px;
	}
	#landinginpost .text .button, #landinginpost form .gform_button {
		border-radius: 8px;
		border-top-right-radius: 5px;
		border-top-left-radius: 5px;
		font-size:18px;
		line-height:24px;
	}
	
	.magauthor .avatar {
	    margin: 0 10px 0 0;
	}
	.magauthor p {
		padding-left:0;
		float:none;
	}
	
    .testimonial-wrapper .testimonial-body span.author {
        display: block;
        font-weight: 600;
        margin-top: 15px;
        text-align: center;
    }

        .testimonial-wrapper .testimonial-body span.author a {
            background: #b01324 none repeat scroll 0 0;
            border-radius: 4px;
            color: #fff;
            float: none;
            line-height: 1;
            margin-top: 15px;
            padding: 10px 20px;
            margin-left: 15px;
            text-decoration: none;
            display: inline-block;
        }
		
		
		

	
	}



@media (min-width: 768px) { 


	
    #main-footer .contact-us .call-us address a {
        display: block;
        font-size: 25px;
        line-height: 35px;
    }

    #main-footer .contact-us .email-us address a {
        font-size: 25px;
    }
	
	
	
}

@media (min-width: 992px) { 
    
}

@media (min-width: 1200px) {
    
}


   
/*------------------------------------*\
    WORDPRESS CORE
\*------------------------------------*/
   
.alignnone {
	margin:5px 20px 20px 0;
    max-width: 100%;
    height: auto;
}
.aligncenter,
div.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
.aligncenter {
	display:block;
	margin:5px auto 5px auto;
}
a img.alignright {
	float:right;
	margin:5px 0 20px 20px;
}
a img.alignnone {
	margin:5px 20px 20px 0;
}
a img.alignleft {
	float:left;
	margin:5px 20px 20px 0;
}
a img.aligncenter {
	display:block;
	margin-left:auto;
	margin-right:auto;
}
.wp-caption {
	background:#FFF;
	border:1px solid #F0F0F0;
	max-width:96%;
	padding:5px 3px 10px;
	text-align:center;
}
.wp-caption.alignnone {
	margin:5px 20px 20px 0;
}
.wp-caption.alignleft {
	margin:5px 20px 20px 0;
}
.wp-caption.alignright {
	margin:5px 0 20px 20px;
}
.wp-caption img {
	border:0 none;
	height:auto;
	margin:0;
	max-width:98.5%;
	padding:0;
	width:auto;
}
.wp-caption .wp-caption-text,
.gallery-caption {
	font-size:11px;
	line-height:17px;
	margin:0;
	padding:0 4px 5px;
}
.sticky {
	
}
.bypostauthor {
	
}

/*------------------------------------*\
    PRINT
\*------------------------------------*/

@media print {
	* {
		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) ")";
	}
	.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;
	}
	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;
	}
}