.modal-dialog {
    width: 70%;
}

.container-fluid {
    padding-left: 0;
    padding-right: 0;
}

#trial_explorer_container .modal-dialog {
    width: 90%;
}

.modal-content {
    box-shadow: none;
    border: none;
}

a.carousel-control:link,
a.carousel-control:visited {
    color: #fff;
}


/* Buttons */

/*.btn {
	background-image: none;
	background-color: #e0dfdf;
	border: 1px solid #e0dfdf;
	box-shadow: none;
	text-shadow: none;

}*/

#nav-logos .btn-search {
    background: #ffffff;

}

/*
.btn:hover,
.btn:focus,
.btn:active,
.btn.active {
	background-image: none;
	box-shadow: none;
	border-color: #e0dfdf;
}*/

.btn-group .btn {
    border-radius: 0;
    background-color: #eee;
    border: 1px solid #ccc;
    color: #333;
    font-weight: normal;
}

.btn-group .btn.btn-primary {
    background-color: #000000;
    color: #ffffff;
}

.btn-group .dropdown-toggle {
    box-shadow: none;
}

.btn-group.open .btn-inverse.dropdown-toggle {
    box-shadow: none;
    background: #35373C;
    border-color: #35373C;
    color: #333;
}

/*.content a.btn {
	text-decoration: none;
	color: inherit;
}*/

.btn-default,
a.btn-default {
    background: #e0dfdf;
    color: #222222;
}


a.btn-default:hover,
a.btn-default:focus,
a.btn-default:active,
a.btn-default.active,
.btn-default:hover,
.btn-default:focus,
.btn-default:active,
.btn-default.active {
    background: #e0dfdf;
    color: #444444;
}


.btn-group.open .dropdown-toggle {
    -webkit-box-shadow: none;
    box-shadow: none;
}

/*.btn-primary,
.btn-success {
	background: #e48a00;
	border: 1px solid #e48a00;
}*/

/*.white-content-container a.btn.btn-primary,
.grey-content-container a.btn.btn-primary,
.content*/

#trial_modal.btn-primary,
#trial_project_form .btn-primary,
.btn-primary,
#trial_modal a.btn-primary,
.btn-primary:focus,
.btn-primary:active {
    color: #ffffff !important;
    background: #007945;
    font-weight: bold;
    border-color: #007945;
}


.btn-primary:hover,
input.btn.btn-primary:active:focus,
button.btn.btn-primary:active:focus {
    border: 1px solid #aaaaaa;
    color: #ffffff;
    background: #007945;

}

/*
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-primary.active,
.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success.active{
	background: #e47a07;
	border: 1px solid #e47a07;
}

.btn-primary:active:hover,
.open > .dropdown-toggle.btn-primary.focus,
.open > .dropdown-toggle.btn-primary:focus,
.open > .dropdown-toggle.btn-primary:hover{
	background: #000000;
	color:#ffffff;

}
*/

.btn-inverse {
    color: #fff;
    text-shadow: none;
    background-color: #35373C;
    border: 1px solid #35373C;
}

.btn-inverse:hover,
.btn-inverse:focus,
.btn-inverse:active,
.btn-inverse.active {
    background: #000;
    border: 1px solid #000;
    color: #fff;
}

.btn.disabled,
.btn[disabled] {
    color: #999;
}

.btn-inverse.disabled,
.btn-inverse[disabled] {
    color: #555;
}


/* Navigation elements */

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .open > a,
.nav li a {
    background: none;
    background-color: transparent;
    background-image: none;
    box-shadow: none;
}

.navbar-default .navbar-nav > .open > a:focus,
.navbar-default .navbar-nav > .open > a:hover,
.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:focus,
.navbar-default .navbar-nav > .active > a:hover {
    background: none;
    background-color: transparent;
    background-image: none;
    box-shadow: none;
    color: #000;
}


#navbar-container {
    margin-bottom: 20px;
}

