/* Application-specific styles */

/* Custom font styles */

@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 !important;
    color      : #2c2c2c;
    background : #fafafa;
    line-height: 1.6em;
}

body #home {
    background : white;
    font-family: 'Lato', sans-serif !important;
}

.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;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color      : #3d3d3d;
    font-family: 'Lato', sans-serif !important;
    line-height: 1.1em;
}

.item-price,
legend {
    color      : #3d3d3d;
    font-family: 'Lato', sans-serif !important;
}

.underlined {
    text-decoration: underline;
}

a.underlined:hover {
    text-decoration: none;
}

a.underlined:hover i {
    color: #0d8269;
}

h3 sup,
h3 sup a {
    color: #999;
}

.emphisize-bg {
    background: #f2fbf8;
    padding   : 0.5em 1em;
}

.emphisize-wrn-bg {
    background: #fcf0e1;
    padding   : 0.5em 1em;
}

.main-color {
    color: #00b28f;
}

ul.inline {
    display: inline;
}

.navbar {
    background   : url('/resources/ophthoquestions/img/decorations/bg-body.png') #fff;
    border-bottom: 1px solid #eee;
}

h2 {
    line-height: normal;
}

h1 {
    text-transform: uppercase;
    color         : #555;
}

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

a:hover small,
a:hover {
    color: #0d8269;
}

a:hover i {
    color: #0d8269;
}

strong {
    font-weight: 900 !important;
}

/* Header */

.dropdown-menu a {
    font-size: 12px;
}

.dropdown-menu a i {
    color: #666;
}

.dropdown-menu a:hover i {
    color: white;
}

.dropdown-menu .active i {
    text-shadow: none;
    color      : white !important;
}

.dropdown-menu .active>a {
    background-color: #4F839F;
    background-image: none;
}

.dropdown-menu li>a:hover {
    background-color: #4F839F;
    background-image: none;
}

.nav .dropdown-toggle .caret {
    border-top-color   : #00b28f;
    border-bottom-color: #00b28f;
    margin-top         : 6px;
}

.nav-tabs .open .years-stat-dropdown {
    color              : #555555;
    background-color   : #ffffff;
    border             : 1px solid #ddd;
    border-bottom-color: transparent;
    cursor             : default;
}

.nav-tabs .open .years-stat-dropdown .caret {
    border-top-color   : #555555 !important;
    border-bottom-color: #555555 !important;
}

.navbar-inverse .dropdown-menu a:hover i {
    color: white !important;
}

.navbar-inverse .nav>li>a:focus,
.dropdown-menu li>a:focus {
    color: #555;
}

/* unauthorized menu */

#unauthorised .nav-collapse a {
    color: #54a5cc;
}

#unauthorised a {
    color     : white;
    transition: color 0.3s ease 0s;
}

#unauthorised a:hover {
    color: #80cbc4 !important;
}

.navbar {
    margin-bottom: 1em;
    position     : fixed;
    width        : 100%;
}

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

.new-navbar__login-btns a {
    font-weight: 600;
    border: 1px solid #00b28f;
}

.new-navbar__login-btns .demo-btn {
    color: white;
    background-color: #00b28f;
}

.new-navbar__login-btns .demo-btn:hover {
    background-color: #009e7f;
}

.new-navbar__login-btns a:hover {
    color: white;
    background-color: #00b28f;
    transition: all 0.3s ease;
}

.navbar-inverse .navbar-inner .nav-collapse #unauthorised li a {
    font-size      : 14px !important;
    border         : 1px solid #00b28f;
    margin-right   : 1em;
    padding        : 0;
    text-decoration: none;
    color          : #00b28f !important;
}

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

#unauthorised #nav-button {
    background   : #00b28f none repeat scroll 0 0;
    border       : none !important;
    border-radius: 0;
    box-shadow   : 0 2px 0px #009e7f;
    margin-top   : -2px !important;
    color        : white !important;
    ;
}

#unauthorised #nav-button:hover {
    background-color: #0d8269 !important;
}

/* menu*/

.breadcrumb a:hover {
    color          : #0d8269;
    text-decoration: none;
    border-bottom  : 1px solid #0d8269;
}

.navbar .brand {
    max-width: 200px;
}

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

/* Authorised menu */

.navbar .nav {
    margin-left: 65px;
}

.nav-collapse i {
    font-size: 2em;
    color    : #9c9ba3;
}

.navbar .nav>li a:hover i,
.navbar .nav>li a:hover {
    color  : #11b18f;
    opacity: 1;
}

/* Buttons */

#welcome-message .btn {
    text-transform: uppercase;
    line-height   : 130%;
    padding       : 0.7em 1em;
}

.btn-toolbar .btn {
    margin-right: 0;
}

.btn-mini {
    font-size: 11px !important;
}

