html, body {
    overflow: auto;
    box-sizing: border-box;
	overflow-x: hidden;
}

*, *::before, *::after {
    box-sizing: inherit;
}

*{
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
}

body::-webkit-scrollbar {
  display: none;

}
body{
	color:#2F2F33;
	width:100%;
	height:auto;
	z-index:-2;
}
header{
    position:fixed;
    top:0px;
    left:0px;
	width:100%;
	height:100px;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.3); /* sombra */
    background-color: white;
    z-index:5
}

.logo{
	height:60px;
	width:auto;
	float:left;
    margin-top:25px;
    margin-left:20px;
	z-index:1;
}
.logo:hover{
	height:62px;
}

/* Quando o usuário rola a página */
header.shrink {
    height: 70px; /* antes era 100px */
    transition: all 0.3s ease;
}

/* Logo encolhida */
header.shrink .logo {
    height: 50px;
    margin-top: 10px; 
    transition: all 0.3s ease;
}

/* Ícone encolhido */
header.shrink .iconemenu {
    height: 30px;
    margin-top:-15px;
    transition: all 0.3s ease;
}

.shrink .icone2 {
	position:absolute;
	top:65px;
    transition: all 0.3s ease;
}

/* Garante animação suave também no estado normal */
header, 
.logo, 
.iconemenu {
    transition: all 0.3s ease;
}

.alert{
	position:fixed;
	width:100%;
	z-index:2;
	opacity:0.7;
	text-align:center;
	height:50px;
	margin-top:-10px;
}
.nav{
	display:none;
	float:right;
	margin-right:20px;
	margin-bottom:-20px;
	margin-top:60px;
}
.navbar{
	display:block;
	float:right;
	margin-right:15px;
	margin-top:20px;
	z-index:-1;
}
.dropdown-menu{
	width:400px;
	height:2000px;
	padding:10px;
	color:#2848bd;
	margin-top: 25px;
	margin-left: -300px;
	z-index: -1;
}
.shrink .dropdown-menu{
    margin-top: 6px;
}
.iconemenu{
	height:35px;
	width:auto;
	z-index:2;
	}

@keyframes girar {
	from {
		transform: rotate(0deg); /* Posição inicial */
	} to {
		transform: rotate(360deg); /* Posição final (gira 360 graus) */
	}
}

.iconemenu:hover{
	animation: girar 1s linear;
}

.btn{
	border:none;
}
.login{
	height:450px;
	width:100%;
	position:fixed;
	text-align: center;
	top:120px;
	margin:0px;
	margin-top:0px;	
	display:none;
	color:#2848bd;
	background-color: #ffffff;
	padding:20px 50px;
	border:0.3px solid #2F2F33;
	border-radius: 10px;
	z-index: 3;
	box-shadow: 5px 5px 10px rgba(21, 21, 21 , 0.7);
}
.login input{
	border:solid 0.5px #2848bd;
	color:#2848bd;
}
.login button{
	padding:5px 40px;
	border-radius: 10px;
	border:none;
	background-color: #2848bd;
	color:#ffffff;
	margin-top:-30px;
	margin-bottom:20px;
}
#loginformcursos{
	text-align: right;
	margin-right:0px;
}
#erro_log{
    position:relative;
    top:0px;
    left:0px;
    width:100%;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
}

#esquecisenha{
    color:#2848bd;
    font-size: 16px;
    font-weight: normal;
}
.recuperadiv{
	height:420px;
	width:100%;
	position:fixed;
	text-align: center;
	top:120px;
	margin:0px;
	margin-top:0px;	
	display:none;
	color:#2848bd;
	background-color: #ffffff;
	padding:20px 60px;
	border:1px solid #2848bd;
	border-radius: 10px;
	z-index: 4;
	box-shadow: 5px 5px 10px rgba(21, 21, 21 , 0.7);
}
.recuperadiv input{
	border:solid 0.3px #2848bd;
	color:#2848bd;
}
.recuperadiv button{
	padding:5px 40px;
	border-radius: 10px;;
	background-color: #2848bd;
	border:none;
	color:#ffffff;
	margin-top:-30px;
	margin-bottom:20px;
}
#recuperaformcursos{
	text-align: right;
	margin-right:0px;
}

