p { line-height: 1.5; }

.tab { margin-left: 40px; }

fieldset {
	margin-top: 30px;
}

.form-horizontal .higher {
	padding-top: 0px;
}

.space-top {
	margin-top: 10px;
}
.space-top2 {
	margin-top: 20px;
}

#origin_box
{
  border: solid 2px gray;
  padding: 7px;
}

td.w2p_fw {
	padding: 5px;
}

.alert-neutral {
    background-color: #BCA9F5;
    border-color: #240B3B;
    color: #240B3B;
}

.audio_div {
    display: table;
    margin: 0 auto;
}

.active_side {
	background-color: #CCC;
}

blockquote {
	font-size: 15px;
}

.dest_box {
  margin-top: 10px;
  border: solid 2px gray;
  padding: 7px;
  min-width: 300px;
  min-height: 120px;
}

#adaptive_box { background-color: #008a17; }
#avoid_box { background-color: #C11B17; }

.draggable
{
  border: solid 2px gray;
  margin: 7px;
  padding: 3px;
  cursor:move;
  background-color: white;
}


div.fb-like
{
    top:8px;
    left:20px;
}

html, body {
  height: 100%;
}

.table {
  margin-bottom: 5px;
}

.table th {
  text-align: center;
}
.table .td-radio {
  text-align: center;
}

.free-form {
  font-weight: 600;
  margin-top: 20px;
}

.main-body {
  padding-top: 50px;

}

img.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

#accept {
  margin-left: 20px;
}

/* form validation error */
.error_wrapper .error {
	padding: 5px;
	border: 1px solid transparent;
	border-radius: 4px;
	color: #b94a48;
	background-color: #f2dede;
	border-color: #eed3d7;
}

/* custom button */

.btn-continue {
  background-color: #563d7c;
  border-color: #563d7c;
  color: #FFF;
  margin-top: 10px;
  margin-bottom: 20px;
  float: right;
}
.btn-continue:hover {
  color: #FFF;
}

/* footer stuff */

#wrap {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin: 0 auto -60px;
}

#push,
#footer {
  height: 60px;
}
#footer {
  background-color: #eee;
  /*margin-top: 50px;*/
}
#footer p {
	margin-top: 10px;
	text-align: center;
}

/**/

/**FOOTER**

footer {
	//background-image:url('/static/images/page-bg.png');
	//background-repeat:repeat;
	overflow: hidden;
	margin-top: 10px;
	//width: 100%;
	padding-top: 20px;
	padding-bottom: 10px;
    display: block;
    font-size: 13px;
    color: #222;  
    background-color: #eee;
}

@media (max-width: 767px) {
	footer {
    	margin-right: -20px;
    	margin-left: -20px;
    }
}
@media (min-width: 768px) {
    footer {
        width: 100%;
    }
}

footer table {
    margin-left: 25px;
}

footer p, footer li, footer td {
    font-size: 13px;
    color: #999;
}

footer img {
    margin-right: 5px;
    width: 25px;
}

footer ul
{
	margin: 0px;
	padding: 0px;
	list-style:  none
}

.footer_contact li {
	line-height: 15px;
}

.footer_contact td {
	line-height: 15px;
	padding-right:15px;
	vertical-align: top;
}

#footer_connect li {
	margin-left: 25px;
	margin-top: 12px;
}

#footer_connect img {
	margin-bottom: 12px;
}

#footerCompany {
	margin-top: 10px;
	text-align: center;
}
/**/

/* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) {
    #footer {
      margin-left: -20px;
      margin-right: -20px;
      padding-left: 20px;
      padding-right: 20px;
    }
}

/* navbar */

.fertility-nav {
  text-shadow: 0 -1px 0 rgba(0,0,0,.15);
  background-color: #563d7c;
  border-color: #463265;
  box-shadow: 0 1px 0 rgba(255,255,255,.1);
  border-radius: 0px;
}
.fertility-nav .navbar-collapse {
  border-color: #463265;
}
.fertility-nav .navbar-brand {
  color: #fff;
}
.fertility-nav .navbar-nav > li > a {
  color: #cdbfe3;
}

.fertility-nav .navbar-nav > li > a:hover {
  color: #fff;
  background-color: #563d7c;
}
.fertility-nav .navbar-nav > .active > a,
.fertility-nav .navbar-nav > .active > a:hover {
  color: #fff;
  background-color: #463265;
}

