﻿html {
    background-color: #999999;
    /*background: url("Images/background-dark.png") repeat;*/
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    background-color: #fff;
    /*border-top: solid 10px #000;*/
    color: #333;
    font-size: 1em;
    font-family: 'Montserrat', Arial, sans-serif;
    letter-spacing: 0.02em;
    margin: 0;
    padding: 0;
    /*padding: 10px;*/
}

body.wait, body.wait *{
    cursor: wait !important;   
}

img
{
    border: none;
}

a {
    color: #333;
    outline: none;
    border: none;
    /*padding-left: 3px;
    padding-right: 3px;*/
    text-decoration: underline;
}

    a:link, a:visited,
    a:active, a:hover {
        color: #3399CC;
        cursor: default;
    }

    a:hover {
        background-color: #c7d1d6;
    }

    a.jump-page
    {
        color: #ffffff;
        margin: 0;
        border: none 0px;
        padding:0;
    }
.logo a, .logo a:link, .logo a:visited, .logo a:active, .logo a:hover
{
    background-color: transparent;
} 
header, footer, hgroup,
nav, section {
    display: block;
}


div#navigation-container {
    float: left;
}

/*div#content {
    padding-right: 10px;
    padding-left: 10px;
}*/

.casereadstatus
{
    color: #359800;
}

.caseunreadstatus
{
    color: #d03334;
}

table#patientdetailsheader
{
    width: 100%;
}

mark {
    background-color: #a6dbed;
    padding-left: 5px;
    padding-right: 5px;
}

.float-left {
    float: left;
}

.float-right {
    float: right;
}

.clear-fix:after {
    content: ".";
    clear: both;
    display: block;
    height: 0;
    visibility: hidden;
}

h1, h2, h3,
h4, h5, h6 {
    color: #000;
    margin-bottom: 0;
    padding-bottom: 0;
}

h1 {
    font-size: 2em;
}

h2 {
    font-size: 1.5em;
}

h3 {
    font-size: 1.5em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}

    h5 a:link, h5 a:visited, h5 a:active {
        padding: 0;
        text-decoration: none;
    }

/* ----- Messages ----- */

#status-message
{
    display: none;
    /*margin: 20px 0;*/
    min-height: 15px;
    padding: 10px;
    padding-left: 36px;
}

#status-message.show
{
    display: block;
}

#status-message.error
{
    background: #FEE url('Images/Error.png') no-repeat 10px 10px;
    border: 1px solid #900;   
}

#status-message.warning
{
    background: #FFB url('Images/Warning.png') no-repeat 10px 10px;
    border: 1px solid #990;
}

#status-message.success
{
    background: #EFE url('Images/Success.png') no-repeat 10px 10px;
    border: 1px solid #090;
}

#status-message ul
{
    list-style: disc outside none;
    margin: 5px 0 5px 15px;
}

#message{
    min-height: 15px;
    padding: 10px;
    padding-left: 36px;
    background: #FEE url('Images/Error.png') no-repeat 10px 10px;
    border: 1px solid #900;   
}

/* main layout ----------------------------------------------------------*/
.content-wrapper {
    padding: 0px 0px 5px 0px;
    margin: 0 auto;
    border-top: 0;
    min-width: 1240px;
    max-width: 1240px;
    background-image: url("Images/background-dark.png");
    /*background-color: #666666;*/
}

#main-wrapper {
    margin: 10px;
    background-color: #fff;
}

#header-container {
    padding: 0;
    min-width: 1240px;
    max-width: 1240px;
    background: url("Images/background-header.png") repeat-x;
    max-height: 97px;
    overflow: hidden;
}

.section-header {
    background-color: #D9E3E8;
    padding: 0.4em 0.4em;

}

    .section-header h3, label, select {
        color: #000;
        margin-top: 0;
        padding: 0.5em 0.5em;
    }

#announcements {
    text-align: center;
    margin: 10px 10px 0px 10px;
    padding: 10px;
    background-color: #FFF;
}

    #announcements label {
        font-size: 0.9em;
    }

#body {
    background-color: #efeeef;
    clear: both;
    padding-bottom: 35px;
}

.main-content {
    background: url("../Images/accent.png") no-repeat;
    padding-left: 10px;
    padding-top: 30px;
}

.featured + .main-content {
    background: url("../Images/heroAccent.png") no-repeat;
}

header .content-wrapper {
    padding-top: 20px; 
}