.btn {
    border           : 0;
    border-radius    : 2px;
    font-size        : 16px;
    font-style       : normal;
    padding          : 0.3em 1em;
    text-shadow      : none;
    background-color : #f0f0f0;
    background-image : -moz-linear-gradient(top, #ffffff, #e0e0e0);
    background-image : -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e0e0e0));
    background-image : -webkit-linear-gradient(top, #ffffff, #e0e0e0);
    background-image : -o-linear-gradient(top, #ffffff, #e0e0e0);
    background-image : linear-gradient(to bottom, #f5f5f5, #e0e0e0);
    background-repeat: repeat-x;
    filter           : progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff0f0f0', endColorstr='#ffe0e0e0', GradientType=0);
    *background-color: #e0e0e0;
}

.btn-light,
.btn-light-warning {
    background: white !important;
    border    : 2px solid #e6e6e6;
    color     : #67a1b7;
    padding   : 0.1em 0.6em;
    font-size : 0.9em;
}

.btn-light:hover i {
    color: #555 !important;
}

.btn-light-warning,
a.btn-light-warning i {
    color: #dba20a !important;
}

.btn-light-warning:hover,
.btn-light-warning:hover i {
    color: #555 !important;
}

.btn-mini {
    margin-right: auto;
}

.btn:hover {
    background-color: #e0e0e0;
    background-image: none;
}

.btn-info,
.btn-success,
.btn-primary,
.btn-warning,
.btn-danger,
.btn-inverse {
    color : white !important;
    border: 0;
}

.btn i,
.btn:hover i[class^="icon"] {
    color: inherit;
}

.btn-void {
    background-image: url('/resources/ophthoquestions/img/decorations/chevron-small-right.svg') !important;
}

.btn-void:hover {
    background-image: url('/resources/ophthoquestions/img/decorations/chevron-small-right.svg') !important;
    color           : #00b28f !important;
}

.btn-info:hover i,
.btn.btn-success:hover i,
.btn.btn-primary:hover i,
.btn.btn-warning:hover,
.btn.btn-danger:hover i,
.btn.btn-inverse:hover i,
.btn-info i,
.btn-success i,
.btn-primary i,
.btn-warning i,
.btn-danger i,
.btn-inverse i {
    color: white !important;
}

.btn-light i {
    color: #67a1b7 !important;
}

.dashboard-subscription .btn {
    width: auto;
}

.btn-primary {
    background: #175ecf;
}

.btn-primary:hover {
    background: #1145a4;
}

.btn-warning {
    background: #efc553;
}

.btn-group .btn {
    margin       : 0 0.5em 0 0;
    border-radius: 0 !important;
}

.btn-warning:hover {
    background: #dba20a;
}

.btn-danger {
    background: #da4f49;
}

.btn-danger:hover {
    background: #c51a13;
}

.btn-inverse {
    background: #333;
}

.btn-inverse:hover {
    background: #666;
}

.nav-pills>.active>a i,
.nav-pills>.active>a:hover i {
    color: white;
}

.nav-pills>.active>a,
.nav-pills>.active>a:hover,
.btn-info {
    background: #3aa0d7;
}

.btn-info:hover {
    background: #0874ad;
}

.btn-link i,
.btn-link {
    border    : 0;
    color     : #00b28f;
    background: none;
}

.btn-link:hover i,
.btn-link:hover {
    color     : #0D8269;
    background: none;
}

.btn.disabled,
.btn.disabled i,
.btn.disabled:hover,
.btn.disabled:hover i {
    color: #aaa;
}

.nav-tabs .active a i {
    color: #555;
}

.alert {
    border-radius: 0;
    margin-top   : 20px;
}

#exam .btn-light {
    font-size: 0.75em;
}

#home .btn-success {
    box-shadow: 0 2px 0 #009e7f;
}

#home .btn {
    margin-top  : 1em;
    margin-right: 1em;
}

.btn-group>.btn-small {
    border-radius: 0 !important;
}

.btn-success:hover {
    background-color: #0d8269 !important;
}

.label-info,
.badge-info {
    border    : medium none;
    font-style: normal;
    background: #87b4cc;
}

.btn-success {
    background: #00b28f none repeat scroll 0 0;
}

/*---End Buttons---*/

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

.table-striped h4,
table th {
    vertical-align: middle !important;
}

#searched-list .table th,
#searched-list .table td,
#team .table th,
#team .table td,
.leaderboard .table th,
.leaderboard .table td {
    border: 0;
}

#exam .control-group .radio,
#exam dl .radio,
#exam dl .checkbox,
#exam dl .controls .radio,
#exam dl .controls .checkbox,
#exam .control-group .checkbox,
#exam dl dd {
    border-radius        : 0;
    -webkit-border-radius: 0;
    -moz-border-radius   : 0;
    background           : #eee;
}

/*#exam .comment-header::before{
    content: url('/assets/svg/commentsG.svg');
    margin-right: 0.5em;
    float: left;
    display: block;
    height: 1em;
    padding-top: 4px;
}*/

#demo-exam.container>.content.span12 {
    margin-top: 6em !important;
}

#demo-exam.container>.content.span12>.span12 {
    margin: auto !important;
}

#demo-exam .question-results .control-group .control-label {
    clear        : left;
    float        : left;
    font-weight  : bold;
    margin-bottom: 0px;
    margin-right : 20px;
    width        : 130px;
}

#demo-exam .question-results .control-group .control-label {
    text-align: left;
}

#demo-exam .question-results .control-group .controls {
    margin-bottom: 5px;
    clear        : right;
    /* font-size : 12px; */
    min-height   : 20px;
    margin-left  : 0px;
}

#demo-exam .question-results .control-group {
    margin-bottom: 5px;
}

/* Some styles for sample cases management section */

#case-questions ul.dropdown-menu li>a:focus {
    background-color: #4F839F;
    color           : white;
}

#case-questions ul.dropdown-menu a:focus>i {
    color: white;
}

#case-questions ul.dropdown-menu a.active-question {
    background-color: #4F839F;
    color           : white;
}

#case-questions ul.dropdown-menu a.active-question>i {
    color: white;
}

.well {
    border       : 0;
    box-shadow   : none;
    border-radius: 0
}

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

.container>.content.span12 {
    margin-bottom: 2em;
}

.nav-collapse #unauthorised li a {
    font-size: 24px;
}

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

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

.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 .nav>.active>a i,
.navbar-inverse .nav>.active>a:hover i,
.navbar-inverse .nav>.active>a:focus i {
    color: #00b28f !important;
}

.progressbar-green {
    background: #6aafd8 none repeat scroll 0 0;
    box-shadow: none;
}

.progressbar {
    background   : #f0f5f5 none repeat scroll 0 0;
    border-radius: 2px;
    box-shadow   : none;
}

/* post page decoration */

.post-header {
    font-size: 12px;
    padding  : 0;
    margin   : 0;
    border   : 0;
}

#posts .bordered2 {
    padding-top: 1em;
    margin-top : 0.5em;
}

#posts .post-content div[itemprop="articleBody"] h1,
#posts .post-content div[itemprop="articleBody"] h2 {
    font-family: "Lato", sans-serif !important;
    border     : 0;
}

#posts .post-content div[itemprop="articleBody"] h1 {
    font-size: 24px;
}

#posts .post-content div[itemprop="articleBody"] h2 {
    font-size: 18px;
}

.posts-horizontal-list li {
    height: 8em !important;
}

#posts .span4:nth-child(n+4) {
    border-top : 1px solid #eee !important;
    padding-top: 1em;
}

#posts .icon-circle-arrow-left {
    color: #00b28f;
}

.meta .inline a {
    text-transform: uppercase;
    /*--color     :#175ecf;--*/
    border-right  : 1px solid #ddd;
    padding       : 0 0.5em;
    font-size     : 12px;
}

.meta .inline a:last-child {
    border-right: 0;
}

