/**
 * Place your custom styles here.
 */
.view-frontpage {
  display: none;
}
* {
    font-family:Roboto;
}
body {
  margin-top: 0;
  /* font-family: "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif; */
  font-size: 16px;
  line-height: 1.428571429;
  color: #555;
  background-color: #ffffff;
}

.main-container h1 {
  font: 500 38px / 44px Roboto;
  color: #555555;
}

h2 {
  font: 300 32px / 44px Roboto;
  color: #555555;
	padding: 0;
}

h3 {
  font: 500 26px / 30px Roboto;
  color: #555555;
}

h4 {
  font: 400 20px / 30px Roboto;
  color: #555555;
  /* letter-spacing: 0.5px; */
  margin: 0;
}

h5 {
  font: 900 16px / 1.428571429em Roboto;
  margin: 0;
}

h6 {
  font: 700 14px / 1.428571429em "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 0;
}

ul {
  padding-left: 0;
}

li {
  list-style-type: square;
}

.bold {
	font-weight: bold;
}

#banner-top {
	width: 100%;
	padding: 0;
}

/* Coronavirus banner */
.virus-banner {
background: #FC8900;
color: #000;
}

.virus-banner a {
  color: #000;
  text-decoration: underline;
}

/* Header and navbar*/
header.navbar {
  display: flex;
  align-items: center;
  height: 150px;
  background-color: #006A96;
  border: none;
  border-radius: 0;
  /*  background: url('/sites/imdd.ucsd.edu/files/images/bg_150.jpg') repeat-x;
		*/
}
/* header.navbar .container {
  padding: 1em 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
} */

.navbar-collapse li::marker {
  content: none;
}
header.navbar .row {
  display: flex;
  margin-top: -20px;
}
.masthead {
  margin-bottom: 5%;
}

.page-header {
  font-size: 38px;
  margin: 40px 0;
  width: fit-content;
}

.region-sidebar-second h2 {
  margin:0;
}

.drupal_announcements_block h2 {
  margin-top: 20px;
  margin-bottom: 10px;
}
.navbar {
  margin-bottom: 0;
  box-shadow: 0px 1px 2px 0px rgb(200, 200, 200);
}

.navbar-nav>li>a,
.menu--launch-celebration-menu>li>a {
  color: #49a5d3;
  padding-top: 12px;
  padding-bottom: 9px;
  font-weight: 700;
}

.navbar-header, .navbar-collapse {
  box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.28);
}

.center-name a {
  background: url('/sites/imdd.ucsd.edu/files/images/IMDD-wordmark-v2-white.svg') no-repeat;
  height: 65px;
  font-size: 0;
  display: block;
  margin-bottom: -70px;
  background-size: 100%;
  position: relative;
  z-index: 6;
}

.logo-jacobs-school-right img {
  max-width: 250px;
  height: auto;
  font-size: 0;
  display: block;
}

ul.nav {
  /* padding-left: 220px; */
  width: 100%;
}

ul.nav li {
  margin-right: 0;
  margin-left: 0;
  float: left;
}

ul.nav li a {
  color: #49a5d3;
  padding: 12px 15px 9px 15px;
  font-weight: 700;
}
.navbar-collapse .container {
  padding: 0;
}
.banner-image {
  width: 100vw;
  position: relative;
  left: 50%;
  height: 22em;
  background-size: cover;
  right: 50%;
  margin-left: -44vw;
  margin-right: -50vw;
  display: flex;
  justify-content: center;
  align-items: center;
}
.banner-image h2 {
  color: #fff;
  width: 400px;
}
/* Jumbotron */
.jumbotron {
  min-height: 450px;
  padding: 0;
}
.jumbotron h1 {
  font: 300 38px / 44px Roboto, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #fff;
  margin-top: 380px;
  margin-bottom: 40px;
  text-shadow: 1px 1px 2px #454545;
  float: left;
}
.home-jumbotron {
    background: url(/sites/imdd.ucsd.edu/files/images/IMDD-web_hero_dim.jpg) no-repeat;
    background-size: cover;
    padding: 10%;
  }
.home-jumbotron.launch {
  text-align: center;
  padding: 5%;
}
.home-jumbotron p {
    margin-top: 5px;
}
.home-jumbotron img {
  max-height: 225px;
  /* border-top: 1px solid white;
  border-bottom: 1px solid white;
  padding: 20px 0 15px 0; */
}

