/* 
    Created on : 22/01/2015, 15:56:02
    Author     : thiago
    Estilos para o site do catÃ¡logo de servicos
*/

* {
    position: relative;
    margin: 0;
    padding: 0;
    font-size: 1em;
    font-family: 'Segoe UI', Frutiger, 'Frutiger Linotype', 'Dejavu Sans', 'Helvetica Neue', Arial, sans-serif;
}

html, body {
    height: 100%;
}

#container {
    position: relative;
    min-height: calc(100% - 64px);
    background: #F2F9FF;
}

header {
    padding: 0 1%;
    border-bottom: 1px solid #BBE1F9;
    background-color: #fff;
    height: 180px;
    text-align: left;
}

#linkLogo {
    display: block;
    float: left;
    width: 250px;
    height: 100%;
    cursor: pointer;
}

#linkLogo img {
    padding-top: 5%;
    height: 90%;
}

header .titulo {
    position: relative;
    display: inline-block;
    line-height: 180px;
    font-size: 2.2em;
    font-variant: small-caps;
    color: #228DCD;
    text-shadow: 1px 1px #9DC3DB;
    cursor: pointer;
    z-index: 1;
}

#identificacaoUsuario {
    position: relative;
    float: right;
    padding: 1em;
    margin-top: 1em;
    text-align: left;
    font-size: 0.8em; 
    z-index: 3;
}

#caixaUsuario {
    z-index: 2;
}

#identificacaoUsuario .nomeUsuario {
    font-weight: bold;
    padding: 0 0.5em;
    border-right: 1px solid #000;
}

#iconeUsuario, #caixaUsuario .iconeFechar {
    display: none;
}

#iconeUsuario {
    position: relative;
    float: right;
    margin: 0.5em 0.2em 0;
    padding: 0.3em;
    border: 1px solid #9DC3DB;
    border-radius: 50%;
    color: #228DCD;
    text-shadow: 1px 1px #9DC3DB;
    font-size: 1.2em;
    cursor: pointer;
    z-index: 1;
}

#iconeUsuario:hover {
    border-color: #228DCD;
}

.iconeFechar {
    float: right;
    padding: 0.2em;
    color: #BBE1F9;
    cursor: pointer;
}

.idiomas ul {
    list-style: none;
}
.idiomas ul li {
    display: inline-block;
    margin: 0 0.5rem;
}
.idiomas ul li img {
    width: 20px;
}

#caixaBusca {
    padding: 20px 1%; 
    border-bottom: 1px solid #BBE1F9;
    background-color: #228DCD;
    color: #fff;
}

#caixaBusca .pesquisa {
    display: block;
    float: left;
    padding: 0 5px;
    width: 30%;
}

#caixaBusca div span {
    display: block;
    margin: 2px auto;
    text-align: left;
    font-size: 0.8em;
}

#textoBuscaPalavraChaveGeral, #textoBuscaPalavraChave {
    padding: 0.2em;
    margin: 0;
    width: 98%;
}

#caixaBusca .perfis {
    display: inline-block;
    padding: 0 1%;
    width: 56%;
    color: #fff;
}

.perfil {
    position: relative;
    display: block;
    float: left;
    min-width: 100px;
    padding: 1%;
    margin: 0 0.5% 0;
    text-decoration: none;
    font-size: 1em;
    color: #fff;
    border-radius: 2px;
}
.perfil.aluno {
    background-image: url("../imgs/icone_aluno.svg");
}
.perfil.docente {
    background-image: url("../imgs/icone_professor.svg");
}
.perfil.tecnico {
    background-image: url("../imgs/icone_tecnico.svg");
}
.perfil.externo {
    background-image: url("../imgs/icone_externo.svg");
}
.perfil.selecionado {
    background-color: #fff;
    color: #046FAF;
}
.perfil.selecionado.aluno {
    background-image: url("../imgs/icone_aluno_azul.svg");
}
.perfil.selecionado.docente {
    background-image: url("../imgs/icone_professor_azul.svg");
}
.perfil.selecionado.tecnico {
    background-image: url("../imgs/icone_tecnico_azul.svg");
}
.perfil.selecionado.externo {
    background-image: url("../imgs/icone_externo_azul.svg");
}

