* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
}

.header {
    width: 100%;
    background-color: #2f2f2f;
    color: white;
    font-weight: 500;
    font-size: 20px;
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 30px;
    justify-content: space-between;
    align-items: center;
}

.header div {
    display: flex;
}

.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;
}

.main {
	width: 100%;
	height: calc(100vh - 50px);
	display: flex;
}

.sidebar {
	width: 300px;
    height: 100%;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
    background: #eee;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.content {
	flex: 3;
	height: 100%;
}

.sidebar .step {
	padding: 16px 20px;
    border-bottom: 1px solid #ddd;
    font-weight: 500;
    cursor: pointer;
}

.sidebar .step:hover,
.sidebar .step.selected {
	background-image: linear-gradient(35deg, #f48a46, #ea5a4d);
    color: white;
}

.sidebar .step.selected {
	cursor: default;
}

.sidebar .step.selected:before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f101";
    margin-right: 5px;
}

.sidebar .step.selected i {
	margin-right: 5px;
}

.sidebar .step.disabled {
    pointer-events: none;
    opacity: 0.6;
}

.sidebar .button {
    padding: 16px 20px;
    background: #A7C7E7;
    cursor: pointer;
    text-align: center;
    font-weight: 600;
}

.sidebar .button:hover {
    background: #6495ED;
}

.page {
	flex: 1;
	height: 100%;
}

.page h3 {
	font-size: 18px;
    font-weight: 600;
}

.page-inner {
	display: flex;
	height: 100%;
}

.choose-template {
	flex: 2;
	padding: 20px 30px;
}

.preview-template {
	flex: 3;
	border-left: 1px solid #eee;
    padding: 20px 30px;
    position: relative;
    overflow-y: auto;
}

.preview-template::-webkit-scrollbar {
    width: 8px;
}

.preview-template::-webkit-scrollbar-track {
    background: #f1f1f1;
}
 
.preview-template::-webkit-scrollbar-thumb {
    background: #2f2f2f;
}

.preview-template::-webkit-scrollbar-thumb:hover {
    background: #2f2f2f;
}

.email-templates {
	margin-top: 25px;
}

.email-template {
	position: relative;
}

.email-template input[type=radio]{
	position: absolute;
	visibility: hidden;
}

.email-template label {
	display: block;
    position: relative;
    font-weight: 400;
    font-size: 14px;
    line-height: 30px;
    padding: 0px 10px 0px 33px;
    margin: 5px auto;
    height: 30px;
    z-index: 9;
    cursor: pointer;
    -webkit-transition: all 0.25s linear;
}

.email-template label:hover {
	font-weight: 600;
}

.email-template .check {
	display: block;
    position: absolute;
    border: 3px solid #2f2f2f;
    border-radius: 100%;
    height: 18px;
    width: 18px;
    top: 5px;
    left: 5px;
    z-index: 5;
    transition: border .25s linear;
    -webkit-transition: border .25s linear;
}

.email-template .check::before {
	display: block;
    position: absolute;
    content: '';
    border-radius: 100%;
    height: 8px;
    width: 8px;
    top: 2px;
    left: 2px;
    margin: auto;
    transition: background 0.25s linear;
    -webkit-transition: background 0.25s linear;
}

.email-template input[type=radio]:checked ~ .check {
	border: 3px solid #ea5a4d;
}

.email-template input[type=radio]:checked ~ .check::before{
	background: #ea5a4d;
}

.email-template input[type=radio]:checked ~ label{
	color: #ea5a4d;
	font-weight: 600;
}

.email-preview {
	margin-top: 10px;
}

.edit-column {
	flex: 2;
	padding: 20px 30px;
    overflow-y: auto;
}

.edit-column::-webkit-scrollbar {
    width: 8px;
}

.edit-column::-webkit-scrollbar-track {
    background: #f1f1f1;
}
 
.edit-column::-webkit-scrollbar-thumb {
    background: #2f2f2f;
}

.edit-column::-webkit-scrollbar-thumb:hover {
    background: #2f2f2f;
}

.personalized-files {
	margin-top: 25px;
    padding: 20px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
    border-radius: 3px;
}

.personalized-files button {
	margin-top: 15px;
    border: 1px solid #2f2f2f;
    background: #2f2f2f;
    color: white;
    border-radius: 3px;
    padding: 4px 12px;
    font-weight: 500;
    font-family: 'Montserrat';
    font-size: 14px;
    cursor: pointer;
}

.personalized-files button:hover {
	background: #fff;
	color: #2f2f2f;
}

.personalized-files button:focus {
	outline: none;
}

.chosen-files {
	margin-top: 15px;
}