#posts .comment-header {
    font-size: 14px;
    float    : left;
    clear    : both;
    overflow : hidden;
    padding  : 0.3em 1em 0.3em 0;
}

#posts .comment-header::before {
    content     : url('/assets/svg/commentsG.svg');
    margin-right: 0.5em;
    float       : left;
    display     : block;
    height      : 1em;
    padding-top : 4px;
}

/* SVG fill */

.basecolor path {
    fill: #00b28f !important;
}

.fc path {
    fill: #3b5999 !important;
}

.tc path {
    fill: #55acee !important;
}

.gc path {
    fill: #dd4b39 !important;
}

.post-comments ol>li {
    position  : relative;
    margin    : 0 0 6px 2em;
    padding   : 0 8px 4px;
    list-style: none;
}

.post-content div[itemprop="articleBody"] {
    padding-bottom: 0;
    margin-bottom : 0;
    font-family   : "Times New Roman", Times, serif;
}

/*---Forum--*/

.span2.thread-userinfo {
    border-top: 3px solid #00b28f;
}

.thread-message-content blockquote {
    border-left: 3px dotted #00b28f;
}

.thread-unread a::before {
    background-image: url('/resources/ophthoquestions/img/decorations/chevron-small-right.svg');
}

.thread-unread a {
    color: #00b28f !important;
}

/* Posts*/

#posts .img-wrapper img {
    box-shadow: none;
    padding   : 0;
    border    : none;
}

.post-comments {
    border-top : 1px solid #eee;
    padding-top: 2em;
}

.user-comment,
.comment-body {
    font-size: 14px;
}

.post-comments .user-comment {
    padding      : 1.5em;
    background   : #eee;
    margin-bottom: 1em;
}

.user-comment .icon-cog,
.comment-header .icon-share-alt {
    color: #555;
}

.comment-body {
    clear   : both;
    overflow: hidden;
    padding : 0em 1em 0 1.9em;
}

#posts .user-comment h5 span {
    background     : url('/assets/svg/comments.svg') no-repeat;
    background-size: auto auto;
    background-size: 100% auto;
    width          : 2em;
    float          : left;
    text-align     : center;
    height         : 2em;
    padding-top    : 0.1em;
    margin-right   : 0.5em;
}

#posts .user-comment p {
    border       : 3px solid white;
    margin-top   : 2em;
    padding      : 0.5em;
    border-radius: 3px;
}

.post-comments ol h6,
.user-comment h5 {
    margin: 0;
}

#posts hr {
    height       : 4px;
    margin       : 5px 0;
    border-top   : 1px solid #eee;
    border-bottom: 1px solid #eee;
    float        : none;
}

.share-list ul {
    padding   : 0;
    margin    : 0;
    list-style: none;
}

.share-list .icon-sm svg {
    fill         : currentcolor;
    margin-left  : -0.3em;
    margin-top   : 0.1em;
    margin-bottom: 0.7em;
    width        : 2.9em;
}

.post-item .posts-horizontal-list img,
.posts-list-short img {
    border-radius: 50%;
    width        : 4.7em;
    margin-right : 0.3em;
    margin-bottom: 1em
}

#posts h4 a:hover {
    color: #0d8269 !important;
}

#posts .posts-horizontal-list h4 a,
#posts .posts-list-short h4 a {
    font-size  : 0.8em;
    font-weight: normal;
}

.reply-link:hover {
    border         : 0;
    text-decoration: underline;
}

.reply-link:hover i {
    text-decoration: none;
}

.comment-reply {
    border-bottom : 1px solid #eee;
    padding-bottom: 7px;
    overflow      : hidden;
}

#posts small a:first-child,
#posts .comment-header+a {
    font-weight: normal;
}

.post-comments li ul {
    margin-left: 1.5em;
}

.post-content {
    border-bottom: 0;
}

.post-comments ol>li::before {
    content   : '';
    background: none;
    width     : 0;
}

.post-comments ol>li {
    margin : 0;
    padding: 0;
}

.post-comments ol {
    padding: 0;
    margin : 0;
}

.posts-list img {
    height      : 120px;
    width       : 120px;
    margin-right: 20px !important;
}

.posts-list .bordered2 {
    padding: 32px 25px !important;
}

.posts-list li .inline {
    padding-left: 0;
    margin-left : 0;
    white-space : nowrap
}

.posts-list li {
    margin-bottom: 1em;
}

.post-header .inline {
    padding: 0 10px;
}

.post-header time,
.post-header .comment-count,
.post-header .author,
.post-header .inline,
.posts-list li time,
.posts-list li .comment-count,
.posts-list li .author,
.posts-list li .inline {
    margin-right: 1em;
}

.post-header .inline {
    padding: 0 10px;
}

.posts-list li .author {
    font-style: italic;
}

.posts-list small {
    margin-bottom: 0.5em;
    display      : block;
    margin-top   : 0.5em;
    line-height  : 2.5em;
    font-family  : "Lato", sans-serif;
}

.post-item>.span3 {
    margin-left: 1em;
}

.post-item .posts-horizontal-list {
    list-style: none;
    margin    : 0;
}

.post-item .span8 {
    margin: 0;
}

#posts .post-item .posts-horizontal-list {
    padding      : 3em 0 0;
    margin-bottom: 3em;
}

#posts .post-item {
    padding: 0;
}

.posts-list-short li:first-child {
    border-top : 3px double #eee;
    padding-top: 1em;
    margin-top : 1px;
}

.posts-list-short h4,
.posts-horizontal-list h4 {
    margin   : 0 1em 0.1em 0.1em !important;
    font-size: 16px;
}

.posts-horizontal-list h4::before,
.posts-list-short h4::before {
    content          : "";
    background-image : url("/resources/ophthoquestions/img/decorations/quotes1.svg");
    background-repeat: no-repeat;
    background-size  : 1em 1em;
    float            : left;
    display          : block;
    width            : 1em;
    height           : 5em;
    margin-right     : 0.5em;
    margin-top       : 4px;
}

#posts .btn {
    font-family: "Lato";
}

.posts-list .bordered2 {
    font-family: "Times New Roman", Times, serif;
}

#posts .span9>h2,
#posts .post-item h2,
#posts .span3 h2 {
    border-bottom : 3px double #eee;
    margin-bottom : -2px !important;
    font-family: "Times New Roman", Times, serif !important;
    font-style : Normal;
    font-weight: Bold;
    color         : #333333;
}

