/* Use this CSS file to override theme CSS rules */

/*#################################################################
Default dark blue #11386F
Default light blue #97C5E9
Red #F2082E
Light gold #c8bc78
Yellow #f8de93
Purple #83123f
################################################################# */

.site-name__header a {
    display: none;
}

#pre-header {
    background-color: #83123f !important;
  }

.pre-header-area p {
    padding: 0; 
}

.pre-header-area p a {
    text-decoration: none; 
}

/* MAIN NAVIGATION BAR */
#block-cac-mainnavigation {
    display: inline-block;
    padding:  0;
    float:  right;
}
.block-superfish {
    width: 90%;
}
#block-cac-linkedinicon {
    float: left;
    display: inline-block;
    padding:  0;
}
.header-area ul.icons-list li i {
    line-height: 50px;
}




#header-top {
    background-color: #ffffff !important;
  }

#header {
    background-color: #83123f !important;
    border-bottom-color: #c8bc78 !important;
}

.homepage-info {
    color:  #D9091D;
    font-size: 100%;

}

#block-homepageintroblock {
    padding-bottom: 10px;
}

#top-content {
    padding: 0 !important;
    border-bottom: 6px solid #c8bc78;
}

#block-cac-site-branding {
    padding: 0 0 10px 0;
}

#highlighted {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0px;
    padding-left: 15px;
    padding-right: 15px;
}

.search-block-form {
	width: 300px;
    float: right;
}

.header-top-area input[type="submit"] {
    background-color: #2A6D7E;
}

.node--type-landing-page .block {
	background-color: #f8f8f8;
	padding: 10px;
}

#main {
  margin: 0 30px 0 30px;
}

#main-content {
    padding-top: 30px !important;
}

.sidebar .block {
  margin: 0 30px 20px 0;
}

h1 {
  font-size: 250%;
  color: #83123f;
}
/* override color for Pledge pages */
.page-node-5151 h1,
.page-node-5154 h1,
.page-node-5155 h1,
.page-node-5180 h1 {
    color: #7d5198;
}

h2 {
    color: #83123f;
    font-size: 24px;
}
/* override on homepage */
.page-node-5176 h2 {
    color: #F2082E !important;
    font-size: 30px !important;
    font-weight: 400 !important;
}

h2 a, .views-field-title a {
    color: #11386F;
    font-size: 16px;
}

/* override on homepage */
.page-node-5176 h2 a,
.page-node-5176 .views-field-title a {
    font-size: 20px !important;
}

h3 a, h3.field-content {
    color: #11386F;
    font-size: 90%;
    margin: 0;
}

.views-field-title {
    margin-bottom: 15px;
}

/* Buttons on Pledge signatories page 
.medium {
    font-size: 16px !important;
}
.large {
    font-size: 40px !important;
    margin: 10px 0 !important;
}
.bordered {
    border: 1px solid;
    padding: 20px !important;
    margin: 5px !important;
    width: 45% !important;
    text-align: center;
}*/

/* SIGN THE PLEDGE BUTTON */
.sign-btn {
    background-color: #83123f;
    color: white;
    margin-top: 30px;
    padding: 2rem 3rem; /* larger padding for bigger button */
    font-size: 2rem; /* increase text size */
    border: none;
    border-radius: 0.3rem;
    text-decoration: none; /* removes underline */
    display: inline-block;
    transition: background-color 0.3s ease;
  }
  .sign-btn:hover {
    background-color: #002244; /* slightly darker on hover */
    color: white;
    text-decoration: none;
  }

/* Cross heads on the homepage */
.homepage-heading {
    font-size: 180%;
    color:  #D9091D;
}

.see-more {
    float: right;
    padding-top: 10px;
}

.border-top {
    border-top: 1px solid;
    padding-top: 10px;
}

/* Changes for three-column 
Homepage 5176
Gallery nodes
*/
@media (min-width: 992px) {
    .page-node-5176 .col-md-offset-2,
    .page-node-type-gallery .col-md-offset-2 {
        margin-left: 0%;
    }
}
@media (min-width: 992px) {
    .page-node-5176 .col-md-8,
    .page-node-type-gallery .col-md-8 {
        width: auto;
    }
}
@media (min-width: 992px) {
    .page-node-5176 .views-row.col-md-6:nth-child(2n+1),   
    .views-row.col-md-4:nth-child(3n+1), .views-row.col-md-3:nth-child(4n+1) {
        clear: none;
    }
}


/* SEARCH FILTERS */
input.form-text, input.form-tel, input.form-email, input.form-url, input.form-search, input.form-file, input.form-number, input.form-color {
    font-size: 14px;
    padding: 10px 15px;
    border: 1px solid #c5c5c5;
    line-height: 1;
    height: 30px;
}
select.form-select, select {
    height: 30px;
    border: 1px solid #c5c5c5;
    padding: 5px 15px;
}
select {
    margin:  0;
}
.form-item {
    margin:  0 0.5em 1em 0;
}
input[type="submit"] {
    margin-top: 0;
    margin-bottom: 8px;
}
.view-header {
    margin-bottom: 10px;
}

/*---------------------------
COMMITTEE page
---------------------------*/
table .officials img {
    float: left;
    border: 1px solid;
    margin: 0 10px 5px 0;
}
table .officials h2,
table .officials h3 {
    margin: 0;
}
table .officials h2 {
    color: #11386F;
}
table .officials h3 {
    margin-bottom: 5px;
    font-style: italic;
    font-weight: normal;
}

