body,html{
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body{
    font-size: 13px;
    font-weight: normal;
    color: #666666;
    background: #f7f7f7;
}

a{
}
a:hover{
    text-decoration: none;
}

a,
a:active,
a:focus,
a:visited
{
    outline: none;
    -moz-outline-style: none;
}

:focus {
    -moz-outline-style: none;
    outline: none;
}

input::-moz-focus-inner {
    border: 0;
}

iframe{
    border: none;
    outline: none;
}

.table{display: table; margin-bottom: 0}
.cell{display: table-cell;vertical-align: middle}

.clearfix:after, .clearfix:before{
    content: "";
    clear: both;
    display: block;
    float: none;
    visibility: hidden;
}

.left{text-align: left}
.right{text-align: right}
.center{text-align: center}
.centered{margin: 0 auto}
.clear{clear: both}
.justify{
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
    -moz-hyphens: auto;
    -ms-hyphens: auto;
}

.ten{width: 10%}
.twenty{width: 20%}
.twentyFive{width: 25%}
.thirty{width: 30%}
.thirtyThree{width: 33%}
.btn-group .thirtyThree:last-child{width: 34%}
.forty{width: 40%}
.fortyFive{width: 45%}
.fifty{width: 50%}
.fiftyFive{width: 55%}
.sixty{width: 60%}
.seventy{width: 70%}
.eighty{width: 80%}
.ninety{width: 90%}
.full{width: 100%;height: 100%}
.fullHeight{height: 100%}
.fullWidth{width: 100% !important;}

.inlineBlock{display: inline-block !important;}
.block{display: block !important;}
.top{vertical-align: top !important;}
.middle{vertical-align: middle !important;}
.bottom{vertical-align: bottom !important;}
.relative{position: relative !important;}
.absolute{position: absolute !important;}

.padding0{padding: 0 !important; }
.padding10{padding: 10px !important;}
.padding20{padding: 20px !important;}
.padding30{padding: 30px !important;}
.padding40{padding: 40px !important;}
.paddingHorizontal10{padding: 0 10px !important;}
.paddingHorizontal20{padding: 0 20px !important;}
.paddingHorizontal30{padding: 0 30px !important;}
.paddingHorizontal40{padding: 0 40px !important;}
.paddingVertical10{padding: 10px 0 !important;}
.paddingVertical20{padding: 20px 0 !important;}
.paddingVertical30{padding: 30px 0 !important;}
.paddingVertical40{padding: 40px 0 !important;}
.paddingTop0{padding-top: 0 !important;}
.paddingTop20{padding-top: 20px !important;}
.paddingTop10{padding-top: 10px !important;}
.paddingBottom20{padding-bottom:20px !important;}
.paddingRight0{padding-right: 0 !important;}
.paddingRight10{padding-right: 10px !important;}
.paddingRight20{padding-right: 20px !important;}
.paddingLeft20{padding-left:20px !important;}
.paddingLeft25{padding-left:25px !important;}
.paddingRight40{padding-right: 40px !important;}
.paddingLeft10{padding-left:10px !important;}
.paddingLeft40{padding-left:40px !important;}
.paddingTop40{padding-top: 40px !important;}
.paddingBottom40{padding-bottom: 40px !important;}

.margin0{margin: 0 !important;}
.margin5{margin: 5px !important;}
.margin10{margin: 10px !important;}
.marginTop0{margin-top: 0 !important;}
.marginTop5{margin-top: 5px !important;}
.marginTop8{margin-top: 8px !important;}
.marginTop10{margin-top: 10px !important;}
.margin20{margin: 20px !important;}
.marginHorizontal5{margin: 0 5px!important;}
.marginHorizontal10{margin: 0 10px!important;}
.marginHorizontal20{margin: 0 20px!important;}
.marginHorizontal30{margin: 0 30px!important;}
.marginVertical15{margin: 15px 0 !important;}
.marginVertical20{margin: 20px 0 !important;}
.marginVertical40{margin: 40px 0 !important;}
.marginRight5{margin-right: 5px !important;}
.marginRight10{margin-right: 10px !important;}
.marginRight20{margin-right: 20px !important;}
.marginLeft10{margin-left: 10px !important;}
.marginLeft20{margin-left: 20px !important;}
.marginTop20{margin-top: 20px !important;}
.marginBottom10{margin-bottom: 10px !important;}
.marginBottom20{margin-bottom: 20px !important;}
.marginBottom0{margin-bottom: 0 !important;}
.marginRight40{margin-right: 40px !important;}
.marginLeft5{margin-left: 5px !important;}
.marginLeft40{margin-left: 40px !important;}
.marginTop40{margin-top: 40px !important;}
.marginBottom40{margin-bottom: 40px !important;}
.marginRightBottom20{margin: 0 20px 20px 0 !important;}
.marginRightBottom40{margin: 0 40px 40px 0 !important;}
.marginLeftBottom20{margin: 0 0 20px 20px !important;}
.marginLeftBottom40{margin: 0 0 40px 40px !important;}

.borderTop0{border-top:0 !important;}
.borderBottom0{border-bottom:0 !important;}

.capsFirst{
    display: inline-block;
}

.capsFirst:first-letter{
    text-transform: uppercase;
}

#flash {
    position: fixed;
    top: 50px;
    z-index: 10001;
    width: 100%;
    text-align: center;
}