#posts h1 {
    font-family: "Times New Roman", Times, serif !important;
    font-style : Normal;
    font-weight: Bold;
    font-size  : 48px;
    margin     : 0 0 0.2em 0;
    color      : #333333;
}

#posts h2 {
    font-size     : 24px;
    text-transform: uppercase;
}

#posts .img-wrapper {
    border   : 0;
    margin   : 0;
    padding  : 0;
    max-width: 50%;
}

#posts .bordered2 blockquote:before {
    content     : url('/resources/ophthoquestions/img/decorations/quotes1.svg');
    margin-right: 0.5em;
    float       : left;
    display     : block;
    height      : 5em;
}

/* Exam comments */

#posts .bordered2 blockquote {
    font-family: "Times New Roman", Times, serif !important;
    font-size  : 1.2em;
    line-height: 1.4em;
    color      : #888;
    padding    : 0;
    border-left: 0;
    margin     : 1em;
}

#posts .bordered2 h3:first-child {
    font-size     : 1.2em;
    font-weight   : normal !important;
    border-bottom : 1px solid #eee;
    padding-bottom: 0.5em;
    margin        : 0 0 1em 0 !important;
    line-height   : 1.4em;
    color         : #888;
}

.posts-horizontal-list li:nth-child(3n+1) {
    margin-left: 0;
}

.posts-list-short a.img,
.posts-list-short img {
    float: left !important;
}

.posts-horizontal-list .span3 span {
    float    : left;
    font-size: 12px;
    width    : 50%;
}

#posts .badge-info {
    background-color: #eee;
    color           : #666;
    text-shadow     : none;
}

#posts h2 {
    border-bottom: 0;
    margin       : 0;
}

.posts-list-short a:hover,
.posts-list-short a:hover h4 {
    text-decoration: none;
}

.posts-list-short {
    margin  : 0;
    overflow: hidden;
    padding : 0
}

.posts-list-short li {
    overflow      : hidden;
    margin-bottom : 1em;
    padding-bottom: 0em;
}

.page {
    border-bottom: 1px solid #e5e4e4;
}

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

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

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

.container>.content.span12 {
    margin-top : 8em !important;
    font-size  : 16px;
    line-height: 1.6em;
}

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

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

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

#home section {
    float: none;
}

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

#media .media-heading .author {
    font-size    : 13px;
    margin-bottom: 10px;
}

#media ul {
    margin    : 0;
    list-style: none;
}

#media h4 {
    margin-bottom: 1em;
}

#media .author-info,
#media .item p {
    line-height: normal;
    color      : #4c4c4d;
}

#media .span3 {
    padding: 50px 50px 50px 0;
    margin : 0px;
}

#media .span7 {
    padding: 0px 0 50px 50px;
    margin : 0px;
}

#media .item a:hover {
    text-decoration: none;
}

/* Top banner styles */

#top-message {
    float          : none;
    padding        : 4em 4em 0 4em;
    background     : #d2e2dc url('/resources/ophthoquestions/img/decorations/top-message.jpg') no-repeat !important;
    background-size: cover;
}

#top-message .span5 {
    margin-top : 255px;
    margin-left: 10px;
}

#top-message .controls a {
    background    : #00b28f none repeat scroll 0 0;
    color         : white;
    float         : left;
    font-size     : 16px;
    font-style    : normal;
    margin-top    : 1em;
    padding       : 0.24em 1em;
    text-transform: uppercase;
    margin-right  : 1em;
    transition    : all 0.3s ease;
}

#top-message .controls a:hover {
    background-color: #0d8269;
    color           : white;
    text-decoration : none;
}

#top-message .controls a.inverted {
    background: white none repeat scroll 0 0;
    border    : 2px solid #00b28f;
    color     : #00b28f;
    padding   : 0.17em 0.85em;
    transition: all 0.3s ease;
}

#top-message .controls a.inverted:hover {
    border          : 2px solid #0d8269;
    background-color: #0d8269;
    color           : white;
}

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

#home #top-message p {
    color      : #4c4c4c;
    font-size  : 30px;
    font-weight: 300;
    line-height: 130%;
    overflow   : hidden;
}

#home #top-message .home-page__product-tiles {
    display        : flex;
    flex-direction : row;
    flex-wrap      : wrap;
    justify-content: space-between;
}

#home #top-message .home-page__product-tile,
#home #top-message .home-page__product-tile--big {
    box-sizing      : border-box;
    width           : 25%;
    flex-grow       : 1;
    text-align      : center !important;
    color           : #009e7f;
    font-size       : 1rem;
    font-weight     : bold;
    box-shadow      : inset 0px 0px 0px 2px #009e7f;
    padding         : 15px;
    background-color: white;
}

#home #top-message .home-page__product-tile:hover,
#home #top-message .home-page__product-tile--big:hover {
    box-shadow: inset 0px 0px 0px 4px #009e7f;
}

#home #top-message .home-page__guarantee-label {
    text-align: center;
    margin-top: 20px;
}

#home #top-message .home-page__guarantee-label img {
    width     : 200px;
    box-sizing: border-box;
}

#home #top-message .home-page__product-tile--big {
    width: 35%;
}

a.highlight {
    background: #00b28f !important;
}

#top-message a.highlight:hover {
    background: #f68a7e !important;
}

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

#unauthorised .nav-collapse a {
    color: #54a5cc;
}

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

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

#main-menu a {
    color         : #6c6b71;
    font-size     : 14px;
    text-shadow   : none !important;
    float         : left;
    padding       : 1em;
    text-transform: uppercase;
    border-right  : 1px solid #f8f8f8;
    margin        : 1.5em auto 0.5em;
}

.dropdown.main-menu__dropdown .dropdown-menu li a {
    margin: 0 !important;
    float : none !important;
}

.dropdown.main-menu__dropdown .dropdown-menu li a:hover,
.dropdown.main-menu__dropdown .dropdown-menu li a:focus {
    background-color: #00b28f !important;
    background-image: none !important;
    color           : white !important;
}

#main-menu a:hover {
    color     : #00b28f;
    background: none;
}

#main-menu li:first-child a {
    margin-left : 0;
    padding-left: 0;
}

#main-menu li:last-child a {
    border: 0;
}

