/* Application-specific styles */

/*Fonts*/

@font-face {
    font-family: "Lato";
    src: url("/assets/fonts/Lato-Light.eot");
    src: url("/assets/fonts/Lato-Light.eot?#iefix") format("embedded-opentype"), url("/assets/fonts/Lato-Light.woff") format("woff"), url("/assets/fonts/Lato-Light.ttf") format("truetype"), url("/assets/fonts/Lato-Light.svg#Lato-Light") format("svg");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Lato";
    src: url("/assets/fonts/Lato-BlackItalic.eot");
    src: url("/assets/fonts/Lato-BlackItalic.eot?#iefix") format("embedded-opentype"), url("/assets/fonts/Lato-BlackItalic.woff") format("woff"), url("/assets/fonts/Lato-BlackItalic.ttf") format("truetype"), url("/assets/fonts/Lato-BlackItalic.svg#Lato-BlackItalic") format("svg");
    font-weight: 900;
    font-style: italic;
}

@font-face {
    font-family: "Lato";
    src: url("/assets/fonts/Lato-Black.eot");
    src: url("/assets/fonts/Lato-Black.eot?#iefix") format("embedded-opentype"), url("/assets/fonts/Lato-Black.woff") format("woff"), url("/assets/fonts/Lato-Black.ttf") format("truetype"), url("/assets/fonts/Lato-Black.svg#Lato-Black") format("svg");
    font-weight: 900;
    font-style: normal;
}

@font-face {
    font-family: "Lato Hairline";
    src: url("/assets/fonts/Lato-Hairline.eot");
    src: url("/assets/fonts/Lato-Hairline.eot?#iefix") format("embedded-opentype"), url("/assets/fonts/Lato-Hairline.woff") format("woff"), url("/assets/fonts/Lato-Hairline.ttf") format("truetype"), url("/assets/fonts/Lato-Hairline.svg#Lato-Hairline") format("svg");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Lato";
    src: url("/assets/fonts/Lato-LightItalic.eot");
    src: url("/assets/fonts/Lato-LightItalic.eot?#iefix") format("embedded-opentype"), url("/assets/fonts/Lato-LightItalic.woff") format("woff"), url("/assets/fonts/Lato-LightItalic.ttf") format("truetype"), url("/assets/fonts/Lato-LightItalic.svg#Lato-LightItalic") format("svg");
    font-weight: 300;
    font-style: italic;
}

@font-face {
    font-family: "Lato";
    src: url("/assets/fonts/Lato-BoldItalic.eot");
    src: url("/assets/fonts/Lato-BoldItalic.eot?#iefix") format("embedded-opentype"), url("/assets/fonts/Lato-BoldItalic.woff") format("woff"), url("/assets/fonts/Lato-BoldItalic.ttf") format("truetype"), url("/assets/fonts/Lato-BoldItalic.svg#Lato-BoldItalic") format("svg");
    font-weight: bold;
    font-style: italic;
}

@font-face {
    font-family: "Lato";
    src: url("/assets/fonts/Lato-Italic.eot");
    src: url("/assets/fonts/Lato-Italic.eot?#iefix") format("embedded-opentype"), url("/assets/fonts/Lato-Italic.woff") format("woff"), url("/assets/fonts/Lato-Italic.ttf") format("truetype"), url("/assets/fonts/Lato-Italic.svg#Lato-Italic") format("svg");
    font-weight: normal;
    font-style: italic;
}

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

@font-face {
    font-family: "Lato Hairline";
    src: url("/assets/fonts/Lato-HairlineItalic.eot");
    src: url("/assets/fonts/Lato-HairlineItalic.eot?#iefix") format("embedded-opentype"), url("/assets/fonts/Lato-HairlineItalic.woff") format("woff"), url("/assets/fonts/Lato-HairlineItalic.ttf") format("truetype"), url("/assets/fonts/Lato-HairlineItalic.svg#Lato-HairlineItalic") format("svg");
    font-weight: 300;
    font-style: italic;
}

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

body * {
    font-family: "Lato", sans-serif;
}

.navbar .brand img {
    margin-top: -20px !important;
}

/* Custom styles of the elements (buttons, forms, etc.) */

.btn {
    box-shadow: inset 0 0 0 1px lightgray;
}

.btn.btn-primary,
.btn.btn-info,
.btn.btn-success,
.btn.btn-warning,
.btn.btn-danger,
.btn.btn-inverse,
.btn.btn-link {
    box-shadow: none;
}

a, a small {
    color: #00b28f;
}

a:hover small, a:hover {
    color: #00b28f;
}

h1 {
    text-transform: uppercase;
    color: #555555 !important;
}

.btn {
    padding: 0.3em 1em;

    font-size: 16px;

    text-shadow: none !important;

    background-image: none !important;

    border-radius: 0 !important;
    border-style: none !important;
}

.btn-primary {
    background-color: #00b28f !important;

    border: none !important;
}

.btn-primary:hover {
    background-color: #00b28f !important;
}

.btn-info {
    border: none !important;
}

.btn-success {
    border: none !important;
}

.btn-warning {
    border: none !important;
}

.btn-danger {
    background-color: #ff2020 !important;

    border: none !important;
}

.btn-danger:hover {
    background-color: #d82121 !important;
}

.btn-inverse {
    border: none !important;
}

.btn-link {
    color: #00b28f !important;

    border: none !important;
}

.btn-mini {
    line-height: 16px;
    font-size  : 11px;
}

