/* Import new online-prog theme for "agile management" course */
@import url('https://learninglab.sdabocconi.it/files/onlineprograms/style.css');
@import url('https://fonts.googleapis.com/css?family=Martel+Sans|Work+Sans');

.show-content.user_content.clearfix.enhanced{
	padding-top: 0px;
}


h1.page-title {
	display: none;
}


a.Button.module-sequence-footer-button--previous {
  border-color: #003a69;
}


a.Button {
  border-color: #003a69;
}


img.bitnami-corner-image {
  display: none;
}


.other-footer {
  background-color: #003a69;
  width: 100%;
  display: inline-block;
  bottom: 0;
  color: white;
  text-align: center;
  box-sizing: border-box;
  font-size: 12px;
  padding: 1em 6em;
  z-index: 9999;
}


.other-footer a {
  color: white;
}




/* new header */




.ReactTray__Content.ReactTray__Content--after-open {
  padding-top: 100px;
}


.logo-header-section {
  height: 62px;
  width: 320px;
  display: inline-block;
  background-color: #003a69;
  text-align: center;
  line-height: 62px;
}


.logo-header-section img {
  vertical-align: middle;
}


body {
  margin-top: 90px;
  font-family: 'Martel Sans', sans-serif;
}


h1, h2, h3, h4 {
  font-family: 'Work Sans', sans-serif;
}


.upper-header {
  background: white;
}


.text-header-section {
  display: inline-block;
}


.other-header {
  position: fixed;
  top: 0;
  z-index: 10000;
  width: 100%;
}


.other-header-section {
  height: 10px;
  background: #eee;
}


header#header {
  margin-top: 70px;
}



body.primary-nav-expanded .ic-app-header__secondary-navigation,
.ic-app-header__secondary-navigation {
  position: absolute;
  bottom: 154px;
  right: 36px;
}


.ic-Login__content  div#footer-links,
.ic-Login__content .ic-Login-footer .ic-Login-footer__logo-link {
  display: none;
}




div#main footer#footer {
  display: none;
}






.ic-app-header__secondary-navigation {
  bottom: 175px;
}



/* margin auto image content */
.content-image-container {
  width: 100%;
}

.content-image {
  margin: auto;
}

/* tooltip */
.ui-tooltip {
  z-index: 10000000 !important;
}

/* hide footer */


footer#footer {
  display: none;
}

/* login */

a#downloadpdf {
  background-color: #91b256;
  border-color: #91b256;
}

/* settings */

.profile_settings div#content > *:not(#update_profile_form) {
  display: none;
}

/* hide text left menu */

.ic-NavMenu__secondary-content {
  display: none;
}

/* color courses list boxes */

.ic-DashboardCard__header-button-bg {
  display: none;
}

.ic-DashboardCard__header_hero {
  background-color: transparent !important;
}

button.Button.Button--icon-action-rev.ic-DashboardCard__header-button {
  display: none;
}

div#DashboardOptionsMenu_Container button {
  display: none;
}

/* change color text boxes courses */

/* h2.ic-DashboardCard__header-title.ellipsis span:first-of-type {
  color: #54585e !important;
  font-weight: normal;
  font-size: 12px;
}

.ic-DashboardCard__header-subtitle.ellipsis {
  color: #254284;
  font-weight: bold;
  font-size: 18px;
} */

/* hide "Contatto" and "Links" section */

.profileContent__Block div:nth-of-type(2) {
  display: none;
}

/* hide "Contatto" and "Links" section, in edit mode */

form#edit_profile_form .show-if-editing.edit-contact-methods,
form#edit_profile_form .profile_links {
	display: none;
}

/* hide all notification messages */

/* .ic-notification.ic-notification {
  display: none;
} */

/* notification label in left menu */

.notifications-label-hide {
  display: none;
}

/* hide label page section */

.header-bar-left.header-left-flex h2.course-title.ellipsis {
  display: none;
}

/* show right bar if user isn't a student */

body.profile_settings #right-side-wrapper {
	display: block !important;
}

/* Profile, hide  all informations except "Modifica impostazioni" */

body.profile_settings aside#right-side table,
body.profile_settings aside#right-side hr,
body.profile_settings aside#right-side a.btn.button-sidebar-wide,
body.profile_settings aside#right-side h2:first-of-type {
	display: none;
}

body.profile_settings aside#right-side a.edit_settings_link.btn.button-sidebar-wide {
	display: block !important;
}

/* hide "Desidero ricevere informazioni, notizie e suggerimenti da Instructure" */

body.profile_settings label[for="user_subscribe_to_emails"].checkbox {
	display: none;
}

/* position top "new message" box in "Messages" */

.ui-dialog.ui-widget.ui-widget-content.ui-corner-all.ui-draggable.ui-resizable.ui-dialog-buttons.compose-message-dialog {
	top: 85px !important;
}