.index #navbar-container {
    margin-bottom: 0;
}

.navbar {
    background: none;
    border: 0 none;
    box-shadow: none;
    margin-bottom: 0;
}

.navbar-toggle {
    border: none;
    border-radius: 0;
    font-size: 18px;
    margin: 0;
    padding: 15px 10px;
    position: absolute;
    top: 0;
    right: 0;
    /*width: 100%;*/
    text-align: left;
    z-index: 1;
}


/*
.navbar-nav {
	margin: 0;
	font-size: 16px;
	width: 100%;
}
*/

.index .navbar-form {
    border: none;
}

.navbar-form {
    position: absolute;
    border: 1px solid #ccc;
    width: 310px;
    padding: 0;
    margin: 0;
    right: 0;
    /*top: 182px;*/
}


.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus,
.dropdown-menu > li > a:focus,
.dropdown-menu > li > a:hover {
    background: #cecece none repeat scroll 0 0;
    border-left: 12px solid #0B512E;
    color: #000;
    margin-left: 0px;
    font-size: 15px;
}

.dropdown-menu > li > a {
    margin-left: 12px;
    font-size: 15px;
    padding: 12px 18px;

}

.dropdown-menu > li {
    min-width: 180px;
}

/*
#nav-logos {
	background: #f9f9f9;
	border-bottom: 1px solid #eee;
}
*/

/* Massive hack to make the menu line up (blame bootstrap) */
/*
2017 blaming this hack and reverting back
 */

.col-sm-8 > .navbar-nav > li > a:first-child {
    padding-left: 0;
}

.navbar-nav > li > a:first-child {
    padding-left: 15px;
}

.navbar-nav .menu2,
.navbar-nav .menu3 {
    display: none;
}

.navbar-nav .menu2 {
    left: 0 !important;
    top: 52px !important;
}

.navbar-nav .menu3 {
    top: 1px !important;
    left: 275px !important;
}

.navbar-nav .menu2,
.navbar-nav .menu3 {
    width: 275px;
    position: absolute;
    border: 1px solid #eee;
    z-index: 9999;
}

ul.navbar-nav .menu2,
ul.navbar-nav .menu3 {
    padding: 15px 0;
    background: #FFF;
    box-shadow: 0px 3px 20px -4px #d7d7d7;
}

.navbar-nav .menu2 li,
.navbar-nav .menu3 li {
    width: 100%;
}

.navbar-nav .menu2 li a {
    padding: 12px 18px 12px 30px;
}


#navbar-container {
    z-index: 1040;
}


/* Fixed Navigation Bar styles */

body.fixed-navbar #navbar-container {
    position: fixed;
    top: 0;
    width: 100%;
    background: #fff;
}


body.fixed-navbar #navbar-container #nav-logos {
    display: none;
}

body.fixed-navbar .breadcrumb-container {
    margin-bottom: 0;
}

body.fixed-navbar #oft-mini-logo {
    display: block;
}

body.fixed-navbar #grdc-mini-logo {
    display: inline-block;
}

#oft-mini-logo {
    margin-left: -150px;
}

#grdc-mini-logo {
    margin-right: -15px;
}


#oft-mini-logo {
    position: fixed;
    height: 50px;
    display: none;
}

#grdc-mini-logo {
    height: 40px;
    display: none;
    margin-top: 5px;
    margin-bottom: 5px;
/ / float: right;
}

.header_top_right {
    float: none;
    list-style: none;
    text-align: right;
}

.index .header_top_right {
    text-align: left;
}

.header_top_right li {
    display: inline-block;
    float: none;
}

body.fixed-navbar .header_top_right {
    display: block;
    text-align: right;
}

.trial-explorer #grdc-mini-logo {
    margin-top: -40px;
    margin-right: 0;
}

body.fixed-navbar .breadcrumb-container {
    box-shadow: 0px 5px 8px -4px rgba(125, 125, 125, 0.5);
}