.chosen-file {
	background-image: linear-gradient(35deg, #f48a46, #ea5a4d);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-weight: 500;
    position: relative;
    margin-top: 5px;
}

.chosen-file:first-child {
	margin-top: 0px;
}

.chosen-file i {
	font-size: 15px;
    position: absolute;
    right: 8px;
    top: 6px;
    cursor: pointer;
}

.iterable-files {
	margin-top: 25px;
    padding: 20px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
    border-radius: 3px;
}

.iterable-files button {
	margin-top: 15px;
    border: 1px solid #2f2f2f;
    background: #2f2f2f;
    color: white;
    border-radius: 3px;
    padding: 4px 12px;
    font-weight: 500;
    font-family: 'Montserrat';
    font-size: 14px;
    cursor: pointer;
}

.iterable-files button:hover {
	background: #fff;
	color: #2f2f2f;
}

.iterable-files button:focus {
	outline: none;
}

.email-preview-count {
	position: absolute;
    top: 19px;
    right: 50px;
}

.email-preview-count span {
	font-size: 18px;
    font-weight: bold;
    margin-right: 4px;
}

.email-content {
    margin-top: 25px;
    padding: 20px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
    border-radius: 3px;
}

.email-contentp {
    margin-top: 25px;
    padding: 20px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
    border-radius: 3px;
}

.note-frame {
	margin-top: 10px;
}

.email-content .content_name {
	color: #ea5a4d;
	font-size: 16px;
	margin-left: 3px;
}

.email-contentp .contentp_name {
    color: #ea5a4d;
    font-size: 16px;
    margin-left: 3px;
}

.email-contentp input {
    margin-top: 8px;
    width: 100%;
    padding: 6px 10px;
    font-size: 14px;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 4px;
}

.email-contentp input:focus {
    outline: none;
}

.note-modal-body input[type="checkbox"] {
	margin-right: 5px;
}

.note-modal-footer {
	margin-bottom: 10px;
}

.email-test {
    flex: 2;
    padding: 20px 30px;
}

.send-email-test {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.send-email-test input {
    font-family: 'Montserrat';
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    border: none;
    box-shadow: 0px 3px 6px rgba(0,0,0,0.16);
    border-radius: 3px;
}

.send-email-test button {
    margin-top: 15px;
    border: 1px solid #2f2f2f;
    background: #2f2f2f;
    color: white;
    border-radius: 3px;
    padding: 4px 12px;
    font-weight: 500;
    font-family: 'Montserrat';
    font-size: 14px;
    cursor: pointer;
    width: 180px;
}

.send-email-test button:hover {
    background: #fff;
    color: #2f2f2f;
}

.send-email-test button:focus {
    outline: none;
}

.email-subject {
    flex: 2;
    padding: 20px 30px;
}

.insert-email-subject {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
    border-radius: 3px;
    position: relative;
}

.insert-email-subject > input {
    font-family: 'Montserrat';
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #2f2f2f;
    border-radius: 3px;
    margin-top: 8px;
}

.insert-email-subject > span {
    position: absolute;
    top: 20px;
    right: 20px;
}

.email-preview-subject {
    margin-top: 20px;
    border: 2px solid #2f2f2f;
    border-radius: 3px;
    padding: 6px 12px;
    font-weight: 500;
    font-size: 16px;
}

.loader {
    margin-top: 30px;
    box-shadow: 0px 3px 6px rgba(0,0,0,0.16);
    border-radius: 3px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader i {
    font-size: 50px;
    color: #2f2f2f;
}

.loader i.fa-check-circle {
    color: green;
}

.loader span {
    margin-top: 15px;
    font-size: 16px;
    font-weight: 500;
}

.select-email-sender {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
    border-radius: 3px;
}

.select-email-sender select {
    margin-top: 8px;
    padding: 8px 8px;
    font-size: 14px;
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
    border-radius: 3px;
    border: 1px solid #2f2f2f;
    font-family: 'Montserrat';
    font-weight: 500;
}

.send-newsletter {
    flex: 2;
    padding: 20px 30px;
}

.send-newsletter-content {
    margin-top: 20px;
}

.send-newsletter-sender {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
    border-radius: 3px;
}

.send-newsletter-sender span:nth-child(2) {
    font-size: 16px;
    font-weight: 700;
}

.send-newsletter-counter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
    border-radius: 3px;
    margin-top: 15px;
}

.send-newsletter-counter span:nth-child(2) {
    font-size: 16px;
    font-weight: 700;
}

.send-newsletter-date {
    padding: 20px;
    box-shadow: 0 3px 6px rgba(0,0,0,0.16);
    border-radius: 3px;
    margin-top: 15px;
}

.send-newsletter-date > div:nth-child(1) {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.send-newsletter-date span:nth-child(2) {
    font-size: 16px;
    font-weight: 700;
}

.send-newsletter-date span:nth-child(2) label {
    display: flex;
    cursor: pointer;
}

.send-newsletter-date span:nth-child(2) label input {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
}

.send-newsletter-date > div:nth-child(2) {
    display: flex;
    justify-content: flex-end;
}

.send-newsletter-date > div:nth-child(2) input {
    margin-top: 20px;
    font-family: 'Montserrat';
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    border: 1px solid #2f2f2f;
    border-radius: 3px;
    margin-top: 8px;
}

.send-newsletter-content button {
    margin-top: 20px;
    border: 1px solid #2f2f2f;
    background: #2f2f2f;
    color: white;
    border-radius: 3px;
    padding: 8px 12px;
    font-weight: 500;
    font-family: 'Montserrat';
    font-size: 16px;
    cursor: pointer;
    width: 230px;
}

.send-newsletter-content button:hover {
    background: #fff;
    color: #2f2f2f;
}

.send-newsletter-content button:focus {
    outline: none;
}

.send-newsletter-content button.disabled {
    opacity: 0.5;
    filter: grayscale(1);
    pointer-events: none;
}