html,
body {
    height: 100%;
}

.wrap{
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 120px 15px 20px;
}
body .wrap .map-container {
    padding: 0;
}

.noscriptmsg{
    height: auto;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: "\e151";
}

a.desc:after {
    content: "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view td {
    white-space: nowrap;
}

#w0.grid-view{
    overflow-x: scroll;
}

.grid-view .filters input,
.grid-view .filters select {
    min-width: 50px;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

#map1 {
    width: 74%;
    float: unset;
    height: 100%;
    margin-top: 15px;
}
#legend {
    width: 96%;
    float: unset;
    margin: 0 2%;
}
#modal .modal-content{
    padding: 20px 15px;
    border-radius: 3px;
}
#modal .modal-dialog {
    top: 10%;
}
#legend .table > tbody > tr > td {
    border: unset;
    vertical-align: middle;
    min-width: 30px;
    text-align: center;
}
#legend .table > tbody > tr:first-child{
    border-top: 1px solid #ddd;
}
#dating .table > tbody > tr:first-child{
    border-top: 1px solid #ddd;
}
#dating {
    width: 96%;
    float: unset;
    margin: 0 2%;
}
#dating .table > tbody > tr > td {
    border: unset;
    vertical-align: middle;
}
.forcenter {
    text-align: center;
    margin-top: 0;
}
.table {
    border-bottom: 1px solid #ddd;
}
.table > tbody > tr > td {
    padding: 1px;
}
.table > tbody > tr > td > button {
    float: right;
}
@media screen and (max-width: 980px) {
   /* #map1 {
        width: 60% !important;
    }*/
}

.print-checkbox{
    display:none;
}

.gallery-item > img{
    width:100%;
}
.clock {
    zoom: 0.5;
    -moz-transform: scale(0.5);
}
.flip-clock-divider .flip-clock-label {
    display: none;
}
.flip-clock-wrapper ul li a div div.inn {
    color: #ececec;
    /*color: #ccc; */
}

.gallery-item > img {
    width:20%;
    display:inline-block;
}
.flip-clock-wrapper {
    position: absolute;
    width: auto;
    right: 10px;
    top: 100px;
}
.map-container {
    width: 100%;
}
.map-container #manage {
    padding-top: 10px;
    /* position: absolute; */
    text-align: center;
    margin-bottom: 12px;
}
/*.map-container #legend,
.map-container #dating {
    position: absolute;
}*/
#menu-map{
    position: absolute;
}
.map-container #map1 {
    width: 100%;
    margin-top: 40px;
    min-height: calc(100vh - 100px);
    float: unset;
}
.table > tbody > tr > td {
    font-size: 12px;
    line-height: 1.55;
}
.leaflet-left {
    right: 0 !important;
    top: 110px !important;
    left: unset !important;
}
#menu-map {
    position: absolute;
    display: block;
    width: 320px;
    z-index: 10;
    height: calc(100vh - 70px);
    padding-top: 100px;
    overflow: auto;
    top: 0;
    background: #fff;
    left: 0;
}
#menu-map h3{
    font-size: 15px;
}
.ac-container{
    /* width: 400px;*/
    margin: 10px auto 30px auto;
    text-align: left;
}
.ac-container input {
    display: none;
}
.ac-container input {
    cursor: pointer;
}
.ac-container label{
    width: 100%;
    margin: 3px 0;
    padding: 5px 20px;
    position: relative;
    z-index: 20;
    float: left;
    display: block;
    /*   height: 30px; */
    cursor: pointer;
    text-align: left;
    color: #000;
    text-shadow: unset;
    line-height: 33px;
    font-size: 19px;
    background: #ffffff;
    border-radius: 2px;
    /*  background: -moz-linear-gradient(top, #ffffff 1%, #eaeaea 100%);
      background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,#ffffff), color-stop(100%,#eaeaea));
      background: -webkit-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
      background: -o-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
      background: -ms-linear-gradient(top, #ffffff 1%,#eaeaea 100%);
      background: linear-gradient(top, #ffffff 1%,#eaeaea 100%); */
    border: 1px solid #cacaca;
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#eaeaea',GradientType=0 );
    box-shadow: unset;
}
.ac-container .forcenter {
    margin-top: 5px;
    margin-bottom: 5px;
}

.ac-container label:hover{
    background: #eaeaea;
}

