body{
    margin:0;
    padding:0;
    line-height: 1.5em;
    height: 100%;
    background: #394A5A;

}

html{
    height: 100%;
}

#main{
    height: 100%;
}

#top{
    background: #367cc3;
    color: #FBFEF9;
    min-height: 50px;
}

#wrapper{
    min-height: 100%;
    float: left;
    width: calc(100% - 200px);
    background: #ECEDEF;
}

#wrapper.archive{
    background: #FFFFFF;
}

.container-fluid{
    padding-left: 30px;
}

#column{
    background: #ECEDEF;
}

#menu{
    font-family: "HelveticaNeue-Light", "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    float: left;
    width: 200px;
    height: 100%;
    background: #394A5A;
    color: #DCE3E8;
    margin: 0;
}

#menu > ul a {
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 0 20px;
    height: 50px;
    line-height: 50px;
    overflow: hidden;
    -ms-text-overflow: ellipsis;
    text-overflow: ellipsis;
}

label {
    font-weight: normal;
    color: #27323e;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 100%;
}

.form-group {
    margin-bottom: 20px;
}

.gensettings button[type=submit] {
    padding: 10px 30px;
    margin: 0 5px;
    text-transform: uppercase;
}

.advanced_settings label {
    text-transform: none;
}

.gensettings .desc {
    color: #525f6d;
    font-size: 11px;
}

#menu > ul a {
    color: inherit;
}

#menu > ul > li > a {
    text-transform: uppercase;
    color: white;
}

#menu .current {
    background-color: #28323e;
}

#menu > ul > li > ul {
    display: none;
    font-size: small;
    color: #adb6c1;
}

#menu > ul > li.current a {

}

#menu > ul > li.current > ul {
    display: inline;
}

#menu > ul > li.current > ul > li.current > a, #menu > ul > li > ul > li > a:hover  {
    border-left: 4px solid #367cc4;
    background-color: white;
    color: black;
}

/*#menu > span, #menu > ul > li {*/
    /*padding: 0 20px;*/
    /*display: block;*/
    /*height: 50px;*/
    /*line-height: 50px;*/
    /*overflow: hidden;*/
    /*text-overflow: ellipsis;*/
    /*color: white;*/
/*}*/

/*#menu > span {*/
    /*text-transform: uppercase;*/
/*}*/

/*#menu > ul > li {*/
    /*font-size: small;*/
    /*color: #aab4bd;*/
/*}*/

/*#menu a {*/
    /*color: inherit;*/
    /*text-decoration: none;*/
    /*display: block;*/
/*}*/

/*#menu .selected {*/
    /*background-color: #28323e;*/
/*}*/

/*#menu .active {*/
    /*border-left: 4px solid #367cc4;*/
    /*background-color: white;*/
    /*color: black;*/
/*}*/

.logout{
    float: right;
    background: #23588c;
    height: 100%;
    text-align: center;
    padding: 14px 15px 15px;
    display: inline-block;
    margin-top: 0;
}

.logout a, .logout a:link, .logout a:visited, .logout a:active, .logout a:hover {
    color: #FBFEF9;
    text-decoration: none;
}

.mxwidth{
    max-width: 500px;
}

.mxwidth2{
    max-width: 700px;
}

.mxwidth3{
    background: #ffffff;
}

.logo{

}

#logo-container {
    margin-bottom: 80px;
    padding-left: 20px;
    background-color: #27323e;
    height: 50px;
    line-height: 50px;
    vertical-align: middle;
}

#top .headline{
    padding-top: 14px;
    padding-left: 30px;
    display: inline-block;
    font-size: 1.1em;
    white-space: nowrap;
}

ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
}

h1, h2, h3{
    color: #367cc3;
    font-size: 21px;
    letter-spacing: 1px;
}

.space{
    padding-top: 15px;
    padding-bottom: 15px;
}

.space2{
    padding-top: 35px;
    padding-bottom: 35px;
}

