.mdc-button:disabled {
  opacity: 0.5;
}

a {
  color: royalblue;
  text-decoration: none;
}

img {
   padding: 15px;
}

.main-content {
   width: 100%;
}

.app-drawer-layout{
   text-align: center;
}

.mdc-drawer-app-content{
    max-width: 1366px;
    text-align: left;
    display: inline-block;
}

.videoWrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
}

.videoWrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.mdc-typography--headline6 {
    line-height: 1.60rem;
}

.visible-sm {
display: none;
}

md-checkbox.md-checked .md-icon {
    background-color: #bc3830;
}

/* styles for '...' */

.block-with-text {
    /* hide text if it more than N lines  */
    overflow: hidden;
    /* for set '...' in absolute position */
    position: relative;
    /* use this value to count block height */
    line-height: 1.2em;
    /* max-height = line-height (1.2) * lines max number (3) */
    max-height: 3.6em;
    /* fix problem when last visible word doesn't adjoin right side  */
    text-align: justify;
    /* place for '...' */
    margin-right: -1em;
    padding-right: 1em;
}


/* create the ... */

.block-with-text:before {
    /* points in the end */
    content: '...';
    /* absolute position */
    position: absolute;
    /* set position to right bottom corner of block */
    right: 0;
    bottom: 0;
}


/* hide ... if we have text, which is less than or equal to max lines */

.block-with-text:after {
    /* points in the end */
    content: '';
    /* absolute position */
    position: absolute;
    /* set position to right bottom corner of text */
    right: 0;
    /* set width and height */
    width: 1em;
    height: 1em;
    margin-top: 0.2em;
    /* bg color = bg color under block */
    background: white;
}

body {
    margin: 0;
}

md-tabs .md-tab.md-active {
    color: white;
}

md-tabs .md-tab {
    color: rgba(250, 250, 250, 0.6);
    padding-right: 15px;
    padding-left: 15px;
}

md-tabs-wrapper md-next-button md-icon,
md-tabs-wrapper md-prev-button md-icon {
    color: white;
}

md-tabs.md-default-theme md-ink-bar,
md-tabs md-ink-bar {
    color: #bc3830;
    background: #FFFF8C;
}

#fespsp-duvidas-button {
    position: fixed;
    display: block;
    right: 0;
    bottom: 0;
    margin-right: 22px;
    margin-bottom: 100px;
    z-index: 10;
    padding-top: 4px;
    background-color: #bc3830;
}

.panel-wrapper {
    position: relative;
    text-align: center;
    margin-bottom: 20px;
    padding-left: 16px;
    padding-right: 16px;
}

.showCaretBottom {
    display: none
}

.hideCaretBottom {
    display: none;
}

.showCaretTop {
    display: none;
}

.showpanel {
    max-height: 2000px;
    text-align: left;
}

.showfade {
    margin-top: 0;
}

.hidepanel {
    overflow: hidden;
    transition: max-height .5s ease;
    text-align: left;
}

.hidefade {
    display: none;
}

.md-tab.md-disabled {
    display: none !important;
}
.fespsp-grid {
    min-height: 600px;
}
.fespsp-ao-vivo-grid__inner-compact {
    background-color: black;
}

.fespsp-ao-vivo-grid-cell {
    margin: auto;
    width: 62%;
}

.fespsp-list-horizontal-inner-cursos-relacionados {
	display: flex;
	justify-content: center;
}
 
.fespsp-banner-middle {
	margin-bottom: 20px;
	width: 100%;
	padding-top: 50%;
	position: relative;

}
.fespsp-banner-home {
	width: 100%;
	padding-top: 36.7%;
	position: relative;
}
.fespsp-banner-home-inner {
	margin: 0px !important;
	width: 100% !important;
	position: absolute !important;
	top: 0;
	left: 0;
	bottom: 0;
	right: 0;
	height: 100% !important;
}
.fespsp-grid__inner-compact {
    --mdc-layout-grid-margin-desktop: 0px;
    --mdc-layout-grid-gutter-desktop: 0px;
    --mdc-layout-grid-column-width-desktop: 0px;
    --mdc-layout-grid-margin-tablet: 0px;
    --mdc-layout-grid-gutter-tablet: 0px;
    --mdc-layout-grid-column-width-tablet: 0px;
    --mdc-layout-grid-margin-phone: 0px;
    --mdc-layout-grid-gutter-phone: 0px;
    --mdc-layout-grid-column-width-phone: 0px;
}

