/*
 Theme Name:   Manual - three am edits
 Description:  three am edits to the manual theme
 Author:       Jayme Brereton
 Author URI:   http://threeam.com.au
 Template:     manual
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         threeam
 Text Domain:  manual-threeam
*/

@import url('../manual/style.css');

.navbar-inverse .navbar-header .navbar-toggle, .navbar-inverse .navbar-header .navbar-toggle:hover {
    background-color: #500000 !important;
    border-color: #500000 !important;
}

.navbar-brand .custom-nav-logo {
    height: auto;
    margin-top: -15px;
}

input#s:focus {
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, .5) !important;
    z-index: 998;
    transition: 300ms;
    position: relative;
}

.gradient-jumbotron {
    background: #500000;
    background: -moz-linear-gradient(left,  #500000 0%, #820304 50%, #500000 100%);
    background: -webkit-linear-gradient(left,  #500000 0%,#820304 50%,#500000 100%);
    background: linear-gradient(to right,  #500000 0%,#820304 50%,#500000 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#500000', endColorstr='#500000',GradientType=1 );
}

input#s:focus ~ .button {
    z-index: 999;
}

form.searchform i.livesearch {
    z-index: 999;
}

input#s {
    transition: 0ms;
    border-radius: 0px !important;
    margin-bottom: 0;
}

.footer-bg {
    background-color: #183A3E;
}

.footer-widget h5,
.footer-bg p {
    color: #FEFEFE !important;
}

.footer-widget p {
    font-size: 15px;
}

.footer-widget a {
    color: #7AB3B9 !important;
}

.footer-widget a:hover {
    color: #5EA5AC !important;
}

.footer-widget h5 {
    border-bottom: 2px solid #FEFEFE;
    padding-bottom: 10px;
    margin-bottom: 10px !important;
    letter-spacing: 3px !important;
    font-size: 21px !important;
    line-height: 24px !important;
}

.footer-widget hr {
    margin: 0 0 10px 0;
    border-top: 2px solid #FEFEFE;
}

.footer-widget .button {
    color: #FEFEFE !important;
    border: 1px solid #FEFEFE !important;
    background: none !important;
    padding: 5px 20px !important;
    margin-top: 15px !important;
/* 	display: inline-block;
	font-size: 15px !important;*/;
}

.footer-widget .button:hover {
    background: #FEFEFE !important;
    color: #183A3E !important;
}

.jumbotron {
    position: relative;
}

.jumbotron .jumbotron-bg-color {
    padding: 0 !important;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.footer-bg .row div:nth-of-type(2) h5 {
    padding-right: 30px;
}

.footer-bg .row div:last-child .footer-widget p {
    font-size: 12px;
}

.footer-bg .row div:last-child .footer-widget * {
    line-height: 1.5 !important;
}

.global-search .button {
    color: #000;
    background-color: rgba(250, 244, 190, 0.9) !important;
    border-radius: 0px !important;
}

#searchform .button-custom:hover, p.home-message-darkblue-bar:hover, .body-content .wpcf7 input[type="submit"]:hover, .container .blog-btn:hover, .sidebar-widget.widget_search input[type="submit"]:hover, .navbar-inverse .navbar-toggle:hover, .custom_login_form input[type="submit"]:hover {
    background-color: rgba(210, 204, 156, 0.9) !important;
}

.latest-news table {
    width: 100%;
}

.latest-news td {
    padding: 10px 0;
    border-top: 2px solid #5EA5AC;
    text-align: left;
}

.latest-news td.dateline {
    font-weight: bold;
}

.latest-news td a {
    color: inherit;
}

.latest-news .button, .footer-widget .button {
    margin-top: 10px;
    text-transform: uppercase;
    border: 1px solid #193A3E;
    color: #193A3E;
    padding: 10px 20px;
    display: inline-block;
    font-size: 14px !important;
}

.latest-news .button:hover {
    background: #5EA5AC;
    border-color: #5EA5AC;
    color: #fff;
}

.latest-news td a:hover {
    color: #5EA5AC;
}

.latest-publications table {
    width: 100%;
    table-layout: fixed;
}

.latest-publications td {
    padding: 0;
}

.latest-publications td a {
    color: inherit;
    display: block;
    width: 100%;
    padding: 10px 0;
    position: relative;
    font-weight: bold;
}

.latest-publications td a i {
    right: 0;
    top: 12px;
    position: absolute;
    font-size: 20px;
    color: #888;
}

.latest-publications td a span {
    max-width: 70%;
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.latest-publications td a:hover, .latest-publications td a:hover i {
    color: #5EA5AC;
}

.latest-publications td a:after {
    content: "Read More";
    text-transform: uppercase;
    position: absolute;
    right: 30px;
    top: 50%;
    margin-top: -5px;
    font-size: 10px;
    line-height: 10px;
    font-weight: 300;
    color: #7E7E7E;
}

.latest-publications td:last-of-type {
    border-bottom: 2px solid #5EA5AC;
}

#widget_homepage_1 h2 {
    font-size: 25px !important;
    font-weight: bolder !important;
    line-height: 1.1 !important;
}

#widget_homepage_1 h2:after {
    content: " ";
    display: block;
    width: 200px;
    height: 2px;
    background: #5EA5AC;
    margin-top: 20px;
}