.ui-autocomplete {
    font-size: 0.8em;
}

#conteudo {
    padding: 1%;
    padding-bottom: 96px;
}

footer {
    position: absolute;
    padding: 8px 1%;
    clear: both;
    height: 70px;
    width: 98%;
    bottom: 0;
    font-size: 0.8em;
    background: #fff;
    border-top: 1px solid #BBE1F9;
    z-index: 0;
}

footer a:first-child {
    font-size: 1.2em;
}

footer aside {
    position: relative;
    float: right;
    margin-top: -60px;
    padding: 0 1%;
    font-size: 0.7em;
    border-left: 1px solid #efefef;
}

footer aside img {
    height: 50px;
}

footer a.logoRodape {
    display: block;
    float: left;
    margin-right: 20px;
    font-size: 0.7em;
    text-align: center;
}

footer a.logoRodape:hover {
    text-decoration: none;
}

#conteudo section {
    float: left;
    width: 69%;
}

#conteudo section.telaInteira {
    width: 98%;
}

#conteudo aside {
    padding: 0 1% 1% 1%;
    margin-left: 70%;
    width: 27%;
    border-left: 1px solid #eee;
    overflow: auto;
}

#conteudo h2 {
    padding: 1% 0;
    color: #228DCD;
    font-size: 1.1em;
}

#conteudo aside h2 {
    margin-top: 1em;
}

#conteudo aside ul {
    list-style: none;
}

.documentacao ul, .faq ul {
    list-style: disc !important;
    color: #046FAF;
}

.documentacao ul li, .faq ul li {
    margin-left: 20px !important;
    color: #000;
}

#conteudo aside ul *, #conteudo aside p {
    font-size: 0.9em;
}

h1 {
    padding: 10px 0.5%;
    font-size: 1.5em;
    letter-spacing: 0.1em;
}

h2.subtitulo {
    margin-left: 0.5%;
    letter-spacing: 0.1em;
}

li {
    padding: 0.1%;
    margin-left: 1%;
}

a {    
    text-decoration: none;
    color: #046FAF;
}

a:hover {
    text-decoration: underline;
}

a.servicoPai {
    color: #000;
}

p {
    margin: 0.5em 0;
}

.caixaCatalogo, .caixaCategoria, .caixaServico, .caixaServicoResumo {
    min-width: 380px;
    padding: 10px 1%;
    margin: 5px 0.5%;
    background: #fff;
    box-shadow: 1px 0 1px 1px #efefef;
    border-bottom: 2px solid #BBE1F9;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bannersCatalogos {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
}

.caixaCatalogo {
    display: inline-block;
    width: 47%;
}

.caixaCatalogo .logoCatalogo {
    display: block;
    float: left;
    width: 180px;
    margin-right: 2%;
    text-align: center;
}

.caixaCatalogo .logoCatalogo img {
    width: 180px;
}

.caixaCatalogo h2 {
    display: table-cell;
    height: 100px;
    width: 100%;
    vertical-align: middle;
    font-size: 2rem !important;
    font-variant: small-caps;
    color: #228DCD;
    text-shadow: 1px 1px #9DC3DB;
    font-weight: normal;
}

.caixaCategoria {
    position: relative;
    float: left;
    width: 47%;
}

.caixaCategoria i {
    display: block;
    float: left;
    min-width: 40px;
    margin-right: 2%;
    text-align: center;
    text-shadow: 1px 1px #9DC3DB;
}

.caixaCategoria .chasque {
    background: url("../imgs/icone_chasque.svg") no-repeat center center;
    background-size: 99% auto;
    height: 1em;
}

.caixaCategoria .chasque::before {
    content: "";
    margin: 2px 0 0 2px;
    background: url("../imgs/icone_chasque.svg") no-repeat center center;
    background-size: 99% auto;
    display: block;
    height: 1em;
    opacity: 0.5;
}

.caixaCategoria h2 {
    color: #000 !important;
}

.caixaServico {
    display: block;
    min-height: 50px;
    background: 1% center no-repeat #fff;
    background-size: 40px; 
}

