body {
    font-family: "Campton", serif;
}

.tooltip.right{
    width: 250px;
}

.icon-bar{
    background-color: #5e5e5e;
}

.tooltip-arrow{
    background-color: #eee;
}

.tooltip-inner{
    background-color: #eee;
    color: #7c7c7c;
}

.has-error .tooltip-inner{
    background-color: #761c19;
    color: white;
}

.has-error .tooltip-arrow{
    border-right-color: #761c19;
}

label.same-line {
    margin-top: 15px;
}

label.first-in-line {
    text-align: left;
}

.btn-file {
    position: relative;
    overflow: hidden;
}
.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

@media (min-width: 568px) {
    .container {
        width: 550px;
    }
}

@media (min-width: 992px) {
    .container {
        width: 970px;
    }
	
}

@media (min-width: 1200px) {
    .container {
        width: 950px;
    }
    label.same-line {
        padding-left: 0;
        margin-top: 0;
    }
    label.first-in-line {
        text-align: right;
    }
	a.navbar-brand {
		margin-left: 400px!important;
	}
}

#global-alert {
    display: none;
    position: fixed;
    z-index: 99999;
    width: 300px;
    margin-left: 50%;
    left: -150px;
    margin-top: -12px;
}

#global-alert h4{
    margin-top: 8px;
}

.navbar {
    padding-top: 10px;
    padding-right: 30px;
    background-color: white;
}

@media (min-width: 500px){
    .navbar {
        padding-right: 0;
    }
}

.navbar-brand img {
   
    position:relative;
    top: -10px;
}
.form-control {
	border-radius: 0px!important;
	}
.cc-form-container {
    margin-top: 90px;
}

.cc-container {
    height: 135px;
}


.jp-card-container {
    top: -40px !important;
    left: -14px !important;
}

.cc-form input[type=text],
.cc-form select {
    height: 30px;
}

.form-addon {
    background-color: transparent;
}

.cc-total input {
    background-color: rgba(0, 128, 0, 0.11) !important;
    border-color: rgba(0, 128, 0, 0.11) !important;
}

.cc-total .form-addon {
    background-color: rgba(0, 128, 0, 0.11);
    border-color: rgba(0, 128, 0, 0.11);
    color: green;
}

.cc-form label {
    text-transform: uppercase;
    padding-right: 0 !important;
    font-size: 12px;
    font-weight: lighter;
}

.form-header {
    width: 100%;
    background-color: #eee;
    color: #7c7c7c;
    height: 40px;
    margin: 10px 0 25px 0;
    padding: 8px 0 8px 20px;
    font-size: 14pt;
    text-align: left;
}

.form-header-top h1 {
    color: #7c7c7c;
    font-weight: lighter;
}

.form-header-top {
    text-align: center;
    margin-top: 15px;
}

.jon-navbar li {
    font-size: 9pt;
    font-weight: bold;
}

.nav > li > a:focus, .nav > li > a:hover {
    background-color: white;
}


.jon-navbar li a {
    padding-top: 7px;
    padding-bottom: 7px;
    color: #7c7c7c;
    font-weight: bold;
}

.jon-navbar li:hover a {
    -webkit-transition: all 200ms linear;
    -moz-transition: all 200ms linear;
    -o-transition: all 200ms linear;
    -ms-transition: all 200ms linear;
    transition: all 200ms linear;
    color: black !important;
}

li.phone{
    margin-bottom: 20px;
}

@media screen and (min-width: 550px) {
    li.login {
        background-color: white;
        -webkit-border-radius: 30px;
        -moz-border-radius: 30px;
        border-radius: 30px;
        border: 1px solid #8dc63f;
        margin-left: 10px;
        margin-right: 15px;
    }

    li.login a:hover,
    li.login a:active,
    li.login a:focus {
        background-color: #8dc63f;
        -webkit-border-radius: 30px;
        -moz-border-radius: 30px;
        border-radius: 30px;
        -webkit-transition: all 200ms linear;
        -moz-transition: all 200ms linear;
        -o-transition: all 200ms linear;
        -ms-transition: all 200ms linear;
        transition: all 200ms linear;
    }

    li.login:hover {
        background-color: #8dc63f;
        -webkit-border-radius: 30px;
        -moz-border-radius: 30px;
        border-radius: 30px;
    }

    .jon-navbar li.login:hover  a {
        color: white !important;
    }

    li.login a {
        color: #8dc63f;
    }

    li.phone{
        margin-bottom: 0;
    }
}

li.phone {
    font-size: 18px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    border: 1px solid #7c7c7c;
    margin-left: 10px;
    width: 35px;
    height: 35px;
    cursor: pointer;
}

li.phone a {
    padding-left: 10px;
}

li.phone a:hover {
    background-color: transparent;
}