#flash.ng-hide-add{
    display: block !important;
    animation: zoomOut 0.5s;
    -moz-animation: zoomOut 0.5s;
    -webkit-animation: zoomOut 0.5s;
}

#flash.ng-hide-remove{
    animation: zoomIn 0.5s;
    -moz-animation: zoomIn 0.5s;
    -webkit-animation: zoomIn 0.5s;
}

#flash .alert{
    display: inline-block;
}

#flash a .glyphicon-remove,
#flash .glyphicon-remove
{
    color: inherit !important;
}

#flash .alert a{
    margin-left: 5px;
    padding:0;
    vertical-align: middle;
    position: relative;
    top: 2px;
}

#flash .alert-success a{color: #3C763D}
#flash .alert-info a{color: #31708F}
#flash .alert-warning a{color: #8A6D3B}
#flash .alert-danger a{color: #A94442}

.btn .badge{
    margin-left: 5px;
}

#loginForm{
    max-width: 500px;
}

#loginForm h1{
    letter-spacing: -0.02em;
    color: #666666;
    font-size: 30px;
}

#loginForm h1 b{
    font-size: 20px;
}

#loginForm .panel-body{
    padding: 20px;
}

#menu{
    border-radius: 0;
}

#menu .navbar-brand{
    background: url("../img/logo.svg") no-repeat left center / auto 40px;
    padding-left: 50px;
    margin-left: 20px;
}

.modal-header .close{
    font-size: 14px;
    position: absolute;
    right: 10px;
    top:22px;
}

.modal-footer{
    margin-top: 0;
}

/* Folders */

.folder {
    padding: 10px;
    text-decoration: none;
    transition: background 0.5s;
}

.folder a{
    transition: color 0.5s;
}

.folder.active,
.folder.active:hover  {
    background-color: rgba(66,139,202,1);
}

.folder.active > a, .folder.active > span.glyphicon{
    color: #ffffff;
}

.folder.active .badge{
    background-color: rgba(0,0,0,0.5);
}

.folder:hover {
}

.folder a:hover,
.folder a:active,
.folder a:focus{
    text-decoration: none !important;
    outline: none !important;
}

.folders .folders{
    padding-left: 20px
}

.folders .folders li > .folder{
    background-image: url("../img/assets/nested.png");
    background-repeat: no-repeat;
    background-position: left center;
    padding-left: 20px;
    transition: background-color 0.5s;
    position: relative;
}

.folders .folders li:last-child > .folder{
    background-image: url("../img/assets/nested-last.png");
}

.folders .folders li > .folder.open {
    background-image: url("../img/assets/nested-last.png");
    background-repeat: no-repeat;
    background-position: left center;
}

.folders .folders li > .folder .handle{
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 13px;
    background: url("../img/assets/grip.svg") no-repeat center;
}

.folders .folders li > .folder .handle:hover{
    cursor: move;
}