.fertility-nav .navbar-toggle {
  border-color: #563d7c;
}
.fertility-nav .navbar-toggle:hover {
  background-color: #463265;
  border-color: #463265;
}

/* Page headers */
.fertility-header {
  padding: 30px 15px 40px; /* side padding builds on .container 15px, so 30px */
  font-size: 16px;
  text-align: center;
  text-shadow: 0 1px 0 rgba(0,0,0,.15);
  color: #cdbfe3;
  background-color: #563d7c;
}
.fertility-header h1 {
  color: #fff;
}
.fertility-header p {
  font-weight: 300;
  line-height: 1.5;
}
.fertility-header .container {
  position: relative;
}

@media screen and (min-width: 768px) {
  .fertility-header {
    font-size: 21px;
    text-align: left;
  }
  .fertility-header h1 {
    font-size: 60px;
    line-height: 1;
  }
}

@media screen and (min-width: 992px) {
  .fertility-header h1,
  .fertility-header p {
    margin-right: 380px;
  }
}



/*
 * Side navigation
 */

/* By default it's not affixed in mobile views, so undo that */
.fertility-sidebar.affix {
  position: static;
}

/* First level of nav */
.fertility-sidenav {
  margin-top: 30px;
  margin-bottom: 30px;
  padding-top:    10px;
  padding-bottom: 10px;
  text-shadow: 0 1px 0 #fff;
  background-color: #f7f5fa;
  border-radius: 5px;
}

/* All levels of nav */
.fertility-sidebar .nav > li > .sidetitle {
  display: block;
  color: #716b7a;
  padding: 5px 20px;
}

.fertility-sidebar .nav > li > a:hover,
.fertility-sidebar .nav > li > a:focus {
  text-decoration: none;
  background-color: #e5e3e9;
  border-right: 1px solid #dbd8e0;
}
.fertility-sidebar .nav > .active > a,
.fertility-sidebar .nav > .active:hover > a,
.fertility-sidebar .nav > .active:focus > a {
  font-weight: bold;
  color: #563d7c;
  background-color: transparent;
  border-right: 1px solid #563d7c;
}

/* Nav: second level (shown on .active) */
.fertility-sidebar .nav .nav {
  display: none; /* Hide by default, but at >768px, show it */
  margin-bottom: 8px;
}
.fertility-sidebar .nav .nav > li > a {
  padding-top:    3px;
  padding-bottom: 3px;
  padding-left: 30px;
  font-size: 90%;
}

/* Show and affix the side nav when space allows it */
@media screen and (min-width: 992px) {
  .fertility-sidebar .nav > .active > ul {
    display: block;
  }
  /* Widen the fixed sidebar */
  .fertility-sidebar.affix,
  .fertility-sidebar.affix-bottom {
    width: 213px;
  }
  .fertility-sidebar.affix {
    position: fixed; /* Undo the static from mobile first approach */
    top: 80px;
  }
  .fertility-sidebar.affix-bottom {
    position: absolute; /* Undo the static from mobile first approach */
  }
  .fertility-sidebar.affix-bottom .bs-sidenav,
  .fertility-sidebar.affix .bs-sidenav {
    margin-top: 0;
    margin-bottom: 0;
  }
}
@media screen and (min-width: 1200px) {
  /* Widen the fixed sidebar again */
  .fertility-sidebar.affix-bottom,
  .fertility-sidebar.affix {
    width: 263px;
  }
}




div.flash {
    font-weight:bold;
    display:none;
    position:fixed;
    padding:10px;
    top:48px;
    right:250px;
    min-width:280px;
    opacity:0.95;
    margin:0px 0px 10px 10px;
    vertical-align:middle;
    cursor:pointer;
    color:#fff;
    background-color:#000;
    border:2px solid #fff;
    border-radius:8px;
    -o-border-radius: 8px;
    -moz-border-radius:8px;
    -webkit-border-radius:8px;
    background-image: -webkit-linear-gradient(top,#222,#000);
    background-image: -o-linear-gradient(top,#222,#000);
    background-image: -moz-linear-gradient(90deg, #222, #000);
    background-image: linear-gradient(top,#222,#000);
    background-repeat: repeat-x;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    z-index:2000;
}

div.flash #closeflash{color:inherit; float:right; margin-left:15px;}
.ie-lte7  div.flash #closeflash
{color:expression(this.parentNode.currentStyle['color']);float:none;position:absolute;right:4px;}

div.flash:hover { opacity:0.25; }
