/**
 * Custom style
 */


/* Base styles */

body {
    -webkit-font-smoothing: antialiased;
}

body.is-loading {
    cursor: wait;
}

h1:first-child,
h2:first-child,
h3:first-child,
h4:first-child,
h5:first-child,
h6:first-child {
    margin-top: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-weight: 600;
}


/* Buttons */

.btn:not(.btn-sm) {
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    transition: color 0.4s, background-color 0.4s;
}

/*.btn .fa {*/
    /*margin-right: 10px;*/
/*}*/


/* Labels */

label {
    font-size: 16px;
    margin-bottom: 8px;
}


/* Form elements */

.form-control {
    border-radius: 4px;
    height: 42px;
}

.select2-container .select2-choice {
    height: 42px;
    border-radius: 4px !important;
    padding-top: 4px;
    padding-bottom: 5px;
    line-height: 20px;
}

.select2-arrow b {
    margin-top: 4px;
}


/* Box */

.box-title {
    margin-top: 10px !important;
    font-weight: 600;
}


/* Well */

.well {
    box-shadow: none;
}


/* Logo */

.logo img {
    max-width: 30px;
}


/* Input group */

.input-group-btn .btn {
    padding: 0;
}


/* Flex row */

.row-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.row-flex::before,
.row-flex::after {
    display: none;
}

.row-flex .col {
    width: auto;
}

.row-flex .col {
    padding: 0 10px;
}

.row-flex .col:first-child {
    padding-left: 20px;
}

.row-flex .col:last-child {
    padding-right: 20px;
}


/* Utilities */

.mb-0 {
    margin-bottom: 0;
}


/* Tabs form elements */

@media screen and (min-width: 768px) and (max-width: 1024px) {

    .tab-pane label {
        font-size: 13px;
    }
}


/* Action buttons */

@media screen and (min-width: 768px) and (max-width: 1024px) {
    
    .sonata-ba-list-field-actions .btn {
        font-size: 10px;
    }
}


/*  Sidebar toggle */

.main-header .sidebar-toggle {
    font-family: inherit;
}

.main-header .sidebar-toggle::before {
    font-family: fontAwesome;
}


/* Inputs */

input[type="week"] {
    width: 150px;
    height: 50px;
}

.hasDatepicker {
    z-index: 50;
}

/* !HTML5 Week polyfill | Jonathan Stipe | https://github.com/jonstipe/week-polyfill */
button.week-datepicker-button:after {
    display: inline-block;
    content: "";
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0.4em 0.4em 0em 0.4em;
    border-color: black transparent transparent transparent;
    margin: 0em 0em 0.2em 0.7em;
    vertical-align: middle; }
  
  .csstransitions div.week-calendar-dialog.week-closed {
    -moz-transition: opacity 0.4s linear;
    -webkit-transition: opacity 0.4s linear;
    -o-transition: opacity 0.4s linear;
    -ms-transition: opacity 0.4s linear;
    transition: opacity 0.4s linear;
    opacity: 0; }
  .csstransitions div.week-calendar-dialog.week-open {
    -moz-transition: opacity 0.4s linear;
    -webkit-transition: opacity 0.4s linear;
    -o-transition: opacity 0.4s linear;
    -ms-transition: opacity 0.4s linear;
    transition: opacity 0.4s linear;
    opacity: 1; }


/* Horizontal list */

.horizontal-list {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
}

.horizontal-list li {
    margin-right: 10px;
    margin-bottom: 10px;
}

/* Vergroot de checkbox voor betere toegankelijkheid op tablets */
.icheckbox_square-blue {
    transform: scale(1.4);
    transform-origin: 0 0;
}
