/* indents */
/** copied from MISC BLOCK MODS when stand alone file failed **/
.eecsIndented ul.wp-block-archives.wp-block-archives-list,
ul.wp-block-archives.is-style-indented.wp-block-archives-list,
.eecsIndented .ul.wp-block-categories.wp-block-categories-list,
ul.wp-block-categories.wp-block-categories-list.is-style-indented,
.course-list-wrapper.is-style-indented {
    margin-left:5rem ! important;
    margin-right:5rem ! important;
}
ul.is-style-indented,
.eecsIndented ul,
ol.is-style-indented,
.eecsIndented ol,
ul.is-style-indented-word-list,
ol.is-style-indented-word-list {
    margin-left:6rem ! important;
    margin-right:6rem ! important;
}
.wp-block-audio.is-style-indented,
.wp-block-code.is-style-indented,
.eecsIndented h1,
h1.is-style-indented,
.eecsIndented h2,
h2.is-style-indented,
.eecsIndented h3,
h3.is-style-indented,
.eecsIndented h4,
h4.is-style-indented,
.eecsIndented h5,
h5.is-style-indented,
.eecsIndented h6,
h6.is-style-indented,
.eecsIndented p,
p.is-style-indented,
.eecsIndented .div-bread-bag,
.div-bread-bag.is-style-indented,
.wp-block-file.is-style-indented,
.wp-block-preformatted.is-style-indented,
.wp-block-image.is-style-indented,
#eecs-main ul.wp-block-gallery.is-style-indented,
.wp-block-verse.is-style-indented,
.accordion-item.is-style-indented {
    margin-left:4rem ! important;
    margin-right:4rem ! important;
}

table.wp-block-table.is-style-indented,
#eecs-main blockquote.is-style-indented {
    margin:20px auto ! important;
    width:84% ! important;
}

.wp-block-separator.is-style-indented {
    max-width:84% ! important;
    border-bottom-width: 1px;
}

/* Hayleys media & text */
.eecs-33-66 { 
	display:flex;
	justify-content:space-between;
	flex-wrap:nowrap;
}
.eecs-33-66 .wp-block-media-text__media {
	width:33%;
	margin-top:0 ! important;
	margin-bottom:0 ! important;
	display:flex;
	padding:0;
	align-self:flex-start;
}
.eecs-33-66 .wp-block-media-text__content {
	width:66%;
	padding:0 0 0 1em;
	align-self:flex-start;
}
.wp-block-media-text {
  margin-bottom:20px;
}
.wp-block-media-text__content p.has-large-font-size {
  margin-bottom:0px ! important;
}
.wp-block-media-text.is-vertically-aligned-top figure.wp-block-media-text__media {
  margin-top:0 ! important;
}
figure + .wp-block-media-text__content {
  padding:0 0 0 2% ! important;
}
.has-media-on-the-right figure + .wp-block-media-text__content {
  padding:0 2% 0 0;
}


/* not-so-fancy list */
ol, 
ol.is-style-indented-word-list,
ol.is-style-default-word-list {
    list-style-type:decimal;
    margin-left:2rem;
}
ol li, 
ol.is-style-indented-word-list li,
ol.is-style-default-word-list li {
    margin-bottom:0.5rem ! important;
    margin-top:0.5rem ! important;
}
ol li ol, 
ol.is-style-indented-word-list li ol,
ol.is-style-default-word-list li ol {
    list-style-type:lower-alpha;
    margin-left:1.1rem;
    margin-bottom:0 ! important;
}
ol li ol li ol, 
ol.is-style-indented-word-list li ol li ol,
ol.is-style-default-word-list li ol li ol {
    list-style-type:lower-roman;
    margin-left:1rem;
}
ul, 
ul.is-style-indented-word-list,
ul.is-style-default-word-list {
    list-style-type:disc;
    margin-left:2rem;
}
ul li, 
ul.is-style-indented-word-list li,
ul.is-style-default-word-list li {
    margin-bottom:0.5rem ! important;
    margin-top:0.5rem ! important;
}
ul li ul, 
ul.is-style-indented-word-list li ul,
ul.is-style-default-word-list li ul {
    list-style-type:circle;
    margin-left:1.1rem;
    margin-bottom:0 ! important;
}
ul li ul li ul, 
ul.is-style-indented-word-list li ul li ul,
ul.is-style-default-word-list li ul li ul {
    list-style-type:square;
}

