﻿/*@import url("style-responsive.css");*/
@import url("style-sale.css");
@import url("style-staff.css");
@import url("style-realestate.css");

/***************************************************************************/
.float-left {
    float: left !important;
}

.float-right {
    float: right !important;
}

.float-none {
    float: none !important;
}

.no-padding-xs-up-left {
    padding-left: 0 !important;
}

.table > tbody > tr > td, .table > tbody > tr > th, .table > tfoot > tr > td, .table > tfoot > tr > th, .table > thead > tr > td, .table > thead > tr > th {
    border-right: 1px solid #ddd;
}

.top-0 {
    margin-top: 0px;
}

.top-5 {
    margin-top: 5px;
}

.top-10 {
    margin-top: 10px;
}

.top-15 {
    margin-top: 15px;
}

.top-20 {
    margin-top: 20px;
}

.top-30 {
    margin-top: 30px;
}

.top-40 {
    margin-top: 40px;
}

.bottom-5 {
    margin-bottom: 5px;
}

.bottom-10 {
    margin-bottom: 10px;
}

.bottom-15 {
    margin-bottom: 15px;
}

.bottom-20 {
    margin-bottom: 20px;
}

.bottom-30 {
    margin-bottom: 30px;
}

.bottom-40 {
    margin-bottom: 40px;
}

.margin-right-5 {
    margin-right: 5px;
}

.margin-left-5 {
    margin-left: 5px;
}

.margin-left-10 {
    margin-left: 10px;
}

.p-t-25 {
    padding-top: 27px;
}

.p-t-27 {
    padding-top: 27px;
}

.p-t-30 {
    padding-top: 30px;
}

.p-l-r-30 {
    padding-left: 30px;
    padding-right: 30px;
}

.p-l-r-50 {
    padding-left: 50px;
    padding-right: 50px;
}

a, a label {
    cursor: pointer;
}

/******************************************************/
#ListForInvoice #checkAll {
    display: none;
}

.form-search .control-label {
    width: auto !important;
    float: none;
}

.form-search .control-group {
    display: inline-block;
    margin-bottom: 5px;
}

    .form-search .control-group select, .form-search .control-group input {
        height: 34px;
        margin-right: 5px;
        font-size: 14px;
    }

.form-search .input-group {
    margin-top: -4px;
    margin-right: 5px;
    min-width: 215px;
}

.form-search .btn-group {
    margin-top: -4px;
    margin-right: 5px;
}

.form-search .input-group-btn button {
    margin-top: 0px;
}

.form-search .multiselect-container .input-group {
    margin-top: 5px;
}

.form-search .multiselect-container .house-item {
    width: 50%;
    display: inline-block;
}

.form-search select.multiselect {
    display: none;
}

.form-group select:disabled, textarea:disabled {
    background: #eee;
}

.form-search .row-fluid {
    margin-bottom: 10px;
}

.nav-user-photo {
    border-radius: 100%;
    max-width: 40px;
    max-height: 40px;
}

.label-xlg {
    padding: .3em .7em .4em;
    font-size: 14px;
    line-height: 1.3;
    height: 28px;
}

.tools {
    position: absolute;
    bottom: 5px;
    left: 5px;
    padding-left: 0px !important;
    margin-bottom: 0px !important;
}

.input-date {
    font-size: 15px;
}

    .input-date .input-number {
        border-top: none !important;
        border-left: none !important;
        border-right: none !important;
        width: 30px;
        text-align: center;
        border-bottom: 1px solid #ccc !important;
        padding: 0px;
    }

    .input-date.error input {
        border-bottom: 1px solid #ff0000 !important;
    }


select {
    height: 38px;
}

.label-black {
    background-color: #666 !important;
}

.form-popup .field-validation-error, .form-popup .field-validation-valid {
    float: left;
}

.ErpDropDownList {
    margin-bottom: 5px !important;
}

.pagination ul {
    list-style: none;
}