/* Other custom styles */

/* Dashboard */

#tab1 .span6 .span6>span {
    margin: -5px 0 10px;
}

.bigger {
    font-size  : 2em !important;
    font-family: 'Lato' !important;
    font-weight: 300;
    color      : #00b28f;
    display    : inline !important;
}

#tab1 h3 small {
    font-size: 14px;
}

#tab1 .icon-sm svg {
    width        : 1em;
    height       : 1em;
    margin-left  : 0;
    margin-top   : 0;
    margin-bottom: -0.1em;
    fill         : #00b28f
}

.orange .icon-sm svg {
    fill         : currentcolor;
    height       : 1em;
    margin-left  : 0;
    margin-top   : 0;
    margin-bottom: -0.05em;
    width        : 1em;
    margin-right : -0.1em;
}

#tab1 .icon-dashboard {
    /*--font-size: 3em;--*/
    height : 1em;
    margin : 0 0.25em 0 0.5em;
    padding: 0.2em 0 0 0;
    color  : #bbb;
    float  : left;
}

#tab1 .btn-info .icon-sm svg path {
    fill: white !important;
}

/* icons */

.custom-label {
    float        : right;
    margin-top   : -80px;
    margin-bottom: 40px;
    width        : 130px;
}

.custom-label small {
    color: white;
}

.custom-label span {
    color         : white;
    font-size     : 18px;
    font-weight   : 900;
    line-height   : 120%;
    text-align    : center;
    text-transform: uppercase;
    margin-top    : -100px;
    display       : block;
}

.custom-label a:hover {
    text-decoration: none;
}

.carousel-control {
    background   : #00b28f none repeat scroll 0 0;
    border       : medium none;
    border-radius: 100%;
    color        : #ffffff;
    font-size    : 26px;
    font-weight  : 300;
    height       : 0.7em;
    left         : 0;
    line-height  : 0.8em;
    opacity      : 1;
    padding      : 0 0 0.3em;
    position     : absolute;
    text-align   : center;
    top          : 10%;
    width        : 1em;
}

#myCarousel1 .carousel-control {
    position: absolute;
    top     : 50px;
}

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

#media #myCarousel .item a span {
    float        : left;
    margin-bottom: 1em;
    margin-top   : 0.3em;
    overflow     : hidden;
}

#myCarousel hr {
    margin: 15px 0;
}

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

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

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

#myCarousel1 .carousel-inner img {
    border-radius: 50%;
    float        : left;
    height       : 4em;
    margin-bottom: 10em;
    margin-right : 2em;
    width        : 4em;
}

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

.carousel-indicators li.active {
    background   : #00b28f;
    border-radius: 0.25em;
    display      : block;
    height       : 0.5em;
    width        : 0.5em;
    margin-top   : -2px;
}

.carousel-indicators li {
    background-color: rgba(190, 190, 190, 0.5);
    border-radius   : 0.2em;
    display         : block;
    float           : left;
    height          : 0.35em;
    margin-left     : 10px;
    text-indent     : -999px;
    width           : 0.35em;
}

.icon-sm svg {
    fill       : currentcolor;
    height     : 2.8em;
    margin-left: -0.7em;
    margin-top : -0.7em;
    width      : 2.8em;
}

.secondary {
    font-size: 12px;
}

.secondary svg {
    color       : #cccccc;
    width       : 14px;
    float       : left;
    margin-right: 0.3em;
    fill        : currentcolor;
}

/* Custom pricing icons */

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

.pricing .large-package h3,
.pricing .small-package h3 {
    color           : #fff !important;
    background-color: #3d3d3d;
    font-size       : 16px;
    background-image: none;
    border-radius   : 0;
}

.pricing i {
    color       : #fff;
    margin-right: 0.5em;
}

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

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

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

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

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

.pricing div>i {
    font-family : 'Lato' !important;
    font-size   : 26px !important;
    color       : #11b18f !important;
    margin-right: 5px !important
}

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

.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 */

/* Customized layout */

#home h1 {
    font-size     : 48px;
    text-transform: uppercase;
    line-height   : 120%;
    color         : #fff;
    font-weight   : 900;
    text-shadow   : 0 1px 0 rgba(0, 0, 0, 0.2);
}

#home h2 {
    color         : #6c6b71;
    font-size     : 36px;
    text-transform: uppercase;
    margin-bottom : 0.7em;
    font-weight   : 900;
}

#home h3 {
    color         : #6c6b71;
    font-size     : 22px;
    text-transform: uppercase;
    margin-bottom : 0.6em;
}

#home #media h3 {
    margin-bottom: 3em;
}

/* sections */

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

#help h3 {
    padding-bottom: 5px;
    border-bottom : 1px solid #ddd;
}

section .span12 {
    margin  : 0px auto;
    float   : none;
    overflow: visible;
}

#media {
    background: #fbfdff;
}

#posts-section {
    background: #e1e5e9;
}

#demo {
    font-size  : 26px;
    font-weight: 300;
    line-height: 100%;
}

#demo .span5,
#demo .span7 {
    margin: 0
}

#demo .span5 {
    margin-top: 3em;
}

#features {
    background     : #fbfdff url("/resources/ophthoquestions/img/decorations/features-full-width.jpg") no-repeat center;
    background-size: auto 100%;
    line-height    : inherit;
}

#features .span7 {
    float        : right;
    margin-bottom: 2em;
}

/* Top nav */

.nav-collapse a:hover,
.nav-collapse a:active {
    color      : #11b18f;
    background : none !important;
    text-shadow: none !important;
}

.nav-collapse a {
    color    : #6c6b71;
    min-width: 40px;
}

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

.navbar-inverse .navbar-inner .nav-collapse a {
    border-left : none;
    border-right: none;
}

.navbar-inverse .brand,
.navbar-inverse .nav>li>a {
    color      : #9c9ba3;
    text-shadow: none !important;
}

#qg-customer .dropdown-menu li a:focus {
    color           : white;
    background-color: #0088cc;
    background-image: none;
}

#qg-customer .dropdown-menu li a i[class^="icon-"] {
    color: inherit;
}

/* Left nav */

#help .nav-stacked a:hover i {
    color: #0D8269;
}

/* Contributors page */

#help .span9 .span2 p {
    font-size  : 16px;
    line-height: 1.1;
}

