/***** modificacions sobre estil albert *****/


/****** estil links amb vora, after,etc...*****/
* {
    font-variant-ligatures: none; /* per impedir que s'ajuntin la f amb la i per exemple */
}

div#content-nucli dd a {
    display: inline !important; /* per enlla */
}

/****** estil a dins panel collapse, fer que la icona desplegable surti només en el títol, ajustar marges i paddings, si no tots els links es veuen malament  ******/
.panel-group .panel-default>.panel-heading a {
    padding: 0;
    border-top: 0;
}

.panel-group .panel-default>.panel-heading .panel-title a {
    padding: 30px 36px 30px 18px;
    border-top: 1px solid #D1D1D1;
}

.panel-group .panel-default>.panel-heading a:after {
    content: '';
}
.panel-group .panel-default>.panel-heading .panel-title a:after {
    content: '\e919';
}
a.curriculum-pdf:after {
    content: '\e91d' !important;
}
a.curriculum-url:after {
    content: '\e91c' !important;
}
/***** fi modificacions sobre estil albert *****/

/***** mencions *****/
div#presentation-specialties h2 {
    font-size: 150%;
    margin-top: 0;
}
/***** fi mencions *****/
/***** pla estudis *****/

ul.pla-estudis-assignatures {
    list-style-type: none;
}
ul.pla-estudis-assignatures li {
    border-right-width: 10px;
    border-right-style: solid;
    padding-right: 5px;
    padding-left: 22px;
}

ul.pla-estudis-assignatures li a {
    display: inline !important;
    margin-left: -22px;
}
.Obligatòria, .Obligatoria, .Compulsory {
    border-right-color: salmon;
}
.Optativa, .Optional {
    border-right-color: khaki;
}
.Projecte, .Proyecto, .Project {
    border-right-color: darkseagreen;
}

div.pla-estudis-quadrimestre h3 {
    font-size: 100%;
}

div#llegenda {
    float:right;
    width:50%;
}
/***** fi pla estudis *****/


h2.escola {
    font-size: 1.5rem;
    margin-top: -30px;
}

h2.escola + h2.escola {
    margin-top: -10px;
}

.panel-collapse {
    padding-left: 18px;
}

dt {
    padding-top: 18px;
}

.bullet-list {
    list-style: none;
    padding-left: 0;
}


/***** dreta *****/
a.bullet::before {
    font-family: "upc-icones";
    font-size: 100%;
    position: relative;
    margin-right: 6px;
}
a.bullet::after {
    content: " \e91c";
    font-family: "upc-icones";
    font-size: 75%;
    position: relative;
}

a.bullet-faq::before {
    content: " \e90d";
}

a.bullet-www::before {
    content: " \e92a";
}

a.bullet-rankings::before {
    content: " \e911";
}

label[for='check_privacitat'] {
    padding-left: 5px;
    font-weight: 200;
}

div#contacte_tipus_selector label {
    font-weight: lighter;
}
/***** fi dreta *****/

/*** pla estudis desplegable ***/
div.pla-estudis-selector {
    padding-top: 18px;
    display: block;
}

div.pla-estudis-selector a.btn:hover {
    color: #01559B;
}
a.especialitat-switcher {
    padding: 0 20px !important;
}
div.pla-estudis-separador {
    height: 150px;
}
a.especialitat-seleccionada {
    font-weight: 500 !important;
    font-size: 17px !important;
}
a.especialitat-switcher {
    font-size: 17px !important;
}


/*** fi pla estudis desplegable ***/


/***** clipping presentació *****/

.presentation-content-clip {
    max-height: 100px;
    overflow: hidden;
    position: relative;
}