.phone-popover {
    background-color: #2d3e4d;
    width: 170px;
    height: 80px;
    color: white;
    font-size: 14pt;
    text-align: center;
}

#phoneHeader {
    font-size: 10pt;
    margin-bottom: 5px;
    color: #c5d3dc;
    font-family: "Campton";
}

#phoneBody {
    font-family: "Campton";
}

.phone-popover.popover.bottom > .arrow:after {
    top: 1px;
    margin-left: -10px;
    content: " ";
    border-top-width: 0;
    border-bottom-color: #2d3e4d;
}

em.invalid {
    color: red;
    opacity: 1;
}

.money-decimal {
    font-size: 15pt;
    vertical-align: top;
    position: relative;
    top: 5px;
    margin-left: 5px;
}

.cc-blue {
    color: #007cc2;
}

.cc-dark-blue {
    color: #151f68;
}

.cc-orange {
    color: #f68026;
}

.cc-red {
    color: #cc0000;
}

iframe.johnson {
    width: 100%;
    margin-top: 40px;
    border: none;
}

/*progressbar*/
#progressbar {
    margin-bottom: 2px;
    overflow: hidden;
    /*CSS counters to number the steps*/
    counter-reset: step;
}
#progressbar li {
    list-style-type: none;
    color: #231f20;
    text-transform: uppercase;
    font-size: 9px;
    width: 20%;
    float: left;
    position: relative;
}
#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 20px;
    line-height: 20px;
    display: block;
    font-size: 10px;
    color: white;
    background: #231f20;
    border-radius: 3px;
    margin: 0 auto 5px auto;
}
/*progressbar connectors*/
#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: #231f20;
    position: absolute;
    left: -50%;
    top: 9px;
    z-index: -1; /*put it behind the numbers*/
}
#progressbar li:first-child:after {
    /*connector not needed before the first step*/
    content: none;
}
/*marking active/completed steps green*/
/*The number of the step and the connector before it = green*/
#progressbar li.active:before,  #progressbar li.active:after{
    background: #eaa437;
    color: white;
}

/* Next and Previous buttons */
.btn-success {
	background-color: #eaa437;
    border-color: #231f20;
}
.btn-success:hover {
	background-color: #d59737;
    border-color: #231f20;
}
.btn-success:active {
	background-color: #d59737;
    border-color: #231f20;
}
.btn-success {
  color: #fff;
  background-color: #eaa437;
  border-color: #231f20;
}
.btn-success:focus,
.btn-success.focus {
  color: #fff;
  background-color: #d59737;
  border-color: #231f20;
}
.btn-success:hover {
  color: #fff;
  background-color: #d59737;
  border-color: #231f20;
}
.btn-success:active,
.btn-success.active,
.open > .dropdown-toggle.btn-success {
  color: #fff;
  background-color: #d59737;
  border-color: #231f20;
}
.btn-success:active:hover,
.btn-success.active:hover,
.open > .dropdown-toggle.btn-success:hover,
.btn-success:active:focus,
.btn-success.active:focus,
.open > .dropdown-toggle.btn-success:focus,
.btn-success:active.focus,
.btn-success.active.focus,
.open > .dropdown-toggle.btn-success.focus {
  color: #fff;
  background-color: #d59737;
  border-color: #231f20;
}
.btn-success:active,
.btn-success.active,
.open > .dropdown-toggle.btn-success {
  background-image: none;
}
.btn-success.disabled:hover,
.btn-success[disabled]:hover,
fieldset[disabled] .btn-success:hover,
.btn-success.disabled:focus,
.btn-success[disabled]:focus,
fieldset[disabled] .btn-success:focus,
.btn-success.disabled.focus,
.btn-success[disabled].focus,
fieldset[disabled] .btn-success.focus {
  background-color: #d59737;
  border-color: #231f20;
}
/*form styles*/
#contact_form {
    width: 850px;
    margin: 15px auto;
    text-align: center;
    position: relative;
}

@media (max-width: 855px){
    #contact_form{
        width: 100%;
    }
    #progressbar{
        padding: 0;
    }
}

#contact_form fieldset {
    border: 0 none;
    border-radius: 3px;
    box-sizing: border-box;
    width: 100%;
    /*margin: 0 20px;*/

    /*stacking fieldsets above each other*/
    position: absolute;
}
/*Hide all except first fieldset*/
#contact_form fieldset:not(:first-of-type) {
    display: none;
}

#contact_form .form-control.error{
    border-color: red;
}

div.error{
    background-color: red;
    position: absolute;
    width: 100%;
    margin-top: -23px;
    margin-left: 15px;
    color: white;
}

.form-group {
    margin-bottom: 1rem;
    display: flex;
    margin-left: -15px;
    margin-right: -15px;
    justify-content: center;
}

.form-group div.radio{
    text-align: left;
}