.btn-small {
    line-height: 18px;
}

.alert {
    font-size: 16px;
    border-radius: 0 !important;
}

.alert-danger {
    background-color: #ffcccc !important;
}

select,
input[type="text"],
input[type="select"],
input[type="password"] {
    background: #fff;
}

select,
textarea,
input[type="url"],
input[type="tel"],
input[type="date"],
input[type="text"],
input[type="time"],
input[type="week"],
input[type="color"],
input[type="month"],
input[type="email"],
input[type="search"],
input[type="number"],
input[type="password"],
input[type="datetime"],
input[type="datetime-local"],
.uneditable-input {
    border-radius: 0;
}

textarea:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="date"]:focus,
input[type="text"]:focus,
input[type="time"]:focus,
input[type="week"]:focus,
input[type="color"]:focus,
input[type="month"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="password"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
.uneditable-input:focus {
    border: 1px solid #00b28f;
    box-shadow: 0 4px 4px rgba(1, 1, 1, 0.05) inset, 0 0 8px rgba(126, 162, 203, 0.75);
    outline: 0 none;
}

.table-striped h4,
table td,
table td label,
table th {
    font-size: 14px;
    color    : #4c4c4c;
}

/* Custom styles for nav list in the Getting Started section */

#help .nav-stacked a {
    padding-top: 1em;
    padding-bottom: 1em;

    text-transform: uppercase;
    color: #00b28f !important;

    background: #fbfdff !important;
    border-color: lightgrey !important;
    border-radius: 0 !important;
}

#help .nav-stacked a i, #home .nav-stacked a i {
    color: #333333 !important;
}

#help .nav-stacked a {
    padding-top: 1em;
    padding-bottom: 1em;

    text-transform: uppercase;
    color: #333333 !important;

    background: #fbfdff;
}

#help .nav-stacked .active a, #help .nav-stacked .active i {
    color: #00b28f !important;
}

#help .nav-stacked a:hover i, #help .nav-stacked a:hover {
    color: #00b28f !important;
}

#help .nav-stacked a:active i, #help .nav-stacked a:active {
    text-shadow: none !important;
}

/* Forms styles */

.bordered2 {
    border: 1px solid rgb(228, 228, 228);
    border-radius: 0;
    background-color: #ffffff !important;
}

.form-actions {
    margin-top: 0;
    margin-bottom: 0;
    padding: 19px 20px 20px;

    border-top: 0 none;
    background: none;
}

#narrow .form-horizontal .control-label {
    float: none;
    width: auto;
    margin-left: 46px;

    text-align: left;
}

#narrow .form-horizontal .control-group {
    margin-bottom: 0.5em;
}

#narrow .form-horizontal .controls {
    float: left;
    margin-left: 45px;

    font-size: 16px;
}

.form-actions .btn {
    margin-top: 1.3em;
}

#narrow .span6 {
    width: 420px;
    margin-top: 3em;
}

#narrow h3 {
    text-align: center;
    margin-top: 0;
}

#narrow h1 {
    font-size: 32px;
    color: #00b28f;
    line-height: 120%;
    text-transform: uppercase !important;
    text-align: center;

    border-bottom: aliceblue;
    padding-bottom: 0em;
}

#narrow .bordered2 {
    padding-top: 36px;
}

#narrow .form-horizontal .form-actions {
    margin-bottom: 1em !important;
    margin-top: 0 !important;
    padding: 0;

    text-align: center;

    border-top: 1px solid #eee;
}

/* Custom logo styles */

.brand span {
    display: block;
    text-indent: -3000px;
}

/* New page */

.container .navbar-inner>.span12 {
    width: auto;
}

#home .content {
    width: 100%;
    margin: 0px;
}

.navbar {
    position: fixed;
    z-index: 50;
    width: 100%;
    margin-bottom: 1em;

    background: url("/resources/ophthoqbank/img/decorations/bg-body.png") #fff;
}

.page#features>.span12, #media>.span12, #posts-section>.span12 {
    padding: 8em 0;
}

#welcome-message>.span12 .span7 {
    margin-bottom: 6em;
}

#welcome-message>.span12 h1 {
    margin-top: 2em;
}

.page#demo .span12 {
    padding: 8em 0;
}

.container>.content.span12 {
    margin-top: 8em !important;

    line-height: 1.6em;
    font-size: 16px;
}

#home .content.span12 {
    margin: 0px;
    padding: 0px;
}

#main-content, #main-menu {
    float: none;
    margin: auto;
}

#main-content {
    overflow: hidden;
    background: #e1e5e9;
}

.home-top-line .span4 span {
    float: right;
    padding: 0.75em;

    font-family: "Lato", sans-serif;
    font-size: 20px;
    font-weight: bold;
    color: #63abe1;

    border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
}

.white-line {
    background: url("/resources/ophthoqbank/img/decorations/h1.png") repeat-x top;
}

.white-line h1 {
    padding-bottom: 32px;
    background: url("/resources/ophthoqbank/img/decorations/white-line-h1.png") left bottom no-repeat;
}

#home section {
    float: none;
}

#media {
    background-color: #fbfdff;
}

#media h1 {
    color: #fff !important;
}

#media ul {
    margin: 0;

    list-style: none;
}

.white-line {
    background: url("/resources/ophthoqbank/img/decorations/h1.png") no-repeat 8px left;
}

.home-top-line {
    height: 3em;
    padding-bottom: 4em;
}

