/*!***************************************************************
 * InServio Partners Management
 * 
 * By : Sulliman Aïad <info@sullimanaiad.com>
 *
 * To see full and uncompiled LESS source-code,
 * replace all occurences of "css" by "less"
 * in the URL of the current file.
 *****************************************************************/

.lightblue {
    color: #31708f !important;
}

.darkorange {
    color: darkorange !important;
}

ul#tabs li a {
    padding-left: 12px;
    padding-right: 12px;
}

        .alert.alert-purple {
            background-color: #F0EBF2;
            border-color: #DFC2F0;
            color: #9A5CBF;
        }
        
        .alert.alert-purple hr {
            border-top-color: #DFC2F0 !important;
        }
        #template_list {
        margin-left: -5px;
        margin-right: -5px;
    }
    
    .template_box {
        display: inline-block;
        width: 180px;
        height: 190px;
        border: 1px solid gray;
        border-radius: 10px !important;
        text-align: center;
        font-size: 18px;
        overflow: hidden;
        margin: 5px;
        padding: 5px;
        position: relative;
    }
    
    .template_title {
        display: block;
        line-height: 20px;
    }
    
    .box_bottom {
        position: absolute;
        bottom: 3px;
        width: 100%;
        margin-left: -5px;
    }
    
    .alert_btn {
        display: block;
        width: 100%;
        margin-bottom: 3px;
        color: white;
        text-decoration: none;
        background-color: black;
        padding: 1px;
    }
    
    .alert_btn:hover, .alert_btn:active, .alert_btn:visited, .alert_btn:link, .alert_btn:focus {
        color: white !important;
    }
    
    .alert_red {
        background-color: #f20000;
    }
    
    .alert_blue {
        background-color: #008ef2;
    }
    
    .alert_orange {
        background-color: #e38000;
    }
    
    .alert_green {
        background-color: #4e9f0c;
    }
    
    .alert_purple {
        background-color: purple;
    }
    
    .template_box i {
        display: block;
        margin-bottom: 10px;
        font-size: 54px;
    }
    
    /* Specific icon adjustments */
    .template_box .glyphicon, .template_box .fas, .template_box .far, .template_box .fa, .template_box .fab {
        margin-top: 15px;
    }
    
    .template_box [class^="flaticon-"] {
        margin-bottom: 0 !important;
    }
    #loading, #loading_2 {
        position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.8); color: white; font-size: 40px; z-index: 9999999; text-align: center; padding-top: 300px;
    }
    .spin {
        animation-name: spin;
        animation-duration: 4000ms;
        animation-iteration-count: infinite;
        animation-timing-function: linear;
    }
    
    @keyframes spin {
        from {transform:rotate(0deg);}
        to {transform:rotate(360deg);}
    }
    
    html {
    height: 100%;
}

body {    
    font-family: sans-serif;
    color: #181818;
    height: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

#dashboard_header {
    background-color: #181818;
    height: 124px;
    width: 100%;
    border-bottom: 3px solid red;
    text-align: right;
    color: white;
    padding-right: 13px;
    padding-top: 8px;
    font-size: 28px;
}

#dasboard_header:not(.below_avatar) {
    text-shadow: 0 0 4px #181818;
}

#dashboard_header a, #dashboard_header a:visited, #dashboard_header a:hover {
    color: white;
    text-decoration: none;
}

#dashboard_header .image {
    background-position: left !important;
    background-repeat: no-repeat !important;
    height: 121px;
    width: 500px;
    max-width: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

#dashboard_header .logo {
    position: absolute;
    top: 35px;
    left: 35px;
    padding-left: 7px;
    padding-right: 7px;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: white;
    border: 1px solid black;
    box-shadow: 0px 0px 7px 1px rgba(0, 0, 0, 0.75);
    width: 165px;
}

#dashboard_header .logo_by_height {
    position: absolute;
    top: 35px;
    left: 35px;
    padding-left: 7px;
    padding-right: 7px;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: white;
    border: 1px solid black;
    box-shadow: 0px 0px 7px 1px rgba(0, 0, 0, 0.75);
    height: 153px;
}

.avatar {
    position: relative;
    float: right;
    padding: 10px;
    padding-left: 11px;
}

.avatar_image {
    width: 50px;
    height: 50px;
    background-size: cover;
    background-position: center center;
    box-shadow: inset 0px 0px 10px 1px rgba(0, 0, 0, 0.3);
    background-color: white;
}

