/* cours */
.ccm-ui .unige-cours .row {
    margin-left: -15px; /* fix broken bootstram due to concrete5 template */
}

.unige-cours,
.unige-cours p {
    line-height: 1.5em;
}

.unige-cours,
.unige-cours p {
    font-family: thesansosflight, Helvetica, Arial, sans-serif;
    font-size: 16px;
}

.unige-cours h1, 
.unige-cours h3, 
.unige-cours h4, 
.unige-cours h5,
.unige-cours h6 {
    font-family: thesansosfplain, Helvetica, Arial, sans-serif;
    margin: 0;
}

.unige-cours .mb-0 { margin-bottom: 0 !important; }
.unige-cours .mt-0 { margin-top: 0 !important; }
.unige-cours .ml-0 { margin-left: 0 !important; }
.unige-cours .mr-0 { margin-right: 0 !important; }

/* .unige-cours h1 { font-size: 30px; line-height: 36px; } */
.unige-cours h2 { font-size: 24px; line-height: 36px; }
.unige-cours h3 { font-size: 18px; line-height: 27px; }
.unige-cours h4 { font-size: 14px; }
.unige-cours h5 { font-size: 12px; }
.unige-cours h6 { font-size: 11px; }

.unige-cours h4, .unige-cours h5, .unige-cours h6 {
    line-height: 18px
}

.unige-cours li {
    line-height: 1.5em;
}

.unige-cours .icon-link {
    font-size: 2em;
    min-width: 1em;
    display: inline-block;
}

/* .unige-cours h1, .unige-cours h2, .unige-cours h3, .unige-cours h4, .unige-cours h5, .unige-cours h6 { */
.unige-cours h2, .unige-cours h3, .unige-cours h4, .unige-cours h5, .unige-cours h6 {
    font-weight: normal;
    line-height: 1.5em;
}

.unige-cours h2, .unige-cours h3, .unige-cours h4, .unige-cours h5, .unige-cours h6 {
    /* color: inherit !important; */
}

.unige-cours h1 {
    /* text-transform: inherit;
    margin-bottom: 1em; */
}

.unige-cours .field-content {
    margin-bottom: 1em;
}

.unige-cours .formation-type {
    /* todo */
}

.unige-cours .cours-main-info div.row {
    /*border-bottom: 1px dashed #C2C2C2;
    padding-top: 1em;*/
}

.unige-cours .tab-pane .row.field {
    border-bottom: 1px dashed #C2C2C2;
    margin-bottom: 1em;
}

.unige-cours .cours-main-info div.row .field-label {
    padding-bottom: 1em;
}

.unige-cours .cours-main-info div.row:first-child {
    /*border-top: 1px dashed #C2C2C2;*/
}

.unige-cours .with-badge {
    line-height: 2em;
}

.unige-cours .cours-badge {
    background-color: #cf0063;
    color: white;
    padding: 5px 10px;
    border-radius: 100px;
}

.unige-cours .secondary-info {
    /* background-color: #F5F5F5; */
    margin-bottom: 1em;
    /* border-top: 1px solid #d80669;
    border-bottom: 1px solid #d80669 */
}

.unige-cours .secondary-info .inner {
    padding: 0 10px;
}

.unige-cours .secondary-info h3.column-title {
    text-transform: uppercase;
}

.unige-cours .secondary-info h4.inline-title {
    text-transform: none;
    font-size: inherit;
    display: inline-block;
}

.unige-cours .secondary-info h4.inline-title:after {
    content: ':';
    font-weight: bold;
}

.unige-cours .secondary-info .field-content {
    margin-bottom: 0.5em;
}

.unige-cours .secondary-info h4 {
    text-transform: none;
    font-size: inherit;
}

.unige-cours .container-logos {
    text-align: center;
}

.unige-cours .container-logos div.logo {
    width: 240px;
    height: 135px;
    margin: 1em;
    display: inline-block;
    text-align: center;
    vertical-align: middle;
}

.unige-cours .container-logos div.logo img {
    display: inline-block;
    vertical-align: middle;
}


/* search */
.unige-cours-search label {
    display: block;
    font-weight: normal;
}

.unige-cours-search select,
.unige-cours-search input {
    display: block;
    width: 100%;
    height: 30px;
    padding: 5px;
    font-size: 14px !important;
    border: 1px solid #ccc;
    border-radius: 3px;
    box-shadow: rgba(0, 0, 0, 0.075) 0px 1px 1px inset;
    box-sizing: border-box;
}

.unige-cours-search button {
    display: inline-block;
    margin-top: 22px !important;
}

.unige-cours-search .search-option {
    box-sizing: border-box;
}

.cours-pagination {
    margin: 1em;
}

