/********************************/
/*** Relative *******************/
/********************************/
@font-face {
    font-family: RelativeBook;
    src: url('../font/relative-book.woff2') format('woff2'),
    url('../font/relative-book.woff') format('woff');
}

@font-face {
    font-family: RelativeMedium;
    src: url('../font/relative-medium.woff2') format('woff2'),
    url('../font/relative-medium.woff') format('woff');
}

@font-face {
    font-family: RelativeBold;
    src: url('../font/relative-bold.woff2') format('woff2'),
    url('../font/relative-bold.woff') format('woff');
}


/********************************/
/*** Variables ******************/
/********************************/
:root {
    --relative-book: 'RelativeBook', 'Helvetica', 'Arial';
    --relative-medium: 'RelativeMedium', 'Helvetica', 'Arial';
    --relative-bold: 'RelativeBold', 'Helvetica', 'Arial';
    --secondary: #1A243C;
    --primary: #009ABE;
    --success: #74C03D;
    --warning: #FAB42B;
    --button-hover: #FFC44F;
    --danger: #EF5959;
    --dark: #0B1121;
    --gray-1: #5D657D;
    --gray-2: #8D93A5;
    --gray-3: #B7BDCB;
    --gray-4: #D3D7E0;
    --gray-5: #EDEFF5;
}


/********************************/
/*** Core ***********************/
/********************************/
* {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    font-size: 100%;
}

body {
    font-family: var(--relative-book);
    font-size: 16px;
    line-height: 24px;
    margin: 0;
    color: var(--gray-1);
    padding-top: 80px;
}


/********************************/
/*** Typography *****************/
/********************************/
h1, h2, h3, h4, h5, h6 {
    text-align: left;
    font-style: normal;
}

h1 {
    font-family: var(--relative-book);
    font-size: 36px;
    font-weight: 300;
    line-height: 50px;
    color: var(--secondary);
    margin-top: 9px;
}

h2 {
    font-family: var(--relative-book);
    font-size: 28px;
    font-weight: 300;
    line-height: 28px;
    color: var(--secondary);
}

h3 {
    font-family: var(--relative-book);
    font-size: 20px;
    font-weight: 500;
    line-height: 20px;
    color: var(--secondary);
}

h4, label {
    font-family: var(--relative-medium);
    font-size: 16px;
    font-weight: 500;
    line-height: 32px;
    color: var(--secondary);
}

h5 {    
    font-family: var(--relative-book);
    font-size: 16px;
    font-weight: 300;
    color: var(--gray-2);
}

h6 {
    font-family: var(--relative-bold);
    font-size: 9px;
    font-weight: 300;
    line-height: 50px;
    letter-spacing: 1.85px;
    color: var(--gray-4);
}

strong {
    font-family: var(--relative-bold);
    font-weight: normal;
}

.capitalize {
    text-transform: capitalize;
}


/********************************/
/*** Navigation *****************/
/********************************/
.nav {
    z-index: 3;
    background-color: #fff;
    height: 80px;
    width: 100%;
    box-shadow: 0 2px 20px 0 rgba(26,36,60,0.15);
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
}

.inner-nav {
    max-width: 1480px;
    margin: 0 auto;
}

.logo-container {
    width: 33.3%;
    padding: 0 40px;
    display: inline-block;
    float: left;
}

.logo {
    width: 300px;
    margin-top: 15px;
}

a.nav-link {
    display: inline-block;
    font-size: 17px;
    color: var(--gray-1);
    cursor: pointer;
    padding: 13px;
    margin-top: 15px;
    text-decoration: none;
}

.nav-link:hover {
    text-decoration: underline;
}


/********************************/
/*** Header *********************/
/********************************/
#header {
    background-color: var(--secondary);
    background-image: url(../img/header.svg);
    background-position: 50% 40%;
    height: 250px;
    width: 100%;
    z-index: 2;
}

.header-content {
    position: relative;
    top: 50px;
    text-align: center;
}

.subtitle {
    color: #009ABE;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.title {
    color: #fff;
    font-size: 70px;
    line-height: 2;
}