.caixaServicoResumo {
    display: block;
    min-height: 200px;
    background: 1% center no-repeat #fff;
    background-size: 300px;
    padding-left: 320px;
}

.success{
    background-color: #6CCF70 !important;
    border-color: #2C8F30 !important;
}

.error{    
    background-color: #f44336; /*#f2dede*/
    color: white;  /*#a94442*/
    border-color: #ebccd1 !important;
}

.alert-danger{
    display: block;
    padding: 1%;
    margin: 5px 0.5%;
    font-size: 0.9em;
    max-width: 100%;
    overflow-x: auto;
    color: #a94442;
    border: 1px solid;
    background-color: #f2dede !important;
    border-color: #ebccd1 !important;
}

.alert-success{
    display: block;
    padding: 1%;
    margin: 5px 0.5%;
    font-size: 0.9em;
    max-width: 100%;
    overflow-x: auto;    
    color: #3c763d;
    background-color: #dff0d8;
    border: 1px solid;
    border-color: #d6e9c6;
}

.caixaServico h2, .caixaServico .descricao {
    margin-left: 50px;
    color: #000 !important;
}

.caixaServico:hover {
    text-decoration: none;
}

.informacao {
    display: block;
    padding: 1%;
    margin: 5px 0.5%;
    background: #fff !important;
    border: 1px solid #efefef !important;
    font-size: 0.9em;
    max-width: 100%;
    overflow-x: auto;
}

.informacao h2 {
    padding: 0 0 0.5em !important;
    margin-bottom: 0.5em;
    border-bottom: 1px solid #9cf;
    font-size: 1.2em !important;
}

.mensagemErro {
    padding: 5px 1%;
    margin: 5px 0.5%;
    background-color: #Fee;
    border: 1px solid #c00;
    color: #c00;
}

.mensagemSucesso {
    padding: 5px 1%;
    margin: 2% 0.5%;
    background-color: #D9FFD9;
    border: 1px solid #080;
    color: #080;
}

.categorias, .subServicos {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
}

.subServicos {
    padding: 0.5%;
    margin: 5px 0 1.5%;
}

.subServicos .clear {
    font-size: 1px;
}

.subServicos .caixaServico {
    margin: 5px 0.2%;
    padding: 1%;
    position: relative;
    display: inline-block;
    width: 47%;
    font-size: 0.8em;
    min-height: 5em;
    overflow: hidden;
    flex-grow: 1;
}

.faq {
    padding: 1%;
}

.itemFaq {
	padding: 0;
}

.itemFaq .pergunta {
    cursor: pointer;
    transition: all .3s ease-out;
}

.itemFaq .pergunta h3 {
	padding: 0 0 0.1em;
    margin-left: 20px;
    text-decoration: none;
    font-weight: normal;
    font-size: 0.9em;
}

.itemFaq .pergunta i {
    color: #228DCD;
    float: left;
    margin-top: 3px;
}

.itemFaq .resposta {
	display: none;
    margin-left: 1em;
}

.itemFaq.expandido > .pergunta h3 {
	
}

.itemFaq.expandido > .resposta {
	display: inherit;
}

.documentacao {
    padding: 1%;
    font-size: 0.9em !important;
}

.documentacao h2 {
    color: #000;
}

.mensagem {
    margin: 1%;
    padding: 1em;
    border: 1px solid #228DCD;
    border-radius: 0.5em;
    background-color: #fff;
    color: #228DCD;
}

.limpar {
    clear: both;
}

#caixaLogin, #acessoExterno {
    display: block;
    float: left;
    width: 49%;
    text-align: center;
}

#caixaLogin {
    border-right: 1px solid #ddd;
}

#ou {
    position: absolute;
    margin-top: 60px;
    margin-left: -15px;
    padding: 5px;
    width: 20px;
    background-color: #fcfcfc;
}

#caixaLogin button, #acessoExterno button, #formContato button {
    padding: 0.2em 0.5em;
    font-size: 1.5em;
    border: 2px solid;
    border-radius: 0.2em;
    cursor: pointer;
    transition-duration: 0.5s;
}

#acessoExterno h3 {
    font-size: 1em;
}

#acessoExterno button {
    font-size: 1em;
    border-width: 1px;
}

