/* agency specific CSS rieber */

body {
    color: #1959a1;
    margin: 1em;
    padding: 0pt;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}

.container {
    background-color: #ffffff;
    position: relative;
}

.hdrImg img {
    width: 100%;
}

.alignLeft {
    text-align: left;
}

.float-right {
    display: inline-block;
    float: right;
    margin-left: 2%;
}

.float-left {
    display: inline-block;
    float: left;
    margin-right: 2%;
}

.roundborder {
    border: 1px solid #1959a1;
    border-radius: 10px;
}

.largeDevice {
    display: none;
}

.mf-body {
    padding-left: 25%;
}

.avalex-container {
    text-align: left;
}

/* navigation top */
.navbar,
.navbar-default {
    background: none;
    border: none;
    box-shadow: none;
}

a.nav-link
{
    background-color: #1959a1;
}

#main-navbar .dropdown-menu  a {
    color: black;
    background-color: white;
}
#main-navbar .dropdown-menu  a:hover {
    color: black;
    background-color: #FF9900;
}

.nav-item:hover,
.dropdown-menu {
    background-color: white;
}

#main-navbar {
    background-color: #1959a1;
}

#main-navbar a:hover {
    color: #FEF09D;
    background-color: #FF9900;
    background-image: none;
}

#main-navbar a {
    font-size: 14px;
    font-weight: normal;
    color: #FEF09D;
    text-decoration: none;
    background-image: none;
    background-color: #1959a1;
}

/* tip items */

.tip {
    position: relative;
}

.tip h2 {
    color: #1959a1;
    font-size: 14px;
    font-weight: bold;
    padding: 2.5%;
    margin: 0;
    text-align: left;
}

.tip .tipimg {
    width: 100%;
}

.tip .tipbody p {
    height: 8em;
    overflow-y: auto;
}

.tip .tipfooter {
    text-align: left;
    position: relative;
    padding: 2.5%;
    padding-bottom: 5%;
    font-weight: bold;
}

.tip .tipmore {
    position: absolute;
    right:2.5%
}

/* category page with tip */
.catHeader .image-embed-item {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.catHeader {
    position: relative;
    text-align: left;
    margin-bottom: 2%;
}

.catSearch {
    position: absolute;
    width:50px;
    height: 50px;
    background-color: white;
    top:10%;
    left:10%;
}

.catText {
    width: 75%;
    height: 40%;
    position: absolute;
    right: 0;
    bottom: 0;
    background-color: white;
    opacity: 0.8;
    padding: 2%;
    overflow-y: auto;
}

/* search result */
.srItem {
    margin:0 ;
    margin-bottom: 2%;
    text-align: left;
}

.srImage img {
    width: 100%;
    height: auto;
}

.pricetable {
    display: none;
    position: absolute;
    top: 1em;
    right: 1%;
    font-weight: normal;
    font-size: 12px;
    background-color: #fff;
    border: 1px solid #1959a1;
    border-radius: 10px;
    padding: 1%;
    opacity: 100%;
    z-index: 10;
}

.tableLeft {
    text-align: left;
}


.sr-head {
    border-bottom: 1px solid #1959a1;
    margin-bottom: 0.5%;
}

.sr-h2,
.sr-pricerange,
.sr-staffel {
    font-size: 15px;
    margin: 1%;
    font-weight: bold;
    text-align: left;
}

.sr-pricerange,
.sr-staffel {
    position: relative;
    text-align: right;
}

.sr-staffel:hover .pricetable {
    display: block;
}

#st_loading {
    position: fixed;
    top: 45%;
    left: 45%;
    z-index: 1200;
    background-color: #1959a1;
    padding: 20px;
    display: none;
}

/* ---- */
.lds-spinner {
    color: official;
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}

.lds-spinner div {
    transform-origin: 40px 40px;
    animation: lds-spinner 1.2s linear infinite;
}

.lds-spinner div:after {
    content: " ";
    display: block;
    position: absolute;
    top: 3px;
    left: 37px;
    width: 6px;
    height: 18px;
    border-radius: 20%;
    background: #fff;
}
.lds-spinner div:nth-child(1) {
    transform: rotate(0deg);
    animation-delay: -1.1s;
}
.lds-spinner div:nth-child(2) {
    transform: rotate(30deg);
    animation-delay: -1s;
}
.lds-spinner div:nth-child(3) {
    transform: rotate(60deg);
    animation-delay: -0.9s;
}
.lds-spinner div:nth-child(4) {
    transform: rotate(90deg);
    animation-delay: -0.8s;
}
.lds-spinner div:nth-child(5) {
    transform: rotate(120deg);
    animation-delay: -0.7s;
}
.lds-spinner div:nth-child(6) {
    transform: rotate(150deg);
    animation-delay: -0.6s;
}
.lds-spinner div:nth-child(7) {
    transform: rotate(180deg);
    animation-delay: -0.5s;
}
.lds-spinner div:nth-child(8) {
    transform: rotate(210deg);
    animation-delay: -0.4s;
}
.lds-spinner div:nth-child(9) {
    transform: rotate(240deg);
    animation-delay: -0.3s;
}
.lds-spinner div:nth-child(10) {
    transform: rotate(270deg);
    animation-delay: -0.2s;
}
.lds-spinner div:nth-child(11) {
    transform: rotate(300deg);
    animation-delay: -0.1s;
}
.lds-spinner div:nth-child(12) {
    transform: rotate(330deg);
    animation-delay: 0s;
}

