/* ==========================================================================
   Base styles
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #444;
}

body {
    font-size: 1em;
    line-height: 1.4;
    background: #dbdbdb url('../img/bg/whitey.png');
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}


img {
    vertical-align: middle;
}


fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}
textarea {
    resize: vertical;
}


/* ==========================================================================
   Quadrant Mailing List Manager
   ========================================================================== */

/* Typography */

h1, h2, h3, h4, h5, h6 {
color: #47878e;
font-family: "Lato", arial, verdana, sans-serif;
font-style: normal;
font-weight: 300;
padding:0;
margin-top:.5em;
margin-bottom:0;
line-height: 1.25em;}
  
h1 a, h1 a:visited,
h2 a, h2 a:visited,
h3 a, h3 a:visited,
h4 a, h4 a:visited,
h5 a, h5 a:visited,
h6 a, h6 a:visited {color:#66cccc;}

h1 a:hover,
h2 a:hover,
h3 a:hover,
h4 a:hover,
h5 a:hover,
h6 a:hover {color:#009999;}

h1 { font-size: 2.2em;text-transform:uppercase;margin-bottom:1em;}
h2 { font-size: 1.8em;text-transform:uppercase;color: #333;margin-top:0;margin-bottom:0;}
h3 { font-size: 1.6em;margin:0;}
h4, h5, h6 { font-size: 1.2em;font-weight: 700; color:#333;}

a, a:visited { 
	color: #336666; 
	text-decoration:none;
	-webkit-transition: color .2s linear;
    -moz-transition: color .2s linear; 
    -o-transition: color .2s linear;
    transition: color .2s linear;
	}
a:hover { color: #669999}

.dark {color:#222;}
.listsetupsectioncomment {color:#222;font-weight: bold;font-size:14px;}
.label {font-weight: bold;}

/* Structure */

#container {
	width:100%;
	font-size:14px;
	font-family: "Lato", arial, verdana, sans-serif;
	font-style: normal;
	font-weight: 400;
	background:url('../img/bg/topbg.png') repeat-x;
	margin:0;
	padding:0;
	}
	
.wrapper {
	max-width:95%;
	min-width:960px;
	margin:0 auto;
	padding:0 2.5%;
	}
	
#content {
	padding:2.5%;
	min-height: 300px;
	background:#fff;
	-webkit-box-shadow:  0px 0px 15px 0px rgba(0, 0, 0, 0.2); 
    box-shadow:  0px 0px 15px 0px rgba(0, 0, 0, 0.2);
	}

#content.nonav {
	-webkit-border-radius: 10px 10px 0px 0px;
    border-radius: 10px 10px 0px 0px;
	}

/* Header */

#header {width:97%;padding:1.5%;}
#logo {float:left;}
#logo img {float:left;margin-right:15px;}
#logo h2 {float:left;color:#fff;text-transform: uppercase;font-size:2em;margin-top:15px;}


#logo_right {float:right;	}
#logo_right img {float:right}


.headnav {float:right;color:#fff;font-size:12px;}
.headnav ul {
	margin:0;
	padding:0;
	}
.headnav ul li {
	display:inline-block;
	margin:5px;
	padding:0;
	zoom:1; 
	*display:inline;
	}
	
.headnav ul li a {
	color: #66cccc; 
	}
	
	
	
/* Top Navigation */

#topnav {
	background:#555;
	width:95%;
	padding:2.5% 2.5% 0;
	margin:0;
	-webkit-border-radius: 10px 10px 0px 0px;
    border-radius: 10px 10px 0px 0px;
	-webkit-box-shadow:  0px 0px 5px 0px rgba(0, 0, 0, 0.2); 
    box-shadow:  0px 0px 5px 0px rgba(0, 0, 0, 0.2);
	}
ul#header-menu  {
	width:100%;
	margin:0;
	padding:0;
	}
	
ul#header-menu li {
	display:inline-block;
	margin:10px 0px;
	padding:0;
	zoom:1; 
	*display:inline;
	font-family: "Lato",sans-serif;
	font-style: normal;
	font-weight: 700;
	font-size:14px;
	}
ul#header-menu li a {
	color:#fff;
	text-decoration:none;
	padding:10px 20px;
	margin:0;
	background:#333;
	margin-right: -2px;
	-webkit-border-radius: 2px 2px 0px 0px;
    border-radius: 2px 2px 0px 0px;
	-webkit-box-shadow:  0px 0px 2px 0px rgba(0, 0, 0, 0.2); 
    box-shadow:  0px 0px 2px 0px rgba(0, 0, 0, 0.2);
	text-shadow: 0px 1px 2px #000000;
    filter: dropshadow(color=#000000, offx=0, offy=1);
	}
ul#header-menu li a:hover {
	color:#bbf9ff;
	background:#6CC;	
	text-shadow: none;
    filter: none;
    }
    
ul#header-menu li a.active { 
	background:#111;	
	text-shadow: none;
    filter: none;
	}

