/*
Theme Name: WP DC
Author: Daniel Casabona Gomez
Description: Tema personalizado a medida.
Version: 0.5
Text Domain: casabona
*/

/*Generales WP
-------------------------------------------------------------- */

img {
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%;
    /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 100%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px 0;
    text-align: left;
}

/*Clearings*/

.clear:before,
.clear:after,
blockquote:before,
blockquote:after,
.entry-content:before,
.entry-content:after,
.entry-summary:before,
.entry-summary:after,
.comment-content:before,
.comment-content:after,
.site-content:before,
.site-content:after,
.site-main>article:before,
.site-main>article:after,
.primary-menu:before,
.primary-menu:after,
.social-links-menu:before,
.social-links-menu:after,
.textwidget:before,
.textwidget:after,
.content-bottom-widgets:before,
.content-bottom-widgets:after {
    content: "";
    display: table;
}

.clear:after,
blockquote:after,
.entry-content:after,
.entry-summary:after,
.comment-content:after,
.site-content:after,
.site-main>article:after,
.primary-menu:after,
.social-links-menu:after,
.textwidget:after,
.content-bottom-widgets:after {
    clear: both;
}

/* Text meant only for screen readers. */

.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    white-space: nowrap;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
}

/*./Generales WP
-------------------------------------------------------------- */

/*My CSS
-------------------------------------------------------------- */

body {
    font-family: 'UOC Sans_Regular';
    color: #001578;
}

a {
    color: #001578;
}

a:hover,
a:focus {
    color: #001578;
    text-decoration: underline;
}

h1,
h2 {
    font-weight: normal;
    font-family: 'UOC Sans_Bold';
    line-height: 1;
}

pre {
    background: #F0F0F0;
    margin: 35px 0;
}

.relative {
    position: relative;
}

.container {
    width: 100%;
    max-width: 1200px;
}
.otgs-development-site-front-end{
    display:none;
}

