/* box-sizing */
*, *:before, *:after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* ---------- */

/* floating elemeket tartalmazó szülők magasságának helyes beállítása*/
.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}
.clearfix:after {
    clear: both;
}
.clearfix {
    *zoom: 1;
}

/* ---------- */

.unselectable {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* -------------------------------------------------------------------------- */

html {
    height: 100%;
}

body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    background: white;
    border: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
    min-width: 1024px;
    height: 100%;
    /* #header,#toolbar,#tartalom flexboxban méreteződnek */
    display: flex !important;
    flex-direction: column;
}

input:focus,
select:focus,
textarea:focus {
    outline: 1px solid #51A351 !important;
    border-color: #51A351 !important;
    border-radius: 0 !important;
}

/* -------------------------------------------------------------------------- */

#tartalom {
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 60;
    height: 0;
    flex-grow: 1;
    display: flex;
}

.fullpagecontent {
    width: 100%;
    overflow: auto;
    background: #F9F9F9;
}

.tartalom_osztott {
}

.tartalom_left {
    flex-basis: 220px;
    /*flex-shrink: 0;*/
    border-right: 1px solid #ACACAC;
    box-shadow: 2px 0 3px 0 rgba(0,0,0,0.2);
    z-index: 1;
    overflow: hidden;
}

.tartalom_right {
    flex-grow: 1; /* vízszintesen nyúljon ki */
    overflow: hidden;
    z-index: 0;
}

.sidemenu {
}


/* -------------------------------------------------------------------------- */
/* ------------------------------ STRUCTS ----------------------------------- */
/* -------------------------------------------------------------------------- */



/* --- STRUCT TABLE --------------------------------------------------------- */

.struct_table {
    width: 100%;
    padding: 10px;
    font-size: 13px;
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background: white;
    color: #6F6F6F;
    cursor: default;
    border: 1px solid #D9D9D9;
    border-spacing: 0;
}

.struct_table_cim {
    display: inline-block;
    font-weight: bold;
    padding: 4px 20px 4px 20px;
    margin-bottom: 15px;
    /*box-shadow: 2px 2px 5px 0 rgba(0,0,0,0.35);*/

    color: white;
    background: #51A351;

    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* --- THEAD --- */

.struct_table th {
    font-weight: bold;
    text-align: left;
    padding: 8px 8px 12px 8px;
    border-bottom: 1px solid #DDD;
}

/* --- TBODY --- */

.struct_table tbody tr:hover {
    background: #EBF9FF !important;
}

.struct_table td {
    border-top: 1px solid #DDD;
    padding: 8px;
    text-align: left;
}

/* a táblázat páros sorai */
.struct_table .row_even {
}

/* a táblázat páratlan sorai */
.struct_table .row_odd {
    background-color: #F6F6F6;
}


/* --- STRUCT FORM --------------------------------------------------- */
/* egy DIV, azon belül egy táblázat kérdés-válasz párokkal */

.struct_form { /* DIV */
    padding: 10px;
    position: relative;
    background: white;
}

/* --- FŐTÁBLÁZAT --- */

.struct_form > table {
    width: 100%;
    border-spacing: 0;
}

/* minden főtáblázat cella */
.struct_form > table > tbody > tr > td {
    padding: 10px 0;
    vertical-align: middle;
    line-height: 26px;
}
/* ha egynél több főtáblázat sor van, vonal közéjük */
.struct_form > table > tbody > tr+tr > td {
    border-top: 1px solid #DDD;
}

/* kérdés */
.struct_form > table > tbody > tr > td:first-child {
    width: 250px;
    padding-right: 10px;
    text-align: right;
    color: #16AAC0;
    vertical-align: middle;
    color: #3084A8;
}

/* a nem-egysoros válaszoknál a kérdés maradjon felül (.topaligned classt kell hozzárendelni a kérdés TD-hez) */
.struct_form > table > tbody > tr > td:first-child.topaligned {
    vertical-align: top;
    padding-top: 0.8em;
}

/* INPUT,SELECT,TEXTAREA */
.struct_form input,
.struct_form select,
.struct_form textarea {
    font-family: inherit;
    font-size: inherit;
    padding: 5px;
    border: 1px solid #BBB;
    box-shadow: inset 0px 1px 3px 0 rgba(0,0,0,0.15);
}
.struct_form .stringbox,
.struct_form .combobox,
.struct_form .tarea,
.struct_form .katselector input {
    min-width: 300px;
}
.struct_form .combobox {
    padding-right: 2px;
    padding-left: 2px;
}
.struct_form .tarea {
    display: block;
    border-left-color: #D2B54D;
    border-left-width: 3px;
    border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    height: 1px;
}

/* soron belüli megjegyzések */
.struct_form td+td .inlineinfo {
    font-style: italic;
    padding-left: 10px;
    font-size: 0.8em;
    color: gray;
}


/* --- ALTBÁLÁZATOK --- */

.struct_form .subtable {
    background: #FAFAFA;
    padding: 5px 10px;
    border: 1px solid #DDD;
    border-radius: 3px;
    min-width: 550px;
}

/* az altáblázat cellái */
.struct_form .subtable > tbody > tr > td {
    padding: 10px 0;
    border-top: 1px solid #EEE;
    vertical-align: middle;
}
.struct_form .subtable > tbody > tr:first-child > td {
    border: none;
}

/* altáblázat .kérdés */
.struct_form .subtable > tbody > tr > td:first-child {
    width: 190px;
    text-align: right;
    padding-right: 10px;
    vertical-align: top;
    line-height: 26px;
}

/* --- FOOTER --- */
.struct_form > .footer {
    border-top: 1px solid #DDD;
    padding: 10px 0 0 0;
    text-align: right;
}