/********* BEGIN: PLONE STYLE ***********/

header:not(#content-header) {
    display: none !important;
}

#above-content-wrapper, #viewlet-above-content-title, #viewlet-below-content-title{
    display: none;
}

body {
    background-color: #F2F2F2 !important;
    overflow-x: hidden !important;
    margin-top: 0 !important;
}

.container .row:first-child {
    margin-top: 0px !important;
}

.container {
    margin-left: 0px !important;
    margin-right: 0px !important;
    width: 100vw !important;
}


header#content-header, div#mainnavigation-wrapper {
    display: none !important;
}

#edit-bar {
    display: none
}

.alert.status, .portalMessage {
    margin-bottom: 0 !important;
}
/********* END: PLONE STYLE ***********/


div#upper-banner {
    background-color: #2f5238;
    height: 5em;
    margin-bottom: 5em;/*5vw;*/

    /* Sticky top */
    
    position: sticky;
    top: 0;
    z-index: 1;
}


div#main-content {
    margin-left: 3%;
    margin-right: 3%;
}

li.boton-global {
    list-style-type: none;
}

div#logout-container {
    text-align: right;
    display: flex;
    align-items: center;
    height: 100%;
    justify-content: flex-end;
}

div#logout-container > img {
    width: 2.5em;
    
}

div#logout-container > img:hover {
    cursor: pointer;    
}

a.logout-link:link , a.logout-link:hover, a.logout-link:active a.logout-link:visited {
    text-decoration: none !important;
}

a.logout-link {
    margin-right: 4em;
    margin-left: 1em;
    text-decoration: none !important;
}

span#logout-text {
    color: white;    
}



div#logo-cfec-container {
    display: flex;
    align-items: center;
    height: 100%;
}

div#logo-cfec-container img {
    width: 200px;
    /* min-width: 200px; */
    margin-left: 2em;
    max-width: 30vw;
}

/*
div.menu-card > *{
    text-decoration: none !important;
    cursor: pointer;
}*/

a.logout-link {
    margin-right: 4em;
    margin-left: 1em;
}

span#logout-text {
    color: white;    
}


div.menu-card {
  /*margin-top: 20px;*/
  cursor: pointer;
  border-radius: 30px;
  min-height: 10em;
  background-color: #7e858c;
  color: white;
  display: flex;
  /*justify-content: center;*/
  align-items: center;
  margin: 1em;
  box-shadow: 5px 11px 16px #888888;
  margin-bottom: 5em;
}


div.card-img-container {
    padding: 0.5em;
    background-color: white;
    border-radius: 10px;
    width: 7em;
    margin-left: 2em;
    text-align: center;
    height: 5em;
    max-width: 100%;
}

div.card-img-container img {
    /*max-width: 60% !important; */
    /*width: 5em;*/
    max-height: 100% !important;
}


span.card-title {
    font-size: 18pt;
    font-weight: 400;
    padding-right: 1em;
}


div.card-title-cntr {
    text-align: center;
    padding-left: 0;
}

div#main-content > ul {
    padding: 0;
}


div#main-content > ul > li.col-lg-4 {
    padding-left: 2%;
    padding-right: 2%;
}


.noselect { 
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
} 


@media screen and (max-width: 1919px){
    span.card-title {
	padding-right: unset;
	font-size: 14pt;
	font-weight: 400;
	white-space: nowrap;
	max-width: 70%;
	overflow: hidden;
	text-overflow: ellipsis;
	display: inline-block;
    }
}

@media screen and (max-width: 1279px) {
     span.card-title {
	font-size: 14pt;
	font-weight: 400;
	white-space: nowrap;
	max-width: 100%;
	overflow: hidden;
	text-overflow: ellipsis;
 	display: inline-block;
     }
}

@media screen and (max-width: 579px) {
    div.menu-card {
	justify-content: space-evenly;	
    }

    div.card-img-container {
	margin-left: 0;
    }
}


@media screen and (max-width: 576px) {
    a.logout-link {
	display: none;
    }

    div#logout-container {
	padding-right: 3em;
    }

    span.too-much-text {
	display: none;
    }

     span.card-title {
	 font-size: 13pt;
     }

     div#upper-banner {
	 margin-bottom: 3em;
     }
}

