@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;600;700&display=swap');

*,
::after,
::before {
	box-sizing: border-box
}

::selection {
    background: #d6d6e6;
    color: #ff7373;
}

a{
	color: inherit;
	text-decoration: none;
}

.d-n{
	display: none !important;
}

.d-f{
	display: flex !important;
}

.f-w{
	flex-wrap: wrap;
}

.a-i-c{
	align-items: center;
}

.text-center{
	text-align: center;
}

.theme-color{
	color: #5C63C0 !important;
}

.brand-color{
	color: #ED1C24 !important;
}

.bg-brand{
	background-color: #ED1C24 !important;
}

.theme-button{
	background: #5C63C0;
	color: #fff !important;
	color: #fff;
    border: 0;
    outline: 0;
    padding: 10px 20px;
    font-size: 14px;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 5px;
    margin: 0;
    cursor: pointer;
    transition: .3s all ease;
    display: inline-flex;
}

.theme-button:hover{
	background: #454a93;
    transition: .3s all ease;
}

.bg-grey{
	background: #aaa !important;
}

img{
	user-select: none;
}

input:not([type='checkbox']),
select,
textarea {
  background: transparent;
  border: 0;
  outline: 0;
  padding: 10px 20px;
  width: 100%;
  font-size: 14px;
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid transparent;
  border-radius: 5px;
  margin: 0;
}

html {
	font-family: sans-serif;
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
	-ms-overflow-style: scrollbar;
	-webkit-tap-highlight-color: transparent;
	tap-highlight-color: transparent;
}

@-ms-viewport {
	width: device-width
}

body {
	margin: 0;
	font-family: 'Roboto', sans-serif;
	font-size: 300px;
	font-size: 1rem;
	color: #212529;
	text-align: left;
	background: #E8EDF3;
	background-size: cover;
	-webkit-tap-highlight-color: red;
	-webkit-font-smoothing:  antialiased;
	font-smoothing:  antialiased;
}

.text-center{
	text-align: center;
}

.nowrap{
    white-space: nowrap;
}

/*	Wrapper  */

.wrapper{
	display: flex;
	min-height: 100vh;
}


/*	Navigation  */

nav {
    flex: 1;
    max-width: 260px;
    height: 100vh;
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
	background: #fff;
}

nav ul{
	margin-top: 30px;
	margin-bottom: 0;
	padding: 0;
	list-style: none;
}

nav ul li a{
	display: inline-flex;
	width: 100%;
	padding: 12px;
    border-radius: 5px;
	color: rgb(33 37 41 / 60%);
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
}

nav ul li.active a{
	background: #e8edf3;
	color: #5C63C0;
}

nav ul li:not(.active) a:hover{
	color: #212529;
	transition: .3s color ease;
}

nav .log-out{
	margin-top: auto;
	border-top: 1px solid rgb(33 37 41 / 05%);
	padding-top: 25px;
}

nav .log-out a{
	display: inline-flex;
	align-items: center;
	width: 100%;
	color: rgb(33 37 41);
    text-decoration: none;
    font-size: 15px;
}

nav .log-out a:hover{
	color: #ed1c24;
	transition: .3s color ease;
}

nav .log-out a img{
	margin-right: 12px;
}

nav .close-button{
	display: none;
	cursor: pointer;
}


/*	Wrapper Body  */

.wrapper-body{
	flex: 1;
	display: flex;
	flex-direction: column;
	padding: 40px;
	width: calc(100% - 300px);
}

.collapse-button {
    margin-right: 20px;
    display: none;
    cursor: pointer;
}

.collapse-button span {
    display: block;
    width: 16px;
    height: 2px;
    margin: 0;
    margin-bottom: 5px;
    background: #ed1c24;
    border-radius: 40px;
}

.collapse-button span:nth-child(3) {
    margin-bottom: 0;
}

.collapse-button span:nth-child(2) {
    width: 12px;
}

.wrapper-body .page-heading{
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 35px;
}

.wrapper-body .page-heading h1{
	font-size: 21px;
	font-weight: normal;
	margin: 0;
}

.wrapper-body .page-heading .total {
	margin-left: auto;
	padding: 10px 17px;
	background: #F5F7FA;
	border-radius: 50px;
	font-size: 13px;
	font-weight: 400;
	color: rgb(33 37 41 / 60%);
}

.wrapper-body .filters {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	margin-bottom: 20px;
}