#widget_homepage_1 {
    margin-bottom: 20px;
}

#widget_homepage_1_body h3 {
    font-size: 20px!important;
    letter-spacing: 0.3px!important;
    line-height: 1.375em!important;
    font-weight: 400!important;
    text-transform: none!important;
}

.centered {
    margin: 0 auto;
    float: none !important;
}

#widget_homepage_2, #widget_homepage_3 {
    margin-bottom: 10px;
}

.widgets-yellow {
    background: #FAF3BD;
}

.widgets-yellow h3:after {
    content: " ";
    display: block;
    width: 200px;
    height: 2px;
    background: #5EA5AC;
    margin-top: 10px;
}

#widget_homepage_4, #widget_homepage_5 {
    margin-bottom: 10px;
}

#widget_homepage_4 h4, #widget_homepage_5 h4 {
    font-size: 17px!important;
    line-height: 1.304347826086957em!important;
    text-transform: uppercase;
    letter-spacing: 1px!important;
    font-weight: 600!important;
}

.three-home-widgets {
    padding: 50px 0;
}

.three-home-widget {
    padding-bottom: 50px;
}

#menu-sub-menu {
    margin: 0;
    padding: 20px 0;
    background: #183A3E;
    text-align: center;
}

#menu-sub-menu li {
    display: inline-block;
}

#menu-sub-menu li:not(:last-of-type) {
    padding-right: 40px;
}

#menu-sub-menu li a {
    color: #FEFEFE;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#menu-sub-menu li a:hover {
    color: #FAF3BD;
}

#navbar a:hover {
    color: #5EA5AC !important;
}

.footer-go-uplink:hover {
    color: #5ea5ac !important;
}

.jumbotron h1.inner-header, .jumbotron p.inner-header-color {
    color: #fff !important;
}

.navbar-inverse .navbar-nav>li>a {
    line-height: 1;
    margin-top: 65px;
}

#text-3 i {
    font-size: 20px;
    vertical-align: middle;
    display: inline-block;
    margin-right: 3px;
}

#search input {
    width: 100% !important;
}

.jumbotron.header-search {
    height: 200px;
}

.jumbotron.header-search .search-margin-top {
    //margin-top: 35px;
}

.jumbotron.header-search .home .form-control.header-search {
    min-height: 52px;
}

.body-content .blog.remove_defaults {
    margin: 0px !important;
    padding: 0 !important;
    background: none !important;
    border-bottom: none !important;
}

.body-content .blog.remove_defaults .caption {
    text-align: left;
}

.body-content .blog.resource {
    background: none;
    padding: 0;
    padding-top: 30px;
}

.body-content .blog.resource .metadata table {
    width: 100%;
    table-layout: fixed;
}

.body-content .blog.resource .metadata table th, .body-content .blog.resource .metadata td {
    padding: 0;
    vertical-align: top;
    word-wrap: break-word;
}

.body-content .blog.resource .metadata table tr:not(:last-of-type) th, .body-content .blog.resource .metadata tr:not(:last-of-type) td {
    padding-bottom: 5px;
}

.body-content .blog.resource .metadata table th {
    width: 140px;
}

.body-content .blog.resource .caption {
    text-align: left;
    margin-bottom: 0;
}

.body-content .blog.resource .subjects {
    text-transform: uppercase;
}

.body-content .blog.resource .subjects a:not(:last-of-type):after {
    content: ", ";
    color: #333;
}

/*.body-content.publications h3 {
    width: 100%;
    display: inline-block;
    padding-bottom: 5px;
    text-transform: none;
    font-size: 20px !important;
}
*/

.body-content.publications .publication .content p {
    padding: 0;
}

.body-content.publications .publication:not(:last-of-type) {
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 2px dotted #e6e6e6;
}

.body-content.publications .publication h4 {
    margin: 0;
    margin-bottom: 10px;
   	/*text-transform: none !important;
    font-size: 17px !important;
    letter-spacing: initial !important;*/;
}

