﻿/* POZOR: Jakekoliv zmeny konzultovat s hlavnim programatorem! */

.text-left, .TextLeft {
    text-align: left;
}

.text-right, .TextRight {
    text-align: right;
}

.text-center, .TextCenter {
    text-align: center;
}

.text-justify, .TextJustify {
    text-align: justify;
}

.align-top, .AlignTop {
    vertical-align: top;
}

.align-middle, .AlignMiddle {
    vertical-align: middle;
}

.width-auto, .WidthAuto {
    width: auto !important;
}

.nowrap, .NoWrap, .no-wrap {
    white-space: nowrap;
}

.white-space-pre, .WhiteSpacePre {
    white-space: pre;
}

/* LAK 8.8.2019: Kvůli resetu tabulek např. v komponentách DateBox, DateBox2 apod. */
table.reset, table.reset td {
    border: 0;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */
.hidden, .Hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */
.invisible {
    visibility: hidden;
}

/* 
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 * http://designfestival.com/when-and-how-to-visually-hide-content/ 
 */
.visually-hidden, .hidden-accessible {
    position: absolute !important;
    clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
    clip: rect(1px, 1px, 1px, 1px);
    padding: 0 !important;
    border: 0 !important;
    height: 1px !important;
    width: 1px !important;
    overflow: hidden;
}

/*
 * Opravuje chybnou definici font-size: 1px v inline stylech u dateboxu
 */
/*LAK 8.8.2019:
    table.ig_EditWithButtons {
    font-size: 11px !important;
    font-size: unset !important;
}*/


/*změna školního roku*/
/*body header .top-header .main-controls .period-switch {
    padding: 4px 5px 0 10px !important;
}
a.period-switch {
    display: block;
}
a.period-switch:hover {
    text-decoration-line: none !important;
}
a.period-switch span.alt {
    border-top: 2px solid darkgray;
    display: block;
    height: 0px;
    overflow: hidden;
}*/


/*uživatel*/
/*body header .top-header .account .user {
    display: inline-block;
    vertical-align: top;
    width: 150px;
}
body header .top-header .account .user a {
    display: block;
}*/
/*body header .top-header .account .user-image {
    float: unset !important;
    padding-left: unset !important;
    padding-right: unset !important;
    background: unset !important;

    width: 50px !important;
    height: 50px !important;
    
    margin: 0 10px;

    display: inline-block;
    overflow: hidden;
    border-radius: 50%;
}

body header .top-header .account .user-image img {
    width: 50px !important;
    background-color: white;
}*/

/*body header .top-header .account .user-role {
    float: unset !important;
    overflow: hidden;
    white-space: nowrap;
    width: 160px;
    text-overflow: ellipsis;
    display: block;
}*/

/*nastavení stylování checkboxů a radio*/
/*prvek se musí 'schovat', ale neměl by mít 'display: none'*/
/*body input[type=radio], body input[type=checkbox] {
    opacity: unset !important;
    float: unset !important;
    width: unset !important;
    left: -1000px;
    position: absolute;
}*/

/* zobrazení checkboxu v Gridu */
/*nobr > input[type=checkbox] {
    display: unset;
    left: unset;
    position: unset;
}*/





/*LAYOUT*/

//
//.sol-body-wrapper {
//    margin: 28px;
//}
//
//.sol-body-left-wrapper, .sol-body-content-wrapper, .sol-body-right-wrapper {
//    display: table-cell;
//    vertical-align: top;
//}

//
//.left_frame, .sol-body-left {
//     padding-right: 28px;
//}

//
//.right_frame, .sol-body-right {
//}

//
//.sol-body-content-wrapper {
//    width: 100%;
//}

//
//.content_frame, .sol-body-content {
//    width: 1000px;
//    margin: auto;
//}

//
//.sol-notifications {
//    width: 1000px;
//    margin: auto;
//}

//
//.sol-body-footer {
//    width: 1000px;
//    margin: auto;
//}


//.sol-content-width-full .content_frame, .sol-content-width-full .sol-body-content, .sol-content-width-full .sol-notifications, .sol-content-width-full .sol-body-footer {
//    width: 100%;
//}

//.sol-content-width-small .content_frame, .sol-content-width-small .sol-body-content, .sol-content-width-small .sol-notifications, .sol-content-width-small .sol-body-footer {
//    width: 800px;
//}

//.sol-content-width-medium .content_frame, .sol-content-width-medium .sol-body-content, .sol-content-width-medium .sol-notifications, .sol-content-width-medium .sol-body-footer {
//    width: 1200px;
//}

//.sol-content-width-large .content_frame, .sol-content-width-large .sol-body-content, .sol-content-width-large .sol-notifications, .sol-content-width-large .sol-body-footer {
//    width: 1400px;
//}

//.sol-btn-help-instant {
//    white-space: nowrap;
//}

//.developer-toolbar {
//    display: block !important;
//}

/* obarvené zprávy aplikace - provizorně */
/*.Message_Success {
    background-color: lightgreen;
    padding: 5px;
}

.Message_Error {
    background-color: lightpink;
    padding: 5px;
}

.Message_Warning {
    background-color: lightyellow;
    padding: 5px;
}

.Message_Information {
    background-color: lightblue;
    padding: 5px;
}*/


/* viditelná tlačítka - provizorně */
/*body button {
    border: none;
    background-color: deepskyblue !important;
    border-radius: 3px;
}*/




/*LEFT MENU*/

/*.sol-left-menu {
    background-color: white;
    color: #5C6E76;
    cursor: pointer;
    font-weight: 900;
    min-width: 300px;
    max-width: 300px;
}
.sol-left-menu-header {
    padding: 12px 24px;
    background: url(images/themes/sol-bak/menu/sub_menu_indicator_hover.svg) right 0;
    background-repeat: no-repeat;
}
.sol-left-menu-header-selected {
    padding: 12px 24px;
    background: url(images/themes/sol-bak/icons/ico32-dropDown.svg) right 0;
    background-repeat: no-repeat;
}
.sol-left-menu-content {
    background-color: #F1F7F7;
}

.sol-left-menu-content .menu_link {
    padding: 6px 24px;
    display: block;
    border-left: 6px solid transparent;
    text-decoration: none;
    color: #5C6E76;
}

.sol-left-menu-content .menu_link:hover {
    background-color: #D8EBF1;
    color: #0090C9;
    border-left: 6px solid #0090C9;
    text-decoration: none;
}*/

/*.igtbl_Item tr:hover:not(.igtbl_Selected) {
    background-color: aliceblue;
}*/

/* podbarvení editovatelných buněk v gridu */
.CellEditable {
    /*background-color: honeydew;*/
}
TBODY.igtbl_Item > TR:hover .CellEditable {
    /*background-color: #E0F1F8;*/
}


/*.uwgbtncell nobr {
    height: 100%;
}*/



/*split button*/

.sol-btn-split {
    display: inline-block;
    vertical-align: top;
}

    .sol-btn-split .dropdown-menu .sol-btn {
        width: 100%;
        text-align: left;
        margin-bottom: 2px;
        margin-right: 0;
    }

    .sol-btn-split .dropdown-toggle {
        background-image: url(https://aplikace.zapisyonline.cz/SOL/Themes/images/themes/sol-bak/icons/ico32-arrowDown-inverse.svg);
        background-repeat: no-repeat;
        background-position: center center;
        /*height: 31px;*/
        height: 27px;
        vertical-align: top;
        /*margin-left: -28px !important;*/
        margin-left: -5px !important;
        border-left: 1px solid #f1fafd !important;
        border-top-left-radius: 0 !important;
        border-bottom-left-radius: 0 !important;
    }

    .sol-btn-group-1 .sol-btn-split .dropdown-toggle {
        height: 31px;
        margin-left: -28px !important;
    }

    .sol-btn-split .dropdown-menu {
        position: absolute;
        transform: none !important;
        top: auto !important;
        left: auto !important;
        z-index: 1000;
        display: none;
        float: left;
        min-width: 160px;
        list-style: none;
        background: #F7F8F9;
        box-shadow: 0 2px 3px 0 rgba(0,0,0,0.15);
        padding-left: 0px;
        margin-bottom: 0px;
        /*margin-top: -4px;*/
        margin-top: 2px;
        margin-left: 0;
        padding: 0;
    }

    .sol-btn-group-1 .sol-btn-split .dropdown-menu {
        margin-top: -4px;
    }

    .sol-btn-split .dropdown-menu.show {
        display: block;
    }
