@font-face {
    font-family: "Roboto";
    src: url("../webfonts/roboto.ttf") format("truetype");
}

body {
    margin: 0px;
    padding: 0px;
    box-sizing: border-box;
    color: #7e7e7e;
}

body, input, textarea, select, button, label, .inp {
    font-family: Roboto, Arial, sans-serif;
    font-size: 14px;
}

a {
    color: #4fa679;
    text-decoration: none;
}

a:hover {
    color: #42996c;
}

h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
}

h3 {
    margin-top: 30px;
    font-size: 16px;
    font-weight: normal;
}

.small {
    font-size: 12px;
}

.center {
    text-align: center;
}

.left {
    float: right;
}

.right {
    float: right;
}

.clear {
    clear: both;
}

.header {
    background-color: #4fa679;
    color: #ffffff;
    padding: 20px 20px;
    user-select: none;
}

.header img {
    vertical-align: middle;
    max-height: 100px;
}

.header h1 {
    color: #ffffff;
    font-size: 26px;
    font-weight: bold;
    display: inline-block;
    margin: 0px 0px 0px 10px;
    padding: 0px;
    vertical-align: middle;
}

.content {
    padding: 40px 30px 20px 30px;
    line-height: 18px;
    border: 1px solid #e4e4e4;
    border-radius: 3px;
    margin: 20px;
}

.copyrights {
    text-align: center;
    color: #999999;
    margin-bottom: 20px;
}

.login {
    width: 80%;
    max-width: 300px;
    margin: auto;
    margin-top: 100px;
    border: 0px solid #e4e4e4;
    border-radius: 3px;
    padding: 20px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
}

ul.crumbs {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
    display: block;
}

ul.crumbs li {
    display: inline-block;
    margin: 0px 3px;
}

.title-buttons {
    margin-bottom: 20px;
}

.sort-item {
    position: relative;
    box-sizing: border-box;
    border: 1px solid #e4e4e4;
    margin: 0px 0px 10px 0px;
    padding: 5px 120px 10px 40px;
    width: 100%;
    max-width: 600px;
    border-radius: 5px;
    font-weight: bold;
    background-color: #ffffff;
    user-select: none;
}

.sort-subitem {
    position: relative;
    box-sizing: border-box;
    border: 1px solid #e4e4e4;
    margin: 10px 0px 0px 0px;
    padding: 5px 120px 5px 40px;
    width: 100%;
    max-width: 500px;
    border-radius: 5px;
    font-weight: normal;
    background-color: #ffffff;
}

.sort-subitems {
    min-height: 20px;
}

.sort-item-handle, .sort-subitem-handle {
    position: absolute;
    top: 8px;
    left: 10px;
}

.sort-item-buttons {
    position: absolute;
    top: 8px;
    right: 10px;
    text-align: right;
}

.sort-item-generic .icon {
    font-size: 16px;
}

.sort-item-generic .num-label {
    margin-right: 20px;
}

.num-label {
    background-color: #26a6a7;
    color: #ffffff;
    display: inline-block;
    font-size: 12px;
    text-align: center;
    padding: 2px 5px;
    border-radius: 3px;
    user-select: none;
    cursor: pointer;
}

ul.types-list, ul.types-list ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

ul.types-list li {
    font-weight: bold;
}

ul.types-list li ul {
    margin: 10px 0px 10px 20px;
}

ul.types-list li ul li {
    font-weight: normal;
}

.gallery-items {
    margin-top: 20px;
}

.gallery-item {
    box-sizing: border-box;
    float: left;
    position: relative;
    width: 200px;
    height: 270px;
    padding: 0px;
    margin-right: 15px;
    margin-bottom: 15px;
    border: 1px solid #e4e4e4;
    border-radius: 3px;
    user-select: none;
    background-color: #ffffff;
}

.gallery-item-checked {
    background-color: #e4f4f4;
}

.gallery-item-header {
    padding: 5px;
}

.gallery-item-image {
    background-color: #000000;
    width: 100%;
    height: 160px;
    display: table-cell;
    vertical-align: middle;
    text-align: center;
    margin-bottom: 5px;
}

.gallery-item-image img {
    width: 100%;
    height: auto;
}

.gallery-item-title {
    box-sizing: border-box;
    width: 100%;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 20px;
    padding: 0px 5px;
    font-size: 12px;
}

.gallery-item-icons {
    box-sizing: border-box;
    text-align: right;
    margin: 10px 5px 0px 5px;
}

.gallery-item-icons .icon {
    font-size: 16px;
    margin-left: 5px;
}

.gallery-item-cb {
    float: left;
    margin-left: 0px;
}

