/** GLOBALS **/
* { -webkit-font-smoothing: antialiased; }

html {
  background-color: #232222;
}
body {
  position: relative;
  width: auto;
}
a:hover {
  text-decoration: none;
}

/** HELPERS **/
.ir {
  display: block;
  text-indent: -9999px;
}
.block { display: block; }
.inline { display: inline; }
.inline-block { display: inline-block; }

.link { cursor: pointer; cursor: hand; }

.center {float:none; margin-left:auto;margin-right:auto; }

.noselect {
  user-select: none;
   -webkit-user-select: none;
   -moz-user-select: none;
   -ms-user-select: none;
   -o-user-select: none;
}

.text-center { text-align: center; }
.relative { position: relative; }
.xs { font-size: .7em; line-height: .8em;}
.small {font-size: .9em;}
.big { font-size: 1.2em; font-weight: 400;}
.gray {color: #807E7E;}

/* visibility */

.visible-xs { }
.hidden-xs { }
@media (min-width: 641px){
  .visible-xs { display: none !important;}
  .hidden-xs { display: inherit !important;}
  }
@media (max-width:640px){
  .visible-xs { display: inherent !important;}
  .hidden-xs { display: none !important;}
  }

/* expand */
.show-expand, .show-expand-inline { display: none; }
.expand .show-expand { display: block; }
.expand .show-expand-inline { display: inline; }
.expand .hide-expand { display: none; }

/* textlimit */
.textlimit strong { font-weight: normal; }
.expand strong { font-weight: 500; }
.expand span.show-expand { display: inline; }
.expand div.show-expand  { display: block; }
.textlimit a.more,
.textlimit a.less {
  display: inline-block;
  font-weight: bold;
  border-bottom: 1px dashed #269BB6;
  cursor: pointer; cursor: hand;
}
.textlimit a.more i,
.textlimit a.less i {
  display: inline-block;
  width: 8px; height: 6px;
  margin-left: 5px;
  background: url(../img/sprite-global.svg) no-repeat -170px -40px;
}
.textlimit a.less i { background-position: -160px -40px; }

/* empty sets */
.on-empty { display: none; }
.is-empty .on-empty { display: block; }

/* busy state */
.on-busy,
.on-busy-i,
.on-busy-ib,
.busy .not-busy { display: none; }
.busy .on-busy { display: block; }
.busy .on-busy-i { display: inline; }
.busy .on-busy-ib { display: inline-block; }

/** TYPOGRAPHY **/

h1 {
  font-size: 25px;
  font-weight: 500;
}

strong { font-weight: 500; }

/** LAYOUT ELEMENTS **/
.region {
  position: relative;
}

.container {
  margin: 0 auto;
  padding: 0 20px;
}


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

.icon i { display: block; }

a.link { font-weight: 500; }

.row3 { margin-left: -29px; margin-right: -29px; }
.row3 .span {
  margin-left: 29px;
  width: 240px;
}
.controls { display: block; }

.ico {
  display: inline-block;
  width: 14px; height: 14px;
  margin-top: 1px;
  line-height: 14px; vertical-align: text-top;
  background-image: url('../img/sprite-ui.png');
  background-repeat: no-repeat;
}

.ico-upload,
.ico-camera {
  background-image: url('../img/sprite-ui.png');
}
.ico-upload { background-position: 0 -100px; }
.ico-camera { background-position: 0 -120px; }

/** REGIONS **/

#header {
  position: relative;
  margin-bottom: 30px;
  background: #404040;
}

#page {
  background-color: #fff;
}

#main {
  position: relative;
  padding: 0 0 20px 0;
}

#footer {
  position: relative;
}

#content {
  width: 790px;
  margin-left: 0;
}
.pane-content { padding: 10px; }

/** FORMS **/

select {padding:4px;}

/** BLOCKS **/

/* logo */
#logo {

}
#logo a {
  display: block;
  width: 128px; height: 65px;
  background: url(../img/sprite-global.svg) no-repeat 0 0;
}
#logo a:hover {
  background: url(../img/sprite-global.svg) no-repeat 0 -70px;
}

/* header links*/
.links {
  position: relative;
}