.fespsp-header-sidenav {
    font-size: 11px;
    line-height: 15px;
    line-break: auto;
    padding: 5px 10px;
    display: block;
}

.fespsp-cursos-livres-cursos-text-label {
    font-family: Roboto;
    font-size: 20px;
    font-weight: 500;
    line-height: 1.2;
    color: #bc3830;
}

.fespsp-cursos-livres-cursos-text-description {
    font-family: Roboto;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.67;
    color: rgba(64, 64, 64, 0.7)
}

.fespsp-noticias-noticia-destaque-image {
    width: 100%;
    height: 240px
}

.fespsp-cursos-livres-cursos-cursos-image {
    width: 85px;
    height: 55px;
}

.fespsp-cursos-livres-cursos-cursos-image {
    width: 85px;
    height: 55px;
}

.fespsp-cursos-livres-cursos-destaque-image {
    height: 150px;
}

.fespsp-home-noticia-image {
    height: 140px;
}

.fespsp-cursos-livres-cursos-cursos-image,
.fespsp-cursos-livres-cursos-destaque-image,
.fespsp-home-noticia-image,
.fespsp-cover-image {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
}

.fespsp-cursos-livres-cursos-destaque-image,
.fespsp-home-noticia-image {
    border-color: #bc3830;
    border-bottom-style: solid;
    border-bottom-width: 10px;
}

.fespsp-home-noticia-text {
    font-family: Roboto;
    font-size: 14px;
    font-weight: 300;
    line-height: 18px;
    margin-top: 8px;
    color: white;
    text-decoration: none;
    margin-top: 10px;
    display: table;
    text-align: left
}

.fespsp-footer-sub-item-link {
    font-size: 14px;
    text-decoration: none;
    color: white;
    font-weight: 300;
}

.fespsp-footer-main-item-link {
    font-size: 16px;
    text-decoration: none;
    color: white;
    line-height: 1.5;
    font-weight: 400;
}

.fespsp-home-videos-label {
    font-family: Roboto;
    font-size: 20px;
    text-align: center;
    color: #404040;
}

.fespsp-menu-label {
    text-decoration: none;
    margin-right: 25px;
    font-family: Roboto;
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
}

.fespsp-footer-black-box {
    background-color: #000000;
    font-family: Roboto;
    font-size: 12px;
    text-align: center;
    color: #ffffff;
    padding: 24px
}

.fespsp-videos-destaque {
    width: 100%;
    background-color: #909090;
    display: table;
    padding: 24px;
}

.fespsp-videos-destaque-video {
    display: table-cell;
    text-align: right;
    vertical-align: middle;
    padding-right: 20px
}

.fespsp-videos-destaque-video-iframe {
    height: 260px;
    width: 460px
}

.fespsp-videos-destaque-label {
    font-family: Roboto;
    font-size: 30px;
    font-weight: 500;
    line-height: 1.2;
    color: #ffffff;
    display: table-cell;
    vertical-align: top
}

.fespsp-videos-destaque-label-inner {
    width: 66%;
}

.fespsp-history-galery-main-image {
    height: 340px;
    width: 340px;
}

.fespsp-list-horizontal-inner {
    padding-left: 18px;
    padding-right: 18px;
    text-align: center;
}

.fespsp-list-horizontal-item {
    margin-top: 8px;
    display: inline-block;
    margin-right: 10px;
    width: 22%;
    vertical-align: top;
}

