@import url("https://fonts.googleapis.com/css2?family=Crete+Round&display=swap");

:root {
  --idc-body-color: rgb(245, 246, 247);
  --idc-red: #ff5757;
  --idc-yellow: #f9c642;
  --idc-blue: #205493;
  --idc-light: #dedede;
  --idc-box-shadow: rgba(0, 0, 0, 0.1) 0 4px 6px -1px,
    rgba(0, 0, 0, 0.06) 0 2px 4px -1px;
  --idc-box-shadow-impact: rgba(60, 64, 67, 0.3) 0 1px 2px 0px,
    rgba(60, 64, 67, 0.15) 0 1px 3px 1px;
}

body {
  font-size: 16px;
}


header{
  flex-direction: column;
}

.banner-wrapper{
	display: flex;
	align-items: center;
	justify-content: flex-start;
  position: relative;
  height: 25vh;
  min-height: 190px;
  width: 100vw;
  display: block;
}

.site-content {
  padding: 1.6em 2.5%;
  margin-bottom: 0;
  background-image: radial-gradient(circle at 13% 47%,
      rgba(140, 140, 140, 0.03) 0%,
      rgba(140, 140, 140, 0.03) 25%,
      transparent 25%,
      transparent 100%),
    radial-gradient(circle at 28% 63%,
      rgba(143, 143, 143, 0.03) 0%,
      rgba(143, 143, 143, 0.03) 16%,
      transparent 16%,
      transparent 100%),
    radial-gradient(circle at 81% 56%,
      rgba(65, 65, 65, 0.03) 0%,
      rgba(65, 65, 65, 0.03) 12%,
      transparent 12%,
      transparent 100%),
    radial-gradient(circle at 26% 48%,
      rgba(60, 60, 60, 0.03) 0%,
      rgba(60, 60, 60, 0.03) 6%,
      transparent 6%,
      transparent 100%),
    radial-gradient(circle at 97% 17%,
      rgba(150, 150, 150, 0.03) 0%,
      rgba(150, 150, 150, 0.03) 56%,
      transparent 56%,
      transparent 100%),
    radial-gradient(circle at 50% 100%,
      rgba(25, 25, 25, 0.03) 0%,
      rgba(25, 25, 25, 0.03) 36%,
      transparent 36%,
      transparent 100%),
    radial-gradient(circle at 55% 52%,
      rgba(69, 69, 69, 0.03) 0%,
      rgba(69, 69, 69, 0.03) 6%,
      transparent 6%,
      transparent 100%),
    linear-gradient(90deg, rgb(255, 255, 255), rgb(255, 255, 255));
}

#masthead {
  position: relative;
  display: flex;
  min-height: 46px;
}

.banner-background {
  width: 100%;
  height: 100%;
  background-image: url("https://idc.acm.org/2023/wp-content/uploads/2022/09/idc23-banner-small-blue.jpg");
  background-size: contain;
  background-position: top;
  background-repeat: repeat-x;
  opacity: 1;
}

.branding-background h1,
.branding-background h2 {
  margin: 0.1em;
}

#site-navigation {
  background-color: var(--idc-blue);
  z-index: 1;
  box-shadow: var(--idc-box-shadow);
  border-bottom: unset;
  box-shadow: unset;
  padding: 0.5em 2.5%;
}

.menu-nav-container {
  margin-left: 135px;
}


.logo-wrapper{
  position: absolute;
  top: calc(50% - 75px);
  left: 2.5%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
	flex-direction: row-reverse;
}

.idc-logo {
  width: 40vw;
  height: 40vw;
  max-width: 150px;
  max-height: 150px;
  border-radius: 50%;
  box-shadow: var(--idc-box-shadow-impact);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #fefefe;
	z-index: 0;
}

.animated-hands {
  width: 25vw;
  height: 25vw;
  max-width: 140px;
  max-height: 140px;
	min-width: 120px;
	min-height: 120px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-origin: content-box;
  box-shadow: unset;
}

.logo-text {
  display: none;
}

.site-branding {
  margin: auto auto;
	width: 210px;
	max-width: 60vw;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 0 0 0 0;
  height: 90px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
	margin-left: -25px;
	z-index: 0;
}

.site-branding:before{
	display: none;
}

.site-branding h1,
.site-branding h2 {
  width: 100%;
  padding-right: 15px;
}

.site-branding h1 {
  color: var(--idc-blue);
  text-align: right;
  margin-bottom: 0;
}