.cours-pagination button {
    display: inline-block;
    padding: 5px 14px;
    background-color: #fff;
    border: 1px solid #ddd;
    color: #d80669;
    line-height: inherit;
    font-weight: inherit;
    font-family: inherit;
    font-style: normal;
    font-size: 100%;
    border-radius: 15px;
    padding: 3px 15px;
}

/* contact form */

.unige-cours form.contact .row {
    padding-bottom: 1em;
}

.unige-cours form.contact input, .unige-cours form.contact textarea {
    width: 100%;
    padding: 15px 10px;
    font-size: 14px;
}

.unige-cours form.contact button {
    padding: 5px 10px;
    background: #d80669;
    color: white;
}

/* fix bullets */

.unige-cours ul li::before {
    top: 0 !important;
}

.cours-actions button,
.unige-cours a.action-button,
#programme-sticky a.action-button {
    background: #d80669;
    color: white;
    border-radius: 5px;
    font-size: 1.2em;
    padding: 0.5em;
    width: 100%;
    margin-bottom: 1em !important;
    display: block;
}

.unige-cours a.action-button,
#programme-sticky a.action-button {
    text-align: center;
    font-size: 1.1em;
}

.unige-cours a.action-button:hover,
#programme-sticky a.action-button {
    color: white;
}

.cours-actions .col-md-12.no-news {
    text-align: center;
}

.cours-actions .col-md-12 a.action-button {
    display: inline-block;
    width: 255px;
    margin-left: 1em;
}

.unige-cours .editions-nav {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.unige-cours .editions-nav a.action-button {
    width: auto;
    min-width: 150px;
    margin-bottom: 0;
}

.unige-cours .editions-nav a.action-button {
    color: #d80669;
    background: white;
    border: 1px solid #d80669;
    font-size: 0.8em;
}

/* tabs */

.unige-cours .cours-tabs .nav-tabs li a {
    font-weight: bold;
}

.unige-cours .cours-tabs .nav-tabs li {
    position: relative;
    padding: 0 0 0 .9375rem;
}

.unige-cours .tab-content {
    overflow: hidden;
}

/* tabs responsive */
@media (min-width: 992px) {
    
}

@media (min-width: 768px) and (max-width: 992px) {
    .unige-cours .cours-tabs .nav-tabs li {
        width: 33.33%;
        text-align: center;
    }
}

@media (max-width: 768px) { 
    .unige-cours .cours-tabs .nav-tabs li {
        width: 50%;
        text-align: center;
    }
}

@media (max-width: 610px) {
    .unige-cours .cours-tabs .nav-tabs li {
        width: 100%;
        text-align: center;
    }
}


/* paragraphe d'introduction */
.unige-cours .cours-highlight .inner {
    color: #d80669;
    background: #FAFAFA;
    padding: 2em;
    position: relative;
    line-height: 1.5em;
}

.unige-cours .cours-highlight .inner .btop, .unige-cours .cours-highlight .inner .bbot {
    position: absolute;
    width: 30px; height: 30px;
    border-color: #d80669; /* or whatever colour */
    border-style: solid; /* or whatever style */
    content: ' ';
}
.unige-cours .cours-highlight .inner .btop {
    top:0;
    left:0;
    border-width: 1px 0 0 1px;
}

.unige-cours .cours-highlight .inner .bbot {
    bottom:0;
    right:0;
    border-width: 0 1px 1px 0;
}

/* testimonials */


/* videos */

.unige-cours .cours-videos.generic,
.unige-cours .cours-videos.testimonial {
    margin-top: 1em;
    padding-bottom: 1em;
}

.unige-cours .cours-videos .field-content {
    padding-top: 30px;
}

.unige-cours .cours-videos .mosaic-container {
    text-align: center;
}

.unige-cours .cours-videos .video {
    width: 320px;
    height: 240px;
    margin: 5px;
    background: rgb(230, 230, 230);
    cursor: pointer;
    display: inline-block;
    background-image: url('../images/loader.gif');
    background-repeat: no-repeat;
    background-position: center;
    vertical-align: top;
}

.unige-cours .cours-videos .title {
    background: white;
    color: #d80669;
    font-size: 1em;
    padding-bottom: 5px;
    padding-top: 5px;
    border-top: 2px solid #d80669;
    text-align: center;
}

.unige-cours .cours-videos .video .play {
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-left: 30px solid white;
    border-bottom: 20px solid transparent;
    margin: 90px auto 0 auto;
    display: none;
}

.unige-cours .cours-videos .video.ready {
    background-size: contain !important;
}

.unige-cours .cours-videos .video.ready .play {
    display: block;
}

.unige-cours .cours-videos .close-button {
    width: 30px;
    height: 30px;
    cursor: pointer;
    position: absolute;
    top: 0;
    right: 15px;
    visibility: hidden;
    text-align: center;
}

/* accordion */

.unige-cours #accordion {
    margin-top: 2em;
}