.home-top-line .span4 {
    float: right;
    width: 310px;
    margin-left: -1em;
    margin-top: -0.4em;

    text-align: right;
}

#top-message {
    float: none;
    padding-top: 8em;
    min-height: 500px;

    font-size: 14px !important;

    background-image: url("/resources/ophthoqbank/img/decorations/thumb-banner-pic.png");
    background-size: cover !important;
}

#top-message .controls {
    margin-left: 0 !important;
    padding-top: 15px;
}

#top-message .span6 {
    width: 45%;
    margin: 0 0 0 1em;
}

#top-message .span4 {
    width: 45%;
    margin: 0 0 0 5em;
}

#top-message .span4 img+div {
    position: relative;
    float: right;
    clear: both;
    overflow: hidden;

    margin: -4.5em 0 0;

    text-shadow: 0px 1px 2px #333;
    background: url("/resources/ophthoqbank/img/decorations/number-star-1.png") 15px 10px no-repeat;
}

#top-message .span4 div h2 {
    float: right;
    width: 65%;
    padding: 0.75em 0.3em 1.2em;

    font-size: 24px;
    font-weight: normal;
    color: white;
}

#top-message .span6 ul {
    margin: 0px;
    padding: 0px;

    list-style: none;

    font-family: "Lato", sans-serif;
    font-size: 24px !important;
    font-weight: bold;
    text-transform: uppercase;
    color: #e9e9e9;
}

#features .btn-warning, #demo .btn-warning {
    padding: 15px 30px;

    font-family: Lato;
    font-size: 16px;
    font-weight: bold;

    background-color: #00b28f !important;
    background-image: none !important;
    border: none !important;
    border-radius: 0 !important;
}

#features .btn-warning {
    margin-top: 30px;

    background-color: #00b28f;
}

#top-message .btn-warning {
    margin-right: 15px;
    padding: 17px 30px;

    font-family: Lato;
    font-size: 16px;
    font-weight: bold;

    background-color: #00b28f;
    border: none !important;
    border-radius: 0 !important;
}

#top-message .btn-inverse {
    padding: 15px 30px;

    font-family: Lato;
    font-size: 16px;
    font-weight: bold;
    color: #00b28f;

    background-color: white !important;
    background-image: none !important;
    border: 2px solid #00b28f !important;
    border-radius: 0 !important;
}

#demo .btn-warning:hover,
#top-message .btn-warning:hover,
#top-message .btn-inverse:hover,
#features .btn-warning:hover {
    border-radius: 15px !important;
    background-position: initial !important;
    transition: all 0.2s ease-in-out;
}

#home .posts-horizontal-list .white-line+.span3 {
    margin-left: 2em !important;
}

#home .posts-horizontal-list .span3 {
    margin-right: 1em;
    margin-left: 0;

    border-top: 12px solid #114466;
}

#home.container {
    width: 100%;
}

#home .large-icon i {
    font-size: 1.5em;
}

#banner {
    background: url("/resources/ophthoqbank/img/decorations/hand.png") 45px bottom no-repeat;
    height: 380px;
}

#main-menu ul {
    float: none;
    margin: auto;
}

#main-menu {
    background: transparent;
}

#main-menu a {
    float: left;
    margin: 1.4em auto 0.5em;
    margin-bottom: 0;

    font-size: 14px !important;
    text-transform: uppercase;
    color: #6c6b71;
    text-shadow: none !important;

    border-right: 1px solid #f8f8f8;
}

#main-menu a:hover {
    color: #8c2b01;
}

#unauthorised a {
    border: 1px solid #00b28f !important;
}

#unauthorised a:hover {
    color: #ffffff !important;
    text-decoration: none;

    background-color: #00b28f !important;
    transition: all 0.2s ease-in-out;
}

/* Other custom styles */

.bottom-nav a {
    font-family: Arial;
    font-size: 14px;
    color: #3781ac;
}

.bottom-nav a:hover {
    color: #6688b7;
}

.bottom-nav h4 {
    font-size: 16px;
    text-transform: uppercase;
    color: white;
}

.bottom-nav li a {
    color: #999999;
}

.bottom-nav li a:hover {
    color: white;
    text-decoration: none;
}

.bottom-nav li a::before {
    float: left;
    margin-right: 0.3em;
    margin-top: -5px;
    content: ".";
}

.bottom-nav li.copyright a.OQ::before {
    content: "";
}

.OQ, .OQ:hover {
    display: block;
    height: 38px;
    max-width: 180px;
    padding-top: 2.5em !important;
    padding-left: 0 !important;

    background: url("/resources/ophthoqbank/img/logos/footer-logo.png") no-repeat !important;
    background-size: 85% auto !important;
}

/* Custom pricing icons */

.pricing h3 {
    text-align: center !important;
}

.pricing .large-package h3,
.pricing .small-package h3 {
    font-size: 16px;
    color: #fff !important;

    background-color: #3d3d3d;
    background-image: none;
    border-radius: 0;
}

.pricing i {
    margin-right: 0.5em;

    color: #fff;
}

.pricing .item-price b,
.pricing .item-price,
.pricing .small-package div>i,
.pricing .large-package div>i {
    font-weight: 300 !important;
    color: #00b28f;
}

.pricing > div {
    width: 240px;
    box-shadow: none;
}

.pricing .btn {
    margin-top: 0;
}

.pricing .item-price .was {
    line-height: 0;
    font-size: 18px;
}

.pricing h3 {
    padding: 12px 0 !important;
    border-radius: 0;
}