body .breadcrumb-container {
    transition: box-shadow 0.25s ease-in-out;
    -moz-transition: box-shadow 0.25s ease-in-out;
    -webkit-transition: box-shadow 0.25s ease-in-out;
}

/* Form elements */

.form-control,
.select2-container--default .select2-selection--single,
#trial_explorer_form .select2-container--default .select2-selection--multiple,
#map_menu .select2-container--default .select2-selection--multiple {
    box-shadow: none;
    background: #f9f9f9;
    color: #000;
    border-color: #ddd;
}


#select2-zoom_to-container .select2-selection__placeholder {
    color: #000;
}

#trial_explorer_form .select2-container--default .select2-selection--multiple,
#map_menu .select2-container--default .select2-selection--multiple {
    line-height: 1.4em;
    min-height: 30px;
}

.select2-container--default .select2-selection--single,
#trial_explorer_form .select2-container--default .select2-selection--multiple,
#map_menu .select2-container--default .select2-selection--multiple {
    margin-top: 3px;
}

#trial_explorer_form ul.select2-selection__rendered,
#map_menu ul.select2-selection__rendered {
    padding-right: 30px !important;
}

#trial_explorer_form ul.select2-selection__rendered:after,
#map_menu ul.select2-selection__rendered:after {
    content: "";
    position: absolute;
    right: 7px;
    top: 46%;
    transform: translateY(-50%);
    border-top: 5px solid #888;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
}

#trial_explorer_form .select2-search__field::placeholder,
#map_menu .select2-search__field::placeholder {
    color: #999;
}

.btn-primary-outline {
    background: #fff;
    border: 2px solid #32785a;
    color: #32785a;
}

.btn-primary-outline:focus,
.btn-primary-outline:hover {
    background: #32785a;
    color: #fff;
}

#embedded_explorer .trial_project_row h5 {
    margin-bottom: 0;
    font-weight: bold;
}

#embedded_explorer #trial_result_container .trial_project_row h3 {
    font-size: 16px;
    font-weight: bold;
}

/*

#year_select .select2-selection__arrow { padding-top: 4px; }
#year_select .select2-container .select2-choice .select2-arrow { padding-top: 6px; }

.select2-container .select2-choice .select2-arrow,
.select2-container .select2-choice div,
#map_menu .select2-arrow {
	border-left: none;
}*/

.select2-container--open .select2-dropdown--below {
    width: 263px;
    border-color: #ddd;
    background-color: #f9f9f9;
    /*margin-top: -2px;*/
    color: #333;
}

/*.select2-container {
	display: block;
}*/

.filter-group-toggle {
    float: right;
}


/* Dropdown menus */

.content .dropdown-menu a {
    text-decoration: none;
    color: #333;
}

/*.content .dropdown-menu a:hover { background: #eeaf35; }*/


/* Info bars */

.alert {
    text-shadow: none;
    box-shadow: none;
    background-image: none;
}

.alert-info {

    background: #fafafa;
    border: 2px solid #BED8CE;
    border-radius: 3px;
    background-image: none;
    filter: none;
    color: #000;
    margin-top: 20px;
}


.alert.alert-info h1 small,
.alert.alert-info h2 small,
.alert.alert-info h3 small,
.alert.alert-info h4 small,
.alert.alert-info h5 small,
.alert.alert-info h6 small {
    color: #5C5C5C;

}

.alert-warning {
    /*background: #ee3535;
    border: 1px solid #ee3535;
    color: #000;
    padding-left: 25px;*/
    margin-top: 20px;
}

.alert-success {
    margin-top: 20px;

}


/* Panels */