.links ul li {
  display: inline-block;
  text-align: center;
}
.links ul li a {
  display: block;
  color: #fff;
  text-decoration: none;
}

/** ELEMENTS **/

.box-page {
  background-color: #fff;
}

/* navbar */
.navbar {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
}
.navbar ul {
  padding: 4px 0;
}
.navbar .brand {
  display: none;
  width: 100px;
  text-indent: -999px;
  background: url(../img/sprite-mobile-ui.png) no-repeat 0 0;
  background-image: -webkit-image-set(url(../img/sprite-mobile-ui.png) 1x, url(../img/sprite-mobile-ui@2x.png) 2x);
}

#header .navbar .dropdown ul {
  background: #fff;
}
#header .navbar .links-left { margin-left: -38px; }
#header .navbar .links-right { margin-right: 8px; }

#header .navbar-inverse .nav li.dropdown.open>.dropdown-toggle {
  background: #404040;
}


#footer {
  padding-bottom: 30px;
  background: #404040;
}
#footer .navbar {
  padding: 21px 0;
  background: #404040;
}
#footer .navbar .nav { margin-left: 80px; }
#footer .navbar .nav li a {
  padding-left: 20px; padding-right: 20px;
}

#footer-social {
  text-align: center;
  line-height: 50px;
  color: #a09f9f;
}
#footer-social .content { margin-left: 200px; }
#footer-social a {
  display: inline-block;
  width: 49px; height: 49px;
  margin: 0 0 0 6px;
  background: url(../img/sprite-global.svg) no-repeat;
}
#footer-social a.link-tw { background-position: 0 -150px; }
#footer-social a.link-fb { background-position: -50px -150px; }

/* hero unit */
.hero-unit {
  width: 790px;
}

/* close button/link */
button.close,
a.link-close {
  width: 36px; height: 36px;
  background: url(../img/sprite-global.svg) no-repeat -160px 0;
}
a.link-close { display: block; }

/* preloader */
.preloader {
  display: none;
  width: 60px; height: 60px;
  background: url(../img/preloader2.gif);
  background: url(../img/preloader2.svg) no-repeat 0 0;
  background-size: contain;
  background-position: center;
}
.spinner {
  width: 24px; height: 24px;
  background: url(../img/spinner.gif) no-repeat 0 0;
}
.spinner.on-busy {
  display: inline-block;
  width: 0; height: 0;
}
.busy .spinner.on-busy {
  width: 24px; height: 24px;
}

/* modal */
.modal-page {
  position: absolute;
}

.modal-full {
  left: 0; right: 0; top: 0; bottom: 0;
  width: auto;
  margin: 30px;
}

/* quote box */
.qbox, .qbox .qcontent { position: relative; }
.qbox .qtop,
.qbox .qbottom {
  position: absolute; left: 0; right: 0;
  height: 50px;
  background: url(../img/bg-quote.png) no-repeat 0 0;
}
.qbox .qtop {
  top: 0;
  background-position: left top;
}
.qbox .qbottom {
  bottom: 0;
  background-position: left bottom;
}
.qbox .qtop span,
.qbox .qbottom span {
  display: block;
  position: absolute; top: 0; right: 0;
  width: 20px; height: 50px;
  background: url(../img/bg-quote.png) no-repeat;
}
.qbox .qtop span { background-position: right top; }
.qbox .qbottom span { background-position: right bottom; }

/** messages **/
.msg {
  font-weight: 500;
}
.msg.error {
  color: #b72d08;
}
.msg i.msg-icon {
  display: inline-block; *display: inline;
  width: 39px; height: 39px;
  margin-right: 4px;
  line-height: 40px;
  vertical-align: middle; vertical-align: -35%;
  background: url(../img/sprite-ui.png) no-repeat 1000px 0;
}
.msg.ok i.msg-icon { background-position: -80px 0; }
.msg.error i.msg-icon { background-position: -40px 0; }


/* quote */
.quote {
  position: relative;
  padding: 30px;
  font-family: Georgia, serif;
}
.quote p {
  font-size: 17px;
  line-height: 30px;
  font-style: italic;
}
.quote .author {
  width: 260px;
  margin: 25px auto 0 auto;
  font-size: 13px;
  line-height: 20px;
}
.quote .author a { font-weight: bold; }
.quote .author img {
  margin-right: 5px;
  border: 1px solid #9a9a9a;
  vertical-align: bottom;
}

