﻿html, body {
    width: 100%;
    height: 100%;
    margin:0;
    padding:0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
}
html {
    background-color: rgba(28,206,234,0.82);
    background: linear-gradient(-45deg, lightsteelblue 0%, rgba(28,206,234,0.82) 100%);
    background-attachment: fixed;
}

body{
    display:grid;
    grid-template-rows:auto 1fr auto;
}

header {
    width: calc(100% - 60px);
    background-color: #013469;
    height: 50px;
    padding: 10px 0 10px 60px;
    box-shadow: 1px 1px 5px rgba(0,0,0,.9);
    background-image: url(images/logo.png);
    background-repeat: no-repeat;
    background-size: auto 40px;
    background-position: 10px 10px;
}

    header nav {
        float: right;
        width: 45%;
        margin-right: 10px;
        height: 50px;
        text-align: right;
    }

        header nav a {
            font-weight: lighter;
            text-align: center;
            display: inline-block;
            color: white;
            text-decoration: none;
            margin-left: 10px;
            height: 50px;
            line-height: 25px;
        }

            header nav a:hover {
                background-color: rgba(255, 255, 255, 0.2);
            }

        header nav .fa {
            display: block;
            font-size: x-large;
        }

    header h1 {
        float: left;
        width: 40%;
        margin: 0;
        line-height: 25px;
        color: white;
        font-size: 0.9em;
        font-weight: normal;
    }

        header h1::first-line {
            font-weight: bold;
        }

main {
    overflow:auto;
}

    main h3 {
        font-size: large;
        margin: 3px 0;
        font-weight: normal;
        text-align: center;
        color: white;
        width: calc(100% - 10px );
        background-color: steelblue;
        padding: 5px 5px;
    }

        main h3.half {
            display: inline-block;
            width: calc(50% - 10px);
            margin-right: -4px;
        }

        footer{
        }
.survey, .form {
    background-color: rgba(255, 255, 255, 0.90);
    margin: 20px auto;
    padding: 10px 20px;
    width: calc(100% - 60px);
    min-height: 300px;
    border-radius: .3em;
    box-shadow: 1px 1px 5px rgba(0,0,0,.9);
}

.form {
    width: 300px;
}

form label, form input, form textarea, form select {
    display: block;
    resize: none;
    margin: 10px auto;
    width: 100%;
    font-size: 11pt;
}

.survey table {
    width: 100%;
    border-spacing: 0;
    border: 1px solid black;
}

    .survey table th, .survey tbody td {
        border-bottom: 1px solid black;
        padding: 1px;
        text-align: left;
        font-weight: bold;
        font-size: 9pt;
    }

    .survey table th {
       /* background-color: lightsteelblue;*/
background-color:#201f19;

        color: white;
    }

.survey h2 {
    /*font-weight: lighter;*/
    font-weight: normal;
    margin: 10px 0;
    min-height: 64px;
}

    .survey h2 a {
        float: right;
        display: block;
        padding: 5px;
        height: 20px;
        font-size: small;
        text-decoration: none;
        border: 1px solid black;
        margin-left: 10px;
        background-color: lightsteelblue;
        color: black;
    }

    .survey h2 span {
        font-weight: bold;
    }

.survey table th {
    text-transform: uppercase;
    padding: 3px;
 height:25px;
}

.survey tfoot td {
    text-align: right;
    font-size: 13px;
    font-style: italic;
    padding: 10px 8px;
}


.survey table a {
    text-decoration: none;
}

.survey table tr {
    background-color: white;
}

.survey tbody tr:nth-child(odd) {
    background-color: whitesmoke;
}

.admintable tbody tr {
    cursor: pointer;
}

.survey table tr:hover {
    background-color: cornflowerblue !important;
    color: white;
}

    .survey table tr:hover a {
        color: white;
    }

.botones {
    text-align: center;
    margin: 20px;
}

.btn {
    display: inline-block;
    padding: 10px;
    background-color: steelblue;
    color: white;
    text-decoration: none;
}

input[type=submit] {
    color: white;
    width: auto;
    padding: 5px 20px;
    background-color: steelblue;
}

div.pregunta {
    display: none;
}

    div.pregunta.active {
        display: block;
    }

.validation-summary-errors {
    color: red;
    font-size: x-small;
}

input[type=radio] {
    display: block;
    width: 100%;
}

h3 a {
    color: white;
    font-size: medium;
    float: right;
    text-decoration: none;
}

.filtros {
    margin: 10px auto;
}

    .filtros select {
        width: 100%;
    }

    .filtros.f2 select {
        width: 50%;
        float: left;
        margin-bottom: 10px;
    }

.center {
    text-align: center !important;
    margin: auto;
}


td textarea {
    display: block;
    resize: none;
    width: 99%;
}


.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}


footer h6 {
    padding:3px;
    margin:0;
    text-align:right;
    color: steelblue;
}

.twocolumns input {
    width: 300px;
    display: inline-block;
    background: lightsteelblue;
    padding:5px;
    margin-bottom:5px;
}

.twocolumns{
    display:flex;
   justify-content:space-between;
}