#caixaBotoesSolicitacao button {
    padding: 0.2em;
    margin: 5px 0.5%;
    font-size: 1em;
    border-radius: 0.2em;
    cursor: pointer;
    transition-duration: 0.5s;
}

.btSolicitar {
    border: 1px solid #508AFF;
    background-color: #D5EAFF;
    color: #04c;
}

.btSolicitar:hover {
    border: 1px solid #0984FF;
    background-color: #fff;
}

.btProblema {
    border: 1px solid #FF5050;
    background-color: #FFEEEE;
    color: #c00;
}

.btProblema:hover {
    border: 1px solid #FF1717;
    background-color: #fff;
}

.btDuvida {
    border: 1px solid #996600;
    background-color: #FFF4E1;
    color: #663300;
}

.btDuvida:hover {
    border: 1px solid #663300;
    background-color: #fff;
}

.btDownload {
    border: 1px solid #50DD50;
    background-color: #D9FFD9;
    color: #080;
}

.btDownload:hover {
    border: 1px solid #0d0;
    background-color: #fff;
}

.btDesabilitado {
    border: 1px solid #ccc;
    background-color: #ddd;
    color: #aaa;
    cursor: not-allowed !important;
}

.btFecharIframe {
    padding: 0.2em;
    position: relative;
    float: right;
    margin: 10px 20px 0 -90px;
    width: 60px;
    font-size: 0.7em;
    cursor: pointer;
    transition-duration: 0.5s;
    border: 1px solid #999;
    background-color: #eee;
    color: #333;
    z-index: 3;
}

.btFecharIframe:hover {
    border: 1px solid #000;
    background-color: #fff;
}

#btSolicitacoes, #btGuia {
    padding: 0.2em 0.5em;
    line-height: 2.2em;
    border: 1px solid transparent;
}
#btSolicitacoes:hover, #btGuia:hover {
    text-decoration: none;
    border: 1px solid #046FAF;
    border-radius: 0.2em;
}

#caixaBotaoSolicitacao button i {
    text-shadow: 1px 1px #aaa;
}

input, textarea, select {
    padding: 3px;
    margin-bottom: 0.5em;
    border: 1px solid #ccc;
}

.obrigatorio {
    color: #c00;
    font-weight: bold;
}

.clear {
    clear: both;
}

iframe#conteudoExterno {
    position: relative;
    border: none;
    margin: 0.5%;
    width: 99%;
    height: 500px;
    background-color: #fff;
    z-index: 1;
}

#formContato, #janelaModal {
    position: fixed;
    top: 10%;
    left: 50%;
    width: 50%;
    max-height: 70%;
    margin-left: -26%;
    padding: 3%;
    z-index: 999;
    background-color: #fff;
    -moz-box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.5);
    box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.formCatalogo{    
    top: 10%;    
    width: 93%;
    max-height: 70%;    
    padding: 3%;    
    margin: 0.5%;
    background-color: #fff;
    box-shadow: 1px 0 1px 1px #efefef;
    border-bottom: 2px solid #BBE1F9;
    overflow: auto;
}

#formContato label, .formCatalogo label {
    font-size: 0.8em;
}

#formContato input, #formContato textarea, .formCatalogo input, .formCatalogo textarea, .formCatalogo select {
    width: 100%;
}

.formCatalogo select {
    margin-right: 0;
    right: 0;
    min-width: 100%;
}

#formContato .iconeFechar, #janelaModal .iconeFechar {
    margin: -4% -3% 0 0;
}

#msgAdBlock {
    position: absolute;
    width: 80%;
    padding: 5%;
    color: #046FAF;
    z-index: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    width: 100%;
}

table th, table td {
    padding: 2px 5px;
    line-height: 2em;
}

table th {
    border-bottom: 1px solid #000;
    text-align: left;
}

table tbody tr:nth-child(even) {
    background-color: #efefef;
}

table tbody tr:hover {
    background-color: #e0e0e0;
}

#divAcompanhamento textarea {
    margin: 0.5%;
    width: 99%;
    height: 5em;
}