footer {
    clear: both;
    background-color: #e2e2e2;
    font-size: .8em;
    height: 100px;
}

/** Necessary to set this so the Clinic selector does not push over Patient and Dicom buttons in the patient index page**/
#location-ddl
{
    max-width: 330px;
}


/* site title ----------------------------------------------------------*/
.site-title {
    color: #c8c8c8;
    font-family: 'Montserrat', sans-serif;
    font-size: 2.3em;
    margin: 0;
}

.site-title a, .site-title a:hover, .site-title a:active {
    background: none;
    color: #c8c8c8;
    outline: none;
    text-decoration: none;
}

.logo
{
    float: left;
}

.user-information {
    float: right;
}


/* login ----------------------------------------------------------*/
#login {
    display: block;
    font-size: .85em;
    margin: 0 0 10px;
    text-align: right;
}

#login a {
    background-color: #d3dce0;
    margin-left: 10px;
    margin-right: 3px;
    padding: 2px 3px;
    text-decoration: none;
}

#login a.username {
    background: none;
    margin: 0;
    padding: 0;
    text-decoration: underline;
}

#login ul {
    margin: 0;
}

#login li {
    display: inline;
    list-style: none;
}


/* menu ----------------------------------------------------------*/
ul#menu {

}

ul#menu li {
    display: inline;
    list-style: none;
}

ul#menu li.active {

}

ul#menu li a {

    text-decoration: none;
}

ul#menu li:hover {

    cursor:default;
}


/* page elements
----------------------------------------------------------*/
/* featured */
.featured {
    background-color: #fff;
}

    .featured .content-wrapper {
        background-color: #7ac0da;
        background-image: -ms-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        background-image: -o-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        background-image: -webkit-gradient(linear, left top, right top, color-stop(0, #7ac0da), color-stop(1, #a4d4e6));
        background-image: -webkit-linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        background-image: linear-gradient(left, #7ac0da 0%, #a4d4e6 100%);
        color: #3e5667;
        padding: 20px 40px 30px 40px;
    }

        .featured hgroup.title h1, .featured hgroup.title h2 {
            color: #fff;
        }

        .featured p {
            font-size: 1.1em;
        }

/* page titles */
hgroup.title {
    margin-bottom: 10px;
}

hgroup.title h1, hgroup.title h2 {
    display: inline;
}

hgroup.title h2 {
    font-weight: normal;
    margin-left: 3px;
}

/* features */
section.feature {
    width: 300px;
    float: left;
    padding: 10px;
}

/* ordered list */
ol.round {
    list-style-type: none;
    padding-left: 0;
}

    ol.round li {
        margin: 25px 0;
        padding-left: 45px;
    }

        ol.round li.zero {
            background: url("../Images/orderedList0.png") no-repeat;
        }

        ol.round li.one {
            background: url("../Images/orderedList1.png") no-repeat;
        }

        ol.round li.two {
            background: url("../Images/orderedList2.png") no-repeat;
        }

        ol.round li.three {
            background: url("../Images/orderedList3.png") no-repeat;
        }

        ol.round li.four {
            background: url("../Images/orderedList4.png") no-repeat;
        }

        ol.round li.five {
            background: url("../Images/orderedList5.png") no-repeat;
        }

        ol.round li.six {
            background: url("../Images/orderedList6.png") no-repeat;
        }

        ol.round li.seven {
            background: url("../Images/orderedList7.png") no-repeat;
        }

        ol.round li.eight {
            background: url("../Images/orderedList8.png") no-repeat;
        }

        ol.round li.nine {
            background: url("../Images/orderedList9.png") no-repeat;
        }

/* content */
article {
    float: left;
    width: 70%;
}

aside {
    float: right;
    width: 25%;
}

    aside ul {
        list-style: none;
        padding: 0;
    }

        aside ul li {
            background: url("../Images/bullet.png") no-repeat 0 50%;
            padding: 2px 0 2px 20px;
        }

.label {
    font-weight: 700;
}

.disabled {
    color:grey;
}

#eye-image-upload-input-table td
{
    vertical-align:top; /*Prevents items from staying on the bottom of the cell and creating a displacement affect where one input stays in place and the other moves up.*/
}


/* patient lists */

.list-section {
    margin-bottom: 10px;

}
.dataTable tbody tr {
    font-size: 0.8em;
    height: 3em;
}

.dataTable thead tr th {
    font-size: 0.8em;
}

.list-header {
    background-color: #000;
}

.list-header h3 {
    color: #fff;
    margin-top: 0;
    padding: 0.5em 0.5em;
}

.bottom
{
    border-top: solid 1px #000;
    /*padding: 0, 0.5em;*/
}

form
{
    border: none 0px;
    margin: 0px;
    padding: 0px;
}

.paddedcontent
{
    padding: 0em .75em 1em .75em;
}

/* login page */
#loginForm {
    border-right: solid 2px #c8c8c8;
    float: left;
    width: 55%;
}

    #loginForm .validation-error {
        display: block;
        margin-left: 15px;
    }

    #loginForm .validation-summary-errors ul {
        margin: 0;
        padding: 0;
    }

    #loginForm .validation-summary-errors li {
        display: inline;
        list-style: none;
        margin: 0;
    }

    #loginForm input {
        width: 250px;
    }

    #loginForm input[type="checkbox"],
    #loginForm input[type="submit"],
    #loginForm input[type="button"],
    #loginForm button {
        width: auto;
    }