/* Sidebar News */
.sidebar_news_wrapper {
  border-top:1px solid #000000;
  padding-top:20px;
}
.sidebar_news_wrapper h2 {
  font-size:22px ! important;
  margin-bottom:0 ! important;
  color:#1F3864 ! important;
  font-weight:bold ! important;
}
.sidebar_news_wrapper .newshome_feed_text {
  flex-basis:100%;
  margin:1em 0;
}
.sidebar_news_wrapper .newshome_feed_text h3 {
  font-size:17px ! important;
  margin-bottom:0 ! important;
  font-weight:normal ! important;
}
a.faculty_sidebar_news:hover .newshome_feed_text,
a.faculty_sidebar_news:hover .newshome_feed_text h3,
a.faculty_sidebar_news:hover .newshome_feed_excerpt,
a.faculty_sidebar_news:hover .newshome_feed_more,
a.faculty_sidebar_news:hover .newshome_feed_more2,
a.sidebar-news-read-more:hover {
    color: #407EC9 ! important;
    font-weight:normal ! important;
}
a.sidebar-news-read-more {
  font-size:17px ! important;
  color:#000000 ! important;
  font-family: "IBM Plex Sans";
}

/* EDITOR */
.editor-block-list__layout .editor-block-list__block .editor-block-list__block-edit::before {
    border:1px dotted #dddddd;
}

.wp-block {
    max-width: 90%;
}

/* RESPONSIVE */
@media all and (max-width:980px) {
    .eecsIndented ul.wp-block-archives.wp-block-archives-list,
    ul.wp-block-archives.is-style-indented.wp-block-archives-list,
    .eecsIndented .ul.wp-block-categories.wp-block-categories-list,
    ul.wp-block-categories.wp-block-categories-list.is-style-indented,
    .course-list-wrapper.is-style-indented {
        margin-left:1rem ! important;
        margin-right:1rem ! important;
    }
    ul.is-style-indented,
    .eecsIndented ul,
    ol.is-style-indented,
    .eecsIndented ol {
        margin-left:2rem ! important;
        margin-right:2rem ! important;
    }
    .wp-block-audio.is-style-indented,
    .wp-block-code.is-style-indented,
    .eecsIndented h1,
    h1.is-style-indented,
    .eecsIndented h2,
    h2.is-style-indented,
    .eecsIndented h3,
    h3.is-style-indented,
    .eecsIndented h4,
    h4.is-style-indented,
    .eecsIndented h5,
    h5.is-style-indented,
    .eecsIndented h6,
    h6.is-style-indented,
    .eecsIndented p,
    p.is-style-indented,
    .eecsIndented .div-bread-bag,
    .div-bread-bag.is-style-indented,
    .wp-block-file.is-style-indented,
    .wp-block-preformatted.is-style-indented,
    .wp-block-image.is-style-indented,
    #eecs-main ul.wp-block-gallery.is-style-indented,
    .wp-block-verse.is-style-indented {
        margin-left:2rem ! important;
        margin-right:2rem ! important;
    }
    table.wp-block-table.is-style-indented,
    #eecs-main blockquote.is-style-indented {
        margin:20px auto ! important;
        width:94% ! important;
    }
    .wp-block-separator.is-style-indented {
        max-width:94% ! important;
        border-bottom-width: 1px;
    }
}
@media all and (max-width:767px) {
    .eecsIndented ul.wp-block-archives.wp-block-archives-list,
    ul.wp-block-archives.is-style-indented.wp-block-archives-list,
    .eecsIndented .ul.wp-block-categories.wp-block-categories-list,
    ul.wp-block-categories.wp-block-categories-list.is-style-indented,
    .course-list-wrapper.is-style-indented {
        margin-left:0 ! important;
        margin-right:0 ! important;
    }
    ul.is-style-indented,
    .eecsIndented ul,
    ol.is-style-indented,
    .eecsIndented ol {
        margin-left:1rem ! important;
        margin-right:1rem ! important;
    }
    .wp-block-audio.is-style-indented,
    .wp-block-code.is-style-indented,
    .eecsIndented h1,
    h1.is-style-indented,
    .eecsIndented h2,
    h2.is-style-indented,
    .eecsIndented h3,
    h3.is-style-indented,
    .eecsIndented h4,
    h4.is-style-indented,
    .eecsIndented h5,
    h5.is-style-indented,
    .eecsIndented h6,
    h6.is-style-indented,
    .eecsIndented p,
    p.is-style-indented,
    .eecsIndented .div-bread-bag,
    .div-bread-bag.is-style-indented,
    .wp-block-file.is-style-indented,
    .wp-block-preformatted.is-style-indented,
    .wp-block-image.is-style-indented,
    #eecs-main ul.wp-block-gallery.is-style-indented,
    .wp-block-verse.is-style-indented {
        margin-left:1rem ! important;
        margin-right:1rem ! important;
    }
}

