div[data-alpaca-field-name="applicant_logged_in_details_first_name"] div,
div[data-alpaca-field-name="applicant_logged_in_details_last_name"] div,
div[data-alpaca-field-name="applicant_logged_in_details_email"] div {
    padding-top: 7px;
}
div[data-alpaca-field-name="applicant_logged_in_details_email"] {
    clear: both;
    padding-left: 15px;
}

div[data-alpaca-field-name="details_visit_visitor_details_visitor_institution"],
div[data-alpaca-field-name="organiser_details_email"],
div[data-alpaca-field-name="applicant_details_email"] {
    clear: both;
    padding-top: 10px;
}

div[data-alpaca-field-name="details_visit_overall_dates"]{
    min-height: 150px;
    height: 150px;
}

.path-lms-grants .form-horizontal .form-group div[name="conference_details_conference_type"] label {
    width: 200px;
}

.form-horizontal .form-group div[name="visibility_options_member"] label, .form-horizontal .form-group div[name="visibility_options"] label {
    width: 100%;
    text-align: left;
    float:none;
}

.path-lms-grants .form-horizontal .form-group label {
    padding-top: 0px;
    width: 20%;
    text-align: left;
}

div[data-alpaca-field-name="education_history"] .chosen-container.chosen-container-single {
    width: 100% !important;
}

div[data-alpaca-field-name="employment_history"] .chosen-container.chosen-container-single {
    width: 100% !important;
}

div[data-alpaca-field-name="qualification_history"] .chosen-container.chosen-container-single {
    width: 100% !important;
}

.profile-fof {
    padding: 5px;
    margin: 5px;
    background-color: #F0F5F8;
    display: inline-block;
}

#opt_out_message {
    margin: 10px 0;
    padding: 0 15px;
}

.path-lms-grants div.alpaca-container-item {
    background-color: #F5F5F5;
}

#edit-country-1-wrapper, #edit-city-1-wrapper {
    display: none;
}

#edit-donation-amount .radio, #edit-donation-frequency .radio{
    display: block;
}

.form-item-free-amount {
    display: inline;
    width: 150px;
}

#edit-free-amount {
    width: 150px;
    display: inline;
}

#edit-new-journal-option {
    width: 50%;
}

#cc_supported_cards {
    margin-left: 300px;
    margin-top: -40px;
    margin-bottom: 20px;
}

.profile-member h2 {
    margin-left: 0px;
    padding-left: 30px;
}

.profile-member h4 {
    font-family: "Open Sans",Helvetica,Arial,sans-serif;
    font-size: 14px;
    font-weight: bold;
    border-top: 1px solid #aaa;
    padding: 20px 0;
}

#edit-comm-preferences div {
    display: inline;
    width: 50%;
}

#edit-donation-amount, .form-item-donation-amount, .free_amount_donation {
    display: inline;
}

.path-lms-grants-grant .new-organisation {
    display: none;
}

.path-lms-grants-grant .help-block {
    clear: both;
    padding-left: 15px;
}

div[data-alpaca-container-item-name="is_user_member"] {
    position: absolute;
    left: -9999px;
}

.path-lms-grants-scheme .ui-autocomplete, .path-lms-grants .ui-autocomplete {
    width: 300px;
}

.has-error-lms input,  textarea.has-error-lms, input.has-error-lms, .has-error-lms label, .has-error-lms textarea {
    border-color: #a94442;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    color: #a94442;
}

.has-error-lms label, .lms-file-limit, .lms-file-size-limit {
    border-color: #a94442;
    color: #a94442;
}
.has-error-lms .help-block {
    color: #a94442;
}
#feedback_comment table {
    width: 100%;
}

#feedback_comment {
    padding-left: 25px;
    padding-right: 25px;
}

div[data-alpaca-field-name="details_visit_detailed_dates"] td .col-sm-9{
    width: 100%;
    padding: 0px;
}