.panel {
    background: #ffffff;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.panel.trial_details,
.panel.trial_site,
.panel.related_trial,
.panel.related_link,
.panel.trial_event {
    background-color: #ffffff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.panel.trial_details > .panel-heading,
.panel.trial_site > .panel-heading,
.panel.related_link > .panel-heading,
.panel.related_trial > .panel-heading,
.panel.trial_event > .panel-heading {
    /*background-image: linear-gradient(to bottom, #edc982 0px, #e8e8e8 100%);*/
    /*background-repeat: repeat-x;*/
    background-color: #f5f5f5;
    border-color: #333333;
    color: #333333;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    padding: 10px 15px;
    font-weight: bold;
}

.panel-heading.thin {
    padding: 0 15px;
}

body:not(.admin) .panel-default > .panel-heading,
.login_panel > .panel-heading,
.bookmark_panel > .panel-heading h3 a {
    color: #fff;
    background: #007945;
    background-image: none;
    filter: none;
    border: none;
    border-radius: 0;
    padding: 1px 15px;
}

#embedded_explorer .panel-heading {
    background: none;
}


#embedded_explorer .panel-default > .panel-heading {
    background: none;

}

.bookmark_panel > .panel-heading h3 a:hover {
    color: #cfcfcf;

}

.trial_project_row .panel-heading {
    padding-top: 0;
}

.trial_project_row .panel-default > .panel-heading,
.trial_project_row .panel-default > .panel-heading.grey,
.trial_project_row .panel-default > .panel-heading.grey .panel-heading {
    background: #fff;
    min-height: 55px;
}

.trial_project_row .panel-default .panel-body {
    padding-bottom: 0;
}

.trial_project_row .panel-default .panel-body > p:last-child {
    margin-bottom: 0;
}

.trial-aim-collapse-button {
    position: absolute;
    right: 30px;
    top: 15px;
}

.panel-default > .panel-heading .btn-group {
    color: #333;
}

.panel-heading h1,
.panel-heading h2,
.panel-heading h3,
.panel-heading h4 {
    margin: 10px 0;
}

.panel-title {
    margin: 5px 0;
}

.list-group {
    box-shadow: none;
}

.list-group.panel {
    margin-bottom: 10px;

}

.list-group-item.list-group-item-default {
    background: #f9f9f9;
    font-weight: bold;
}

.list-group-item.active,
.list-group-item.active:focus,
.list-group-item.active:hover {
    background-image: none;
    background: #007945;
    filter: none;
    border-color: #007945;
    color: #fff;
    text-shadow: none;
}

.list-group-item.active a {
    color: #fff;
}

.progress-bar {
    background-image: none;
    filter: none;
    background: #007945;
}


/* Nav tabs */

.nav-tabs {
    border-bottom: 1px solid #007945;
}

.nav-tabs > li > a,
.nav-tabs > li > a:link,
.nav-tabs > li > a:focus,
.nav-tabs > li > a:hover {
    text-decoration: none;
    border: 1px solid #007945;
    color: #35373C;
}

.nav-tabs > li.active > a,
.nav-tabs > li.active > a:link,
.nav-tabs > li.active > a:focus,
.nav-tabs > li.active > a:hover {
    background: #007945;
    border-color: #007945;
    color: #ffffff;
}

/*#trial_result_summary .nav-tabs > li > a,
.nav-tabs > li > a:link,
.nav-tabs > li > a:focus,
.nav-tabs > li > a:hover {
	border-bottom: 0 none;
}*/

.tab-content {
    padding-top: 15px;
}


/* JQuery UI */

.ui-dialog {
    border-radius: 0;
    padding: 0;
    border: none;
}

.ui-dialog-titlebar {
    border-radius: 0;
    background-image: none;
    background: #007945;
    color: #fff;
    border: none;
}

button.ui-button,
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default {
    background-image: none;
    border-radius: 0;
    border-color: #fff;
    background-image: none;
    background: #fff;
}

@media (max-width: 1500px) {
    .carousel-control .glyphicon-chevron-left,
    .carousel-control .glyphicon-chevron-right,
    .carousel-control .icon-next,
    .carousel-control .icon-prev {
        top: auto;
        bottom: 30px;
    }
}