.components-base-control .components-base-control__label {
    display:block;
}
.components-base-control select { width:100% ! important; }

figure.is-style-remove-margin, #eecs-main .is-style-remove-margin figure { margin-top:0 ! important; margin-bottom:0 ! important; padding-top:0 ! important; padding-bottom:0 ! important; }


/* Accordion */
ul.accordion {
  background: transparent;
}
ul.accordion > li.accordion-item {
  background: #fefefe;
  margin: 1em 0;
  transition: all 0.2s ease-in-out;
}
ul.accordion > li.accordion-item:hover {
  box-shadow: 0 10px 19px 0 rgba(0, 0, 0, 0.22);
}
ul.accordion > li.accordion-item:first-child>:first-child {
  border-radius: 0;
}
ul.accordion > li.accordion-item > a.accordion-title,
ul.accordion > li.accordion-item > .accordion-content {
  border: 1px solid #efefef!important;
}
ul.accordion > li.accordion-item:hover > a.accordion-title,
ul.accordion > li.accordion-item:hover > .accordion-content {
  border-color: #e5e5e5!important;
}
ul.accordion > li.accordion-item > a.accordion-title {
  background: #fefefe!important;
  color: inherit;
  font-size: 1em;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
ul.accordion > li.accordion-item a.accordion-title:before {
  color: #7a121c;
  content: '>';
  font-weight: normal;
  transform: rotate(0);
  transition: all 0.2s ease-in-out;
}
ul.accordion > li.accordion-item.is-active a.accordion-title:before {
  transform: rotate(90deg);
}
ul.accordion > li.accordion-item > .accordion-content {
  margin-top: -1px;
}

/* Table */
table.wp-block-table {
  border: 1px solid #b0b0b0;
  margin: 1em 0;
  text-align: center;
  width: 100%;
}
table.wp-block-table thead,
table.wp-block-table tfoot {
    font-family: "IBM Plex Sans Condensed";
    font-weight: 600;
}
table.wp-block-table thead tr,
table.wp-block-table tfoot tr {
    background-color: #d6d6d6;
}
table.wp-block-table thead + tbody,
table.wp-block-table tbody + tfoot,
table.wp-block-table tr + tr {
    border-top: 1px solid #b0b0b0;
}
table.wp-block-table th,
table.wp-block-table td {
    padding: 1em;
    text-align: center;
}
table.wp-block-table th + th,
table.wp-block-table td + td {
    border-left: 1px solid #b0b0b0;
}

/* Blockquote */
@-webkit-keyframes headShake {
    0% {-webkit-transform:translateX(0);transform:translateX(0)}
    6.5% {-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translateX(-6px) rotateY(-9deg)}
    18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translateX(5px) rotateY(7deg)}
    31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translateX(-3px) rotateY(-5deg)}
    43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translateX(2px) rotateY(3deg)}
    50%{-webkit-transform:translateX(0);transform:translateX(0)}
}
@keyframes headShake{
    0%{-webkit-transform:translateX(0);transform:translateX(0)}
    6.5%{-webkit-transform:translateX(-6px) rotateY(-9deg);transform:translateX(-6px) rotateY(-9deg)}
    18.5%{-webkit-transform:translateX(5px) rotateY(7deg);transform:translateX(5px) rotateY(7deg)}
    31.5%{-webkit-transform:translateX(-3px) rotateY(-5deg);transform:translateX(-3px) rotateY(-5deg)}
    43.5%{-webkit-transform:translateX(2px) rotateY(3deg);transform:translateX(2px) rotateY(3deg)}
    50%{-webkit-transform:translateX(0);transform:translateX(0)}
}
#eecs-main blockquote.visible {
    animation-delay: 0.5s;
    animation-iteration-count: 2;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
    -webkit-animation-name: headShake;
    -webkit-animation-duration: 1s;
    animation-name: headShake;
    animation-duration: 1s;
}
#eecs-main blockquote {
    width: 100%;
    border-left: 5px solid #ffcb05;
    background-color: #fefefe;
    position: relative;
    margin-bottom: 1em;
    font-family: "IBM Plex Sans Condensed";
}
#eecs-main blockquote p {
    margin-top: 1em;
    color:#131516;
    font-size: 2.3rem;
    line-height: 1.1;
    font-family: "IBM Plex Sans Condensed";
    /*text-transform:uppercase;*/
    padding: 2rem 0;
    font-weight:600;
}
#eecs-main blockquote:before {
    content: "“";
    /*content: '\f10d';*/
    /*font-family: FontAwesome;*/
    font-family: "IBM Plex Sans Condensed";
    display: inline-block;
    color: #ffcb05;
    background-color: #fefefe;
    position: absolute;
    top: 0;
    left: -10px;
    font-size:5rem;
    height:30px;
}
#eecs-main blockquote *:not(cite) {
    margin-left: 2rem;
    /*margin-right: 2rem;*/
}
#eecs-main blockquote p:last-of-type {
    margin-bottom: 0;
}
#eecs-main blockquote cite {
  display: block;
  font-style:italic;
  text-align: right;
  color:#4a4a4a;
  font-size:0.75rem;
}
#eecs-main blockquote cite:before {
  content: "—";
}
#eecs-main .wp-block-pullquote blockquote {
    border-left:none;
    font-family: "IBM Plex Sans";
    background:transparent;
    width:90%;
    max-width:90%;
    margin-right:auto;
    margin-left:auto;
}
#eecs-main .wp-block-pullquote blockquote:before {
    display:none;
}
#eecs-main .wp-block-pullquote blockquote p {
    font-family: "IBM Plex Sans";
    text-transform:none;
    padding:1rem 0;
    font-weight:400;
    margin-top:0;
}
#eecs-main .wp-block-pullquote blockquote cite {
    text-align:center;
}
#eecs-main .wp-block-pullquote.is-style-solid-color blockquote {
    width:90%;
    max-width:90%;
}
#eecs-main .wp-block-pullquote.is-style-solid-color cite {
    text-align:left;
    margin-left:2rem;
}