.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 0px;
    border-radius: 4px;
}

    .pagination li {
        display: inline;
    }

        .pagination li > a, .pagination li > span {
            position: relative;
            float: left;
            padding: 6px 12px;
            line-height: 1.42857143;
            text-decoration: none;
            color: #337ab7;
            background-color: #fff;
            border: 1px solid #ddd;
            margin-left: -1px;
        }

        .pagination li:first-child > a,
        .pagination li:first-child > span {
            margin-left: 0;
            border-bottom-left-radius: 4px;
            border-top-left-radius: 4px;
        }

        .pagination li:last-child > a, .pagination li:last-child > span {
            border-bottom-right-radius: 4px;
            border-top-right-radius: 4px;
        }

        .pagination li > a:hover, .pagination li > span:hover, .pagination li > a:focus, .pagination li > span:focus {
            color: #23527c;
            background-color: #eee;
            border-color: #ddd;
        }

    .pagination .active > a, .pagination .active > span, .pagination .active > a:hover, .pagination .active > span:hover, .pagination .active > a:focus, .pagination .active > span:focus {
        z-index: 2;
        color: #fff;
        background-color: #337ab7;
        border-color: #337ab7;
        cursor: default;
    }

    .pagination .disabled > span, .pagination .disabled > span:hover, .pagination .disabled > span:focus, .pagination .disabled > a, .pagination .disabled > a:hover, .pagination .disabled > a:focus {
        color: #777;
        background-color: #fff;
        border-color: #ddd;
        cursor: not-allowed;
    }

.pagination-lg li > a, .pagination-lg li > span {
    padding: 10px 16px;
    font-size: 18px;
}

.pagination-lg li:first-child > a, .pagination-lg li:first-child > span {
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
}

.pagination-lg li:last-child > a, .pagination-lg li:last-child > span {
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
}

.pagination-sm li > a, .pagination-sm li > span {
    padding: 5px 10px;
    font-size: 12px;
}

.pagination-sm li:first-child > a, .pagination-sm li:first-child > span {
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
}

.pagination-sm li:last-child > a, .pagination-sm li:last-child > span {
    border-bottom-right-radius: 3px;
    border-top-right-radius: 3px;
}
/********************** ProfileImage ***********************/
.ace-file-input {
    height: inherit !important;
    line-height: inherit !important;
    margin-bottom: 0px !important;
}

a > i, button > i {
    margin-right: 5px;
}

.content-2-line {
    display: block; /* Fallback for non-webkit */
    display: -webkit-box;
    max-width: 400px;
    height: 30px; /* Fallback for non-webkit */
    margin: 0 auto;
    font-size: 13px;
    line-height: 15px;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.control-value.content-2-line {
    max-width: 100%;
}

.control-group .tooltip .tooltip-inner, .row .tooltip .tooltip-inner {
    max-width: 500px;
}

option:disabled {
    background: #dddddd;
}

.control-value > div {
    line-height: 25px;
}

input[type=checkbox].ace + .lbl::before, input[type=radio].ace + .lbl::before {
    margin-right: 5px;
}

ul.multiselect-container.dropdown-menu {
    width: 250px !important;
}

@media (min-width:992px) {
    .hidden-phone.visible-desktop.action-buttons {
        display: inline-block;
    }
}

.box {
    /*box-shadow: 0px 0px 2px 1px #eaeaea;*/
    padding-top: 15px;
    padding-bottom: 15px;
    overflow: auto;
    max-height: 400px;
    position: relative;
}

    .box.box-height-300 {
        max-height: 300px;
    }

    .box.box-height-max {
        max-height: initial;
    }

    .box h4 span {
        border-bottom: 1px solid #9E9E9E;
        color: #03A9F4;
    }

.box-attr {
    padding-bottom: 15px;
    margin: 10px 0 10px;
}

    .box-attr h4 {
        margin: 0;
        padding: 0px 10px 10px;
        margin-bottom: 10px;
    }

        .box-attr h4 span {
            padding-bottom: 1px;
            border-bottom: 1px solid #9E9E9E;
            color: #9E9E9E;
        }

    .box-attr input[type=datetime], .box-attr input[type=datetime-local], .box-attr input[type=date], .box-attr input[type=month], .box-attr input[type=time], .box-attr input[type=week], .box-attr input[type=number] {
        padding: 0 5px;
    }

    .box-attr input[type="date"]::-webkit-calendar-picker-indicator {
        /* Your CSS here */
    }

    .box-attr input[type="date"]::-webkit-inner-spin-button {
        margin-top: 5px;
    }

.wait-mask {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
    line-height: 115px;
    background: rgba(0, 0, 0, 0.06) url(/assets/img/ajax-loader.gif) no-repeat center;
    z-index: 11;
}


.has-error .field-validation-error, .has-error .field-validation-valid, .text-danger {
    color: #d16e6c;
}

.chosen-search:after {
    content: none !important;
}

.chosen-container-single .chosen-single {
    border: 1px solid #d5d5d5 !important;
    background: #fff !important;    
    border-radius: 0px !important;
    box-shadow: none !important;
}

.edit-view .chosen-single {
    line-height: 25px !important;
}

.chosen-single div b:before {
    top: 2px !important;
}

.details-info {
    border-color: #808080;
}

    .details-info .view-boder {
        border: 1px solid #ccc;
        padding: 0;
    }

        .details-info .view-boder:nth-child(2n) {
            border-bottom: 0px solid #ccc;
            border-top: 0px solid #ccc;
        }

    .details-info .view-cell {
        border-right: 1px solid #ccc;
        margin: 0;
        min-height: 35px;
        line-height: 35px;
        display: block;
    }

        .details-info .view-cell:nth-child(2n+1) {
            font-weight: bold;
        }

        .details-info .view-cell:nth-child(4n), .details-info .view-cell.no-border-right {
            border-right-width: 0px;
        }


table table input {
    width: 100%;
}

.table > thead > tr > th.grid-header {
    text-transform: uppercase;
    border-right: 1px solid #ddd;
    border-left: 1px solid #ddd;
}

    .table > thead > tr > th.grid-header:last-child {
        /*border-right: 0px solid #ddd;*/
    }

.table.table-bordered>thead>tr>th{
    text-transform: uppercase;
    text-align: center;
}
       
table.grid-table .grid-header > .grid-header-title {
    margin-right: 0px !important;
}

.ui-slider .tooltip-inner {
    padding: 3px 7px;
}

/*.page-content {
    overflow-x: hidden;
}*/


#group-description label {
    padding-left: 100px;
}

