html, body {
    width: 100%;
    height: 100%;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    background-size: 90%;
    opacity: .02;
    pointer-events: none;
    z-index: -1;
}

.section-main {
    width: 100%;
    height: 100%;
    /* overflow: hidden; */
    position: relative;

    display: flex;
    flex-flow: column;
}
.section-main-table {
    height: 100%;
    /* min-height: 90vh; */
    display: block;
    width: 100%;
    overflow: auto;
}
#sectionLayoutID {
    width: 100%;
}
#sectionLayoutID > form {
    width: 100%;
    height: 100%;;
}

.main-section {
    overflow: auto; 
}

.main-section-search {
    height: 100%;
    width: 500px;
    padding: 2rem 1rem;
    position: fixed;
    top: 0;
    right: 0;
    background-color: white;
    background-image: url("/cs/themes/basic/images/logo_silogtran.gif");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
    background-origin: content-box;

    border-radius: 5px;
}

.main-section-search-label {
    height: 4rem;
    width: 2rem;

    position: absolute;
    top: 50%;
    left: 0;

    border-top-left-radius: 4rem;
    border-bottom-left-radius: 4rem;

    transform: translate3d(-100%, -50%, 0);
}

.main-section-footer
, .main-section-search {
    box-sizing: border-box;
    padding: 1rem;
    z-index: 9999999;
    background-color: white;
    border: 1px solid #DE1920;
    border-radius: 5px;
    transition: all .25s ease;
}

.main-section-footer {
    max-width: 500px;
    width: 100%;
    

    position: fixed;
    bottom: 0;
    left: 50%;

    transform: translate3d(-50%, 0, 0);
}

#inputCheckboxFooterID
, #inputCheckboxSearchID {
    visibility: hidden;
    position: fixed;
    z-index: -1;
}

#inputCheckboxFooterID:not(:checked) + .main-section-footer {
    transform: translate3d(-50%, 100%, 0);
}

#inputCheckboxFooterID:checked + .main-section-footer > .main-section-footer-label > span:first-child{
    visibility: hidden;
}

#inputCheckboxFooterID:not(:checked) + .main-section-footer > .main-section-footer-label > span:last-child{
    visibility: hidden;
}

#inputCheckboxSearchID:not(:checked) + .main-section-search {
    transform: translate3d(100%, 0%, 0);
}

#inputCheckboxSearchID:checked + .main-section-search > .main-section-search-label > span:first-child{
    visibility: hidden;
}

#inputCheckboxSearchID:not(:checked) + .main-section-search > .main-section-search-label > span:last-child{
    visibility: hidden;
}

#inputCheckboxSearchID:checked + .main-section-search .main-section-search-label {
    height: 100%;
    width: calc(100vw - 100%);

    background-color: rgba(0,0,0,0);
    border-radius: 0;
    border-color: transparent;
}

#inputCheckboxSearchID:checked + .main-section-search .main-section-search-label > span{
    left: initial;
    right: 1rem;
    color: white;
    transform: translate3d(0, -50%, 0);
}

#inputCheckboxFooterID:checked + .main-section-footer .main-section-footer-label
, .main-section-footer-label:hover
, #inputCheckboxSearchID:checked + .main-section-search .main-section-search-label
, .main-section-search-label:hover {
    opacity: 1;
}

.main-section-footer-label {
    height: 2rem;
    width: 4rem;
    
    position: absolute;
    top: 0;
    left: 50%;

    border-top-left-radius: 4rem;
    border-top-right-radius: 4rem;
    border-bottom-color: white !important;

    transform: translate3d(-50%, -100%, 0);
}

.main-section-footer-label
, .main-section-search-label {
    background-color: white;
    border: 1px solid #DE1920;
    cursor: pointer;
    opacity: .2;
    transition: all .25s ease;
}

.main-section-footer-label span
, .main-section-search-label span{
    position: absolute;
    top: 50%;
    left: 50%;
    
    color: #666;
    transform: translate3d(-50%, -50%, 0);
}

.searchInputWrap {
    height: 4rem;
    width: 100%;

    position: relative;
}

.searchInput {
    margin: 0;
    padding: .5rem;
    width: 100%;
    position: absolute;
    top: 50%;
    left: 0%;

    border: 1px solid #666;
    border-radius: 5px;
    color: #666;
    font-size: 1rem;

    transform: translate3d(0, -50%, 0);
    transition: all .15s ease;
}

.searchInput:focus {
    box-shadow: 0 0 2px 4px #e1dede;
}

.searchInput + label {
    position: absolute;
    z-index: -1;
    visibility: hidden;
}