.fespsp-list-horizontal-item-only-one {
    margin-top: 8px;
    display: inline-block;
    margin-right: 10px;
    width: 22%;
    text-align: left;
}

.fespsp-home-curso-destaque-item {
    font-family: Roboto;
    color: #ffffff;
    padding-top: 20px;
    padding-left: 16px;
    height: 110px;
}

.fespsp-logo-image {
    width: 57px;
    background-color: white;
    padding: 5px;
}

.fespsp-cursos-em-destaque-label {
    font-family: Roboto;
    font-size: 20px;
    color: #404040;
    margin-left: 10px;
}

.fespsp-home-curso-destaque-list {
    margin-left: 16px;
    margin-right: 16px;
    margin-bottom: 25px;
}

.fespsp-home-video-main-list {
    display: inline-flex;
}

.fespsp-home-video-main-item {
    display: inline-table;
    width: 640px;
    height: 320px;
}

.fespsp-home-video-main-iframe {
    width: 100%;
    height: 300px;
}

.fespsp-home-video-other-item {
    display: inline-table;
    width: 300px;
    height: 150px;
}

.fespsp-home-video-other-iframe {
    width: 100%;
    height: 150px;
}

.fespsp-header-tablet {
    display: none;
}

.fespsp-header-phone {
    display: none;
}

.fespsp-home-eventos-noticias {
    width: 100%;
    height: 295px;
    display: inline-flex;
}

.fespsp-home-eventos {
    display: inline-table;
    width: 340px;
    background-color: #6a6969;
    padding-top: 18px;
}

.fespsp-home-noticias {
    background-color: #909090;
    padding-top: 18px;
    width: calc(100% - 340px);
}

.fespsp-home-noticias-inner {
    height: 100%;
}

.fespsp-fale-conosco-box {
    background-color: #bc3830;
    height: 48px;
    text-align: center;
    vertical-align: middle;
    padding-top: 10px;
}

.fespsp-fale-conosco-button {
    background: #bc3830;
    color: #ffffff !important;
    border-color: #ffffff !important;
    vertical-align: top;
}

.fespsp-fale-conosco-ouvidoria-button {
    margin-left: 16px;
}

.fespsp-graduacao-depoimentos-box {
    margin-left: 35px;
    margin-right: 35px;
}

.fespsp-footer-box {
    background-color: #6a6969;
    font-family: Roboto;
    line-height: 1.5;
    color: #ffffff;
    padding-left: 2%;
    padding-right: 2%;
    margin-top: 50px;
}

.fespsp-professor-item {
    display: flex;
    margin-top: 10px;
    margin-bottom: 15px;
}

.fespsp-professor-image-box {
    display: inline-table;
    width: 100px;
    margin-left: 0px;
}

.fespsp-professor-image {
    width: 100px;
    height: 100px;
    margin-top: 5px;
}

.fespsp-professor-description {
    display: inline-table;
    padding-left: 12px;
    width: calc( 100% - 100px);
}

.fespsp-label {
    font-family: Roboto;
    font-size: 24px;
    color: #404040
}

.fespsp-sub-label {
    font-family: Roboto;
    font-size: 14px;
    color: rgba(74, 74, 74, 0.5)
}

.fespsp-cursos-livres-cursos-list-inner {
    padding: 16px;
}

.fespsp-grid-item {
    display: inline-flex;
    padding-top: 10px;
    margin-top: 25px;
    width: 100%;
    border-top-style: solid;
    border-top-width: 1px;
    border-top-color: rgba(151, 151, 151, 0.2);
}

.fespsp-grid-item-inner {
    width: 100%;
    display: contents;
}

.fespsp-cursos-livres-cursos-text-box {
    padding: 0px 12px;
    display: table-cell;
    width: 100%;
    vertical-align: top;
}

.fespsp-noticia-texto-image-inner {
    background-color: gray;
    height: 300px;
    margin: 0 auto;
}

.fespsp-search-text-box {
    width: 50%;
    margin: 0 auto;
    height: 45px;
    margin-top: 5px;
}

