html, body {
    width: 100%;
    height: 100%;
    background: #000;
    overflow: hidden;
}



#ccview-global-veil {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #000;
    opacity: 0;
    z-index: 999999999
}




.ccview-app-veil {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: #000;
    opacity: 0;
}





#main-view {
    position: relative;
    width: 100%;
    height: 100%;
    background: #fff;
    //overflow-y: auto;
}



#main-view
.ccsubviews {
    padding-top: 61px;
    width: 100%;
    height: calc(100% - 61px); // 61px is the height of #main-view-header
    overflow-x: hidden;
    overflow-y: auto;
}

#main-view
.rounded-borders {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}





#main-view
.ccsubview {
    display: none;
    overflow-x: hidden;
}

#main-view
.ccsubview.current {
    display: block;
}





#main-view
.ccview-veil,
.ccview
.ccview-veil {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0;
    -webkit-transition: translate3d(0,0,0);
    z-index: 999999999
}





.ccview {
    position: absolute;
    width: 100%;
    background: #fff;
    -webkit-transition: translate3d(0,0,0);
    overflow-x: hidden;
    overflow-y: auto;
    transform: translateZ(0);
    overscroll-behavior: contain;
}





.ccview.right {
    height: 100%;
    left: 100%;
    box-shadow: -6px 0px 7px -1px rgba(0,0,0,0.1);
}





.ccview.bottom {
    height: 100%;
    top: 100%;
}





.ccview.form {
    height: calc(100% - 20px);
    top: 100%;
    border-top-left-radius: 11px;
    border-top-right-radius: 11px;
}




.ccview.action {
    top: 100%;
    border-top-left-radius: 13px;
    border-top-right-radius: 13px;
}





/*
 * CCView default styles.
 */
.ccview.default-layout
> .view-header {
    position: relative;
    height: 60px;
 }



.ccview.default-layout
> .view-header
.cancel-button {
    display: block;
    position: absolute;
    height: 60px;
    line-height: 60px;
    top: 0;
    left: 15px;
    font-size: 15px;
    font-weight: 400;
 }
 
 
 
.ccview.default-layout
> .view-header
.cancel-button.icon-arrow
img {
    display: block;
    position: absolute;
    width: auto;
    height: 22px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}



.ccview.default-layout
> .view-header
.cancel-button.icon-x
img {
    display: block;
    position: absolute;
    width: auto;
    height: 24px;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid #fff;
    border-radius: 40px;
    background: #fff;
}



.ccview.default-layout
> .view-header
.submit-button-wrapper {
    position: absolute;
    top: 0;
    right: 20px;
    height: 60px;
 }



.ccview.default-layout
> .view-header
.submit-button-wrapper
.loader {
    display: none;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
 }



.ccview.default-layout
> .view-header
.submit-button-wrapper
.button {
    display: block;
    visibility: visible;
    height: 60px;
    line-height: 60px;
    font-size: 18px;
    font-weight: 700;
 }



.ccview.default-layout
> .view-header
.submit-button-wrapper.loading
.button {
    visibility: hidden;
 }



.ccview.default-layout
> .view-header
.submit-button-wrapper.loading
.loader {
    display: block;
 }



.ccview.default-layout
> .view-header
 h1 {
    height: 60px;
    line-height: 60px;
    font-size: 20px;
    font-weight: 600;
    color: #000;
    text-align: center;
 }





.ccview.default-layout
> .view-loader {
    display: none;
    position: fixed;
    width: 100%;
    height: calc(100% - 60px);
    left: 0;
    top: 60px;
    z-index: 9999999;
    opacity: 0;
    background: #fff;
}



.ccview.default-layout.loading
> .view-loader {
    display: block;
    opacity: 1;
    -webkit-transition: translate3d(0,0,0);
}



.ccview.default-layout
> .view-loader
img {
    position: absolute;
    width: auto;
    height: 60px;
    left: 50%;
    top: calc(50% - 30px);
    transform: translate(-50%, -50%);
}





.ccview.default-layout
> .view-body {
    box-sizing: border-box;
    padding: 15px 15px 30px 15px;
    height: calc(100% - 60px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
}





.ccview.action.confirm {
    padding: 0 0 38px 0;
}



.ccview.action.confirm
.head {
    padding: 20px 15px 0 20px;
}



.ccview.action.confirm
.head
p {
    font-size: 17px;
    font-weight: 600;
    color: #000;
}





.ccview.action.confirm
.action-buttons {
    margin: 25px 0 0 0;
}



.ccview.action.confirm
.action-buttons
.button {
    display: block;
    height: 60px;
    line-height: 60px;
    border-top: 1px solid #eee;
    font-size: 20px;
    font-weight: 600;
    text-align: center;
}



.ccview.action.confirm
.action-buttons
.button.confirm {
    color: #FF0000;
}



