.pricing div>i {
    margin-right: 5px !important;

    font-family: "Lato" !important;
    font-size: 26px !important;
    color: #00b28f !important;
}

.pricing h3>span {
    float: none;
    font-size: 16px;
    color: #fff;
}

.pricing div div {
    padding: 24px;

    text-align: center;
}

.pricing div div .tip i {
    color: #ccc;
}

.pricing div:last-child {
    border-radius: 0;
}

/* Customized home page posts */

#media h2.white-line,
#home .posts-horizontal-list h2.white-line {
    margin-top: 0px;
    padding-bottom: 2em;
    padding-left: 0.75em;
    padding-top: 0.75em;
    border: 0px;
}

/* Customized layout */

#posts.container > .content.span12,
#narrow.container > .content.span12,
#demo-exam.container > .content.span12 {
    margin-top: 11em;
}

footer {
    margin: 0px;

    border-radius: 0 !important;
    background: #3d3d3d !important;
}

#home #top-message .number {
    float: left;
    height: auto;
    margin: 0.5em;
    padding: 0.7em 0.3em;

    font-size: 36px;
	color: #ddd;
    text-align: center;
    text-shadow: 1px 2px 3px #222 !important;

    background-color: transparent;
    border: 0 none;
}

#home #top-message p {
    overflow: hidden;

    line-height: 130%;
    letter-spacing: -0.27px;
    font-family: Lato;
    font-size: 28px;
    font-weight: 300;
    color: #333333;
}

#top-message .pull-left {
    float: left;
    overflow: hidden;
    margin-left: 5.8em !important;
    margin-top: -1em !important;
    padding: 0 !important;
}

#main-content > .white-line:first-child {
    padding-left: 1em;
    padding-top: 0.75em;
}

#home h1 {
    line-height: 120%;
    font-size: 48px;
    text-transform: uppercase;
    font-weight: 900;
    color: white !important;
    text-shadow: none !important;
}

#home h1 span {
    font-size: 36px;
    color: #3d95c9;
}

#home h2 {
    line-height: 100%;
    font-size: 48px;
    color: #de6638;
    text-transform: uppercase;
}

/* sections */

#help.container>.content.span12 {
    margin-top: 11em !important;
}

#top-message h1 {
    clear: both;
    margin-top: 1em;
    text-transform: uppercase;
    color: #333333;
    -webkit-text-shadow: 1px 1px 3px #333;
    -moz-text-shadow: 1px 1px 3px #333;
    text-shadow: 1px 1px 3px #333;
}

section .span12, section .cont {
    float: none;
    margin: 0px auto;
    overflow: hidden;
}

#features {
    margin: 7% 0;
}

#features .cont {
    text-align: center;
}

#welcome-message {
    background-color: #00b28f;
}

#media .carousel-decoration {
    text-align: center;
}

#media .carousel-decoration img {
    width: 5em;
    height: auto;
    margin: 3em 0;
}

#media .notice {
    display: flex;
    margin-top: 6em;
    justify-content: center;
}

#media .notice p {
    width: max-content;
    padding: 10px;

    letter-spacing: 0.35px;
    text-align: center;
    font-style: italic;

    background-color: white;
    border-radius: 20px;
    box-shadow: 0px 5px 11px -9px rgba(0, 0, 0, 0.75);
}

#media .notice .info-icon img {
    margin-right: 0.3em;
}

#media .carousel {
    display: flex;
    justify-content: center;
}

#media .carousel-inner {
    width: 75%;
    min-height: 100px;
}

#media .carousel-indicators {
    margin: 0 !important;
}

#media .carousel-control {
    display: flex;
    clear: both;
}

#media .carousel-control[data-slide="next"] {
    justify-content: center;
}

#media .carousel-control[data-slide="prev"] {
    justify-content: center;
}

#media .carousel .item {
    text-align: center;
}

#posts-section {
    background: #e1e5e9;
}

#demo {
    font-size: 24px;
    color: #ffffff;
	background-color: #00b28f
}

#demo img {
    height: auto;
    width: 271px;
}

#demo .details {
    margin-top: 9%;
}

#demo .details .text {
    font-weight: bold;
    line-height: 110%;
}

#demo .details .controls {
    margin-top: 3%;
}

#demo .img-container {
    text-align: center;
}

#features>.span12 {
    text-align: center;
}

/* Top nav */

#unauthorised .nav-collapse a {
    color: #333333 !important;
}

#unauthorised #nav-button {
    padding: 7.9px 15px !important;

    color: white;

    background-color: #00b28f;
    box-shadow: 0 10px 20px -6px rgba(93, 157, 241, 0.4);
    border-radius: 0 !important;
}

#unauthorised #nav-button:hover {
    border-radius: 10px !important;
    transition: all 0.2s ease-in-out;
    background-color: #00b28f;
}

.nav-collapse a:hover, .nav-collapse a:active {
    color: #00b28f !important;
}

.navbar-inverse {
    border-bottom: 1px solid #00b28f;
}

.nav-collapse #unauthorised #nav-button:hover {
    color: white !important;

    background-color: #00b28f;
    border: none !important;
}

.nav-collapse #unauthorised #nav-button {
    color: white !important;

    background-color: #00b28f;
    border: none !important;
}

.navbar-inverse .navbar-inner .nav-collapse #unauthorised li a {
    margin-right: 1em;
    padding: 0;

    text-decoration: none;
    font-size: 15px !important;
    color: #00b28f !important;
}