#closerecup{
	position:relative;
	right:-170px;
	top:0px;
}
#closerecup:hover{
	animation: girar 1s linear;
}

#closelog{
	position:relative;
	right:-170px;
	top:0px;
}
#closelog:hover{
	animation: girar 1s linear;
}
.cadastrouser{
	height:auto;
	width:400px;
	position:fixed;
	top:100px;
	left:50%;
	margin-left:-200px;
	display:none;
	text-align: center;
	color:#ffffff;
	background-color: #2848bd;
	padding:15px 50px;
	border:1px solid #7e7c7c;
	border-radius: 10px;
	z-index: 3;
	box-shadow: 5px 5px 10px rgba(212, 211, 211, 0.7);
  }
  .cadastrouser input{
	width:250px;
  }
  .cadastrouser button{
	padding:6px 40px;
	border-radius: 8px;
	border:none;
	color:#2848bd;
	float:right;
	margin-right:25px;
	margin-bottom:30px;
  }
  #closecad{
	position:relative;
	right:-160px;
	top:10px;
}
#closecad:hover{
	animation: girar 1s linear;
}
.cursos{
    margin:0 auto;
	margin-top:220px;
	height:auto;
	width:100%;
	text-align:center;
	color:#2848bd;
	font-weight: bold;
}
.filtrocategoria{
	position:fixed;
	top:120px;
	left:50px;
	margin-top:-20px;
	height:70px;	
	text-align: center;
	margin-left:-50px;
	width:100%;
	display: block;
	transition: top 0.3s;
	color:#2F2F33;
	background-color: rgba(255, 255, 255, 0.8);
	padding:20px 0px;
	z-index:1;
}
#catID{
	margin-bottom:50px;
	width:180px;
	color:#2F2F33;
	padding:3px;
	margin-left:10px;
	border-radius: 5px;
	border:solid 0.3px gray;
}
.colcurso{
    
    display: block;
    margin:0 auto;
    width:100%;
}
colcurso form{
    margin:0 auto;
}
.produto{
	overflow: hidden; /* Faz a imagem obedecer os cantos */
    margin:0 auto;
    padding:0px;
    text-align: center;
	background-color: white;
	border:0.1px solid rgba(0, 0, 0, 0.3);
	border-radius: 15px;
	box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.2);
	width:340px;
	height:auto;
	margin-bottom:50px;
	text-align: center;
}
.imgproduto{
    position:relative;
    top:0px;
    text-align: center;
	height:auto;
	margin:0 auto;
	margin-left:-20px;
	width:100%;
	font-weight: normal;
	transition: transform 0.3s ease;
}
.imgproduto:hover {
    transform: scale(1.15);
}
.exibirprodutos{
    color:#2F2F33;
    
}

.titulocz{
    display: block;
    font-weight:bold;
    margin-left:10px;
    margin-right: 10px;
    
}
.textocz{
    -color:#2F2F33;
}

.precotachado{
    display:block;
    color:;
    font-size: 13px;
    width:100%;
    text-decoration: line-through;
    margin-bottom:-25px;
    margin-top:-15px;
    padding-left: 15px;
    font-weight: normal;
}
.precodestaq{
    color:#2F2F33;
    font-size: 22px;
    font-weight: bold;
    margin-top: 0px;
}
.precodesconto{
    color:#2848bd;
    font-size: 22px;
    font-weight: bold;
}
.maisresumo {
    display: flex;
    justify-content: flex-end; /* texto + ícones no fim do label */
    align-items: center;       /* centraliza verticalmente */
    padding: 0px 12px;
    color: #2848bd;
    background-color: white;
    border: none;
    font-size: 20px;
    cursor: pointer;
    margin-top: 15px
    margin-right:30px;
    width: auto;               /* ou defina largura mínima se quiser */
}
.maisresumomodal{
    display:none;
    text-align:right;
    
    font-size: 20px;
    width: 230px; 
    margin-top: 10px;
    padding:0px 10px;
}
.maisresumomodal button{
position: relative;
    left:100px;
   top:-10px;
color: #2848bd;
    background-color: white;
    width:auto;
    border:none;
}

