@import url('/assets/css/variables.css');

@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto/Roboto-Regular.ttf');
}
@font-face {
    font-family: 'RobotoLight';
    src: url('../fonts/Roboto/Roboto-Light.ttf');
}
@font-face {
    font-family: 'RobotoBlack';
    src: url('../fonts/Roboto/Roboto-Black.ttf');
}
@font-face {
    font-family: 'GrandHotel';
    src: url('../fonts/GrandHotel-Regular.ttf');
}


/************ Desktop **********/

.withmargin {
    margin-top: 1vh;
    margin-bottom: 1vh;
}
h1 {
    font-size: 35px;
    font-family: 'GrandHotel';
    color: var(--green);
    text-align: center;
    margin: 20px 0;
}
.bold {
    font-weight: bold;
}
.bold2 {
    font-family: 'RobotoBlack';
    font-size: 25px;
    font-weight: bold;
    color: white;
}
.small-txt{
    font-size: 10px;
    vertical-align: middle !important;
}
.big-txt{
    font-size: 24px;
}
.green{
    color: var(--green);
}
.link-primary, .link-primary:hover{
    color: var(--green);
}
.invert{
    filter: invert(100%);
    -webkit-filter: invert(100%);
}
/*buttons*/

.transp-button{
    color: var(--green);
    border: 1px solid var(--green);
    text-transform: uppercase;
    background-color: white;
    font-weight: bold;
    height: 4vh;
    position: absolute;
    bottom: 0;
    left: 0;
}
.transp-button:hover{
    background-color: var(--green);
    color: white;
    transition-duration: .2s;
    transition-timing-function: ease-in;
}

.btn-primary {
        font-family: 'Roboto';
        border: none;
        background-color: var(--green) !important;
        text-transform: uppercase;
        font-weight: bold;
        font-size: 14px;
        padding: 0;
        margin-bottom: 2vh;
        border: 1px solid white;
        outline: none;
        padding: 15px 40px;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
        background-color: var(--green) !important;
        border-color: var(--green) !important;
}

.btn-red{
    width: 116px;
}

/*forms*/

.field {
    background: rgba(255, 0, 0, 0);
    border: none;
    border-bottom: solid 0.5px var(--green);
    padding-top: 10px;
    padding-bottom: 10px;
    width: 100%;
    margin-top: 2vh;
    margin-bottom: 1vh;
}

input:focus, input:active{
    outline: none;
}

input::placeholder{
    text-align: center;
    color: var(--green);
}


/** header **/

#overlay {
    position: fixed;
    display: none;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 2;
    cursor: pointer;
}

#stay {
    background: url('../images/stay.jpg') center;
    width: 100vw;
    min-height: 140px;
    height: 22vh;
}
@media screen and (max-height: 900px){
    #stay {
        height: 23vh;
    }
}

#infos {
    background-color: var(--green);
    color: white;
    height: 8.2rem;
    font-size: 12px;
    width: 100vw;
    margin-left: 0;
    margin-right: 0;
}

#logo {
    padding: 1rem 0;
    vertical-align: middle !important;
}

#contact {
    height: 100%;
    display: flex;
    justify-items: center;
    align-items: center;
    padding-left: 6%;
}

#contact div {
    vertical-align: middle !important;
}

#contact div:first-child {
    padding-left: 7%;
    padding-right: 0;
    width: 20vw;
    height: 2vh;
}
#phone {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}
#lockimg {
    margin-right: 10px;
}
#signout {
    text-align: left;
    padding-left: 20px;
    color: rgb(173, 174, 175);
}
#signout a {
    color: rgb(173, 174, 175);
}

#arrow {
    margin-right: 5px;
}

/** sub-header **/

#desktopheader #profil_pic{
    width: 10%;
    border: 2px solid grey;
    background: white;
}

#desktopheader #profiledit {
    text-align: center;
    text-decoration: underline;
    color: black;
}

#desktopheader #subheader{
    position: relative;
    top: -60px;
    height: 145px;
}

#desktopheader #profil_pic{
    width: 10%;
    border: 2px solid grey;
    background: white;
}

#desktopheader #profiledit {
    text-align: center;
    text-decoration: underline;
    color: black;
}

#desktopheader #subheader{
    position: relative;
    top: -60px;
    height: 160px;
}

/** content **/

#desktopdiv {
    max-height:1000px;
    margin-top: 20px;
    margin-bottom: 30px;
}

/*Sidebar*/