.navbar-inverse .navbar-inner .nav-collapse #unauthorised li a:hover {
    text-decoration: none;
    color: #ffffff !important;
}

.navbar .nav {
    border-right: none !important;
    border-left: none !important;
}

.navbar-inverse .brand, .navbar-inverse .nav>li>a {
    font-size: 11px !important;
    color: #6c6b71 !important;
}

.navbar-inverse .nav>.active>a, .navbar-inverse .nav>.active>a:hover, .navbar-inverse .nav>.active>a:focus {
    color: #00b28f !important;
    box-shadow: none;
}

.navbar-inverse .brand, .navbar-inverse .nav>li>a:hover {
    color: #00b28f !important;
    opacity: 1 !important;
}

.navbar-inverse .nav li.dropdown.open > .dropdown-toggle,
.navbar-inverse .nav li.dropdown.active > .dropdown-toggle,
.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle {
    background-color: #ffffff;
}

.navbar-inverse .dropdown-menu a:hover {
    opacity: 1;
    color: #ecf8ff !important;
    background: #00b28f !important;
}

.navbar-inverse .navbar-inner {
    max-width: 1170px;
}

/* Left nav */

#help .nav-stacked a,
#home .nav-stacked a {
    padding-top: 15px;
    padding-bottom: 15px;

    font-size: 18px;
    color: #005588;

    border-color: #fff;
    border-top: 1px solid #fff;
    background: #eaeaea;
    background: -moz-linear-gradient(top, #eaeaea 0%, #ffffff 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #eaeaea), color-stop(100%, #ffffff));
    background: -webkit-linear-gradient(top, #eaeaea 0%, #ffffff 100%);
    background: -o-linear-gradient(top, #eaeaea 0%, #ffffff 100%);
    background: -ms-linear-gradient(top, #eaeaea 0%, #ffffff 100%);
    background: linear-gradient(to bottom, #eaeaea 0%, #ffffff 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eaeaea', endColorstr='#ffffff', GradientType=0);
}

#home .nav-stacked a:hover {
    color: #0088cc;
    background: url("/resources/ophthoqbank/img/decorations/blue-star.png") 10px 16px no-repeat #ddd !important;
}

#help .nav-stacked a:hover {
    color: #3291db;
}

#help .nav-stacked a:active,
#home .nav-stacked a:active {
    color: #fff;
    text-shadow: 0.01em 0.05em 0.05em #888;
    background: #ddd;
}

#help .nav-stacked li:first-child a,
#home .nav-stacked li:first-child a {
    border-top: 1px solid #fff;
}

/* Butttons */

#home .orange-button,
#home .blue-button {
    float: left;
	margin-right: 0.5em;
    margin-bottom: 0.5em;
    padding: 0.5em 0.75em 0.7em;

    font-size: 36px;
	font-weight: bold;
    color: #d5d5d5;

    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

.orange-button {
    background: #d26c1c;
}

.orange-button:hover {
    text-decoration: none;
    color: white !important;
    background: #e28b1a;
}

.blue-button {
    background: #0864af;
}

.blue-button:hover {
    text-decoration: none;
    color: white !important;
    background: #3174d8;
}

#features .span12:nth-of-type(3) {
    width: 100%;
    margin: 0 !important;
}

#features .feature-icon {
    height: 60px;
    width: auto;
}

#features .feature-heading {
    padding-top: 22px;
    padding-bottom: 22px;

    line-height: 1.45;
    letter-spacing: -0.21px;
    font-size: 22px;
    font-weight: 900;
}

#features .goal {
    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 7%;
    padding-right: 5%;

	line-height: 1.63;
    letter-spacing: -0.15px;
    font-size: 16px;
    text-align: center;
    color: #333333;
}

#welcome-message ul {
    margin: 0;
    padding: 1em 0em 0.5em;

    line-height: inherit;
    font-weight: bold;
    font-size: 24px;

    list-style: none;
}

#welcome-message .span7 {
    margin: 0px;
}

#welcome-message .span8 {
    margin-top: 1%;
    padding: 3%;
    padding-right: 0;
}

#welcome-message .span4 {
    padding: 3%;
    padding-left: 0;

    text-align: center;
}

#demo .span4 {
    padding: 3%;
    padding-right: 0;

    text-align: center;
}

#welcome-message ul li {
    padding-bottom: 0.5em;
    padding-left: 1.5em;

    line-height: 130%;
    font-family: "Lato";
    text-transform: uppercase;

    background: url("/resources/ophthoqbank/img/decorations/check.png") 0 0.4em no-repeat;
}

#welcome-message {
    font-size: 24px;
    color: #ffffff;
}

#welcome-message h2 {
    width: 80%;
    overflow: hidden;

    font-size: 36px;
    font-weight: 900;
    text-transform: none !important;
    color: #ffffff;
}

#welcome-message .subtitle {
    margin-top: 15px;
    margin-bottom: 15px;

    line-height: 110%;
    font-weight: bold;
}

#welcome-message .details {
    font-weight: 400;
}

#welcome-message .img-container img {
    width: 200px;
    height: auto;
}

blockquote {
    margin-left: 20pt;
    margin-top: 20pt;
    padding-left: 70px;

    line-height: 125%;
    font-family: "Times New Roman", Times, serif;
    font-size: 36px;
    font-style: italic;

    background: url("/resources/ophthoqbank/img/decorations/comment.png") left 10px no-repeat;
}

footer .span12 {
    padding-left: 0px !important;
}