#dashboard_header .avatar_right {
    position: relative;
    float: right;
    margin-top: 2px;
}

#dashboard_header .avatar_right .glyphicon {
    font-size: 22px;
    margin-right: 5px;
}

#dashboard_header .avatar_right .small_below {
    font-size: 22px;
    margin-top: -8px;
}

#dashboard_header .below_avatar {
    clear: both;
    position: absolute;
    top: 72px;
    right: 23px;
}

#dashboard_main {
    /*background-color: black;*/
    margin-left: 200px;
    font-size: 21px;
    color: #181818;
    height: calc(100% - 124px /* header */);
    padding: 12px;
    padding-top: 10px;
    line-height: 24px;
}

#dashboard_main .message, .welcome_client .message {
    font-size: 14px;
    float: right;
}

.welcome_client {
    font-size: 21px;
    color: #181818;
    line-height: 24px;
    padding: 12px;
    visibility: hidden; /* Shown in JS after padding calculation */
}

#dashboard_nav {
    /*background-color: red;*/
    margin-left: 35px;
    margin-top: 85px;
    width: 165px;
    height: calc(100% - 85px /* logo clearance */ - 124px /* header */);
    float: left;
    text-align: center;
    padding-top: 25px;
    font-size: 14px;
}

#dashboard_main section#central {
    /*background-color: greenyellow;*/
    position: absolute;
    top: 234px;
    left: 212px;
    height: calc(100% - 234px /* top value */);
    width: calc(100% - 212px /* top value */);
}

section#central .console .row {
    max-width: 1200px;
    margin-right: 27px !important;
    margin: 0;
}

section#central .console .row div {
    padding: 0;
    font-size: 15px;
}

.same_height {
    height: 200px;
    border-radius: 0;
}

.pad15 {
    padding: 10px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
}

#dashboard_buttons {
    /*background-color: red;*/
    margin-left: 35px;
    margin-top: 85px;
    width: 165px;
    height: calc(100% - 85px /* logo clearance */ - 124px /* header */);
    float: left;
    text-align: center;
    padding-top: 25px;
    font-size: 14px;
}

#dashboard_buttons .buttons {
    width: 100%;
    height: 379px;
    background-size: cover;
    background-position: center;
    border: 1px solid black;
    box-shadow: 0px 0px 7px 1px rgba(0, 0, 0, 0.15);
}

#dashboard_buttons .buttons a {
    color: white;
    font-size: 20px;
    text-shadow: 0 0 2px #000000;
    display: block;
    background-color: rgba(0, 0, 0, 0.3);
    text-decoration: none;
    padding-top: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid white;
}

#dashboard_buttons .buttons > a:first-child {
    border-top: 1px solid white;
    margin-top: 83px;
}

section#central.not_homepage .box {
    max-width: 1200px;
    width: calc(100% - 23px) !important;
}

section#central.not_homepage .box > div:first-child {
    padding: 0;
    padding-right: 5px;
}

section#central.not_homepage .box > div:last-child {
    padding-left: 5px;
    padding: 0;
}

section#central.not_homepage .box .alert {
    border-radius: 0;
    padding-top: 4px;
    padding-bottom: 4px;
    font-size: 15px;
    margin-bottom: 0;
}

section#central.not_homepage .box .alert a {
    text-decoration: none;
}

.btn-normal {
    margin-top: 12px !important;
    border-radius: 0 !important;
    font-variant: normal !important;
    font-size: 12px !important;
}

.btn-below {
    margin-top: 4px !important;
}

.appointment {
    font-size: 11px;
    padding-left: 5px;
    padding-right: 4px;
    padding-bottom: 3px;
    line-height: 18px;
    margin-top: 5px;
}

.appointment input[type=checkbox] {
    position: relative;
    top: 2px;
}

.green_bg {
    background-color: #dff0d8;
}

.orange_bg {
    background-color: #ffe8a3;
}

.red_bg {
    background-color: #f2dede;
}

.selected_bg {
    background-color: white;
    border: 1px solid black;
}

.strike {
    text-decoration: line-through;
}

.right_gray {
    float: right;
    color: gray;
}

table.user_stats {
    margin-top: 10px;
}

table.user_stats .head {
    font-size: 11px;
}