#sectionaside {
    height: 45vh;
}
#sectionaside a:hover,a:focus{
    text-decoration: none;
}
#sectionaside ul {
    height: 45vh;
    min-height: 400px;
    margin-right: 4%;
    display: table;
    width: 100%;
}
#sectionaside ul li{
    position: relative;
    vertical-align: middle !important;
    height: 11.25vh;
    min-height: 100px;
    max-width: 25vw;
    width: 95%;
}
#sectionaside ul li div {
    padding: 3vh 0 3vh 15%;
}
#sectionaside  .lititle {
    font-size: 16px;
    text-transform: uppercase;
    color: white;
}
#sectionaside ul li.current_tab:after{
    content: '';
    position: absolute;
    top: 29%;
    left: 98%;
    width: 0;
    height: 0;
    border: 21px solid transparent;
    z-index: -1;
    border-left: 19px solid var(--green);
}
#sectionaside #earnings {
    background-color: var(--green);
}
#sectionaside #earnings:after{
    border-left: 19px solid var(--green);
}
#sectionaside #ongoingstays {
    background-color: var(--beige-dark);
    color: var(--green);
}
#sectionaside #ongoingstays:after{
    border-left: 19px solid var(--beige-dark);
}

#sectionaside #bookings {
    background-color: var(--green-light);
}
#sectionaside #bookings:after{
    border-left: 19px solid var(--green-light);
}
#sectionaside #property {
    background-color: var(--dark);
}
#sectionaside #property:after{
    border-left: 19px solid var(--dark);
}

/*Main section */

#mainsection, #bills-desktop {
    border: 1px solid black;
    height: 45vh;
    min-height: 400px;
    color: black;
    margin-right: 0;
    margin-left: 0;
    padding: 15px;
    overflow-y: auto;
}

#mainsection h1 {
    color: var(--green);
    margin-top: 0;
    margin-bottom: 20px;
}
#mainsection > .table > tbody > tr > td {
    color: black;
}
#mainsection a, #bills-desktop a, #gains-section a {
    color: black;
    font-size: 0.8em;
    cursor: pointer;
}

/*Contact Form */

#contactaside {
    position: relative;
    height: 45vh;
    min-height: 400px;
    padding: 0;
    margin-left: 2%;
}

#contactaside input{
    margin: 5px 0;
}
#contactaside h1 {
    height: 4vh;
    min-height: 31px;
    margin-top: 0;
    color: var(--green);
}
#contactaside .contact {
    min-height: 400px;
    padding: 0;
}
#contactaside .contact h1 {
    height: 4vh;
    min-height: 31px;
}

#contactaside select {
    border: 0;
    border-bottom:1px solid black;
    margin-bottom:5px;
}

#contactaside select option:first-of-type{
    color:red;
}

#contactaside option {
    border: 0;
    border-bottom:1px solid black;
}

#contactaside input[name=object] {
    border: none;
    border-bottom: 1px solid black;
    outline: none;
    margin-right: 4%;
    width: 100% !important;
    padding-left: 5px;
}
#contactaside input[name=object]::placeholder{
    text-align: left;
}
#contactaside #contactform input::placeholder, #contactform textarea::placeholder {
    font-style: italic;
    color: black;
}
#contactaside #contactform button {
    width: 100%;
}
#contactaside textarea[name=message] {
    height: 26vh;
    border: 1px solid black;
    width: 100%;
    margin-bottom: 1.5vh;
    margin-top: 1vh;
    padding: 5px;
}

 /*the container must be positioned relative:*/
.custom-select {
  position: relative;
  font-family: Arial;

  bottom: 5px;
}
.custom-select select {
  display: none; /*hide original SELECT element:*/
}

.select-selected {
  background-color: white;

}
/*style the arrow inside the select element:*/
.select-selected:after {
  position: absolute;
  content: "";
  top: 14px;
  right: 10px;
  width: 0;
  height: 0;
  border: 6px solid transparent;
  border-color: #000 transparent transparent transparent;
}
/*point the arrow upwards when the select box is open (active):*/
.select-selected.select-arrow-active:after {
  border-color: transparent transparent #000 transparent;
  top: 7px;
}
/*style the items (options), including the selected item:*/
.select-selected {
  padding: 4px;
  border: 0;
  border-bottom:1px solid black;
  background-color: #fff;
  cursor: pointer;
}

.select-items {
    background-color: #fff;
}
.select-items div {
    padding: 5px 10px;
    border-bottom:1px solid gainsboro;
    cursor: pointer;
}

.select-error{
    border: 1px solid #ec3026;
    color: #ec3026 !important;
}

.placeholder
{
  color:black;
  font-style: italic;
}

/*style items (options):*/
.select-items {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  border-left: 1px solid black;
  border-right: 1px solid black;
}
/*hide the items when the select box is closed:*/
.select-hide {
  display: none;
}