@media all and (max-width: 50em) {
    blockquote *:not(cite) {
        font-size: 28px;
    }
}
@media all and (max-width: 37.5em) {
    blockquote *:not(cite) {
        font-size: 22px;
        margin-left: 1em;
        margin-right: 1em;
    }
}

/* Video */
.wp-block-embed__wrapper {
    /*padding-bottom: 56.25%;*/
    position: relative;
}
.wp-block-embed__wrapper iframe {
    height: 35vw;
    max-height: 470px;
    width:100%;
}
.wp-block-embed + h2 {
    margin-top:1em;
}

/* Image Caption */
.single_image_wrapper figcaption {
  padding-top:6px;
}
figcaption,
.single_image_wrapper figcaption,
.wp-block-image figcaption {
  color: #0b111d;
  font-size: 12px ! important;
  text-align: left;
}
.wp-block-image.center figcaption,
.single_image_wrapper.center figcaption {
  text-align: center;
}
.wp-block-image.right figcaption,
.single_image_wrapper.right figcaption {
  text-align: right;
}
.wp-block-image .alignright figcaption,
.single_image_wrapper.alignright figcaption {
  padding-left:0.5em;
}
.wp-block-image figure.alignleft,
.single_image_wrapper.alignleft {
    clear:both;
}
@media all and (max-width: 37.5em) {
    .wp-block-image figure.alignleft,
    .wp-block-image figure.alignright,
    .wp-block-image figure.aligncenter {
        float: none;
        margin: 0 auto;
    }
}

/* Form */
form fieldset {
  border: 0;
}

form label {
  display: block;
  font-size: 14px;
  margin: 2em 0 0.25em 0;
}