.unige-cours .panel-group .panel+.panel {
    margin-top: 10px;
}

.unige-cours .panel-heading {
    padding: 0;
}

.unige-cours .panel-heading .panel-title a {
    padding: 3px 15px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.unige-cours .panel-heading .panel-title a span {
    display: inline-block;
    padding: 7px 0;
    margin-right: 10px;
}

.unige-cours .panel-heading .accordion-toggle::after {
    /* symbol for "opening" panels */
    font-family: 'Glyphicons Halflings';  /* essential for enabling glyphicon */
    content: "\e114";    /* adjust as needed, taken from bootstrap.css */
    float: right;        /* adjust as needed */
    color: #d80669;         /* adjust as needed */
    padding: 7px 0;
}

.unige-cours .panel-heading .accordion-toggle.collapsed::after {
    /* symbol for "collapsed" panels */
    content: "\e080";    /* adjust as needed, taken from bootstrap.css */
}

.unige-cours .panel-heading .accordion-toggle .microcertification-logo {
    display: none;
    margin-left: auto;
    margin-right: 30px;
}

.unige-cours .panel-heading .accordion-toggle.collapsed .microcertification-logo {
    display: inline;
}

.unige-cours .panel-body {
    background-color: #FAFAFA;
}

.unige-cours .panel-body.has-microcertification {
    background-image: url('/formcont/packages/unige_cours/images/logo-microcertification.png');
    background-repeat: no-repeat;
    background-position: calc(100% - 10px) 10px;
}

.unige-cours .cours-phrase-exergue .field-content .inner {
    background: #F5F5F5;
    color: #d80669;
    font-weight: bold;
}

.unige-cours .cours-phrase-exergue .field-content .inner {
    padding: 20px 1em;
}

.unige-cours .cours-intervenants strong {
    color: #d80669;
}

/* sdgs related css */
.unige-cours .sdgs .inner {
    margin: 0 -15px;
}

.unige-cours .sdgs h4 {
    margin-bottom: 15px;
}

.unige-cours .sdgs a {
    display: inline-block;
}

.unige-cours .sdgs img {
    margin: 2px;
}

/* small search */

.cours-small-search {
    text-align: right;
}

.cours-small-search input.keywords {
    margin: 0;
    width: 70%;
    max-width: 223px;
    height: 32px;
    font-size: 0.8em;
    line-height: 1em;
    border: 1px solid rgba(0,0,0,0.1);
    padding: 7px 10px;
    border-radius: 5px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    vertical-align: top;
    webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border linear .2s,box-shadow linear .2s;
    -moz-transition: border linear .2s,box-shadow linear .2s;
    -ms-transition: border linear .2s,box-shadow linear .2s;
    -o-transition: border linear .2s,box-shadow linear .2s;
    transition: border linear .2s,box-shadow linear .2s;
}

.cours-small-search input.keywords:focus {
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-box-shadow: inset 0 1px 5px rgba(0,0,0,0.1);
    -moz-box-shadow: inset 0 1px 5px rgba(0,0,0,0.1);
    box-shadow: inset 0 1px 5px rgba(0,0,0,0.1);
}

.cours-small-search button.submit {
    height: 32px;
    width: 32px;
    background: white;
    border: 1px solid rgba(0,0,0,0.1);
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-left: none;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
    -webkit-transition: border linear .2s,box-shadow linear .2s;
    -moz-transition: border linear .2s,box-shadow linear .2s;
    -ms-transition: border linear .2s,box-shadow linear .2s;
    -o-transition: border linear .2s,box-shadow linear .2s;
    transition: border linear .2s,box-shadow linear .2s;
}

.cours-small-search button.submit span {
    color: rgba(0,0,0,0.15);
}

.unige-cours .table-programmes th {
    padding: 0;   
}

.unige-cours .table-programmes td:nth-child(4),
.unige-cours .table-programmes td:nth-child(5) {
    white-space: nowrap;
}

.unige-cours .table-programmes th button {
    width: 100%;
    text-align: left;
    background: inherit;
    padding: 8px 18px 8px 8px;
    position: relative;
    display: block;
    font-weight: bold;
    color: #d80669;
}

.unige-cours .table-programmes th button:before,
.unige-cours .table-programmes th button:after {
    border: 4px solid transparent;
	content: "";
	display: block;
	height: 0;
	right: 5px;
	top: 50%;
	position: absolute;
	width: 0;
}

.unige-cours .table-programmes th button:before {
	border-bottom-color: #666;
	margin-top: -9px;
}
.unige-cours .table-programmes th button:after {
	border-top-color: #666;
	margin-top: 1px;
}

.unige-cours .table-programmes button.active.ASC:after {
    border-top-color: #d80669;
}

.unige-cours .table-programmes button.active.DESC:before {
    border-bottom-color: #d80669;
}

.unige-cours .competences-transversales .item::after {
    content: ', ';
}

.unige-cours .competences-transversales .item:last-child::after {
    content: '';
}

.unige-cours .fa-external-link-square:before {
    content: "\f14c";
}

@media (max-width: 600px) {
  /* Mobile styles */
  .unige-cours .cours-banner {
    display: none;
  }
}

.unige-cours .news-container.news-mobile {
    display: none;
}

.unige-cours .news-container.news-desktop {
    display: block;
}

/* domaine borders */
.unige-cours-search .programme-card.d-Affairesinternationalesethumanitaires,
.unige-cours .cours-title .domaine.d-Affairesinternationalesethumanitaires {
    border-color: #0079ad !important;
}

.unige-cours-search .programme-card.d-Environnementetdveloppementdurable,
.unige-cours .cours-title .domaine.d-Environnementetdveloppementdurable {
    border-color: #6b8a15 !important;
}

.unige-cours-search .programme-card.d-Sant,
.unige-cours .cours-title .domaine.d-Sant {
    border-color: #b10058 !important;
}

.unige-cours-search .programme-card.d-Droit,
.unige-cours .cours-title .domaine.d-Droit {
    border-color: #e52713 !important;
}

.unige-cours-search .programme-card.d-Educationetformation,
.unige-cours .cours-title .domaine.d-Educationetformation {
    border-color: #008877 !important;
}

.unige-cours-search .programme-card.d-Languesculturesetcivilisations,
.unige-cours .cours-title .domaine.d-Languesculturesetcivilisations {
    border-color: #af7800 !important;
}

.unige-cours-search .programme-card.d-Communication,
.unige-cours .cours-title .domaine.d-Communication {
    border-color: #f0b500 !important;
}

.unige-cours-search .programme-card.d-Psychologie,
.unige-cours .cours-title .domaine.d-Psychologie {
    border-color: #671463 !important;
}

.unige-cours-search .programme-card.d-Informatiqueettechnologies,
.unige-cours .cours-title .domaine.d-Informatiqueettechnologies {
    border-color: #9d8b80 !important;
}

.unige-cours-search .programme-card.d-Economieetmanagement,
.unige-cours .cours-title .domaine.d-Economieetmanagement {
    border-color: #92acbe !important;
}

.unige-cours-search .programme-card.d-Socit,
.unige-cours .cours-title .domaine.d-Socit {
    border-color: #b5b415 !important;
}

.unige-cours-search .programme-card.d-Traductionetinterprtation,
.unige-cours .cours-title .domaine.d-Traductionetinterprtation {
    border-color: #f18f00 !important;
}


.unige-cours-search .programme-card>*:last-child {
    margin-top: auto;
}

@media (max-width: 979px) {
    .unige-cours .news-container.news-mobile {
        display: block;
    }

    .unige-cours .news-container.news-desktop {
        display: none;
    }
}

/* print optimizations */
@media print {
    /*.unige-cours .icon-link {
        display: block;
        font-size: inherit;
        width: auto;
        height: auto;
        margin-bottom: 1em;
    }
    
    .unige-cours .icon-link .fa {
        display: block;
        font-size: 2em;
        margin-bottom: 0.25em;
    }*/
    
    .unige-cours .social-icons {
        display: none;
    }
    
    .unige-cours .tab-content > .tab-pane {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .unige-cours .panel-group .collapse {
        display: block !important;
        height: auto !important;
    }
    
    .unige-cours .cours-tabs .nav-tabs,
    .unige-cours .cours-videos,
    .unige-cours .cours-small-search {
        display: none !important;
    }

    /*
    .unige-cours a.action-button {
        margin-bottom: 0 !important;
        font-weight: bold;
        text-align: left;
    }
    
    .unige-cours a.action-button:after {
        font-weight: normal;
    }

    .unige-cours .no-news a.action-button {
        width: 100%;
        margin: 0;
    }
    */

    .unige-cours a.action-button {
        display: none !important;
    }

    .unige-cours .main-container {
        margin-top: 1em;
    }

    .unige-cours .cours-banner {
        display: none;
    }

    .unige-cours a[href]:after {
        content: none;
    }

    .unige-cours .field-content.link-web a[href]:after,
    .unige-cours .field-content.link-reserve a[href]:after {
        content: " (" attr(href) ")";
    }
}