@media (max-width: 1200px) {
    .navbar-nav {
        width: auto;
    }
}

@media (max-width: 992px) {
    #navbar-left {
        width: 75%;
    }

    #navbar-right {
        width: 25%;
    }
}

@media (min-width: 768px) {
    .col-sm-8 > .navbar-nav > li > a:first-child {
        padding-left: 0;
    }

    .navbar-nav > li > a:first-child {
        padding-left: 0;
    }

    .navbar-collapse.collapse {
        padding-left: 0;
    }

}

@media (max-width: 767px) {
    .dropdown-toggle {
        display: none;
    }

    /*
    .navbar-nav .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        background-color: transparent;
        border: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
        display: block;
    }
    */
    .btn-group-justified > .btn, .btn-group-justified > .btn-group {
        display: inline-block;
        float: left;
        width: auto;
    }
}

@media (max-width: 710px) {
    .logo-container {
        width: 100%;
        text-align: center;
    }

    .logo-container .secondary-grdc-logo {
        float: none;
        margin-top: 0;
        margin-bottom: 15px;
    }
}

@media (max-width: 600px) {
    .grey-content-container .right {
        padding: 0 15px;
    }

    /*.breadcrumb-container .navbar-form { display: none; }*/
}

@media (max-width: 710px) {
    .logo-container .secondary-grdc-logo {
        display: none;
    }

    img.oft_logo {
        margin-right: 0;
    }
}

h4.panel-title a:link,
h4.panel-title a:visited {
    color: #ffffff;

}

.navbar-right .form-control {
    margin-top: 8px;
}

.btn-file {
    position: relative;
    overflow: hidden;
}

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    min-width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    outline: none;
    background: white;
    cursor: inherit;
    display: block;
}

span.label-default {
    font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;

}

.btn-group-sm > .btn, .btn-sm {
    font-size: 13px;
    font-weight: 550;
    padding: 5px 7px;

}

.pagination > li > a:focus, .pagination > li > a:hover, .pagination > li > span:focus, .pagination > li > span:hover {
    color: #000;

}


/*#trial_results,*/
#trial_climate,
#national_soil_grid_container {
    max-width: 100%;
    overflow-x: scroll;
}

#national_soil_grid_map {
    /*height:360px;*/

}


#trial_explorer_container .btn-filter {
    width: 100%;
    color: #fff;
    margin-bottom: 2px;

}


.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
    background-color: #000000;
    border-color: #000000;
    color: #ffffff;
}

a.fa.active:link,
a.fa.active:visited {
    color: #555;

}


li.scrollspy_breadcrumb,
li.scrollspy_breadcrumb a:visited,
li.scrollspy_breadcrumb a:link,
li.scrollspy_breadcrumb a:hover {
    margin: -2px;
    padding: 0;
}

ul.breadcrumb > li.scrollspy_breadcrumb a:visited,
ul.breadcrumb > li.scrollspy_breadcrumb a:link {
    display: none;

}

ul.breadcrumb > li.active a:visited,
ul.breadcrumb > li.active a:link,
ul.breadcrumb > li:first-child a:visited,
ul.breadcrumb > li:first-child a:link {
    display: block;

}

.excluded {
    text-decoration: line-through;
}

.no-gutter > [class*='col-'] {
    padding-right: 0;
    padding-left: 0;
}

.small-gutter {
    margin-left: 0;
    margin-right: 0;
}

.small-gutter > [class*='col-'] {
    padding-right: 5px;
    padding-left: 5px;
}

/*.navbar-static-top{
	 margin-top:79px;

}*/