#divAcompanhamento button, #btAdicionarAcompanhamento {
    padding: 0.2em;
    margin: 5px 0.5%;
    font-size: 1em;
    border-radius: 0.2em;
    cursor: pointer;
    transition-duration: 0.5s;
    border: 1px solid #508AFF;
    background-color: #D5EAFF;
    color: #04c;
}

#divAcompanhamento button:hover, #btAdicionarAcompanhamento:hover {
    border: 1px solid #0984FF;
    background-color: #fff;
}

#fundoModal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 998;
    background-color: #000;
    text-align: center;
    overflow: hidden;
    opacity: 0.7;
    z-index: 10;
}

@keyframes girar {
    from {transform: rotate(0deg);}
    to {transform: rotate(360deg);}
}
@-webkit-keyframes girar {
	from {-webkit-transform:rotate(0deg);}
	to {-webkit-transform:rotate(360deg);}
}
@-moz-keyframes girar {
	from {-moz-transform:rotate(0deg);}
	to {-moz-transform:rotate(360deg);}
}

#loader {
    position: fixed;
    top: 40%;
    left: 50%;
    width: 50%;
    margin-left: -26%;
    text-align: center;
    z-index: 999;
    color: #fff;
}

#loader i {
    font-size: 4em;
    color: #228DCD;
    animation: girar 1.5s linear infinite;
    -webkit-animation: girar 1.5s linear infinite;
    -moz-animation: girar 1.5s linear infinite;
}

@media screen and (max-width: 1260px) {
    .subServicos .caixaServico {
        width: 99%;
        height: auto;
    }
    .caixaCatalogo, .caixaCategoria, .caixaServico {
        width: 99%;
        min-width: inherit;
    }
}

@media screen and (max-width: 900px) {
    #identificacaoUsuario {
        float: none;
        margin: 0;
        display: none;
        padding: 0.2em 0.5em;
        overflow: hidden;
        border-bottom: 1px solid #BBE1F9;
        background-color: #F2F9FF;
    }
    
    #iconeUsuario {
        display: inherit;
    }
    
    #identificacaoUsuario .iconeFechar {
        display: inherit;
    }
    
    #caixaLogin, #acessoExterno, #ou {
        float: none;
        width: auto;
        border: none;
    }
    
    #acessoExterno {
        margin-bottom: 2em;
    }
    
    #ou {
        position: relative;
        display: block;
        text-align: center;
        margin: 10px;
    }
}

@media screen and (max-width: 630px) {
    * {
        line-height: 1.5em;
    }
    
    #conteudo {
        padding-bottom: 80px;
    }

    #conteudo section {
        width: 98%;
    }

    #conteudo aside {
        margin-left: auto;
        float: left;
        width: 98%;
    }

    header {
        /*background: url("../imgs/logo_catalogo.png") no-repeat 50% 5px #fff;*/
        background-size: auto 100px;
        height: auto;
    }
    
    header .titulo {
        display: block;
        font-size: 1.8em;
        margin: 0;
        z-index: 0;
        line-height: 1.8em;
        text-align: center;
        clear: both;
    }

    #linkLogo {
        float: left;
        margin-left: 20%;
        width: 60%;
        height: 100px;
        text-align: center;
        
    }
    
    #linkLogo img {
        height: 90%;
        padding-top: 5%;
    }
    
    #caixaBusca {
        text-align: center;
    }

    #caixaBusca .pesquisa {
        float: none;
        width: 98%;
    }
    
    #caixaBusca .perfis {
        width: 98%;
        display: block;
        min-height: 100px;
    }
    
    .perfil {
        width: calc(48% - 80px);
        font-size: 0.9em;
    }
    
    #caixaBotoesSolicitacao button {
        padding: 0.2em 0.5em;
        font-size: 1.2em;
        border: 2px solid;
    }
    #caixaBotoesSolicitacao button, #caixaLogin button, #acessoExterno button, #formContato button {
        width: 98%;
    }
    
    #formContato, #janelaModal {
        width: 90%;
        margin-left: -48%;
    }
    
    #caixaLogin input {
        width: 97%;
    }
    
    #btAdicionarAcompanhamento {
        float: right;
        height: 40px;
        width: 40px;
        border-radius: 50%;
    }
    #btAdicionarAcompanhamento span {
        display: none;
    }
}