#socialLoginForm {
    margin-left: 40px;
    float: left;
    width: 40%;
}

    #socialLoginForm h2 {
        margin-bottom:  5px;
    }

#socialLoginList button {
    margin-bottom: 12px;
}

#logoutForm {
    display: inline;
}

/* contact */
.contact h3 {
    font-size: 1.2em;
}

.contact p {
    margin: 5px 0 0 10px;
}

.contact iframe {
    border: 1px solid #333;
    margin: 5px 0 0 10px;
}

/* forms */
fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

    fieldset legend {
        display: none;
    }

    fieldset ol {
        padding: 0;
        list-style: none;
    }

        fieldset ol li {
            padding-bottom: 5px;
        }

label {
    display: block;
    /*font-size: 1.2em;*/
    font-weight: 600;
    padding: .5em .5em 0 0;
}

label.checkbox {
    display: inline;
}

.editor-label.required :after {
    content:" * ";
    color: #990000;
}

.complete:after {
    content: url('Images/complete.png');
}
.incomplete:after {
    content: url('Images/incomplete.png');
}

.editor-field input, label{
    display: inline-block;
}

input[type=radio] {
    width: 25px;  
    height: 1.2em;  
    vertical-align:middle;
    border: 0px none;
}

input, textarea {
    /*border: 1px solid #e2e2e2;*/
    border: 1px solid;
    background: #fff;
    color: #333;
    font-size: 1.2em;
    margin: 5px 0 6px 0;
    padding: 5px;
    width: 300px;
}

textarea {
    font-family: inherit;
    width: 500px;
    overflow: auto;
    resize: vertical;
}

select {
    /*border: 1px solid #e2e2e2;*/
    margin: 5px 0 5px 0;
    padding: 5px;
}

.skinny-input input {
    width: 200px;
}

    input:focus, textarea:focus {
        border: 1px solid #7ac0da;
    }

    input[type="checkbox"] {
        background: transparent;
        border: inherit;
        width: auto;
    }

input[type="submit"] {
    width: auto;
    padding: 0.5em 1.5em;
    color: #333;
    font-size: 0.9em;
    font-weight: 700;
    font-family: 'Myriad Pro', sans-serif;
	background-color: #d3e8f0;
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.08), inset 0 1px 2px #fff;
	-moz-box-shadow: 0 1px 1px rgba(0,0,0,.08), inset 0 1px 2px #fff;
	box-shadow: 0 1px 1px rgba(0,0,0,.08), inset 0 1px 2px #fff;
	border: 1px solid #afc6cd;
    background-image: -webkit-linear-gradient(bottom, rgba(207,230,239,1), rgba(229,241,246,1));
	background-image: -moz-linear-gradient(bottom, rgba(207,230,239,1), rgba(229,241,246,1));
	background-image: -o-linear-gradient(bottom, rgba(207,230,239,1), rgba(229,241,246,1));
	background-image: linear-gradient(to top, rgba(207,230,239,1), rgba(229,241,246,1));
}
input[type="button"],
button {
    width: auto;
    padding: 0.5em 1.5em;
    margin: 0.5em;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
    color: #333;
    font-family: 'Myriad Pro', sans-serif;
    font-weight:700;
    font-size: 0.9em;
}