.lms-maximum, .lms-empty-text {
    color: darkred;
}

div[data-alpaca-field-name="phd_supervisor_details"],
div[data-alpaca-field-name="supporter_1_details"],
div[data-alpaca-field-name="supporter_2_details"] {
    height: 380px;
}

div[data-alpaca-field-name="phd_supervisor_details_phd_supervisor_details_non_member"],
div[data-alpaca-field-name="supporter_1_details_supporter_details_non_member"],
div[data-alpaca-field-name="supporter_2_details_supporter_details_non_member"]{
    min-height: 170px;
}

div[data-alpaca-field-name="phd_supervisor_details_phd_supervisor_details_non_member_email"],
div[data-alpaca-field-name="supporter_1_details_supporter_details_non_member_email"],
div[data-alpaca-field-name="supporter_2_details_supporter_details_non_member_email"]{
    margin-top: 10px;
}

div[data-alpaca-field-name="details_visit_detailed_dates"] .table-responsive {
    overflow-x: visible;
}

input[name="financial_statement_amount_requested"],
select[name="financial_statement_contributions_year"] {
    width: 200px
}

div[data-alpaca-field-name="details_visit_visitor_details_first_name"] .col-sm-9,
div[data-alpaca-field-name="details_visit_visitor_details_last_name"] .col-sm-9 {
    width: 100%;
}

.region-sidebar-first h2.block-title {
    background-color: #777;
}

.indented {
    margin-left: 40px; /* LTR */
}

#block-views-group-content-list-block h3 {
    clear: both;
}

.path-lms-grants-grant .help-block, .path-lms-grants-grant .glyphicon-question-sign {
    display: none;
}

.rate-widget ul {
    padding-left: 0px;
}

.comment {
    border-top: 1px solid #dcdcdc;
    word-wrap: break-word;
    color: #333;
}

.comment h5 {
    margin-top: 2px;
    margin-bottom: 2px;
}

th[data-header-id="name"] {
    width: 190px;
}
th[data-header-id="institution"] {
    width: 190px;
}
th[data-header-id="expertise"] {
    width: 190px;
}

div[data-alpaca-field-name="applicant_information_applicant_logged_in_details_email"] {
    clear: both;
}

div#grants_form>form>div>legend  {
    font-size: 30px;
    font-family: "Droid Serif","Times New Roman",Times,serif;
}

.form-horizontal .form-group div[name="applicant_information_applicant_logged_in_details_email"] {
    margin-left: 195px;
}

.path-lms-grants .form-horizontal div[data-alpaca-field-name="details_visit_is_visit_or_receive"] div[name="details_visit_is_visit_or_receive"] label {
    width: 300px;
}

.grants_large_cell div, .grants_gender div, .grants_accepted div{
    width: 100%;
}

td[data-alpaca-container-item-name="invited_speakers_speakers_0_accepted"] {
    width: 150px;
}

td[data-alpaca-container-item-name="invited_speakers_speakers_0_gender"] {
    width: 150px;
}

td[data-alpaca-container-item-name="invited_speakers_speakers_0_institution"] {
    width: 250px
}

td[data-alpaca-container-item-name="invited_speakers_speakers_0_expertise"] {
    width: 250px
}

div[data-alpaca-field-name="invited_speakers_speakers"] .alpaca-container-has-items .alpaca-container-has-items {
    height: 230px;
}
div[data-alpaca-field-name="invited_speakers_speakers"] .alpaca-container-has-items .alpaca-container-has-items label {
    width: 100%;
    display: block;
}
div[data-alpaca-field-name="invited_speakers_speakers"] .alpaca-container-has-items .alpaca-container-has-items>div:nth-child(1) {
    width: 400px;
    position: relative;
    display: inline-block;
    vertical-align: top;
}
div[data-alpaca-field-name="invited_speakers_speakers"] .alpaca-container-has-items .alpaca-container-has-items>div:nth-child(1) div {
    width: 100%;
}

