:root {
   --primary: #3a59ae !important;
   --white: #ffffff !important;
}

/********** Reset Start **********/
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
   margin: 0;
   padding: 0;
   border: 0;
   vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
   display: block;
}
body {
   background-color: #e2e6f3;
   font-family: 'Alata', sans-serif;
   font-size: 16px;
   font-weight: 400;
   line-height: 1.2;
   padding-top: 70px;
}
ol,
ul {
   list-style: none;
}
blockquote,
q {
   quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
   content: '';
   content: none;
}
table {
   border-collapse: collapse;
   border-spacing: 0;
}

button {
   text-decoration: none;
}
button:hover,
button:focus {
   outline: medium;
   text-decoration: none;
}
input {
   text-decoration: none;
}
input:hover,
input:focus {
   box-shadow: none !important;
}
a {
   text-decoration: none;
}
a:hover,
a:focus {
   outline: medium;
   text-decoration: none;
}

/********** CSS Start **********/

.mainbox {
   width: 100%;
   max-width: 450px;
   margin: 39px auto;
}
.header {
   max-width: 95%;
   padding: 15px;
   /* margin: 0 12px; */
   text-align: center;
   box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3) !important;
   background-color: var(--white);
   z-index: 10;
   position: fixed;
   top: 0px;
   left: 50%;
   transform: translateX(-50%);
}
.header img {
   max-height: 70px;
   max-width: 180px;
}
.card {
   width: 100%;
   border: none;
   border-radius: 15px;
   overflow: hidden;
   margin-bottom: 20px;
}

.save-contact-div {
   display: inline-block;
   width: 100%;
   text-align: center;
   padding: 0 15px 15px 15px;
}
.save-contact-div .names {
   color: var(--primary);
   font-size: 24px;
   text-align: center;
   padding: 20px 0;
   border-top: 1px solid var(--primary);
}
.save-contact-div .mails {
   color: var(--primary);
   font-size: 18px;
   font-weight: 600;
   padding: 20px 0;
   border-top: 1px solid var(--primary);
}
.save-contact-div .mails span {
   font-weight: 400;
}
.save-contact-div .links {
   color: #fff;
   font-size: 20px;
   line-height: 1.3;
   background-color: var(--primary);
   width: 100%;
   border-radius: 20px;
   margin: 15px 0;
}

.card-title {
   font-weight: 500;
}
.temp-lists-div {
   width: 100%;
   display: flex;
   flex-wrap: wrap;
}
.temp-lists-div .temp-list {
   width: 100%;
   float: left;
   margin: 10px 0;
   padding-left: 50px;
   position: relative;
   min-height: 40px;
}
.temp-lists-div .temp-list .temp-img {
   background-color: var(--white);
   box-shadow: 0px 2px 5px 1px rgba(0, 0, 0, 0.1);
   border-radius: 6px;
   padding: 4px;
   width: 40px;
   height: 40px;
   text-align: center;
   min-width: 40px;
   position: absolute;
   left: 0;
   top: 0;
}
.temp-lists-div .temp-list .links {
   color: #222;
   font-size: 16px;
}
.temp-lists-div .temp-list .subtext {
   color: #9e9e9e;
   font-size: 12px;
}
.temp-lists-div .temp-list .subtext-2 {
   color: #212529;
   font-size: 14px;
   margin: 3px 0;
}

.gredview .card-title {
   text-align: center;
}
.gredview .temp-lists-div {
   justify-content: center;
}
.gredview .temp-lists-div .temp-list {
   width: 25%;
   padding-left: 0;
   text-align: center;
}
.gredview .temp-lists-div .temp-list .temp-img {
   position: static;
   width: 60px;
   height: 60px;
}
.gredview .temp-lists-div .temp-list .links {
   display: none;
}

@media (min-width: 515px) {
   .header {
      max-width: 450px;
   }
}