.space3{
    padding-top: 50px;
    padding-bottom: 50px;
}

.space4{
    padding-top: 60px;
    padding-bottom: 60px;
}

.spacepx{
    padding-top: 1px;
    padding-bottom: 1px;
}

.space2px{
    padding-top: 4px;
    padding-bottom: 4px;
}

.paddingl20{
    padding-left: 20px;
}

.paddingl30{
    padding-left: 30px;
}

.paddingr6{
    padding-right: 6px;
}

.paddingr10{
    padding-right: 10px;
}

.paddingr40{
    padding-right: 40px;
}

.paddingr47{
    padding-right: 47px;
}

.paddingt10{
    padding-top: 25px;
}

.marginl26{
    margin-left: 26px;
}
.marginl51{
    margin-left: 51px;
}

.marginl12{
    margin-left: 26px;
}

.marginm{
    margin-right:88px;
}

.width400{
    width: 400px;
}

.inlineblock{
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
    height: 34px;
    max-width: 428px;
    width: 100%;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.inlineblock2{
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
    height: 34px;
    width: 150px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.inlineblock3{
    display: inline-block;
    margin-bottom: 0;
    margin-top: -5px;
    margin-left:-25px;
    vertical-align: middle;
    height: 34px;
    width: 400px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.calendar{
    white-space: nowrap;
    vertical-align: middle;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: normal;
    line-height: 1;
    color: #555;
    text-align: center;
    background-color: #fff;
    border-right: 1px solid #ccc;
    border-radius: 4px;
    position: relative;
    margin-left: -42px;
    margin-top: -2px;
}

.load{
    background: #D9D9D9;
    display: inline;
    padding: 10px;
    color: #707070;
}

.load a{
    color: #707070;
    text-decoration: none;
    color: #000000;
}

.select, .select:hover{
    color: #707070;
    text-decoration: none;
}

.filter-container{
    background: #ECEDEF;
}

.charts-container{
    background: #FFFFFF;
    background-image: url("../img/arrow.jpg");
    background-repeat: no-repeat;
    background-position-x: 870px;
}

.filter{
    max-width: 1000px;
}

.charts{
    padding-top: 12px;
}

.charts li {
    list-style: none;
    padding: 0;
    display: inline-block;
    width: 180px;
    background-color: #f7fcff;
    margin: 10px 10px 15px;
    border: #efefef 2px solid;
}

.charts hr {
    border: #E8E8EA 2px solid;
    border-radius: 5px;
    margin: 7px 30px 7px 0;
}

.chart-heading {
    color: #759DCB;
    background-color: #D9D9D9;
    font-size: xx-small;
    padding: 5px;
}

.chart-paid{
    background: #367cc3;
    color:#E0EAF0;
}

.chart-heading img {
    max-height: 10px;
}

.chart-key {
    color: #b2b8c4;
    font-size: small;
}

.chart-content {
    padding: 10px 8px 15px;
}

.chart-paid-status {
    text-align: center;
    display: inline-block;
    min-width: 65px;
    background-color: #E5E5E5;
    padding: 1px;
    border: #EEEEEE 1px solid;
    border-radius: 20px;
    color: #808080;
}

.chart-paid-status-paid {
    background-color: #54CC12;
    border-color: #5acb09;
    color: #FAF0F6;
}

.paid-submenu {
    display: none;
    position: relative;
    width: 0;
    height: 0;
}

.triangle-bottom {
    position: absolute;
    left: 127px;
    bottom: 14px;
}

.paid-submenu > div {
    position: absolute;
    bottom: 25px;
    left: 63px;
    width: 170px;
    border-radius: 5px;
    background-color: #27323e;
    text-align: center;
    opacity: 0.95;
    line-height: 40px;
    vertical-align: middle;
}

.paid-submenu a {
    color: white;
    text-decoration: none;
}

.arrow{
    top:0;

}

#showmenu-outer {
    display: none;
    position: relative;
    width: 0;
    height: 0;
}

#showmenu {
    display: inline-block;
    background: #27323e url(../img/hamburger.png) no-repeat center center;
    width: 50px;
    height: 50px;
    text-decoration: none;
    color: inherit;
}

.btn-primary, .btn-success {
    background-image: none;
    filter: none;
}

.btn {
    border: none;
    border-radius: 20px;
}

.btn-primary {
    background-color: #367cc3;
}

.btn-success, .btn-success[disabled] {
    background-color: #53cc12;
    text-transform: uppercase;
}

.treatment-remove {
    display: inline-block;
    min-width: 22px;
    min-height: 22px;
    background-image: url('../img/treatment-remove.png');
    text-decoration: none;
    color: inherit;
}

.send-subheading {
    font-size: small;
}

.reg-nav li {
    display: block;
    float: left;
    background: url('../img/step-blue.png') repeat-x;
    color: white;
    width: 100px;
    height: 32px;
    line-height: 32px;
    vertical-align: middle;
    text-align: center;
    position: relative;
    margin: 0 0 0 23px;
}

.reg-nav li > div:last-child {
    width: 31px;
    height: 100%;
    background: url('../img/step-arrow-blue.png') no-repeat;
    position: absolute;
    top: 0;
    left: 99px;
    z-index: 1;
}

.reg-nav li > div:first-child {
    width: 31px;
    height: 100%;
    background: url('../img/step-round.png') no-repeat;
    position: absolute;
    top: 0;
    left: -20px;
}

.reg-nav .active~li > div:last-child {
    background: url("../img/step-arrow-white.png") no-repeat;
}

.reg-nav .active~li > div:first-child {
    background: url("../img/step-round-white.png") no-repeat;
}

.reg-nav li.active~li {
    background-image: url('../img/step-white.png');
    color: inherit;
}

.reg-nav li a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 32px;
    vertical-align: middle;
    color: inherit;
    text-transform: uppercase;
}