.field--type-text-with-summary {
  margin-bottom: .5em;
}

.drupal_announcements_block {
  margin-top: 15px;
}

/* News */
.news-block .mb-4.mt-3 {
	margin-bottom: 1em;
}
.news-block .pr-2 {
	margin-right: 1em;
}
.news-block .mb-4.mt-3 a {
	margin-right: .25em;
}
.news-block .mb-4.mt-3 a:before {
	content: "|  ";
}
.news-block .mb-4.mt-3 a:first-of-type:before {
	content: none;
}

.drupal_news_block .row {
  padding: 1em 0;
}
.drupal_news_archive_block {
  margin: -20px 0;
}
.drupal_news_archive_block h1 {
  padding-top: 1em;
}
.drupal_news_archive_block h4 {
  padding-bottom: 1em;
}
.rectangle {
  background: url(/sites/imdd.ucsd.edu/files/images/rectangle.png) no-repeat;
  width: 442px;
  height: 450px;
  float: right;
  margin-top: -450px;
  padding: 390px 0px 20px 100px;
  position: relative;
  z-index: 0;
}

.rectangle h3 {
  font-size: 13px;
  color: #666;
  font-weight: normal;
  margin-top: -20px;
  line-height: 20px;
  width: 90%;
}

.rectangle.rectangle-nobg {
  background: none;
  text-align: right;
}

.rectangle.rectangle-nobg h3 {
  color: #555;
  font-weight: bold;
}

/* Events */
.view-imdd-events h3 {
  margin-top: 5px;
}
.view-imdd-events h4 {
  margin-bottom: 15px;
}
.view-imdd-events .views-row {
  margin-bottom: 3em;
  padding-bottom: 3em;
  border-bottom: 1px solid #ddd;
}
.field--name-field-event-banner-image {
  padding: 10px;
}

@media all and (max-width: 768px) {
  .jumbotron {
    min-height: 250px;
  }

  .jumbotron h1 {
    margin-top: 200px;
  }

  .rectangle {
    display: none;
  }
}

.home-masthead {
  background: url(/sites/imdd.ucsd.edu/files/images/jumbotron-bg1.jpg) no-repeat;
  background-size: cover;
}

.home-jumbotron2 {
  background-size: cover;
}
.home-jumbotron3 {
  background-size: cover;
}
.about-masthead {
  background: url(/sites/imdd.ucsd.edu/files/images/jumbotron-bg2.jpg) no-repeat;
  background-size: cover;
}

.faculty-masthead {
  background: url(/sites/imdd.ucsd.edu/files/images/jumbotron-bg3.jpg) no-repeat;
  background-size: cover;
}

.research-masthead {
  background: url(/sites/imdd.ucsd.edu/files/images/jumbotron-bg4.jpg) no-repeat;
  background-size: cover;
}

.partner-masthead {
  background: url(/sites/imdd.ucsd.edu/files/images/jumbotron-bg5.jpg) no-repeat;
  background-size: cover;
}

/* Faculty */
.section-head {
	margin-top: 15px;
	margin-bottom: 22px;
}
.profile-row {
	margin-top: 1.5em;
	margin-bottom: 1.5em;
}

/* Industry Partners */
.flex-container {
  display: flex;
  align-items: center;
}

.industry-partner-logo img {
  margin: 20px auto;
  padding: 2em;
  width: auto;
  max-height: 125px;
}


/* Footer */
.fade-bg {
  background: url(/sites/imdd.ucsd.edu/files/images/fade-bg.png) repeat-x #eeeeee;
  height: 122px;
  margin-bottom: -45px;
}

.footer {
  font-size: 14px;
  padding-top: 40px;
  padding-bottom: 60px;
  background: #006A96;
  border-top: 1px solid #cccccc;
}
.footer,
.footer a,
.footer h4 {
  color: #fff;
}
.footer h4 {
    padding-bottom: 10px;
}
.footer ul {
  margin: 0;
  list-style: none;
}

.footer-info p {
  margin-bottom: 11px;
}

.footer-logo a {
  /* background: url(/sites/imdd.ucsd.edu/files/images/UCSDLogo_JSOE_White.png) no-repeat; */
  background-size: 100%;
  width: 158px;
  height: 54px;
  font-size: 0;
  display: block;
}
.social-media {
  padding: 40px 0 0 3px;
}
.social-media li {
  display: inline;
  padding-right: 10px;
}
.social-media p {
  margin-top: 15px;
}
.footer-logo {
  height: 54px;
}