table.user_stats th {
    padding: 4px;
    text-align: center;
}

table.user_stats tbody tr {
    font-size: 16px;
    text-align: center;
    font-weight: bold;
}

.line18 {
    line-height: 18px;
}

section#central.not_homepage .box .well {
    margin-top: -1px;
    min-height: 296px;
    border-radius: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: 12px;
    font-family: Open Sans;
    color: black;
}

section#central.not_homepage .box .well.allround {
    padding: 15px !important;
}

.alert-warning {
    background-color: #FFE8A3 !important;
}

#dashboard_footer {
    position: absolute;
    margin-top: -115px;
    max-width: calc(1200px + 178px);
    width: calc(100% - 36px - 23px);
    height: 90px;
    margin-left: 36px;
    font-size: 20px;
    text-align: left;
    
    border: 1px solid black;
    background-color: white;
    padding: 20px;
    overflow: hidden;
}

.fc-helper {
    background-color: yellow;
    border-color: black;
    color: black !important;
}

.work {
    background-size: cover;
    border: 0;
    box-shadow: inset 64px 90px 148px -14px rgba(0, 0, 0, 0.5);
    animation: animatedBackground 20s linear infinite;
    text-shadow: 0 0 2px #000000;
}

.apps {
    font-size: 14px;
    margin: 0;
    margin-top: 10px;
}

.apps a {
    color: #CCCCCC;
    text-decoration: none;
    line-height: 20px;
    text-align: center;
}

section#central .row:not(.apps) {
    margin: 0;
}

section#central .colored_box {
     text-align: center;
     color: white;
     margin-left: -15px;
     margin-right: -15px;
     height: 66.4px; /* Extremely important */
     transition: background 0.25s;
}

section#central .colored_box .step_1 {
    padding-left: 3px;
    padding-top: 22px;
    font-size: 18px;
}

section#central .colored_box .step_1 .label {
    padding-left: 20px;
    padding-right: 0;
    margin-right: -15px;
    font-family: Open Sans !important;
    font-weight: lighter;
    text-align: left;
    font-size: 16px;
}

label {
    width: 100%;
}

section#central .colored_box .step_2 {
    display: none;
    padding-top: 9px;
}

section#central .colored_box .step_2 .button {
    padding: 0;
    padding-top: 3px;
    line-height: 22px;
    border-right: 1px solid white;
}

section#central .colored_box .step_2 .button:last-child {
    border: 0 !important;
}

section#central .colored_box .step_2 .button .step_links {
    pointer-events: none;
    color: white;
    font-family: sans-serif;
    text-decoration: none;
}

section#central .colored_box .step_2 .button .step_links small {
    display: block;
    font-size: 14px;
}

.project_container {
    overflow-x: scroll;
    overflow-y: hidden;
    height: 165px;
    width: calc(100% + 30px);
    margin-left: -15px;
    white-space: nowrap;
}

.project_box {
    display: inline-block;
    text-align: center;
    width: 130px;
    margin: 5px;
    line-height: 17px;    
}

.project_box .avatar_thumbnail {
    margin: 4px;
}

.project_box strong {
    display: inline-block;
    margin-bottom: 3px;
}

.project_box .glyphicon {
    font-size: 12px;
}

.avatar_thumbnail {
    display: inline-block;
    width: 70px;
    height: 70px;
    background-size: cover;
    background-position: center center;
    box-shadow: inset 0px 0px 10px 1px rgba(0, 0, 0, 0.3);
}

.form-control {
    border-radius: 0 !important;
}

.alert-dark {
    background-color: #383838;
    border-color: #383838;
    color: white;
}

.alert-dark a {
    color: white;
}

@keyframes animatedBackground {
    0% { background-position: 0 0; }
    40% { background-position: 100% 0; }
    50% { background-position: 100% 0; }
    90% { background-position: 0 0; }
}

.fc-view, .fc-widget-content {
    background-color: white !important;
}

.fc-view {
    box-shadow: 0px 0px 7px 1px rgba(0, 0, 0, 0.15);
    border: 1px solid black;
}

#calendar:not(.full) .fc-header-toolbar {
    display: none;
}

.fc-footer-toolbar {
    padding: 3px;
}

.fc-content {
    font-size: 14px;
    font-family: 'Roboto', Roboto, sans-serif;
    padding: 2px;
}

.fc-v-event {
    cursor: pointer;
}