#help .nav-stacked a {
    color         : #00b28f;
    background    : #fbfdff;
    padding-top   : 1em;
    padding-bottom: 1em;
    text-transform: uppercase;
}

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

#help .nav-stacked a:hover {
    color     : #0D8269;
    background: white;
}

#help .nav-stacked {
    box-shadow: none;
    margin-top: 0.6em;
    border    : 0;
}

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

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

.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 {
    color     : #6c6b71;
    background: #fff;
}

.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 {
    color     : #6c6b71;
    background: #fff;
}

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

textarea {
    background: #fff;
}

.form-actions {
    border-top   : 0 none;
    margin-bottom: 0;
    margin-top   : 0;
    padding      : 19px 20px 20px;
    background   : none;
}

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

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

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

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

.form-actions {
    border-top   : 0 none;
    margin-bottom: 0;
    margin-top   : 0;
    padding      : 19px 20px 20px;
    background   : none;
}

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

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

#narrow h1 {
    color         : #00b28f;
    font-size     : 32px;
    line-height   : 120%;
    text-transform: uppercase !important;
    border-bottom : aliceblue;
    padding-bottom: 0em;
    text-align    : center;
}

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

#narrow .form-horizontal .form-actions {
    margin-bottom: 1em !important;
    margin-top   : 0 !important;
    padding      : 0;
    border-top   : 1px solid #eee;
    text-align   : center;
}

.cme-category>div {
    background: #fbfdff;
    border    : 1px solid #e6e5e5;
    box-shadow: none;
    height    : auto;
}

/*Section's content styles */

.bordered2 {
    background: white;
    border    : 1px solid #eee !important;
    padding   : 24px 20px 36px;
    box-shadow: none;
}

.bordered2 ul {
    padding-left: 0px;
}

.bordered2.topless {
    padding-top: 0px;
}

.close-bar {
    margin-top: 12px;
}

.main-border {
    border-top: 3px solid #00b28f !important;
}

#features ul {
    list-style: none;
}

.page#features>.span12 {
    padding: 4em 0;
}

#cw svg {
    margin-left : -0.5em;
    margin-right: 1.8em;
    width       : 3.4em !important;
}

#features .icon-sm svg {
    color       : #00b28f;
    height      : 7em;
    margin-right: 1.5em;
    margin-top  : -2.5em;
    width       : 3.8em;
}

#features .icon-sm {
    float       : left;
    width       : auto;
    margin-right: 1.5em;
}

#features ul li {
    margin-bottom: 2.4em;
}

#features .span7,
#features .span5 {
    margin: 0;
}

#welcome-message ul {
    list-style : none;
    margin     : 0;
    font-weight: bold;
    padding    : 1em 0em 0.5em;
    font-size  : 24px;
    font-size  : 18px;
    font-style : italic;
    line-height: 200%;
}

#welcome-message ul .span6 {
    margin: 0;
}

#welcome-message h3 {
    margin     : 4em 0 0.4em 0;
    border-top : 1px #eee solid;
    padding-top: 1em;
    font-size  : 32px;
    clear      : both
}

#welcome-message ul li {
    line-height: 200%;
}

#welcome-message {
    font-size   : 26px;
    color       : #555;
    padding-left: 1em;
    line-height : 130%;
    font-weight : 300;
    padding     : 4em;
}

#welcome-message li:before {
    content         : ' ';
    background-image: url('/resources/ophthoquestions/img/decorations/chevron-small-right.svg');
    float           : left;
    height          : 22px;
    margin-top      : 8px;
    width           : 22px;
    margin-right    : 0.4em;
}

#media .item span,
#welcome-message li span {
    font-style    : normal;
    font-weight   : 300;
    color         : #11b18f;
    text-transform: uppercase;
}

#home blockquote {
    font-style : italic;
    margin-left: 7.5em;
}

#media .item span {
    margin-top: 1em;
    display   : block;
}

#media .item span:hover {
    text-decoration: underline;
}

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

footer {
    background-color: #3d3d3d;
    padding-bottom  : 30px;
    padding-top     : 30px;
    border-radius   : 0;
}

footer ul:last-child li:last-child a::before {
    content: "";
}

.bottom-nav a {
    font-size      : 16px;
    font-weight    : 300;
    text-decoration: none;
    color          : #999;
}

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

#appstore::before,
#googleplay::before {
    content: "";
}

.OQ {
    background     : url(/resources/ophthoquestions/img/logos/footer-logo.png) no-repeat left top;
    display        : block;
    max-width      : 180px;
    height         : 38px;
    background-size: 85% auto;
    padding-top    : 1.3em;
}

.OQ::before {
    content: ' ' !important;
}

.bottom-nav a:hover {
    color: white;
}

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

.g-recaptcha>div {
    margin: auto;
}

h1 small {
    font-size  : 18px;
    line-height: 1.3em;
}

@media (max-width: 1200px) {
    #home .span12 {
        width: 90%;
    }

    #main-menu ul {
        clear: both !important;
    }

    .custom-label {
        margin-top   : -280px;
        margin-bottom: 40px;
        width        : 130px;
    }

    #top-message .span5 {
        margin-left: 0;
        margin-top : 495px;
        float      : right;
    }

    #home #top-message .home-page__product-tile {
        width: 45%;
    }
}

@media (max-width: 1170px) {
    #help .nav-stacked a {
        font-size: 12px;
    }

    #welcome-message {
        padding: 2em 0;
    }

    .navbar-inverse .nav>.active>a,
    .navbar-inverse .nav>.active>a:hover,
    .navbar-inverse .nav>.active>a:focus {
        background: #f9f9f9 !important;
    }

    #narrow input.span3 {
        width: 100%;
    }

    #narrow .form-horizontal .controls {
        width: 70%;
    }

    #top-message .span7,
    #top-message span5 {
        margin: 0;
    }

    #top-message {
        padding-left : 0;
        padding-right: 0;
    }

    #home .span12 {
        width: auto;
    }

    #home .row {
        margin-left: 0px;
    }

    #main-menu ul {
        margin: auto 0;
    }

    #main-menu a {
        margin : 1.3em 0 0 0;
        padding: 1.1em 0.7em;
    }

    #home h1 {
        font-size: 48px;
    }

    #media li.span3 {
        padding     : 12px;
        width       : 20%;
        margin-right: 10px;
    }

    section>.span12 {
        margin: 0 1em;
    }

    #welcome-message ul {
        font-size: 18px;
    }

    #features .span4 {
        margin-top: 100px;
    }
}

