* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
.result-category,
.phrases,
.only,
.mobile,
.archive,
.contactos_all,
.search-mobile{
    display: none;
}

.floatleft {
    float: left;
}

.clearfix {
    display: block;
}

.width33 {
    width: 20vw;
}

.block-title-left h2,
.visforms h2 {
    border-top: 1px solid #dfe4e4;
    border-bottom: 1px solid #dfe4e4;
    padding: 3px 0px 2px 0px;
    color: #92a2a2;
    margin-top: 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-align: left;
    font-size: 18px;
}

.block-title h2 {
    border-top: 1px solid #dfe4e4;
    border-bottom: 1px solid #dfe4e4;
    padding: 3px 0px 2px 0px;
    color: #92a2a2;
    margin-top: 10px;
    margin-bottom: 10px;
    text-transform: uppercase;
    text-align: right;
    font-size: 18px;
}

.home_title h2 {
    border-bottom: .1vw solid #dfe4e4;
    padding: .5vw;
    color: #92a2a2;
    margin: 2vw 4vw;
    text-transform: uppercase;
    text-align: center;
    font-size: 2.5em;
}

html,
body,
h1,
h2,
h3,
p {
    margin: 0;
    padding: 0;
    font-weight: normal;
    line-height: 24px;
}

.h3,
h3 {
    font-size: 1.17em;
}

.h2,
h2 {
    font-size: 1.5em;
}

p,
article li {
    font-size: .85em;
    /* line-height: 1.2em; */
}

.boxing article p {
    margin-bottom: 1em;
}

article ul,
article ol {
    margin-left: 1.5em;
}

html,
body {
    height: 100%;
    font-family: "Open sans", sans-serif;
}

body>article {
    width: 77%;
    margin: 1em auto;
}

.search form {
    font-size: .8vw;
    line-height: 1vw;
}

.courses h3 {
    padding: 0.5em 0.5em;
    cursor: pointer;
}

.courses h3:after {
    content: '+';
    float: right;
    padding: 0 1em;
}

.courses h2,
.courses p {
    margin: 0.2em 0;
}

.options {
    padding: 4em;
    display: flex;
}

.options .search form {
    display: flex;
}

.search .button,
.search-mobile .button{
    padding: 0.4em;
    width: 2.55em;
    height: 2.55em;
    margin-right: .3em;
}

.search input[type='search'],
.search-mobile input[type='search']{
    border: .2em solid #233D7D;
    padding: .5em 1em;
    padding-right: 0;
    text-align: center;
    width: 10em;
}

div.mod-languages img {
    width: 2.1vw;
}

div.mod-languages li {
    margin: 0!important;
}

header {
    background-position: 0 -13vw;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    display: flex;
    overflow: hidden;
    height: 15vw;
    justify-content: space-between;
}

header .logo {
    padding: 2em 3em;
}

header .logo img {
    width: 8vw;
}

.menu-mobile{
  display:none;
}

menu {
    display: block;
    width: 100%;
    margin-bottom: .2em;
}

.nav {
    display: block;
}

menu ul {
    list-style-type: none;
    margin: 0 auto;
}

menu .small {
    font-size: inherit;
}

menu>ul>li {
    display: inline-block;
    padding: .5em;
    position: relative;
}

menu ul li {
    cursor: default;
}

menu a {
    text-decoration: none!important;
    cursor: pointer;
}

menu>ul>li:hover>ul {
    display: inline-block;
    left: 0;
    top: 100%;
    width: auto;
	white-space: nowrap;
    margin-right: .25em;
}

menu>ul ul>li:hover>ul {
     display:inline-block;
    margin-top: -1.75em;
    margin-left: .25em;
}

menu ul li ul {
    display: none;
    position: absolute;
    text-align: initial;
    left: 100%;
    width: auto;
  	white-space: nowrap;
 
}

menu ul ul li {
    padding: .25em 1em;
}

menu span {
    display: block;
}


/* SUB MENU NÍVEL 1 */

.nav ul {
    display: none;
    z-index: 999;
}

.nav ul ul {
    display: none;
}

article .logo {
    width: 15vw!important;
}

.boxing article {
    display: flex;
}

.boxing div[itemprop="articleBody"],
.aside_article .custom {
    background-color: #f1f1f1a6;
    box-shadow: 1px 1px 5px #888888;
    padding: 1em 2em;
    text-align: justify;
}

div[itemprop="articleBody"] iframe {
    border: 0;
}

div[itemprop="articleBody"] iframe body {
    margin-left: 0!important;
}

.aside_article .custom {
    text-align: initial;
    margin-bottom: 1.5em;
    width: 15vw;
}

.boxing div[itemprop="articleBody"] {
    column-count: 2;
}