.body-content.publications .publication .author {
    margin: 10px 0;
    font-style: italic;
}

.body-content.publications .publication p {
    margin: 0;
}

.single-resource .blog.resource {
    padding-top: 0px;
}

.single-resource .body-content h2 {
    margin-top: 0;
}

#resource-sidebar-box .sidebar-widget table {
    border: none !important;
}

#resource-sidebar-box .sidebar-widget td {
    border-right: none;
}

#resource-sidebar-box .sidebar-widget a span {
    max-width: 100%;
}

#resource-sidebar-box .sidebar-widget a i,
#resource-sidebar-box .sidebar-widget a:after {
    display: none;
}

.navbar .container {
    position: relative;
}

.navbar .access {
    position: absolute;
    right: 15px;
    top: 10px;
    text-align: right;
    z-index: 300;
    width: 200px;
}

.navbar-brand h1 {
    margin: 0 !important;
}

#navbar .access span, .access.inline span {
    cursor: pointer;
    text-transform: uppercase;
    border: 1px solid;
    font-size: 11px;
    padding: 0 10px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    display: inline-block;
}

.access.inline {
    display: inline-block;
}

#navbar .access span i:before {
    position: relative;
}

.hide-off-screen {
    display: inline-block;
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute !important;
    width: 1px;
}

#breadcrumbs {
    text-align: left !important;
    margin-top: 20px !important;
    color: inherit !important;
}

#breadcrumbs a {
    color: #337ab7 !important;
}

#breadcrumbs .bread_crumb {
    display: inline-block;
}

#breadcrumbs .bread_crumb:not(:last-of-type):after {
    content: ">";
    margin: 0 10px;
    display: inline-block;
}

.margin-btm-50 {
    margin-bottom: 50px;
}

.comments-link:not(:nth-child(3)) {
    display: none;
}

.search .content {
    color: #000;
}

.search .type a {
    text-transform: uppercase;
}

.body-content .search:before {
    font-size: 35px;
}

.body-content .search.post:before {
    content: "\e009";
    left: 30px;
}

.body-content .search.publication:before {
    content: "\e030";
    left: 50px;
}

.body-content .search.resource:before {
    content: "\e02d";
    left: 40px;
}

#search-sidebar-box input[type="text"], #search-sidebar-box label {
    width: 100% !important;
}

#search-sidebar-box ul {
    display: block;
    padding: 0;
    margin: 0;
}

#search-sidebar-box li {
    display: block;
    list-style-type: none;
}

.chosen-container.chosen-container-multi {
    width: 100% !important;
    max-width: 100% !important;
}

.searchandfilter select {
    max-width: 100% !important;
    width: 100% !important;
}

.searchandfilter .sf-date-prefix {
    display: block;
}

@media (max-width: 1080px) {
    #menu-sub-menu li:not(:last-of-type) {
        padding-right: 20px;
    };
}

@media (max-width: 769px) {
    .jumbotron {
        height: 210px !important;
    }

    .jumbotron .col-md-2 {
        text-align: center;
    }

    .search-margin-top {
        margin-top: 10px !important;
    }

    .jumbotron .form-group {
        margin-bottom: 0 !important;
    }

    form.searchform i.livesearch {
        top: 21px;
    }

    #searchform .form-group {
        position: relative;
        z-index: 99999999;
    }

    #searchform input {
        display: block !important;
        width: 100% !important;
        position: relative !important;
        top: initial;
        left: initial;
        right: initial;
    }

    #menu-sub-menu li {
        width: 100%;
        text-align: center;
    }

    #menu-sub-menu li:not(:last-of-type) {
        padding: 0px;
        padding-bottom: 10px;
    }

    .form-group input.header-search {
        padding-left: 12px;
    }

    .metadata table tr th, .metadata table tr td {
        display: table-row;
        width: 100%;
    };
}

@media (max-width: 767px) {
    .navbar-inverse .navbar-nav>li>a {
        line-height: 15px;
        margin-top: 0;
    }

    .navbar .access {
        right: 70px;
        top: 31px;
    }

    .navbar-inverse .navbar-collapse {
        padding-left: 0 !important;
        text-align: center;
    }

    .body-content .blog {
        padding: 5px 20px 0!important;
    };
}

@media (max-width: 700px) {
    .latest-publications td a i, .latest-publications td a:after {
        display: none;
    }

    .latest-publications td a span {
        max-width: 100%;
        white-space: initial;
    };
}

@media (max-width: 520px) {

    .jumbotron {
        //margin-top: 50px;
    }

/*	.navbar .access {
		right: 50%;
	    top: 95px;
	    margin-right: -67.71px;
	    width: auto;
	}*/

    .navbar .access span {
        background: #fff;
    }

    .body-content .search {
        padding: 20px 20px 8px 20px;
    }

    .body-content .search:before {
        display: none;
    };
}