@media (max-width:1170px) and (min-width:979px) {
    .thread-message .span10 {
        max-width: 80%;
    }
}

@media (max-width: 979px) and (min-width: 767px) {
    #myCarousel1 .carousel-inner img {
        margin-bottom: 2em;
    }

    #help .span9 .span2 p {
        font-size: 12px;
    }

    #main-menu a {
        font-size: 12px !important;
    }

    .share-list .icon-sm svg {
        width: 2.5em;
    }

    .thread-message .span10 {
        max-width: 76%;
    }
}

@media (max-width: 979px) and (min-width: 640px) {
    .pull-right {
        margin-left: 3px;
    }
}

@media (max-width: 979px) {
    #top-message .span7 {
        margin-left: 0;
        margin-top : 0;
    }

    #home #top-message .home-page__product-tile {
        width: 45%;
    }

    #top-message .span5 {
        float     : right;
        margin-top: 440px;
        width     : 40%;
    }

    .custom-label {
        margin-top: -160px;
    }

    .userpic {
        display     : inline-block;
        margin-right: 0.5em;
    }

    #qg-customer>a {
        margin-top : 0;
        margin-left: 0;
    }

    #qg-customer .caret {
        margin-top: 1em;
    }

    #posts .span9,
    #posts .span8,
    #posts .span3 {
        float: none;
        width: 100%;
    }

    #main-menu {
        border-top: 2px dotted #ddd;
    }

    .vote-buttons {
        margin-right: 0px;
    }

    #exam .span10 {
        width: auto;
    }

    #top-message {
        float  : none;
        padding: 2em 0em 0 0em;
    }

    #welcome-message {
        padding: 2em 0em 2em 0em;
    }

    .post-header .inline {
        padding: 5px 10px;
    }

    .navbar-inverse .nav>li>a:focus {
        color: #555;
    }

    #narrow.container>.content.span12 {
        margin-top: 0 !important;
    }

    #posts.container>.content.span12,
    #home.container>.content.span12,
    #forum.container>.content.span12 {
        width     : auto;
        margin-top: 0em !important;
    }

    #demo-exam.container>.content.span12 {
        margin-top: 0em !important;
    }

    #demo-exam.container>.content.span12 .span10 {
        width : auto;
        margin: 0;
    }

    h1 small {
        font-size: 18px;
    }

    .navbar-inverse .navbar-inner .nav-collapse li a {
        border-bottom: 1px dashed #ddd !important;
        border-top   : 0;
    }

    .navbar-inverse .nav .dropdown .active>a i,
    .navbar-inverse .nav .dropdown .active>a:hover i,
    .navbar-inverse .nav .dropdown .active>a:focus i,
    .navbar-inverse .nav .dropdown .active>a,
    .navbar-inverse .nav .dropdown .active>a:hover,
    .navbar-inverse .nav .dropdown .active>a:focus,
    .navbar-inverse .dropdown-menu a:hover i {
        color: #00b28f !important;
    }

    #unauthorised #nav-button {
        background: #00b28f !important;
        margin-top: 0 !important
    }

    #unauthorised #nav-button:hover {
        color: #00b28f !important;
    }

    .navbar-inverse .navbar-inner .nav-collapse #unauthorised li a {
        margin-right: 0em;
        border      : 0 !important;
    }

    .navbar-inverse .navbar-inner .nav-collapse li a:hover {
        color: #00b28f !important;
    }

    .navbar-inverse .navbar-inner .nav-collapse li a {
        background: #f5f5f5 !important;
    }

    .nav-collapse {
        background: #f5f5f5
    }

    .navbar-inner {
        padding: 0;
    }

    .nav-collapse .nav>li>a,
    .nav-collapse .dropdown-menu a {
        border-radius: 0;
    }

    .navbar-inverse .btn-navbar {
        background: #00b28f;
    }

    .navbar .btn-navbar .icon-bar {
        box-shadow: none;
    }

    .navbar-inverse .nav-collapse #unauthorised {
        margin: 0px !important;
    }

    #home {
        font-size: 14px !important;
    }

    #features ul li,
    #welcome-message {
        font-size: 18px;
    }

    #features .span5 {
        display   : none;
        visibility: hidden;
        width     : 0;
    }

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

    #demo {
        padding: 2em 0 0 0;
    }

    #demo .span5 {
        margin-top: 6.5em;
    }

    #demo .span7 {
        padding-bottom: 2em;
    }

    #features .span7 {
        width         : 100%;
        padding-bottom: 4em;
    }

    #home h1 {
        font-size: 36px;
    }

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

    .navbar {
        position: relative;
        height  : auto;
    }

    .navbar-inverse #unauthorised #nav-button:hover {
        background      : white !important;
        background-image: none !important;
    }

    .navbar-inverse .brand,
    .navbar-inverse .nav>li>a {
        color      : #828282;
        text-shadow: none !important;
    }

    #top-message .controls a {
        font-size: 12px;
    }

    #demo p,
    #home #top-message p {
        font-size: 24px;
    }

    #welcome-message ul li {
        font-size: 18px;
        float    : left;
        clear    : both;
    }

    #welcome-message li::before {
        height    : 22px;
        margin-top: 4px;
    }

    #main-menu a {
        padding   : 1em !important;
        margin    : 0;
        border    : 0 !important;
        background: #eee;
    }

    #welcome-message ul .span6 {
        width: 100%;
    }

    .posts-list img {
        border-radius: 50%;
    }
}

