
body {
    background-color: #f8f8f8;
}

.background {
	background-color: #1f305f;
  top: 0;
	right: 0;
	left: 0;
	bottom: 0;
	z-index: -1;
}

.back_button {
    position: absolute;
    right: 100px;
    top: 10px;
}

/* for main page */
.center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  padding-top: 100px;
}

@media only screen and (min-width: 472px) {
  .break {
    flex-basis: 5%;
    height: 0;
  }
}

@media only screen and (max-width: 471px) {
  .break {
    flex-basis: 100%;
    height: 0;
  }
}

.break-newline {
  flex-basis: 100%;
  height: 0;
}

.button-width {
  min-width: 200px;
}

.main_link {
  padding-top: 40px;
}

.main_link a {
  color: white;
}

.main_button {
  padding-top: 10px;
}

/* for personal page */


.settings {
	box-shadow: 0 0 20px rgba(0,0,0,.25);
	position: relative;
	margin: 55px 60px 30px;
	border-radius: 5px;
	background: #e8eef2;
}

.container-fluid {
	padding-right: 15px;
	padding-left: 15px;
	margin-right: auto;
	margin-left: auto;
	width: 100%;
}

.settings-options {
	padding: 32px;
}

.pane-header {
	background-color: #FFF;
  	cursor: pointer;
  	-webkit-transition: all .3s;
	transition: all .3s;
	font-size: 1.1rem;
	position: relative;
	font-weight: 500;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	height: 48px;
	box-shadow: 0 0 6px rgba(0,0,0,.05);
  	outline: none;
}

.active, .pane-header:hover {
  background-color: #F2F8FC;
}

.active .icon {
	background-color: #03a9f4;
	color: #fff;
}

.pane-header:after {
  content: '\002B';
  color: #777;
  font-weight: bold;
  float: right;
  padding: 10px;
}

.pane-header.active:after {
  content: "\2212";
}

.title {
	padding: 0 16px;
	text-transform: uppercase;
	font-size: 1rem;
	margin: 0;
	-webkit-flex-shrink: 1;
	-webkit-flex-grow: 1;
	flex-grow: 1;
	flex-shrink: 1;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	line-height: 48px;
}

.icon {
	padding-top: 15px;
	background: #F2F8FC;
	color: #5f676d;
	width: 48px;
	text-align: center;
	flex-grow: 0;
	flex-shrink: 0;
	line-height: 48px;
}


label {
  font-weight: bold;
}

.inner {
	display: flex;
	align-items: stretch;
}

.row {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	margin-right: -15px;
	margin-left: -15px;
}

.panel {
    padding: 0 18px;
  	max-height: 0;
  	overflow: hidden;
  	transition: max-height 0.2s ease-out;
}

.content_info {
	padding: 1rem 0;
}

.qr-preview {
    position: relative;
    width:100%;
}

.qr-preview img {
    width: 100%;
    vertical-align: middle;
}

.qr-preview .loader, .show_logo .loader{
    position: absolute;
    top:0px;
    right:0px;
    width:100%;
    height:100%;
    background-color:#eceaea;
    background-image:url('../image/ajax-loader.gif');
    background-size: 50px;
    background-repeat:no-repeat;
    background-position:center;
    z-index:10000000;
    opacity: 0.7;
    filter: alpha(opacity=40);
}


.card-img-top {
    width: 100%;
    border-top-left-radius: calc(.25rem - 1px);
    border-top-right-radius: calc(.25rem - 1px);
}

img {
    vertical-align: middle;
    border-style: none;
}


.settings-download {
    background: #fff;
    padding: 10px;
    border-left: 1px solid rgba(0,0,0,.1);
    border-radius: 0 5px 5px 0;
}


#create_button.disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.download-buttons {
    padding-top: 15px;
    padding-bottom: 20px;
}

.flex-row {
	display: flex;
	-webkit-box-orient: horizontal!important;
    -webkit-box-direction: normal!important;
    -ms-flex-direction: row!important;
    flex-direction: row!important;
}

.logo-preview {
	  width: 200px;
    -webkit-flex-shrink: 0;
    flex-shrink: 0;
    padding: 8px;
    position: relative;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    background-color: #fff;
    margin: 0 16px 0 0;
    overflow: hidden;
}


.logo-preview .placeholder {
	height: 100%;
    width: 100%;
    border: 3px dashed #e8eef2;
    display: -webkit-flex;
    display: flex;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
    color: #6f787f;
    text-transform: uppercase;
    font-size: .8rem;
}

.logo_image {
    width: 100%
}

#image_upload_button, #remove_button {
    display: none;
}
.custom-file-upload, .custom-file-remove {
    border: 1px solid #ccc;
    display: inline-block;
    padding: 6px 12px;
    cursor: pointer;
}




/* for import page */
.pane-header2 {
    background-color: #F2F8FC;
    font-size: 1.1rem;
    position: relative;
    font-weight: 500;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    height: 48px;
    box-shadow: 0 0 6px rgba(0,0,0,.05);
    outline: none;
}


.pane-header2 .icon {
    padding-top: 15px;
    background: #03a9f4;
    color: #fff;
    width: 48px;
    text-align: center;
    flex-grow: 0;
    flex-shrink: 0;
    line-height: 48px;
}


.panel2 {
    padding: 0 18px;
}


.form-control.is-invalid{
    background-image: none;
}







/* login css */

#login .container #login-row #login-column #login-box {
  margin-top: 50px;
  max-width: 600px;
  height: 320px;
  border: 1px solid #9C9C9C;
  background-color: #EAEAEA;
  box-shadow: 0 0 20px rgb(0 0 0 / 25%);
  border-radius: 5px;
}
#login .container #login-row #login-column #login-box #login-form {
  padding: 20px;
}
#login .container #login-row #login-column #login-box #login-form #register-link {
  margin-top: -85px;
}



/* small screen css */
@media only screen and (max-width: 575px) {
  .inner > .settings-options {
    padding-left: 5px;
    padding-right: 5px;
  }

  .settings {
    margin-left: 5px;
    margin-right: 5px;
  }

  .back_button {
    right: 15px;
  }

  .container {
    padding: 0px;
  }
}




/* for vcard_list.php */
.list-tab {
  padding: 0px 15px 0px 0px;
}

.list-tab ul>li:last-child {
  margin-right: 0;
}

.list-tab ul>li {
  float: left;
  margin-right: 25px;
  font-size: 1.05rem;
  font-weight: bold;
}

.list-tab .icon {
    background-color: #03a9f4;
    color: #fff;
    padding-bottom: 15px;
}


@media only screen and (max-width: 735px) {
  .list-tab .nav {
    padding: 15px;
  }
}

.panel2 h5 {
    float: left;
    margin: 3px 0 3px 0;
    line-height: 24px;
    font-weight: 400;
    color: #444;
    font-size: 20px;
}

.panel2 h5 i {
  margin: 0 10px 0 5px;
}

.datatable {
  width:100% !important; 
  background-color: white;
}

.label-align-left {
  text-align: left !important;
  display: inline-block !important;
}

table.dataTable tbody tr:hover {
   background-color:#71d1eb !important;
}

.btn-bottom {
  margin-bottom: 2px;
}