.site-branding h2 {
  color: var(--idc-yellow);
  text-align: right;
  margin-block-start: 0;
  margin-top: 5px;
}

.site-branding .site-title span {
  color: var(--idc-red);
}

.main-navigation li {
  padding: 2px 7px;
  border-radius: 9px;
  color: var(--idc-body-color);
  height: 2em;
  line-height: 1.75em;
}

.sub-menu>.menu-item {
  min-width: 300px;
  min-height: 45px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  font-size: 14px;
}

.sub-menu>li {
  margin-right: 0.5em;
  background-color: unset;
  padding: unset;
  border-radius: 0;
  box-shadow: unset;
}

.menu-item:hover .sub-menu a {
  color: var(--idc-blue);
}

.menu-item:hover .sub-menu li:hover {
  background-color: rgba(32, 84, 147, 0.2);
}

.menu-item.menu-item-has-children {
  border-radius: 9px;
  padding-right: 30px;
}

.main-navigation ul li.menu-item-has-children>a:after,
.main-navigation ul li.page_item_has_children>a:after {
  content: "\f078";
  font-family: FontAwesome;
  font-size: 14px;
  display: inline-block;
  opacity: 1;
  position: absolute;
  right: 10px;
  vertical-align: text-top;
  -webkit-font-smoothing: antialiased;
  text-align: center;
  line-height: 27px;
  top: 0;
}

.main-navigation ul li.no-click:hover a {
  transition: 150ms ease-in-out all;
}

.main-navigation ul li.menu-item-has-children,
.main-navigation ul li.page_item_has_children {
  margin-right: 1.6em;
}

.main-navigation ul ul {
  top: 2em;
}

.site-title a {
  color: var(--idc-blue);
}

.site-title a span {
  color: var(--idc-red);
}

.site-description {
  color: var(--idc-yellow);
}

.menu-item {
  transition: 150ms ease-in-out all;
}

.menu-item:hover {
  background-color: var(--idc-red);
}

.menu-item a,
.menu-item a:visited {
  color: var(--idc-body-color);
  user-select: none;
}

.menu-item:hover a {
  color: #fff;
}

.main-navigation li.focus>a,
.main-navigation li:hover>a {
  border-color: transparent;
}

.main-navigation>div:first-of-type>ul>.current-menu-item>a,
.main-navigation>div:first-of-type>ul>.current_page_item>a {
  border-bottom-color: transparent;
}

.current_page_item {}

.main-navigation ul ul a {
  width: 100%;
}

.no-click>a {
  pointer-events: none;
}

.social-account-wrapper {
  display: flex;
  flex-direction: column;
  margin: 30px auto 20px;
  width: 200px;
  align-items: center;
  justify-content: center;
}

.social-account-wrapper .social-header {
  margin-bottom: 10px;
  width: 220px;
  text-align: center;
  font-size: 16px;
  font-weight: 700;
  color: var(--idc-blue);
}

.social-icon-wrapper {
  display: flex;
  padding: 10px;
  border-radius: 50px;
  flex-direction: row;
  width: 220px;
  height: 60px;
  background-color: rgba(255, 255, 255, 0.9);
  align-items: center;
  justify-content: space-between;
  box-shadow: var(--idc-box-shadow);
}

.entry-content a, .entry-summary a{
	text-decoration: underline;
	text-decoration-thickness: 2px;
	text-decoration-color: var(--idc-yellow);
}

.entry-content ul li{
	margin-bottom: 10px;
}

.social-icon-wrapper .social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  width: 45px;
  height: 45px;
  text-align: center;
  text-decoration: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.9em;
  transition: 200ms all ease-in;
}

.social-icon-wrapper .social-link {
  text-decoration: none;
}

.social-twitter {
  background-color: rgba(85, 172, 238, 0.6);
}

.social-twitter:hover {
  background-color: rgba(85, 172, 238, 1);
}

.social-instagram {
  background-color: rgba(199, 54, 171, 0.6);
}

.social-instagram:hover {
  background-color: rgba(199, 54, 171, 1);
}

.social-fb {
  background-color: rgba(4, 114, 231, 0.6);
}

.social-fb:hover {
  background-color: rgba(4, 114, 231, 1);
}

.widget a:hover {
  border-bottom-color: transparent;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"] {
  background-color: #fefefe;
}

.widget_search {
  margin-top: 3.5em;
}

