/*Normal Devices*/
/*Normal Select*/
#sessionMenu {
    display: -webkit-flex;
    display: flex;
}

.sessionMenu-placeholder{
    min-height: 10px;
    width: 0;
    max-width: 16px;
    flex-grow: 1;
}

.select-css {
    display: block;
    font-weight: bold;
    color: #1D4171;
    line-height: 1.3;
    padding: 0 1.4em 0 0.1em;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    border: none;
    box-shadow: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    background-color: #fff;
    background-color: rgba(248,248,248,0.9);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50'%3E%3Crect x='0' y='0' rx='10' ry='10' width='50' height='50' style='fill:%231D4171;' /%3E%3Crect x='0' y='0' width='10' height='10' style='fill:%231D4171;' /%3E%3Cpolygon points='33,22 17,22 25,9' style='fill:white;' /%3E%3Cpolygon points='33,28 17,28 25,40' style='fill:white;' /%3E%3C/svg%3E");
    background-repeat: no-repeat, repeat;
    background-position: right 0em top 0px, 0 0;
    background-size: 2.08em auto, 100%;
    overflow-y: scroll;
    cursor: pointer;
    min-height: 42px;
    padding-right: 46px; /*IconWith + 4px*/
}

.select-css::-ms-expand {
    display: none;
}

.sel_active {
    background-image: none;
    padding: 0px;
}

.real_select {
    position: absolute;
    top: 40px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    z-index: 101;
    border: 1px solid #7f9db9;
    border-radius: 0 0 3px 3px;
}

.select_button {
    overflow: hidden;
    background-color: white;
    border-radius: 6px;
    width: 100%;
    text-align: left;
    padding-left: 0.5em;
}

.select-css select {
    background-color: rgba(255,255,255,0.8) !important;
}

.select-css:checked {
    background-color: rgba(51,153,255,0.6);
}

.select-css option {
    font-weight: bold;
    padding: 6px;
    width: 100%;
}

select:required:invalid {
    color: gray;
}

option[value=""][disabled] {
    display: none;
}

.actionbar .sessionMenu-wrap {
    margin-left: 8%;
}

.menuYear, .menuDate {
    display: -webkit-flex;
    display: flex;
}

@media (max-width: 850px) {
    .actionbar .sessionMenu-wrap {
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .actionbar .selectator_element .selectator_options .selectator_option {
        padding: 5px;
    }
}

/*mobile select*/
.select_mobile {
    display: none;
    background: white;
    border-radius: 6px;
}

/*Most Mobile Devices*/
/*@media only screen and (hover: none) and (pointer: coarse), (min-device-width: 768px) and (max-device-width: 1024px){*/
@media only screen and (pointer: coarse), (min-device-width: 768px) and (max-device-width: 1024px){
    .select_button{
        display: none;
    }
    .select_mobile{
        display: block;
    }
    select option[disabled]{
        display: none;
    }
    .select_label{
        display: none;
    }
    #selectator_menuYear::after, #selectator_menuDate::after {
        content: '';
        height: 1.5em;
        width: 1.5em;
        position: absolute;
        background-color: rgba(255,255,255,0);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='50' height='50'%3E%3Crect x='0' y='0' rx='6' ry='6' width='50' height='50' style='fill:%231D4171;' /%3E%3Crect x='0' y='0' width='10' height='10' style='fill:%231D4171;' /%3E%3Cpolygon points='33,22 17,22 25,9' style='fill:white;' /%3E%3Cpolygon points='33,28 17,28 25,40' style='fill:white;' /%3E%3C/svg%3E");
        background-repeat: no-repeat, repeat;
        background-position: right 0em top 0, 0 0;
        background-size: 42px auto, 100%;
        pointer-events: none;
        min-height: 42px;
        min-width: 42px;
        right: 0;
        z-index: 1000;
    }
    .select-css{
        padding-right: 46px;
        padding-left: 0.3em;
    }
    /*body *{
       background-color: blueviolet;
   }*/
}

/*Most Smartphones:*/
@media only screen and (pointer: coarse) and (max-width: 420px) {
    .select-css {
        min-height: 31px;
        font-weight: normal;
        padding-right: 35px;
    }
    #selectator_menuYear::after, #selectator_menuDate::after {
        background-size: 31px auto, 100%;
        min-height: 31px;
        min-width: 31px;
    }
    actionbar * {
        font-family: Roboto, Arial;
    }
    #sessioSelectLabel, #selectator_menuYear, #selectator_menuDate{
        font-size: 12px;
    }
   /*body *{
       background-color: red;
   }*/
}

@media (max-width: 450px){
    .actionbar *{
        font-size: 16px;
    }

    .select-css{
        min-height: unset;
    }
}