.wrapper-body .filters .search,
.wrapper-body .filters .country,
.wrapper-body .filters .job-post {
  background: #F5F7FA;
  display: flex;
  align-items: center;
  margin-right: 20px;
  border-radius: 5px;
  position: relative;
}

.wrapper-body .filters form{
	align-items: center;
	flex-wrap: wrap;
}

.wrapper-body .filters form button {
    padding: 10px 15px;
    border: 0;
    outline: 0;
    color: #ed1c24;
    background: transparent;
    font-size: 14px;
    cursor: pointer;
}

.wrapper-body .filters input:focus,
.wrapper-body .filters select:focus {
  border: 1px solid #ccbfbf;
}

.wrapper-body .filters .search img,
.wrapper-body .filters .country img,
.wrapper-body .filters .job-post img {
  position: absolute;
  right: 20px;
}

.wrapper-body .filters .actions{
	margin-left: auto;
}

.wrapper-body .filters .actions a{
	display: inline-flex;
	align-items: center;
	font-size: 14px;
	font-weight: 400;
	text-decoration: none;
	color: inherit;
	margin-left: 10px;
}

.wrapper-body .filters .actions a.bulk-del{
	margin-right: 20px;
	color: #E16368;
}


/*	table.custom  */

.wrapper-body .table-responsive {
    width: 100%;
	max-height: calc(100vh - 280px);
    background: #F5F7FA;
    padding: 16px;
    border-radius: 6px;
    box-shadow: 0 1px 4px #d7e2ef;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: -ms-autohiding-scrollbar;
    margin-bottom: 30px;
}

.wrapper-body table.custom {
    width: 100%;
    border-collapse: collapse;
}

.wrapper-body table.custom thead {
    position: sticky;
    z-index: 0;
    top: 0;
}

.wrapper-body table.custom thead:before {
	content: '';
	width: 100%;
	height: 40px;
	background: #E4E9F1;
	position: absolute;
	z-index: -1;
	border-radius: 6px;
}

.wrapper-body table.custom thead:after {
    content: '';
    width: 100%;
    height: 40px;
    background: #f5f7fa;
    position: absolute;
    z-index: -2;
    top: -20px;
}

.wrapper-body table.custom th,
.wrapper-body table.custom td {
    padding: 12px 15px;
    font-size: 0.85rem;
}

.wrapper-body table.custom th {
    color: #8190A6;
    font-weight: 500;
}

.wrapper-body table.custom tbody tr:first-child td {
    padding-top: 20px;
}

.wrapper-body table.custom tbody tr:first-child td:first-child {
    padding: 12px 10px;
    padding-top: 20px;
}

.wrapper-body table.custom td a{
	display: inline-flex;
	align-items: center;
	text-decoration: none;
	color: #4b76d7;
}

.wrapper-body table.custom td a img {
    margin: 0 6px;
}

.wrapper-body .copyright {
    font-size: 12px;
    color: rgb(33 37 41 / 40%);
    text-align: right;
    margin-top: auto;
    padding-top: 30px;
}



/*	Subscribe  */