@keyframes lds-spinner {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}


/* popup window and forms */
#overlay .container {
    width:auto;
}

.noPadding {
    padding-left: 0;
    padding-right: 0;
}

.modal-dialog {
    text-align: left;
    width: 90%;
    max-width: 900px;
}

.modal-header .close {
    font-size: 36px;
    font-weight: bold;
    color: #1959a1;
    border: 1px solid #1959a1;
    padding: 5px;
    background: white;
    opacity: 1;
    position: absolute;
    right: 25px;
    border-radius: 30px;
    width: 50px;
    top: -6px;
}

.modal-header-stripe {
    background-color: #1959a1;
    position: relative;
    height: 29px;
    margin-top:5px;
    margin-bottom: 5px;
}

.modal-header-stripe img {
    display: inline-block;
    background-color: white;
    position: absolute;
    top: -16px;
    left:20px;
    border: 1px solid #1959a1;
    border-radius: 30px;
    padding: 5px;
}

.modal-header-stripe h4 {
    font-size: 16px;
    font-weight: bold;
    display: inline-block;
    color: white;
    margin-left: 120px;
}

label {

}

label.required {
    font-weight: bold;
    color: #FF3300;
}

#AjInquiry, #inqObjects .container {
    width: auto;
}

label {
    display: inline-block;
    width: 25%;
    text-align: right;
    font-weight: normal;
}

#srchContainer label {
    width: auto;
}

#srchContainer .form-check {
    display: inline-block;
    width: 49%;
}

.popupContainer {
    width: 100%;
}

.maplayer {
    position: absolute;
    width:100%;
    height:100%;
    top: 0;
    left: 0;
}

#map_l1 img {
    width: 100%;
}

#map_l1 {
    z-index: 10;
}

#map_l2 {
    z-index: 20;
}

#map_l3 {
    z-index: 30;
}

#map_l4 {
    z-index: 40;
}

.mpc, #mpcircle {
    position: absolute;
    display: block;
    width: 20px;
    height: 20px;
}

label.required{
    font-weight: bold;
}

.formError {
    padding-left: 26%;
    font-weight: bold;
    color: #FF3300;
}

.form-group {
    text-align: left;
}

#mapform input[type="radio"],
#mapform input[type="checkbox"],
.inputform input[type="radio"],
.inputform input[type="checkbox"] {
    width: 50px;
    height: 50px;
    position: absolute;
    opacity:0;
    margin:0;
}

#mapform input[type="radio"] + label,
#mapform input[type="checkbox"] +label,
.inputform input[type="radio"] + label{
    background: rgba(0,0,0,0) url("https://www.mallorca-holiday-letting.com/typo3conf/ext/agrieber/Resources/Public/Icons/option_no.png") no-repeat scroll left center;
    margin: 0;
    width: 54px;
    height: 54px;
    padding: 18px 0 2px 60px;
}

#mapform input[type="radio"]:checked +label,
#mapform input[type="checkbox"]:checked +label,
.inputform input[type="radio"]:checked +label {
    background: rgba(0, 0, 0, 0) url("https://www.mallorca-holiday-letting.com/typo3conf/ext/agrieber/Resources/Public/Icons/option_yes.png") no-repeat scroll left center;
}

.optlabel {
    width: auto;
    display: inline-block;
}

.form-control {
    display: inline;
    width: 60%;
}

.form_bg {
    background-color: #a6d5fa;
    padding-top: 2%;
}

.date-entry {
    width: 7em;
    margin-right: 1em;
}

.short-text-entry,
.short-numeric-entry {
    width: 12em;
}

.form-check-inline {
    display: inline-block;
    width: 20%;
    white-space: nowrap;
    height: 54px;
    vertical-align: middle;
    padding-left: 15px;
}

.form-check-inline input{
    display: inline-block;
}

.form-check-inline label {
    width: auto;
}

.frmSubmitBtn {
    text-align: center;
    padding: 15px;
}

#bookCalendar .container,
#inqCalendar .container,
#divCalendar .container{
    width: 100%;
}

#pcalc {
    display: inline-block;
    width: 50%;
}