.btn-white {
    border: 1px solid #dedede;
	background-color: #f2f2f2;
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.06), inset 0 1px 1px #fff;
	-moz-box-shadow: 0 1px 1px rgba(0,0,0,.06), inset 0 1px 1px #fff;
	box-shadow: 0 1px 1px rgba(0,0,0,.06), inset 0 1px 1px #fff;
	background-image: -webkit-linear-gradient(bottom, rgba(200,200,200,.5), rgba(255,255,255,.5));
	background-image: -moz-linear-gradient(bottom, rgba(200,200,200,.5), rgba(255,255,255,.5));
	background-image: -o-linear-gradient(bottom, rgba(200,200,200,.5), rgba(255,255,255,.5));
	background-image: linear-gradient(to top, rgba(200,200,200,.5), rgba(255,255,255,.5));
}

.btn-blue {
    background-color: #d3e8f0;
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.08), inset 0 1px 1px #fff;
	-moz-box-shadow: 0 1px 1px rgba(0,0,0,.08), inset 0 1px 1px #fff;
	box-shadow: 0 1px 1px rgba(0,0,0,.08), inset 0 1px 1px #fff;
    background-image: -webkit-linear-gradient(bottom, rgba(207,230,239,1), rgba(229,241,246,1));
	background-image: -moz-linear-gradient(bottom, rgba(207,230,239,1), rgba(229,241,246,1));
	background-image: -o-linear-gradient(bottom, rgba(207,230,239,1), rgba(229,241,246,1));
	background-image: linear-gradient(to top, rgba(207,230,239,1), rgba(229,241,246,1));
}

.btn-dark-blue {
    background-color: #8dafbc;
    color: #ffffff;
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.2), inset 0 1px 2px #fff;
	-moz-box-shadow: 0 1px 1px rgba(0,0,0,.2), inset 0 1px 2px #fff;
	box-shadow: 0 1px 1px rgba(0,0,0,.2), inset 0 1px 2px #fff;
    background-image: -webkit-linear-gradient(bottom, rgba(131,168,182,1), rgba(187,207,215,1));
	background-image: -moz-linear-gradient(bottom, rgba(131,168,182,1), rgba(187,207,215,1));
	background-image: -o-linear-gradient(bottom, rgba(131,168,182,1), rgba(187,207,215,1));
	background-image: linear-gradient(to top, rgba(131,168,182,1), rgba(187,207,215,1));
}

.btn-yellow {
	background-color: #ffcc66 !important;
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.2), inset 0 1px 2px #fff !important;
	-moz-box-shadow: 0 1px 1px rgba(0,0,0,.2), inset 0 1px 2px #fff !important;
	box-shadow: 0 1px 1px rgba(0,0,0,.2), inset 0 1px 2px #fff !important;
	background-image: -webkit-linear-gradient(bottom, rgba(253,230,188,1), rgba(254,244,225,1)) !important;
	background-image: -moz-linear-gradient(bottom, rgba(253,230,188,1), rgba(254,244,225,1)) !important;
	background-image: -o-linear-gradient(bottom, rgba(253,230,188,1), rgba(254,244,225,1)) !important;
	background-image: linear-gradient(to top, rgba(253,230,188,1), rgba(254,244,225,1)) !important;
}

.btn-dark-yellow {
	background-color: #fce9c3;
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.08), inset 0 1px 1px #fff !important;
	-moz-box-shadow: 0 1px 1px rgba(0,0,0,.08), inset 0 1px 1px #fff !important;
	box-shadow: 0 1px 1px rgba(0,0,0,.08), inset 0 1px 1px #fff !important;
	background-image: -webkit-linear-gradient(bottom, rgba(254,187,74,1), rgba(254,218,113,1)) !important;
	background-image: -moz-linear-gradient(bottom, rgba(254,187,74,1), rgba(254,218,113,1)) !important;
	background-image: -o-linear-gradient(bottom, rgba(254,187,74,1), rgba(254,218,113,1)) !important;
	background-image: linear-gradient(to top, rgba(254,187,74,1), rgba(254,218,113,1)) !important;
}

