/*-----------------------------------------------------------------------------------------------*/
/*                                  CSS Style for Mortgage Calculator                            */
/*                                                                                               */
/*-----------------------------------------------------------------------------------------------*/

/*-----------------------------------------------------------------------------------------------*/
/*                                          GENERAL STYLES                                       */
/*-----------------------------------------------------------------------------------------------*/


#calcWrapper, #adminWrapper {
	font-size: 16px;
	line-height: 1.6em;
	color: #777;
    background: #FFF;
    margin: auto;
    padding: 10px;
    position: relative;
    z-index: 99;
}


#calcWrapper table, #adminWrapper table {border-collapse: separate;border-spacing: 0;}

/*-----------------------------------------------------------------------------------------------*/
/*                                          GENERAL LAYOUT                                       */
/*-----------------------------------------------------------------------------------------------*/


#calcFooter {
    clear:both;
    font-size: 11px;
    width: 75%;
    padding-top: 10px;
}

#calcFooter p {
    text-align: center;
}

#selections {
    
}
#selections tr {
    display:table-row !important; 
}
#selections td {
    padding: 10px;
    vertical-align:middle;
    display:table-cell !important;
}
#selections td.title {
    text-transform: uppercase;
    font-weight: 600;
}

#selections .entry {
    text-align: right;
    padding-right: 0px;
}

#selections .symbol {
    margin: 5px 0px 0px -5px !important;
    border: 0px solid #ff0000;
    padding: 0px;
}
.expl {
    padding: 0 0 0 10px;
    height: 52px;
    width: 40px;
    background: #eee;
    display:table-cell;
    vertical-align:middle;
}

/* Opera Only height fix */
noindex:-o-prefocus, .expl {
  height: 54px;;
}

#selections td.emailTD {
    text-align: right;
    padding:10px 20px 10px 10px;
    display: none;
}
.adminTxt {
    height: 52px;
    line-height: 52px;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 5px;
    color: #777;
    border: 1px solid #000;
    margin-right: -2px;
}
#admin td, #admin1 td, #admin2 td {
    padding: 5px;
}
.section, .section1, .section2 {
    float:left;
    padding: 5px;
    margin: 5px;
}

.adminSel {
    height: 52px;
    line-height:46px;   /* For Safari */
    padding: 10px;
    border-radius: 5px;
    color: #777;
    border: 1px solid #000;
    margin-right: -2px;
}
p.sep {
    color: #333;
    text-decoration: underline;
}

.inTxt {
    height: 52px;
    padding: 0px;
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 5px 0px 0px 5px;
    color: #777;
    border: 1px solid #404040;
    margin-right: -2px;
    vertical-align: middle;
    line-height: 50px;  /* For IE 8 */    
}

.inSel {
    height: 54px;
    line-height:48px;   /* For Safari */
    padding: 10px;
    border-radius: 5px 0px 0px 5px;
    color: #777;
    border: 1px solid #000;
    margin-right: -2px;
}

.focus {
    border: 1px solid #2981e4;
}

.buttonRow {
    text-align: right;
}

.buttons, .buttons:visited {
    background: #222 url(/images/calculator/overlay.png) repeat-x;
    display: inline-block;
    color: #fff;
    text-decoration: none;
    -moz-border-radius: 6px;
    -webkit-border-radius: 6px;
    border-radius: 6px;
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.6);
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.6);
    box-shadow: 0 1px 3px rgba(0,0,0,0.6);
    text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
    border: 1px solid #777;
    position: relative;
    cursor: pointer;
    font-size: 16px;
    padding: 8px 14px 9px;
}

.buttons:active {
    top: 1px;
}

.tableContainer {
    border-radius: 5px;
    border: 1px solid #777;
}

.schedule {
    width: 100%;
}
.schedule td {
    text-align: center;
    padding: 5px;
}

.schedule th {
    background-color: #777;
    color: #ccc;
    text-align: center;
    padding: 5px 0 5px 0;
}

tr.evenRow td {
    background-color: #FFFFFF;
}
tr.oddRow td {
    background-color: #E6E6E6;
}

.highlight {
    background-color: #9fe48e;
    color: #000;
}

#schedule {
    float:left;
    width: 650px;
    padding: 25px;
}


.jtip { z-index: 999;}

.ui-tooltip, .arrow:after {
    background: black;
    border: 2px solid white;
  }
  .ui-tooltip {
    padding: 10px 20px;
    color: white;
    border-radius: 20px;
    font: bold 14px "Helvetica Neue", Sans-Serif;
    text-transform: uppercase;
    box-shadow: 0 0 7px black;
  }
  .arrow {
    width: 70px;
    height: 16px;
    overflow: hidden;
    position: absolute;
    left: 50%;
    margin-left: -35px;
    bottom: -16px;
  }
  .arrow.top {
    top: -16px;
    bottom: auto;
  }
  .arrow.left {
    left: 20%;
  }
  /*
  .arrow:after {
    content: "";
    position: absolute;
    left: 20px;
    top: -20px;
    width: 25px;
    height: 25px;
    box-shadow: 6px 5px 9px -9px black;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
  }
  */
  .arrow.top:after {
    bottom: -20px;
    top: auto;
  }

