/* 
    Document   : estilos
    Created on : 26-feb-2014, 10:14:03
    Author     : NitsNets Studios
    Description:
        Carga de todos los estilos específicos implicados en el diseño
*/


* { outline: 0; }

.pagebreak { page-break-after: always; }

.color-blue-dark { color: #003850; }
.color-orange { color: #FF6500; }
.color-grey-dark { color: #333333; }
.color-green { color: #468847; }
.color-red { color: #B94A48; }
.green  { color: #a7ce38; }
.red  { color: #CB0000; }

/* ENLACES GENERICOS */
a.mini-enlace {}
a.mini-enlace:hover { text-decoration: underline; }

/* 01 HEADER */

header{	width:100%; height:96px; background: transparent url('images/bg_header.png') top left repeat-x;	}	
header div.logo {
    display: inline;
    float: left;
    height: 40px;
    width: 365px;
    margin: 35px 0 0 0;
}

/* Aquí está el truco: definimos el tamaño del H1 y forzamos el escalado de la imagen */
.logo h1 {
    text-indent: -9999em;
    background: url('images/cca_logo.png') left center no-repeat;

    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;

    background-size: 110%;
}

.logo h1 a {
    display: block;
    width: 100%;
    height: 100%; 
    text-decoration: none;
}

div.sub_menu_header{float:right;display:inline;height:26px;width:400px;}
.sub_menu_header ul{list-style:none}
.sub_menu_header ul li{float:right;background:url(images/sub_menu_header_c.png) right 15px no-repeat;margin: 0 1px 0 0;}
.sub_menu_header ul li.last{margin: 0;}
.sub_menu_header ul li.lang{float:left;margin:0 5px 0 0;background:none !important;color:#5E8596 !important;}
.sub_menu_header ul li.lang a{text-indent:0 !important;background:none !important;display:inline;padding:0 !important;}
.sub_menu_header ul li.lang a.selected, .sub_menu_header ul li.lang a:hover{color:#FFB700;}
.sub_menu_header .li_current{color:#fff;background:#002335 url(images/sub_menu_header_c.png) right 15px no-repeat;width: 70px !important;border-right: 1px solid #002335;}
.sub_menu_header li a:link,.sub_menu_header li a:active,.sub_menu_header li a:visited{font-size:11px;padding:0 30px 0 15px;color:#A5D1E5;line-height:26px;display:block;background:url(images/sub_menu_header_a.png) 7px 11px no-repeat;}
.sub_menu_header li a:hover{color:#FFB700;background:url(images/sub_menu_header_f2_b.png) 7px 11px no-repeat;}
.sub_menu_header li a.current{color:#fff;background:url(images/sub_menu_header_b.png) 7px 11px no-repeat}
.sub_menu_header li a.current:hover{color:#FFB700;background:url(images/sub_menu_header_f2_b.png) 7px 11px no-repeat}

header nav{display:inline;float:left;margin:23px 0 0 100px;}
header nav ul{list-style:none;}
header nav ul li{float:left;}
header nav ul li a:link,header nav ul li a:active,header nav ul li a:visited{display:block;font-size:16px;height:22px;padding:0;color:#fff;margin:0 22px 0 0}
header nav ul li a.current{color:#91D3E7;background:url(images/header_menu.png) 1px 18px no-repeat}
header nav ul li a:hover{color:#91D3E7;}

header p.eafi{display:inline;float:right;margin:22px 0 0 0;font-size:20px;padding:0;color:#fff;}

/* 02 SECTION */

section{ clear:both; width:100%; }

/* CONTENIDO */
.contenido .account-right {
    float: left;
    width: 780px;
    margin: 0 0 0 30px;
}

/* HOME SECTIONS */
.homeSections{
    list-style: none;
    display: inline-block;
    text-align: center;
    margin-top: 50px;
    width: 100%;
}

.homeSections li.homeSection{
    width: 350px;
    height: 250px;
    display: inline-block;
    margin: 0 10px;
    padding: 20px;
    border: 1px solid #0c2345;
    border-radius: 4px;
}

.homeSections li.errorMsg{
    font-size: 11px;
    color: #B94A48;
}

.homeSections li.studentsAccess{
    background: #FFF url('images/students_access.jpg') 10px 15px no-repeat;	
}

.homeSections li.teachersAccess{	
    background: #FFF url('images/teachers_access.jpg') 10px 15px no-repeat;
}

.homeSections .formFields{	
    text-align: left;
    list-style: none;
    margin-top: 20px;
}

.homeSections .formFields .marginlef120{
    margin-left: 120px;
}

.homeSections .formFields .rememberData{
    margin-left: 30px;
    margin-top: 14px;
}

.homeSections .formFields label{
    font-weight: bold;
}

.homeSections .formFields input[type="button"]{
    float:right;
    color: #FFF;
    margin: 10px 10px 0 0;
    background-color: #0c2345;
    padding: 5px 10px;
    border-radius: 4px;
}

.homeSections .formFields button{
    float:right;
    margin: 10px 10px 0 0;
}

.homeSections .formFields .rememberData{
    float:left;
}

.homeSections .titulo_1{	
    color:#0c2345;
    display: block;
    font-size:18px;
    text-align: left;
    margin-left: 120px;
}

.homeSections .titulo_2{
    color:#6d6d6d;
    display:block;
    font-size:12px;
    text-align: left;
    margin-left: 120px;
    margin-top: 20px;
    line-height: normal;
}

.lastExams{
    width: 800px;
    margin: 40px auto;
}

.lastExams h2{
    font: 24px Arial;
    color: #0c2345 !important;
    text-transform: uppercase;
    border-bottom: 1px solid #0c2345;
    background: transparent url('images/home_exams.png') top left no-repeat;
    text-indent: 40px;
    height: 35px;
}

.lastExams ul{
    list-style: none;
    margin-top: 20px;
}

.lastExams li{
    font: 12px Arial;
    color: #0c2345;
    height: 66px;
    padding-top: 14px;
    padding-left: 34px;
}

.lastExams li.odd{
    background-color: #eaeaea;

}

.lastExams li span{
    display: block;
    font: 10px Arial;
    line-height: 15px;
}

.lastExams li span.dates{
    color: #838382;
    line-height: 30px;
}



/* 05 POPUP ENTRAR */

div.popup_gray{width:304px;background:url(images/bg_gray.png) repeat-y;height:300px;font-family:Arial,sans-serif;padding:22px 23px 0 23px;position:relative;}
div.popup_gray .button-register {width:304px;}
div.popup_white{width:304px;height:233px;font-family:Arial,sans-serif;padding:22px 23px 0 23px;position:relative;height:300px;} 
div.popup_white .button-login {width:304px;}
div.popup_remember{width: 380px;height:233px;font-family:Arial,sans-serif;padding:22px 23px 0 23px;}
div.popup_remember h2{margin-bottom:20px;}
div.popup_remember a.entrar{float: right}

.div_popup h2{font-size:23px;line-height:40px;color:#333;margin: 0 0 20px 0;}
.popup_gray p{/*font-size:13px;margin:20px 23px 0 0;*/line-height:18px;color:#000;}

a.button, button.button{width:153px;height:45px;display:inline-block;text-align:center;color:#fff !important;background:url(images/bg_botones_genericos.png) 0 0 no-repeat;line-height:40px;font-size:14px;text-decoration:none !important}
a.button:hover, button.button:hover{color:#FFB700 !important;}
/*.entrar{width:98px !important;background:url(images/bg_botones_genericos.png) -153px 0 no-repeat !important;text-align:left !important;text-indent:15px;margin:0}
    .entrar:hover{color:#FFB700}*/

.popup_white fieldset.bloque1{height:104px;padding:12px 0 0 0;}
.bloque1 input[type=text],.bloque1 input[type=password]{/*width:285px;height:23px;border:1px solid #b2b2b2;padding:0 9px;font-size:11px;color:#555;font-family:Arial,sans-serif;margin:0*/}
.popup_white p{font-size:11px;margin:0;color:#555;line-height:100%}
/*.popup_white a:link,.popup_white a:active,.popup_white a:visited{color:#555;text-decoration:underline}*/
.popup_white .alert a{color:#555;text-decoration:none}

.popup_white fieldset.bloque2{clear:both;text-align:right}


/* 06 COLUMNA IZQUIERDA */

.sombra_imagen{box-shadow:2px 2px 6px rgba(0,0,0,0.40)}
.linea{background:url(images/bg_h2_left_lines.png) 0 100% repeat-x;padding:0 0 14px 0}
.margin_0{margin:0 0 0 0 !important}
.margin_5{margin:0 0 5px 0 !important}
.margin_8{margin:0 0 8px 0 !important}
.margin_10{margin:0 0 10px 0 !important}
.margin_14{margin:0 0 14px 0 !important}
.margin_16{margin:0 0 16px 0 !important}
.margin_20{margin:0 0 20px 0 !important}
.margin_25{margin:0 0 25px 0 !important}
.margin_30{margin:0 0 30px 0 !important}
.margin_34{margin:0 0 34px 0 !important}
.color_azul{color:#1F85AD !important}
.color_naranja{color:#FF5B14 !important}
.color_rojo{color:#991515 !important}

div.contenido{margin: 10px 0 40px;width:100%;float:left;display:inline;font-family: Arial, sans-serif; background-color: #FFF; padding: 20px 10px; min-height: 400px; border: 1px solid #CCC; border-radius: 6px;}
.contenido h2.dotted{font-size:29px;color:#073B4F;height:29px;margin:0;background:url(images/bg_h2_left_lines.png) 100% 23px repeat-x;display:block;}
.contenido h2.dotted span{background:#fff url(images/bg_h2_left.png) 2px 98% no-repeat;padding:0 10px 0 0}
.contenido h2.dark-blue{font-size:29px;color:#073B4F;height:29px;margin:0;display:block;}
.contenido h2.dark-blue span{background:#fff url(images/bg_h2_left.png) 2px 98% no-repeat;padding:0 10px 0 0}
.contenido h3.dark-blue{font-size:26px;color:#073B4F;height:24px;margin:0;display:block;}
.contenido h3.dark-blue span{background:#fff url(images/bg_h2_left.png) 2px 98% no-repeat;padding:0 10px 0 0}

h4.bordered { border-bottom: 1px solid #EEE; padding: 0 0 3px 0; }
/*.contenido h3{font-size:24px;color:#073B4F;margin:0 0 20px 0;line-height:104%}
        .fontsize_22{font-size:22px !important}
.contenido h4{font-size:18px;color:#073B4F;margin:5px 0 13px 0;line-height:104%;}
.contenido h5{font-size:25px;color:#073B4F;margin:0 0 13px 0;line-height:104%;font-style:italic}*/

/*cite{color:#000;width:275px;font-size:13px;font-weight:bold;display:block;line-height:115%}*/

div.left{margin:25px 0 0 0;width:508px;display:inline;font-family: Arial, sans-serif;}
/*.contenido p{font-size:13px;line-height:123%;margin:0 0 20px 0}
        .contenido p:last-child{margin:0}*/

.contenido ul{list-style:none;margin:0 0 22px 0}
.contenido dl{list-style:none;margin:20px 0 0 0}
.contenido ul.guion li{font-size:13px;line-height:123%;margin:0 0 7px 0;background:url(images/guion.jpg) 6px 7px no-repeat;padding:0 0 0 20px;}

.contenido dt{color:#000;font-size:14px;line-height:123%;margin:0 0 7px 0;font-weight:bold}
.contenido dd{font-size:13px;line-height:123%;margin:0 0 20px 0;}

div.right{margin:25px 0 0 0;width:400px;display:inline;}
.t548{width:548px !important}
.t380{width:380px !important}
.t366{padding-right:14px !important}

ul.tabs{margin:30px 0 30px 0;display:inline;float:left;width:100%;height:32px;background:#f5f5f5;list-style:none}
.tabs li{float:left;font-size:13px;line-height:32px;padding:0 27px;background:url(images/tabs.png) 100% -5px  no-repeat;}
.tabs li:first-child{padding:0 27px 0 12px}
.tabs li:last-child{background:none !important}

.tabs a:link,.tabs a:active,.tabs a:visited{color:#000;text-decoration:none;font-weight:bold}
.tabs a:hover{color:#0086B0;}
.current_tab{color:#0086B0 !important;background:url(images/tabs.png) 0 8px  no-repeat;padding:0 0 0 8px}

div.contenido_simple{margin:25px 0 0 0;}



/* MENU PROFILE */
.contenido .bs-docs-sidebar {
    margin: 0;
}


.bs-docs-sidenav {
    margin: 0;
    padding: 0;
    background-color: white;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, .065);
    -moz-box-shadow: 0 1px 4px rgba(0,0,0,.065);
    box-shadow: 0 1px 4px rgba(0, 0, 0, .065);
}
.bs-docs-sidenav li {
    height: 38px;
    margin: 0;
    background: none;
    padding: 0;
}
.bs-docs-sidenav > .active > a {
    position: relative;
    z-index: 2;
    /*padding: 9px 15px;*/
    /*border: 0;*/
    text-shadow: 0 1px 0 rgba(0, 0, 0, .15);
    -webkit-box-shadow: inset 1px 0 0 rgba(0, 0, 0, .1), inset -1px 0 0 rgba(0, 0, 0, .1);
    -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.1), inset -1px 0 0 rgba(0,0,0,.1);
    box-shadow: inset 1px 0 0 rgba(0, 0, 0, .1), inset -1px 0 0 rgba(0, 0, 0, .1);
}

.bs-docs-sidenav > li > a {
    line-height: 32px;
    font-size: 14px;
    height: 32px;
    display: block;
    border-bottom: 1px solid #E5E5E5;
    border-right: 1px solid #E5E5E5;
    border-left: 1px solid #E5E5E5;
    margin: 0;
}
.bs-docs-sidenav li .icon-chevron-right {
    margin-top: 9px;
}

.bs-docs-sidenav > li:first-child > a {
    -webkit-border-radius: 6px 6px 0 0;
    -moz-border-radius: 6px 6px 0 0;
    border-radius: 6px 6px 0 0;
    border: 1px solid #E5E5E5;
}
.bs-docs-sidenav > li:last-child > a {
    -webkit-border-radius: 0 0 6px 6px;
    -moz-border-radius: 0 0 6px 6px;
    border-radius: 0 0 6px 6px;
}
.bs-docs-sidenav .icon-chevron-right {
    float: right;
    margin-top: 2px;
    margin-right: -6px;
    opacity: .25;
}


/* GRAFICAS */

/* SCATTER CHART dashboard*/
.chart_basic_line 	{ float: left; width: 100%; /*page-break-before: always;*/ }

/* PIE CHART assets & asset types dashboard*/
.chart_pie 			{ /*height: 320px;*/ width: 350px; /*page-break-before: always;*/ }
.chart_pie_pdf 			{ /*height: 320px;*/ width: 250px; /*page-break-before: always;*/ }

/* MI PERFIL */
.tab-content{ padding: 0 20px; }
.tab-content #form_general { width: 620px; }
.tab-content #form_general .well { width: 580px; }
.tab-content #form_fiscal { width: 620px; }


/* MENSAJES */
.messagesTitle{
    background: transparent url('images/title_icon_messages.png') 0px 4px no-repeat;
    text-indent: 38px;
    margin-bottom: 20px;
}

.messagesList .unreaded{
    background-color: #e9edf5;
}

.messagesList .owner{
    background-color: #fbf0d9;
}

.messagesList .not-owner{
    background-color: #e0e5fa;
}

.messagesList .messageWrapper p{
    margin:0;
    padding:0;
    cursor: pointer;
}

.messagesList .children{

}

.messages .replyFields textarea{
    width: 100%;
}

/* EXÁMENES */
.examsTitle{
    background: transparent url('images/title_icon_exams.png') 0px 4px no-repeat;
    text-indent: 38px;
    margin-bottom: 20px;
}

.finishedExams .categoriesList{
    margin-top: 20px;
}

.finishedExams .categoryTitle{
    background-color: #001845;
    padding: 10px 10px;
    color: #FFF;
    border: 1px solid #CCC;
    border-radius: 6px;
    width: 100%;
    margin-bottom: 10px;
    display: inline-block;
}

.examInstructions{
    margin-top:30px;	
}

.startExamButton{
    margin-top: 50px;
    text-align: center;
}

/* EXAMEN */
.examContent{

}

.examInfoWrapper{
    position: relative;
    display: block;
}

.examInfo{
    position:fixed;
    top:140px;
    left:50px;
    width: 218px;
    background-color: #e9eaeb;
    border: 1px solid #001845;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.examInfoTitle{
    font-weight: bold;
    display: inline-block;
    color: #FFF;
    background-color: #001845;
    width: 100%;
    padding: 10px 0px 10px 10px;
    order: 1;
}

.examInfoContent {
    order: 4;
}

.examInfoContent ul{
    padding: 0px 5px 5px 5px;
    margin-top: 10px;
    margin-bottom: 10px;
    display: inline-block;
    text-align: center;
    height:130px;
    overflow-y: scroll;
}

@media (max-width:992px) and (orientation: portrait){
    .examInfoContent ul {
        height:320px;
    }
}

@media (min-width:1440px) {
    .examInfoContent ul {
        height:320px;
    }
}

.examInfoContent li{
    display:inline-block;
    margin: 5px 0px;
}

.examInfoContent a.examInfoQuestionLink{
    color: #FFF;
    padding: 5px;
    background-color: #001845;
    width: 20px;
    height: 20px;
    display: inline-block;
    font-weight: bold;
    border-radius: 4px;
}

.examInfoContent a.examInfoQuestionLinkDone{
    background-color: #d79800 !important;
}

.examInfoContent a.examInfoQuestionLinkTagged{
    background-image: url('images/questionTagged.png');
    background-position: top right;
    background-repeat: no-repeat;
}

.examCounter{
    text-align: center;
    margin-bottom: 10px;
    margin-top: 10px;
    order: 2;
}

.examCounter small{
    display: block;
    /* margin-bottom:10px; */
    font-size: 12px;
}

.examCounter span{
    color: #001845;
    font-size: 40px;
    font-weight: bold;
    display: block;
    line-height: normal;
}

.examInfoButtons{
    text-align: center;
    /* margin-bottom: 20px; */
    order: 3;
}

.examQuestionItem{
    border: 1px solid #001845;
    border-radius: 6px;
    margin-bottom: 10px;
    overflow: hidden;
}

.examQuestionItem .examQuestionHeader{
    font-weight: bold;
    display: inline-block;
    color: #FFF;
    background-color: #001845;
    width: 100%;
    padding: 10px 0px 10px 10px;
    text-transform: uppercase;
}

.examQuestionItem .tagged{
    background-color: #4081ae;
}

.examQuestionItem .examQuestionHeader .questionTag{
    text-transform: none;
    font-size: 11px;
    float: right;
    margin-right: 20px;
}

.examQuestionItem .examQuestionTitle{
    padding: 10px;
    font-weight: bold;
}

.examQuestionItem .examAnswers{
    padding: 0px 10px;
}

.examQuestionItem .examAnswers .examAnswerItem{
    margin: 10px 0px;
}

.examQuestionItem .examAnswers .examAnswerItem .examAnswerType{
    margin-right: 10px;
}

.examQuestionItem .examAnswers .examAnswerItem .examAnswerTitle{
    font-style: italic;
}

/* RESULTADOS DEL EXAMEN */

.examResults{
    padding-top: 20px;
}


/* FRONT DE LAS EVALUACIONES 360º */

.clearboth  	{ clear:    both; }

#tests_front {
    margin-top: 40px;
    padding: 20px;
    background-color: white;
    background-clip: border-box;
    min-width: 980px;
    min-height: 500px;
    display: inline-block;
    border: 1px solid #0c2345;
    border-radius: 4px;
}

.page-header {
    margin-bottom: 15px     !important;
}

p.pantalla_bienvenida {
    min-height: 300px;
}

#tests_boton{
    margin: 30px auto 10px auto;
    text-align: center;
}

.boton_tests_inferior {
    padding: 10px 30px      !important;
    font-size: 18px         !important;
    /*font-weight: bold       !important;*/
}

#tests_preguntas {
    margin: 20px 0px 40px 0px;
    min-height: 300px;
}

#tests_competencias_left {
    float: left;
    width: 200px;
}

#tests_competencias_left p {
    margin: 0px;
    padding: 10px;
}

.competencia {
    margin-top: -1px;
    padding: 0px;
    width: 100%;
    min-height: 24px;
    border: 1px solid #e3e3e3;
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
    vertical-align: central;
    background-color: #f5f5f5;
}

.competencia.seleccionado {
    position: relative;
    background: #88b7d5;
    border: 1px solid #c2e1f5;
    font-weight: bold;
}

.competencia.seleccionado:after, .competencia.seleccionado:before {
    left: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.competencia.seleccionado:after {
    border-color: rgba(136, 183, 213, 0);
    border-left-color: #88b7d5;
    border-width: 12px;
    margin-top: -12px;
}

.competencia.seleccionado:before {
    border-color: rgba(194, 225, 245, 0);
    border-left-color: #c2e1f5;
    border-width: 12px;
    margin-top: -12px;
}






#tests_competencias_right {
    float: right;
    width: 700px;
    border-left: 1px solid #e3e3e3;
    padding-left: 20px;
}

#comportamientos {
    margin-bottom: 0px;
}

#comportamientos p {
    margin-bottom: 20px;
    text-align: justify;
}


.comportamiento {
    float: left;
    margin-right: 30px;
    padding: 3px 8px;
    width: 120px;
    min-height: 24px;
    text-align: center;
    font-weight: bold;
    color: #555;
    vertical-align: central;
    position: relative;
    background: #f5f5f5;
    border: 1px solid #e3e3e3;
}
.comportamiento:after, .comportamiento:before {
    left: 100%;
    top: 50%;
    border: solid transparent;
    content: " ";
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
}

.comportamiento:after {
    border-color: rgba(245, 245, 245, 0);
    border-left-color: #f5f5f5;
    border-width: 15px;
    margin-top: -15px;
}
.comportamiento:before {
    border-color: rgba(227, 227, 227, 0);
    border-left-color: #e3e3e3;
    border-width: 17px;
    margin-top: -17px;
}

.comportamiento.seleccionado {
    font-weight: bold;
    background: #c2e1f5;
}

.comportamiento.seleccionado:after {
    border-color: rgba(194, 225, 245, 0);
    border-left-color: #c2e1f5;
}

.comportamiento a, .competencia a {
    color: #555;
}

.comportamiento a:hover, .competencia a:hover {
    color: #438dbc;
    font-weight: bold;
}


#preguntas {
    margin-top: 40px;
}

#preguntas p span {
    margin-right: 10px;
    vertical-align: bottom;
    font-size: 20px;
    color: grey;
}

.preguntas_botones {
    margin-bottom: 40px;
}

.preguntas_botones button {
    width: 170px;
    font-size: 12px     !important;
}

.preguntas_botones button.seleccionado {
    background-color: #cce5ff   !important;
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#cce5ff), to(#66b2ff)) !important;
    background-image: webkit-linear-gradient(top, #cce5ff, #66b2ff)                     !important;
    background-image: linear-gradient(to bottom, #cce5ff, #66b2ff)                      !important;
}

.preguntas_botones button.seleccionado:hover {
    background-position: 0px        !important;
}

/* Toast que muestra si la pregunta se ha guardado correctamente */
#toast {
    visibility: hidden;
    width: 400px;
    margin-left: -200px;
    background-color: #3a87ad;
    color: #fff;
    text-align: center;
    border-radius: 2px;
    padding: 16px;
    position: fixed;
    z-index: 1;
    left: 50%;
    bottom: 30px;
}

#toast.show-error {
    visibility: visible;
    background-color: #db8b18;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 10s;
    animation: fadein 0.5s, fadeout 0.5s 10s;
}

#toast.show-success {
    visibility: visible;
    -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
    animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

@-webkit-keyframes fadein {
    from {bottom: 0; opacity: 0;} 
    to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
    from {bottom: 0; opacity: 0;}
    to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
    from {bottom: 30px; opacity: 1;} 
    to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
    from {bottom: 30px; opacity: 1;}
    to {bottom: 0; opacity: 0;}
}