@media(max-width:767px) {
    #group-description label {
        padding-left: 15px;
    }

    .table-responsive .table {
        /*width: 1190px;*/
    }
}


.container-edit-inline {
    position: relative;
    min-height: 30px;
}

.edit-inline-control {
    position: absolute;
    height: 29px;
    top: 3px;
    right: 6px;
}

    .edit-inline-control span {
        font-size: 1.3em;
        background: rgba(211, 211, 211, 0.76);
        display: none;
        height: 29px;
        width: 30px;
        line-height: 29px;
        text-align: center;
        cursor: pointer;
        margin-right: 5px;
        padding: 0 !important;
        border: none;
    }

        .edit-inline-control span i {
            margin: 0px !important;
        }

.grid-header-title {
    text-align: left;
}

.edit-inline-control span:first-child, .edit-inline-control span:last-child {
    margin-right: 0px;
}

.edit-inline-control .open {
    display: inline-block;
}

.edit-inline-control .control-edit {
    color: #03A9F4;
}

.edit-inline-control .control-save {
    color: #4CAF50;
}

.edit-inline-control .control-cancel {
    color: #F44336;
}

.container-edit-inline .edit-inline-control {
    display: none;
    height: 25px;
    top: 100%;
    right: 1px;
}

    .container-edit-inline .edit-inline-control span {
        height: 25px;
        width: 30px;
        line-height: 25px;
        padding: 0 5px;
    }

.container-edit-inline:hover .edit-inline-control, .container-edit-inline.active-edit .edit-inline-control {
    display: block;
}

.edit-inline-input-control {
    width: 100%;
    height: 28px;
}

.process-content {
    border-bottom: 2px #428bca solid;
    margin-bottom: 20px;
    padding-bottom: 10px;
    min-height: 100px;
}

.grid-mvc .table > thead > tr {
    background: #fff;
    background-image: none;
    background-image: none;
    background-image: none;
    background-repeat: no-repeat;
}

