﻿html, body, form {
	height:100%;	
}

.modalIframe {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}

body {
    margin: 0;
    padding: 0;
    border: 0;
    min-width: 100%;
    min-height: 600px;
    width: auto;
}

#levypanel {
    margin-left: 16px;
    z-index:2;
    background-color:white;
    display: block;
    position: absolute;
    box-sizing: border-box;
    overflow: hidden;
    width: 284px;
}

#hlavnipanel {
    margin-left: 16px;
    display: block;
    /*vertical-align: top;*/
    max-width: 65em;
    padding-bottom: 20px;
    margin-right: 10px;
}

#hlavnipanel:not(.noLeftPanel) {
    padding-left: 300px;
}

#levypanel-obsah {
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
}


#dragbar {
    height: 100%;
    float: right;
    width: 3px;
    cursor: col-resize;
    background: #888;
    opacity: 0;
}

#dragbarTouch {
    height: 100%;
    float: right;
    width: 20px;
    background: #888;
    opacity: 0;
    position: relative;
}

div.cleaner {
	clear:both;
}

#hlavicka {
    display: block;
    width: calc(100% - 32px);
    position: relative;
    z-index: 3;
    padding: 10px 16px 0 16px;
    background-color: white;
}

#topmenu {
    margin-bottom: 10px;
    text-align: center;
}
    /*logo*/
    #topmenu #logoClick {
        float: left;
        cursor: pointer;
    }

    #topmenu #logo {
        margin-left: 7px;
        margin-top: 5px;
        margin-right: 20px;
        display: inline-block;
        width: 175px;
        height: 35px;
        background-repeat: no-repeat;
        background-position: left center;
        background-image: url(logo.svg?v=1.1);
        background-size: 175px 22.4px;
    }

/*searchbar*/
#searchbox {
    display: inline-block;
    height: 38px;
    width: 100%;
    max-width: 640px;
    background: #e0dede;
    border-radius: 2em;
    position: relative;
    padding-right: 46px;
    margin: 0 auto;
    overflow: hidden;
    box-shadow: 2px 4px 4px -2px rgba(0,0,0,0.2);
}

@media (max-width: 735px) {
    #searchbox {
        width: 500px;
    }
}

@media (max-width: 600px) {
    #searchbox {
        width: auto;
        min-width: 300px;
    }
}

@media (max-width: 400px) {
    #searchbox {
        width: auto;
        min-width: 150px;
    }
}

#searchButton {
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 0;
    top: 0;
    background: transparent url(icons/search.svg?v=1.0) no-repeat;
    background-size: 22px;
    background-position: 8px;
}

    #searchButton:hover {
        cursor: pointer;
        transform: scale(1.2);
    }

#searchInput {
    width: 100%;
    outline: none;
    margin-top: 8px;
    margin-left: 20px;
    background: transparent;
    border: none;
    color: #001e46;
    font-size: 13px;
}

    #searchInput::-webkit-input-placeholder,
    #searchInput:-ms-input-placeholder,
    #searchInput:-moz-placeholder,
    #searchInput::-moz-placeholder {
        /* IE 10+ */ /* FF 19+ */ /* FF 4-18 */
        color: #001e46;
        font-weight: bold;
    }


/*pravá část*/
div#topmenu_right {
    float: right;
    line-height: 38px;
}

#topmenu_right .ico {
    height: 30px;
    width: 30px;
    padding: 0;
    margin-right: 5px;
    height: 25px;
    width: 25px;
    display: inline-block;
    vertical-align: middle;
    background-size: 20px;
    background-position: center;
    background-repeat: no-repeat
}

    #topmenu_right .ico:hover {
        transform: scale(1.2);
    }

#topmenu_right .documents.ico {
    background-image: url('icons/home.svg?v=1.0');
}

#topmenu_right .settings.ico {
    background-image: url('icons/settings.svg?v=1.0');
}

#topmenu_right .appInfo.ico {
    background-image: url('icons/info.svg?v=1.0');
}

#topmenu_right .help.ico {
    background-image: url('icons/help.svg?v=1.0');
}