@media (min-width: 768px) {
    #content {
        min-height: 395px;
    }
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .container {
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (min-width: 1200px) and (max-width: 1366px) {
    .container {
        padding-left: 55px;
        padding-right: 55px;
    }
}

/*Header*/

.dropdown-menu {
    font-size: 18px;
    background-color: #f0f0f0;
    border: none;
    border-top: 4px solid #001578;
    border-bottom: 4px solid #001578;
    min-width: 135px;
    padding: 0 5px;
    border-radius: 0;
    box-shadow: none
}

.dropdown-menu a {
    color: #706f6f
}

.dropdown-menu li {
    border-bottom: 1px solid #d0d0d0
}

.dropdown-menu li:last-child {
    border: none
}

.dropdown-menu li>a {
    padding: 2px 2px 10px
}

.dropdown-menu li>a:focus,
.dropdown-menu li>a:hover {
    background-color: transparent;
    color: #d0d0d0;
    outline: 0
}

.dropdown-menu:before {
    content: "";
    display: block;
    width: 25px;
    height: 16px;
    background-image: url(images/arrow-drop.svg);
    background-repeat: no-repeat;
    top: -16px;
    left: 60%;
    position: absolute
}

.header-top {
    background-color: #73edff
}

.header-top .container {
    padding-top: 15px;
    padding-bottom: 15px
}

header .logo {
    background-image: url(images/logo.svg);
    background-repeat: no-repeat;
    background-size: 57px 43px;
    padding-left: 57px;
    float: left;
    width: 80%
}

header .header-top.no-lang .logo {
    width: 100%;
}

@media (min-width:768px) {
    header .logo {
        width: 90%
    }
}

@media (min-width:992px) {
    header .logo {
        width: 94%
    }
}

.logo__name {
    margin-left: 4px;
    font-family: 'UOC Serif_Regular';
    font-size: 13px;
    border-top: 3px solid #fff;
    border-bottom: 3px solid #fff;
    height: 43px;
    line-height: 13px;
    margin-right: 4px
}

.logo__name p {
    margin-top: 4px
}

.header-top.no-lang .language {
    display: none;
}

.language {
    float: right;
    width: 20%;
    border-top: 3px solid #fff;
    border-bottom: 3px solid #fff;
    height: 43px
}

@media (min-width:768px) {
    .language {
        width: 10%
    }
}

@media (min-width:992px) {
    .language {
        width: 6%
    }
}

.language button {
    font-family: 'UOC Sans_Bold';
    font-size: 16px;
    text-transform: uppercase;
}

.language button span {
    background-image: url(images/dropdown.svg);
    background-repeat: no-repeat;
    width: 17px;
    height: 12px;
    background-position: 50%;
    display: inline-block;
    margin-left: 5px;
}

.language button:focus span,
.language button:hover span {
    background-image: url(images/dropdown-h.svg)
}

.language .dropdown-menu {
    top: 53px;
    left: -59px
}

.btn--clean {
    border: none;
    background: transparent;
    outline: none;
    color: #001578
}

.btn--clean:focus,
.btn--clean:hover {
    color: #706f6f
}

/*Ajustes navbar*/

.navbar-default {
    background: none;
    border: none;
    font-size: 20px;
}

.navbar-default .navbar-nav li {
    margin-bottom: 10px;
}

.navbar-default .navbar-nav>li>a {
    padding: 0;
    color: #001578;
}

.navbar-default .navbar-nav>li>a:hover,
.navbar-default .navbar-nav>li>a:focus,
.navbar-default .navbar-nav>.open>a,
.navbar-default .navbar-nav>.open>a:hover,
.navbar-default .navbar-nav>.open>a:focus {
    text-decoration: underline;
    color: #001578;
    background: none;
}

.navbar-default .navbar-collapse {
    border-color: #001578;
}

.navbar-default .caret,
.navbar-default .navbar-nav>.open>a .caret {
    background-image: url('images/arrow-down-b.svg');
    height: 12px;
    width: 20px;
    background-repeat: no-repeat;
    border: none;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:hover,
.navbar-default .navbar-nav>.active>a:focus {
    background-color: transparent;
    color: #001578;
    font-family: 'UOC Sans_Bold';
}

@media (max-width: 767px) {
    .navbar-default {
        margin-bottom: 0;
    }
    .navbar-default .navbar-toggle {
        border-radius: 0;
        background-color: #d0d0d0;
        border: none;
        line-height: 1;
        padding: 6px 12px;
        margin-right: 0;
        font-size: 14px;
        margin-bottom: 20px;
        margin-top: 20px;
    }
    .navbar-default .navbar-toggle .icon-bar {
        background-color: #001578;
    }
    .navbar-default .navbar-toggle:hover,
    .navbar-default .navbar-toggle:focus {
        background-color: #73EDFF;
    }
    .navbar-default .navbar-nav .dropdown-menu {
        font-size: 20px;
        margin: 10px 0;
        padding: 0;
    }
    .navbar-default .navbar-nav .open .dropdown-menu>li>a {
        color: #001578;
        padding: 0;
    }
}

@media (min-width: 768px) {
    .navbar-default .navbar-collapse {
        padding-left: 0;
        padding-right: 0;
    }
    .navbar-default .navbar-nav>li {
        margin: 0 30px 10px 0;
    }
    .navbar-default .navbar-nav>li>.dropdown-menu {
        margin-top: 5px;
        left: 4px;
        width: 98%;
        border-radius: 0;
    }
    .navbar-default .dropdown-menu {
        border: 4px solid #001578;
        border-left: none;
        border-right: none;
        background-color: #F0F0F0;
    }
    .navbar-default .dropdown-menu>li>a {
        padding: 10px;
        color: #001578;
        font-size: 18px;
    }
    .navbar-default .dropdown-menu>li>a:hover,
    .navbar-default .dropdown-menu>li>a:focus {
        text-decoration: underline;
        background-color: transparent;
        outline: 0;
    }
    .navbar-default .dropdown-menu>.active>a,
    .navbar-default .dropdown-menu>.active>a:hover,
    .navbar-default .dropdown-menu>.active>a:focus {
        background-color: #F0F0F0;
        font-family: 'UOC Sans_Bold';
        color: #001578;
    }
    .header-bottom .navbar {
        min-height: 0;
        margin: 30px 0 20px;
    }
}

/*Search*/

.search-form input {
    border-radius: 0px;
    background-color: #F0F0F0;
    color: #878787;
    font-family: 'UOC Serif_Regular';
    border: none;
    box-shadow: none;
    height: 50px;
    font-size: 18px;
}

.search-form input:hover,
.search-form input:focus {
    border: none;
    box-shadow: none;
    /*background-color: #d0d0d0;*/
    color: #001578;
}

.search-form button,
.search-form button:active {
    border: none;
    width: 70px;
    height: 50px;
    background-image: url('images/lens.svg');
    background-repeat: no-repeat;
    background-color: #d0d0d0;
    padding: 0px;
    background-position: left bottom;
    border-radius: 0px;
}

.search-form button:hover,
.search-form button:focus {
    border: none;
    background-color: #d0d0d0;
    outline: 0px;
}

@media (min-width: 768px) {
    .search-form input {
        font-size: 24px;
    }
}

/*Banner header*/

.banner {
    background-color: #74EDFF;
    /*min-height: 200px;*/
    padding: 20px 15px 15px;
    margin: 0px 0 20px;
}

.banner__title {
    font-family: 'UOC Sans_Bold';
    /*min-height: 125px;*/
    margin-bottom: 50px;
}

.banner__title h1,
.banner__title p {
    margin: 0;
    font-size: 40px;
    font-weight: normal;
    line-height: 1;
    display: inline;
    padding-right: 45px;
}

.banner__description {
    font-size: 20px;
    font-family: 'uoc-serif';
    margin-bottom: 0;
    margin-left: 5px;
    min-height: 55px;
}

.banner__description span {
    margin-left: 15px;
    display: inline-block;
}

.banner__help {
    text-align: right;
    position: absolute;
    right: 0;
    bottom: 0;
}

.banner__help a {
    padding: 5px 35px 5px 0;
    background-image: url('images/info.svg');
    background-repeat: no-repeat;
    background-position: center right;
    font-size: 17px;
}

.banner__help a:hover,
.banner__help a:focus {
    outline: 0px
}

@media (min-width: 768px) {
    .banner {
        margin: 20px 0 30px;
    }
    .banner__title h1,
    .banner__title p {
        font-size: 55px;
    }
}

/*Footer*/

footer {
    margin-top: 50px;
}

.uoc-footer {
    font-size: 17px;
}

.hr--grey {
    margin: 0;
    border-top: 4px solid #cccccc;
}

.hr--light {
    margin: 0;
    border-top: 4px solid #29F0FF;
}

.uoc-footer__hr>div {
    float: left;
}

.uoc-footer__hr>div:first-child {
    width: 23.5%;
}

.uoc-footer__hr>div:last-child {
    width: 74.5%;
    margin-left: 2%;
}

.uoc-footer__row>div {
    /*height: 40px;*/
    float: left;
    padding-top: 3px;
}

.uoc-footer__row>div:first-child {
    width: 23.5%;
    /*margin-right: -18px;*/
}

.uoc-footer__row>div:first-child>a {
    padding: 0 5px;
}

.uoc-footer__row>div:last-child {
    width: 76.5%;
}

.uoc-footer__copy {
    border-bottom: none;
}

.uoc-footer__copy {
    color: #001578;
    margin-left: 2.4%;
    font-size: 17px;
}

.footer__copyright {
    font-size: 14px;
    padding: 5px 10px;
    background-color: #D5FAFF;
    font-style: italic;
}

.footer__copyright img {
    max-width: 90px;
    margin: 5px 0;
}

.footer__copyright p {
    margin-bottom: 5px
}

@media (min-width: 768px) {
    footer {
        margin-top: 100px;
    }
}

/*Single*/

.go-back {
    color: #000078;
    padding-left: 20px;
    background-image: url('images/arrow-left.svg');
    background-repeat: no-repeat;
    font-size: 20px;
    margin-bottom: 20px;
    display: inline-block;
    background-position: left 6px;
}

@media (min-width: 768px) {
    .go-back {
        margin-bottom: 30px;
    }
}

.single-content {
    font-size: 20px;
    border-top: 4px solid #73EDFF;
    padding-top: 5px;
}

.single-content a {
    text-decoration: underline;
    word-break: break-word;
}

.single-content ol,
.single-content ul {
    padding-left: 20px;
    margin-bottom: 25px;
}

.single-content ol ul,
.single-content ol ol,
.single-content ul ul,
.single-content ul ol {
    margin-bottom: 0;
}

.single-content p {
    margin-bottom: 25px;
}

.single-content .featured {
    margin: 30px auto;
    background-color: #D5FAFF;
    padding: 20px 30px;
}

.single-content .featured.featured-grey {
    background-color: #F0F0F0;
}

.single-content .featured p:last-child,
.single-content .featured ul:last-child,
.single-content .featured ol:last-child {
    margin-bottom: 0;
}

.single-content .blockquote-author{
margin: 30px 0;
    position: relative;
    padding: 0 0 0 105px;
    border: none;
    font-size: 20px;
    font-family: 'UOC Serif_Regular';
    min-height: 80px;
}

.single-content .blockquote-author:before{
    background-image: url('images/cita.png');
    background-repeat: no-repeat;
    width: 77px;
    height: 67px;
    position: absolute;
    left: 0;
    top: 5px;
    content: "";
    display: table;
}

.single-content span.roman,
.popover-content .versa-pop {
    text-transform: uppercase;
    font-size: 80%;
}

.single-content .my-image {
    margin-top: 30px;
    margin-bottom: 30px;
}

.single-content h2 {
    border-top: 4px solid #73EDFF;
    font-size: 28px;
    margin: 50px 0 30px;
    padding-top: 5px;
}

.single-content h3 {
    font-size: 25px;
    margin: 40px 0 30px;
    font-family: 'UOC Sans_Bold';
}

.single-content h4 {
    font-size: 22px;
    margin: 40px 0 30px;
    font-family: 'UOC Sans_Bold';
}

.single-content>h2:first-child {
    margin-top: 0;
    border: none;
    padding-top: 0;
}

.single-content .wp-caption {
    margin-top: 30px;
    margin-bottom: 30px;
    border: none;
    max-width: 100%;
    padding: 5px 0 0;
}

.single-content .wp-caption .wp-caption-text {
    font-size: 17px;
    margin-top: 10px;
}

.single-content .wp-caption .my-image {
    margin-top: 0;
    margin-bottom: 0;
}

.single-content .videowrapper {
    margin: 30px auto;
    background-color: #F0F0F0;
}

.single-content .videocontent {
    max-width: 990px;
}

.single-content blockquote{
    margin: 30px 0;
    position: relative;
    padding: 0 0 0 105px;
    border: none;
    font-size: 20px;
    font-family: 'UOC Serif_Regular';
  	min-height:80px;
}

.single-content blockquote:before {
	background-image: url('images/cita.png');
	background-repeat: no-repeat;
	width: 77px;
	height: 67px;
	position: absolute;
	left: 0;
	top: 5px;
}

.single-tags {
    margin-top: 20px;
}

.box-facts {
    background-color: #F8F8F8;
    border-top: 4px solid #73EDFF;
    padding: 15px 15px 10px;
    margin-bottom: 45px;
}

.box-facts h2 {
    font-size: 25px;
    margin: 0 0 20px;
}

.box-facts__single {
    margin-bottom: 15px;
    font-family: 'UOC Sans_Bold';
    font-size: 17px;
    /*padding-left: 5px;*/
}

.box-facts__single::after {
    content: "";
    display: block;
    clear: both;
}

.box-facts__image {
    width: 50px;
    float: left;
    padding-top: 5px;
}

.box-facts__single p {
    float: left;
    margin: 0;
    line-height: 22px;
}

.box-facts__single span {
    font-family: 'UOC Sans_Regular';
    display: block;
}

.box-class h2 {
    font-size: 25px;
    margin: 15px 0;
}

.box-class__wrapp {
    background-color: #F8F8F8;
    padding: 0 15px;
    margin-bottom: 40px;
}

.box-class__wrapp:last-child {
    margin-bottom: 45px;
}

.box-class .box-class__wrapp:first-child {
    border-top: 4px solid #73EDFF;
}

.box-class__element {
    font-family: 'UOC Sans_Bold';
    font-size: 20px;
    border-top: 1px dotted #D0D0D0;
    padding: 5px 0;
}

.box-class__wrapp .box-class__element:first-child {
    border: none;
}

.box-class__element::after {
    content: "";
    display: block;
    clear: both;
}

.box-class__element img {
    float: right;
    margin-top: 7px;
}

/*Box etapa*/

.box-etapa {
    border-top: 4px solid #73EDFF;
    margin-bottom: 40px;
}

.box-etapa h2 {
    font-size: 25px;
    margin: 15px 0;
}

.box-etapa__wrap {
    width: 312px;
    height: 302px;
    position: relative;
    margin: 0 auto;
}

.box-etapa__wrap p {
    position: absolute;
    display: block;
    width: 91px;
    font-size: 15px;
    text-align: center;
}

.box-etapa__wrap img {
    position: absolute;
}

.box-etapa__wrap .etapa-back {
    left: 39px;
    top: 40px;
}

.box-etapa__wrap p.on {
    color: white;
}

.box-etapa__wrap .investigacio p {
    top: 140px;
}

.box-etapa__wrap .investigacio img {
    top: 105px;
    left: 0;
}

.box-etapa__wrap .definicio p {
    left: 107px;
    top: 36px;
}

.box-etapa__wrap .definicio img {
    left: 107px;
}

.box-etapa__wrap .generacio p {
    right: 0;
    top: 140px;
}

.box-etapa__wrap .generacio img {
    top: 105px;
    right: 0;
}

.box-etapa__wrap .avaluacio p {
    bottom: 25px;
    left: 108px;
}

.box-etapa__wrap .avaluacio img {
    left: 107px;
    bottom: 0px;
}

/*Columnas*/

.single-content .row [class*="col-"] .wp-caption,
.single-content .row [class*="col-"] .my-image {
    margin-top: 0;
}

.single-content .row [class*="col-"] p .my-image,
.single-content .row [class*="col-"] p .wp-caption {
    margin-bottom: 0;
}

.single-content .full_width,
.single-content .one_half,
.single-content .one_third,
.single-content .two_third,
.single-content .one_fourth,
.single-content .three_fourth,
.single-content .one_fifth,
.single-content .two_fifth,
.single-content .three_fifth,
.single-content .four_fifth,
.single-content .one_sixth,
.single-content .five_sixth {
    margin-bottom: 0px;
}

/*./Columnas*/

.list-cat {
    border-top: 4px solid #73EDFF;
    background-color: #F8F8F8;
    padding: 0 15px 5px;
    margin: 20px 0;
}

.list-cat:last-child {
    margin: 20px 0 50px;
}

.list-cat h2 {
    font-size: 28px;
    margin: 0;
    padding: 10px 0;
}

.list-cat ul {
    font-size: 20px;
    font-family: 'UOC Sans_Bold';
    list-style: none;
    padding-left: 0;
}

.list-cat ul li {
    border-top: 1px dotted #D0D0D0;
    padding: 5px 0;
}

.wrapper-title {
    margin-bottom: 45px;
    background-color: #D5FAFF;
}

.title-single {
    min-height: 350px;
    padding: 20px 15px;
    background-color: #D5FAFF;
    background-repeat: no-repeat;
    background-position-y: 92%;
    background-position-x: 90%;
    background-size: auto 155px;
    position: relative;
}

.title-single__category {
    font-size: 22px;
}

.title-single__img {
    /*max-width: 130px;*/
    position: absolute;
    right: 20px;
    bottom: 20px;
    /*width: 100%;*/
}

.title-single h1 {
    margin: 0;
    font-size: 35px;
    word-break: break-word;
}

.title-single--icon h1 {
    margin-bottom: 150px;
}

.guide__link {
    padding: 5px 15px 20px;
}

.guide__link a {
    text-align: center;
    background-color: #000078;
    color: white;
    font-size: 24px;
    width: 100%;
    padding: 5px;
    display: block;
}

@media (min-width: 768px) {
    .title-single {
        min-height: 370px;
    }
    .title-single h1 {
        font-size: 45px;
        line-height: 45px;
    }
}

/*Page*/

.title-page {
    border-top: 4px solid #73EDFF;
    padding-top: 5px;
}

.title-page h1 {
    font-size: 40px;
    margin: 0 0 20px;
}

.single-content.cs-page h2 {
    border: none;
}

/*Index*/

/*ISOTOPE*/

.row-filter>.col-sm-12 {
    padding-left: 0;
    padding-right: 0;
}

.isotope-content {
    min-height: 670px;
}

.isotope-content a:hover,
.isotope-content a:focus {
    text-decoration: none;
}

.item__content {
    height: 325px;
    margin-bottom: 24px;
    background-color: #D5FAFF;
    padding: 15px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50%;
}

.item__content--image {
    position: relative;
    color: white;
}

.item__content--icon {
    background-position: right 15px bottom 15px;
    background-size: auto;
}

.item__content--image .item__opacity {
    background-color: #001578;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    z-index: 0;
}

.item__content--image .item__info {
    z-index: 0;
    position: relative;
}

.item__content h2 {
    margin: 0 0 10px 0;
    font-size: 35px;
    word-break: break-word;
    line-height: 1;
}

.isotope-content a:hover h2,
.isotope-content a:focus h2 {
    text-decoration: underline;
}

.item__categories {
    font-size: 21px;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .item__content h2 {
        /*line-height: 0.9;*/
        font-size: 30px;
    }
    .item__categories {
        line-height: 1.2;
        font-size: 20px;
    }
}

@media (min-width: 1200px) {
    .item__content h2 {
        font-size: 31px;
    }
    .item__categories {
        font-size: 20px;
    }
}

/*Filter ISOTOPE*/

.filter-cat legend {
    border-bottom: none;
    border-top: 4px solid #000078;
    font-size: 28px;
    font-family: 'UOC Sans_Bold';
    padding-top: 5px;
    color: #000078;
    line-height: 1;
    margin-bottom: 20px;
}

.filter-cat fieldset {
    margin-bottom: 10px;
}

.filter-cat label {
    margin: 0 10px 10px 0px;
    font-size: 20px;
    font-weight: normal;
}

.filter-cat label,
.filter-cat input[type=checkbox] {
    display: inline;
}

.filter-reset {
    margin-bottom: 40px;
}

.filter-reset hr {
    margin-top: 0;
    margin-bottom: 10px;
    border-top: 1px dotted #D0D0D0;
}

.filter-reset button.clear {
    border: none;
    font-size: 20px;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    background-image: url('images/close.svg');
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 25px;
}

.filter-reset button.clear:hover,
.filter-reset button.clear:focus {
    text-decoration: underline;
    color: #000078;
}

/*Forms*/

.form-check label {
    padding-left: 25px;
    position: relative;
    display: inline-block;
    cursor: pointer;
    line-height: 1.1;
}

.form-check label input {
    opacity: 0;
    filter: alpha(opacity=0);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    margin: auto;
}

@font-face {
    font-family: "icons";
    src: url("fonts/iconfonts/icons.eot?833d04c7e37d96bcf3281d1e33bbf94b");
    src: url("fonts/iconfonts/icons.eot?#iefix") format("embedded-opentype"), url("fonts/iconfonts/icons.woff?833d04c7e37d96bcf3281d1e33bbf94b") format("woff"), url("fonts/iconfonts/icons.ttf?833d04c7e37d96bcf3281d1e33bbf94b") format("truetype");
    font-weight: normal;
    font-style: normal;
}

.icon {
    font-family: "icons";
    display: inline-block;
    vertical-align: middle;
    line-height: 1;
    font-weight: normal;
    font-style: normal;
    speak: none;
    text-decoration: inherit;
    text-transform: none;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon:focus {
    outline: -webkit-focus-ring-color auto 5px;
}

.form-check label .icon {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: auto;
    margin: auto;
    font-size: 1.3rem;
    text-decoration: none;
    line-height: 24px;
    font-size: 17px;
}

.form-check label .icon:before {
    content: "\f110";
}

.form-check label .icon--checkbox-on:before {
    content: "\f111";
}

@media (min-width: 992px) {
    .form-check label {
        /*min-height: 55px;*/
    }
}

/*New filter*/

.filter-cat .clasification__title {
    border-bottom: none;
    border-top: 4px solid #000078;
    font-size: 28px;
    font-family: 'UOC Sans_Bold';
    padding-top: 5px;
    color: #000078;
    line-height: 1;
    margin-bottom: 15px;
}

.clasification .form-check {
    position: relative;
    min-height: 70px;
}

.clasification legend {
    border: none;
    font-size: 21px;
    font-family: 'UOC Sans_Regular';
    padding-left: 35px;
    background-repeat: no-repeat;
}

legend.durada {
    background-image: url('images/durada.svg');
}

legend.dificultat {
    background-image: url('images/dificultat.svg');
}

legend.expertesa {
    background-image: url('images/expertesa.svg');
}

legend.participants {
    background-image: url('images/participants.svg');
}

.clasification .option-check {
    position: absolute;
    top: 0;
}

.clasification .absolute-bar {
    height: 4px;
    background-color: #B3B3B3;
    position: absolute;
    top: 10px;
    width: 100%;
}

.clasification .group-option .option-check:first-child {
    left: 0;
}

.clasification .group-option .option-check:nth-child(2) {
    left: 50%;
    margin-left: -30px;
    text-align: center;
}

.clasification .form-check .group-option .option-check:nth-child(2) label .icon {
    left: 50%;
    margin-left: -10px;
}

.clasification .group-option .option-check:last-child {
    right: 0;
    text-align: right;
}

.clasification .form-check .group-option .option-check:last-child label .icon {
    left: auto;
    right: 0px;
}

.clasification .form-check label {
    padding: 30px 0 0 0;
    margin: 0;
    width: 60px;
}

.clasification .form-check label .icon:before {
    background-color: white;
}

/*Modales*/

.modal .modal-dialog {
    max-width: 1200px;
}

.modal .modal-dialog {
    width: auto;
    max-width: 1200px;
}

.modal .modal-content {
    padding: 10px;
    border-radius: 0;
    background-color: #000078;
    min-height: 70px;
    color: white;
}

.modal .modal-close {
    width: 26px;
    height: 26px;
    background-image: url(images/close-modal.svg);
    background-repeat: no-repeat;
    background-size: 26px;
    display: block;
    float: right;
}

.modal .modal-close:hover,
.modal .modal-close:focus {
    background-image: url(images/close-modal-h.svg);
}

.modal .modal-header {
    border: none;
    padding: 10px 15px;
    clear: both;
}

.modal .modal-header h2 {
    margin: 0;
    display: block;
    max-width: 625px;
    line-height: 1;
    font-size: 36px;
}

.modal .modal-body {
    max-height: 510px;
    overflow-y: auto;
    padding: 0 15px;
    margin: 15px 0;
}

.modal-body {
    font-size: 20px;
}

.modal-body p {
    margin-bottom: 25px;
}

.modal-body a {
    text-decoration: underline;
    color: white;
}

.modal-body a:hover,
.modal-body a:focus {
    color: #706F6F;
}

.modal-body .highlighted {
    margin-bottom: 25px;
    line-height: 1;
    font-family: 'UOC Serif_Regular';
    font-size: 24px;
}

.modal-body ol,
.modal-body ul {
    padding-left: 20px;
    margin-bottom: 25px;
}

.modal-body ol ul,
.modal-body ol ol,
.modal-body ul ul,
.modal-body ul ol {
    margin-bottom: 0;
}

.modal-body .highlighted p:last-child {
    margin-bottom: 0;
}

.modal-body h3 {
    font-size: 28px;
    margin: 0px 0 15px;
    padding-top: 5px;
    font-weight: normal;
    font-family: 'UOC Sans_Bold';
}

.modal-body h3:first-child {
    margin-top: 0;
    padding-top: 0;
}

#myHelp .modal-body img {
    margin: 15px 0 0;
}

.extra-info{
    margin:20px 0 0;
    border-top: 4px solid #73EDFF;
    background-color: #F8F8F8;
    padding: 15px 15px 5px;
    font-size:20px;
  }
  
  /* 3iPunt */
  .cop-info{
        margin-top: 20px;
      background-color: #D5FAFF;
  }
  
  .cop-info p{
      padding: 15px 15px 5px;
      font-size: 14px;
  }
  .grid-container-cc{
    display: grid;
    padding: 0 15px 15px 15px;
    grid-template-columns: auto auto;
}

.grid-item-1{
    align-self: center;
}

.grid-item-1 img{max-width:85px;}

.grid-item-2{
    align-self: center;
    justify-self: right;
    width: 20%;
}

.grid-container-default{
    display: grid;
    padding: 0 15px 15px 15px;
    grid-template-columns: auto;
}

.grid-item-default{
    align-self: center;
    justify-self: right;
    width: 10%;
}

@media (min-width: 768px) {
    .modal .modal-content {
        padding: 20px;
    }
    .modal .modal-header h2 {
        font-size: 65px;
    }
    .modal-body .highlighted {
        font-size: 28px;
    }
}

/*Página guía*/

.banner--guia {
    position: relative;
    margin-bottom: 70px;
    background-color: #D5FAFF;
}

.banner--guia .banner__title {
    padding-right: 130px;
}

.banner__subtitle {
    font-size: 20px;
}

.banner--guia img {
    position: absolute;
    right: 20px;
    bottom: 20px;
    max-width: 90px;
}

@media (min-width: 768px) {
    .banner--guia {
        margin-bottom: 80px;
    }
    .banner--guia .banner__title {
        padding-right: 190px;
    }
    .banner__subtitle {
        font-size: 30px;
        line-height: 24px;
    }
    .banner--guia img {
        position: absolute;
        right: 20px;
        bottom: 20px;
        max-width: 100%;
    }
}

.h2--section {
    font-size: 40px;
    margin: 0 0 20px;
}

.single-guia-content>.row {
    margin-top: 35px;
}

.single-guia-content>.row:first-child {
    margin-top: 0px;
}

.single-guia .single-content h3 {
    border-top: 4px solid #73EDFF;
    font-size: 28px;
    margin: 55px 0 30px;
    padding-top: 5px;
    font-weight: normal;
    font-family: 'UOC Sans_Bold';
    line-height: 1;
}

.single-guia .single-content h4 {
    font-size: 28px;
    margin: 40px 0 30px;
    padding-top: 5px;
    font-weight: normal;
    font-family: 'UOC Sans_Bold';
    line-height: 1;
}

.single-guia .single-content h3:first-child,
.single-guia .single-content h4:first-child {
    margin-top: 0;
    border: none;
    padding-top: 0;
}

/* Tooltip container */

.single-content a[data-toggle="popover"],
.single-content a[data-toggle="popover"]:hover,
.single-content a[data-toggle="popover"]:focus {
    text-decoration: none;
    border-bottom: 1.5px dashed;
}

a[data-toggle="popover"].tooltip {
    position: relative;
    /*display: inline;*/
    display: inline;
    border-bottom: 1.5px dashed;
    /* If you want dots under the hoverable text */
    text-decoration: none;
    opacity: 1;
    font-size: inherit;
    font-family: inherit;
}

a[data-toggle="popover"].tooltip:hover {
    text-decoration: none;
}

.popover {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1060;
    display: none;
    max-width: 276px;
    padding: 1px;
    font-family: 'UOC Sans_Regular';
    font-style: normal;
    font-weight: normal;
    letter-spacing: normal;
    line-break: auto;
    line-height: 1.42857143;
    text-align: left;
    text-align: start;
    text-decoration: none;
    text-shadow: none;
    text-transform: none;
    white-space: normal;
    word-break: normal;
    word-spacing: normal;
    word-wrap: normal;
    font-size: 14px;
    background-color: #73EDFF;
    border-radius: 0px;
    border: none;
}

.popover.bottom {
    margin-top: 10px;
}

.popover-content {
    padding: 9px 14px;
    word-wrap: break-word;
}

.popover>.arrow,
.popover>.arrow:after {
    position: absolute;
    display: block;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
}

.popover>.arrow {
    border-width: 11px;
}

.popover>.arrow:after {
    border-width: 10px;
    content: "";
}

.popover.top>.arrow {
    left: 50%;
    margin-left: -11px;
    border-bottom-width: 0;
    border-top-color: transparent;
    bottom: -11px;
}

.popover.top>.arrow:after {
    content: " ";
    bottom: 1px;
    margin-left: -10px;
    border-bottom-width: 0;
    border-top-color: #73EDFF;
}

.popover.right>.arrow {
    top: 50%;
    left: -11px;
    margin-top: -11px;
    border-left-width: 0;
    border-right-color: transparent;
}

.popover.right>.arrow:after {
    content: " ";
    left: 1px;
    bottom: -10px;
    border-left-width: 0;
    border-right-color: #73EDFF;
}

.popover.bottom>.arrow {
    left: 50%;
    margin-left: -11px;
    border-top-width: 0;
    top: -11px;
}

.popover.bottom>.arrow:after {
    content: " ";
    top: 1px;
    margin-left: -10px;
    border-top-width: 0;
    border-bottom-color: #73EDFF;
}

.popover.left>.arrow {
    top: 50%;
    right: -11px;
    margin-top: -11px;
    border-right-width: 0;
    border-left-color: transparent;
}

.popover.left>.arrow:after {
    content: " ";
    right: 1px;
    border-right-width: 0;
    border-left-color: #73EDFF;
    bottom: -10px;
}

/*Página de búsqueda*/

.cs-title {
    font-family: 'UOC Sans_Regular';
}

h1.cs-title {
    font-size: 22px;
    margin: 0 0 35px;
}

h2.cs-title {
    font-size: 18px;
}

.cs-search .item>a:hover,
.cs-search .item>a:focus {
    text-decoration: none;
}

.cs-search .item>a:hover h2,
.cs-search .item>a:focus h2 {
    text-decoration: underline;
}

/*Págna archivo*/

.cs-archive .item>a:hover,
.cs-archive .item>a:focus {
    text-decoration: none;
}

.cs-archive .item>a:hover h2,
.cs-archive .item>a:focus h2 {
    text-decoration: underline;
}

/*Paginación*/

.custom-pagination {
    float: right;
    margin-top: 20px
}

.custom-pagination .pagination {
    margin-bottom: 0px
}

.custom-pagination .pagination li a,
.custom-pagination .pagination>li:last-child>a,
.custom-pagination .pagination>li:last-child>span,
.custom-pagination .pagination>li:first-child>a,
.custom-pagination .pagination>li:first-child>span {
    border-radius: 0px;
    color: #001578;
}

.custom-pagination .pagination li a:hover,
.custom-pagination .pagination li a:focus {
    text-decoration: underline;
    color: #001578;
    background-color: transparent;
}

.custom-pagination .pagination li span.current,
.custom-pagination .pagination li span.current:hover,
.custom-pagination .pagination li span.current:focus {
    background-color: #001578;
    color: white;
    border-color: #001578;
    border-radius: 0px;
}

/*Tablas*/

.single-content table {
    border-top: 3px solid #000078;
    font-size: 18px;
    background-color: white;
    border-bottom: 3px solid #000078;
    margin: 0 0 0;
    width: 100%;
}

.single-content table tr td {
    border-top: 1px solid #ccc;
    height: 30px;
    vertical-align: top;
    padding: 10px 5px;
}

.single-content table tr td p:last-child {
    margin-bottom: 0px
}

.single-content table tr td ul:last-child,
.single-content table tr td ol:last-child {
    margin-bottom: 0px
}

.single-content table tr td ul:first-child,
.single-content table tr td ol:first-child {
    margin-top: 0
}

.single-content table tr th {
    background-color: #e4e4e4;
    border-top: 1px solid #ccc;
    vertical-align: top;
    padding: 10px 5px;
    text-align: left;
    font-weight: bold;
    font-weight: bold;
}

.single-content table thead tr th {
    height: 30px;
    background-color: #e4e4e4;
    vertical-align: middle;
    padding: 10px 5px;
    font-weight: bold;
    text-align: left;
}

.single-content table tr.table-header td,
.single-content table tr.table-header th {
    background-color: #e4e4e4;
    font-weight: bold;
    vertical-align: middle;
}

.single-content table tr.table-header-sec td,
.single-content table tr.table-header-sec th {
    background-color: #f3f3f3;
    font-weight: bold;
    vertical-align: middle;
}

.single-content .table-responsive {
    margin: 0 0 35px;
    display: block;
    width: 100%;
    overflow-x: auto;
}

.single-content .tabletitle {
	font-size: 24px;
    margin-bottom: 10px;
    font-family: 'UOC Sans_Bold';
}

.single-content .tablefooter {
	margin-top: -30px;
	margin-bottom: 35px;
}

/*Cita*/
footer .cita{
  font-style: normal;
  margin-bottom: 15px;
}

/*--------------------------------------------------------------
# Light box
--------------------------------------------------------------*/

#cs-light.modal .modal-content {
	max-width: 100%;
	display: inline-block;
}

#cs-light.modal .modal-content img {
	width: auto;
	height: auto;
	max-width: none;
}

#cs-light.modal .modal-body {
	padding: 0;
	margin: 0;
	text-align: center;
	max-height: 620px;
}

#cs-light.modal .modal-dialog {
	margin-top: 75px;
	text-align: center;
}

a[data-type="cs-light"] {
	display: block;
	text-align: center;
}

.cs-light__container {
	position: relative;
	display: inline-block;
}

.cs-light__container .alignleft,
.cs-light__container .alignright {
	margin: 0;
}

.cs-light__lupa {
	position: absolute;
	width: 50px;
	height: 50px;
	background: #000078;
	bottom: 0;
	right: 0;
	background-repeat: no-repeat;
	background-image: url('images/plus.svg');
	background-position: center;
}

a[data-type="cs-light"]:hover .cs-light__lupa,
a[data-type="cs-light"]:focus .cs-light__lupa {
	background-image: url('img/plus-h.svg');
}

/*./My CSS
-------------------------------------------------------------- */

/* Extra */
.cs-light__lupa {
    position: absolute;
    width: 30px;
    height: 30px;
    background: #000078;
    bottom: 0;
    right: 0;
    background-repeat: no-repeat;
    background-image: url(images/plus.svg);
    background-position: center;
    background-size: 18px;
}