/* Q and A */
.faq-small { width: 400px; padding-bottom: 1px; }
.faq-small .q,
.faq-small .a {
  position: relative;
  width: 275px;
  margin-bottom: 20px;
  font-size: 15px;
  background-image: url(../img/sprite-faq-small.png);
  background-repeat: no-repeat;
}
.faq-small .bottom {
  position: absolute; left: 0; bottom: -20px;
  width: 350px; height: 20px;
  background-image: url(../img/sprite-faq-small.png);
  background-repeat: no-repeat;
}
.faq-small .q {

  padding: 15px 20px 0 55px;
  background-position: 0 0;
}
.faq-small .q .bottom { background-position: 0 bottom; }
.faq-small .a {
  margin: 0 0 10px 35px;
  padding: 15px 50px 0 20px;
  background-position: -350px 0;
}
.faq-small .a .bottom { background-position: -350px bottom; }

/* subhead */
.subhead {
  padding-bottom: 16px; margin-bottom: 23px;
  border-bottom: 1px solid #d9d9d9;
  color: #7b7b7b;
}

.plugin_picture img {
  margin:20px 0;

}


/*** PAGE specific ***/

.page-plain #logo {
  margin-top: 84px; margin-left: -18px;
}
.page-plain #page {
  background: url(../img/bg-plain.png) repeat-x 0 20px;
}
.page-plain #main {
  padding-bottom: 70px;
}
.page-plain #content {
  margin-top: 10px;
}
.page-plain #content .pane-content {
  min-height: 500px;
  padding: 80px 80px 80px 120px;
  background: #fff;
  border: 1px solid #b3b3b3;
  border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
  box-shadow: 0 3px 4px rgba(0,0,0,0.25);
}

.page-plain .prose h1 {
  font-size: 25px; font-weight: 500;
}
.page-plain h2 {
  padding: 0 0 20px 0;
  border-bottom: 1px solid #d9d9d9;
  font-size: 20px;
  color: #999999;
  margin-bottom:20px;
}

.page-plain .prose h3 {
  font-size: 20px;
  font-weight:bold;
}

.page-plain .prose h3:first-child {
  margin-top:8.333333333333334px
}
.page-plain .prose h3 {
  margin-top: 25px;
}

.page-plain .prose h4 {
  font-size:16px;
  font-weight:bold;
  margin:0;
  line-height: 25px;
}

.page-plain .prose ul, .page-plain .prose ol {
  margin-left:60px;
}

.page-plain blockquote {
  margin-left:60px;
  border-left:10px solid #eee;
  font-style: italic;
}

.page-plain p.blockquote-attribution {
  margin-left:110px;
  margin-bottom:17.5px;
}

.page-plain p.blockquote-attribution span {
  display:block;
}

.page-plain p.blockquote-attribution span.quotee {
  font-weight:bold;
}
.page-plain p.blockquote-attribution span.source {
  font-style: italic;
}

/** login page  **/
.page-login { }
.page-login  #content {
  width: 640px;
}
.page-login #content .pane-content {
  min-height: 390px;
}



/*** FAQ and Glossary lists ***/

dl.faq { }
dl.faq dt {
  padding: 5px 0;
  color: #45a7ba;
  cursor: pointer; cursor: hand;
}

dl.faq dt:hover {
  color: #de3b4d;
}

dl.faq dd {
  display: none;
  margin: 4px 0;
  padding-left: 20px;
  overflow: hidden; position: relative;
  border-left: 10px solid #d9d9d9;
  font-size: 15px;
}

dl.glossary dd {
  margin-left:0;
  margin-bottom:20px;
}

#menu-secondary {
  min-height: 100px;
  margin: 33px -20px 0 -20px;
  padding: 18px 0 100px 0;
  border: 1px solid #b3b3b3;
  border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    -ms-border-radius: 4px;
    -o-border-radius: 4px;
  background: #f7f7f7;
}
#menu-secondary ul {
  text-align: right;
}
#menu-secondary li a {
  display: block;
  padding: 4px 30px 4px 0;
  font-size: 15px;
  color: #020202;
}