#home #eyehound {
    margin-right: 1em;
}

#demo p.clear {
    font-size: 24px;
    line-height: 30px;
}

#top-message .span4 a {
    float: right;
    clear: both;
    margin-right: 10px;
    padding: 24px 24px 24px 60px;

    font-family: "Lato", sans-serif;
    font-size: 40px;
    font-weight: bold;
    text-decoration: none;
    color: white;

	background: #0864af url("/resources/ophthoqbank/img/decorations/new-label.png") no-repeat;
    border-radius: 6px;
}

#top-message .span4 a:hover {
    background: #04249e url("/resources/ophthoqbank/img/decorations/new-label.png") no-repeat;
}

/* Other custom styles */

/* icons */

.carousel-control {
    position: absolute;
    top: 10%;
    left: 0;
    width: 2em;
    height: 2em;

    line-height: 0.8em;
    text-align: center;
    font-size: 46px;
    font-weight: 300;
    opacity: 1;
    color: #03a9f4;

	background: none !important;
    border: medium none;
    border-radius: 100%;
}

.carousel-control:hover {
    color: #aaa;
}

#myCarousel .carousel-control {
    position: absolute;
    top: 53px;
}

#myCarousel hr {
    margin: 15px 0;
}

.carousel img {
    display: block;
    clear: both;
    width: 70%;
    margin-bottom: 0.2em;
    overflow: hidden;
}

#myCarousel .carousel-inner {
    width: 60%;
    height: 210px;
    margin: auto;
}

#myCarousel1 .carousel-inner {
    margin: auto;
    width: 80%;
}

#myCarousel1 .carousel-inner img {
    float: left;
    height: 3em;
    width: 3em;
    margin-right: 1em;

    border-radius: 50%;
}

.carousel article {
    display: block;
    padding: 4em 5em;

    border: 1px solid #eee;
    -webkit-border-radius: 1em;
    -moz-border-radius: 1em;
    border-radius: 0.3em;
}

.carousel-indicators {
    display: block;
    width: 100px;
    margin: 2em auto auto;
}

.carousel-indicators li.active {
    display: block;
    width: 0.5em;
    height: 0.5em;
    margin-top: -2px;

    background: #03a9f4;
    border-radius: 0.25em;
}

.carousel-indicators li {
    float: left;
    display: block;
    width: 0.35em;
    height: 0.35em;
    margin-left: 10px;

    text-indent: -999px;

    background-color: rgba(190, 190, 190, 0.5);
    border-radius: 0.2em;
}

@media (min-width: 1200px) {
    .cont {
        max-width: 1170px;
    }
}

@media (min-width: 1400px) {
    #features .feature-icon {
        height: 70px !important;
    }
    #features {
        margin: 5% 0 !important;
    }
}

@media (min-width: 1700px) {
    #features .feature-icon {
        height: 80px !important;
    }
    #features {
        margin: 5% 0 !important;
    }
}

@media (max-width: 1200px) {
    .cont {
        padding: 1em 2em;
    }
    #main-menu ul {
        clear: both !important;
    }
    #home h2 {
        font-size: 36px;
    }
    #features .span12:nth-of-type(1) {
        width: 100%;
    }
}

@media (max-width: 1170px) {
    #narrow input.span3 {
        width: 100%;
    }
    #narrow .form-horizontal .controls {
        width: 70%;
    }
    #home .row {
        margin-left: 0px;
    }
    #main-menu a {
        padding: 1.5em 0.4em;
        font-size: 22px;
    }
    #top-message .span6 {
        margin-left: 0.5em;
    }
    #home h1 {
        font-size: 48px;
    }
    #welcome-message>.span12 .span7 {
        margin-bottom: 3em;
    }
    #home .posts-horizontal-list .span3 {
        width: 23%;
    }
    #welcome-message ul {
        font-size: 22px;
    }
    #welcome-message .span12 {
        padding: 0 0 1em;
    }
    #top-message .span4 {
        margin-left: 3em;
    }
    #demo.page .span12 {
        padding: 4em 0 6em;
    }
    #demo.page .span12 .span6:last-child {
        margin-top: -2em;
    }
    #demo.page .span12 .span6 img {
        margin-left: 2em;
    }
    #home .orange-button, #home .blue-button {
        font-size: 30px;
    }
    #demo.page .span12 .span6:first-child {
        margin-top: 0em;
    }
    #demo {
        padding: 15px 0;
    }
    #demo .details {
        margin-top: 5% !important;
    }
}

@media (min-width: 768px) and (max-width: 979px) {
    #main-menu li a {
        height: 1.2em;
        margin-top: 0;
        padding: 1em !important;

        text-align: center !important;

        border: none !important;
        background-color: transparent !important;
    }
    #home .bordered .span4 {
        border-bottom: 1px solid #ddd;
    }
}