.footer-tactical ul li+li:before {
  content: "	|	";
  padding: 0 10px;
}

.footer-social {
  padding: 14px 0 0 20px;
}

.footer-social ul li a {
  color: #aeaeae;
  font-size: 12px;
  margin-right: 2px;
}

.main.row {
  margin-top: 30px;
}
/* Main content (via page templates) */
.main-content ul li {
    list-style: disc;
    margin-left: 15px;
    padding-left: 5px;
    margin-bottom: 10px;
}
.main-content h3 {
	margin-bottom: 1em;
}
.main-content h3.panel-title {
	margin-bottom: 0;
	padding-bottom: 0;
}
.main-content .panel-body h3 {
	margin: 0;
}
.main-content ul li h3 {
	margin: 0;
}

/* Main content (via 66-33 Paragraph Type) */
.main-content ul li {
  list-style: disc;
  margin-left: 15px;
  padding-left: 5px;
  margin-bottom: 10px;
}

/* Sidebar (via page templates) */
.sidebar img {
	margin-bottom: 20px;
}
.sidebar h2 {
	font-weight: 400;
	margin-top: 0;
}
.sidebar-item {
	margin-bottom: 15px
}

/* Sidebar (via 66-33 Paragraph Type) */
.sidebar h2 {
  /* margin-top: 0; */
  margin: 0;
  padding: 0;
}

.sidebar p {
  margin: 0 0 11px;
}

.sidebar ul {
  margin-bottom: 20px;
}

.sidebar ul li {
  list-style: disc;
  margin-left: 15px;
  padding-left: 5px;
  margin-bottom: 10px;
}

.sidebar .sidebar-item {
  margin-bottom: 15px;
}

.sidebar img,
.region-sidebar-second img {
  width: 100%;
  height: auto;
}

/* Industry Partners */
.flex-container {
  display: flex;
  align-items: center;
}

.industry-partner-logo img {
  margin: 20px auto;
  width: auto;
  max-height: 125px;
}

/* Faculty */
.faculty-row {
  margin-bottom: 1.5em;
}

.section-head {
  margin-top: 15px;
  margin-bottom: 22px;
}

/* Wells */
.path-frontpage .well, .path-members-home .well {
  margin-top: 15px;
  background-color: #fff;
  border: none;
  box-shadow: none;
}

/* Documents */

#block-membersdocumentsfoldershome span,
#block-imddmembersmeetingsandsummits span,
#block-othereventsdocumentsblock span {
  font-size: 8rem;
  margin-bottom: 20px;
  transition: all 300ms cubic-bezier(0.77, 0, 0.175, 1);
}
#block-membersdocumentsfoldershome .btn:hover,
#block-imddmembersmeetingsandsummits .btn:hover,
#block-othereventsdocumentsblock .btn:hover {
  transition-delay: 0.075s;
}
#block-membersdocumentsfoldershome .row,
#block-imddmembersmeetingsandsummits .row,
#block-othereventsdocumentsblock .row {
  margin-bottom: 2em;
}

.view-members-documents caption {
  font-size: 2em;
}

/* Responsive */
@media screen and (max-width: 1224px) {
  ul.nav li a {
    padding-left: 0.84em;
    padding-right: 0.84em;
  }
}

@media screen and (max-width: 992px) {

  .navbar-collapse {
    padding-left: 0;
  }

  ul.nav {
    padding-left: 1em;
    width: 100%;
  }

  ul.nav li {
    margin-right: 15px;
  }

  ul.nav li a {
    padding-left: 15px;
    padding-right: 0.8em;
  }

  .rectangle {
    width: 300px;
  }

  .rectangle-nobg {
    width: 300px;
  }


  /* Should be part of Bootstrap's CSS */
  .navbar-toggle {
    border: 1px solid #ddd;
  }

  .navbar-toggle:hover {
    background-color: #ddd;
  }

  .icon-bar {
    background-color: #ccc;
  }

  .navbar-brand {
    font-size: 20px;
    line-height: 22px;
    text-align: center;
    width: 255px;
    height: 3.5em
  }

  .footer-social {
    clear: both;
  }

  .faculty-row img {
    max-width: 200px;
    margin: 0 auto;
  }

  .faculty-row {
    text-align: center;
  }
}

.page-node-type-cws-summit-page .nav>li>a {
  color: #49a5d3;
  font-weight: 900;
}