ul.video-links {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

ul.video-links li {
    display: inline-block;
    margin-right: 15px;
}

.dash-left {
    float: left;
    width: 46%;
}

.dash-right {
    float: right;
    width: 46%;
    margin-top: 30px;
}

.dash-counter-section {
    float: left;
    width: 50%;
}

.dash-counter-chart-wrapper {
    float: left;
    width: 50%;
}

.chart-legend-items {
    float: left;
    width: 50%;
    margin-top: 10px;
    box-sizing: border-box;
    padding-left: 10px;
    padding-right: 10px;
}

.chart-legend-item {
    margin-bottom: 3px;
}

.chart-legend-icon {
    float: left;
    width: 30px;
    text-align: center;
}

.chart-legend-content {
    margin-left: 30px;
}

@media screen and (max-width: 990px) {

    .dash-left, .dash-right {
        float: none;
        width: 100%;
    }

}

@media screen and (max-width: 800px) {

    .dash-counter-section {
        width: 100%;
        margin-bottom: 30px;
    }

}

@media screen and (max-width: 400px) {

    .dash-counter-chart-wrapper, .dash-counter-section .chart-legend-items {
        width: 100%;
    }

}

ul.dash-items {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

ul.dash-items li {
    display: inline-block;
    vertical-align: middle;
}

ul.dash-items li a {
    display: block;
    text-align: center;
    width: 120px;
    padding: 10px 5px;
    border: 1px solid #e4e4e4;
    border-radius: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
    vertical-align: middle;
}

ul.dash-items li a i {
    display: block;
    font-size: 34px;
    margin-bottom: 10px;
}

@media screen and (max-width: 800px) {

    ul.dash-items li a {
        width: 100px;
        padding: 3px;
        margin-right: 5px;
        margin-bottom: 5px;
    }

    ul.dash-items li a i {
        font-size: 22px;
        margin-bottom: 5px;
    }

}

.sc-results, .sa-results {
    height: 500px;
    overflow-y: scroll;
    padding: 0px 10px 0px 0px;
    margin-top: 10px;
}

.sc-count, .sa-count {
    margin-top: 20px;
    font-size: 12px;
    color: #777777;
}

.sc-search-adv, .sa-search-adv {
    margin-top: 10px;
    position: relative;
}

.sc-search-adv label, .sa-search-adv label {
    margin-right: 10px;
}

.sc-clear, .sa-clear {
    position: absolute;
    top: 0px;
    right: 0px;
}

.result-item {
    background-color: #ffffff;
    border: 1px solid #e4e4e4;
    border-radius: 3px;
    padding: 5px;
    margin: 5px 0px;
    cursor: pointer;
}

.result-item:hover {
    background-color: #fafafa;
}

.result-item-side {
    float: left;
    width: 40px;
    text-align: center;
}

.result-item-picture-wrapper {
    background-color: #3f8561;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-align: center;
    overflow: hidden;
}

.result-item-picture-wrapper span {
    line-height: 40px;
    font-size: 22px;
    font-weight: bold;
}

.result-item-picture-wrapper img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.result-item-content {
    margin-left: 50px;
}

.result-item-name {
    font-weight: bold;
}

.result-item-desc {
    font-style: italic;
}

.icon-contact-type {
    color: #ffffff;
    font-size: 26px;
    line-height: 40px;
}

.icon-card-contact-type {
    color: #ffffff;
    font-size: 46px;
    line-height: 100px;
}

.contact-card-side {
    float: left;
    width: 100px;
    text-align: center;
}

.contact-card-content {
    margin-left: 120px;
}

.contact-card-picture-wrapper {
    background-color: #3f8561;
    color: #ffffff;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    text-align: center;
    overflow: hidden;
    margin: auto;
}

.contact-card-picture-wrapper img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
}

.contact-card-name {
    font-weight: bold;
}

ul.contact-card-links {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
    margin-top: 20px;
}

ul.contact-card-links li {
    display: inline-block;
    margin-right: 5px;
}

ul.contact-card-links li .icon {
    font-size: 22px;
}

.contact-card-side ul.contact-card-links li .icon {
    font-size: 16px;
}

@media screen and (max-width: 460px) {

    .contact-card-side {
        float: none;
        width: 100%;
        margin-bottom: 20px;
    }

    .contact-card-content {
        margin-left: 0px;
    }

}

.sidebar {
    width: 200px;
    background-color: #f3f3f3;
    padding: 20px;
    float: left;
}

.side-container {
    margin-left: 260px;
}

.sidebar ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

.sidebar ul li {
    margin-bottom: 3px;
}

.sidebar ul li a {
    display: block;
    padding: 5px;
    color: #4fa679;
    font-weight: bold;
}

.sidebar ul li a:hover, .sidebar ul li a.active {
    text-decoration: none;
    background-color: #ffffff;
    color: #444444;
    border-radius: 5px;
}

.dlg-activity-card-statuses ul {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

.dlg-activity-card-statuses ul li {
    display: inline-block;
    margin-right: 10px;
    margin-bottom: 10px;
    cursor: pointer;
}

ul.pre-selection {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
}

ul.pre-selection li {
    margin-bottom: 5px;
}

ul.pre-selection li a {
    display: block;
    border: 1px solid #e4e4e4;
    border-radius: 5px;
    padding: 10px;
    text-align: center;
    text-decoration: none;
}

ul.pre-selection li a:hover {
    background-color: #e4f4f4;
    transition: 0.3s;
}

.icon-tl-remove {
    position: absolute; 
    top: 10px;
    right: 12px;
}

.icon-tl-delete {
    position: absolute;
    top: 35px;
    right: 10px;
}

.notification {
    background-color: #ffe0e0;
    color: #ff0000;
    font-weight: bold;
    padding: 20px;
    cursor: pointer;
}

.form-column {
    width: 50%;
    float: left;
    padding-right: 10px;
    box-sizing: border-box;
}

@media screen and (max-width: 900px) {

    .form-column {
        width: 100%;
        float: none;
        padding-right: 0px;
    }
}

.icon-up {
    display: none;
    position: fixed;
    right: 5px;
    bottom: 30px;
    font-size: 40px;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(.25,.8,.25,1);
}
