/* Bokun Search Engine */

.bokunse {
    max-width:1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    border: 1px solid #333333;
    border-radius: 5px;
    box-shadow: 1px 1px 3px #666666;
}

.bokunse-section {
    flex: 1;
    align-items: center;
    display: flex;
    flex-direction: row;
}

.bokunse-btn {
    flex: 0.2;
    display: flex;
    flex-flow: row nowrap;
    margin: 0.7rem;
    padding: 0 1rem;
    margin-left: 2rem;
    border-radius: 5px;
    align-items: center;
    background: #F9D328;
    cursor: pointer;
}

.bokunse-category {
    font-size: 1.3rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0 0.7rem;
}


.bokunse-category-select {
    padding-bottom: 0.5rem;
    cursor: pointer;
}

#bokunse-category {
    border: none;
    display: block;
    width: 100%;
    margin: 0;
    background-color:#FFF;
}


/* when visible -> display: flex; */
.bokunse-category-list {
    border: 1px solid #333333;
    border-radius: 5px;
    box-shadow: 1px 1px 3px #666666;
    background:  #ffffff;
    display: none;
    /* flex-flow: row nowrap; */
    z-index: 9999;
    position: absolute;
    left: inherit;
    top: inherit;
    margin-top: 1.9rem;
    padding: 2rem 1.5rem;
    cursor: default;
}

/* when visible -> display: flex; */
.bokunse-date-inputs {
    /* border: 1px solid #333333;
    border-radius: 5px;
    box-shadow: 1px 1px 3px #666666;
    background:  #ffffff; */
    display: flex;
    flex-flow: row nowrap;
    /* z-index: 9999;
    position: absolute;
    left: inherit;
    top: inherit; */
    margin-top: 1.9rem;
    padding: 2rem 1.5rem;
    cursor: default;
}

/* .date-inputs {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-end;
} */

.start-date-input,
.end-date-input {
    display: flex;
    flex-direction: column;
    font-size: 1rem;
}

.start-date-input label,
.end-date-input label {
    margin-bottom: 0.7rem;
}

.start-date-input {
    margin-right: 1.3rem;
}

.validate-dates {
    color: green;
    margin: 0 1.3rem;
    cursor: pointer;
}

.arrow {
    top: -8px;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    border-bottom: 8px solid #333333;
    position: absolute;
    content: '';
    display: inline-block;
    left: 15px;
    z-index: 9999;
}

.arrow-inner {
    top: -7px;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    border-bottom: 8px solid white;
    position: absolute;
    content: '';
    display: inline-block;
    left: 15px;
    z-index: 10000;
}

.category-list {
    display: flex;
    flex-direction: column;
    min-width: 12rem;
}

.category-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin-bottom: 0.7rem;
}

.category-items {
    font-size: 1.3rem;
    margin-bottom: 0.3rem;
    cursor: pointer;
}

/* General */

.duration {
    border: none !important;
    padding: 0 !important;
    display: flex;
    flex-flow: row nowrap;
    margin-bottom: 2px;
}
.duration svg {margin-top: 2px;}

.difficulty {
    border: none !important;
    padding: 0 !important;
    display: flex;
    flex-flow: row nowrap;
}


/*
*
*   LAUGAU fixes
*
*/

html,
body {
    margin-top: initial;
}

