/*
    Customizações de Layout - MOOC 4.1
*/
@import url("https://fonts.googleapis.com/css2?family=Georama:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import "legados/legados.scss";

body * {
  font-family: "Georama", sans-serif;
}
body{
  top: 0px !important
}

/*
  Assegura coloração das fontes na barra superior.
*/
#page-wrapper > nav > div.primary-navigation,  #page-wrapper > nav > div.primary-navigation * {
    color: #1d2125 !important;
}

/*** header ***/
.navbar.fixed-top {
  border-bottom: 2px solid #337ca0;
  -webkit-box-shadow: 0 0 10px 3px rgb(0 0 0 / 35%);
  box-shadow: 0 0 10px 3px rgb(0 0 0 / 35%);
}
#page-wrapper #page {
  background-color: #eff1f3;
}
.moremenu {
  border-radius: 10px;
}
.moremenu .nav-link {
  border-top: solid 3px transparent;
  transition: 0.3s;
}
.moremenu .nav-link:hover {
  background: none;
  border-top-color: #337ca0;
  border-bottom-color: #337ca0;
}
.moremenu .nav-link.active {
  border-bottom-color: #337ca0;
}
.moremenu .nav-link.active:hover {
  background: transparent;
  border-bottom-color: #337ca0;
}

/*** geral ***/
#topofscroll {
  background: none !important;
}
#region-main {
  border: 0 none;
  border-radius: 5px;
  padding: 2rem;
}
.secondary-navigation {
  background: none;
}
.secondary-navigation .navigation {
  background: none;
  border: none;
}
.moremenu .nav-tabs {
  background: none;
}
.breadcrumb {
    padding: 10px;
}

/*** área de login ***/
#guestlogin {
  display: none;
}
.login-heading {
  display: none;
}
.login-divider {
  display: none;
}

/*** lista dos cursos ***/
.courses,
.course_list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  margin: 0 -20px;
}
@media (min-width: 768px) {
  .pagelayout-standard #page.drawers .main-inner,
  body.limitedwidth #page.drawers .main-inner {
    max-width: 95%;
  }
}

/*** card dos cursos ***/
.coursebox {
  background-color: #fff !important;
  border-bottom: 2px solid #337ca0 !important;
  -webkit-box-shadow: 0 0 10px rgb(0 0 0 / 10%);
  box-shadow: 0 0 10px rgb(0 0 0 / 10%);
  display: flex;
  flex-grow: 1;
  flex-shrink: 0;
  flex-direction: column;
  float: left;
  margin: 1em;
  max-width: calc(50% - 2em);
  padding: 0px !important;
  width: calc(50% - 2em);
}
.coursebox .content .courseimage img {
  max-width: 100%;
  max-height: 100%;
}
.coursebox .content .courseimage {
  width: 100%;
  margin: 0px !important;
}
.content .d-flex .flex-grow-1 {
  display: none;
}
.coursebox .info {
  order: 2;
  padding: 2rem;
  width: 100%;
}
@media (min-width: 1450px) {
  .coursebox {
    max-width: calc(25% - 2em) !important;
    width: calc(25% - 2em) !important;
  }
}
@media (min-width: 1200px) and (max-width: 1449px) {
  .coursebox {
    max-width: calc(33.33% - 2em) !important;
    width: calc(33.33% - 2em) !important;
  }
}

/*********VLIBRAS********/
.botao-vlibras{
	top: 150px !important;
}
#janela-vlibras{
	top: 200px !important;
}

/******* UserWay *******/
body .uwy.userway_p1 .userway_buttons_wrapper{
	top: 200px !important;
}

/***********FORMATO DE CURSO TILES********/
#format_tiles_overlay{
	display: none !important;
}

/*******Bloco resumo dos curso*******/
.drawers .block_myoverview {
	padding: 20px !important;
}

/******Google translate******/
.skiptranslate iframe{
	visibility: visible;
	width: 50%;
	position: absolute;
	top: 89%;
	left: 25%;
	border-radius: 10px;
	}
