/* kooders.css
* ==========
* Kooders 2020
* CSS for 10energy
* Contains CSS for 10energy system
*/

body {
    background-color: #FFF;
    font-family: 'Open Sans', sans-serif;
    overflow-x: hidden;
    font-size: 16px;
    min-height: 100vh;
}

p {
    color: #02010a;
    opacity: 0.83;
}

h1, h2, h3 {
    color: #02010a;
    font-weight: 900;
    text-transform: uppercase;
}

h1, h2, .btn, .varausKortti p:last-child {
    font-family: 'Roboto Mono', monospace;
}

a,
a:not([href]):not([tabindex]) {
    color: #27a7e4;
    cursor: pointer;
}

a:hover {
    text-decoration: none;
}

.blue {
    color: #27a7e4;
}

.btn,
.ccm-block-file a {
    font-size: 1.1em;
    border-radius: 50px;
    text-transform: uppercase;
    font-weight: 900;
    border: none;
}

.btn-primary,
.ccm-block-file a {
    color: #FFF;
    background-color: #27a7e4;
    /* border-color: #27a7e4; */
    border: none;
}

.ccm-block-file a {
    padding: 0.375rem 0.75rem;
    margin: 15px 0px;
    display: inline-block;
}

.btn-outline-primary {
    color: #27a7e4;
    border: 3px solid #27a7e4;
    background-color: #ffffff;
}

.btn-outline-primary:hover {
    background-color: #27a7e4;
    border-color: #27a7e4;
}

.btn-default {
    color: #25283d;
    background-color: #ececec;
    border-color: #ececec;
    border: 3px solid #ececec;
}

.text-decoration-underline {
    text-decoration: underline;
}

.input-group-prepend .input-group-text:first-child {
    border-radius: 25px 0px 0px 25px;
}

.csv-dump .dropdown-toggle.btn-light {
    border-color: #ced4da;
}

.blue {
    color: #27a7e4;
}

.white {
    color: #FFF;
}

.nav-tabs .nav-link {
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}

.form-control {
    border-radius: 50px;
    border-color: transparent;
    background-color: #f7f7f7;
    min-height: 40px;
}

.form-control:focus {
    background-color: #f7f7f7;
}

.input-group-addon {
    padding: 10px;
    border-color: transparent;
    background-color: #f7f7f7;
    min-height: 40px;
    font-weight: bold;
}

.mt-label {
    margin-top: 32px;
}

.dataTables_filter label {
    width: 100%;
}

table.dataTable tr.group {
    background-color: #f0faff;
}

.paging_simple_numbers .page-item.active .page-link {
    background-color: #27a7e4;
    border-color: #27a7e4;
    border-radius: 50%;
    padding: 10px 15px;
    margin: 0px 10px;
    font-family: 'Roboto Mono', monospace;
    font-weight: 900;
}

.paging_simple_numbers .paginate_button a {
    border-radius: 50px !important;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    color: #27a7e4;
    border: 3px solid #27a7e4;
    text-transform: uppercase;
    font-family: 'Roboto Mono', monospace;
    font-weight: 900;
}

label {
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Roboto Mono', monospace;
    max-width: 100%;
}

textarea.form-control {
    border-radius: 15px;
}

/* @media (max-width:568px) {
    canvas {
        max-height:300px
    }
} */

.dropzone {
    cursor: pointer;
    border: 2px dashed #0087F7;
    border-radius: 5px;
    background: white;
    padding: 40px;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    font-family: 'Roboto Mono', monospace;
    max-width: 100%;
}

#main_nav {
    background-color: #25283d;
}

#main_nav .navbar-toggler {
    color: #0087F7;
}

#header_video {
    height: 80vh;
    position: relative;
    overflow: hidden;
    margin-top: -93px;
    /* z-index: -1; */
    /* for ie --> */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    /* <-- */
}

#header_img {
    height: 101vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

#header_video .video-wrapper {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    /* z-index: 1; */
}

#header_video .video-wrapper .video-block {
    position: absolute;
    bottom: 0px;
    top: 0;
    width: 100%;
    height: 100%;
    margin-bottom: -30px;
}

.container.wider {
    max-width: 1400px;
}

#frontpage-link-container {
    max-width: 85vw;
    color: #FFF;
}