@media (max-width: 979px) {
    .nav-collapse {
        background-color: #f5f5f5;
    }
    .navbar-inner {
        padding: 0 !important;
    }
    #top-message .span4 a {
        font-size: 30px;
    }
    #top-message>.span12 {
        padding: 0 4em;
    }
    .userpic {
        display: inline-block;
        margin-right: 0.5em;
    }
    #qg-customer>a {
        margin-top: 0;
        margin-left: 0;
    }
    #qg-customer .caret {
        margin-top: 1em;
    }
    .navbar-inverse .nav-collapse #unauthorised {
        margin: 2px 0 0 0px !important;
    }
    .navbar-inverse .nav-collapse #unauthorised #nav-button {
        padding: 7px 14px !important;

        background-color: #00b28f !important;
    }
    .navbar-inverse .nav-collapse #unauthorised #nav-button:hover {
        padding: 7px 14px !important;

        color: white !important;
        border-radius: 0 !important;
    }
    .navbar-inverse .btn-navbar {
        margin-right: 20px;

        background: #00b28f;
        border-radius: 0px !important;
        border-color: #00b28f !important;
    }
    .navbar-inverse .btn-navbar:hover {
        background: #00b28f;
    }
    .navbar-inverse .navbar-inner .nav-collapse #unauthorised li a {
        margin-right: 0em;

        font-size: 14px !important;
        color: #00b28f !important;

        border: 0 !important;
        background: #f5f5f5 !important;
    }
    .navbar-inverse .navbar-inner .nav-collapse #unauthorised li a:hover {
        color: white !important;

        background: #00b28f !important;
    }
    .navbar-inverse .navbar-inner .nav-collapse li a {
        border-bottom: 1px dashed #ddd !important;
        border-top: 0;
    }
	.navbar-inverse .dropdown-menu a:hover i,
	.navbar-inverse .nav .dropdown .active > a,
    .navbar-inverse .nav .dropdown .active > a i,
	.navbar-inverse .nav .dropdown .active>a:hover,
	.navbar-inverse .nav .dropdown .active>a:focus,
	.navbar-inverse .nav .dropdown .active > a:hover i,
	.navbar-inverse .nav .dropdown .active > a:focus i {
        color: #00b28f !important;
    }
    .navbar-inverse .navbar-inner .nav-collapse li a:hover {
        color: #00b28f !important;
    }
    .navbar-inverse .navbar-inner .nav-collapse li a {
        background: #f5f5f5 !important;
    }
    #home .posts-horizontal-list .span3 {
        height: 196px;
    }
    #narrow .navbar, #help .navbar, #home .navbar {
        min-height: 73px;

        background: white !important;
    }
    #demo.page .span12 {
        padding: 6em 0;
    }
    #demo.page .span12 .span6:last-child {
        margin-top: 0;
    }
    #top-message .span4 div h2 {
        width: 60%;
        padding: 1.5em 0.3em 1.2em;

        font-size: 18px;
    }
    #top-message {
        padding-top: 4em;
    }
    #demo>.span12 {
        padding-left: 0px;
        margin-left: 0px;

        background: url("/resources/ophthoqbank/img/decorations/only-circle.gif") no-repeat scroll -2em 3em;
    }
    #home {
        font-size: 14px !important;
    }
    #welcome-message h2 {
        width: 70%;

        font-size: 30px;
    }
    #demo p.clear {
        line-height: 24px !important;
        font-size: 18px !important;
    }
    #welcome-message .span7 {
        width: 100%;
    }
    #welcome-message .span12 {
        padding-bottom: 4em;

        background: none !important;
    }
    #welcome-message {
        font-size: 18px;
    }
    #home h1 {
        font-size: 36px;
    }
    .container>.content.span12 {
        margin-top: 0em !important;
    }
    .navbar {
        position: static;
        height: auto;
    }
    .home-top-line .span4 {
        width: 200px;
    }
    .navbar-inverse .brand, .navbar-inverse .nav>li>a {
        color: #828282;
        text-shadow: none !important;
    }
    .navbar-inverse .brand {
        margin-left: 20px;
    }
    #main-menu a {
        border-bottom: 1px solid #ddd;
    }
    #main-menu {
        background-color: white;
    }
    #welcome-message .span4 {
        width: 31%;
        margin: 0;
    }
    .home-top-line .span4 span {
        visibility: hidden;
    }
    #demo .span12 .span6:last-child br {
        display: none;
    }
    #demo .span12 .span6:last-child p {
        margin-top: 1.5em;
    }
    #media .notice .info-icon {
        display: block;
        margin-bottom: 1em;
    }
    #media .notice .info-icon img {
        margin-right: 0;
    }
}

@media (max-width: 767px) {
    .row-fluid .offset2:first-child {
        margin: 0;
    }
    #demo .details .text {
        padding: 3% 0;
    }
    #demo .details .controls {
        margin: 4% 0;
        padding: 0 !important;

        text-align: center;
    }
    #demo .details {
        margin-top: 1% !important;
    }
    .navbar .brand {
        height: inherit !important;
    }
    #demo .span6 {
        float: none;
        width: 90%;
        margin: 0 1em !important;
    }
    #home h1 {
        margin-bottom: 1em;
    }
	#media > .span12,
    #features.page > .span12,
	#posts-section > .span12 {
        padding: 4em 0 !important;
    }
    #features .span4:nth-of-type(2n) {
        margin-top: 50px !important;
        margin-bottom: 50px !important;
    }
    #welcome-message {
        padding: 5% 0;
		background-color: #00b28f !important;
    }
    #welcome-message .span4 {
        width: 100% !important;
        padding-left: 1em;
    }
    #welcome-message .span4 img {
        width: 200px !important;
    }
    #welcome-message .span8 {
        padding-left: 0em;
    }
	#home .blue-button,
    #home .orange-button {
        float: none;
        padding: 0.3em 0.6em;
    }
    #top-message .span6 {
        float: none;
        width: 95%;
        text-align: center;
    }
    #top-message .span4 {
        float: none;
        width: 70% !important;
        margin-top: 2em;
        text-align: center;
        margin: auto;
        margin-top: 4em;
    }
    #home h1 br {
        width: 0;
        visibility: hidden;
        display: none;
    }
    #main-menu {
        background: white !important;
    }
    #main-menu a:hover {
        background: #aaa;
    }
    .home-top-line .span4 {
        margin-left: -1em;
        margin-top: -4em;
    }
    /* #media li {
        margin: 0 1em 2em 0;
        float: none;
    } */
    #main-menu a {
        box-sizing: border-box;
        width: 50%;
        margin-top: 0;
        padding: 1em 1em !important;

        border: none !important;
        border-bottom: 1px solid #eee !important;
        background-color: transparent !important;
    }
    #main-menu a:hover {
        color: #6c6b71 !important;

        background-color: #eee !important;
        border-radius: 0 !important;
    }
    #top-message .span4 div h2 {
        width: 65%;
        padding: 0.75em 0.3em 1.2em;

        font-size: 24px;
    }
    #demo .span4 {
        padding-right: 1em;
    }
    .carousel {
        width: 90%;
        margin: auto;
    }
    .carousel {
        width: 100%;
        margin: auto;
    }
}

