@font-face {
        font-family: 'MyriadPro-Regular';
        src: url('../fonts/MyriadPro/myriadpro-regular.eot');
        src: url('../fonts/MyriadPro/myriadpro-regular.eot?#iefix') format('embedded-opentype'),
                 url('../fonts/MyriadPro/MyriadPro-Regular.otf') format('opentype'),
                 url('../fonts/MyriadPro/myriadpro-regular.woff') format('woff'),
                 url('../fonts/MyriadPro/myriadpro-regular.ttf') format('truetype'),
                 url('../fonts/MyriadPro/myriadpro-regular.svg#myriadpro-regular') format('svg');
        font-weight: normal;
        font-style: normal;
}

@font-face {
        font-family: 'MyriadPro-Bold';
        src: url('../fonts/MyriadPro/myriadpro-bold.eot');
        src: url('../fonts/MyriadPro/myriadpro-bold.eot?#iefix') format('embedded-opentype'),
                 url('../fonts/MyriadPro/MyriadPro-Bold.otf') format('opentype'),
                 url('../fonts/MyriadPro/myriadpro-bold.woff') format('woff'),
                 url('../fonts/MyriadPro/myriadpro-bold.ttf') format('truetype'),
                 url('../fonts/MyriadPro/myriadpro-bold.svg#myriadpro-bold') format('svg');
        font-weight: normal;
        font-style: normal;
}

* {
	margin: 0;
}
html, body {
	height: 100%;
	background-image: url('../images/bg-pattern.png');
	background-attachment: fixed;
	font-family: MyriadPro-Regular;
	color: #767561;
}

h1, h2, h3, h4, h5 {
    font-weight: normal;
    font-family: MyriadPro-Bold;
}

h1 {
    line-height: normal;
}

h1.inline-header {
    line-height: inherit;
    display: inline;
}

.thick {
    font-family: MyriadPro-Bold;
}

.seafoam {
    color: #72A493;
}

@media screen and (min-width: 481px) {
.big-paragraph {
    font-size: 30px;
    line-height: 36px;
  }
}

@media screen and (max-width: 480px) {
.big-paragraph {
    font-size: 24px;
    line-height: 30px;
  }
}


.big-paragraph-2 {
    font-size: 28px;
    line-height: 36px;
}


table {
    width: 100%;
}

table.regular-table {
    border-collapse:collapse;
}

table.regular-table th, table.regular-table td {
    padding: 5px 0px 16px 0px;
    text-align: left;
    vertical-align: top;
    border-top: 2px dotted #72A493;
    border-bottom: 2px dotted #72A493;
}

table.regular-table tr.even {
    background: #FFFFFF;
}
table.regular-table tr.odd {
    background: #FAF8F7;
}

table.regular-table td.button {
    width: 1px;
    white-space: nowrap;
}

table.regular-table .type-name {
    padding-right: 10%;
    padding-bottom: 10px;
    min-height: 24px;
    font-size: 18px;
    line-height: 21px;
}

table.regular-table .type-description {
    padding-right: 10%;
    padding-bottom: 10px;
    min-height: 24px;
    font-size: 15px;
    line-height: 18px;
}

table.regular-table .type-duration {
    font-size: 12px;
    line-height: 15px;
    min-height: 15px;
}

table.regular-table tr td:first-child{
    width: 266px;
}

img.table-header-arrow {
    margin-bottom: -1px;
}


label.block-label{
    display: block;
}

ul.form-list {
    list-style-type: none;
}

ul.form-list>li {
    margin-top: 16px;
}

ul.form-list>li:first-child{
    margin-top: 0px;
}

input[type=text], input[type=password], textarea{
    width: 98%;
    max-width: 98%;
    position: relative;
    padding: 4px 1% 4px 1%;
    margin: 4px -1px 0px -1px;
    border: 1px solid #E6E6E4;
    border-top: 1px solid #C2C3BD;
    background-color: #FBFBFB;
    font-family: MyriadPro-Regular;
    font-size: 15px;
    line-height: 18px;
    border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
    -khtml-border-radius: 2px;
	-moz-box-shadow: inset 0 8 -4px #E1E2DD;
    -webkit-box-shadow: inset 0 8 -4px #E1E2DD;
    box-shadow: inset 0 6px 6px -6px #CDCECA;
    behavior: url('/static/PIE.htc');
}