.presentation-content-clip:after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    left: 0;
    height: 50%;
    width: 100%;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fff', endColorstr='#00ffffff',GradientType=0 );
    background: -webkit-gradient(linear, left bottom, left top, color-stop(0%, #fff), color-stop(100%, rgba(255,255,255,0)));
    background: -webkit-linear-gradient(bottom, #fff 0%, rgba(255,255,255,0) 100%);
    background:    -moz-linear-gradient(bottom, #fff 0%, rgba(255,255,255,0) 100%);
    background:     -ms-linear-gradient(bottom, #fff 0%, rgba(255,255,255,0) 100%);
    background:      -o-linear-gradient(bottom, #fff 0%, rgba(255,255,255,0) 100%);
    background:         linear-gradient(bottom, #fff 0%, rgba(255,255,255,0) 100%);
}


.expander-collapser {
    color:#666666;
    font-weight: bold;
    margin-bottom: 15px;
    position: relative;
    text-align: center;
    top: -15px;
}

.expander-collapser-hidden {
    display: none !important;
}

.expander-collapser:hover {
    cursor: pointer; cursor: hand;
}

#presentation-expander:before, #presentation-expander:after {
    content: '\25bc';
}

#presentation-collapser:before, #presentation-collapser:after {
    content: '\25b2';
}

/***** fi clipping presentació *****/

/******* especialitats dins presentació *******/

#presentation-specialties {
    border-left: 1px solid #ccc;
    margin-bottom: 0;
    padding-left: 10px;
}

#presentation-specialties h4 {
    margin-bottom: 5px;
    margin-top: 0;
}

#presentation-specialties ul {
    margin-left: 13px;
}
/******* fi especialitats dins presentació *******/

.radio {
  padding-left: 20px;
    margin-left: -45px;}
  .radio label {
    display: inline-block;
    position: relative;
    padding-left: 25px;
    }

.radio.radio-inline {
    margin-top: 0;
}


/*** fitxa unitat ***/
dd.xarxes-socials {
    font-size: 35px;
}
dd.xarxes-socials a:hover {
    text-decoration: none;
}

.imatge-escola.hotnews-video:after {
    bottom: calc(50% + -24px);
}

/*** fi fitxa unitat ***/

/*** opencourseware ***/
#ocw-banner {
    font-weight: bold;
    font-size: 2.5rem;
    flex-direction: row;
    align-items: center;
    padding-left: 0;
    min-height: auto;
    color: #4a4a4a;
}
#ocw-banner:after {
    color: #4a4a4a;
    border-color: #4a4a4a;
}
#ocw-banner span {
    padding-left: 0.4rem;
}
#ocw-text-1 {
    color: #fff;
}
#ocw-text-2 {
    font-size: 1.2rem;
}
@media (max-width: 992px) {
    #ocw-banner {
        flex-direction: column;
        align-items: flex-start;
    }
    #ocw-text-1 {
        word-wrap: break-word;
        word-break: break-all;
    }
}
/*** fi opencourseware ***/

/*** lloc imparcio ***/
dl + dl#lloc-imparticio {
    margin-top: -20px;
}

/*** video incrustat estudis ***/
#span4-right video {
    max-width: 100%;
    margin-bottom: 20px;
    object-fit: cover;
}
#span4-right #video-link {
    bottom:20px;
    position:relative;
    padding:0;
}

#span4-right .youtube-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
    margin-bottom: 20px;
}
#span4-right .youtube-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


#collapse-images-collapse-quality img {
    max-width: 240px;
}

/* jpos */
.jpo-well {
    outline-style: none;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #eee;
    border-left-width: 5px;
    border-radius: 3px;
    border-left-color: #a75c00;
    margin-top: -5px;
}

ul.jpos {
    margin-left: 10px;
}

ul.jpos li:before {
    color: orange;
    font-size: .60rem;
}

/* elimina posicio per a que funcioni correctament modals */
.jpos .panel-group .collapse {
    position: unset;
}

/* modal */
.modal-jpo dt {
    float: left;
    clear: left;
    width: 150px;
    text-align: right;
    font-weight: bold;
    padding-top: 0;
}

.modal-jpo dd {
    margin: 0 0 0 160px;
    padding: 0 0 0.5em 0;
}

.modal-jpo .modal .no-link {
    display: none;
}

/* jpo impressió */
.modal-jpo .button-print {
    position: relative;
    left: 470px;
    bottom: 15px;
}

@media print {
  .hide-body * {
    visibility:hidden;
  }
  .print-section, .print-section * {
    visibility:visible;
  }
  .print-section {
    position:absolute;
    left:0;
    top:0;
  }
  .print-section button {
    visibility: hidden;
  }
}

.diptic {
    margin-top: 30px;
}

.virtual {
    background-color: transparent;
    color: #a75c00;
    padding: 1px 6px;
    border: 1px solid #a75c00;
    margin-left: 5px;
}
.presencial {
    background-color: transparent;
    color: #119349;
    padding: 1px 6px;
    border: 1px solid #119349;
    margin-left: 5px;
}


.llista-jpos li {
    margin-bottom: 4px;
}

#sessions-informatives h3 {
    font-size: 100%;
    font-weight: bold;
}

#politica_privacitat a {
    color: #0074b6;
}

.document-description {
    color: #757575;
}

dt, dd {
    line-height: 1.5;
}

.off-screen {
    left: -100vw;
    position: absolute;
}

.not-underlined, .not-underlined * {
    text-decoration: none;
}

.not-underlined:hover {
    text-decoration: underline;
}
