* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
}

.header {
	width: 100%;
	background-color: #2f2f2f;
	height: 50px;
	display: flex;
	align-items: center;
	padding: 0 30px;
    justify-content: space-between;
    align-items: center;
}

.header div {
    display: flex;
    align-items: center;
}

.header a {
    border: 2px solid #fff;
    border-radius: 3px;
    padding: 4px 12px;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.header a:hover {
    background: #fff;
    color: #2f2f2f;
}

.header .title {
    color: white;
    font-weight: 500;
    font-size: 20px;
    margin-right: 20px;
}

.header .button {
    border: 2px solid #fff;
    border-radius: 3px;
    padding: 4px 12px;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    margin-left: 10px;
}

.header .button:hover,
.header .button.selected {
    background: #fff;
    color: #2f2f2f;
}

.main {
	width: 100%;
	height: calc(100vh - 50px);
}

.main_flex {
    display: flex;
}

.newsletters-list {
    flex: 1;
    overflow-y: auto;
}

.newsletters-list::-webkit-scrollbar {
    width: 8px;
}

.newsletters-list::-webkit-scrollbar-track {
    background: #f1f1f1;
}
 
.newsletters-list::-webkit-scrollbar-thumb {
    background: #2f2f2f;
}

.newsletters-list::-webkit-scrollbar-thumb:hover {
    background: #2f2f2f;
}

.newsletter-overview-container {
    flex: 1;
    border-left: 1px solid #eee;
    padding: 20px 30px;
    position: relative;
    overflow-y: auto;
}

.newsletter-overview-container::-webkit-scrollbar {
    width: 8px;
}

.newsletter-overview-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}
 
.newsletter-overview-container::-webkit-scrollbar-thumb {
    background: #2f2f2f;
}

.newsletter-overview-container::-webkit-scrollbar-thumb:hover {
    background: #2f2f2f;
}

.newsletter {
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
}

.newsletter:hover,
.newsletter.selected {
    background-image: linear-gradient(35deg, #f48a46, #ea5a4d);
    color: white;
}

.newsletter_left_top {
    font-size: 16px;
    font-weight: 700;
}

.newsletter_left_bottom {
    font-size: 12px;
    font-style: italic;
    margin-top: 5px;
}

.newsletter_left_bottom span {
    font-style: normal;
    font-weight: 600;
}

.newsletter_right {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 30px;
}

.newsletter_right i {
    font-size: 22px;
}

.newsletter_right span {
    margin-top: 5px;
    font-size: 12px;
}

.newsletter_right i.fa-check-circle {
    color: green;
}

.newsletter:hover .newsletter_right i.fa-check-circle,
.newsletter.selected .newsletter_right i.fa-check-circle {
    color: white;
}

.newsletter-stats-subject {
    font-size: 18px;
}

.newsletter-stats-row {
    display: flex;
}

.newsletter-stats-column {
    flex: 1;
    margin-right: 15px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
    border-radius: 3px;
    padding: 15px 20px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.newsletter-stats-column:last-child {
    margin-right: 0px;
}

.newsletter-stats-column > span:nth-child(2) {
    font-size: 16px;
    font-weight: bold;
}

.newsletter-stats-column > span:nth-child(2) > span {
    cursor: pointer;
}

.email-preview-subject {
    margin-top: 10px;
    border: 2px solid #2f2f2f;
    border-radius: 3px;
    padding: 6px 12px;
    font-weight: 500;
    font-size: 16px;
}

.email-preview {
    margin-top: 10px;
}

.email-preview h4 {
    margin-top: 30px;
    font-size: 18px;
}

.draft_row {
    display: flex;
}

.draft {
    padding: 20px 30px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    color: #2f2f2f;
    text-decoration: none;
    min-width: calc(100% - 140px);
}

.draft:hover {
    background-image: linear-gradient(35deg, #f48a46, #ea5a4d);
    color: white;
}

.draft_col:nth-child(1) {
    min-width: 45%;
    max-width: 45%;
}

.draft_col:nth-child(2) {
    min-width: 35%;
    max-width: 35%;
}

.draft_col:nth-child(3) {
    min-width: 15%;
    max-width: 15%;
}

.draft_col:nth-child(4) {
    min-width: 5%;
    max-width: 5%;
}

.draft_delete {
    width: 140px;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
}

.draft_delete span {
    display: block;
    padding: 4px 10px;
    border: 2px solid #ea5a4d;
    color: #ea5a4d;
    cursor: pointer;
    border-radius: 3px;
}

.draft_delete span:hover {
    background: #ea5a4d;
    color: #fff;
}