.calc_label {
    white-space: nowrap;
    width:6em;
    display: inline-block;
}

.calc_text {
    width: 45%;
    display: inline-block;
    vertical-align: top;
}

.price-dialog {
    max-width: 500px;
}

.priceTable {
    width: 100%;
    margin-top: 15px;
}

.ptTableField {
    padding-right: 5px;
}

.ptRight {
    text-align: right;
    padding-right: 5px;
}

.ptBold {
    font-weight: bold;
}

.concept {
    display: inline-block;
    min-width: 25%;
}

.cPrice {
    display: inline-block;
    min-width: 25%;
    text-align: right;
}

.det_objektinfo {
    padding-left: 0;
}

.det_objektinfo li {
    list-style-type: none;
}

.ltitleDist {
    display: inline-block;
    width:50%;
}

.lvalueDist {
    display: inline-block;
    width:20%;
    text-align: right;
}

#detCalendar .container {
    width:auto;
}

#inqCalendar, #detCalendar, #bookCalendar, #divCalendar {
    background-color: rgba(0, 0, 0, 0);
    display: none;
    position: absolute;
    background-color: white;
    padding: 2%;
    padding-top: 2%;
    border-radius: 10px;
    border: 1px solid #776855;
    padding-top: 1%;
    z-index: 1200;
}

.mapcontent {
    position: relative;
}

#det_mapdot {
    position:absolute;
}
/* detail page */

/* object gallery */
.gallery {
    position: relative;
}

.gallery-row {
    position: relative;
    padding-left: 0;
    padding-right: 0;
}

.galImg img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
}

#gal_th_wrapper {
    width: 100%;
    height: 130px;
    background-color: #1959a1;
    position: relative;
    margin-top: 10px;
    display: none;
}

#gal_thumbs {
    width: 89%;
    position: relative;
    display: inline-block;
    overflow: hidden;
    height: 110px;
    margin-top: 10px;
    background-color: white;
}

#gal_th_left, #gal_th_right {
    width: 5%;
    display: inline-block;
    height: 110px;
    vertical-align: top;
    position: relative;
    padding: 10px;
}

#gal_th_right img, #gal_th_left img {
    vertical-align: top;
    position: absolute;
    top: 30%;
    left: 10px;
}

#gal_th_right img {
    right: 10px;
}

.gal_thn_stripe {
    height: 110px;
    width: auto;
    position: absolute;
    left: 0;
}

.gal_prev_img, .gal_next_img {
    position: absolute;
    top: 45%;
    left: 3%;
    background-color: #1959a1;
    z-index: 5;
    display: inline-block;
    padding: 2%;
    border-radius: 10px;
    cursor: pointer;
    opacity: 0.7;
}

.gal_next_img {
    right: 3%;
    left:auto;
}

.gal_add_info {
    position: absolute;
    top: 15px;
    right: 30px;
    background-color: white;
    padding: 2%;
    border-radius: 10px;
    opacity: 0.9;
}

.imgbar {
    width: 150px;
    height: 100px;
    display: inline-block;
    margin: 5px;
}

.imgbar.active {
    border: 5px solid #1959a1;
}

.det_roomdist {
    list-style-type: none;
    padding-left: 0;
}

.det_amenities {
    column-count: 2;
    list-style-type: none;
    padding-left: 0;
}

.det_roomdist .name,
.det_amenities .name{
    border: 1px solid #1959a1;
    width: 60%;
    display: inline-block;
    padding: 2px;
    margin-top: 5px;
}

.det_roomdist .value,
.det_amenities .value {
    border: 1px solid #1959a1;
    width: 30%;
    display: inline-block;
    padding: 2px;
    margin-top: 5px;
    margin-left: 5px;
    height: 23px;
}

.det_amenities .value {
    margin-left: 0;
    margin-right: 5px;
    width: 30px;
}

.det_roomdist .value img,
.det_amenities .value img{
    height:100%;
}

.calEmpty,
.calPast {
    cursor: default;
    background-color: #fff;
}

.calToday,
.calDay {
    cursor: pointer;
    background-color: #f0f0f0;
}

.calDaySelected {
    background-color: #f0b0b0;
}

.table > tbody > tr > td.calToday {
    border: 5px solid green;
}

.table > tbody > tr > td,
.calendarDiv .btn {
    font-size: 2.0em;
}

.date-body {
    margin-top:5%;
}


.date-body table td {
    width: 2em;
    font-weight: 700;
    text-align: center;
    padding: 0.5em;
}

@media (min-width: 992px) {
    .largeDevice {
        display: block;
    }


    label {
        display: inline-block;
        width: 25%;
        text-align: right;
        font-weight: normal;
    }

    .gallery-row {
        height: 760px;
    }
    #gal_th_wrapper {
        display: block;
    }

}