/*
 Theme Name:   UCLA-WP Child
 Theme URI:    http://stratcomm.ucla.edu
 Description:  UCLA Strategic Communications Child Theme
 Author:       Strategic Communications
 Author URI:   http://stratcomm.ucla.edu
 Template:     ucla-wp
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         ucla, child
 Text Domain:  uclawpchild
*/

a, a:visited {
    color: #00598C;
    text-decoration: none;
  }
  
  a:hover {
    color: #ffffff !important;
    background: #0079BF;
  }
  
  a:active {
    color: #ffffff;
    background: #003B5C;
  }
  
  a:focus {
    outline: 1px dotted #00598C;
  }
  nav#menu div[class^="menu"]>ul li a {
      display: block;
  }
  #header .site-name a {
      font-size: 18px;
  }
#header .site-name a:hover {
    color: #000 !important;
}
.emergency-banner-wrapper {
    padding: 24px 24px 0
}

.emergency-banner-wrapper .alert {
    padding-top: 16px;
    padding-bottom: 0;
    max-width: 1176px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
    border-width: 3px;
}

.custom-template-hero img {
    height: auto !important;
}

.ucla.campus p, .ucla.campus.entry-content h2 {
    padding-bottom: 0px;
}

/* Emulate Web Components Grid with Gutenberg Columns */
.wp-block-columns {
    position: relative;
    max-width: 1176px;
    margin: 0 auto;
    padding-left: 12px;
    padding-right: 12px;
}

/* Force Gutenberg Columns to Equal Height */
.wp-block-column.equal-height {
    display: flex;
}

.blade {
    padding-top: 64px;
    padding-bottom: 64px;
}

.light-grey {
    background: #e7e7e8;
}

.light-grey.tall-65 {
    position: relative;
}

.light-grey.tall-65 .white-35 {
    height: 35%;
    display: block;
    position: absolute;
    top: 0;
    width: 100%;
    background: #ffffff;
}

#menu div[class^="menu"] ul li a {
    width: auto;
}
.entry-content time {
    margin-bottom: 0.5rem;
}
.entry-content h2.wp-block-post-title {
    line-height: 24px;
}

.event-featured.archive-match > img {
    max-width: 100%;
    height: auto;
}

.entry-content-events-future h2 {
    font-size: 24px;
    line-height: 27px;
}

.entry-content-events-future h2 a:hover {
    color: white !important;
}

.entry-content-events-future .event-info {
    margin-bottom: 8px;
}

.archive.post-type-archive.post-type-archive-events .entry-content-events--sponsor {
    color: #666;
}

.blade-resources-border {
    border-top: 1px solid #E5E5E5;
}
.basic-card__info-wrapper > a.link {
    display: inline-block;
    text-decoration: none;
    font-weight: bold;
    margin-bottom: 16px;
    overflow-wrap: break-word;
}
.twitter-widget {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: flex-start;
    flex-wrap: wrap;
    background: #daebfe;
    margin-top: 48px;
    padding: 32px;
}

.twitter-widget h3::before {
    content: '';
    background: url('/wp-content/themes/ucla-wp-child/images/icons/social-icons/twitter-color.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 35px;
    height: 35px;
}

.twitter-widget>h3 {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-bottom: 16px;
}

.twitter-widget>h3,
.twitter-widget>p {
    padding: 0;
}

.twitter-widget > a.btn {
    margin-top: 16px;
}

.ucla.campus .col:first-child {
    margin-left: 0;
}
.single-events h1.entry-title {
    padding-bottom: 24px;
}
.single-events main#main .header, .search-results main#main .header, .single-post main#main .header {
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 32px;
}
.search-results main#main .header h1 {
    padding-top: 8px;
}

.single-events .header .ucla.campus {
    padding-top: 58px;
    padding-bottom: 58px;
}
.event-card-info__time {
    margin-right: 16px;
    align-items: center;
}
.event-card-info__time svg {
    width: 16px;
    height: 16px;
    margin-top: -3px;
    margin-right: 6px;
}

.event-featured.archive-match {
    max-height: 214px;
}

.send-message {
    background: #005587;
    font-weight: bold;
    padding: 40px 0;
}
.send-message p  {
    color: #ffffff;
}
.send-message p a {
    color: #333 !important;
    margin-top: 16px;
    display: inline-block;
}

.send-message p a:hover {
    background: #FFE500 !important
}

.col {
    min-height: 1px;
}

/* UCLA Unordered List */
ul:not(.wp-block-post-template) {
    list-style: none;
    line-height: 24px;
    padding-left: 28.5px;
}

ul:not(.wp-block-post-template) li {
    margin-bottom: 16px;
}

ul:not(.wp-block-post-template) li::before {
    content: "▪";
    color: #2774ae;
    width: 3em;
    margin-left: -18px;
    padding-right: 13px;
}

.accordion__content h4 {
    padding-bottom: 0;
    margin-top: 36px;
    margin-bottom: 24px;
}

.accordion__content h4:first-child {
    margin-top: 0;
}

.feedback {
    padding-top: 66px;
}

.feedback .page-header {
    border-bottom: none;
    margin-bottom: 36px;
}

.feedback .page-header .entry-title {
    padding: 8px 0 24px 0;
}

.feedback input[type='text'], .feedback input[type='email'] {
    box-sizing: border-box;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background: #EBEBEB;
    background-size: 24px;
    font-size: 16px;
    line-height: 24px;
    padding: 8px 24px 8px 16px;
    border: 1px solid #808080;
    border-radius: 2px;
    color: #666666;
    max-width: 775px;
    width: 100%;
    margin-top: 8px;
}

.feedback textarea {
    box-sizing: border-box;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background: #EBEBEB;
    background-size: 24px;
    font-size: 16px;
    line-height: 24px;
    padding: 8px 24px 8px 16px;
    border: 1px solid #808080;
    border-radius: 2px;
    color: #666666;
    max-width: 775px;
    width: 100%;
    height: 160px;
    margin-top: 8px;
}

.feedback input[type='submit'] {
    padding: 12px 16px 8px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 2px;
    border: 2px solid transparent;
    line-height: 1.25;
    cursor: pointer;
    display: inline-block;
    text-decoration: none;
    background: #00598C;
    color: #FFFFFF;
    margin-top: 1px;
}

.wpcf7-form-control-wrap.email {
    padding: 0;
    background: none;
}

/* Accordion override */
.accordion {
    margin: 0 !important;
}

/* Gutenberg column gap override */
@media (min-width: 782px) {
    .wp-block-column:not(:first-child) {
        margin-left: 1.6%;
    }

    .single-events .header .ucla.campus {
        display: flex;
        align-items: center;
    }

    .twitter-widget {
        flex-direction: row;
        align-items: center;
    }

    .twitter-widget>h3,
    .twitter-widget>a.btn {
        margin-top: 0;
        margin-bottom: 0;
    }
    #header .site-name a {
        font-size: 36px;
    }
    .send-message p a {
        margin-top: 0;
    }

   
    .header h1.article-header {
        padding-bottom: 64px !important;
    }
}

@media (min-width: 1024px) {
    .single-events main#main .header, .archive main#main .header {
        margin-bottom: 64px;
    }

    .archive main#main .header {
        border-bottom: 1px solid #e5e5e5;
        padding: 34px 0;
    }
}