/*-----------------------------------------------------------------------------------------------*/
/*                                         Button Colors                                         */
/*-----------------------------------------------------------------------------------------------*/

.greenButton, .greenButton:visited        { background-color: #64b252; }
.greenButton:hover                        { background-color: #569a46; }
.redButton, .redButton:visited            { background-color: #e62727; }
.redButton:hover                          { background-color: #cf2525; }
.orangeButton, .orangeButton:visited      { background-color: #ff5c00; }
.orangeButton:hover                       { background-color: #d45500; }
.blueButton, .blueButton:visited          { background-color: #2981e4; }
.blueButton:hover                         { background-color: #2575cf; }
.yellowButton, .yellowButton:visited      { background-color: #ffb515; }
.yellowButton:hover                       { background-color: #fc9200; }


/*-----------------------------------------------------------------------------------------------*/
/*                                         Modal Styling                                         */
/*-----------------------------------------------------------------------------------------------*/

#overlay {
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:#000;
    z-index:99;
    opacity:0.5;
}

#modal {
    position:absolute;
    background:url(tint20.png) 0 0 repeat;
    background:rgba(0,0,0,0.2);
    border-radius:14px;
    padding:8px;
    z-index:100;
}

#content {
    border-radius:8px;
    background:#fff;
    padding:20px;
    overflow: auto;
    color: #777;
}

#content p {margin: 15px 0; }

#content table {border-collapse: separate;border-spacing: 0;}

.innerContent {
    width: 700px;
}


#close {
    position:absolute;
    background:url(/images/calculator/close.png) 0 0 no-repeat;
    width:24px;
    height:28px;
    display:block;
    text-indent:-9999px;
    top:-5px;
    right:-5px;
}

/*-----------------------------------------------------------------------------------------------*/
/*                                         Form and Text Area Drop Shadow                        */
/*-----------------------------------------------------------------------------------------------*/


.formDiv
{
    float: left;
    position: relative;
    width: 100%;
    max-width: 671px;
    padding: 25px;
    background-color: #fff;
    border: 1px solid #cecece;
}
.formDiv:before, .formDiv:after
{
    position: absolute;
    width: 40%;
    height: 30px;
    content: ' ';
    left: 12px;
    bottom: 12px;
    background: transparent;
    -webkit-transform: skew(-5deg) rotate(-5deg);
    -moz-transform: skew(-5deg) rotate(-5deg);
    -ms-transform: skew(-5deg) rotate(-5deg);
    -o-transform: skew(-5deg) rotate(-5deg);
    transform: skew(-5deg) rotate(-5deg);
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.7);
    -moz-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.7);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.7);
    z-index: -1;
}
.formDiv:after
{
    left: auto;
    right: 12px;
    -webkit-transform: skew(5deg) rotate(5deg);
    -moz-transform: skew(5deg) rotate(5deg);
    -ms-transform: skew(5deg) rotate(5deg);
    -o-transform: skew(5deg) rotate(5deg);
    transform: skew(5deg) rotate(5deg);
}

.blurb {
    position: relative;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #999;
}

.blurb:before, .blurb:after
{
    position: absolute;
    width: 40%;
    height: 30px;
    content: ' ';
    left: 12px;
    bottom: 12px;
    background: transparent;
    -webkit-transform: skew(-5deg) rotate(-5deg);
    -moz-transform: skew(-5deg) rotate(-5deg);
    -ms-transform: skew(-5deg) rotate(-5deg);
    -o-transform: skew(-5deg) rotate(-5deg);
    transform: skew(-5deg) rotate(-5deg);
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.7);
    -moz-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.7);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.7);
    z-index: -1;
}
.blurb:after
{
    left: auto;
    right: 12px;
    -webkit-transform: skew(5deg) rotate(5deg);
    -moz-transform: skew(5deg) rotate(5deg);
    -ms-transform: skew(5deg) rotate(5deg);
    -o-transform: skew(5deg) rotate(5deg);
    transform: skew(5deg) rotate(5deg);
}

/*-----------------------------------------------------------------------------------------------*/
/*                                         Waiting Animation                                     */
/*-----------------------------------------------------------------------------------------------*/



.waiting {
    display:    none;
    position:   fixed;
    z-index:    1000;
    top:        0;
    left:       0;
    height:     100%;
    width:      100%;
    background: rgba( 255, 255, 255, .8 );
}
.center {
    position: fixed;
    top: 50%;
    left:50%;
}
body.loading {
    overflow: hidden;
}

body.loading .waiting {
    display: block;
}