ul#header-menu li:last-child {float:right;}


/* Main Content */

/* Dashboard Intro */

.dashintro {
	width:23%;
	display:inline-block;
	padding:1.5% 5%;
	zoom:1; 
	*display:inline;
	text-align: center;
	border-right:1px solid #000;
	vertical-align: top;
	min-height: 140px;
	margin:20px auto 40px;
}

.dashintro:nth-child(n+3) {border-right:none;}

.dashintro a, .dashintro a h2, .dashintro a img   {
	color: #6CC;	
	-webkit-transition: all .2s linear;
    -moz-transition: all .2s linear; 
    -o-transition: all .2s linear;
    transition: all .2s linear;
    }
.dashintro a:hover, .dashintro a:hover h2 {color: #88b132}
.dashintro a:hover img   {
	opacity: 0.7;
	}



/* Full Width Table */

table.full {border-collapse: collapse;margin-bottom:30px;margin-top:10px;background:#f7f7f7;color:#666;width:100%;font-size:12px;}
table.full caption {text-align:left;background:#666;color:#fff;font-weight:bold;padding:10px;}
table.full th {padding:10px;background:#666;border:1px solid #fff;color:#fff;font-weight: bold;text-align:left;}
table.full td {padding:10px;border:1px solid #fff;}
table.full tr:nth-child(odd) {background:#eaeaea;}

/* andy added */
table.full th a, table.full th a:visited, table.full th a:hover { color:#fff; }
table.full tr:hover {background:#669999;color:#fff;}
td a:hover { color: #ffffff}

td.campaignaction {width:45px;text-align: center;}
td.campaignsubject {min-width:250px;font-weight: bold;}

table.running {background:#d7edfb url('../img/tables/running.png');}
table.paused {background: url('../img/tables/paused.png');}
table.upcoming {background: url('../img/tables/upcoming.png');}

h2.running {color:#88b132;background: url('../img/dashboard/running.png') no-repeat;padding-left:40px;min-height: 32px;}
h2.paused {color:#f53c3c;background: url('../img/dashboard/paused.png') no-repeat;padding-left:40px;min-height: 32px;}
h2.upcoming {color:#2b84ae;background: url('../img/dashboard/upcoming.png') no-repeat;padding-left:40px;min-height: 32px;}
h2.completed {background: url('../img/dashboard/completed.png') no-repeat;padding-left:40px;min-height: 32px;}


/* Simple Table style */

table.simple {border-collapse: collapse;margin-bottom:30px;margin-top:10px;background:#f7f7f7;color:#666;width:100%;font-size:12px;}
table.simple th {padding:10px;background:#999999;color:#fff;font-weight: bold;text-align:left;}
table.simple tr {border-top:1px solid #ccc;}
table.simple tr:nth-child(odd) {background:#f7f7f7;}
table.simple tr:last-child {background:#fff;}
table.simple td {padding:10px;}
table.simple td:nth-child(2n-1) {font-weight: bold;font-size:12px;color:#333;max-width:150px;}


.exportlist {margin-bottom:30px;}
.exportlist ul {
	list-style: none;
	margin:0;
	padding:0;
	}
	
.exportlist ul li {
	display:inline-block;
	margin:10px 10px 10px 0;
	padding:0;
	zoom:1; 
	*display:inline;	
	}
	
	

.searchbox {
	padding:1.5%;
	background:#f7f7f7;
	border:#ddd 1px solid;	
	-webkit-border-radius: 5px 5px 5px 5px;
    border-radius: 5px 5px 5px 5px;
    }

table.plain {border-collapse: collapse;margin-bottom:10px;margin-top:10px;color:#666;width:100%;font-size:12px;}
table.plain th {padding:10px;background:#999999;color:#fff;font-weight: bold;text-align:left;}
table.plain td {padding:10px;}


ul.plain, ul.actions {
	list-style: none;
	margin:0;
	padding:0;
	}
		
	
ul.actions li {
	display:inline-block;
	margin:0 10px 5px 0;
	padding:0;
	zoom:1; 
	*display:inline;	
	}
	


/* Pagination */


.pagination {
    padding: 20px 0;
    margin-bottom: 20px;
}



.page {
    display: inline-block;
    padding: 5px 9px;
    margin-right: 4px;
    border-radius: 3px;
    border: solid 1px #c0c0c0;
    background: #e9e9e9;
    box-shadow: inset 0px 1px 0px rgba(255,255,255, .8), 0px 1px 3px rgba(0,0,0, .1);
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    color: #717171;
    text-shadow: 0px 1px 0px rgba(255,255,255, 1);
}

.page:hover, .page.gradient:hover {
    background: #fefefe;
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#FEFEFE), to(#f0f0f0));
    background: -moz-linear-gradient(0% 0% 270deg,#FEFEFE, #f0f0f0);
}

.page.active {
    border: none;
    background: #616161;
    box-shadow: inset 0px 0px 8px rgba(0,0,0, .5), 0px 1px 0px rgba(255,255,255, .8);
    color: #f0f0f0;
    text-shadow: 0px 0px 3px rgba(0,0,0, .5);
}

.page.gradient {
    background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#f8f8f8), to(#e9e9e9));
    background: -moz-linear-gradient(0% 0% 270deg,#f8f8f8, #e9e9e9);
}


pre code {
font-family: Menlo, Monaco, monospace;
background: #fffbe6;
padding: 15px;
white-space: pre;
overflow: auto;
display: block;
}



/* Footer */

#footer {	
	background:#333;
	color:#fff;
	width:95%;
	padding:1.5% 2.5%;
	margin:0 0 2.5%;
	font-size:12px;
	-webkit-border-radius: 0px 0px 10px 10px ;
    border-radius: 0px 0px 10px 10px ;
	-webkit-box-shadow:  0px 0px 5px 0px rgba(0, 0, 0, 0.2); 
    box-shadow:  0px 0px 5px 0px rgba(0, 0, 0, 0.2);}




/** notification */

.success,
.error,
.msg {
	color: #444;
	background: #FFFBE5;
	font-size: 14px;
	text-align: center;
	margin: 20px 0px;
	border: 1px solid #eFeBd5;
	border-bottom: 1px solid #dFdBc5;
	border-right: 1px solid #dFdBc5;
	padding: 10px 15px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
    zoom: 1;
}

.success { background: #cfc; }
.error { background: #fcc; color:#8d3e3e;
	border: 1px solid #f6adad;
	border-bottom: 1px solid #d87979;
	border-right: 1px solid #d87979}

.required {color:#990000;}

.error-border {
	background: #fcc;
	border: 1px solid red !important;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
}

/** forms */

input,select,textarea { vertical-align: middle;margin:0 5px; }
input[type="radio"] { vertical-align: text-bottom;margin:0 5px; }
input[type="checkbox"] { vertical-align: middle;margin:0 5px; }

input[type="text"], input[type="password"], textarea {
border: 1px solid #CCC;
padding: 6px;
border-radius: 4px;
-moz-border-radius: 4px;
-webkit-border-radius: 4px;
-moz-box-shadow: 0px 1px 4px rgba(0,0,0,0.1) inset;
 }
 
select {
-webkit-appearance: menulist;
box-sizing: border-box;
-webkit-box-align: center;
border: 1px solid;
border-image: initial;
white-space: pre;
-webkit-rtl-ordering: logical;
color: black;
background-color: white;
cursor: default;
}

a.btn,.btn a,input.btn,button,input[type="submit"] {
	text-decoration: none;
	font-size: 13px;
	background: #a6bc55;
	color: #fff;
	text-shadow: 1px 1px 0px rgba(0,0,0,0.2);
	padding: 5px 14px;
	border: 1px solid #87964e;
	font-weight: 700;
	border-radius: 5px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	box-shadow: 0px 1px 0px rgba(255,255,255,0.25) inset,0px 1px 3px rgba(0,0,0,0.2);
	-webkit-box-shadow: 0px 1px 0px rgba(255,255,255,0.25) inset,0px 1px 3px rgba(0,0,0,0.2);
	-moz-box-shadow: 0px 1px 0px rgba(255,255,255,0.25) inset,0px 1px 3px rgba(0,0,0,0.2);
}

a:hover.btn,.btn a:hover,input:hover.btn,button:hover,input[type="submit"]:hover {
	background:#8ea43d;
}

a.btn.big,.btn.big a,input.btn.big,button.big,input.big[type="submit"] { padding: 10px 28px; }

a.btn.plain,.btn.plain a,input.btn.plain,button.plain,input.plain[type="submit"]  {
	background: #666;
	border: 1px solid #444;
}

a:hover.btn.plain,.btn.plain a:hover,input.btn.plain:hover,button:hover.plain,input.plain[type="submit"]:hover  {
	background: #444;
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

.right {float:right;}
.left {float:left;}
/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}


.hidden {
    display: none !important;
    visibility: hidden;
}

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}


.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

.invisible {
    visibility: hidden;
}

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

.clearfix {
    *zoom: 1;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}



/* ==========================================================================
   Print styles.
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow:none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

/* ANDY added styles */
table.editor .htmlarea td, .htmlarea { border:0px; padding:2px;}
table.nohover th a, table.nohover th a:visited, table.nohover th a:hover { color:#666; }
table.nohover tr:hover {background:#f7f7f7;color:#666;}
table.nohover tr:hover:nth-child(odd) {background:#eaeaea;}
