* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
body {

    /*background: #f7f7f7;*/
    font-family: "Helvetica Neue", "HelveticaNeue-Light", "Helvetica Neue Light", 'Lato', Helvetica, Arial, "Lucida Grande", sans-serif;
    color: #808080;
    letter-spacing: 0.7px;
    font-weight: 300;
}

a, a:visited {
    color: #164F7D;
    text-decoration: none;
}

header li a:focus{
    color:#fff;
}

a:focus{
    color:#505050;
}

h1, h2, h3, h4, h5, h6 {
    color: #2F3645;
    font-weight: 100;
    text-transform: uppercase;
}
h1 {
    font-size: 2.3em;
}
h2 {
    font-size: 1.5em;
}
h3 {
    font-size: 1.7em;
}
h4 {
    font-size: 1.4em;
}
h5 {
    font-size: 1.2em;
}
h6 {
    font-size: 1em;
}

form label {
    text-transform: uppercase;
}
form select,
form input[type="text"],
form input[type="email"],
form input[type="password"] {
    height: 38px;
    padding: 0 16px;
    font-size: 1.2em;
    line-height: 38px;
    border-radius: 3px;
    font-weight: 300;
    border-color: #C2C2C2;
}
form input[type="text"],
form select,
form input[type="file"] {
    margin-top: 5px;
}
form select {
    font-size: 1.2em;
}
form .btn {
    height: 38px;
    line-height: 20px;
}

#email-table tr .btn{
    display: inline-block;
    visibility:hidden;
    vertical-align: top;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    color: #333 !important;
    margin: 0;
    border: none;
    border-radius: 3px;
    box-shadow: none;
    cursor: pointer;
    background: #ffffff;
    padding: 4px 10px;
    height: 1.5em;
    -moz-opacity: 0.70;
    -khtml-opacity: 0.70;
    opacity: 0.70;
    -ms-filter:"progid:DXImageTransform.Microsoft.Alpha"(Opacity=70);
    filter: progid:DXImageTransform.Microsoft.Alpha(opacity=70);
    filter:alpha(opacity=70);
    position:relative;
    right: -40px;
}

#email-table tr:hover .btn{
    visibility:visible;
}

.btn, .paginate_button {
    font-weight: 300;
    text-transform: uppercase;
}
a.btn.pink:visited,
.btn.pink {
    background: #2f3645 !important;
    color: #fff !important;
}

.units-row.success,
.units-row.error {
    padding: 20px 25px;
    background: #FCFCFC;
    font-size: 1.3em;
    font-weight: 300;
}

.empty {
    text-align: center;
    padding: 100px;
    font-size: 1.6em;
    color: #C7C7C7;
}
/* --------------------------------------------------------------------------------- */


.wrapper {
    margin: auto;
    width: 80%;
    max-width: 1100px;
}

header {
    background: #fff;
}
header .logo {
    margin: 20px 0 0 0;
    display: inline-block;
    max-height: 60px;
}

header .topbar {
    padding: 15px 0;
}
header .topbar .links {
    text-align: right;
    padding-top: 25px;
}
header .topbar .links .username {
    font-weight: 400;
    font-size: 1.2em;
    display: none;
}
header .topbar .links a {
}
header nav {
    display: block;
    background-color: #164F7D;
    height: 200px;
    padding: 0 0 30px 0;
}
header nav ul {
    list-style: none;
    text-align: center;
}
header nav ul li {
    display: inline-block;
    width: 130px;
    padding: 29px 0 30px 0;
}

header nav ul li:hover,
header nav ul li.active:hover,
header nav ul li.active {
    background-image: url('../_img/nav-arrow.png');
    background-position: center bottom;
    background-repeat: no-repeat;
    background-color: #2F3645;
}

header nav ul li.disabled:hover{
    background: none;
}

header nav ul li a,
header nav ul li a:visited {
    display: block;
    color: #fff;
    text-transform: capitalize;
}
header nav ul li:hover a,
header nav ul li:hover a {

}