.maisresumo:hover{
    color:#E69B2C;
}

.accordions{
    display: block;
}

.accordions input[type="checkbox"] {
    display: none;
}

.resumoproduto {
    width: 100%;
    display: flex;
    flex-direction: column;       /* empilha h3 e p */
    justify-content: flex-start;   /* alinha ao topo */
    align-items: flex-start;       /* alinha conteúdo à esquerda */
    overflow: hidden;
    transition: max-height .3s ease;
    background: none;
    margin: 5px 20px;
}

.fa-plus{
    margin-left:10px;
    display:block;
}
.fa-minus{
    margin-left:10px;
    display: none;
}
/* Esconde o checkbox */
.accordions input[type="checkbox"] {
    display: none;
}

/* Conteúdo inicialmente escondido */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

/* Quando o checkbox está marcado, abre */
.accordions input[type="checkbox"]:checked ~ .accordion-content {
    max-height: 800px; /* valor grande suficiente */
}

/* Ícones + / – */
label i.fa-minus {
    display: none;
}

.accordions input[type="checkbox"]:checked + label i.fa-plus {
    display: none;
}

.accordions input[type="checkbox"]:checked + label i.fa-minus {
    display: inline-block;
}

a{
	text-decoration:none;
	color:#2848bd;
	font-size:18px;
	font-family:calibri;
	font-weight:bold;
	padding:10px 20px;
}
	a:hover{
	color:#E69B2C;
}

.saibamais{
    width:100%;
    color:#2848bd;
    background-color:none;
    font-weight: bold;
    font-size:20px;
    padding:0px 10px;
    font-weight: italic;
}
	.ativo{
	text-decoration:none;
	color:#E69B2C;
	font-size:18px;
	font-family:calibri;
	font-weight:bold;
	padding:10px 20px;
}

	.portal{
	height:48px;
	text-decoration:none;
	margin-left: 10px;
	color:#ffffff;
	font-size:18px;
	font-family:calibri;
	font-weight:bold;
	padding:10px 15px;
	background-color:#E69B2C;
	border:1px solid #E69B2C;
	border-radius:10px;
	box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
}

	.portal:hover{
	background-color:#ffffff;
}

.icone{
	font-size:25px;
}
.icone2{
	width:60px;
	height:60px;
	position:fixed;
	left:20px;
	top:95px;
	display:block;
	background-color: rgb(255, 255, 255, 0.6);
	border-top-right-radius:50%;
	border-top-left-radius:50%;
	border-bottom-left-radius:50%;
	border-bottom-right-radius:50%;
	box-shadow:5px 5px 5px rgba(38, 4, 139, 0.5);
	margin-right: 0px;
	margin-bottom: 0px;
	text-align: center;
	padding-left:12px;
	padding-top:11px;
	z-index:3;
}
.icone2:hover{
	box-shadow:5px 5px 5px rgb(230, 155, 44, 0.5);
	background-color: rgb(255, 255, 255, 1);
}
.ncar{
	position:relative;
	top:-5px;
	font-size:20px;
	color:#2848bd;
}
.ncar:hover{
	color:#E69B2C;
}
.ncar2{
	position:absolute;
	top:5px;
	right:6px;
	font-size:20px;
	color:#E69B2C;
}
.back{
	height:35px;
	width:auto;
}
.back:hover{
	height:38px;
	margin-left:-3px;
}
.back2{
	height:35px;
	width:auto;
}
.back2:hover{
	height:37px;
	margin-left:-1px;
	margin-top:-1px;
}
	.fundo2{
	position:absolute;
	repeat:repeat-y;
	top:0px;
	left:0px;
	max-width:100%;
	height:auto;
	z-index:-2;
}