/********************************/
/*** Content ********************/
/********************************/
.content-wrapper {
    display: block;
    padding-top: 50px;
    max-width: 1480px;
    margin: 0 auto;
}

/*** Sidebar ********************/
aside.side-pane {
    display: inline-block;
    float: left;
    width: 33.3%;
    padding: 0 40px 20px;
}

/*** Main ***********************/
main.main-pane {
    display: inline-block;
    float: left;
    width: 66.7%;
    margin-bottom: 100px;
    padding: 0 13px;
}
section {
    display: block;
    overflow: hidden;
}


/********************************/
/*** Checkbox *******************/
/********************************/
.pp-checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.pp-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkmark-checkbox {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
}

/* On mouse-over, add a grey background color */
.pp-checkbox:hover input ~ .checkmark-checkbox {
    background-color: #ccc;
}

/* When the checkbox is checked, add a blue background */
.pp-checkbox input:checked ~ .checkmark-checkbox {
    background-color: var(--gray-5);
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark-checkbox:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.pp-checkbox input:checked ~ .checkmark-checkbox:after {
    display: block;
}

/* Style the checkmark/indicator */
.pp-checkbox .checkmark-checkbox:after {
    left: 9px;
    top: 5px;
    width: 5px;
    height: 10px;
    border: solid var(--secondary);
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}


/********************************/
/*** Radio **********************/
/********************************/
/* Customize the label (the container) */
.pp-radio {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 16px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default radio button */
.pp-radio input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom radio button */
.checkmark-radio {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #ccc;
    border-radius: 50%;
}

/* When the radio button is checked, add a blue background */
.pp-radio input:checked ~ .checkmark-radio {
    background-color: var(--secondary);
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.checkmark-radio:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.pp-radio input:checked ~ .checkmark-radio:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.pp-radio .checkmark-radio:after {
    top: 9px;
    left: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
}


/********************************/
/*** Buttons ********************/
/********************************/
button, .btn, .dtpicker-buttonCont .dtpicker-button {
    -webkit-font-smoothing: subpixel-antialiased;
    font-family: 'RelativeMedium', sans-serif;
    border: none;
    border-radius: 30px;
    padding: .8rem 1.6rem;
    color: var(--secondary);
    background-color: var(--warning);
    cursor: pointer;
    font-size: 18px;
    height: 59px;
    text-decoration: none;
    display: inline-block;
    margin-bottom: .5rem;
}
.btn {
    line-height: 2;
}
.dtpicker-button {
    line-height: 1.8;
}

button:hover, .btn:hover {
    background-color: var(--button-hover);
}

.btn-sm {
    padding: .4rem .8rem;
    font-size: 14px;
    height: auto;
}


/********************************/
/*** Forms **********************/
/********************************/
input, select, textarea {
    color: var(--gray-2);
    height: calc(1.5em + 1rem + 10px);
    padding: .5rem 1.2rem;
    border: 1px solid var(--gray-4);
    display: block;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    background-color: #fff;
    background-clip: padding-box;
    border-radius: .25rem;
    transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    margin-bottom: 1rem;
}

input:required:invalid, textarea:required:invalid {
    border-left: 5px solid var(--danger);
}

textarea {
    width: 82%;
    resize: vertical;
    height: 150px;
}

/* Language Dropdown */
#locale {
    background-repeat: no-repeat;
    background-size: 17%;
    background-position: right center;
    background-position-x: 80%;
    -ms-background-position-x: 80%;
    padding-right: 20px;
}

select#locale option[value="nl_NL"] {
    background: url("../img/nl_NL.png") no-repeat right center;
    background-size: 17%;
    background-position: right center;
    background-position-x: 80%;
    -ms-background-position-x: 80%;
    padding-right: 20px;
}

select#locale option[value="en_GB"] {
    background: url("../img/en_GB.png") no-repeat right center;
    background-size: 17%;
    background-position: right center;
    background-position-x: 80%;
    -ms-background-position-x: 80%;
    padding-right: 20px;
}