.btn-green, input[type="submit"].btn-green {
	background-color: #a7cf5f !important;
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.2), inset 0 1px 2px #fff !important;
	-moz-box-shadow: 0 1px 1px rgba(0,0,0,.2), inset 0 1px 2px #fff !important;
	box-shadow: 0 1px 1px rgba(0,0,0,.2), inset 0 1px 2px #fff !important;
	background-image: -webkit-linear-gradient(bottom, rgba(159,203,87,1), rgba(201,226,133,1)) !important;
	background-image: -moz-linear-gradient(bottom, rgba(159,203,87,1), rgba(201,226,133,1)) !important;
	background-image: -o-linear-gradient(bottom, rgba(159,203,87,1), rgba(201,226,133,1)) !important;
	background-image: linear-gradient(to top, rgba(159,203,87,1), rgba(201,226,133,1)) !important;
}

input[type="button"].btn-green-small-text {
	background-color: #a7cf5f !important;
	-webkit-box-shadow: 0 1px 1px rgba(0,0,0,.2), inset 0 1px 2px #fff !important;
	-moz-box-shadow: 0 1px 1px rgba(0,0,0,.2), inset 0 1px 2px #fff !important;
	box-shadow: 0 1px 1px rgba(0,0,0,.2), inset 0 1px 2px #fff !important;
	background-image: -webkit-linear-gradient(bottom, rgba(159,203,87,1), rgba(201,226,133,1)) !important;
	background-image: -moz-linear-gradient(bottom, rgba(159,203,87,1), rgba(201,226,133,1)) !important;
	background-image: -o-linear-gradient(bottom, rgba(159,203,87,1), rgba(201,226,133,1)) !important;
	background-image: linear-gradient(to top, rgba(159,203,87,1), rgba(201,226,133,1)) !important;
    font-size: .84em;
}

.btn-dark-green {

}

    td input[type="submit"],
    td input[type="button"],
    td button {
        padding: 0.5em 1.5em;
        margin-right: 4px;
    }

#button-container {
    clear:both;
}
.full-width {
    width:1200px;
    display: table;
}

.half-screen-box {
    display: inline-block; 
    text-align: center; 
    vertical-align:top; 
    width:49%;
    min-width: 590px;
    overflow: hidden;
}

.half-screen-box textarea {
    overflow: auto;
    resize: none;
}
#show-inactive-container {
    clear:both;
}
    #show-inactive-container input, #show-inactive-container label {
        float:left;
        padding-left:1em;
    }

.display-label {
    font-weight: bold;
}

.dialog label {
    font-weight:normal;
    font-size: 1em;
}

.drop-box-css {
    width:180px;
    height: 135px;
    overflow:hidden;
    text-align: center;
    margin: 5px;
    cursor: default;
    float:left;
}