.frontpage_content p, .frontpage_content h1, .frontpage_content h2, .frontpage_content h3, 
.frontpage_content h4, .frontpage_content h5, .frontpage_content h6, .frontpage_content a {
    color: #FFF;
}

#frontpage-link-container a {
    background-color: #27a7e4;
    color: #FFF;
    /* padding-top: 20vh;
    padding-bottom: 20vh; */
    border-radius: 50px;
    white-space: pre-wrap; /* CSS3 */    
    white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */    
    white-space: -o-pre-wrap; /* Opera 7 */    
    word-wrap: break-word; /* Internet Explorer 5.5+ */
}



/* #landing {
    height: auto;
    min-height: 600px;
    margin-top: -90px;
    position: relative;
    overflow: hidden;
}

#landing .container {
    max-width: 85vw;
}

#landing video {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
} */





.video-block video {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.bootstrap-select .btn.dropdown-toggle {
    position: relative;
    z-index: 0;
}

.bootstrap-select .btn.dropdown-toggle[aria-expanded='true'] {
    position: relative;
    z-index: 2;
    border-color: transparent;
}

.dropdown.bootstrap-select {
    position: relative;
}

.dropdown.bootstrap-select div.dropdown-menu.show {
    top: -30px !important;
    z-index: 1;
    border-color: transparent;
}

.dropdown.bootstrap-select div.dropdown-menu.show .inner.show {
    margin-top: 10px;
}

.dropdown.bootstrap-select div.dropdown-menu,
.dropdown.bootstrap-select div.dropdown-menu ul.dropdown-menu {
    background-color: #dae0e5;
    border: transparent;
}

.bs-searchbox {
    display: inline-block;
    margin-top: 20px;
    margin-bottom: -20px;
    width: 100%;
}

.user-sidenav {
    background-color: #27a7e4;
    list-style: none;
    border-radius: 15px;
    padding: 10px 15px;
}

.user-sidenav li {
    margin: 10px 0px;
    text-transform: uppercase;
    font-weight: 600;
}

.user-sidenav li a {
    color: white;
}

/* Concrete5 things */
div.ccm-panel-content ul.nav li {
    width: 100%;
}

.ccm-page {
    min-height: 100vh;
}

/* Modal fixes */

.modal-header {
    display: inline-block;
}

.modal-header .bootbox-close-button.close {
    display: inline-block;
    float: right;
    box-shadow: none;
    margin: 0px;
    padding: 0px;
}

.modal-header .modal-title {
    display: inline-block;
    float: left;
}

.modal-content {
    border-radius: 15px;
}

.modal-footer {
    display: inline-block;
}

.bootbox.modal.fade.show {
    background-color: rgba(1, 40, 58, 0.6);
}

/* Scrollbar */

::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: #e8e8e8;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: linear-gradient( 90deg, #27a7e4 0%, #27a7e4 100% );
    border-radius: 5px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #27a7e4;
}

#msg_here {
    position: fixed;
    z-index: 1051;
    left: 20px;
    bottom: 20px;
    width: 400px;
    max-width: 100%;
    overflow-wrap: break-word;
}

#msg_here button.close {
    margin-left: 20px;
}

/* Back to Top */

#backToTop {
    position: fixed;
    right: 0px;
    bottom: 20px;
    padding: 10px 15px;
    font-size: 22px;
    background-color: #27a7e4;
    color: #FFF;
    border-radius: 0px;
    border: 1px solid #FFF;
    transition: all 0.3s ease;
}

#backToTop:hover {
    padding: 10px 30px 10px 15px;
}

#backToTop.hiding {
    right: -60px;
}

#backToTop svg {
    height: 30px;
    fill: white;
}

#backToTop:hover svg {
    animation: bouncingIcon 1s;
}

/*
* https://daneden.github.io/animate.css/
*/

@-webkit-keyframes bouncingIcon {
    from,
    20%,
    53%,
    80%,
    to {
        -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    40%,
    43% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        -webkit-transform: translate3d(0, -15px, 0);
        transform: translate3d(0, -10px, 0);
    }

    70% {
        -webkit-animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        animation-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
        -webkit-transform: translate3d(0, -10px, 0);
        transform: translate3d(0, -5px, 0);
    }

    90% {
        -webkit-transform: translate3d(0, -4px, 0);
        transform: translate3d(0, -4px, 0);
    }
}

table#warnings .form-check-input {
    margin-left: -0.5rem;
}