.reg-nav li a:hover {
    text-decoration: none;
}

.form-control {
    box-shadow: inset 2px 2px 2px rgba(0, 0, 0, .075);
}

.formmargin {
    margin-bottom: 100px;
}

.calendar-item {
    width: 45%;
    float: left;
    position: relative;
}

.calendar-to {
    line-height: 34px;
    vertical-align: middle;
    text-align: center;
    width: 10%;
    float: left;
}

.cal-wrapper {
    position: absolute;
    right: -3px;
    top: 4px;
}

.filter-container .inlineblock {
    max-width: none;
}

.filter-container .row {
    margin: 10px 0;
}

.button-row > div {
    line-height: 34px;
    vertical-align: middle;
}

.filter-container label {
    line-height: 34px;
    vertical-align: middle;
}

.select2-container {
    width: 100% !important;
}

.select2-results__option {
    min-height: 33px;
}

.button-row button, .button-row input[type="submit"] {
    padding: 5px 15px;
}

.button-row .paidunpaid input[type="checkbox"] {
    margin-right: 5px;
}

@media (min-width: 601px){
    #menu{
        display: block !important;
    }
    #email-dialog {
        margin: 0;
        position: absolute !important;
        left: 200px;
        top: 170px;
    }
    #charts-mass-send.current, #charts-mass-export.current {
        position: relative;
        z-index: 2000;
    }
    #email-dialog > div {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .acclist-container {
        margin: 0 40px;
    }
}

@media (max-width: 600px){

    #showmenu-outer {
        display: block;

    }

    #showmenu-outer.active {
        left: 200px;
        top: 0;
        z-index: 9999;
        position: absolute;
    }

    #top .headline {
        padding-left: 80px;
    }

    #wrapper{
        width: 100%;
    }

    #menu{
        display: none;
        position: fixed;
        overflow: auto;
        z-index: 999999;
    }

    #column{
        margin-left: 0;
    }

    img{
        max-width: 400px;
    }
}