#menu-secondary li a:hover {
  color: #de3b4d;
}

#menu-secondary li.selected a {
  font-weight: 500;
  background: url(../img/sprite-global.svg) no-repeat right 10px;
}

/** ICONS **/
.icon-ui {
  width: 32px; height: 32px;
  background: url(../img/sprite-ui-profile.png) no-repeat;
}
.icon-consultation { background-position: 0 0; }
.icon-doctor { background-position: 0 -40px; }
.icon-card { background-position: 0 -80px; }
.icon-cal { background-position: 0 -120px; }
.icon-message { background-position: 0 -160px; }
.icon-patients { background-position: 0 -200px; }
.icon-history { background-position: 0 -240px; }
.icon-meds { background-position: 0 -280px; }
.icon-cals { background-position: 0 -320px; }
.icon-dashboard { background-position: 0 -360px; }
.icon-bandaid { background-position: 0 -400px; }
.icon-check { background-position: 0 -440px; }

.icon-small {
  width: 28px; height: 28px;
}
.icon-small-photos { background-position: -40px 0; }
.icon-small-consultation { background-position: -40px -40px; }
.icon-small-history { background-position: -40px -80px; }
.icon-small-message { background-position: -40px -120px; }
.icon-small-pharma { background-position: -40px -160px; }
.icon-small-meds { background-position: 0 -278px; }
.icon-small-fax { background-position: -40px -317px; }

.img-user-icon { -webkit-border-radius:500px; -moz-border-radius:500px; /* border-radius:500px */ }

/** SUBFORMS **/
.subform .link-cancel {
  padding: 0 15px;
  vertical-align: middle;
  color: #1a1a1a;
  cursor: pointer; cursor: hand;
}
.subform .link-cancel:hover { color: #de3b4d; }

.subform .summary {
  position: relative;
}
.subform .summary .title {
  display: block;
  margin-right: 100px;
}

.subform .autocomplete {
  background-image: url(../img/spinner.gif);
  background-repeat: no-repeat;
  background-position: 0 -100px;
}
.subform .autocomplete.busy {
  background-position: 97% center;
}

.subform .summary .control-links {
  position: absolute; right: 20px; top: 10px;
}
.subform .summary .control-links a {
  padding: 0 5px;
  color: #1a1a1a;
}
.subform .summary .control-links a:hover {
  color: #de3b4d;
  cursor: pointer; cursor: hand;
}

.subform .controls {
  position: relative;
  margin: 10px 0;
}
.subform .subform-errors {
  margin-top: 10px;
}

/** SEQUENCE TABS **/
.seq-tabs {
  margin: 0;
  background-color: #f2f2f2;
}
.seq-tabs > li {
  float: left;
  background-color: #f2f2f2;
}
.seq-tabs > li > a {
  position: relative;
  padding: 6px 10px 6px 22px;
  font-size: 11px;
  text-transform: uppercase;
  color: #1b1b1b;
  background: none;
}
.seq-tabs > li.enabled {
  background-color: #fff;
}
.seq-tabs > li.active {
  background-color: #f7f6db;
}

.seq-tabs > li > a:hover {
  text-decoration: underline;
  background: none;
}
.seq-tabs li.enabled a {
  cursor: pointer; cursor: hand;
}

.seq-tabs li a i.tab-arrow {
  display: block;
  position: absolute; right: -11px; top: 0;
  width: 11px; height: 39px;
  background: url(../img/sprite-ui.png) no-repeat -30px -40px;
}
.seq-tabs li.enabled a i.tab-arrow {
  background-position: -100px -40px;
}
.seq-tabs li.active a i.tab-arrow {
  background-position: -50px -40px;
}

/** pager element **/
.pager {
  user-select: none;
   -webkit-user-select: none;
   -moz-user-select: none;
   -ms-user-select: none;
}
.pager a {
  position: relative;
  font-size: 12px; line-height: 13px;
  text-transform: uppercase;
  color: #1b1b1b;
  cursor: pointer; cursor: hand;
}
.pager a i {
  position: absolute; top: 3px;
  width: 5px; height: 8px;
  background: url(../img/sprite-ui.png) no-repeat;
}
.pager a.prev { padding: 0 6px 0 10px; }
.pager a.next { padding: 0 10px 0 6px; }
.pager a.prev i { left: 0; background-position: -30px -80px; }
.pager a.next i { right: 0; background-position: -40px -80px; }
.pager a.active { font-weight: 500; }

/** big switch **/
.switch .big {
  display: block;
}
.switch .big .switch-btn {
  font-family: FranklinGothicCondensed, Arial, sans-serif;
  font-weight: 500;
}


/*************************************/
/* Tablet / small screen
/*************************************/
@media (max-width: 980px) {
  .container {
    max-width: 810px;
    min-width: 0;
  }

  #left, #content {
    margin-left: 20px;
  }

  /*#content {
    width: 760px;
  }*/
  /*
  #header .navbar .links-right {
    margin-right: 20px;
  }
  */
  #footer .navbar .nav {
    margin-left: 20px;
  }
  #footer-social .content { margin-left: 20px; }

  #left {
    width: auto; height: 68px;
    float: none;
    margin: 8px 0 4px 0;
  }
  #left #logo {
    width: 200px;
    margin: -10px 0 0 10px;
    float: left;
  }

  #menu-secondary {
    width: 500px; min-height: 0; height: auto;
    margin: 0 38px 0 0; padding: 0;
    float: right;
    border: none;
    background: none;
  }
  #menu-secondary .menu li {
    display: inline;
    padding: 10px 0 10px 20px;
  }
  #menu-secondary .menu li a {
    display: inline;
    padding: 0;
  }
  #menu-secondary li.selected a {
    background: none;
  }

  .page-plain #content {
    float: none;
    width: auto;
  }
  .page-plain #content .pane-content {
    min-height: 300px;
    padding: 20px;
    margin: 0 -20px 0 -20px;
    border: none;
    border-radius: 0;
    box-shadow: none;
     -webkit-box-shadow: none;
     -moz-box-shadow: none;
  }
}