.comprado{
	position:relative;
	top:5px;
	border-radius:10px;
	border:none;
	padding:10px 50px;	color:white;
	font-weight: bold;
	background-color:grey;
}
.comprar{
	position:relative;
	top:5px;
	border:none;
	border-radius:10px;
	padding:10px 50px;
	background-color:#2848bd;
	color:white;
	font-weight: bold;
	margin:0 auto;
}
.comprarmodal{
	position:relative;
	top:5px;
	border:solid 1px rgb(39, 4, 141, 0.5);
	border-radius:10px;
	padding:5px 50px;
	background-color:#2848bd;
	color:white;
	margin:0 auto;
}

.modal-desc {
    display: none;
    position: fixed;
    z-index: 9999;
    padding-top: 90px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

.modal-content-desc {
    background-color: #fff;
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    position: relative;
}

.close-desc {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    right: 20px;
    top: 10px;
    cursor: pointer;
}
#modalImg{
    width:calc(100% + 40px);
    height:auto;
    display:block;
    margin:-20px;
    border-radius:10px;
}
.portalprofessor{
	text-decoration:none;
	color:#ffffff;
	font-size:18px;
	font-family:calibri;
	font-weight:bold;
	padding:10px 15px;
	background-color:#E69B2C;
	border:1px solid #E69B2C;
	border-radius:10px;
	box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
}
	.portalprofessor:hover{
	background-color:#ffffff;
}

.footer{
	position:relative;
	bottom:0px;
	color:#ffffff;
	background-color:#5F6365;
	width:100%;
	height:auto;
	text-align:center;
	padding-top:50px;
	padding-bottom: 20px;
	margin:0px;
	margin-bottom: -50px;
}
@media only screen and (min-width: 500px) {
    header.shrink .iconemenu {
    margin-top:-25px;
    }

    .login{
	width:420px;
	top:150px;
	left:50%;
	margin-left:-210px;
    }
    .recuperadiv{
	width:420px;
	top:150px;
	left:50%;
	margin-left:-210px;
    }
@media only screen and (min-width: 700px) {

	.cadastrouser{
	height:auto;
	width:700px;
	position:fixed;
	top:130px;
	left:50%;
	margin-left:-350px;
    }
	.fundo{
	display:block;
	}
	.fundomobile{
	display:none;
	}

	.cadastrouser{
		height:auto;
		width:700px;
		position:fixed;
		top:130px;
		left:50%;
		margin-left:-350px;
	  }
	  #closecad{
		right:-300px;
		top:10px;
	}
		.icone2{
		top:115px;
	}
	.accordions{
    display: none;
    }
    .maisresumomodal{
        display:block;
    }
}


@media only screen and (min-width: 1100px) {
    header{
	max-width:100%;
	height:120px;
	margin-left:0px;
	margin-top:0px;
	align-items:center;
    }
     header.shrink {
        height: 90px;
    }
    .logo{
	height:70px;
	width:auto;
	float:left;
    margin-top:30px;
    margin-left:30px;
    }
	.logo:hover{
	height:72px;
	width:auto;
	float:left;
    }
    header.shrink .logo {
        height: 60px;
        margin-top: 15px;
    }
    	.iconemenu{
	height:40px;
	}
	header.shrink .iconemenu {
        height: 28px;
    }
	.nav{
	display:block;
    
    }
    header.shrink .nav {
        height: 28px;
        margin-top:40px;
    }
    	.navbar{
    	display:none;
    }
    .icone2{
    	display:none;
    }
        .login{
	top:150px;
    }
    .recuperadiv{
	top:150px;
    }
	.cadastrouser{
	height:auto;
	width:700px;
	top:130px;
	left:50%;
	margin-left:-350px;
    }
    .filtrocategoria{
    	top:120px;
    	margin-top:0px;
    	z-index: 1;
    }
}