.folder-placeholder {
    padding: 0;
    min-height: 30px;
    background: #fcf8e3;
    border: 1px solid rgba(138,109,59,0.3);
    box-shadow: inset 0 0 10px 0 rgba(138,109,59,0.2);
}

/*End of Folders*/

/*FILES*/

.files .file{
    padding: 10px;
    border-bottom: 1px solid #EEEEEE;
    transition: background-color 0.5s;
}

.files li:last-child .file{
    border-bottom: none;
}

.files .file figure{
    position: relative;
}

.files .file figure span{
    position: absolute;
    width: 100%;
    bottom: 10px;
    text-align: center;
    font-size: 8px;
    text-transform: uppercase;
    color: #ffffff;
}

.files .file figure .thumbnail{
    margin: 0;
}

.files .file .media-heading{
    font-size: 13px;
}

.files .file .media-heading a{
    transition: color 0.5s;
}
.files .file .media-heading a:hover{
    text-decoration: none;
}

.files .file .media-body,
.files .file .glyphicon-time
{
    font-size: 11px;
    color: #c0c0c0;
    cursor: default;
}

.files .file .stamp{
    display: inline-block;
}

.files .file .stamp:first-letter{
    text-transform: uppercase !important;;
}

.files li:hover .file{
    background-color: rgba(66,139,202,0.1);
}

.width50{ width: 50px}
/*End of Files*/

/*Panel*/
.panel-body{
    padding: 0;
}
/*End of Panel*/

/*Pagination*/
.pagination{
    margin: 0;
    vertical-align: top;
}
/*End of Pagination*/

/*Messages*/
.messages .message{
    padding: 10px;
    transition: 0.5s;
    position: relative;
}

.messages li .message{
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.messages li.active .message{
    background-color: rgba(66,139,202,1);
    color: #ffffff;
}

.messages li.active .message .media-heading,
.messages li.active .message .media-body,
.messages li.active .message .clip,
.messages li.active .message .stamp,
.messages li.active .message .media-body .inlineBlock.middle,
.messages li.active .message .media-body .inlineBlock.middle .glyphicon-time,
.messages li.active .message .media-body .inlineBlock.middle .glyphicon-paperclip
{
    color: #ffffff !important;
}

.messages li:last-child .message{
    border-bottom: none;
}

.messages .message .stamp,
.messages .message .clip
{
    position: absolute;
    right: 5px;
    color: #c0c0c0;
    font-size: 11px;
    display: inline-block;
}

.messages .message .stamp:first-letter{
    text-transform: uppercase;
}

.messages .message .stamp{
    top: 5px;
}
.messages .message .clip{
    bottom: 5px;
}


.messages .message .thumbnail{
    margin: 0;
}

.messages .message .media-heading{
    color: #4d4d4d;
    font-weight: bold;
}

.messages .message .media-body{
    color: #999999;
}

.messages .message .media-body .inlineBlock.middle,
.messages .message .media-body .inlineBlock.middle .glyphicon-time
{
    font-size: 11px;
    color: #c0c0c0;
    cursor: default;
}

.messages .message figure.thumbnail img{
    max-width: 50px;
    max-height: 50px;
}

.messages a,
.messages a:hover,
.messages a:hover *
{
    text-decoration: none !important;
}

.messages .message.unRead{
    background-color: rgba(66,139,202,0.1);
}

.messages a:hover .message{
    background-color: rgba(66,139,202,0.15);
}

.messages a.active .message.unRead{
    background-color: rgba(66,139,202,1);
}

.messages a.active .message *{
    color: #ffffff;
}
#message{
    min-height: 550px;
    background:
    url("../img/assets/stamp.jpg") no-repeat right 30px top 30px,
    url("../img/assets/stamp2.jpg") no-repeat right 30px bottom 30px;
    padding-right: 200px !important;
}

#message .media-heading h1{
    margin-top: 0;
    color: #000000;
    font-size: 28px;
}
#message .media-heading h1 time{
    font-size: 14px;
    margin-top: 0;
    color: #666666;
    cursor: default;
}

#message .body{
    font-size: 15px;
}

/*End of Messages*/

/*Dropdown Menu*/
.dropdown-menu{
    max-height: 250px;
    overflow-x: hidden;
    overflow-y: auto;
}

