html{
    margin: 0;
    padding: 0;
    height: 100%;
}

body{
    overflow: hidden;
    height: 100%;
}

h1{
    text-align: center;
}

#OELogo{
    max-height: 5em;
}

select{
    margin: 3px;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance:none;
    border-radius: 5px 5px 0px 5px;
    border-bottom: 1px solid #777;
    min-width: 5em;
}

.relative{
    position: relative;
}

.backOfficeBlock{
    background: #EEE;
    margin-bottom: 5px;
    margin-top: 5px;
    padding: 0;
    text-align: center;
    border-style: solid;
    border-width: 1px;
    border-color: #d8d8d8;
    border-radius: 3px;
}

input[type=number] {
    -moz-appearance:textfield;
}

input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.backOfficeUserBlock{
    background: #EEE;
    height: auto;
    overflow: hidden;
    padding: 0px;
    border: 5px solid transparent;
    border-radius: 3px;
}

.backOfficeTranslateBlock{
    background: #EEE;
    margin-bottom: 5px;
    border-bottom: 5px solid transparent;
    padding: 0px;
    overflow: hidden;
    border-radius: 5px;
}

.backOfficeBlockDescription{
    background: white;
    padding: 10px;
    border: 1px solid #DDD;
    margin: 0 10px 0 10px;
}

.backOfficeText{
    background: #EAEAEA;
    color: #444;
    border-radius: 5px;
    padding: 5px 5px;
    margin: 5px 0px;
    border: 1px solid #DDD;
    min-width: 6em;
    vertical-align: middle;
    text-align: center;
    overflow: hidden;
}

.mediaBlock{
    position: relative;
    height: 14.7em;
    overflow: hidden;
    background: #EEE;
}

.nbMediaSpan{
    font-size: small;
}

.mapbox{
    position:relative;
    height: 100%;
    width:100%;
}

.trailMapbox{
    height: 40em;
}

.draggable{
    z-index: 5;
}

.no-padding{
    padding: 0!important;
}

.no-margin{
    margin: 0 !important;
}

.max-width{
    width: 100% !important;
}

.full-padding{
    padding: 100%!important;
}
.portlet-placeholder {
    height: 14.7em;
    margin: 5px 0px;
    border-radius: 3px;
    background: rgba(0,94,154,0.4);
}

.droppable {
    min-height: 50px;
    background: #FAFAFA;
    border-style: solid;
    border-width: 1px;
    border-color: #e8e8e8;
    border-radius: 3px;
}

.type{
    position: absolute;
    padding: 0px 3px;
    top: 0px;
    left: 0px;
    color: #000;
    background-color: #EEE;
    border-radius: 0px 0px 4px 0px;
    border-style: solid;
    border-width: 1px;
    border-color: #d8d8d8;
    border-top: 0px;
    border-left: 0px;
}

.warning{
    position: absolute;
    padding: 0px 3px;
    top: 0px;
    right: 0px;
    color: #000;
    background-color: #EEE;
    border-radius: 0px 0px 0px 4px;
    border-style: solid;
    border-width: 1px;
    border-color: #d8d8d8;
    border-top: 0px;
    border-right: 0px;
}

.favorite{
    position: absolute;
    padding: 0px 3px;
    top: 0px;
    left: 0px;
    color: #000;
    background-color: #EEE;
    border-radius: 0px 0px 4px 0px;
}

.mediasImgBlock{
    position: relative;
    overflow:hidden;
    height: 12em;
}

.mediasAVBlock{
    position: relative;
    height: 12em;
}

.trailsMapBlock{
    height: 16em;
}

.mediasImg{
    position: absolute;
    left: 50%;
    width: auto;
    top: 50%;
    height: 100%;
    -webkit-transform: translate(-50%,-50%);
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
}

.mediaBlockTitle{
    position: absolute;
    width: 100%;
    height: 2.7em;
    background: rgba(0,140,186,0.4);
    overflow: hidden;
    bottom: 0px;
}

.mediaBlockTitle h4 {
    color: #FFF;
}


.drag-object{
    cursor: grabbing;
}

.hidden-menu{
    position: relative;
    margin: 0px;
    padding: 0px;
    background: rgba(0,140,186,0.4);
}

.hidden-menu h4{
    color: #FFF;
}

.hidden-menu .row, .backOfficeUserBlock .row{
    margin: 0px;
}

.mapAddPages{
    height: 20em;
}

.mapAddTrailPages {
    height: 40em;
}

.fa-question-circle{
    cursor: help;
}

.graph{
    height: 30em;
}

#menu-bar{
    height: 100%;
    padding: 0px !important;
}

.icon-bar{
    height: 100%;
    width: 100% !important;
    overflow: auto;
}

.item{
    padding-top:15px !important;
    padding-bottom:15px !important;
    width: 100%;

}

.main-section{
    text-align: center;
    height: 100% !important;
    overflow-y: auto;
}
table{
    margin:10px auto;
}

.Blockpanel{
    height: 100% !important;
}

.type-icon{
    height: 20px;
}

.dropdownRow{
    display: none;
}

.media-point-name{
    text-align: left;
}

.mt25 {
    margin-top: 25px;
}

.txt-left {
    text-align: left;
}

.txt-center {
    text-align: center;
}

.photo-count, .comments-count {
    vertical-align: middle;
}

.msg-error {
    border-radius: 4px;
    color: white;
    background: #d54637;
    margin-bottom: 1em;
    padding: 1em;
}

.msg-error input {
    margin-bottom: 0;
}

.msg-error li {
    list-style-type: none;
}

.msg-error ul {
    padding: 0px;
    margin: 0px;
}

.bold {
    font-weight: bold;
}

input.error, select.error {
    border-color: #ff5764;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

input.error + .msg-error, select.error + .msg-error {
    margin-top: 0;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-top: none;
}

/* Override Foundation CSS */
.moderate-table .description {
    padding-bottom: 0px;
    padding-top: 0.9375rem;
    border-bottom: none;
}

.picture-height{
    max-height: 7em;
}

.media-max-size{
    max-height: 25em;
    max-width: 100%;
}

.map-location-height{
    height: 8em;
}
.tiny-panel {
    display: block;
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    padding-top: 0;
    padding-bottom: 0;
    border-style: solid;
    border-width: 1px;
    overflow: visible;
    font-size: 0.875rem;
    height: 2.3125rem;
    line-height: 2.3125rem;
    background: #f2f2f2;
    color: #333333;
    border-color: #cccccc;
}

@media only screen and (min-width: 40.063em) {
    .width-fixe-large {
        width: 18em !important;
    }

    .width-fixe-medium {
        width: 12em !important;
    }
}

.red {
    color: #f00;
}