.searchList {
    height: calc(100% - 4rem);
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;

    background-color: hsla(0, 0%, 100%, 0.9);
    overflow: hidden auto;
}

.searchList-item {
    margin: 0;
    padding: 0;
    list-style: inherit;
}

.searchList-item.item-hide {
    display: none;
}

.searchList-item + .searchList-item {
    margin-top: .25rem;
}

.searchList-item a {
    box-sizing: border-box;
    display: block;
    padding: .25rem 1rem;
    border-radius: 5px;
    color: #666 !important;
    text-decoration: none !important;
    transition: all .15s ease;
}

.searchList-item a:hover {
    background-color: #e3e3e3;
}

.searchList-item.item-sel a {
    background-color: #666;
    color: white !important;
}

.searchList-item a span {
    color: inherit;
    font-size: .8rem;
}

.section-header {
    width: 100%;
    position: relative;
    background-color: #f1f1f1;
    z-index: 999999;
}

.section-header * {
    box-sizing: border-box;
}
.section-header-logo {
    box-sizing: border-box;
    height: 5.5rem;
    width: 100%;
    
    padding: 0rem;
}

.section-header-logo figure {
    height: 100%;

    padding: 0;
    margin: 0;
}

.section-header-logo figure a {
    height: 100%;
    display: block;
}

.section-header-logo figure:first-child {
    float: left;
}

.section-header-logo figure:last-child {
    float: right;
}

.section-header-logo figure img{
    height: 100%;
    width: auto;
}

.section-header-info {
    width: 100%;
}
.section-header-info > div{
    display: inline-block;
}
.section-header-menu-wrap {
    width: 100%;

    position: relative;
}
.section-header-menu {
    display: flex;
    width: 100%;

    margin: 0;
    padding: 0 .5rem 0 2rem;

    list-style: none;
}

.section-header-menu::after {
    content: "";
    padding: 0 .5rem;
}

.section-header-menu-item {
    position: relative;
    margin: 0;
    list-style: none;
    border-radius: 4px;
}

.section-header-menu-item.sel-item > span {
    box-shadow: 2px 4px 16px 4px #12121226;
}

.section-header-menu-item > span{
    display: block;
    padding: .5rem;
    cursor: pointer;
    
    border-width: 2px;
    border-style: solid;
    border-color: transparent;
    border-radius: 4px;
    letter-spacing: 1px;
    transition: all .15s ease;
}

.section-header-menu-item:hover > span{
    background-color: #DE1920;
    color: white;
}

.section-header-login {
    text-align: right;
    padding: 0 0 1rem;
    position: relative;
    z-index: 1;
    background-color: #f1f1f1;
}

.section-header-login span {
    color: #666;
    font-weight: bold;
    white-space: nowrap;
    padding: .5rem;
}

.section-header-menu-item:not(:hover) > .section-header-menu-item-list{
    pointer-events: none;
    visibility: hidden;
    z-index: -1;
}

.section-header-menu-item-list {
    max-height: 70vh;
    min-width: 200px;

    margin: 0;
    padding: 1rem;
    position: absolute;
    top: 100%;
    left: 0;

    background-color: #fFF;
    border: 1px solid #DE1920;
    border-radius: 4px;
    overflow: auto;
}

.section-header-menu-item-list::before {
    height: .5rem;
    width: .5rem;
    content: "";
    position: absolute;
    top: -.25rem;
    left: 1.5rem;
    background-color: #DE1920;
    transform: rotateZ(45deg);
}

.section-header-menu-item-list a {
    color: #666 !important;
    display: inline-block;
    padding: .5rem .5rem;
    text-decoration: none !important;
    width: 100%;
}

.section-header-menu-item-list a:hover {
    background-color: #DE1920;
    border-radius: 4px;
    color: white !important;
}

.section-header-menu-item-list li{
    list-style: none;
    margin: 0;
    padding: 0;
}

.section-main-content {
    width: 100%;
    flex: 1;
    display: flex;
}

.section-main-content-wrap {
    height: 100%;
    flex-grow: 0;
    padding-top: 1rem;
    padding-bottom: 1rem;
    box-sizing: border-box;
}

.section-main-content-wrap.central-div {
    flex-grow: 1;
    padding-left: 1rem;
    padding-right: 1rem;
    box-sizing: border-box;
}

.section-main-content-wrap.central-div > *:first-child{
    padding: 1rem;
    border-radius: 5px;
    background-color: hsla(0, 0%, 100%, 0.2);
    box-shadow: 2px 4px 16px 4px #12121226;
    min-height: 100%;
    box-sizing: border-box;
}

.PanelLeftCol > span {
    display: flex;
}

.PanelLeftCol > span > img{
    margin: 0 !important;
    height: 30px;
}