/*************************************/
/* Mobile
/*************************************/
@media (max-width: 640px) {
  a.hidden-sm {
    display: none;
  }
  body {
    min-width: 0;
  }

  #header {
    margin-bottom: 0;
    background: #fff;
  }
  #content {
    width: 100%;
    margin-left: 0;
  }
  #left {
    height: auto;
    margin: 0;
  }
  #left #logo { display: none; }

  #menu-secondary {
    width: auto;
    float: none;
  }
  #menu-secondary .menu li {
    display: block;
    text-align: center;
  }


  /* modals */
  .modal-sidebar {
    border-top: none; border-bottom: none;
    border-radius: 0;
    -webkit-border-radius: 0;
  }

  .modal-backdrop {
    background: #fff; filter: alpha(opacity=10);
    background: rgba(255, 255, 255, 0.25)
  }

  body #email-signup {
    min-width: 0;
    width: 0%;
  }

  /* navbar */
  .navbar .navbar-inner {
    padding: 8px 0 0 0;
    background: #fff;
  }
  .navbar .btn-navbar {
    display: block;
    padding: 13px 14px 16px 20px;
    margin-right: -20px;
    border: none;
    background: none;
  }
  .navbar .btn-navbar .icon-bar {
    background: #4ab7cc;
  }

  #header .navbar .brand {
    display: block;
    height: 40px;
    margin-top: 2px; margin-bottom: 4px;
  }
  #header .navbar .links-right {
    margin-right: 0; margin-bottom: 0;
  }

  .sidebar-nav {
    background: #404040;
  }

  .sidebar-nav .nav.pull-right,
  .sidebar-nav .nav li {
    display: block;
    float: none;
    padding: 10px;
  }
  .sidebar-nav .nav li a {
    color: #fff;
  }

  #footer .brand {
    display: none;
  }
  #footer .nav li {
    float: none;
  }
  #footer-social {
    line-height: 25px;
  }
  #footer-social a {
    width: 25px; height: 25px;
    background-size: 300px 200px;
  }
  #footer-social a.link-tw {
    background-position: 0 -75px;
  }
  #footer-social a.link-fb {
    background-position: -25px -75px;
  }

  dl.faq dd {
    display: block;
  }
}