#right-sup {
    background-image: url("Images/RightSupCartoon.jpg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
#right-ext {
    background-image: url("Images/RightExtCartoon.jpg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
#right-temp {
    background-image: url("Images/RightTempCartoon.jpg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
#right-post {
    background-image: url("Images/RightPostCartoon.jpg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
#right-nas {
    background-image: url("Images/RightNasCartoon.jpg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
#right-inf {
    background-image: url("Images/RightInfCartoon.jpg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
#left-ext {
      background-image: url("Images/LeftExtCartoon.jpg");
      background-size: contain;
      background-position: center;
      background-repeat: no-repeat;
}

#left-sup {
      background-image: url("Images/LeftSupCartoon.jpg");
      background-size: contain;
      background-position: center;
      background-repeat: no-repeat;
}
#left-temp {
    background-image: url("Images/LeftTempCartoon.jpg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
#left-post {
    background-image: url("Images/LeftPostCartoon.jpg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
#left-nas {
    background-image: url("Images/LeftNasCartoon.jpg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
#left-inf {
    background-image: url("Images/LeftInfCartoon.jpg");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}




.image-type-selected img {
    border:5px solid lightblue !important;
}

input[type=button].selected {

}

.right-ext {
    position:relative; 
    bottom:30px; 
    left:10px;
}

.left-ext {
    position:relative;
    bottom:30px;
    right:10px;
}

.right-result {
    position:relative; 
    bottom:30px; 
}

.left-result {
    position:relative;
    bottom:30px;
}
.display{
    width:190px;
    height:235px;
    float:left;
}
.display.left-image {
    position:relative;
    left:17px;
}
    
.display div {
    width:180px;
    height: 180px;
    overflow:hidden;
    margin: 5px;
}

.drop-box-css.left-eye {
    position:relative;
    left: 14px;   
}

.left-ext-upload {
    bottom:30px;
    left:4px !important; 
}

/* info and errors */
.message-info {
    border: 1px solid;
    clear: both;
    padding: 10px 20px;
}

.view-image-full {
    width:100%;
    max-width:1000px;    
}

.message-error {
    clear: both;
    color: #e80c4d;
    font-size: 1.1em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.message-success {
    color: #7ac0da;
    font-size: 1.3em;
    font-weight: bold;
    margin: 20px 0 10px 0;
}

.error {
    color: #e80c4d;
}
input.error, select.error, textarea.error
{
    background-color: #FEE;
    border: 1px solid #900;
    color:black;
}
.required-field {
    color:#990000;
}
/* styles for validation helpers */
.field-validation-error {
    color: #e80c4d;
    font-weight: bold;
}

.field-validation-valid {
    display: none;
}

input.input-validation-error {
    border: 1px solid #e80c4d;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}

.validation-summary-errors {
    color: #e80c4d;
    font-weight: bold;
    font-size: 1.1em;
}

.validation-summary-valid {
    display: none;
}

/* Interpretations */

    .question {
        font-size: 1em;
        color: grey;
        font-weight: bold;
        text-align: right
    }
    .answer {
        font-size: 1em;
        font-weight: bold;
        text-align: left;
    }
    #interpretation-intro td {
        min-width: 33%;     
    }
    .interpretation-image {
        float: left;
        width: 49%;
        margin: 2px;
    }
.comments-readonly {
    margin:.75em;
    text-align: left;    
    height: 100px;
    overflow:auto;
    width: 540px;
    padding: .5em;
    font-family: inherit;
}

/* tables ----------------------------------------------------------*/
table {
    border-collapse: collapse;
    border-spacing: 0;
    /*margin-top: 0.75em;*/
    border: 0 none;
}

.login-table {
    margin-left: auto; 
    margin-right: auto; 
    margin-bottom: 2em;
}

th {
    font-size: 1.2em;
    text-align: left;
    border: none 0px;
    padding-left: 0;
}

    th a {
        display: block;
        position: relative;
    }

    th a:link, th a:visited, th a:active, th a:hover {
        color: #333;
        font-weight: 600;
        text-decoration: none;
        padding: 0;
    }

    th a:hover {
        color: #000;
    }

    th.asc a, th.desc a {
        margin-right: .75em;
    }

    th.asc a:after, th.desc a:after {
        display: block;
        position: absolute;
        right: 0em;
        top: 0;
        font-size: 0.75em;
    }

    th.asc a:after {
        content: '▲';
    }

    th.desc a:after {
        content: '▼';
    }

.input-label
{
    text-align: right;
}

td {
    padding: 0.25em 1.8em 0.25em 0em;
    border: 0 none;
}

tr.pager td {
    padding: 0 0.25em 0 0;
}


#photosession-title-nav
{
    /*display: block;*/ 
    text-align:center; 
    width: 100%; 
    background-color:black; 
    color:white; 
    vertical-align:middle; 
    padding: .5em 0;
}

.align-bottom-right
{
    vertical-align:bottom;
    text-align:right;
}

/********************
*   Mobile Styles   *
********************/
@media only screen and (max-width: 850px) {

    /* header
    ----------------------------------------------------------*/
    header .float-left,
    header .float-right {
        float: none;
    }

    /* logo */
    header .site-title {
        margin: 10px;
        text-align: center;
    }

    /* login */
    #login {
        font-size: .85em;
        margin: 0 0 12px;
        text-align: center;
    }

        #login ul {
            margin: 5px 0;
            padding: 0;
        }

        #login li {
            display: inline;
            list-style: none;
            margin: 0;
            padding: 0;
        }

        #login a {
            background: none;
            color: #999;
            font-weight: 600;
            margin: 2px;
            padding: 0;
        }

        #login a:hover {
            color: #333;
        }

    /* menu */
    nav {
        margin-bottom: 5px;
    }


    /* main layout
    ----------------------------------------------------------*/
    .main-content,
    .featured + .main-content {
        background-position: 10px 0;
    }



    .featured .content-wrapper {
        padding: 10px;
    }
    .content-wrapper {
        padding-right: 10px;
        padding-left: 10px;
    }

    /* page content */
    article, aside {
        float: none;
        width: 100%;
    }

    /* ordered list */
    ol.round {
        list-style-type: none;
        padding-left: 0;
    }

        ol.round li {
            padding-left: 10px;
            margin: 25px 0;
        }

            ol.round li.zero,
            ol.round li.one,
            ol.round li.two,
            ol.round li.three,
            ol.round li.four,
            ol.round li.five,
            ol.round li.six,
            ol.round li.seven,
            ol.round li.eight,
            ol.round li.nine {
                background: none;
            }

     /* features */
     section.feature {
        float: none;
        padding: 10px;
        width: auto;
     }

        section.feature img {
            color: #999;
            content: attr(alt);
            font-size: 1.5em;
            font-weight: 600;
        }

    /* forms */
    input {
        width: 90%;
    }

    /* login page */
    #loginForm {
        border-right: none;
        float: none;
        width: auto;
    }

        #loginForm .validation-error {
            display: block;
            margin-left: 15px;
        }

    #socialLoginForm {
        margin-left: 0;
        float: none;
        width: auto;
    }

    /* ------------------------ footer ----------------------------*/
    footer .float-left,
    footer .float-right {
        float: none;
    }

    #footer 
    {
        color: red;
        display:table;
        margin: 0 auto;
        height: auto;
        padding: 10px 0;
    }

    footer p {
        margin: 0;
    }
}