input[type=text], input[type=password] {
    height: 22px;
}

textarea {
    max-height: 150px;
    resize: none;
}

select {
    height: 33px;
    margin-top: 4px;
}

a, a:visited, a:active, a:hover {
  color: #72A493;
  text-decoration: none;
  border-bottom: 1px #72A493 dotted;
}

a.anchor {
    color: #767561;
    border-bottom: none;
}

a.seafoam-button, input.seafoam-button {
    height: 33px;
    color: white;
    margin: 0px;
    padding: 0px 36px 0px 13px;
    text-decoration: none;
    background-image: url('../images/buttons/button-right.png');
    background-repeat: no-repeat;
    background-position: right top;
    background-color: transparent;
    border: none;
    border-bottom: none;
    white-space: nowrap;
    float: left;
    cursor: pointer;
    font-size: 15px;
    line-height: 18px;
}

a.seafoam-button {
    height: 25px;
    padding-top: 8px;
}

a.seafoam-button:hover, input.seafoam-button:hover {
    background-position: right center;
}

a.seafoam-button.clicked, input.seafoam-button.clicked {
    background-position: right bottom;
}

div.seafoam-button-left {
    display:none;
}

div.seafoam-button-wrapper {
    height: 33px;
    width: auto;
    margin: 0px;
    -pie-background: linear-gradient(#71A392,#527E6F);
    background: -webkit-linear-gradient(#71A392,#527E6F);
    background: -moz-linear-gradient(#71A392,#527E6F);
    background: -o-linear-gradient(#71A392,#527E6F);
    background: -ms-linear-gradient(#71A392,#527E6F);
    background: linear-gradient(#71A392,#527E6F);
    float:left;
    display: block;
    border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
    -khtml-border-radius: 2px;
    behavior: url('/static/PIE.htc');
    position: relative;
}

div.seafoam-button-wrapper.clicked {
    -pie-background: linear-gradient(#527E6F,#71A392);
    background: -webkit-linear-gradient(#527E6F,#71A392);
    background: -moz-linear-gradient(#527E6F,#71A392);
    background: -o-linear-gradient(#527E6F,#71A392);
    background: -ms-linear-gradient(#527E6F,#71A392);
    background: linear-gradient(#527E6F,#71A392);
}

.last-button {
    margin-top: 36px;
}

.regular-top-margin {
    margin-top: 20px;
}

.small-top-margin {
    margin-top: 10px;
}

.last-long-page {
    margin-bottom: 0px;
}

.float-left-wrapper {
    overflow: hidden;}

.emergency-notice h2 {
    font-size: 14px;
}

.emergency-notice {
    color: #E4701F;
    background-color: #FBEFE8;
    padding: 12px;
    max-width: 397px;
    margin-top: -12px;
	border-radius: 10px;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
    -khtml-border-radius: 10px;
    position: relative;
    behavior: url('../static/PIE.htc');
    float:right;
}

.row {
    overflow:visible;
}

.sign-in-seperator {
    letter-spacing: 1px;
}

.content {
    padding: 22px 30px 0px 30px;
	background-color: white;
	border-radius: 0px 0px 18px 18px;
	-moz-border-radius: 0px 0px 18px 18px;
	-webkit-border-radius: 0px 0px 18px 18px;
    -khtml-border-radius: 0px 0px 18px 18px;
	-moz-box-shadow: 0 0 20px #304941;
    -webkit-box-shadow: 0 0 20px #304941;
    box-shadow: 0 0 20px #304941;
    font-size: 15px;
    line-height: 18px;
    behavior: url('/static/PIE.htc');
    position: relative;
    overflow: hidden;
}

.shadow-cover {
    margin-top: -50px;
    height: 50px;
    background-color: white;
    position: relative;
    border-radius: 0px 0px 18px 18px;
	-moz-border-radius: 0px 0px 18px 18px;
	-webkit-border-radius: 0px 0px 18px 18px;
    -khtml-border-radius: 0px 0px 18px 18px;
    behavior: url('/static/PIE.htc');
    z-index: 1;
    
}

.content-seperator {
    position: relative;
    background-image: url('../images/footer-divider.png');
    height:2px;
    margin-top:-1px;
    margin-bottom:-1px;
    z-index: 1;
}

#content-body {
    min-height: 543px;
    margin-bottom: 96px;
}

.left-half {
    width: 47.506%;
    height: 100%;
    padding-right: 2.494%;
    float: left;
}

.right-half {
    width: 47.506%;
    height: 100%;
    padding-left: 2.494%;
    float: left;
}

.footer {
    padding: 33px 30px 20px 30px;
    color: #72A493;
    font-size: 10px;
    min-height: 32px;
    background-color: white;
    margin-bottom: 20px;
	border-radius: 18px;
	-moz-border-radius: 18px;
	-webkit-border-radius: 18px;
    -khtml-border-radius: 18px;
	-moz-box-shadow: 0 0 20px #304941;
    -webkit-box-shadow: 0 0 20px #304941;
    box-shadow: 0 0 20px #304941;
    behavior: url('/static/PIE.htc');
    position: relative;
}

.footer a {
    border-bottom: none;
}

.footer .left {
    width: 50%;
    height: auto;
    float: left;
}

.footer .right {
    width: 50%;
    height: auto;
    float: left;
    text-align: right;
}

.navbar-wrapper {
    margin-left:-15px;
    height: 420px;
    width: 184px;
}

.navbar{
    position: fixed;
    height: 327px;
    width: 184px;
    padding-top: 27px;
    background-color: white;
    text-align: center;
	border-radius: 0px 0px 18px 18px;
	-moz-border-radius: 0px 0px 18px 18px;
	-webkit-border-radius: 0px 0px 18px 18px;
    -khtml-border-radius: 0px 0px 18px 18px;
	-moz-box-shadow: 0 0 20px #304941;
    -webkit-box-shadow: 0 0 20px #304941;
    box-shadow: 0 0 20px #304941;
    behavior: url('/static/PIE.htc');
    z-index: 10;
}

.navbar ul {
    margin-top: 17px;
}

.navbar a {
    border: none;
}

li.nav {
    margin: 0px 13px 0px 13px;
    padding: 9px 6.75px 9px 6.75px;
    height: 15px;
    border-top: 2px dotted #767661;
    list-style-type: none;
    text-align: left;
    letter-spacing: 1px;
}

li.nav.last {
    border-bottom: 2px dotted #767661;
}

li.nav a {
    font-family: MyriadPro-Bold;
    font-size: 14px;
    color: #767561;  
    line-height: normal;
}

li.nav div {
    height: 16px;
    margin: -9px -7px -8px -6px;
    padding: 9px 7px 8px 6px;
    background-image: url('../images/navigation/selectionribbon.png');
    background-position: top;    
    background-repeat: no-repeat;
}

li.nav .current, li.nav div:hover {
    margin: -14px -70px -19px -34px;
    padding: 14px 70px 19px 34px;
    background-position: bottom;
    
}

li.nav .current a, li.nav div:hover a{
    color: white;  
}



div.clear {
    clear: both;
    font-size: 12px;
}

#header {
    height: 159px;
    text-align: center;
}

#login-bar {
    text-align: left;
    font-size: 12px;
    color: #72A493;
}

.welcome-message {
    font-size: 14px;
    font-family: MyriadPro-Bold;
}

#patient-lookup-bar {
    text-align: right;
    margin-top: 5px;
    margin-right: 20px;
}

#messages {
    background-color: #FF4444;
    color: #FFFFFF;
}

.errorlist {
    color: #E4701F;
    list-style-type: none;
    font-style: italic;
}

label.error-label {
    color: #E4701F;
}

.timeEntry_control {
    vertical-align: middle;
    margin-left: 2px;
}

#assign-patient-dialogue{
    display: none;
}




#### Viktor's Additions ####
.inactive_dialog_list{
    display: None;
}
.delete_dialog p{
    display: None;
}
.delete_dialog[phase=confirmation] .confirmation{
    display: block;
}
.delete_dialog[phase=processing] .processing{
    display: block;
}
.delete_dialog[phase=complete] .complete{
    display: block;
}

.calendar_schedule_event,
.calendar_appointment_event{
    cursor: pointer;
}

.help,
.add_icon {
    border: 2px solid rgba(113, 163, 146, 1);
    border-radius: 8px;
    width: 12px;
    height: 12px;
    font-weight: normal;
    background-color: white;
    color: rgba(113, 163, 146, 1);
    text-align: center;
    line-height: 13px;
    font-size: 10px;
    font-family: sans-serif;
    display: block;
    cursor: help;
    float:left;
    margin:2px 0px 0px 5px;
}