.cards-outer {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.cards-outer table.subscribe-table{
	width: 100%;
}

.cards-outer table.subscribe-table tr{
    display: flex;
    flex-wrap: wrap;
}

.cards-outer table.subscribe-table tr td {
    background: #F5F7FA;
    padding: 16px;
    border-radius: 6px;
    box-shadow: 0 1px 4px #d7e2ef;
    margin-bottom: 20px;
    margin-right: 20px;
    width: 100%;
    max-width: calc(100%/4 - 15px);
    list-style: none;
}

.cards-outer table.subscribe-table tr td:nth-child(4n) {
    margin-right: 0;
}

.cards-outer table.subscribe-table tr td a {
    font-size: 14px;
    text-decoration: none;
    display: inline-flex;
    color: #366ff0;
    word-break: break-all;
}

.cards-outer table.subscribe-table tr td p {
    margin: 0;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 500;
    color: rgb(33 37 41 / 40%);
}


/*	Log In  */


.wrapper.login_bg{
	position: relative;
}

.wrapper.login_bg:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: url('../images/login_bg.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.wrapper.bg .wrapper-body{
	padding: 30px;
}

.login {
    width: 100%;
    max-width: 500px;
    margin: 40px auto;
    background: #F5F7FA;
    padding: 40px 16px;
    border-radius: 6px;
    box-shadow: 0 1px 4px #d7e2ef;
}

.login form {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
}

.login input:not(input[type="checkbox"]) {
    background: white;
    outline: 0;
    padding: 10px 20px;
    width: 100%;
    font-size: 14px;
    border: 1px solid #d5e0f0;
    border-radius: 5px;
    margin: 0;
    margin-bottom: 10px;
    box-shadow: 0 1px 4px #d7e2ef;
}

.login button {
    display: block;
    box-shadow: 0 12px 30px -10px #8186d5;
    margin: 0 auto;
    margin-top: 40px;
    padding: 10px 50px;
}

.login button:hover {
	box-shadow: 0 15px 30px -4px #8186d5;
}

label.remember {
    margin-top: 10px;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: rgb(0 0 0 / 60%);
}

.login input:not(input[type="checkbox"]):focus {
    border: 1px solid #e77276;
}

.login .forgot-password {
    display: block;
    text-align: center;
    font-size: 14px;
    color: rgb(33 37 41 / 60%);
    margin-top: 60px;
    text-decoration: none;
}

.login .forgot-password:hover{
	color: rgb(33 37 41 / 100%);
}


/*	Cards  */

.card{
    width: 100%;
    background: #F5F7FA;
    padding: 16px;
    border-radius: 6px;
    box-shadow: 0 1px 4px #d7e2ef;
    margin-bottom: 30px;
}

.card .heading{
    font-size: 14px;
    margin: 0;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    font-weight: 500;
    color: #5C63C0;
}

.card select{
	padding: 10px;
	border: 1px solid #888;
	max-width: 600px;
	margin-right: 15px;
	-webkit-appearance: auto;
    appearance: auto;
}

.card select:focus{
	border: 2px solid #000;
}

.card .small-message{
    font-size: 13px;
    font-weight: 500;
    color: #888;
}

.card .details{
	padding-top: 20px;
}

.card .details p{
    font-size: 13px;
    margin: 7px 20px;
    margin-left: 0;
}

.card .inputs .input-group {
    margin-right: 15px;
    flex: 1;
}

.card .inputs .input-group label {
    font-size: 13px;
    margin-bottom: 10px;
    display: block;
}

.card .inputs .input-group input, .card .inputs .input-group textarea {
    border: 1px solid #888;
}

.card .inputs .input-group input:focus, .card .inputs .input-group textarea:focus{
	border: 2px solid #000;
}

.card table{
	width: 100%;
	border-collapse: collapse;
}

.card table tr:first-child td {
    border-top: 0;
    padding-top: 15px;
}

.card table tr td{
	border-top: 1px solid #ccc;
	padding: 30px 0;
	vertical-align: top;
}

.add-more-list{
	margin-top: 40px;
	padding: 20px 0;
}

.generated_invoice{
	margin-bottom: 50px;
}

.generated_invoice iframe{
	height: 60vh;
    border-radius: 15px;
    border: 1px solid #ccc;
}





/*************************************************************/

/*	Resonsive Styling 	*/

/*************************************************************/


@media only screen and (max-width: 1399px){
	nav{
		padding: 30px;
	}

	.wrapper-body{
		padding: 30px;
	}

	.wrapper-body .page-heading{
		margin-bottom: 30px;
	}

	.wrapper-body .filters .search,
	.wrapper-body .filters .country,
	.wrapper-body .filters .job-post {
		width: calc(100%/3 - 20px);
		margin-bottom: 20px;
	}

	.cards-outer table.subscribe-table tr td{
		max-width: calc(100%/3 - 15px);
		margin-right: 15px;
		margin-bottom: 15px;
	}

	.cards-outer table.subscribe-table tr td:nth-child(4n){
		margin-right: 15px
	}

	.cards-outer table.subscribe-table tr td:nth-child(3n){
		margin-right: 0
	}
}

@media only screen and (max-width: 1200px){

	nav {
	    position: fixed;
	    top: 0;
	    left: 0;
	    z-index: 10;
	    background: white;
	    transform: translateX(-100%);
	    transition: .3s all ease;
	    width: 260px
	}

	.wrapper.show-menu nav{
		transform: translateX(0%);
	    transition: .3s all ease;
	}

	.wrapper.show-menu nav .close-button {
	    position: absolute;
	    right: 0px;
	    transform: translate(50%, -10%);
	    width: 40px;
	    height: 40px;
	    display: flex;
	    align-items: center;
	    justify-content: center;
	    background: white;
	    border-radius: 0 30px 30px 0;
	}

	.wrapper.show-menu nav .close-button span {
	    width: 14px;
	    height: 1.5px;
	    background: #ed1c24;
	    display: block;
	    transform: rotate(45deg);
	    position: absolute;
	}

	.wrapper.show-menu nav .close-button span:last-child {
	    transform: rotate(-45deg);
	}


	.collapse-button{
		display: block
	}

	.wrapper-body{
		padding-left: 30px;
		position: relative
	}

	.wrapper.show-menu .wrapper-body:before {
	    content: '';
	    width: 100%;
	    height: 100%;
	    position: fixed;
	    top: 0;
	    left: 0;
	    background: rgb(0 0 0 / 60%);
	    z-index: 1;
	    transition: .3s all ease;
	}

	.wrapper-body .filters .search,
	.wrapper-body .filters .country,
	.wrapper-body .filters .job-post {
		width: calc(100%/4 - 20px);
		margin-bottom: 0px;
	}

	.wrapper-body .copyright{
		text-align: center
	}
}

@media only screen and (max-width: 992px){

	.wrapper-body .filters .search,
	.wrapper-body .filters .country,
	.wrapper-body .filters .job-post {
		width: calc(100%/2 - 20px);
		margin-bottom: 20px;
	}

	.wrapper-body .filters .actions{
		margin-right: auto
	}
}

@media only screen and (max-width: 600px){

	.wrapper-body .filters .search,
	.wrapper-body .filters .country,
	.wrapper-body .filters .job-post {
		width: calc(100%);
		margin-bottom: 10px;
		margin-right: 0;
	}

	.wrapper-body .filters .actions{
		margin-top: 10px;
	}

	.wrapper-body .page-heading h1 {
	    font-size: 17px;
	}

	.wrapper-body .page-heading .total {
	    padding: 6px 10px;
	    font-size: 11px;
	    font-weight: 500;
	}

	.wrapper-body .filters input, .wrapper-body .filters select {
	    font-size: 13px;
	    padding: 10px 15px;
	}

	.wrapper-body .filters .actions a {
	    font-size: 12px;
	}

	.wrapper-body table.custom,
	.wrapper-body table.custom tbody,
	.wrapper-body table.custom tr,
	.wrapper-body table.custom td {
	    display: block;
	}

	.wrapper-body .table-responsive {
	    max-height: inherit;
	    background: transparent;
	    padding: 0;
	    box-shadow: none;
	}

	.wrapper-body table.custom thead {
	    display: none;
	}

	.wrapper-body table.custom tbody tr {
		background: #F5F7FA;
		padding: 16px;
		border-radius: 6px;
		box-shadow: 0 1px 4px #d7e2ef;
		margin-bottom: 10px;
		position: relative
	}

	.wrapper-body table.custom tbody tr td {
	    text-align: left;
	    padding: 6px 10px !important;
	}

	.wrapper-body table.custom.resume tbody tr td:before {
	    content: attr(data-title);
	    margin-right: 20px;
	    font-size: 12px;
	    display: inline-flex;
	    width: 60px;
	    color: rgb(33 37 41 / 60%);
	}


	.wrapper-body table.custom tbody tr td:nth-child(1) {
	    display: none;
	}

	.wrapper-body table.custom tbody tr td:nth-child(2) {
	    background: #e5edf3;
	    border-radius: 5px;
	    margin-bottom: 8px;
	    color: #3b414b;
	}

	.wrapper-body table.custom.resume th,
	.wrapper-body table.custom.resume td:not(:nth-child(6)){
		white-space: normal;
	}

	.wrapper-body table.custom.resume tbody tr td:last-child {
	    position: absolute;
	    top: 15px;
	    right: 15px;
	}

	.wrapper-body table.custom.resume tbody tr td:last-child:before, .wrapper-body table.custom tbody tr td:nth-child(2):before{
	    content: none;
	}

	.cards-outer table.subscribe-table tr td{
		max-width: 100%;
		margin-right: 0;
		margin-bottom: 8px;
	}

	.cards-outer table.subscribe-table tr td:nth-child(4n){
		margin-right: 0
	}

	.card .inputs .input-group{
		min-width: 100%;
		margin-bottom: 15px;
	}

	table#description_table tr, table#description_table tr td{
		display: block;
	}

	.card table tr:first-child td, .card table tr td{
		padding: 0;
		border-top: 0;
	}

	table#description_table tr{
		border-top: 1px solid #ccc;
		padding: 40px 0
	}

	table#description_table tr:first-child{
		border-top: 0;
		padding-top: 0
	}

}