#topmenu_right .signCard.ico {
    background-image: url('icons/bulkSign.svg?v=1.0');
}

/*končící licence bliká*/
#topmenu_right .appInfo.liceseEnds.ico {
    -webkit-animation-name: glow;
    -webkit-animation-duration: 2s;
    animation-name: glow;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    border-radius: 14px;
}

/* Safari 4.0 - 8.0 */
@-webkit-keyframes glow {
    0% {
        background-color: none;
        box-shadow: none;
    }

    50% {
        background-color: #efc511;
        box-shadow: 0px 0px 4px 0 #efc511;
    }

    100% {
        background-color: none;
        box-shadow: none;
    }
}

/* Standard syntax */
@keyframes glow {
    0% {
        background-color: none;
        box-shadow: none;
    }

    50% {
        background-color: #efc511;
        box-shadow: 0px 0px 4px 0 #efc511;
    }

    100% {
        background-color: none;
        box-shadow: none;
    }
}

/*menu uživatele*/
#topmenu_userPart {
    display: inline-block;
    position: relative;
    text-align: left;
    cursor: pointer;
    vertical-align: middle;
}

#topmenu_userImage {
    height: 38px;
    width: 30px;
    display: inline-block;
    background: url(icons/user.svg?v=1.0) no-repeat;
    background-size: 25px;
    background-position: center;
    float: right;
    margin-left: 5px;
}

#topmenu_toSignNumber {
    position: absolute;
    background-color: #efc511;
    border-radius: 2px;
    color: white;
    padding: 1px 3px;
    line-height: 1em;
    font-weight: bold;
    right: -5px;
    top: 20px;
}

/*popup uživatele*/
.show {
    display: block;
}

#topmenu_userDetail {
    position: absolute;
    line-height: 20px;
    /*top: 47px;*/
    right: 10px;
    width: 248px;
    text-align: left;
    padding: 8px 10px 13px 10px;
    background-color: white;
    box-shadow: 0px 0px 4px 4px rgba(0,0,0,0.1);
    z-index: 100;
}

    #topmenu_userDetail .userDetailNumber {
        padding-left: 5px;
        font-weight: bold;
        color: #efc511;
    }

    #topmenu_userDetail a.userDetailNumber:visited {
        color: #efc511;
    }

#topmenu_logOff {
    float: right;
}


/*blueMenu*/
#blueMenu {
    width: 100%;
    box-sizing: border-box;
    top: 0px;
    left: 0px;
    z-index: 3;
    overflow: hidden;
    background: #0274ba;
    box-shadow: 2px 4px 4px -2px rgba(0,0,0,0.2);
}

#blueMenu_left {
    float: left;
}

#blueMenu_right {
    float: right;
}

#blueMenu a:hover,
#blueMenu_rightMenuButton:hover {
    background-color: #81B9DC;
}

#blueMenu a,
#blueMenu a:visited,
#blueMenu_rightMenuButton {
    color: #FFFFFF;
    text-decoration: none;
    padding: 0 18px;
    display: inline-block;
    vertical-align: middle;
    line-height: 38px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#blueMenu_rightMenuButton {
    cursor: default;
}

#blueMenu_navHome {
    height: 37.6px;
    width: 12px;
    background: url('icons/homeWhite.svg?v=1.0') no-repeat;
    background-size: 20px;
    background-position: center;
}

/*popup*/
#blueMenu_rightMenuContent {
    display: none;
    position: absolute;
    background-color: #0274ba;
    min-width: 160px;
    box-shadow: 2px 2px 4px 0px rgba(0,0,0,0.2);
}


#blueMenu_rightMenuContent a {
    padding: 6px 20px;
    display: block;
    line-height: 14px;
    font-size: 14px;
    position: relative;
    white-space: nowrap;
}

/*dělící čáry*/
#blueMenu_rightMenuContent a:not(:last-child):after {
    border-top: 1px #fff dotted;
    display: block;
    content: '';
    top: 6px;
    position: relative;
    }


/*zobrazí dropdown*/
#blueMenu_right:hover #blueMenu_rightMenuContent {
    display: block;
}