.path-wearablesummit .nav>li>a {
  color: #49a5d3;
  font-weight: 900;
}

.page-node-type-cws-summit-page td {
  padding: 10px;
  vertical-align: top;
}

.page-node-type-cws-summit-page .summit-home-registration-td td {
  padding: 0;
}

.summit-registration-title {
  position: absolute !important;
  color: white;
  font-size: 1.5em;
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 20px 0;
  text-align: center;
  font-family: Georgia;
}

.summit-registration-title:hover {
  border: 1px solid #3498db;
  position: absolute !important;
  color: white;
  font-size: 1.5em;
  font-weight: bold;
  background-color: rgba(0, 0, 0, 0.8);
  padding: 20px 0;
  text-align: center;
  transform: translateY(2px);
  font-family: Georgia;
}

.registration-link-row {
  min-width: 300px;
  float: left;
  width: 20%;
  margin-right: 10px;
  margin-bottom: 15px;
}

.summit-registration-link {
  display: flex;
  justify-content: center;
  flex-direction: column;
  position: relative;
  margin-right: 20px;
}

.summit-registration-link span {
  width: 100%;
}

.registration-link-row img {
  width: 100%;
  height: 100%;
}

.page-node-type-cws-summit-page .main-container * {
  color: #000;
}

.page-node-type-cws-summit-page .main-container *:not(button) {
  color: #000;
}

.page-node-type-cws-summit-page ul {
  padding-left: 50px;
}

.page-node-type-cws-summit-page .btn {
  color: #fff !important;
}

.hopkinsmap img {
  max-width: 600px;
}
/* $screen-sm-min: 860px;
$screen-md-min: 992px;
$screen-lg-min: 1200px;

@mixin breakpoint($point) {
    @if $point == $screen-sm-min {
        @media screen and (min-width: $screen-sm-min) {
            @content;
        }
    }
    @elseif $point == $screen-md-min {
        @media screen and (min-width: $screen-md-min) {
            @content;
        }
    }
    @elseif $point == $screen-lg-min {
        @media screen and (min-width: $screen-lg-min) {
            @content;
        }
    }
} */
.logo-container {
    /* top: 5%;
    right: 20%; */
    /* position: absolute; */
    /* transform: translate(445%,-775%); */
    /* margin: 0 auto; */
}
.intro-container {
  color: #fff;
    /* top: 10%;
    left: 20%; */
    /* position: absolute; */
    transform: translate(0);
    /* margin: 0 auto; */
}
.intro-container .btn {
  margin-top: 2em;
}

canvas {
  max-height: 425px;
  max-width: 100% !important;
}

h1 {
    font-family: 'Roboto sans', sans-serif;
    font-weight: medium;
    margin-top: 0px;
    margin-bottom: 0;
    letter-spacing: 1px;
    font-size: 20px;

    @include breakpoint($screen-sm-min) {
        font-size: 40px;
        line-height: 52px;
    }
}

.fancy-text {
    font-family: 'Roboto sans', sans-serif;
    font-style: italic;
    letter-spacing: 2px;
    margin-bottom: 17px;
}

/* .x-mark {
    right: 10px;
    top: 10px;
    position: absolute;
    cursor: pointer;
    opacity: 0;

    &:hover {
        .right {
            transform: rotate(-45deg) scaleY(1.2);
        }

        .left {
            transform: rotate(45deg) scaleY(1.2);
        }
    }

    .left,
    .right {
        width: 2px;
        height: 20px;
        background: white;
        position: absolute;
        border-radius: 3px;
        transition: 0.15s ease-out;
        margin: 0 auto;
        left: 0;
        right: 0;
    }

    .right {
        transform: rotate(-45deg);
    }

    .left {
        transform: rotate(45deg);
    }
} */

.sky-container {
    position: absolute;
    color: white;
    text-transform: uppercase;
    margin: 0 auto;
    right: 0;
    left: 0;
    top: 2%;
    text-align: center;
    opacity: 0;
    @include breakpoint($screen-sm-min) {
        top: 18%;
        right: 12%;
        left: auto;
    }

    &__left,
    &__right {
        display: inline-block;
        vertical-align: top;
        font-weight: bold;

        h2 {
            font-family: 'Roboto', sans-serif;
            font-size: 26px;
            line-height: 26px;
            margin: 0;
            @include breakpoint($screen-sm-min) {
                font-size: 72px;
                line-height: 68px;
            }
        }
    }

    &__left {
        margin-right: 5px;
    }

    .thirty-one {
        letter-spacing: 4px;
    }
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}
.btn {
  font-size: 1.5rem;
  color: var(--inv);
  letter-spacing: .2rem;
  text-transform: uppercase;
  transition: all 600ms cubic-bezier(0.77, 0, 0.175, 1);
  cursor: pointer;
  user-select: none;
  width: 100%;
  font-weight: 500;
  display: flex;
  flex-direction: column;
}

