@media screen and (min-width: 960px) {
	.primary-menu .menu-item.anniversary50:before {
		display: block;
		position: absolute;
		left: 0;
		top: 2px;
		content: "";
		background: transparent url(https://kikri.ethz.ch/wp-content/uploads/2022/01/kikri_50j_Logo_02.png) no-repeat center;
		background-size: contain;
		width: 38px;
		height: 55px;
	}
	
	.primary-menu .menu-item.anniversary50 a {
		padding-left: 38px;
	}
}

@media screen and (max-width: 959px) {
	.primary-menu .menu-item.anniversary50 a:before {
		content: "50. ";
	}
}

@media screen and (max-width: 936px) {
    .inner {
        width: auto;
        margin: 0 18px;
    }
}

@media screen and (max-width: 830px) {
    /*Team*/
    .team-group-name {
        font-size: 14px;
        width: 90px;
        height: 90px;
        top: 5px;
    }

    .team-group-name.all {
        margin-left: -345px;
    }

    .team-group-name.red-group {
        margin-left: -245px;
    }

    .team-group-name.yellow-group {
        margin-left: -145px;
    }

    .team-group-name.blue-group {
        margin-left: -45px;
    }

    .team-group-name.green-group {
        margin-left: 55px;
    }

    .team-group-name.leading-group {
        margin-left: 155px;
    }

    .team-group-name.chairman-group {
        margin-left: 255px;
    }
}

@media screen and (max-width: 766px) {
    .btn-link {
        font-size: 13px;
        line-height: 35px;
        padding: 0 15px;
    }

    .mobile-item {
        display: block;
    }

    .desktop-item {
        display: none;
    }
	
	/*Main Header*/
	.site-header.inner {
		margin-left: 10px;
		margin-right: 10px;
	}
	
    .site-logo {
        padding-bottom: 13px;
    }

    .main-header-wrapper {
        padding-top: 0;
    }

    .menu-icon {
        position: absolute;
        right: 0;
        top: 14px;
        font-family: FontAwesome;
        text-indent: 0;
    }

    .primary-menu {
        padding: 10px 0 20px;
        height: auto;
    }

    .primary-menu .menu-item {
        float: none;
        font-size: 18px;
        padding: 0;
        line-height: 1;
        height: auto;
        margin: 20px 0 0 !important;
    }

    .primary-menu .menu-item a {
        padding-top: 0;
    }

    .site-nav {
        overflow: hidden;
        height: 0;
        -webkit-transition: height 0.2s ease-out;
        -moz-transition: height 0.2s ease-out;
        -ms-transition: height 0.2s ease-out;
        -o-transition: height 0.2s ease-out;
        transition: height 0.2s ease-out;
    }

    /*Content Header*/
    .content-header-with-image {
        display: none;
    }

    #kikri-contact-map {
        height: 240px;
    }

    .mobile-page-title {
        font-family: LemonYellowSun;
        color: #fff;
        padding: 14px 0 13px;
        text-align: center;
        font-size: 17px;
        line-height: 1;
        background-color: #333;
    }

    .yellow-content .mobile-page-title {
        color: #333;
    }

    /*.content-header-hl {
        position: absolute;
        left: 0;
        top: 0;
        font-size: 19px;
    }

    .content-header-bg {
        position: relative;
    }

    .content-header-inner {
        width: 220px;
        left: 19px;
    }*/

    /*Main Footer*/
    .site-footer {
        padding: 19px 0;
    }

    .footer-nav-wrapper {
        float: none;
    }

    .footer-contact,
    .footer-nav {
        float: none;
        padding-left: 0;
        margin-bottom: 26px;
    }

    .footer-address,
    .footer-menu,
    .footer-hl {
        font-size: 13px;
    }

    .footer-hl {
        padding-bottom: 14px;
    }

    .footer-address,
    .footer-menu {
        margin-bottom: 14px;
    }

    /*Home Content*/
    .featured-item {
        padding: 25px 0;
    }

    .featured-item-hl {
        font-size: 17px;
        margin-bottom: 0;
    }

    .featured-item .inner {
        max-width: 1000px;
    }

    /*Content*/
    .entry-content.inner {
        padding-left: 18px;
        padding-right: 18px;
        width: auto;
        max-width: 1000px;
    }

    .entry-content h1 {
        font-size: 17px;
        margin-top: 25px;
    }

    .entry-content h1:before {
        height: 22px;
    }

    .entry-content h1,
    .entry-content h2,
    .entry-content h3,
    .entry-content h4,
    .entry-content h5,
    .entry-content h6,
    .entry-content p,
    .entry-content address {
        margin-bottom: 14px;
    }

    .entry-content .kikri-citation-author {
        font-size: 13px;
    }

    .entry-content blockquote,
    .entry-content blockquote p {
        font-size: 23px;
    }

    .entry-content blockquote {
        padding: 0;
    }

    .entry-content {
        font-size: 15px;
    }

    /*Jumper*/
    .kikri-jumper {
        display: none !important;
    }

    /*Contact*/
    .contact-address {
        font-size: 15px;
    }

    .kikri-map-wrapper {
        position: relative;
        padding-bottom: 56.25%;
        height: 0;
    }

    /*Team*/
    .team-member-wrapper {
        padding: 0;
    }

    .team-group-name {
        font-size: 16px;
        line-height: 60px;
        border: 0 none;
        border-top: 1px solid #000;
        width: auto;
        height: 60px;
        -moz-border-radius: 0;
        -webkit-border-radius: 0;
        border-radius: 0;
        text-align: left;
        position: relative;
        top: 0;
        left: 0;
        padding: 0;
    }

    .team-group-name:after {
        display: block;
        position: absolute;
        right: 0;
        top: 0;
        font-family: FontAwesome;
        font-size: 26px;
        content: '\f13a'
    }

    .open .team-group-name:after {
        content: '\f139'
    }

    .team-group-name.all {
        display: none;
    }

    .team-group-name.red-group.active,
    .team-group-name.red-group:hover,
    .team-group-name.yellow-group.active,
    .team-group-name.yellow-group:hover,
    .team-group-name.blue-group.active,
    .team-group-name.blue-group:hover,
    .team-group-name.green-group.active,
    .team-group-name.green-group:hover,
    .team-group-name.leading-group.active,
    .team-group-name.leading-group:hover,
    .team-group-name.active,
    .team-group-name:hover,
    .team-group-name.red-group,
    .team-group-name.yellow-group,
    .team-group-name.blue-group,
    .team-group-name.green-group,
    .team-group-name.leading-group,
    .team-group-name.chairman-group {
        margin-left: 0;
        background-color: transparent;
        border-color: #666;
    }

    .team-group-name.red-group {
        color: #e4572d;
    }

    .team-group-name.yellow-group {
        color: #f8d22e;
    }

    .team-group-name.blue-group {
        color: #779ac6;
    }

    .team-group-name.green-group {
        color: #dad630;
    }

    .team-group-name.leading-group {
        color: #995569;
    }

    .team-group-name.chairman-group {
        color: #000;
    }

    .team-group-name > span,
    .team-group-name > span > span {
        display: inline;
        padding: 0;
        margin: 0;
    }

    .team-member {
        position: relative;
        width: auto;
        height: 0;
        overflow: hidden;
        -moz-border-radius: 0;
        -webkit-border-radius: 0;
        border-radius: 0;
        background-size: contain;
        background-position: center top;
        -webkit-transition: none;
        -moz-transition: none;
        -ms-transition: none;
        -o-transition: none;
        transition: none;
    }

    .open .team-member {
        height: auto;
    }

    .team-member-info {
        width: 100%;
        height: auto;
        padding: 64.74% 0 18px;
        text-align: center;
        color: #fff;
        background-color: transparent;
        opacity: 1;
    }

    .red-group .team-member-info,
    .blue-group .team-member-info,
    .yellow-group .team-member-info,
    .green-group .team-member-info,
    .leading-group .team-member-info,
    .chairman-group .team-member-info {
        background-color: transparent;
        color: #000;
    }

    .team-member-name {
        font-size: 17px;
        padding-top: 18px;
    }

    .team-member-info p {
        font-size: 13px;
        margin: 4px 18px 0;
    }

    /*Calendar*/
    .kikri-calendar-table {
        display: block;
        width: auto;
    }

    .kikri-calendar-row {
        position: relative;
        display: block;
        border-bottom: 1px solid #000;
        padding: 20px 0;
    }

    .kikri-calendar-table .kikri-calendar-cell {
        display: block;
        border: 0 none;
        width: auto;
        padding: 0;
    }

    .kikri-calendar-table .kikri-calendar-date {
        font-size: 30px;
        width: 120px;
    }

    .kikri-calendar-table .kikri-calendar-dayofweek {
        position: absolute;
        right: 0px;
        top: 37px;
        font-size: 13px;
        width: 80px;
        text-align: right;
    }

    .kikri-calendar-table .kikri-calendar-desc {
        border: 0 none;
        font-size: 15px;
        margin-top: 14px;
        padding: 0;
    }
}