/* LOG IN BLOCK */
#block-userlogin {
    border: solid #F2082E 1px;
    padding: 15px;
}

/* LANDING PAGES */
.views-field-field-news-date, 
.views-field-field-newsletter-date, 
.views-field-field-date-judgement, 
.views-field-start-date {
    font-style:italic;
    border-top:  1px solid;
    padding-top: 10px;
}

.view-display-id-spotlight td.views-field-field-photo {
    width: 30%;

}
/* SEARCH PAGE */
.view-search .views-field-field-news-date, 
.view-search .views-field-field-newsletter-date, 
.view-search .views-field-field-date-judgement, 
.view-search .views-field-start-date {
    border: none;
}
.view-search .views-field-title {
    padding-top: 15px;
    border-top:  1px solid;
    margin-bottom: 0;
}
.views-field-search-api-excerpt {
    padding-bottom: 15px;
}

.views-field-summary {
    padding-bottom:  10px;
}

a {
  color: ##d6788f;
  text-decoration: underline;
}

ul.menu a.is-active {
    color: #F2082E;
}
ul.menu li.active-trail {
    background-color: #c8bc78;
}

/*---------------
MEMBERSHIP APPLICATION FORM & PROFILE
----------------*/

.crm-contribution-page-id-1 .editrow_current_employer-section input,
.crm-contribution-page-id-2 .editrow_current_employer-section input,
.civicrm-user-profile .editrow_current_employer-section input {
    width: 300px;
}
.crm-contribution-page-id-1 .crm-profile h2,
.civicrm-user-profile .crm-profile-name-name_and_address h2 {
    margin: 10px 0;
    font-weight: 400;
}
/* #block-adjudication-local-tasks ul.tabs, */
.civicrm-user-profile h3 {
    display: none;
}
.crm-container div.select2-container {
    min-width: 200px;
}

.editrow_custom_9-section table td {
    white-space: nowrap;
}

/* PAYMENT PAGES */
/* Price set label on Conference pack page */
.crm-contribution-page-id-3 #priceset label {
    font-size: 150%;
}

.crm-container .crm-section .content {
    margin-left: 25%;
}


a.button, input[type="submit"], 
input[type="reset"], 
input[type="button"] {
    background-color: #AA3048;
}

.view-events .views-field-nothing {
  padding-bottom: 30px;
}

#additional_participants {
  width: 50px;
}

.col-md-4 #sidebar-second {
        padding-left: 30px;
    }

/* Changes for three-column on large screen 
Homepage 72
*/
@media (min-width: 992px) {
    .page-node-72 .col-md-offset-2 {
        margin-left: 0%;
    }
    .page-node-72 .col-md-8 {
        width: 100%;
    }
    .page-node-72 .views-row.col-md-6:nth-child(2n+1) {
        clear: none;
    }
    #pre-header .col-md-8 {
        width: 66.66666667%;
    }
    .page-node-72 .views-row {
        padding-bottom: 20px;
    }
    .col-lg-4 {
        width: 33.33333333%;
    }
    .layout__region--first {
        padding-right: 5%;
    }
    .layout__region--second {
        padding-left: 3%;
    }
}
.page-node-72 .block-views-blockpast-events-block-1 h2.title {
    color: #83123f;
}

/*---------------
PLEDGE FORM
----------------*/
.crm-profile-name-Name_and_Address_Copy_id_14 .crm-container,
.crm-profile-name-unknown .crm-container,
.crm-profile-name-Name_and_Address_Copy_id_14 .crm-container label,
.crm-profile-name-Name_and_Address_Copy_id_14 p,
.crm-profile-name-unknown .crm-container label,
.crm-profile-name-unknown p {
    font-size: 13px;
}

.crm-profile-name-Name_and_Address_Copy_id_14 .editrow_custom_3-section label,
.crm-profile-name-Name_and_Address_Copy_id_14 .editrow_custom_4-section label,
.crm-profile-name-Name_and_Address_Copy_id_14 .editrow_custom_5-section label,
.crm-profile-name-Name_and_Address_Copy_id_14 .editrow_custom_6-section label,
.crm-profile-name-unknown .editrow_custom_3-section label,
.crm-profile-name-unknown .editrow_custom_4-section label,
.crm-profile-name-unknown .editrow_custom_5-section label,
.crm-profile-name-unknown .editrow_custom_6-section label  {
    white-space: pre-wrap;
}

.user-register-form input {
    max-width: 200px;
}
.user-register-form #edit-mail--description {
    max-width: 300px;
}

/*---------------
PLEDGE FORM ADMIN
----------------*/

.view-pledge-signers h2 {
    border-top: dotted;
    padding-top: 20px;
}
.view-pledge-signers .field--name-status-id select {
    width: 150px;
}
.view-pledge-signers .description {
    display: none;
}

/*---------------
FIXES FOR MOBILE
----------------*/

@media (max-width: 767px) {
    #block-homepageintroblock {
        display: none;
    }
    .logo {
        width:  auto;
        transform: none;
        -webkit-transform: none;
    }
}

@media (max-width: 500px) {
    /* Committee page, wrap around photos */
    .page-node-5054 table .officials h2 {
        clear: left;
    }
    /* hamburger menu */
    .colored-area a {
        color: #5a5a5a;
    }
}