header nav ul li a i {
    display: block !important;
    font-size: 3em;
    margin-bottom: 5px;
}
header nav ul li:hover a,
header nav ul li.active a {
    /*color: #EA068D;*/
    color: #D5D5D5;
}

section {
    font-size: 0.9em;
    line-height: 1.4em;
    font-weight: 300;
    padding: 25px 0;
    background: #fff;
    min-height: 400px;
    margin-top: -72px !important;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}
section > .units-row,
section > .content {
    padding: 0 25px;
}
section h1 {
    margin: 0 0 20px 0;
}
section table td,
section table th {
    padding: 12px 10px;
    border: none;
    vertical-align: middle;
}
section table thead th,
section table thead td {
    font-weight: 300;
    text-transform: uppercase;
}
footer {
    padding: 10px;
    color: #AAA;
    background: #F0F0F0;
    font-weight: 100;
    border-radius: 0 0 4px 4px;
}
footer .copyright {
    padding: 10px 0;
}
footer .copyright .unit-50 {
}
footer .copyright .unit-50+.unit-50 {
    text-align: right;
}

.cms-thumb{
    max-height: 100px;
    max-width: 200px;
    height: auto;
}

/* Data Tables */

#email-table_wrapper input[type="search"]{
    border-radius: 4px;
    padding-right: 5px;
    padding-left: 5px;
    height:2em;
}

#email-table{
   margin-bottom: 20px;
}

#email-table th{
    text-transform: none;
    font-weight: 400;
}

#email-table_filter{
    margin-bottom: 20px;
}

#email-table thead tr{
    background-color: #2F3645 !important;
    color: #E0E0E0;
}

#email-table tfoot{
    display: none;
}

.linkclass, .linkclass:hover{
    color: #164F7D;
}

#email-table tbody tr{
    cursor: pointer;
}

div#email-table_wrapper.dataTables_wrapper table#email-table.display.dataTable tbody tr.odd{
    background-color: rgba(22, 79, 125, 0.1);
}

div#email-table_wrapper.dataTables_wrapper table#email-table.display.dataTable tbody tr.even{
    background-color: rgba(40, 122, 190, 0.05);
}

/*#email-table.dataTable.display tbody tr.odd td.sorting_1{
    background-color: transparent;
}

#email-table.dataTable.display tbody tr.even td.sorting_1{
    background-color: transparent;
}*/

#email-table_wrapper table.dataTable.display tbody tr > .sorting_1,
#email-table_wrapper table.dataTable.display tbody tr.odd > .sorting_1,
#email-table_wrapper table.dataTable.display tbody tr.even > .sorting_1,
#email-table_wrapper table.dataTable.order-column.hover tbody tr > .sorting_1,
#email-table_wrapper table.dataTable.order-column.hover tbody tr.odd > .sorting_1,
#email-table_wrapper table.dataTable.order-column.hover tbody tr.even > .sorting_1{
    background-color: transparent;
}

#email-table_wrapper table.dataTable.display tbody tr:hover{
  background-color: #164F7D !important;
  color: #fff;
}

#email-table_wrapper table.dataTable.display tbody tr:hover a{
    color: #fff;
}

div#email-table_wrapper.dataTables_wrapper table#email-table.display.dataTable tbody tr{
    background-color: rgba(47, 54, 69, 0.4);
}

/*#email-table_paginate{
    display: none;
}*/

a.paginate_button.disabled{
    display:none !important;
}

#events{
    height: 840px;
    overflow:auto;
}

#info p{
    margin-bottom: 5px;
}

#info h1{
    text-overflow: ellipsis;
    overflow-wrap: inherit;
    overflow-x: hidden;
    text-decoration: none;
}

#email-table tbody tr td span{
    display: inline-block;
}

.tag-box{
    display: block;
    width: 100%;
}