.boxing.one div[itemprop="articleBody"] {
    column-count: 1;
}

.boxing.one>article>div {
    width: 100%
}

.boxing div[itemprop="articleBody"] hr {
    border: transparent;
    break-before: column;
}

.boxing:not(.composicao) div[itemprop="articleBody"] img {
    width: 100%;
    padding: 0 4em;
}

.composicao .custom.block-title-left img:not(.logo) {
    width: 7.5vw;
}

.boxing img.logo {
    padding: 0 4em;
}

.boxing div[itemprop="articleBody"] h2,
.aside_article h2,
.visforms h2 {
    color: #233d7d;
    font-size: 1.2em;
    margin-bottom: 1em;
    text-transform: initial;
}

.boxing div[itemprop="articleBody"] h3 {
    color: #233d7d;
    font-size: 1em;
    font-weight: bold;
    break-after: avoid-region;
}

.aside_article {
    display: none;
}

.boxing .aside_article {
    margin-left: 3em;
    display: table;
}

.aside_article p,
.aside_article h2 {
    margin-bottom: 0!important;
}

.aside_article ul {
    list-style: none;
    margin-left: 0;
}

.courses_article>.custom>p {
    margin-bottom: 0;
}

.apresentation {
    text-align: center!important;
}

.apresentation p {
    display: grid;
    margin-top: .5em;
}

.apresentation p a {
    padding: 0.5em;
    margin: .5em 0;
    text-decoration: none;
}

#banner {
    display: flex;
    margin: 0 auto;
}

.carousel {
    width: 100%;
}

.carousel-inner {
    height: 25vw;
}

.carousel-caption {
    bottom: 4vw;
    background: rgba(3,53,114,.52);
    width: 33vw;
    margin: auto;
    padding: 1vw;
}

.carousel-caption a {
    color: white;
}

.carousel .introimage {
    overflow: hidden;
    height: 25vw;
}

.carousel .introimage img {
    margin-top: -9vw;
}

.carousel .news-item.grid {
    padding: inherit!important;
}

.card-img-top {
    height: 9vw;
    overflow: hidden;
}

.card img {
    width: 100%;
    vertical-align: middle;
}

.card h2 {
    font-size: 1vw;
}

.modal-dialog {
    max-width: 50vw;
}

.modal-body img {
    width: 15vw!important;
}

.news_grid.card-deck {
    margin-right: auto!important;
    margin-left: auto!important;
    width: 85%;
}

.page-header h2 {
    color: #233d7d;
    padding: .2em 5em;
    line-height: 1.2em;
    margin: 0 2em 1em;
    text-align: center;
    font-size: 1.6em;
    border-bottom: .1em solid #dfe4e4;
}

#documents.row {
    width: 85%;
    padding-top: 2em;
}

.btn {
    cursor: pointer;
}

.ucmonline a {
    display: block;
    padding: 0.3em;
    margin: 0 auto 0.5em auto;
    text-decoration: none;
}

.ucmonline a:hover {
    background: #033572;
    color: #FFF;
}

.cw-width-1-1 a {
    text-decoration: none;
    font-size: 14px;
}

.cw-width-1-1 a:hover {
    text-decoration: underline;
}

.cw-thumbnail img {
    width: 128px;
}

.cw-small {
    display: none;
}

.cw-small a {
    color: #033572;
}

#ordering,
#limit {
    display: inline-block!important;
    width: auto;
}

#ordering_chzn,
#limit_chzn {
    display: none;
}

.pagination {
    display: block;
}

.pagination ul {
    display: flow-root;
    margin-left: 0;
    list-style: none;
}

.courses_article .search form {
    line-height: unset;
}

.docs img {
    margin: 0.2em;
    width: 19vw;
}

.morenews a {
    padding: 0.5em;
}

.contacts .contactos_all {
    display: block;
}

.contacts .aside_article {
    display: none;
}

#bottom {
    width: 100%;
    margin: 0 auto;
    padding: 1em 0;
}

#bottom #main-bottom {
    display: flex;
    margin: 0 auto;
}

.footer_contactos a {
    text-decoration: none;
    color: #FFF;
}

#main-bottom h2 {
    font-size: 16px;
    text-transform: uppercase;
    font-weight: bold;
}

.social a {
    border-radius: 50%;
    width: 2.5em;
    height: 2.5em;
    margin: 0.5em;
    display: inline-block;
    background: #888888;
}

#main-bottom img {
    width: 2.5em;
    padding: 0.5em;
}

footer>.custom {
    width: 100%;
    text-align: center;
}

footer {
    width: 100%;
}

.mt-2 {
    margin-top: 2vw;
}

.bg-ucm {
    background-color: #233d7d!important;
}