.fespsp-home-destaque-label {
    font-family: Roboto;
    font-size: 20px;
    text-align: center;
    padding-top: 20px;
    color: #ffffff;
}

.fespsp-cursos-livres-cursos-filter-sidenav {
    display: none;
}

.fespsp-cursos-livres-cursos-main-content {
    margin-top: 50px;
}

.fespsp-home-banner-desktop {
    display: block;
}

.fespsp-home-banner-mobile {
    display: none;
}
.fespsp-mais-noticias-label,
.fespsp-mais-videos-label {
    display: table;
    width: 100%;
    margin-top: 20px;
    text-align: center;
}
.fespsp-mais-videos-label-inner {
    width: 945px;
    text-align: right;
    display: inline-block;
}

.fespsp-mais-noticias-label-inner {
    width: 87%;
    text-align: right;
    display: inline-block;  
}
/**** Phone layout ****/

@media (max-width: 479px) {
    .hidePanel400px {
        max-height: 400px;
    }
    .hidePanel200px {
        max-height: 200px;
    }
    .hidefade {
        background: linear-gradient(to bottom, rgba(100, 100, 100, 0) 0%, rgb(250, 250, 250) 70%);
        height: 100px;
        margin-top: -100px;
        position: relative;
        display: inherit;
    }
    .showCaretBottom,
    .showCaretTop {
        position: absolute;
        bottom: -1em;
        z-index: 100;
        text-align: center;
    }
    .showCaretBottom {
        display: block;
        width: 100%;
    }
    .fespsp-banner-middle{
        padding-top: 50%;
    }
    .fespsp-banner-home {
        padding-top: 100%;
    }
 
    .fespsp-menu-label {
        display: none;
    }
    .fespsp-header-phone {
        font-size: 13px;
        line-height: 19px;
        line-break: auto;
        padding: 5px 10px;
        display: block;
    }
    .fespsp-header-desktop {
        display: none;
    }
    .fespsp-header-tablet {
        display: none;
    }
    .fespsp-logo-image {
	width: 50px;
    }

}


/**** Tablet layout ****/

@media (max-width: 839px) and (min-width: 480px) {
    .fespsp-banner-middle,
    .fespsp-banner-home {
        padding-top: 50%;
    }

    .fespsp-header-tablet {
        font-size: 2vw;
        line-height: 3vw;
        display: block;
    }
    .fespsp-header-desktop {
        display: none;
    }
    .fespsp-header-phone {
        display: none;
    }
}


/**** Phone and Tablet layout ****/