form input[type="text"],
form textarea {
  background: #fff;
  border: 1px solid #e6e8ed;
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
  min-height: 32px;
  padding: 0.5em;
  transition: all 0.2s ease-in-out;
  width: 100%;
}

form input[type="text"]:focus,
form textarea:focus {
  border-color: #407ec9;
  outline: 0;
}

form button {
  background: #00274c;
  border: 1px solid #00183d;
  border-radius: 0;
  color: #ffcb05;
  font: 14px/1 "IBM Plex Mono";
  margin: 2em 0 1em 0;
  min-width: 180px;
  padding: 1em;
  text-align: center;
  transition: all 0.2s ease-in-out;
}

form button:active,
form button:focus {
  background: #407ec9;
  border-color: #2c6ab5;
  color: #000e33;
  outline: 0;
}

form button:hover {
  background: #ffcb05;
  border-color: #f5c100;
  box-shadow: 0 10px 19px 0 rgba(0, 0, 0, 0.22);
  color: #000e33;
}



/* Content - Headings */
#eecs-main h1,
#eecs-main h2,
#eecs-main h3,
#eecs-main h4 {
  color: #333;
  font-weight: 600;
  line-height:1.1;
}
#eecs-main h1 + h2 {
    margin-top:0.6em;
}

#eecs-main h1 {
  font-size: 3em;
  margin-bottom: 0.125em;
}
#eecs-main h1 + figure {
    margin-top:2em;
}
#eecs-main figure {
    margin-top:2em;
    margin-bottom:2em;
}
.wp-block-cbd-eecs-block-div-map-embed + h1,
figure + h1,
.wp-block-cbd-div-cover-block-div-cover + h1 {
    margin-top:0.5em;
}
figure + h2,
.wp-block-image + h3,
.divcover + p,
.divcover + div:not(.e2cv) {
    margin-top:1em;
}

#eecs-main h2 {
  font-size: 2.25em;
  margin-bottom: 0.25em;
}

#eecs-main p + h2,
#eecs-main ul + h2,
#eecs-main ol + h2,
#eecs-main iframe + h2,
#eecs-main .i2c + h2 {
    margin-top: 1.5em;
}

#eecs-main h3 {
  font-size: 1.5em;
  margin-bottom: 0.5em;
}

#eecs-main h4 {
  font-size: 1em;
  margin-bottom: 0.75em;
}

/* Content - Text */
#eecs-main p,
#eecs-main ul:not(.wp-block-gallery),
#eecs-main ol {
  line-height: 1.5;
  margin-bottom: 1.5em;
}
/* tg */
#eecs-main ul.wp-block-gallery {
    margin-left:0;
}

/* Content - Columns */
#eecs-main .wp-block-columns {
  margin-left: 0;
  margin-bottom: 20px;
  max-width: 100%;
  display:flex;
}

/* Content - Columns with no margin */
.wp-block-columns.no-margin .wp-block-column {
  margin: 0 0 1em 0;
}

/* Fancybox css updates */
#fancybox-overlay {
  background-color: #333333 !important;
}

@media all and (max-width: 50em) {
  #eecs-main ul:not([class]):not([id]),
  #eecs-main ol:not([class]):not([id]) {
    padding-left: 0;
  }
}

@media all and (max-width: 48em) {
  #eecs-main h1 {
    font-size: 1.5em;
  }
  #eecs-main h2 {
    font-size: 1.25em;
  }
  #eecs-main h3 {
    font-size: 1.125em;
  }
}

@media all and (max-width:1335px) {
    .wp-block-embed__wrapper iframe {
        height: 37vw;
    }
}

@media (max-width: 781px) {
    .wp-block-column {
        flex-basis:100%;
    }
    .wp-block-column:not(:last-child) {
        margin-right:16px;
        margin-left:16px;
    }
    .wp-block-column:not(:first-child), .wp-block-column:nth-child(2n) {
        margin-right:16px;
        margin-left:16px;
    }
}
@media all and (max-width:767px) {
    .wp-block-embed__wrapper iframe {
        height: 55vw;
    }
}

.plain-links a {
    text-decoration:none ! important;
}

.hide-this {
  display:none ! important;
}

.i2c_card2body p, .i2c_card_body p, .i2c_card2body.i2c_card_body p {
  font-size:1rem;
}