@import url("redmine-evolution.css");
@import url("all.css");
@import url("fonts.css");
@import url("select-to-buttons.css");
@import url("home.css");
@import url("projects.css");
@import url("users.css");
@import url("my-account.css");
@import url("issues.css");
@import url("news.css");
@import url("reports.css");
@import url("admin.css");

.wiki-class-solo-pc {
    display: table;
}

.wiki-class-solo-movil {
    display: none;
}

.controller-account #main #content:after {
    background: url(../images/logo_g.png) center center no-repeat;
}

#wrapper:before {
    background: url(../images/logo-formeus.png) no-repeat;
    background-size: contain;
}

#ajax-indicator span:before {
    background: url(../images/logo-formeus.png) no-repeat;
    background-size: contain;
}

#main>#content {
    padding: 0px;
}

#main>#content .splitcontentright {
    width: 100%;
    max-width: 100%;
}

#header h1 {
    padding: 0px;
    position: relative;
}

#header h1 .current-project {
    width: auto;
}

#header h1:before {
    content: '';
    background: url(../images/logo_p.png) no-repeat;
    background-size: contain;
    margin-right: 25px;
    margin-top: -5px;
    display: block;
    width: 120px;
    height: 21px;
    position: relative;
}

.project-solicitud-de-informacion form#issue-form,
.project-solicitud-fuera-del-plan-de-formacion form#issue-form {
    padding: 20px;
}

#content form .box p>label span {
    position: relative;
}

#content form .box p>label span[data-toggle="tooltip"]:before {
    content: "\E034";
    position: absolute;
    top: -4px;
    right: -32px;
    display: block;
    clear: both;
    margin: 0;
    overflow: hidden;
    border-radius: 100%;
    z-index: 1;
    font-family: WFS-RM-font;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-style: normal;
    font-variant: normal;
    font-weight: 400;
    text-decoration: none;
    text-transform: none;
    font-size: 26px;
    line-height: 26px;
    color: #474751;
}

#content .splitcontentleft .wiki {
    background: white;
    padding: 0px;
    margin-bottom: 0px !important;
}

h2.titulo-form {
    color: red;
}

/* NOTICIA */
.controller-welcome .splitcontent .splitcontentright .news h3,
.controller-welcome .splitcontent .splitcontentright .news>.wiki+a,
#issue-form #watchers_form_container #watchers_inputs label.false,
#issue-form #watchers_form_container #watchers_inputs label.false input {
    display: none;
}

#issue-form #watchers_form_container #watchers_inputs label {
    cursor: pointer;
}

#issue-form #watchers_form_container .search_for_watchers {
    position: absolute;
    left: 110px;
    top: 0px;
}

#block-news p:not(.nodata):hover,
.news.box p:not(.nodata):hover {
    box-shadow: none;
}

h2.titulo-form {
    color: #2f2f2f !important;
    border-bottom: 1px dashed #2f2f2f !important;
    margin: 20px 0px 40px 0px !important;
    padding: 0px !important;
    width: 100% !important;
}

div.flash.notice,
#wrapper form>#errorExplanation {
    position: absolute;
    left: 50%;
    top: 50px;
    right: auto;
    min-width: 500px;
    max-width: 100%;
    margin-left: -250px;
    /* margin-top: -250px; */
}

body .modal.fade {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.8);
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

body .modal.fade .modal-dialog{
    position: fixed;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -o-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    background-color: white;
    position: relative;
    width: 60%;
    padding: 2% 4% calc(2% + 20px);
    box-sizing: border-box;
}

#revisardnis {
    border: 1px solid rgb(255, 251, 239);
    border-radius: 4px;
    padding: 4px 12px;
    transition: all 0.3s
}

#revisardnis:hover {
    cursor: pointer;
    border: 1px solid #ff4e00;
}

/***********/

@media screen and (max-width:1450px) {
    #main>#content #list-left,
    #main>#content #list-right,
    #main>#content .splitcontentleft,
    #main>#content .splitcontentright {
        /* width:50%;
        max-width:50%;
        min-width:50%; */
        padding: 0 !important;
    }

    /* #main>#content .splitcontentright .news h2 {
        font-size: 1.5em !important;
    } */

    #main>#content .splitcontentright {
        margin-top: 15px;
    }
}

@media screen and (max-width: 1024px) {
    #main {
        margin-top: 50px;
    }

    #wrapper #header h1 {
        display: contents !important;
    }
}

@media screen and (max-height: 768px) {
    .banner {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .wiki-class-solo-pc {
        display: none !important;
    }
    
    .wiki-class-solo-movil {
        display: block !important;
    }

    #main>#content #list-left,
    #main>#content #list-right,
    #main>#content .splitcontentleft,
    #main>#content .splitcontentright {
        width: 100%;
        max-width: 100%;
        min-width: 100%;
        padding: 0
    }

    div.flash.notice,
    #wrapper form>#errorExplanation {
        left: 0px;
        right: 0px;
        max-width: auto;
        min-width: auto;
        margin-left: auto;
    }
    
    #wrapper #header h1 {
        white-space: break-spaces;
    }
}

@media screen and (max-width: 580px) {
    #wrapper #header h1 {
        font-size: .9rem;
        line-height: normal;
    }

    #main>#content .splitcontentright {
        margin-top: 0;
    }

    .project-solicitud-de-informacion form#issue-form,
    .project-solicitud-fuera-del-plan-de-formacion form#issue-form {
        padding: 10px;
    }
}

@media screen and (max-width: 392px) {
    #main {
        padding: 40px 0 0;
    }
}