.white-bg .col-lg-1, .white-bg .col-lg-10, .white-bg .col-lg-11, .white-bg .col-lg-12, .white-bg .col-lg-2, .white-bg .col-lg-3, .white-bg .col-lg-4, .white-bg .col-lg-5, .white-bg .col-lg-6, .white-bg .col-lg-7, .white-bg .col-lg-8, .white-bg .col-lg-9, .white-bg .col-md-1, .white-bg .col-md-10, .white-bg .col-md-11, .white-bg .col-md-12, .white-bg .col-md-2, .white-bg .col-md-3, .white-bg .col-md-4, .white-bg .col-md-5, .white-bg .col-md-6, .white-bg .col-md-7, .white-bg .col-md-8, .white-bg .col-md-9, .white-bg .col-sm-1, .white-bg .col-sm-10, .white-bg .col-sm-11, .white-bg .col-sm-12, .white-bg .col-sm-2, .white-bg .col-sm-3, .white-bg .col-sm-4, .white-bg .col-sm-5, .white-bg .col-sm-6, .white-bg .col-sm-7, .white-bg .col-sm-8, .white-bg .col-sm-9, .white-bg .col-xs-1, .white-bg .col-xs-10, .white-bg .col-xs-11, .white-bg .col-xs-12, .white-bg .col-xs-2, .white-bg .col-xs-3, .white-bg .col-xs-4, .white-bg .col-xs-5, .white-bg .col-xs-6, .white-bg .col-xs-7, .white-bg .col-xs-8, .white-bg .col-xs-9,
.grey-bg .col-lg-1, .grey-bg .col-lg-10, .grey-bg .col-lg-11, .grey-bg .col-lg-12, .grey-bg .col-lg-2, .grey-bg .col-lg-3, .grey-bg .col-lg-4, .grey-bg .col-lg-5, .grey-bg .col-lg-6, .grey-bg .col-lg-7, .grey-bg .col-lg-8, .grey-bg .col-lg-9, .grey-bg .col-md-1, .grey-bg .col-md-10, .grey-bg .col-md-11, .grey-bg .col-md-12, .grey-bg .col-md-2, .grey-bg .col-md-3, .grey-bg .col-md-4, .grey-bg .col-md-5, .grey-bg .col-md-6, .grey-bg .col-md-7, .grey-bg .col-md-8, .grey-bg .col-md-9, .grey-bg .col-sm-1, .grey-bg .col-sm-10, .grey-bg .col-sm-11, .grey-bg .col-sm-12, .grey-bg .col-sm-2, .grey-bg .col-sm-3, .grey-bg .col-sm-4, .grey-bg .col-sm-5, .grey-bg .col-sm-6, .grey-bg .col-sm-7, .grey-bg .col-sm-8, .grey-bg .col-sm-9, .grey-bg .col-xs-1, .grey-bg .col-xs-10, .grey-bg .col-xs-11, .grey-bg .col-xs-12, .grey-bg .col-xs-2, .grey-bg .col-xs-3, .grey-bg .col-xs-4, .grey-bg .col-xs-5, .grey-bg .col-xs-6, .grey-bg .col-xs-7, .grey-bg .col-xs-8, .grey-bg .col-xs-9 {
    /*Prevent anchor link fix interfering with link click*/
    overflow: hidden;
}

#trial_report_library .list-group-item {
    padding: 10px 20px 10px 10px;
}

#trial_report_library .list-group-item > .badge {
    float: none;
    position: absolute;
    right: 10px;
}


.has-success .select2-container--default,
.has-success .select2-selection--single {
    border-color: #3c763d !important;
}

.has-warning .select2-container--default,
.has-warning .select2-selection--single {
    border-color: #8a6d3b !important;
}

.has-error .select2-container--default,
.has-error .select2-selection--single {
    border-color: #a94442 !important;
}

.btn-group.has-error {
    border: 1px solid #a94442 !important;
}

.btn-group.has-success {
    border: 1px solid #3c763d !important;
}


h6 {
    color: #777777;
    margin-top: 2px;
    font-size: 13px;
}