.input-comment {
    display: inline-block;
    font-size: smaller;
    vertical-align: middle;
}

input[id="search"] {
    background-image: url("../img/search.png");
    background-repeat: no-repeat;
    background-position: 4px 3px;
    background-size: 24px;
    padding: 8px 4px 8px 30px;
}

.disabled, input:disabled {
    background-color: #f1f1f1;
    cursor: not-allowed;
}


/********************************/
/*** Items **********************/
/********************************/
.main-pane aside {
    display: inline-block;
    width: 18%;
    float: left;
    margin: 9px 0;
}

.main-pane aside + article {
    display: inline-block;
    float: right;
    width: 80%;
}

.pull-left {
    display: block;
    float: left;
}

.pull-right {
    display: block;
    float: right;
}

.clearfix {
    clear: both;
}

article footer {
    display: block;
    overflow: hidden;
    font-family: var(--relative-book);
    line-height: 1.1;
    margin: 1.5em 0 1em 0;
    padding: 0.5em;
    border-top: 1px solid #d8d8d8;
    border-bottom: 1px solid #d8d8d8;
}

aside h4 {
    margin-top: 7px;
}


/********************************/
/*** Badge **********************/
/********************************/
.badge {
    font-family: RelativeBook,sans-serif;
    font-size: 75%;
    font-weight: 500;
    line-height: 1;
    border-radius: 12px;
    margin-right: .5rem;
    padding: 8px 10px;
    color: #fff;
    text-transform: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    margin-bottom: .5rem;
}

.tag {
    background-color: var(--secondary);
}

.green, .finished {
    background-color: var(--success);
    color: var(--secondary);
}
.orange, .planned, .closed {
    background-color: var(--warning);
    color: var(--secondary);
}
.red, .canceled {
    background-color: var(--danger);
    color: #fff;
}
.blue, .open {
    background-color: var(--primary);
    color: #fff
}


/********************************/
/*** Table **********************/
/********************************/
.td-actions {
    min-width: 180px;
}

table {
    border-collapse: collapse;
    width: 100%;
    padding: 2em 0 2em 0;
}

th {
    font-family: var(--relative-bold);
    font-weight: normal;
    font-size: 17px;
    color: #333;
    line-height: 1.1;
}

tr td, tr th {
    padding: 1em 0 1em 1em;
}

tr td{
    border-bottom: 1px solid #d8d8d8;
}

th, td {
    text-align: left;
    vertical-align: top;
    line-height: 1.2em;
}

.th-id {
    min-width: 1em;
}

.th-subject {
    min-width: 15em;
}

.th-date {
    width: 10em;
    max-width: 10em;
}

.th-fulldate {
    width: 15em;
    max-width: 15em;
}

.th-labels, .th-actions {
    min-width: 6em;
}


/********************************/
/*** Details ********************/
/********************************/
div.information-set {
    display: block;
    overflow: hidden;
    line-height: 1.2;
}

.information-set p:first-child {
    width: 15%;
    float: left;
    margin: 10px 0;
}
.information-set p:nth-child(2) {
    max-width: 85%;
    margin: 10px 0;
}
.information-set ul.horizontal-list {
    margin-top: 7px;
}


/********************************/
/*** Alert **********************/
/********************************/
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-family: var(--relative-book);
    text-align: center;
}
.alert-success {
    background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #468847;
}
.alert-dismissable, .alert-dismissible {
    padding-right: 35px;
}
.alert-dismissable .close, .alert-dismissible .close {
    position: relative;
    top: -2px;
    right: -21px;
    color: inherit;
}
.alert > button {
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
    -webkit-appearance: none;
    float: right;
    font-size: 21px;
    font-weight: bold;
    line-height: 1;
    text-shadow: 0 1px 0 #ffffff;
    opacity: 0.2;
    height: initial;
}