div[data-alpaca-field-name="invited_speakers_speakers"] .alpaca-container-has-items .alpaca-container-has-items>div:nth-child(2) {
    width: 400px;
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin-top: 0px;
}


div[data-alpaca-field-name="invited_speakers_speakers"] .alpaca-container-has-items .alpaca-container-has-items>div:nth-child(3) {
    width: 800px;
    display: inline-block;
}


div[data-alpaca-field-name="invited_speakers_speakers"] .alpaca-container-has-items .alpaca-container-has-items>div:nth-child(4) {
    width: 140px;
    position: relative;
    left: 800px;
    margin-top: -225px;
}


div[data-alpaca-field-name="invited_speakers_speakers"] .alpaca-container-has-items .alpaca-container-has-items>div:nth-child(5) {
    width: 140px;
    position: relative;
    left: 930px;
    top: -78px;
}

div[data-alpaca-container-item-name="conference_details_start_date"] {
    width: 50%;
    display: inline-block;
}

div[data-alpaca-container-item-name="conference_details_end_date"] {
    width: 49%;
    display: inline-block;
}

.path-lms-grants .form-horizontal div[data-alpaca-field-name="conference_details_start_date"] label {
    width: 220px;
}

div[data-alpaca-field-name="conference_details_start_date"] div, div[data-alpaca-field-name="conference_details_start_date"] input, input[name="conference_details_end_date"] {
    width: 200px;
}

.btn-autosave {
    position: absolute;
    left: -1100px;
}

.btn-clear {
    position: absolute;
    left: -1150px;
}

.grants-loading {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
    background-color: rgba(255, 255, 255, 0.8);
}

.grants-loading .spinner {
    margin: 48vh auto;
    width: 40px;
    height: 40px;
    position: relative;
}

.grants-loading .cube1, .grants-loading .cube2 {
    background-color: #428bca;
    width: 15px;
    height: 15px;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation: sk-cubemove 1.8s infinite ease-in-out;
    animation: sk-cubemove 1.8s infinite ease-in-out;
}

.grants-loading .cube2 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

.grants-loading .cube2 {
    -webkit-animation-delay: -0.9s;
    animation-delay: -0.9s;
}

@-webkit-keyframes sk-cubemove {
    25% {
        -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5);
    }
    50% {
        -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg);
    }
    75% {
        -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
    }
    100% {
        -webkit-transform: rotate(-360deg);
    }
}

@keyframes sk-cubemove {
    25% {
        transform: translateX(42px) rotate(-90deg) scale(0.5);
        -webkit-transform: translateX(42px) rotate(-90deg) scale(0.5);
    }
    50% {
        transform: translateX(42px) translateY(42px) rotate(-179deg);
        -webkit-transform: translateX(42px) translateY(42px) rotate(-179deg);
    }
    50.1% {
        transform: translateX(42px) translateY(42px) rotate(-180deg);
        -webkit-transform: translateX(42px) translateY(42px) rotate(-180deg);
    }
    75% {
        transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
        -webkit-transform: translateX(0px) translateY(42px) rotate(-270deg) scale(0.5);
    }
    100% {
        transform: rotate(-360deg);
        -webkit-transform: rotate(-360deg);
    }
}

.autosavemessage {
    display: none;
}

.initialautosavemessage {
    position: fixed;
    bottom: 5px;
    width: 1140px;
    display: none;
}

th[data-header-id="institution"] {
    width: 300px;
}

th[data-header-id="title_talk"] {
    width: 300px;
}

th[data-header-id="poster"] {
    width: 300px;
}

div[data-alpaca-field-name="short_talks_talks"] .alpaca-container-has-items .alpaca-container-has-items>div:nth-child(1) {
    width: 550px;
    position: relative;
    display: inline-block;
    vertical-align: top;
}