.tags{
    margin: 0;
    list-style: none;
    display: list-item;
}

.tags li, .tags a{
    line-height: 19px;
    position: relative;
    font-size: 11px;
    display: inline-block;
}

#email-table_wrapper table.dataTable.display tbody tr:hover .tags a{
    background:#287abe;
}

#email-table_wrapper table.dataTable.display tbody tr:hover .tags a:before{
    border-color:transparent #287abe transparent transparent;
}

.tags a{
    margin:6px 10px 1px 10px;
    padding:0 10px 0 12px;
    background:#164F7D;
    color:#fff;
    text-decoration:none;
    -moz-border-radius-bottomright:4px;
    -webkit-border-bottom-right-radius:4px;
    border-bottom-right-radius:4px;
    -moz-border-radius-topright:4px;
    -webkit-border-top-right-radius:4px;
    border-top-right-radius:4px;
}

.tags a:before{
    content:"";
    float:left;
    position:absolute;
    top:0;
    left:-12px;
    width:0;
    height:0;
    border-color:transparent #164F7D transparent transparent;
    border-style:solid;
    border-width:11px 12px 8px 0;
 }

 .tags a:after{
    content:"";
    position:absolute;
    top:8px;
    left:-2px;
    float:left;
    width:4px;
    height:4px;
    -moz-border-radius:2px;
    -webkit-border-radius:2px;
    border-radius:2px;
    background:#fff;
    -moz-box-shadow:-1px -1px 2px #004977;
    -webkit-box-shadow:-1px -1px 2px #004977;
    box-shadow:-1px -1px 2px #004977;
    }

.event-icon{
    max-width: 48px;
}

#events p span{
    display:inline-block;
    vertical-align:middle;
    margin-top: -17px;
}

#filter{
    display: none;
    z-index: 999;
    border-radius: 4px;
    background-color: #FFF;
    min-width: 500px;
    position: fixed;
    left: 50%;
    top: 50%;
    padding: 30px;
    transform: translate(-50%, -50%);
}

#edit-details{
    display:none;
    z-index: 999;
    border-radius: 4px;
    background-color: #FFF;
    width: 960px;
    height: 440px;
    position: fixed;
    left: 50%;
    margin-left: -480px;
    margin-top: -125px;
    padding: 30px;
}

#import{
    display:none;
    z-index: 999;
    border-radius: 4px;
    background-color: #FFF;
    width: 650px;
    height: 90px;
    position: fixed;
    left: 50%;
    margin-left: -290px;
    margin-top: -125px;
    padding: 30px;
}

#export{
    display:none;
    z-index: 999;
    border-radius: 4px;
    background-color: #FFF;
    width: 650px;
    height: 90px;
    position: fixed;
    left: 50%;
    margin-left: -290px;
    margin-top: -125px;
    padding: 30px;
}

#import form{
    display: inline;
}

#filter label,
#filter h2,
#edit-details label,
#edit-details h2{
    display: inline-block;
    cursor: pointer;
}

.overlay{
    display:none;
    z-index: 998;
    background-color: rgba(0,0,0,0.7);
    width:100%;
    height: 100%;
    top:0px;
    left:0px;
    position:fixed;
}

h1.advanced-h1{
    margin-bottom: 20px;
}

h1.import{
    display: inline-block;
}

#filter input[type="checkbox"] {
    margin-bottom: 10px;
}

ul#ui-id-1 {
    z-index: 1000 !important;
}

#btn-filter{
    margin-left: 10px;
    padding: 8px 10px;
    line-height: 11px;
    height: 28px;
}

#file-picker{
    display:none;
}

#nav-filter.disabled,
#nav-import.disabled,
#nav-export.disabled{
    color: #737373;
}

body header nav.wrapper ul li:hover a.disabled{
    color: #737373;
}

.help{
    margin-top: -10px;
    font-size: 0.85em;
    margin-bottom: 5px;
}