.fc-short .fc-content {
    font-size: 16px !important;
}

.fc-bg {
    display: none;
}

.headerSortUp:after {
    content:' ▼'
}

.headerSortDown:after {
    content:' ▲'
}

.tablesorter th {
    cursor: pointer;
}

svg > g > g:last-child { pointer-events: none }

.btn:not(.excluded) {
    padding-top: 2px;
    padding-bottom: 2px;
    font-family: Abel;
    border-radius: 0;
    font-size: 17px;
}

.btn:not(.excluded) .glyphicon {
    font-size: 13px;
    margin-right: 4px;
}

.red {
    color: red;
}

.green {
    color: green;
}

.orange {
    color: orange;
}

.blue {
    color: blue;
}

@media(max-height: 740px) {
    #dashboard_footer {
        display: none;
    }
}

.list .fc-widget-header {
    pointer-events: none;
}

.list .fc-list-item {
    cursor: pointer;
}

.selected_date_container {
    font-weight: bold;
}

.selected_date_container td {
    background-color: #E0FFD1 !important;
}

.modal-content {
    border-radius: 0 !important;
    font-family: Open Sans;
}

.modal-content a.btn {
    margin-top: 5px;
    padding-top: 5px;
}

/* Apple fixes, TODO apply only on all Apple devices/safari */
/*@media only screen and (min-device-width : 768px) and (max-device-width : 1024px)  {
    * {
        font-weight: 400;
    }

    strong {
        font-weight: 700 !important;
        letter-spacing: -1px;
    }
}*/

.btn[disabled], .btn[disabled]:hover {
    background-color: gray !important;
    border-color: gray !important;
    opacity: 1 !important;
}

.btn[disabled]:active {
    pointer-events: none;
}

.table-striped > tbody > tr:nth-of-type(2n+1) {
    background-color: #f3f3f3;
}

.white-outline {
     text-shadow: -1px -1px 0 #fafafa, 0 -1px 0 #fafafa, 1px -1px 0 #fafafa,1px 0 0 #fafafa, 1px 1px 0 #fafafa, 0 1px 0 #fafafa, -1px 1px 0 #fafafa, -1px 0 0 #fafafa;
}

.triangle-border:not(.notriangle):before {
    content:"";
    position:absolute;
    bottom:-20px; /* value = - border-top-width - border-bottom-width */
    left:40px; /* controls horizontal position */
    border-width:20px 20px 0;
    border-style:solid;
    border-color:#5a8f00 transparent;
    /* reduce the damage in FF3.0 */
    display:block;
    width:0;
}

.triangle-border:not(.notriangle):after {
    content:"";
    position:absolute;
    bottom:-13px; /* value = - border-top-width - border-bottom-width */
    left:47px; /* value = (:before left) + (:before border-left) - (:after border-left) */
    border-width:13px 13px 0;
    border-style:solid;
    border-color:#5a8f00 transparent;
    /* reduce the damage in FF3.0 */
    display:block;
    width:0;
}

.triangle-border.left:not(.notriangle):before {
    top:2px; /* controls vertical position */
    bottom:auto;
    left:-25px; /* value = - border-left-width - border-right-width */
    border-width:15px 30px 15px 0;
    border-color:transparent #5bc0de;
}

.triangle-border.left:not(.notriangle):after {
    top:8px; /* value = (:before top) + (:before border-top) - (:after border-top) */
    bottom:auto;
    left:-21px; /* value = - border-left-width - border-right-width */
    border-width:9px 21px 9px 0;
    border-color:transparent #5bc0de;
}


.triangle-border.right:not(.notriangle):before {
    top:2px; /* controls vertical position */
    bottom:auto;
    left:auto;
    right:-30px; /* value = - border-left-width - border-right-width */
    border-width:15px 0 15px 30px;
    border-color:transparent #a7a7a7;
}

.triangle-border.right:not(.notriangle):after {
    top:8px; /* value = (:before top) + (:before border-top) - (:after border-top) */
    bottom:auto;
    left:auto;
    right:-21px; /* value = - border-left-width - border-right-width */
    border-width:9px 0 9px 21px;
    border-color:transparent #a7a7a7;
}