@media (max-width: 400px) {
    .navbar-brand .custom-nav-logo {
        height: 50px;
    }

    .jumbotron {
        background-size: cover !important;
        background-attachment: scroll !important;
    };
}

.contrast_mode a:not(.button2):hover,
.contrast_mode .button2:hover, 
.contrast_mode .button:hover,
.contrast_mode form.searchform i.livesearch, 
.contrast_mode .latest-news .button:hover, 
.contrast_mode .footer-widget .button:hover,
.contrast_mode .body-content a:hover,
.contrast_mode #menu-sub-menu a:hover,
.contrast_mode .footer-widget a:not(.button):hover,
.contrast_mode #navbar a:hover,
.contrast_mode .latest-news td a:hover,
.contrast_mode .latest-publications td a:hover,
.contrast_mode .body-content .blog .caption h2 a:hover,
.contrast_mode #breadcrumbs a:hover {
    color: #000 !important;
}

.contrast_mode .widgets-yellow {
    background: #000 !important;
    border-top: 3px solid #fff;
    border-bottom: 3px solid #fff;
}

.contrast_mode .navbar-inverse .navbar-nav>li>a, .contrast_mode .button2, 
.contrast_mode .button2, .contrast_mode .global-search .button2,
.contrast_mode .h1, .contrast_mode .h2, .contrast_mode .h3, .contrast_mode .h4, .contrast_mode .h5, 
.contrast_mode .h6, .contrast_mode h1, .contrast_mode h2, .contrast_mode h3, .contrast_mode h4, 
.contrast_mode h5, .contrast_mode h6, .contrast_mode .latest-publications td a:after, 
.contrast_mode .navbar-inverse .navbar-nav>li>a, .contrast_mode .latest-news .button, 
.contrast_mode .footer-widget .button, .contrast_mode .global-search .button,
.contrast_mode .body-content a,
.contrast_mode .body-content .wpcf7 input[type="text"], 
.contrast_mode .body-content .wpcf7 input[type="email"],
.contrast_mode .body-content .wpcf7 textarea,
.contrast_mode .latest-publications td a:hover i,
.contrast_mode .body-content .blog .caption h2 a,
.contrast_mode .body-content h2.singlepg-font,
.contrast_mode #breadcrumbs a,

body.contrast_mode {
    color: #fff !important;
}

.contrast_mode .button2:hover, 
.contrast_mode .global-search .button2,
.contrast_mode .footer-bg, .contrast_mode .jumbotron-bg-color, 
.contrast_mode #menu-sub-menu, .contrast_mode .navbar, 
.contrast_mode .latest-news .button:hover, 
.contrast_mode .footer-widget .button:hover, 
.contrast_mode .global-search .button,
.contrast_mode .custom-well,
.contrast_mode .body-content .wpcf7 input[type="text"], 
.contrast_mode .body-content .wpcf7 input[type="email"],
.contrast_mode .body-content .wpcf7 textarea,
.contrast_mode .button-custom, 
.contrast_mode p.home-message-darkblue-bar,
.contrast_mode p.portfolio-des-n-link,
.contrast_mode .portfolio-section .portfolio-button-top,
.contrast_mode .body-content .wpcf7 input[type="submit"],
.contrast_mode .container .blog-btn,
.contrast_mode .sidebar-widget.widget_search input[type="submit"],
.contrast_mode .navbar-inverse .navbar-toggle,
.contrast_mode .custom_login_form input[type="submit"],
.contrast_mode .body-content .blog,
.contrast_mode .entry-content ol li em, 
.contrast_mode .entry-content ul li em,
.contrast_mode code,
.contrast_mode .navbar-inverse .navbar-collapse,
.contrast_mode .navbar .access span,
body.contrast_mode {
    background: #000 !important;
}

.contrast_mode .button2:hover,
.contrast_mode #widget_homepage_1 h2:after,
.contrast_mode .widgets-yellow h3:after,
.contrast_mode .body-content a:hover,
.contrast_mode #menu-sub-menu a:hover,
.contrast_mode .footer-widget a:hover,
.contrast_mode .footer-widget .button:hover,
.contrast_mode .navbar-inverse .navbar-nav>li>a:hover,
.contrast_mode .latest-news .button:hover,
.contrast_mode .latest-publications td a:hover span,
.contrast_mode .latest-news:not(.latest-publications) td a:hover,
.contrast_mode #breadcrumbs a:hover {
    background: #fff !important;
}