.wp-block-search__input,
button {
  border-radius: 12px;
  background-color: #fefefe;
  user-select: none;
}

.wp-block-search__label {
  visibility: hidden;
}

.twitter-timeline .twitter-timeline-rendered {
  max-height: 75vh;
  min-height: 500px;
}

.site-info {
  display: none !important;
}

.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 250px;
  width: 100vw;
  background-color: var(--idc-blue);
  color: #fff;
  text-align: center;
  padding: 2em;
}

.affiliates {
  width: 400px;
  height: 150px;
  background-image: url("https://idc.acm.org/2023/wp-content/uploads/2022/09/affiliates.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  background-origin: content-box;
  padding: 5px;
}

.idc-footer {
  width: 50vw;
  text-align: center;
  color: var(--idc-light);
  font-size: 13px;
}

.idc-footer a,
.idc-footer a:visited {
  color: var(--idc-yellow);
  font-weight: normal;
}

.sidebar-left {
  width: 25%;
  float: left;
}

.widget.widget-block {
  max-height: 80vh;
}

.widget.widget_block .twitter-timeline.twitter-timeline-rendered {
  min-height: 50vh;
  max-height: 90vh;
  overflow-x: hidden;
  overflow-y: auto;
  box-shadow: var(--idc-box-shadow);
  border-radius: 12px;
}

.sidebar-right {
  display: none;
}

h1,
h2,
h3,
h4 {
  font-family: "Crete Round";
}

img {
  box-shadow: rgb(99 99 99 / 20%) 0 2px 8px 0;
}

figure.no-shadow > img {
	box-shadow: none;
}

a.customize-unpreviewable {
  cursor: unset !important;
}

.color-red {
	color: var(--idc-red);
}

.wp-block-button > a {
	text-decoration: none;
	color: #fbfbfb;
}

.hidden {
	display: none;
}

.margin-none {
	margin: 0;
}

@media screen and (max-width: 720px) {
	.banner-background {
		background-size: cover;
	}
	
	.sidebar-left {
    width: 100%;
		display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
		margin-top: 1em;
  }
	
	.hentry{
		margin: 5% 0;
	}
	
	.widget_search{
		margin-top: 0;
	}
	
	.idc-footer {
    width: 80vw;
    text-align: justify;
  }
}


@media screen and (max-width: 780px){
	#post-310 figure{
		margin: 0 auto;
		display: flex;
    align-items: center;
    justify-content: center;
	}
}
@media screen and (max-width: 400px){
	.menu-nav-container {
    margin-left: unset;
  }
	
	.sub-menu .menu-item a {
    color: var(--idc-blue);
  }
	
	.main-navigation>div:first-of-type>ul>.current-menu-item>a, .main-navigation>div:first-of-type>ul>.current_page_item>a{
		border-top: none;
	}
	
	.main-navigation li {
    border-radius: unset;
    box-shadow: unset;
    min-height: 30px;
    line-height: 30px;
    padding: 5px 5px;
    width: 100%;
    height: unset;
  }
	
	.main-navigation ul ul {
    top: unset;
  }

  .main-navigation ul li.menu-item-has-children,
  .main-navigation ul li.page_item_has_children {
    margin-right: unset;
    border-radius: unset;
    padding-right: unset;
  }

	.main-navigation ul li.menu-item-has-children>a:after, .main-navigation ul li.page_item_has_children>a:after{
		top: 22px;
	}
	
	.widget_search{
		max-width: 90vw;
	}
	
	.sidebar-left .widget{
		margin-right: 0;
	}
}

.wp-block-separator{
	border: none;
}
/* page specific css*/
/*
#post-310 figure{
 	margin: 1em 40px 1em 0; 
	background-color: rgba(235,235,235,0.5);
	padding: 15px;
	border-radius: 7px;
	box-shadow: 0px 10px 5px -10px rgba(50, 50, 93, 0.25), 0 30px 60px -30px rgba(0, 0, 0, 0);
	min-height: 70px;
} */

.td-image-wrapper{
	padding: 10px;
	border-radius: 5px;
	background-color: #EFEFEF;
	display: flex;
	align-items: center;
	min-height: 100px;
	max-width: 561px;
}

#post-310 .wp-block-getwid-table table {
	border: unset;
}

#post-310 .wp-block-image img{
	box-shadow: none;
}

#post-310 img{
	box-shadow: none;
	height: unset;
	max-height: 150px;
}