@media (max-width: 640px) {
    #narrow .span6 {
        width: 100%;
    }
    .navbar-inverse .nav-collapse #unauthorised {
        width: 100%;
    }
    .navbar-inverse .navbar-inner .nav-collapse #unauthorised li a {
        margin-right: 0em;
        padding: 1em !important;

        font-size: 14px !important;
        text-transform: uppercase;

        border-bottom: 2px dotted #eee !important;
    }
    .navbar-inverse .navbar-inner .nav-collapse #unauthorised #nav-button {
        padding: 1em !important;

        color: #00b28f !important;

        background: transparent !important;
        box-shadow: none;
        border-bottom: 2px solid #00b28f !important;
    }
    .navbar-inverse .navbar-inner .nav-collapse #unauthorised #nav-button:hover {
        color: white !important;

        background: #00b28f !important;
    }
    #home .orange-button, #home .blue-button {
        font-size: 22px;
    }
    #top-message {
        padding-top: 1em;
        padding-bottom: 2em;
    }
    #top-message .span4 > div, #top-message .span4>img {
        display: none;
        visibility: hidden;
        height: 0px;
    }
    #welcome-message h2 {
        font-size: 24px;
    }
    #main-menu a {
        padding: 1em 0.8em !important;
    }
    #top-message .span4 {
        width: 90%;
    }
    #bull {
        visibility: none !important;
        height: 0px !important;
        width: 0px !important;
    }
    footer {
        margin: 0px;
        padding: 0px;

        background: #3d3d3d !important;
    }
    .bottom-nav h4 {
        padding: 12px;
        margin: 0px;

        background: #00b28f;
    }
    .bottom-nav li {
        border-bottom: 1px solid #00b28f;
    }
    .bottom-nav li {
        border-top: 1px solid #00b28f;
    }
    .bottom-nav a:hover {
        background: #00b28f;
        transition: all 0.2s ease-in-out;
    }
    #main-menu a {
        width: 100% !important;
    }
    blockquote {
        font-size: 24px;
    }
    .carousel article {
        margin-bottom: 1em;
        padding: 2em;
    }
    #media .carousel-control[data-slide="next"] {
        justify-content: flex-end;
    }
    #media .carousel-control[data-slide="prev"] {
        justify-content: flex-start;
    }
    #media .carousel-control img {
        width: 30%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .navbar-inverse .navbar-inner .nav-collapse #unauthorised #nav-button {
        padding: 1em !important;

        color: #00b28f !important;

        background: transparent !important;
        box-shadow: none;
        border-bottom: none !important;
    }
    .navbar-inverse .navbar-inner .nav-collapse #unauthorised #nav-button:hover {
        color: white !important;
        background: #00b28f !important;
    }
    #top-message .span4 a {
        padding: 24px 18px 24px 24px;

        font-size: 24px;
    }
    #top-message .controls .btn-warning {
        width: 100%;
        padding: 17px 0.5px;
    }
    #top-message .controls .btn-inverse {
        width: 99%;
        padding: 17px 0;
    }
    #unauthorised li {
        float: none;
        width: 100%;
    }
    .page#features>.span12, #media>.span12, #posts-section>.span12 {
        padding: 3em 0;
    }
    #welcome-message h2 {
        border-top: 0px;
        border-left: 0px;
        border-right: 0px;
    }
    #welcome-message .span7 img {
        display: none;
        height: 0;
        width: 0;
    }
    #welcome-message .span7 h2 {
        width: auto;
    }
    .home-top-line .span4 {
        margin-left: 0;
        margin-top: 0;
    }
    #top-message .span4 div h2 {
        width: 60%;
    }
    #main-menu a {
        width: 100%;
    }
    #home .posts-horizontal-list .white-line+.span3 {
        margin-left: 0.5em !important;
    }
    #demo .btn-warning {
        margin: 2em 0;
    }
}

@media (max-width: 400px) {
    #top-message .span4 div h2 {
        width: 55%;
        padding: 1.2em 0.3em;

        font-size: 20px;
    }
    #top-message .controls .btn-warning {
        padding: 17px 1px;
    }
    #home .number {
        font-size: 20px;
        padding: 1.2em 0.2em;
    }
}
/* Toggle */
.xq-toggle input:checked + .xq-toggle-slider {
    background-color: #00b28f;
}