.form-group div.radio label{
    margin-right: 15px;
    width: 186px;
    border-radius: 3px;
    border: 1px solid #D1D3D4;
    padding-left: 24px;
}

.required-asterisk{
    color: red;
    font-family: serif;
}

#cheque{
    height: 121px;
    margin: 0 auto;
    font-size: 12px;
    margin-bottom: 10px;
    background-color: #eee;
    width: 340px;
}

@media screen and (max-width: 342px){
    #cheque{
        width: auto;
    }
}

#cheque.bg-success{
    background-color: #dff0d8;
}

.cheque-owner{
    position: absolute;
    margin-left: 7px;
    margin-top: 5px;
    text-align: left;
}

.cheque-date{
    position: absolute;
    margin-left: 20px;
    margin-top: 30px;
}

.cheque-routing-number{
    position: absolute;
    margin-top: 105px;
    margin-left: 5px;
    font-family: 'Orbitron', sans-serif;
}

.cheque-account-number{
    position: absolute;
    margin-top: 105px;
    margin-left: 125px;
    font-family: 'Orbitron', sans-serif;
}

.cheque-bank-name{
    position: absolute;
    margin-top: 71px;
    width: 340px;
    text-align: right;
    padding: 0 5px;
}

/**
*  Review block
**/
div#review-container {
    margin: 10px 0 25px 0;
    padding: 0 20px;
    font-size: 14px;
}

.review-block .row{
    margin-bottom: 5px;
}

.form-group.agreement-checkbox{
    margin-bottom: 10px;
    margin-top: -25px;
}

.review-field-name {
    text-align: left;
    font-weight: 700;
}

.review-field-value {
    text-align: right;
}

@media screen and (min-width: 550px) {
    .review-field-name {
        text-align: right;
        font-weight: 700;
    }

    .review-field-value {
        text-align: left;
    }
}

/**
*  Signature
**/
@font-face {
    font-family: 'sign1';
    src: url('../fonts/Autograf.ttf') format('truetype');
}

@font-face {
    font-family: 'sign2';
    src: url('../fonts/Notera.ttf') format('truetype');
}

@font-face {
    font-family: 'sign3';
    src: url('../fonts/Signerica_Fat.ttf') format('truetype');
}

#signature-form .list-unstyled{
    margin-left: 15px;
}

.sign1{
    font-family: sign1, cursive;
    font-size: 15pt;
}

.sign2{
    font-family: sign2, cursive;
    font-size: 19pt;
}

.sign3{
    font-family: sign3, cursive;
    font-size: 13pt;
}


.mpa-pdf-page{
    width: 100%;
    margin-bottom: 10px;
}
@media screen and (min-width: 550px) {
    .mpa-pdf-page{
        width: 550px;
        margin-bottom: 10px;
    }
}
@media screen and (min-width: 992px) {
    .mpa-pdf-page{
        width: 650px;
        margin-bottom: 10px;
        margin-left: 2.5cm;
    }
}


#pdf-signature-2, #pdf-signature-3, #pdf-signature-4, #pdf-signature-5{
    background: transparent;
}

#pdf-signature-mpa2 input, #pdf-signature-mpa3 input, #pdf-signature-mpa4 input, #pdf-signature-mpa5 input{
    height: 26px;
    padding: 3px 6px;
}

#pdf-signature-mpa2{
    background-color: white;
    padding: 0 20px;
}

#pdf-signature-mpa3{
    background-color: white;
    padding: 0 20px;
}