.btn:before,
.btn:after {
	content: "";
	position: absolute;
	transition: inherit;
	z-index: -1;
}

.btn:hover {
	color: #006a96;
	transition-delay: 0.6s;
}

.btn:hover:before {
	transition-delay: 0s;
}

.btn:hover:after {
	background: var(--inv);
	transition-delay: 0.4s;
}

.js-form-submit.form-submit {
  color: #fff;
}

/* From Right */

.from-right:before,
.from-right:after {
	top: 0;
	width: 0;
	height: 100%;
}

.from-right:before {
	left: 0;
	border: 1px solid var(--inv);
	border-left: 0;
	border-right: 0;
}

.from-right:after {
	right: 0;
}

.from-right:hover:before,
.from-right:hover:after {
	width: 100%;
}

/* ~~~~~~~~~~~~ GLOBAL SETTINGS ~~~~~~~~~~~~ */

.banner {
	--def: #96B7C4;
	--inv: #fff;
	/* display: flex;
	justify-content: center;
	align-items: center; */
	background-image: linear-gradient(-25deg, #616161 0%, #96B7C4 100%);
}
.banner .logo-container img {
  height: 75px;
}
.banner .ucsd-container img {
  height: 45px;
}
.banner .row {
  top: 2%;
  position: absolute;
  height: 177px;
  /* z-index: -2; */
  /* margin: 0 auto; */
  width: inherit;
}
.banner .row:nth-child(1) {
}
.banner .row:nth-child(2) {
  top: 8%;
}
.banner .row:nth-child(2) h2 {
  color: #fff;
  text-align: center;
}


/*---- Semianrs ---*/

.seminar img {
  padding: 3em;
}

.seminar .seminar-date h5 {
  padding-bottom: 10px;
}


@media only screen and (max-width: 1300px) {
  .banner-image {
    left: 55%;
    margin-left: -42vw;
  }
  .banner-image h2 {
    margin-left: 2em;
  }
}
@media only screen and (max-width: 992px) {
  .hopkinsmap img {
    width: 100%;
  }

  .path-wearablesummit .view-content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .path-wearablesummit .view-content .registration-link-row {
    margin: 20px;
  }
}

@media only screen and (max-width: 768px) {
  .banner .ucsd-container img {
    height: 29px;
  }
  .banner .row:nth-child(2) {
    top: 5%;
  }
  .logo-jacobs-school-right img {
    width: 220px;
  }
  .footer-logo {
    height: 38px;
  }
  .intro-container .btn {
    margin-top: 1em;
  }
  .social-media {
    padding-top: 35px;
  }
}
@media only screen and (max-width: 414px) {
    .center-name {
    display: none;
  }
  .center-name a {
    width: 190px;
    height: 170px;
  }


  .footer .row div {
    padding-top: 20px;
  }
  .banner .row:nth-child(2) {
    top: 4%;
    margin-right: 0px;
  }
  .banner .logo-container img {
    height: 50px;
  }
  .banner .ucsd-container img {
    height: 30px;
    margin-right: -10px;
  }
  .intro-container .btn {
    margin-top: 1em;
  }
  .profile-row .faculty-info {
    padding: 1.5em;
  }
  .region-content ul {
    padding: 1.5em;
  }
  .footer-logo {
    height: 35px;
  }
}
@media only screen and (max-width: 375px) {
  .banner .ucsd-container img {
    height: 26px;
  }
}
@media only screen and (max-width: 360px) {
  .banner .ucsd-container img {
    height: 24px;
  }
  .banner .row:nth-child(2) h2 {
    font-size: 22px;
    line-height: 1.25;
  }
  .intro-container .btn {
    margin-top: 0;
  }
}
@media only screen and (max-width: 320px) {
  .banner .row {
    top: 1%;
  }
  .banner .row:nth-child(2) {
    top: 3.5%
  }
  .banner .logo-container img {
    height: 40px;
  }
  .banner .ucsd-container img {
    height: 21px;
  }
}