.select-items div
{    font-style: normal;
    color:#000;
}
.select-items div:hover, .same-as-selected {
  background-color: #f3f3f3;
}

#response {
    color: #fff;
    background: #8BC34A;
    text-align: center;
    padding: 10px 0;

}
#errormobile{
    color: #fff;
    background: #F44336;
    text-align: center;
    padding: 10px 0;
}



/************ MOBILE **********/

#mobilediv {
    min-height: 50vh;
}

#mobilediv section {
    margin: 0 4% 0 4%;
    width: 92%;
    padding: 2vh 4% 2vh 4%;
}

#mobileheader #profil_pic{
    width: 10%;
    border: 2px solid grey;
    background: white;
}

#mobileheader #profiledit {
    text-align: center;
    text-decoration: underline;
    color: black;
}

#mobileheader{
    background: url(../images/chairs.jpg) no-repeat;
    background-size: cover;
    height: 10em;
    margin-bottom: 8em;
}

@media screen and (max-width: 340px){
    #mobileheader{
        margin-bottom: 4em !important;
    }
    #mobilesection{
        margin-top: 3em !important;
    }
}

#mobileheader #subheader{
    position: relative;
    top: 6.5em;
}
#mobileheader #subheader h1{
    margin: 5px 0;
}
#mobileheader #profil_pic{
    width: 14vh;
    border: 2px solid grey;
    background: white;
}

#raw-table #profiledit, #raw-table .black-link {
    text-align: center;
    text-decoration: underline;
    color: black;
}

/*Navbar footer design*/

#mobilefooter .navbar {
    background-color: white;
    border-top-color: white;
    height: 60px;
}

#mobilefooter .navbar div, .navbar ul, .navbar ul li, .navbar ul li a {
    height: 100%;
}

#mobilefooter .navbar .nav {
    margin: 0;
    display: table;
    width: 100%;
}

#mobilefooter .navbar .navbar-inner {
    padding: 0;
    padding-left: 2%;
    padding-right: 2%;
}

#mobilefooter .navbar .nav li {
    display: table-cell;
    width: 25%;
    float: none;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

#mobilefooter .navbar .nav li a {
    text-align: center;
}
#mobilefooter .navbar .nav li:before {
    content: "";
    position: absolute;
    top: 50%; left: 50%;
    z-index: -1;
    display: block;
    width: 100px;
    height: 100px;
    margin: -50px 0 0 -50px;
    border-radius: 50%;
    transform: scale(0);
    -moz-transform: scale(0);
    -webkit-transform: scale(0);
    background-color: rgba(0, 0, 0, .2);
}
#mobilefooter .navbar .nav li:active:before {
    transform: scale(3);
    -moz-transform: scale(3);
    -webkit-transform: scale(3);
    background-color: rgba(0, 0, 0, 0);
    transition: transform .5s ease-out, background-color .2s ease-out;
    -moz-transition: transform .5s ease-out, background-color .2s ease-out;
    -webkit-transition: transform .5s ease-out, background-color .2s ease-out;
}
#mobilefooter .navbar .nav li a img{
    height: 31px;
}

#mobilefooter .navbar .nav li:first-child a {
    border-left: 0;
    border-radius: 3px 0 0 3px;
    margin-bottom: 0;
}

#mobilefooter .navbar .nav li a.active{
    border-bottom-style: solid;
    border-bottom-width: 4px;
    border-bottom-color: var(--green);
}

#mobilefooter .navbar .nav li:last-child a {
    border-right: 0;
    border-radius: 0 3px 3px 0;
}

.nav.navbar-nav a {
    padding-top: 10px;
    padding-bottom: 10px;
    min-height: 59px;
}

#mobilediv .back-button {
    position: relative;
    overflow: hidden;
}
#mobilediv .back-button:before {
    content: "";
    position: absolute;
    top: 50%; left: 30%;
    display: block;
    width: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
    border-radius: 50%;
    background-color: rgba(200, 200, 200, .3);
    transform: scale(0);
    -moz-transform: scale(0);
    -webkit-transform: scale(0);
}
#mobilediv .back-button:active:before {
    transform: scale(3);
    -moz-transform: scale(3);
    -webkit-transform: scale(3);
    background-color: rgba(255, 255, 255, 0);
    transition: transform .2s ease-out, background-color .2s ease-out;
    -moz-transition: transform .2s ease-out, background-color .2s ease-out;
    -webkit-transition: transform 2s ease-out, background-color .2s ease-out;
}

#modal-mobile #comment{
    border-radius: 28px;
    text-align: center;
    padding: 5px 0px 0px 0px;
}