#pdf-signature-mpa4{
    background-color: white;
    padding: 0 20px;
}
#pdf-signature-mpa5{
    background-color: white;
    padding: 0 20px;
}
@media screen and (max-width: 550px) {
    #mpa-name,
    #mpa-name1,
    #mpa-date1,
    #mpa-name2,
    #mpa-date2,
    #mpa-name3,
    #mpa-date3,
    #mpa-name4,
    #mpa-name5,
    #mpa-date5{
        display: none;
    }
}
@media screen and (min-width: 550px) {
    #pdf-signature-mpa2 input, #pdf-signature-mpa3 input, #pdf-signature-mpa4 input, #pdf-signature-mpa5 input{
        height: auto;
        padding: 0;
    }
    #pdf-signature-mpa2{
        padding: 0;
        position: absolute;
        margin-top: -1780px;
        margin-left: 55px;
        width: 195px;
    }

    #pdf-signature-mpa3{
        padding: 0;
        position: absolute;
        margin-top: -1530px;
        margin-left: 129px;
        width: 199px;
    }

    #pdf-signature-mpa4{
        padding: 0;
        position: absolute;
        margin-top: -830px;
        margin-left: 40px;
        width: 296px;
    }
	
	#pdf-signature-mpa5{
        padding: 0;
        position: absolute;
        margin-top: -830px;
        margin-left: 40px;
        width: 296px;
    }

    #mpa-name{
        position: absolute;
        margin-top: 18px;
        margin-left: 52px;
        font-size: 10px;
    }

    #mpa-name1 {
        position: absolute;
        margin-top: 420px;
        margin-left: 86px;
        font-size: 10px;
    }

    #mpa-date1 {
        position: absolute;
        margin-top: 420px;
        margin-left: 244px;
        font-size: 10px;
    }

    #mpa-name2 {
        position: absolute;
        margin-top: 651px;
        margin-left: 347px;
        font-size: 10px;
    }

    #mpa-date2 {
        position: absolute;
        margin-top: 651px;
        margin-left: 483px;
        font-size: 10px;
    }

    #mpa-name3 {
        position: absolute;
        margin-top: 1374px;
        margin-left: 38px;
        font-size: 10px;
    }

    #mpa-date3 {
        position: absolute;
        margin-top: 1351px;
        margin-left: 468px;
        font-size: 10px;
    }

    #mpa-name4{
        position: absolute;
        margin-top: 1230px;
        margin-left: 165px;
        font-size: 10px;
    }
	#mpa-name5 {
        position: absolute;
        margin-top: 1374px;
        margin-left: 38px;
        font-size: 10px;
    }

    #mpa-date5 {
        position: absolute;
        margin-top: 1351px;
        margin-left: 468px;
        font-size: 10px;
    }
}
@media screen and (min-width: 992px) {
    #pdf-signature-mpa2{
        position: absolute;
        margin-top: -1327px;
        margin-left: 173px;
        width: 195px;
    }

    #pdf-signature-mpa3{
        position: absolute;
        margin-top: -1064px;
        margin-left: 135px;
        width: 231px;
    }

    #pdf-signature-mpa4{
        position: absolute;
        margin-top: -111px;
        margin-left: 150px;
        width: 296px;
    }
	#pdf-signature-mpa5{
        position: absolute;
        margin-top: -218px;
        margin-left: 525px;
        width: 200px;
    }

    #mpa-name {
        position: absolute;
        margin-top: 31px;
        margin-left: 0px;
        font-size: 10px;
        text-align: left;
        text-indent: 172px;
    }

    #mpa-name1 {
        position: absolute;
        margin-top: 335px;
        margin-left: 162px;
        font-size: 10px;
        text-align: left;
    }

    #mpa-date1 {
        position: absolute;
        margin-top: 333px;
        margin-left: 357px;
        font-size: 10px;
        text-align: left;
    }

    #mpa-name2 {
        position: absolute;
        margin-top: 460px;
        margin-left: 468px;
        font-size: 10px;
        text-align: left;
    }

    #mpa-date2 {
        position: absolute;
        margin-top: 461px;
        margin-left: 654px;
        font-size: 10px;
        text-align: left;
    }

    #mpa-name3 {
        position: absolute;
        margin-top: 1541px;
        margin-left: 640px;
        font-size: 10px;
        text-align: left;
    }

    #mpa-date3 {
        position: absolute;
        margin-top: 1602px;
        margin-left: 657px;
        font-size: 10px;
    }

    #mpa-name4{
        position: absolute;
        margin-top: 1392px;
        margin-left: 295px;
        font-size: 10px;
        text-align: left;
    }
	#mpa-name5 {
        position: absolute;
        margin-top: 2340px;
        margin-left: 290px;
        font-size: 10px;
    }

    #mpa-date5 {
        position: absolute;
        margin-top: 2315px;
        margin-left: 310px;
        font-size: 10px;
    }
}

/** Result popup */

#submit-result .modal-title div {
    margin: 9px 0;
}

#submit-result .modal-title span{
    text-transform: uppercase;
}

#submit-result .modal-header{
    border-color: #4cae4c;
    background-color: #4cae4c;
    text-align: center;
    color: whitesmoke;
}

#submit-result .modal-footer{
    text-align: center;
}

#submit-result .modal-footer input{
    width: 100%;
}
@media screen and (min-width: 550px) {
    #submit-result .modal-footer input{
        width: 400px;
    }
}

#submit-result .modal-body{
    padding:0 15px;
}

#submit-result .modal-footer{
    background-color: #e8e8e8;
}

.submit-result-gray {
    background-color: #e8e8e8;
    padding: 10px 0;
    font-size: 16px;
}

#submit-result-numbers{
    color: #108fff;
}

#submit-result .modal-body p{
    padding: 20px;
    text-align: justify;
}

.submit-result-names{
    padding: 10px 0;
    font-size: 18px;
}

#loader-popup .modal-header{
    text-align: center;
}

#loader-popup .modal-body{
    text-align: center;
}

/****      GLOBAL RESPONSIVE TWEAKS     ***********/
@media (max-width: 768px){

}

@media (max-width: 550px){
    .form-header{
        height: auto;
    }
}