/* General Styling */
.bokunse {background-color: #FFF !important; max-width: 1030px; border: none; border-radius: 7px;}
.bokunse-category {padding: 20px 10px;}
.bokunse-label {font-size: 20px; font-family: 'Helvetica Neue', helvetica, sans-serif; color:#283341; padding: 0;
    line-height: 22px;}
.v-separator{border: 1px solid #DBDBDB;}
.bokunse-icon {margin-left: 23px; margin-right: 10px; display: flex;}

/* Seach Button */
.bokunse-btn {margin:0; padding: 24px !important; border-radius: 0 7px 7px 0;color: #FFF; font-weight: bold; font-size: 20px;}
.bokunse-btn svg {margin-right:12px;}
.bokunse-btn:hover{background-color: #283341;}

/* Inputs Styling */
.bokunse-date-inputs {margin:0; padding: 0;}
.bokunse-date-inputs,
.bokunse-category-select{height: auto; padding:0;}
.bokunse-category-select select {height: 24px; font-size: 16px; color:#808080; position: relative; left:-7px; padding: 0;}
.bokunse-date-inputs .start-date-input,
.bokunse-date-inputs .end-date-input{display: flex; flex-direction: row;     align-items: center;}
.bokunse-date-inputs input[type="text"] {margin-bottom: 0 !important; height:24px; padding: 0; font-size: 16px; color:#F99428; border:0; width: 120px;}
.bokunse label {display: inline; margin-bottom: 0; margin-right: 4px; font-size: 16px; font-weight: 400; color:#808080 !important;}
.bokunse-date-inputs input[type="text"]::-webkit-input-placeholder {color:#F99428;}/* Edge */
.bokunse-date-inputs input[type="text"]:-ms-input-placeholder {color:#F99428;}/* Internet Explorer 10-11 */
.bokunse-date-inputs input[type="text"]::placeholder {color:#F99428;}
.bokunse-date-inputs input[type="text"]:focus {border-color: #F99428;}

/* DatePicker Modernize */
.qs-datepicker-container {border: 1px solid #DBDBDB;}
.qs-datepicker .qs-controls {background-color:#FFF;}
.qs-datepicker .qs-square:not(.qs-empty):not(.qs-disabled):not(.qs-day):not(.qs-active):hover{background-color:orange;}

/**/
svg.icon-search, svg.icon-loading{fill: #FFFFFF;}
.icon-loading {-webkit-animation: rotate 3s linear infinite; animation: rotate 2s linear infinite;} 
.waiting-bloc,
.bokun-no-results {align-items: center; font-size: 20px; padding: 60px; display: flex; flex-direction: column;margin:auto; max-width:500px; text-align: center;}

.icon-loading-big {fill: #F99428; margin-bottom: 40px;-webkit-animation: rotate2 2s linear infinite; animation: rotate2 2s linear infinite;}
@keyframes rotate {
    from {transform: rotate(0);}
    to {transform: rotate(180deg);}
}
@keyframes rotate2 {
    from {
        transform: scale(2) rotate(0);
    }
    to {
        transform: scale(2) rotate(180deg);
    }
}
  


/* Responsive */
@media screen and (max-width: 950px){
    .bokunse {flex-direction: column; max-width: 620px;}
    .bokunse-btn {border-radius: 0 0 7px 7px;}
}

/* Ajout PM 16/03/2021 */
@media screen and (max-width: 760px){
    .bokunse-date-inputs {
        flex-direction: column;
        /* margin-top: 1.9rem;
        padding: 2rem 1.5rem;
        cursor: default; */
    }
}


/*
*
* TILES / LISTING
*
*/

.bokun-listing{
    display: flex;
    flex-wrap: wrap;
    max-width: 100vw;
    padding-top: 32px;
    padding-right: 16px;
    padding-left: 16px;
}

.bokun-tile{
    display: flex;
    flex: 0 0 33%;
    flex-direction: column;
    box-sizing: border-box;
    max-width: 33%;
    max-height: 500px;
    padding-right: 16px;
    padding-left: 16px;
    margin-bottom: 32px;    
}

.bokun-tile a {
    position: relative;
    display: flex;
    overflow: hidden;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: rgb(255, 255, 255) none repeat scroll 0% 0%;
    border: 1px solid rgb(204, 204, 204);
    border-radius: 5px;
    transition: all 0.4s ease 0s;
    overflow-wrap: break-word;
}
.bokun-tile a:hover{
    box-shadow: rgba(0, 0, 0, 0.2) 0px 4px 8px 0px;
    cursor: pointer;
}


.bokun-tile .header {
    position: relative;
    overflow: hidden;
    height: 0px;
    padding-bottom: 70%;
    transition: all 0.4s ease 0s;
}

.bokun-tile .header img {
    position: absolute;
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.subheader {
    display: flex;
    flex-flow: row;
    justify-content: space-between;
}

.subheader .accomodation-type,
.subheader .accomodation-location {
    max-width: 50%;
}

.bokun-infos {
    display: flex;
    overflow: auto;
    flex-direction: column;
    height: 100%;
    padding: 16px;
}

.bokun-infos .title {
    /*display: -webkit-box; */
    overflow: hidden;
    max-height: 45px;
    margin-top: 0px;
    margin-bottom: 8px;
    color: #283341;
    transition: all 0.4s ease 0s;
    -moz-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.bokun-infos .title h4{
    overflow-wrap: break-word;
    text-align: center;
    font-family: Oswald, sans-serif;
    line-height: 22px;
    letter-spacing: 0.3px;
    font-size: 18px;
    font-weight: 900;
}

.bokun-infos .details {
    flex: 1 1 0px;
    font-weight: 300;
    line-height: 1.5;
    color: rgb(119, 119, 119);
    overflow-wrap: break-word;
    font-family: 'Helvetica Neue', helvetica, sans-serif;
    font-weight: 400 !important;
}

.details-elloha {
    height: 72px;
    overflow: hidden;
}

.bokun-infos .duration,
.bokun-infos .difficulty {
    color: #283341;
}  

.bokun-infos .pricing{
    display: flex;
    -moz-box-pack: end;
    justify-content: flex-end;
    margin-top: 8px;
    overflow-wrap: break-word;
    font-family: 'Helvetica Neue', helvetica, sans-serif;
    font-weight: 400 !important;
    color: #283341;
}
.bokun-infos .price{
    color: #F99428;
    font-weight: 900;
    margin-left:5px;
}

svg.icon-clock, svg.icon-difficulty  {
    margin-right: 5px;
}

.bokun-infos .excerptÂ {
    color: #808080;
    margin-top: 7px;
    margin-bottom: 12px;
}

.bokun-infos .excerpt {
    margin-bottom: 12px;
}


/* 
*
* BOKUNG LISTING : RESPONSIVE
*
*/
@media screen and (max-width: 1200px){
    .bokun-tile {
        flex: 0 0 33.33%;
        max-width: 33.33%;
        max-height: 600px;
    }
}
@media screen and (max-width: 950px){
    .bokun-tile {
        flex: 0 0 50%;
        max-width: 50%;
        max-height: 568px;
    }
}
@media screen and (max-width: 760px){
    .bokun-tile {
        flex: 0 0 100%;
        max-width: 100%;
        max-height: 700px;
    }
}


/*
*
* POPUP system
*
*/

.bokunse_ontopcontainer {
    position: fixed;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    width: 100%;
    z-index: 10000000;
    inset: 0px;
    display: flex;
    -moz-box-align: center;
    -webkit-box-align: center;
    align-items: center;
    -moz-box-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.7);
}

.bokunse_productwidget_content {
    position: relative;
    overflow-x: hidden;
    width: 100%;
    max-width: 80%;
    max-height: 100%;
    line-height: 0;
    background: white none repeat scroll 0% 0%;
}

.bokunse_close_product {
    position: absolute;
    top: 10px;
    right:10px;
    float: right;
    color: white;
    z-index: 1000;
}
.icon-close {
    width: 50px;
    height: 50px;
}

/* Extra Pointers */
#bokunse-category:hover,
input[name=start-date]:hover,
input[name=end-date]:hover {cursor: pointer;}

@media screen and (max-width: 760px){
    .bokunse_productwidget_content {
        max-width: 100%;
    }
}