table.grid-table .grid-header {
    background: #F2F2F2;
    background-image: -webkit-linear-gradient(top,#f8f8f8 0,#ececec 100%);
    background-image: -o-linear-gradient(top,#f8f8f8 0,#ececec 100%);
    background-image: linear-gradient(to bottom,#f8f8f8 0,#ececec 100%);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff8f8f8', endColorstr='#ffececec', GradientType=0);
}

.group-multi-control {
    float: left;
    padding: 0;
}

.separate-control {
    float: left;
    margin: 0 -12px 0px -12px;
    color: #555;
    background: #eee;
    height: 34px;
    width: 24px;
    text-align: center;
    line-height: 34px;
    border-top: 1px solid #c3c3c3;
    border-bottom: 1px solid #c3c3c3;
}

.btn-create-popup {
    margin: 4px 0;
}

.transparent > .widget-body .widget-main .table-bordered > tbody > tr > td:last-child, .transparent > .widget-body .widget-main .table-bordered > tfoot > tr > td:last-child, .transparent > .widget-body .widget-main .table-bordered > thead > tr > th:last-child, .widget-main.no-padding .table-bordered > tbody > tr > td:last-child, .widget-main.no-padding .table-bordered > tfoot > tr > td:last-child, .widget-main.no-padding .table-bordered > thead > tr > th:last-child {
    border-right-width: 1px !important;
}

.widget-main.no-padding .table-bordered td:first-child, .widget-main.no-padding .table-bordered th:first-child {
    border-left-width: 1px;
}

.widget-main.no-padding .table-bordered > tbody > tr > td:last-child {
    border-right-width: 1px !important;
}

.transparent > .widget-body .widget-main .table-bordered > tbody > tr:last-child > td, .widget-main.no-padding .table-bordered > tbody > tr:last-child > td {
    border-bottom-width: 1px !important;
}

.table > thead > tr > th:last-child {
    border-right-color: #ddd;
}

#navbar-container .navbar-header.pull-left {
    margin: 0px -10px;
}

/* ######################################################################################################## */
/* cd-panel  --------------------------------------------------------------------------- */

/* -------------------------------- 

Primary style

-------------------------------- */
.cd-panel *, .cd-panel *::after, .cd-panel *::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

    .cd-panel *::after, .cd-panel *::before {
        content: '';
    }

/*
body {
  font-size: 100%;
  font-family: "Droid Sans", sans-serif;
  color: #dbe2e9;
  background: #424f5c;
}

a {
  color: #89ba2c;
  text-decoration: none;
}

/* -------------------------------- 

Main components 

-------------------------------- 
/*html, body {
  height: 100%;
}*/

.cd-main-content {
    text-align: center;
}

    .cd-main-content .cd-btn {
        position: relative;
        display: inline-block;
        padding: 0.7em 1.4em;
        background-color: #428bca;
        color: #ffffff;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        border-radius: 50em;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 5px rgba(0, 0, 0, 0.1);
        -webkit-transition: all 0.2s;
        -moz-transition: all 0.2s;
        transition: all 0.2s;
    }

.no-touch .cd-main-content .cd-btn:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 20px rgba(0, 0, 0, 0.3);
}

.cd-panel {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    visibility: hidden;
    -webkit-transition: visibility 0s 0.6s;
    -moz-transition: visibility 0s 0.6s;
    transition: visibility 0s 0.6s;
}

    .cd-panel::after {
        /* overlay layer */
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: transparent;
        cursor: pointer;
        -webkit-transition: background 0.3s 0.3s;
        -moz-transition: background 0.3s 0.3s;
        transition: background 0.3s 0.3s;
    }

    .cd-panel.is-visible {
        visibility: visible;
        -webkit-transition: visibility 0s 0s;
        -moz-transition: visibility 0s 0s;
        transition: visibility 0s 0s;
    }

        .cd-panel.is-visible::after {
            background: rgba(0, 0, 0, 0.6);
            -webkit-transition: background 0.3s 0s;
            -moz-transition: background 0.3s 0s;
            transition: background 0.3s 0s;
        }

        .cd-panel.is-visible .cd-panel-close::before {
            -webkit-animation: cd-close-1 0.6s 0.3s;
            -moz-animation: cd-close-1 0.6s 0.3s;
            animation: cd-close-1 0.6s 0.3s;
        }

        .cd-panel.is-visible .cd-panel-close::after {
            -webkit-animation: cd-close-2 0.6s 0.3s;
            -moz-animation: cd-close-2 0.6s 0.3s;
            animation: cd-close-2 0.6s 0.3s;
        }

@-webkit-keyframes cd-close-1 {
    0%, 50% {
        -webkit-transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(45deg);
    }
}

@-moz-keyframes cd-close-1 {
    0%, 50% {
        -moz-transform: rotate(0);
    }

    100% {
        -moz-transform: rotate(45deg);
    }
}

@keyframes cd-close-1 {
    0%, 50% {
        -webkit-transform: rotate(0);
        -moz-transform: rotate(0);
        -ms-transform: rotate(0);
        -o-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }
}

@-webkit-keyframes cd-close-2 {
    0%, 50% {
        -webkit-transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(-45deg);
    }
}

@-moz-keyframes cd-close-2 {
    0%, 50% {
        -moz-transform: rotate(0);
    }

    100% {
        -moz-transform: rotate(-45deg);
    }
}

@keyframes cd-close-2 {
    0%, 50% {
        -webkit-transform: rotate(0);
        -moz-transform: rotate(0);
        -ms-transform: rotate(0);
        -o-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
}

.cd-panel-header {
    position: fixed;
    width: 90%;
    height: 50px;
    line-height: 50px;
    background: rgba(255, 255, 255, 0.96);
    z-index: 2;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
    -webkit-transition: top 0.3s 0s;
    -moz-transition: top 0.3s 0s;
    transition: top 0.3s 0s;
}

    .cd-panel-header h4 {
        font-weight: bold;
        color: #428bca;
        padding-left: 5%;
        margin-top: 15px;
    }

.from-right .cd-panel-header, .from-left .cd-panel-header {
    top: -50px;
}

.from-right .cd-panel-header {
    right: 0;
}

.from-left .cd-panel-header {
    left: 0;
}

.is-visible .cd-panel-header {
    top: 0;
    -webkit-transition: top 0.3s 0.3s;
    -moz-transition: top 0.3s 0.3s;
    transition: top 0.3s 0.3s;
}


.cd-panel-close {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 60px;
    /* image replacement */
    display: inline-block;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
}

    .cd-panel-close::before, .cd-panel-close::after {
        /* close icon created in CSS */
        position: absolute;
        top: 22px;
        left: 20px;
        height: 3px;
        width: 20px;
        background-color: #424f5c;
        /* this fixes a bug where pseudo elements are slighty off position */
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    .cd-panel-close::before {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .cd-panel-close::after {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

.no-touch .cd-panel-close:hover {
    background-color: #424f5c;
}

    .no-touch .cd-panel-close:hover::before, .no-touch .cd-panel-close:hover::after {
        background-color: #ffffff;
        -webkit-transition-property: -webkit-transform;
        -moz-transition-property: -moz-transform;
        transition-property: transform;
        -webkit-transition-duration: 0.3s;
        -moz-transition-duration: 0.3s;
        transition-duration: 0.3s;
    }

    .no-touch .cd-panel-close:hover::before {
        -webkit-transform: rotate(220deg);
        -moz-transform: rotate(220deg);
        -ms-transform: rotate(220deg);
        -o-transform: rotate(220deg);
        transform: rotate(220deg);
    }

    .no-touch .cd-panel-close:hover::after {
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        -ms-transform: rotate(135deg);
        -o-transform: rotate(135deg);
        transform: rotate(135deg);
    }

.cd-panel-container {
    position: fixed;
    width: 90%;
    height: 100%;
    top: 0;
    background: #f9f7f6; /*rgb(255, 255, 255); */
    box-shadow: -2px 0px 44px 5px rgba(18, 18, 18, 0.25);
    z-index: 1;
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-delay: 0.3s;
    -moz-transition-delay: 0.3s;
    transition-delay: 0.3s;
}

.from-right .cd-panel-container {
    right: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    -moz-transform: translate3d(100%, 0, 0);
    -ms-transform: translate3d(100%, 0, 0);
    -o-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
}

.from-left .cd-panel-container {
    left: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    -moz-transform: translate3d(-100%, 0, 0);
    -ms-transform: translate3d(-100%, 0, 0);
    -o-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
}

.is-visible .cd-panel-container {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transition-delay: 0s;
    -moz-transition-delay: 0s;
    transition-delay: 0s;
}


.cd-panel-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 70px 5%;
    overflow: auto;
    /* smooth scrolling on touch devices */
    -webkit-overflow-scrolling: touch;
}

    .cd-panel-content input {
    }
/* -------------------------------- 

Primary style

-------------------------------- */
.cd-panel *, .cd-panel *::after, .cd-panel *::before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

    .cd-panel *::after, .cd-panel *::before {
        content: '';
    }

/*
body {
  font-size: 100%;
  font-family: "Droid Sans", sans-serif;
  color: #dbe2e9;
  background: #424f5c;
}

a {
  color: #89ba2c;
  text-decoration: none;
}

/* -------------------------------- 

Main components 

-------------------------------- 
/*html, body {
  height: 100%;
}*/

.cd-main-content {
    text-align: center;
}

    .cd-main-content .cd-btn {
        position: relative;
        display: inline-block;
        padding: 0.7em 1.4em;
        background-color: #428bca;
        color: #ffffff;
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
        border-radius: 50em;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 5px rgba(0, 0, 0, 0.1);
        -webkit-transition: all 0.2s;
        -moz-transition: all 0.2s;
        transition: all 0.2s;
    }

.no-touch .cd-main-content .cd-btn:hover {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 0 20px rgba(0, 0, 0, 0.3);
}

.cd-panel {
    position: fixed;
    z-index: 10;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    visibility: hidden;
    -webkit-transition: visibility 0s 0.6s;
    -moz-transition: visibility 0s 0.6s;
    transition: visibility 0s 0.6s;
}

    .cd-panel::after {
        /* overlay layer */
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: transparent;
        cursor: pointer;
        -webkit-transition: background 0.3s 0.3s;
        -moz-transition: background 0.3s 0.3s;
        transition: background 0.3s 0.3s;
    }

    .cd-panel.is-visible {
        visibility: visible;
        -webkit-transition: visibility 0s 0s;
        -moz-transition: visibility 0s 0s;
        transition: visibility 0s 0s;
    }

        .cd-panel.is-visible::after {
            background: rgba(0, 0, 0, 0.6);
            -webkit-transition: background 0.3s 0s;
            -moz-transition: background 0.3s 0s;
            transition: background 0.3s 0s;
        }

        .cd-panel.is-visible .cd-panel-close::before {
            -webkit-animation: cd-close-1 0.6s 0.3s;
            -moz-animation: cd-close-1 0.6s 0.3s;
            animation: cd-close-1 0.6s 0.3s;
        }

        .cd-panel.is-visible .cd-panel-close::after {
            -webkit-animation: cd-close-2 0.6s 0.3s;
            -moz-animation: cd-close-2 0.6s 0.3s;
            animation: cd-close-2 0.6s 0.3s;
        }

@-webkit-keyframes cd-close-1 {
    0%, 50% {
        -webkit-transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(45deg);
    }
}

@-moz-keyframes cd-close-1 {
    0%, 50% {
        -moz-transform: rotate(0);
    }

    100% {
        -moz-transform: rotate(45deg);
    }
}

@keyframes cd-close-1 {
    0%, 50% {
        -webkit-transform: rotate(0);
        -moz-transform: rotate(0);
        -ms-transform: rotate(0);
        -o-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }
}

@-webkit-keyframes cd-close-2 {
    0%, 50% {
        -webkit-transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(-45deg);
    }
}

@-moz-keyframes cd-close-2 {
    0%, 50% {
        -moz-transform: rotate(0);
    }

    100% {
        -moz-transform: rotate(-45deg);
    }
}

@keyframes cd-close-2 {
    0%, 50% {
        -webkit-transform: rotate(0);
        -moz-transform: rotate(0);
        -ms-transform: rotate(0);
        -o-transform: rotate(0);
        transform: rotate(0);
    }

    100% {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }
}

.cd-panel-header {
    position: fixed;
    width: 90%;
    height: 50px;
    line-height: 50px;
    background: rgba(255, 255, 255, 0.96);
    z-index: 2;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
    -webkit-transition: top 0.3s 0s;
    -moz-transition: top 0.3s 0s;
    transition: top 0.3s 0s;
}

    .cd-panel-header h4 {
        font-weight: bold;
        color: #428bca;
        padding-left: 5%;
        margin-top: 15px;
    }

.from-right .cd-panel-header, .from-left .cd-panel-header {
    top: -50px;
}

.from-right .cd-panel-header {
    right: 0;
}

.from-left .cd-panel-header {
    left: 0;
}

.is-visible .cd-panel-header {
    top: 0;
    -webkit-transition: top 0.3s 0.3s;
    -moz-transition: top 0.3s 0.3s;
    transition: top 0.3s 0.3s;
}


.cd-panel-close {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 60px;
    /* image replacement */
    display: inline-block;
    overflow: hidden;
    text-indent: 100%;
    white-space: nowrap;
}

    .cd-panel-close::before, .cd-panel-close::after {
        /* close icon created in CSS */
        position: absolute;
        top: 22px;
        left: 20px;
        height: 3px;
        width: 20px;
        background-color: #424f5c;
        /* this fixes a bug where pseudo elements are slighty off position */
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    .cd-panel-close::before {
        -webkit-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        -o-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .cd-panel-close::after {
        -webkit-transform: rotate(-45deg);
        -moz-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        -o-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

.no-touch .cd-panel-close:hover {
    background-color: #424f5c;
}

    .no-touch .cd-panel-close:hover::before, .no-touch .cd-panel-close:hover::after {
        background-color: #ffffff;
        -webkit-transition-property: -webkit-transform;
        -moz-transition-property: -moz-transform;
        transition-property: transform;
        -webkit-transition-duration: 0.3s;
        -moz-transition-duration: 0.3s;
        transition-duration: 0.3s;
    }

    .no-touch .cd-panel-close:hover::before {
        -webkit-transform: rotate(220deg);
        -moz-transform: rotate(220deg);
        -ms-transform: rotate(220deg);
        -o-transform: rotate(220deg);
        transform: rotate(220deg);
    }

    .no-touch .cd-panel-close:hover::after {
        -webkit-transform: rotate(135deg);
        -moz-transform: rotate(135deg);
        -ms-transform: rotate(135deg);
        -o-transform: rotate(135deg);
        transform: rotate(135deg);
    }

.cd-panel-container {
    position: fixed;
    width: 90%;
    height: 100%;
    top: 0;
    background: #f9f7f6; /*rgb(255, 255, 255); */
    box-shadow: -2px 0px 44px 5px rgba(18, 18, 18, 0.25);
    z-index: 1;
    -webkit-transition-property: -webkit-transform;
    -moz-transition-property: -moz-transform;
    transition-property: transform;
    -webkit-transition-duration: 0.3s;
    -moz-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-delay: 0.3s;
    -moz-transition-delay: 0.3s;
    transition-delay: 0.3s;
}

.from-right .cd-panel-container {
    right: 0;
    -webkit-transform: translate3d(100%, 0, 0);
    -moz-transform: translate3d(100%, 0, 0);
    -ms-transform: translate3d(100%, 0, 0);
    -o-transform: translate3d(100%, 0, 0);
    transform: translate3d(100%, 0, 0);
}

.from-left .cd-panel-container {
    left: 0;
    -webkit-transform: translate3d(-100%, 0, 0);
    -moz-transform: translate3d(-100%, 0, 0);
    -ms-transform: translate3d(-100%, 0, 0);
    -o-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);
}

.is-visible .cd-panel-container {
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
    -webkit-transition-delay: 0s;
    -moz-transition-delay: 0s;
    transition-delay: 0s;
}


.cd-panel-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 70px 5%;
    overflow: auto;
    /* smooth scrolling on touch devices */
    -webkit-overflow-scrolling: touch;
}

    .cd-panel-content input {
    }

@media only screen and (min-width: 768px) {
    .cd-panel-container {
        width: 70%;
    }

    .cd-panel-header {
        width: 70%;
    }
}

@media only screen and (min-width: 1170px) {
    .cd-panel-container {
        width: 25%;
    }

    .cd-panel-header {
        width: 25%;
    }
}

@media (max-width:767px) {
    .cd-main-content .cd-btn {
        bottom: -142px;
        padding: 0.5em 1em;
        right: 5px;
    }
}

/* end cd-panel  --------------------------------------------------------------------------- */
/* Ichiro  ---------------------------------------------------------------------------------- */
.input {
    position: relative;
    z-index: 1;
    display: inline-block;
    /*margin: 1em;
    max-width: 350px;
    width: calc(100% - 2em);*/
    width: 100%;
    vertical-align: top;
}

.input__field {
    position: relative;
    display: block;
    float: right;
    padding: 0.8em;
    width: 60%;
    border: none;
    border-radius: 0;
    background: #f0f0f0;
    color: #aaa;
    font-weight: bold;
    line-height: normal;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    -webkit-appearance: none;
}

.input__label {
    display: inline-block;
    float: right;
    padding: 0 1em;
    width: 40%;
    color: #6a7989;
    font-weight: bold;
    font-size: 70.25%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.input__label-content {
    position: relative;
    display: block;
    padding: 1.6em 0;
    width: 100%;
}

.input--ichiro {
    margin-top: 1em;
}

.input__field--ichiro {
    position: absolute;
    top: 4px;
    left: 4px;
    z-index: 100;
    display: block;
    padding: 0 0.55em;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    background: #f6f6f6 !important;
    color: #7F8994;
    opacity: 0;
    -webkit-transform: scale3d(1, 0, 1);
    transform: scale3d(1, 0, 1);
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    -webkit-transition: opacity 0.3s, -webkit-transform 0.3s;
    transition: opacity 0.3s, transform 0.3s;
}

.input__label--ichiro {
    width: 100%;
    text-align: left;
    cursor: text;
}

    .input__label--ichiro::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff;
        -webkit-transform-origin: 50% 100%;
        transform-origin: 50% 100%;
        -webkit-transition: -webkit-transform 0.3s;
        transition: transform 0.3s;
    }

.input__label-content--ichiro {
    -webkit-transform-origin: 0% 50%;
    transform-origin: 0% 50%;
    -webkit-transition: -webkit-transform 0.3s;
    transition: transform 0.3s;
}

.input__field--ichiro:focus,
.input--filled .input__field--ichiro {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
}

    .input__field--ichiro:focus + .input__label--ichiro,
    .input--filled .input__label--ichiro {
        cursor: default;
        pointer-events: none;
    }

        .input__field--ichiro:focus + .input__label--ichiro::before,
        .input--filled .input__label--ichiro::before {
            -webkit-transform: scale3d(1, 1.5, 1);
            transform: scale3d(1, 1.5, 1);
        }

        .input__field--ichiro:focus + .input__label--ichiro .input__label-content--ichiro,
        .input--filled .input__label-content--ichiro {
            -webkit-transform: translate3d(0, -3.15em, 0) scale3d(0.8, 0.8, 1);
            transform: translate3d(0, -3.15em, 0) scale3d(0.8, 0.8, 1) translateZ(1px);
        }

/* Ichiro  ------------------------------------------------------------------------- */

/* flipper button  ------------------------------------------------------------------ */
@import url(https://fonts.googleapis.com/css?family=Montserrat:400);

.flipper-container {
    text-align: center;
    margin-top: 40px;
    -moz-perspective: 1000;
    -webkit-perspective: 1000;
    perspective: 1000;
    border: none;
    background: none;
    outline: none;
}

.flipper {
    display: inline-block;
    position: relative;
    text-decoration: none;
    font-family: 'Montserrat', arial, sans-serif;
    font-weight: 400;
    text-transform: uppercase;
    width: 15em;
    height: 3em;
    background-color: rgba(40, 40, 40, 0);
    box-shadow: 0 3px 5px rgba(40, 40, 40, 0.43);
    -moz-transition: all 0.6s cubic-bezier(0.37, 0.74, 0.15, 1.65);
    -o-transition: all 0.6s cubic-bezier(0.37, 0.74, 0.15, 1.65);
    -webkit-transition: all 0.6s cubic-bezier(0.37, 0.74, 0.15, 1.65);
    transition: all 0.6s cubic-bezier(0.37, 0.74, 0.15, 1.65);
    -moz-transform-style: preserve-3d;
    -webkit-transform-style: preserve-3d;
    transform-style: preserve-3d;
}

    .flipper:target {
        -moz-transform: rotateX(90deg);
        -webkit-transform: rotateX(90deg);
        transform: rotateX(90deg);
    }

.front-face, .back-face {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    padding-right: 70px;
    letter-spacing: 2px;
    line-height: 3em;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    -moz-backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

    .front-face:before, .back-face:before {
        content: attr(data-icon);
        font-size: 30px;
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
        width: 70px;
        border-radius: 0 2px 2px 0;
    }

.front-face {
    background-color: #03A9F4;
    color: #fff;
    text-shadow: 0 1px 1px #2196F3;
    -moz-transform: rotateX(0deg) translateZ(2.25em);
    -ms-transform: rotateX(0deg) translateZ(2.25em);
    -webkit-transform: rotateX(0deg) translateZ(2.25em);
    transform: rotateX(0deg) translateZ(2.25em);
}

    .front-face:before {
        background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuMCIgeTE9IjEuMCIgeDI9IjEuMCIgeTI9IjAuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2NlMDMzZSIvPjxzdG9wIG9mZnNldD0iNTAlIiBzdG9wLWNvbG9yPSIjZWIxZjU2Ii8+PHN0b3Agb2Zmc2V0PSI1MCUiIHN0b3AtY29sb3I9IiNmOTE4NTgiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmYzIxNjEiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2dyYWQpIiAvPjwvc3ZnPiA=');
        background-size: 100%;
        background-image: -moz-linear-gradient(45deg, #03a9f4 0%, #37b0e6 50%, #1aa2e0 50%, #18b1f6);
        background-image: -webkit-linear-gradient(45deg, #03a9f4 0%, #37b0e6 50%, #1aa2e0 50%, #18b1f6);
        background-image: linear-gradient(45deg, #03a9f4 0%, #37b0e6 50%, #1aa2e0 50%, #18b1f6);
    }

.back-face {
    background-color: #77BD42;
    color: #53842e;
    -moz-transform: rotateX(-90deg) translateZ(2.25em);
    -ms-transform: rotateX(-90deg) translateZ(2.25em);
    -webkit-transform: rotateX(-90deg) translateZ(2.25em);
    transform: rotateX(-90deg) translateZ(2.25em);
}

    .back-face:before {
        background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuMCIgeTE9IjEuMCIgeDI9IjEuMCIgeTI9IjAuMCI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzUzODQyZSIvPjxzdG9wIG9mZnNldD0iNTAlIiBzdG9wLWNvbG9yPSIjNzZiYzQyIi8+PHN0b3Agb2Zmc2V0PSI1MCUiIHN0b3AtY29sb3I9IiM3ZGJkNGMiLz48c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM3N2JkNDIiLz48L2xpbmVhckdyYWRpZW50PjwvZGVmcz48cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2dyYWQpIiAvPjwvc3ZnPiA=');
        background-size: 100%;
        background-image: -moz-linear-gradient(45deg, #53842e 0%, #76bc42 50%, #7dbd4c 50%, #77bd42);
        background-image: -webkit-linear-gradient(45deg, #53842e 0%, #76bc42 50%, #7dbd4c 50%, #77bd42);
        background-image: linear-gradient(45deg, #53842e 0%, #76bc42 50%, #7dbd4c 50%, #77bd42);
    }
/* flipper button  ------------------------------------------------------------------ */