.contrast_mode .footer-bg a:not(.button) {
    text-decoration: underline !important;
    color: #eee !important;
}

.contrast_mode #menu-sub-menu {
    border-top: 3px solid #fff;
    border-bottom: 3px solid #fff;
}

.contrast_mode .navbar {
    border-bottom: 3px solid #fff !important;
}

.contrast_mode .button2, .contrast_mode .button2,
.contrast_mode .latest-news td, .contrast_mode .latest-publications td,
.contrast_mode .latest-news .button, .contrast_mode .footer-widget .button,
.contrast_mode #sidebar-box {
    border-color: #fff !important;
}

.contrast_mode .global-search .button,
.contrast_mode .body-content .wpcf7 input[type="text"], 
.contrast_mode .body-content .wpcf7 input[type="email"],
.contrast_mode .body-content .wpcf7 textarea {
    border: 3px solid #fff !important;
}

.contrast_mode #sidebar-box {
    border-left: 3px solid #fff !important;
}

.contrast_mode #searchform .button-custom:hover,
.contrast_mode p.home-message-darkblue-bar:hover,
.contrast_mode .body-content .wpcf7 input[type="submit"]:hover, 
.contrast_mode .container .blog-btn:hover,
.contrast_mode .sidebar-widget.widget_search input[type="submit"]:hover, 
.contrast_mode .navbar-inverse .navbar-toggle:hover, 
.contrast_mode .custom_login_form input[type="submit"]:hover {
    background: #111 !important;
}

.contrast_mode .home .form-control.header-search,

.contrast_mode .jumbotron.header-search .home .form-control.header-search {
    min-height: 57px;
}

.contrast_mode ::-webkit-input-placeholder {
    color: #000 !important;
}

.contrast_mode :-moz-placeholder {
 /* Firefox 18- */
    color: #000 !important;
}

.contrast_mode ::-moz-placeholder {
  /* Firefox 19+ */
    color: #000 !important;
}

.contrast_mode :-ms-input-placeholder {
    color: #000 !important;
}

.contrast_mode .navbar-brand {
    padding: 0;
}

.contrast_mode .navbar-brand h1 {
    position: relative;
}

.contrast_mode .navbar-brand h1:after {
    content: url('/wp-content/uploads/2016/06/ijc-logo-white.png') !important;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.contrast_mode .navbar-brand h1 img {
    display: none;
}

.contrast_mode .body-content a {
    text-decoration: underline !important;
}

.contrast_mode .body-content a:hover,
.contrast_mode #menu-sub-menu a:hover,
.contrast_mode .footer-widget a:not(.button):hover,
.contrast_mode .navbar-inverse .navbar-nav>li>a:hover,
.contrast_mode .latest-publications td a:hover span,
.contrast_mode .latest-news:not(.latest-publications) td a:hover,
.contrast_mode #breadcrumbs a:hover {
    box-shadow: 0 0 0 5px #fff;
}

.contrast_mode .footer-widget a.footer-img {
    box-shadow: none !important;
    background: none !important;
}

*:focus {
    outline: thin dotted !important;
    outline: 5px auto -webkit-focus-ring-color !important;
    outline-offset: 2px !important;
}

.contrast_mode .body-content .blog .caption span {
    color: inherit !important;
}

.contrast_mode code {
    color: #ff0;
}

.button2 {
    color: #183A3E !important;
    border: 1px solid #183A3E !important;
    background: none !important;
    padding: 5px 20px !important;
    margin-top: 15px !important;
    border-radius: 0 !important;
    text-transform: uppercase !important;
}

a.button2:hover {
    color: #fff !important;
    border: 1px solid #183A3E !important;
    background: #183A3E !important;
    padding: 5px 20px !important;
    margin-top: 15px !important;
}

.widgeth4 {
    font-size: 17px!important;
    line-height: 1.304347826086957em!important;
    text-transform: uppercase;
    letter-spacing: 1px!important;
    font-weight: 600!important;
}

.entry-content blockquote p {
    font-size: 14px;
}

.sort-order-form input[type="submit"] {
    background: none;
    margin-top: 5px !important;
}

.copyright_disclaimer {
    font-size: 13px;
    opacity: 0.9;
}

.search-filter-disabled .chosen-choices {
    position: relative;
}

.search-filter-disabled .chosen-choices:after {
    content: " ";
    display: block;
    background: url('/wp-content/themes/manual-threeam/spinner.gif');
    width: 16px;
    height: 16px;
    position: absolute;
    right: 15px;
    top: 50%;
    margin-top: -8px;
}

.sf-field-search, .sf-field-taxonomy-subject {
    display: none !important;
}