.ac-container input:checked + label,
.ac-container input:checked + label:hover{
    background: #e4e4e4;
    color: #000;
    text-shadow: unset;
    box-shadow:
        unset;
    width: 100%;
}


.ac-container label:after,
.ac-container input:checked + label:hover:after{
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: 13px;
    top: 7px;
    background: transparent url(../../../images/down-arrow.png) no-repeat center center;
    background-size: 100%;
}
.ac-container input:checked + label:after{
    background-image: url(../../../images/down-arrow.png);
    -webkit-transform: rotate(180deg);
    -moz-transform: rotate(180deg);
    -ms-transform: rotate(180deg);
    -o-transform: rotate(180deg);
    transform: rotate(180deg);
    background-size: 100%;
}

.ac-container article{
    background: rgba(255, 255, 255, 0.5);
    margin-top: -1px;
    overflow: hidden;
    height: 0px;
    position: relative;
    float: left;
    z-index: 10;
    -webkit-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
    -moz-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
    -o-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
    -ms-transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
    transition: height 0.3s ease-in-out, box-shadow 0.6s linear;
}
.ac-container article p{
    font-style: italic;
    color: #000;
    line-height: 23px;
    font-size: 14px;
    padding: 10px;
    text-shadow: 1px 1px 1px rgba(255,255,255,0.8);
}
.ac-container input:checked ~ article{
    -webkit-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
    -moz-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
    -o-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
    -ms-transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
    transition: height 0.5s ease-in-out, box-shadow 0.1s linear;
    /*   box-shadow: 0px 0px 0px 1px rgba(155,155,155,0.3); */
}
.ac-container input:checked ~ article.ac-small{
    float: left;
    height: 480px;
    margin-top: 15px;
}
.ac-container input:checked ~ article.ac-medium{
    float: left;
    height: 75px;
}
.ac-container input:checked ~ article.ac-large{
    height: 133px;
}
.ac-container input:checked ~ article.ac-new{
    height: 155px;
}
.ac-small table {
    height: 450px;
    display: block;
    font-size: 13px;
    color: #000000;
    border: unset;
}
.ton {
    z-index: 1;
    /* background: greenyellow;*/
    display:none;
    background-image: url("/images/checkbox1.png");
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}
.toff {
    z-index: 2;
    /*background: orangered;*/
  /*  background-image: url("/images/checkbox0.png");*/
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}
.don {
    z-index: 1;
    /* background: greenyellow; */
    display:none;
    background-image: url("/images/checkbox1.png");
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}
.doff {
    z-index: 2;
    /*  background: orangered; */
  /*  background-image: url("/images/checkbox0.png"); */
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}
.pon {
    z-index: 1;
    /* background: greenyellow; */
    display:none;
    background-image: url("/images/checkbox1.png");
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}
.poff {
    z-index: 2;
    /*  background: orangered; */
   /* background-image: url("/images/checkbox0.png");*/
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}
#menu-map img{
    height: 25px;
}
#menu-map tbody button{
    width: 25px;
    height: 25px;
}
#menu-map table,
#menu-map table tbody,
#menu-map table tbody tr,
#menu-map table tbody td{
    display: block;
}
#menu-map table tbody tr td{
    display: inline-block;
}
#menu-map  .table > tbody > tr{
    border-bottom: 1px solid #ddd;
    padding: 2px 0;
}
#menu-map .ac-small{
    width: 100%;
}
#legend .table > tbody > tr > td:nth-child(3) {
    float: right;
}
#dating .table > tbody > tr > td:nth-child(1) {
    float: left;
}
#dating .table > tbody > tr{
    text-align: right;
}
#place .table > tbody > tr{
    text-align: right;
}
#place .table > tbody > tr > td:nth-child(1) {
    float: left;
}
#place .table > tbody > tr:first-child {
    border-top: 1px solid #ddd;
}
#place .table > tbody > tr > td {
    border: unset;
    vertical-align: middle;
}
.ac-container #legend input:checked ~ article.ac-small{
    height: 360px;
}
.ac-container #dating input:checked ~ article.ac-small{
    height: 300px;
}
.ac-container #place input:checked ~ article.ac-small{
    height: 380px;
}
.leaflet-marker-icon{
    cursor: pointer;
}
.navbar-inverse #w0-collapse.navbar-collapse {
    padding-left: 130px;
}
.navbar-inverse #w1-collapse.navbar-collapse {
    padding-left: 130px;
}