/*-------------------------- iPad-Specific Styles ---------------------------*/
@media only screen and (max-device-width : 768px) 
{

    .content-wrapper {
        /*
        min-width: 768px;
        max-width: 768px;
        */

        /*
        min-width: 100%;
        max-width: 100%;
        */

        /*min-height: 1700px;*/

         /*Doesn't seem to work for some reason?*/
         /*min-height: calc(100% + 1200px);*/

         /*"Working" variant*/
        /*min-height: 2048px;*/
        
        /*min-height: 1024px;*/
        /*max-height: 1024px;*/
    }

    #header-container {
        /*
        min-width: 768px;
        max-width: 768px;
        */

        /*
        min-width: 100%;
        max-width: 100%;
        */
    }

    #main-wrapper
    {

        /*Best choice so far. Works quite well for a static height*/
        /*min-height: 1260px;*/

        /*To integrate with static main-height from .content-wrapper*/
        /*min-height: 100%;
        height: 100%;*/

        /* doesn't work, even if you explicitly size the containing body element (.content-wrapper) - min-height: calc(100% + 1200px);*/

        /*same as assigning min-height directly - min-height: calc(700px + 560px);*/
    }

    #ipad-dialog-centered
    {
        /*
            !important is necessary to override inline styling supplied by jquery ui. 
            Changing the inline styling using jquery would affect non-ipad sized dialog.
        */
        left: auto !important;
        right: auto !important;
    }
}

/*-------------------------- ROP Tool ---------------------------*/

    #rop-tool-dialog {
        width: 100%;
        border-collapse: collapse;
        empty-cells: hide;
    }

    #rop-tool-dialog div.push-right {
        margin-left: 4em;
    }

.ropTool-main {
   float:left;
}
.ropTool-main > canvas{
    vertical-align:middle;
}
.ropTool-main#results-history-nav {
    width:1200px;
}

.ropTool-main > .history-item img{
    width:1000px;
    float:left;
}
.ropTool-small-top{
    width:185px;
    vertical-align:top;
    margin-top:30px;
    float:right;

}
#rop-button-container {
    float:right;
}
#alert-container {
    float:right;
}

.ropTool-small-bottom {
    width: 185px;
    float:right;
    text-align:center;
    margin-right:15px;
}

#results-history-nav > .history-item {
        width: 100%;   
    }
.history-item > img {
    width: 98%;
}
.ropTool-small-bottom .tortuosity-results {
    display:none;
}
.ropTool-main .tortuosity-results {
    float:right;
    width:190px;
}

#results-history-nav.ropTool-main > h2, .ropTool-main .history-item > span {
    display:none;
}

.visible-xs {
    display:none;
}
@media (max-device-width: 768px) {
    .hidden-xs {
        display:none;
    }
    .visible-xs {
        display:block;
    }

}

.app-permissions-warning{
    margin-left: auto;
    margin-right:auto;
    width: 50%;
    min-width: 300px;
    max-width: 700px;
}

.app-permissions-warning span:first-child{
    font-weight: bold;
}
.app-permissions-warning li{
    text-transform:capitalize;
}
.terms-of-use-popup {
    width: 80% !important;
    height: 70% !important;
    top: 5% !important;
    left: 10% !important;
    overflow-y: auto !important;
}