.dropdown-menu.multi-level,
.dropdown-menu.multi-level .dropdown-menu
{
    max-height: none;
    overflow: visible;
}

.dropdown-menu > li >label {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}

.dropdown-menu li,
.dropdown-submenu{
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-submenu > a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #ccc;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}
/*End of Dropdown Menu*/

/*Sortable*/
.sortable-placeholder{
    display: block;
    width: 100%;
    height: 40px;
    border: 1px dotted #C0C0C0;
    background: #F7F7F7;
}
/*End of Sortable*/

label.active .thumbnail{
    background-color: rgba(66,139,202,0.1);
}

.modal-body .col-md-4.col-lg-4 label{
    display: block;
    width: 100%;
}

.modal-body .col-md-4.col-lg-4 label input[type="checkbox"]{
    margin-right: 5px;
}

/* Groups */

.groups .group {
    padding: 10px;
    border-bottom: 1px solid #EEEEEE;
}

.groups li:last-child .group{
    border-bottom: none;
}

.groups .group {
    text-decoration: none;
    transition: background 0.5s;
}

.groups .group:hover > a:hover{
}
.groups .group a{
    transition: color 0.5s;
}

.groups .group.active,
.groups .group.active:hover
{
    background-color: rgba(66,139,202,1);
}

.groups .group.active > a,
.groups .group.active > span.glyphicon{
    color: #ffffff;
}

.groups .group.active .badge{
    background-color: rgba(0,0,0,0.5);
}

.groups .group a:hover,
.groups .group a:active,
.groups .group a:focus
{
    text-decoration: none !important;
    outline: none !important;
}

/*End of Groups*/

/*Contacts*/

.contacts .contact{
    padding: 10px;
    border-bottom: 1px solid #EEEEEE;
    transition: background-color 0.5s;
}

.contacts li:last-child .contact{
    border-bottom: none;
}

.contacts .contact figure{
    position: relative;
}

.contacts .contact figure .thumbnail{
    margin: 0;
    max-width: 50px;
}

.contacts .contact .media-heading h1{
    font-size: 13px;
    color: #000000;
    margin: 0;
}

.contacts .contact .media-heading h2{
    font-weight: 400;
    text-transform: uppercase;
    font-size: 10px;
    letter-spacing: 0.02em;
    margin: 5px 0 0 0;
    color: #666666;
}

.contacts .contact .media-heading a{
    transition: color 0.5s;
}
.contacts .contact .media-heading a:hover{
    text-decoration: none;
}

.contacts .contact .media-body,
.contacts .contact .glyphicon-time
{
    font-size: 11px;
    color: #c0c0c0;
    cursor: default;
}

.contacts .contact .stamp{
    display: inline-block;
}

.contacts .contact .stamp:first-letter{
    text-transform: uppercase !important;;
}

.contacts li:hover .contact{
    background-color: rgba(66,139,202,0.1);
}

.width50{ width: 50px}
/*End of Contacts*/

/*Print List*/
#printList{
    width: 100%;
    padding: 0;
    margin: 0;
}

#printList tr.even td{
    background: rgba(0,0,0,0.02);
}

#printList td{
    vertical-align: top;
    padding: 10px;
}

#printList .media,
#printLabels .media
{
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

#printList h4,
#printLabels h4
{
    margin: 0;
    font-size: 18px;
}

#printList h5,
#printLabels h5
{
    margin: 4px 0;
    color: #999999;
    font-weight: normal;
    font-size: 14px;
}

#printList h6,
#printLabels h6
{
    margin: 0;
    color: #c0c0c0;
    font-weight: normal;
    font-size: 12px;
}

#printLabels .panel-heading
{
    background: rgba(0,0,0,0.05);
}

#printLabels .panel-body
{
    font-size: 14px;
    padding: 10px;
}

#printLabels .panel-footer
{
    background: rgba(0,0,0,0.01);
    color: rgba(0,0,0,0.5);
    font-size: 11px;
    border-top-color: rgba(0,0,0,0.03);
}

#printLabels article
{
    max-width: 400px;
}
/*End of Print List*/