.triangle-border {
    position:relative;
    padding: 1px;
    padding-left: 5px;
    margin:1em 0 3em;
    border:5px solid #5a8f00;
    border-bottom: 2px solid #5a8f00;
    background-color: #5a8f00;
    color: white;
    /* css3 */
    -webkit-border-radius:10px !important;
    -moz-border-radius:10px !important;
    border-radius:10px !important;
}

.triangle-border.left {
    margin-left: 20px;
    background-color: #5bc0de;
    border-color: #5bc0de;
}

.triangle-border.right {
    margin-right:20px;
    /*text-align: right;*/
    margin-left: auto;
    background-color: #a7a7a7;
    border-color: #a7a7a7;
}

.triangle-border small {
    font-size: 10px;
}

.dz-default, .dz-preview {
    display: none;
}

#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 40px;
    z-index: 9999999;
    text-align: center;
    padding-top: 100px;
}

.spin {
    animation: spin 2s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@media(max-width: 400px) {
    .color-btn i {
        font-size: 35px !important;
    }
    
    .color-btn {
        font-size: 17px !important;
        padding-left: 5px !important;
        padding-right: 5px !important;
        padding-top: 10px !important;
    }
    
    .color-btn:not(.block-btn) {
        padding-top: 20px !important;
    }
    
    .alert, .well:not(.block-menu) {
        font-size: 12px !important;
        padding-left: 9px !important;
        padding-right: 9px !important;
    }
    
    .alert-dark, .keywords, textarea[name="sms"] {
        font-size: 12px !important;
    }
    
    .keywords {
        margin-top: 8px !important;
    }
    
    .robot {
        margin-top: -210px !important;
        height: 240px !important;
    }
    
    .block-menu .label {
        display: none;
    }
    
    .btn-to-resize {
        font-size: 14px !important;
        padding-left: 7px !important;
        padding-right: 7px !important;
    }
}

.hidden-xs-inline {
    display: none;
}

.visible-xs-inline {
    display: inline;
}

@media(min-width: 768px) {
    .hidden-xs-inline {
        display: inline !important;
    }

    .visible-xs-inline {
        display: none !important;
    }
}
    
.triangle-border small, .triangle-border .text {
    color: white !important;
}

.ui-accordion-header.ui-state-active {
    background-image: none;
    background-color: #ffba00;
}

.ui-accordion-header:not(.ui-state-active) {
    background-image: none;
    background-color: yellow;
}

*{border-radius:0 !important}@media print{a[href]:after{content:"" !important}.panel.search-widget-results{border:none}}html{height:100%}html body{margin:0;padding:30px 0 0 0;height:100%;font-family:Roboto}html body header{background-color:#004695;color:white;margin-top:-30px;padding:30px 55px 30px 55px;margin-bottom:40px}html body header h1,html body header h4{color:white}html body header nav{position:absolute;top:135px;right:205px;font-size:12px}html body header nav a,html body header nav a:hover{color:white;text-decoration:none}html body header .big-icon{position:absolute;top:47px;right:40px;font-size:125px}html body h1,html body h2{color:#004695}html body ul{list-style-type:square;color:#004695}html body ul li span.nocolor{color:#333333}html body label.full{width:100%}html body select[multiple]{border:none;border:1px solid #ddd;padding:10px}html body table[data-model="Information"] td:not(:last-child),html body table[data-model="Information"] th{text-align:center}html body .sticky-footer-wrapper{min-height:100%;height:auto !important;height:100%;margin:0 auto -6em}html body .sticky-footer-push{height:100px}html body footer{margin-bottom:20px;margin-top:50px;text-align:center;color:gray}html body a{color:#004695}html body a:hover{color:#04BFDB}html body .headerSortUp:after{content:' ▼'}html body .headerSortDown:after{content:' ▲'}html body .btn.btn-purple{color:white;background-color:#9742CA;border-color:#A735BD}html body .btn.btn-purple:hover{background-color:#7330A9;border-color:#A735BD}html body .btn.btn-purple:active{background-color:#7330A9;border-color:#A735BD}html body .main-color{color:#333333}html body .link-color{color:#004695}html body .link-hover-color{color:#04BFDB}html body .lowercase{text-transform:lowercase}html body .uppercase{text-transform:uppercase}html body .text20px{font-size:20px}html body .green{color:green}html body .red{color:red}html body .orange{color:orange}html body .purple{color:purple}html body .blue{color:blue}html body .brown{color:brown}html body .goldenrod{color:goldenrod}html body .notopmargin{margin-top:0}