@media (max-width: 839px) {

    .fespsp-ao-vivo-grid__inner-compact {
    	background-color: inherit;    	
    }

    .fespsp-ao-vivo-grid-cell {
    	margin: unset;
    	width: unset;
    }

    .fespsp-mais-videos-label {
        text-align: right;
    }  
    .fespsp-mais-videos-label-inner {
	width: unset;
        padding-right: 30px;
    } 
    .fespsp-busca-main-content {
        margin-top: 50px;
    }
    .fespsp-image-course, 
    .fespsp-busca-page
    {

        padding-left: 16px;
    }
    .fespsp-home-videos-label {
        padding-left: 18px;
        text-align: left;
    }
    .fespsp-header-newsletter {
        display: none;
    }
 
    .fespsp-share-button {
        display: none;
    }
    .fespsp-footer-black-box {
        padding: 12px 32px;
    }
    .fespsp-videos-destaque {
        width: unset;
        display: block;
        padding: 20px;
    }
    .fespsp-videos-destaque-video {
        display: inline-flex;
        padding-right: unset;
    }
    .fespsp-videos-destaque-video-iframe {
        height: unset;
        width: 100%;
    }
    .fespsp-videos-destaque-label {
        font-size: 24px;
        display: inline-flex;
        ;
    }
    .fespsp-videos-destaque-label-inner {
        width: 100%;
        padding-top: 10px;
    }
    .fespsp-list-horizontal-inner {
        width: 180vw;
        text-align: left;
    }
    .fespsp-list-horizontal {
        overflow-y: auto;
        width: 100vw;
    }
    .fespsp-list-horizontal-item {
        width: 40vw;
    }
    .fespsp-list-horizontal-item-only-one {
        width: 65vw;
    }
    .fespsp-home-curso-destaque-list {
        margin-left: 0px;
        margin-right: 0px;
    }
    .fespsp-home-video-main-list {
        display: inherit;
        padding-left: 25px;
        padding-right: 25px;
    }
    .fespsp-home-video-main-item {
        display: inline-table;
        width: 100%;
        height: 150px;
        padding-bottom: 20px;
	border: none;
    }
    .fespsp-home-video-main-iframe {
        width: 100%;
        height: 150px;
    }
    .fespsp-home-video-other-item {
        display: inline-table;
        width: 100%;
        height: 150px;
        padding-left: 0px;
        padding-bottom: 20px;
    }
    .fespsp-home-video-other-iframe {
        width: 100%;
        height: 150px;
    }
    .fespsp-home-eventos-noticias {
        display: block;
        height: inherit;
    }
    .fespsp-home-eventos {
        display: block;
        width: 100%;
        padding-top: 18px;
        padding-bottom: 18px;
    }
    .fespsp-home-noticias {
        width: unset;
    }
    .fespsp-home-noticias-inner {
        display: table-row;
        width: 100%;
        height: 100%;
    }
    .fespsp-fale-conosco-box {
        height: 185px;
        padding: 10px;
    }
    .fespsp-fale-conosco-button {
        width: 100%;
        margin-top: 10px;
    }
    .fespsp-fale-conosco-ouvidoria-button {
        margin-left: 0px;
    }
    .fespsp-graduacao-depoimentos-box {
        margin-left: 10px;
        margin-right: 10px;
    }
    .fespsp-footer-box {
        padding-left: 10px;
        padding-right: 10px;
    }
    .fespsp-cursos-livres-cursos-list-inner {
    //    padding: 0px;
    }
    .fespsp-grid {
        padding: 0px;
        margin-bottom: 32px;
    }
    .fespsp-grid-item-inner {
        margin-left: 16px;
        margin-right: 16px;
    }
    .fespsp-cursos-livres-cursos-text-box {
        width: 100%;
    }
    .fespsp-label {
        margin: 16px;
        margin-bottom: 5px;
    }
    .fespsp-sub-label {
        margin-left: 16px;
    }
    .fespsp-cursos-livres-filter {
        display: none;
    }
    .fespsp-noticia-texto-image-inner {
        width: unset;
    }
    .fespsp-search-text-box {
        width: 100%;
        margin-top: unset;
    }
    .fespsp-list-horizontal-inner-home-destaque {
        width: 280vw;
    }
    .fespsp-list-horizontal-inner-cursos-relacionados {
        width: 300vw;
	justify-content: unset;
    }
    .fespsp-home-destaque-label {
        text-align: left;
        padding-left: 18px;
    }
    .fespsp-history-galery-main-image {
        width: 100%;
    }
    .fespsp-cursos-livres-cursos-filter-sidenav {
        display: inline;
        text-align: center;
        background-color: #fafafa;
        color: black;
    }
    .fespsp-cursos-livres-cursos-main-content {
        margin-top: 100px;
    }
    .fespsp-busca-main-content {
        margin-top: 50px;
    }
    .fespsp-busca-filter {
        display: none;
    }
    .fespsp-home-banner-desktop {
    /*    display: none; */
    height: 200px !important;
    }
    .fespsp-home-banner-mobile {
        display: block;
    }
}

@media (max-width: 599px) {
    .fespsp-logo-image {
        width: 50px;
    }
}

@media (min-width: 840px) {
   .mdc-layout-grid__inner-10 {
    	grid-template-columns: repeat(10, minmax(0, 1fr));
   }
}