div[data-alpaca-field-name="short_talks_talks"] .alpaca-container-has-items .alpaca-container-has-items>div:nth-child(2) {
    width: 450px;
    position: relative;
    display: inline-block;
    vertical-align: top;
    margin-top: 0px;
}

div[data-alpaca-field-name="short_talks_talks"] .alpaca-container-has-items .alpaca-container-has-items>div:nth-child(3) {
    width: 550px;
    position: relative;
    display: inline-block;
    vertical-align: top;
}

div[data-alpaca-field-name="short_talks_talks"] .alpaca-container-has-items .alpaca-container-has-items>div:nth-child(4) {
    width: 450px;
    position: relative;
    display: inline-block;
    vertical-align: top;
}

.page-toboggan-denied .easy-breadcrumb .easy-breadcrumb_segment-separator,
.page-toboggan-denied .easy-breadcrumb .easy-breadcrumb_segment-1 {
    display: none;
}

fieldset#subscribe {
    border: 0px solid transparent;
}

fieldset#subscribe legend{
    width: 105px;
    background-color: #65adad;
}

#generic_donations_form .control-label {
    width: 150px;
}

#generic_donations_form .form-control {
    width: 300px;
    display: inline;
}

#generic_donations_form .form-type-radio {
    width: 100px;
    display: inline;
}

#generic_donations_form .form-type-radio .control-label {
    width: 100px;
}

#generic_donations_form .form-item-gift-aid-uk-address {
    display: inline-block;
    width: 150px;
}

#generic_donations_form .uk_address_details {
    width: 550px;
    margin-left: 150px;
}

#block-boxes-donations-teaser {
    background-color: white;
    text-align: center;
}

#block-boxes-donations-teaser .boxes-box-content {
    background-color: #951F5C;
    border-radius: 40px;
}

#block-boxes-donations-teaser .boxes-box-content .block-title a {
    color: white;
}

#block-boxes-donations-teaser-2 {

    position: absolute;
    left: 830px;
    top: 65px;
    height: 50px;
    /* line-height: 5px; */
    background-color: #951F5C;
    text-align: center;
    padding: 10px;
    border-radius: 25px;

}

#block-boxes-donations-teaser-2 h3.block-title {
    margin: 5px;
    padding: 0px;
}

#block-boxes-donations-teaser-2 h3.block-title a {
    color: white;
}
/*
.secondary li.last {
    background-color: #038ABA;
}

.secondary li.last:hover {
   background-color: #193450;
}
*/
#generic_donations_form .form-type-radio:nth-child(5) {
    display: block;
    padding-top: 15px;
    width: 300px;
}

#generic_donations_form .form-type-radio:nth-child(5) .control-label {
    width: 300px;
}

.form-item-donation-options .help-block {
    display:none;
}

.de_morgan_help {
    width: 600px;
    font-style: italic;
}

.page-civicrm-grant .CRM_Report_Form_Grant_Statistics .crm-report-field-form-block,
.page-civicrm-grant .CRM_Report_Form_Grant_Statistics .crm-tasks,
.page-civicrm-grant .crm-container:nth-of-type(1) .footer,
.page-civicrm-grant .crm-container:nth-of-type(1) .crm-footer{
    display: none;
}

p {
    font-style: normal;
}

form.CRM_Grant_Form_GrantView .no-border .crm-accordion-body table:nth-of-type(3).crm-info-panel,
.custom-group-Grants_extra_information .crm-accordion-body tr:nth-of-type(3).custom_field-row{
    display: none;
}

#Grants_extra_information__269 table.crm-info-panel:last-child {
    display: none;
}

.visible-lg-block{
    display:block !important
}

.toolbar .toolbar-menu .toolbar-menu a {
    color: #434343;
    padding: 0.5em;
}

.toolbar-tray-horizontal ul li.menu-item--expanded .menu-item.hover-intent ul.toolbar-menu {
    margin: -27px 0 0 197px;
}

.form-item-total-budget {
  padding-left: 62%;
}