#google_translate_element{
	box-shadow: 0 0 8px 1px #999;
	position: absolute;
	width: 158px;
	background-color: #9dc8f4;
	right: 12px;
	bottom: 20px;
	z-index: 9999999;
	padding: 5px;
	border-radius: 10px;
	height: 55px;
	float: inherit;
}
/****** GAVETA DE BLOCOS ******/
#theme_boost-drawers-blocks{
background-color: #eff1f3;
}
.block_completion_progress{
background-color: #eff1f3;
border: none;
}
/******* menu acompanhamento *******/
.nav-tabs li[data-key="acompanhamento"]{
display:none;
}
/***layout lições***/
body.path-mod-lesson {
    .p-y-1 {
        background-color: #fefefe;
        padding: 10px 20px;
    }

    .mform {
        background-color: #fefefe;
        fieldset {
            border-bottom: none;
            background-color: #fefefe;
            box-shadow: none;
        }
    }
    .btn-secondary {
        border-color: #4682B4;
        color: #4682B4;
        &:hover {
            border-color: #FFFFFF;
            color: #FFFFFF;
        }
    }
    .lessonbutton {
        border: 1px solid #4682B4;
        color: #4682B4;
        background-color: white;
        padding: 5px 10px;
        margin-top: 10px;
        margin-right: 5px;
        &:hover {
            text-decoration: none;
            color: #ffffff !important;
            background-color: #808080;
        }
    }
    .resposta_correta {
        background-color: #b6e4ce;
        color: #255c41;
        padding: 1px 5px;
        border-radius: 5px;
        line-height: 30px;
    }
    .resposta_errada {
        background-color: #fbd7d8;
        color: #b71c1c;
        padding: 1px 5px;
        border-radius: 5px;
        line-height: 30px;
    }
    .feedback_lesson {
        background-color: #ADD8E6;
        padding: 10px 20px;
        border-radius: 10px;
    }
    .autolink {
        color: #ff5722;
    }
    .answeroption {
        background-color: #ddd;;
        padding-left: 10px;
        border-radius: 5px;
        box-shadow: 0 0.1em 0 rgba(0, 0, 0, 0.3);
        &:hover {
            background-color: #FFF0F5;
        }
    }
    .col-md-9.checkbox {
        margin-bottom: 2px;
        margin-top: 0px;
    }
    .form-check-label {
        padding-left: 0px;
    }
    .col-md-3 {
        display: initial !important;
		max-width: 100% !important;
		padding: 5px 30px 5px 20px;
		flex: 0 0 100%;
    }
    .col-md-9 {
        width: 100%;
    }
    .form-inline {
        margin-bottom: 10px;
    }
    .form-group.row.fitem {
        padding-top: 8px;
    }
    .box.response.incorrect.p-y-1 {
        background-color: #f9c5c5;
        border-radius: 5px;
    }
    .box.response.correct.p-y-1 {
        background-color: #95d0b0;
        border-radius: 5px;
    }
    .correctanswer.generalbox {
        padding: 10px 20px;
    }
    .box.generalbox.boxaligncenter.p-y-1 {
        .box.center.p-y-1 {
            display: none;
        }
        .center {
            margin-left: 10px;
        }
    }
    .card.card-block .box.generalbox.boxaligncenter.p-y-1>p {
        margin-left: 20px;
        text-align: left;
    }
    h3 {
        display: none;
    }
    /*BARRA DE PROGRESSO DA LIÇÃO*/
    .progress_bar {
        width: 100%;
        color: #37474f;
        margin-top: -36px;
    }
    .progress_bar_completed {
        background: url([[pix:theme|img/barra_progresso]]);
        border-radius: 5px;
        padding-left: 5px;
        color: #FFFFFF;
        margin-top: 5px;
    }
    .box.progress_bar.p-y-1 {
        background: #CCCCCC;
        margin-left: 0px;
        height: 0px;
        margin-right: 69px;
        margin-top: 50px;
        border-radius: 7px;
        padding: 3px;
    }
}

body#page-mod-lesson-view .mform {
    .answeroption .form-group.fitem .col-md-3,
    #fitem_id_submitbutton.femptylabel .col-md-3 {
        display: none;
    }
}

/***MODAL***/
#openModal_1{
	position: absolute;
    width: 100%;
	height: 100%;
    top: 0px;
    left: 0px;
    z-index: 1;
	animation: Width 0.3s ease-in;
	animation-fill-mode: forwards;
	animation-delay: 5s;
}
@-webkit-keyframes Width {
  0% {
    width: 10px;
    height: 100px;
  }
  100% {
    width: 0%;
    height: 0%;
  }
}
/***LOADER***/ 
.container-loader{
	min-width: 100%;
    min-height: 100vh;
    background-color: #8e8e8e;
    position: absolute;
    left: 0px;
    top: 0px;
	-webkit-animation: fadeOut 2s linear forwards;
    animation: fadeOut 2s linear forwards;
	/* animation: mymove 5s infinite linear; */
	animation-delay: 3s;
}
 @-webkit-keyframes fadeOut {
	0% {opacity: 1;}
	100% {opacity: 0;}
 }
.loader {
	margin-left: 50%;
	margin-top: 29%;
	width: 48px;
	height: 48px;
	border: 3px solid #FFF;
	border-radius: 50%;
	display: inline-block;
	position: relative;
	box-sizing: border-box;
	animation: rotation 1s linear infinite;
} 
.loader::after {
	content: '';  
	box-sizing: border-box;
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 3px solid transparent;
	border-bottom-color: #337ca0;
}
@keyframes rotation {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}
/*Página do questionário*/	
.btn-voltar-trilha{
	width: 200px;
    text-align: center;
    margin: 0 auto;
    background-color: #eff1f3;
    padding: 10px;
    border: 1px solid #0f6cbf;
    border-radius: 5px;
}
.btn-voltar-trilha:hover{	
	background-color: #0f6cbf;	
}
.btn-voltar-trilha:hover{
	a{
		color: #ffffff !important;
	}
}
.btn-voltar-trilha a{
	text-decoration: none;
}