/* ===========================================================================
 stylesheet for casa ceslerus
 ===========================================================================*/

* {
    padding: 0;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    height:100%;
}

body {
    font-size: 14px;
    background-color: #fff;
    height: 100%;
    position: relative;
}
ng-view {
    min-height: 100%;
    display: block;
}
/* ---- header  */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 1;
    background-color: #fff;
    border-bottom: 1px solid #e5e5e5;
}

.header--book {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 13px;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 20px;
    text-decoration: none;
}

.header--title {
    padding-top: 20px;
    padding-left: 40px;
    font-size: 38px;
    font-weight: 300;
}

.header--title span {
    color: #ff7900;
}

.has-header {
    padding-top: 56px;
}

.header--image {
    padding-top: 56px;
    position: relative;
    width: 100%;
    height: 80vh;
    background-image: url(../images/pool.jpg);
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
}

.header-price {
    position: absolute;
    right: 0;
    top: 20%;
    background-color: rgba(0, 0, 0, 0.75);
    color: #fff;
    font-size: 20px;
    padding: 20px 10px;
    text-align: right;
}

.header-price small {
    display: block;
    font-size: 12px;
    color: #c5c5c5;
}

.booking-cell {
    float: left;
    width: 25%;
}

.booking-cell2 {
    float: left;
    width: 25%;
}

.half-cell {
    float:left;
    width:50%;
}

.half-cell:first-child {
    padding-right:10px;
}

.booking-info {
    padding-bottom: 10px;
}

.booking-button {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 10px;
    font-size: 15px;
    border: 0;
    cursor: pointer;
}

.booking-button[disabled] {
    background-color: rgba(0, 0, 0, 0.4);
    color: #eee;
}

.booking-row {
    display: block;
    padding-bottom: 20px;
}

.booking-row:after {
    clear: both;
    display: table;
    content: " ";
}

.booking-row label {
    font-size: 13px;
    color: #878787;
    display: block;
}

.booking-row button.step {
    font-size: 14px;
    padding: 4px;
    background-color: #878787;
    color: #fff;
    border: 0;
    min-width: 30px;
    text-align: center;
    cursor: pointer;
}

.booking-row input, .booking-row select, .booking-row textarea {
    font-size: 14px;
    padding: 4px;
    border: 0px;
    border-bottom: 1px solid #ccc;
    width: 80%;
}

.booking-row input:focus,
.booking-row select:focus,
.booking-row textarea:focus {
    border-bottom: 1px solid #ff7900;
}

.booking-row input.step {
    max-width: 50px;
    text-align: center;
}

div.navbar {
    display: block;
    padding: 0;
    margin: 0;
}

div.navbar:after {
    display:table;
    clear:both;
    content: " ";
    padding-bottom:20px;
}

div.navbar .nav-item {
    display:inline-block;
    padding:4px 10px;
    border-bottom:1px solid #c5c5c5;
    color:#c5c5c5;
    cursor:pointer;
}

div.navbar .nav-item.active {
    border-bottom:1px solid #ff7900;
    font-weight:bold;
    color:#ff7900;
}

blockquote {
    padding-left: 10px;
    line-height: 1.6;
    font-size:12px;
    border-left: 2px solid #ff7900;
}

blockquote img {
    vertical-align: bottom;
}

:focus {
    outline: 0;
}

.content {
    border-bottom: 1px solid #c5c5c5;
    padding: 40px;
    line-height: 1.6;
}

.content ul {
    padding-left: 20px;
}

.content:after {
    display: table;
    content: " ";
    clear: both;
}

.content h1 {
    font-weight: normal;
    color: #ff7900;
    padding-bottom: 20px;
}

.image-thumb {
    width: 33%;
    position: relative;
    float: left;
    height: 250px;
    border: 2px solid #fff;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: center center;
    cursor: pointer;
}

.image-thumb:hover > .image-overlay {
    opacity: 0.4;
}

.image-overlay {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background-color: #000;
    opacity: 0;
}

.image-title {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    color: #fff;
    text-align: center;
    font-size: 18px;
    -webkit-transform: translateY(-50%);
    -moz-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    transform: translateY(-50%);
}

#footer {
    width:100%;
    background-color: #646464;
    color: #fff;
    font-size: 13px;
    padding: 60px;
    padding-bottom: 20px;
}

#footer a {
    color: #fff;
}

#footer .copy {
    padding-top: 10px;
    text-align: right;
    font-size: 11px;
}

#footer .copy a {
    text-decoration: none;
    font-weight: bold;
}

.btn-group {
    position: relative;
    display: inline-block;
    vertical-align: middle;
}

.btn {
    padding: 10px;
}

.ta-editor {
    border: 1px solid #878787;
}

.ta-editor:focus {
    -webkit-box-shadow: 0 0 0 0 #fff;
    -moz-box-shadow: 0 0 0 0 #fff;
    box-shadow: 0 0 0 0 #fff;
}

:focus {
    outline: 0;
}

.btn-default {
    background-color: rgba(0, 0, 0, 0.25);
    color: #000;
    border: 0;
    cursor: pointer;
}

.btn-default:hover {
    color: #333;
    background-color: #e6e6e6;
}

.snackbar {
    z-index:10000;
    -webkit-animation: all 0.6s ease-in;
    -o-animation: all 0.6s ease-in;
    animation: all 0.6s ease-in;
    position:fixed;
    top:50%;
    left:50%;
    width:auto;
    background-color: rgba(53, 105, 23, 0.8);
    color:#fff;
    padding:20px;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -moz-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    -o-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    display:none;
}

/* ----------------------------------------------- */

@media only screen
and (max-width: 740px) {
    .header {
        height: 50px;
    }

    .header--book {
        right: 10px;
        top: 10px;
        padding: 4px;
    }

    .header--title {
        padding-top: 10px;
        padding-left: 10px;
        font-size: 24px;
        font-weight: 300;
    }

    .header-price {
        font-size: 15px;
        padding: 10px;
    }

    .has-header {
        padding-top: 40px;
    }

    .image-thumb {
        width: 100% !important;
        height: 180px !important;
    }

    .booking-cell {
        width: 100%;
    }

    .booking-cell2 {
        width: 50%;
    }

    .half-cell {
        width:100%;
    }

    .booking-row input {
        font-size: 13px;
        padding: 4px;
        border: 1px solid #ccc;
        width: 100%;
    }

    .content {
        padding: 20px;
        line-height: 1.5;
    }

    #footer {
        padding: 20px !important;
        padding-bottom: 10px !important;
    }

    div.navbar .nav-item {
        display:inline-block;
        padding:4px 6px;
        font-size:13px;
        border-bottom:1px solid #c5c5c5;
        color:#c5c5c5;
        cursor:pointer;
    }
}