/********************************/
/*** List ***********************/
/********************************/
ul.list {
    list-style: none;
    margin: 0;
    padding: 0;
}
ul.horizontal-list {
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
ul.horizontal-list li {
    float: left;
}
ul.horizontal-list.input-list li {
    float: left;
    margin: 0 1em 0 0;
}


/********************************/
/*** Datepicker *****************/
/********************************/
.dtpicker-header .dtpicker-value, .dtpicker-header .dtpicker-close {
    color: var(--secondary);
}
.dtpicker-components .dtpicker-comp>* {
    color: var(--primary);
}


/********************************/
/*** Responsive *****************/
/********************************/
/*Medium devices (tablets, 768px and up)*/
@media (max-width: 992px) {
    body {
        padding-top: 160px;
    }
    .logo-container {
        display: block;
        width: 100%;
        text-align: center;
    }
    .nav {
        min-height: 160px;
        height: auto;
    }
    .inner-nav {
        text-align: center;
    }
    a.nav-link {
        float: none;
        padding: 0;
        display: block;
    }
    .logo {
        margin-top: 0;
    }
    /* Sidebar */
    aside {
        display: none !important;
    }
    /* Main content */
    main.main-pane {
        display: block;
        width: 100%;
        padding: 1em;
    }
    /* Details */
    .information-set p {
        display: block !important;
        width: 100% !important;
    }
    ul.horizontal-list {
        overflow: initial;
    }
    /* Administration page */
    table, thead, tbody, th, td, tr {
        display: block;
    }
    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }
    tr:nth-of-type(odd) {
        background: #f6f6f7;
    }
    td {
        border: none;
        border-bottom: none !important;
        position: relative;
        padding-left: 50%;
    }
    tr {
        border-bottom: 1px solid #d8d8d8;
    }
    td:before {
        /* Now like a table header */
        position: absolute;
        /* Top/left values mimic padding */
        top: 6px;
        left: 6px;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
    }
    .th-id {
        visibility: hidden;
    }
    .td-id {
        display: none;
    }
    .td-subject {
        font-family: 'titilliumbold', Arial;
        color: #274052 !important;
    }
    .td-type::before {
        content: 'Type:';
        position: initial;
        padding-right: 4px;
    }
    .td-date::before {
        content: 'Created on:';
        position: initial;
        padding-right: 4px;
    }
    .td-email::before {
        content: 'Email:';
        position: initial;
        padding-right: 4px;
    }
    .td-sms::before {
        content: 'SMS:';
        position: initial;
        padding-right: 4px;
    }
}

/*!*Extra Small devices (landscape phones, 576px and up)*!*/
/*@media (max-width: 576px) {*/
/*    body:after {*/
/*        content: "XS";*/
/*        position: fixed;*/
/*        top: 10px;*/
/*        right: 10px;*/
/*        z-index: 1050;*/
/*        color: #222;*/
/*    }*/
/*}*/

/*!*Small devices (landscape phones, 576px and up)*!*/
/*@media (min-width: 576px) {*/
/*    body:after {*/
/*        content: "SM";*/
/*        position: fixed;*/
/*        top: 10px;*/
/*        right: 10px;*/
/*        z-index: 1050;*/
/*        color: #222;*/
/*    }*/
/*}*/

/*!*Medium devices (tablets, 768px and up)*!*/
/*@media (min-width: 768px) {*/
/*    body:after {*/
/*        content: "MD";*/
/*        position: fixed;*/
/*        top: 10px;*/
/*        right: 10px;*/
/*        z-index: 1050;*/
/*        color: #222;*/
/*    }*/
/*}*/

/*!*Large devices (desktops, 992px and up)*!*/
/*@media (min-width: 992px) {*/
/*    body:after {*/
/*        content: "LG";*/
/*        position: fixed;*/
/*        top: 10px;*/
/*        right: 10px;*/
/*        z-index: 1050;*/
/*        color: #222;*/
/*    }*/
/*}*/

/*!*Extra large devices (large desktops, 1200px and up)*!*/
/*@media (min-width: 1200px) {*/
/*    body:after {*/
/*        content: "XL";*/
/*        position: fixed;*/
/*        top: 10px;*/
/*        right: 10px;*/
/*        z-index: 1050;*/
/*        color: #222;*/
/*    }*/
/*}*/