/* top position conversations section */

div#content .conversations {
	top: -19px !important;
}

#f1_container {
  margin-top: -18px;
  height: 100%;
  background-image: url(https://learninglab.sdabocconi.it/canvas_material/other_material/login_background.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
} 

#f1_container button.Button.Button--primary.Button--block {
  color: white;
}

#f1_container .other-footer {
  position: fixed;
}

#f1_container .forgotBlock {
  display: none;
}

.mobileLogin-Header {
  display: none;
  background-image: none;
}

.Theme__header{
  z-index: 10;
}

.video-iframe-container{
  position:relative;padding-top:55%;width:100%;margin-bottom:1rem;padding-bottom:1rem;
}
.vp-iframe-container{position:relative;padding-top:140%;width:100%;margin-bottom:1rem;padding-bottom:1rem;}
.video-iframe,.vp-iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0;}
.custom-shadow-element .vp-iframe {height: 100% !important;}

@media(min-width: 768px){.vp-iframe-container{padding-top: 132%;}}
@media(min-width: 888px){.vp-iframe-container{padding-top: 121%;}}
@media(min-width: 1000px){.vp-iframe-container{padding-top: 110%;}}
@media(min-width: 1113px){.vp-iframe-container{padding-top: 55%;}}

.embed169.new-video-player-container {
	padding-bottom: 0% !important;
}

@media (min-width: 1001px) {
	.embed169.new-video-player-container .vp-iframe-container {
			padding-top: 110% !important;
	}
}

@media (min-width: 1149px) {
	.embed169.new-video-player-container .vp-iframe-container {
			padding-top: 41% !important;
	}
}


@media screen and (max-width: 600px) {

	/* login */

	div#f1_container {
		height: 100%;
		background-color: #003a69;
		position: relative;
	}

	div#f1_container .other-footer {
		position: absolute;
		bottom: 0;
		padding-left: 0;
	}

  /* hamburger menu white bar */


  i.icon-hamburger {
    width: 100%;
    text-align: left;
    background: white;
    top: 55px;
    padding: 1em 0;
  }


  div#content {
    margin-top: 48px;
  }



  body:not(.is-inside-submission-frame):not(.embedded) {
    min-width: auto;
  }




  /* conversations */




  .conversations .panel {
    height : 220px;
  }




  .messaging-wrapper {
    top: 220px;
  }




  /* courses */




  table#my_courses_table th {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }


  .ic-DashboardCard {
    width: 200px;
  }




  th.course-list-course-title-column.course-list-no-left-border {
    width: 15%;
  }




  th.course-list-nickname-column.course-list-no-left-border {
    width: 15%;
  }








  span.course-color-block {
    display: none;
  }




  .course-list-table .course-list-star-column {
    width: 6%;
  }


  /* other header */

  .logo-header-section {
    width: 100%;
  }


  /* other footer */


  .other-footer {
    padding: 2em 1em 2em 7em;
  }


  /* login page */


  .mobileLogin-Header {
    display: none;
  }




  div#f1_container {
    padding: 50px 0 120px 0;
  }

  div#f1_container .other-footer {
    position: absolute;
  }


  div#f1_card:before {
    right: 0;
    z-index: 999;
    padding: 0.5em;
  }


  div#f1_card {
    z-index: 2;
    color: white;
  }


  /* calendar */


  .ui-buttonset .ui-button {
    margin-left: -3px;
  }


  span.calendar_view_buttons.btn-group button {
    display: block;
    width: 100%;
  }


  /* conversations */


  .btn-group.bootstrap-select.type-filter.show-tick {
    display: block;
  }


  div#conversation-actions .inline-block {
    display: block;
  }


  /* profile */


  i.icon-hamburger {
    position: fixed;
    top: 55px;
    z-index: 1001;
  }


  div#left-side {
    position: fixed;
    top: 88px;
    left: 58px;
    background: white;
    width: 100%;
  }


  body.course-menu-expanded:not(.ic-no-flex-layout):not(.embedded):not(.is-inside-submission-frame) .ic-Layout-columns {
    margin-left: 0;
  }


  /* course program section text mobile */


  .ig-row.ig-published.ig-indent1 {
    margin-left: 0;
  }

  .ig-row__layout .ig-row__layout {
    display: none;
  }

  .ig-row__layout .ig-type-icon {
    display: none;
  }

	.ig-row__layout .ig-details {
	  white-space: nowrap;
	  overflow: hidden;
	  text-overflow: ellipsis;
	}

	/* welcome-page */

	.canvas-page h1 {
	  font-size: 20px;
	}

	/* mobile - top position conversations section */

	div#content .conversations {
		top: -69px !important;
	}

	/* mobile - posizione freccia menu laterale */

	body.primary-nav-expanded .ic-app-header__secondary-navigation, .ic-app-header__secondary-navigation {
		bottom: 64px;
	}


}