@media (max-width: 767px) {
    #top-message .span5 {
        visibility: hidden;
        display   : none;
    }

    #home #top-message .home-page__product-tile img,
    #home #top-message .home-page__product-tile--big img {
        max-width: 65%;
    }

    .custom-label {
        margin-top: -120px;
    }

    .row-fluid .offset2:first-child {
        margin: 0;
    }

    .title-actions {
        clear: both;
    }

    .comment-count {
        white-space: nowrap;
    }

    .posts-list small {
        line-height  : 1em;
        margin-bottom: 1em
    }

    #posts h1 {
        font-size: 36px;
    }

    #posts .posts-horizontal-list h4 a,
    #posts .posts-list-short h4 a {
        font-size  : 1em;
        font-weight: bold;
    }

    #posts .img-wrapper {
        max-width: 100%;
    }

    #posts .img-wrapper img {
        width: 100%;
    }

    .share-list.span1 {
        width   : 100%;
        clear   : both;
        overflow: hidden;
    }

    .share-list.span1 ul {
        list-style   : none;
        border-bottom: 2px dotted #eee;
        display      : block;
        overflow     : hidden;
        margin-bottom: 1em;
    }

    .share-list li:last-child {
        width: 2em;
    }

    .share-list li {
        float: left;
        width: 4em;
    }

    .share-list .icon-sm svg {
        margin-left  : 0em;
        margin-top   : 0.1em;
        margin-bottom: 0em;
        width        : 2em;
    }

    #home blockquote {
        margin-left: 6.5em;
    }

    #help .span9 .span2 {
        height: 200px;
    }

    .posts-list-short li {
        width     : 100%;
        margin-top: 0;
    }

    .nav-pills>.active>a,
    .nav-pills>.active>a:hover {
        background-color: #87b4cc;
    }

    .nav-pills .open .years-stat-dropdown {
        color           : white;
        background-color: #87b4cc;
        border          : 1px solid #87b4cc;
    }

    .nav-pills .open .years-stat-dropdown .caret {
        border-top-color   : white;
        border-bottom-color: white;
    }

    #media .span7 {
        margin-top: 5em;
    }

    #welcome-message {
        padding: 2em 0;
    }

    #top-message {
        background-size: auto 100% !important;
        padding-bottom : 2em;
    }

    #demo .span5 {
        margin-top: 0;
    }

    .navbar .brand {
        height: inherit !important;
    }

    #home h1 {
        margin-bottom: 1em;
    }

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

    #home h1 br {
        width     : 0;
        visibility: hidden;
        display   : none;
    }

    #main-menu a:hover {
        background: #eee
    }

    #main-menu .nav {
        columns        : 3;
        -moz-columns   : 3;
        -webkit-columns: 3;
    }

    #main-menu a {
        padding      : 1em 1em !important;
        border-bottom: 2px solid #eee;
        margin       : 0;
        border-right : 0;
        float        : none;
    }

    #media .span4 h3,
    #media .span7 h3 {
        text-align: center;
        clear     : both
    }

    #media h3 {
        border-bottom : 1px solid #eee;
        padding-bottom: 1em;
    }

    .carousel {
        width : 90%;
        margin: auto;
    }

    #media .span7 {
        padding: 0;
    }

    #exam .question-results:last-child .control-group .control-label {
        float: none;
    }

    #exam .question-results:last-child .control-group .your-notes-label {
        margin-bottom: 10px;
    }
}

@media (max-width: 640px) {
    #exam .bordered2 .question-results .pull-right {
        float: none;
    }

    #home #top-message .home-page__product-tile img,
    #home #top-message .home-page__product-tile--big img {
        max-width: 90%;
    }

    #home blockquote {
        margin-left: 1.5em;
    }

    #myCarousel1 .carousel-inner img {
        margin-bottom: 2em;
    }

    #narrow .span6 {
        width: 100%;
    }

    .posts-list a img:first-child {
        display   : none;
        visibility: hidden;
    }

    #main-menu .nav {
        columns        : 1;
        -moz-columns   : 1;
        -webkit-columns: 1;
    }

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

    .navbar-inverse .navbar-inner .nav-collapse #unauthorised li a {
        margin-right  : 0em;
        font-size     : 14px !important;
        text-transform: uppercase;
    }

    .navbar-inverse .nav-collapse #unauthorised {
        width: 100%;
    }

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

    #features .span12 {
        background: none;
    }

    #features .icon-sm {
        margin-right: 0em;
    }

    #features .span7 {
        width : 100%;
        margin: 0 !important;
    }

    #main-menu a {
        padding      : 1em 1em !important;
        border-bottom: 2px dotted #ddd !important;
        margin       : 0;
        background   : #fff;
    }

    footer {
        margin          : 0px;
        padding         : 0px;
        background-color: #0d8269;
    }

    .bottom-nav h4 {
        background: #00b28f;
        padding   : 12px;
        margin    : 0px;
        color     : white !important
    }

    .bottom-nav li {
        border-bottom: 0;
        background   : #0d8269 !important;
    }

    .bottom-nav li {
        border-top: 0;
    }

    .bottom-nav a:hover {
        background: #11c3a0;
    }

    .bottom-nav a {
        color: white;
    }

    .OQ,
    .OQ:hover {
        margin         : 0 10px !important;
        background     : url(/resources/ophthoquestions/img/logos/footer-logo.png) no-repeat !important;
        background-size: 100% auto !important;
        padding        : 2em 0 0 0 !important;
    }

    #main-menu ul {
        margin: 0;
    }

    #features ul li,
    #welcome-message,
    #welcome-message ul li {
        font-size  : 16px;
        line-height: 150%;
    }

    #features .icon-sm {
        margin-top: 1em;
    }
}

@media (max-width: 480px) {
    .share-list li {
        float: left;
        width: 2.5em;
    }

    #unauthorised li {
        float: none;
        width: 100%;
    }

    #exam .bordered2 .vote {
        float: left !important;
    }

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

    #media li.span3 {
        width: 90%;
        float: none;
    }

    #main-menu a {
        width: 100%;
    }
}

@media(max-width: 400px) {
    #home .number {
        font-size: 20px;
        padding  : 1.2em 0.2em;
    }

    #home #top-message .home-page__product-tiles {
        flex-direction: column;
        align-items   : center;
    }

    #home #top-message .home-page__product-tile,
    #home #top-message .home-page__product-tile--big {
        width: 100%;
    }

    #home #top-message .home-page__product-tile img,
    #home #top-message .home-page__product-tile--big img {
        max-width: 65%;
    }
}

/* Oral Boards */

.video-intro h1 {
    font-family: "Times New Roman", Times, serif !important;
    font-style : Normal;
    font-weight: Bold;
    margin     : 0 0 0.2em 0;
    color      : #333333;
}

.video-intro p,
.testimonial-item {
    font-family: "Times New Roman", Times, serif;
}

.view-intro-shadows {
    border: 1px solid #ddd;
}

/* Toggle */
.xq-toggle input:checked + .xq-toggle-slider {
    background-color: #00b28f;
}
