/*
Theme Name: AliGhanbari
Theme URI: https://alighanbari.net/
Author: S...
Author URI: https://s....ir/
Description: Theme for AliGhanbari
Version: 2.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alighanbari
Tags: blue, card
*/
html {
  box-sizing: border-box;
}

html *,
html *::after,
html *::before {
  box-sizing: inherit;  
}

body {
  line-height: 1.6;
  background-color: #cfd8dc;
  margin: 0;
  min-height: 100vh;
}

.card {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	max-width: 380px;
	line-height: 22px;
	font-family: 'Open Sans', sans-serif;
	background-color: #fff;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-webkit-box-shadow: 0px 3px 0px 0px #b7bfc2;
	box-shadow: 0px 3px 0px 0px #b7bfc2;
}

@media (max-width: 768px) {
	.card {
		width: 320px;
	}
}
.card-header {
	background-color: #03a9f4;
	text-align: center;
	padding: 1em;
	-webkit-border-top-right-radius: 5px;
	-webkit-border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	border-top-left-radius: 5px;
	border-bottom: 5px solid #0288d1;
}
.inner-container {
	width: 90%;
	margin: 0 auto;
	display: block;
}
.avatar {
	width: 110px;
	margin: 0 auto;
	display: block;
	border-radius: 50px;
}
.card-header h1 {
	font-family: 'Quicksand', sans-serif;
	font-size: 20px;
	font-style: normal;
	margin: .5em auto .1em;
	color: #212121;
	letter-spacing: 1px;
}
.card-header h2 {
	font-size: 14px;
	color: #fff;
	font-weight: 400;
	margin: 0;
	letter-spacing: 2px;
}
.content {
	background-color: #fff;
}
.content p {
	font-family: calibri, 'Open Sans', sans-serif;
	font-size: 16px;
	color: #474747;
	text-align: justify;
	line-height: 24px;
	margin-bottom: 4em;
}
.card-footer {
	background-color: #ececec;
	-webkit-border-bottom-right-radius: 5px;
	-webkit-border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	border-bottom-left-radius: 5px;
}
.card-footer a {
	color: #a5a5a5;
	text-decoration: none;
}
ul {
	width: 320px;
	margin: 0 auto;
	padding: 1em;
	list-style: none;
}
li:first-child {
	margin-left: 0;
}
li {
	margin-left: 53px;
	display: inline-block;
	font-size: 30px;
}

@media (max-width: 768px) {
	li:first-child {
		margin-left: 20px;
	}
	li {
		margin-left: 40px;
	}
}


/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    bottom: 140%;
    left: 50%;
    margin-left: -60px;
    background-color: #0288d1;
    color: #fff;
    text-align: center;
    padding: 5px 0;
    border-radius: 2px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 12px;
 
    /* Position the tooltip text - see examples below! */
    position: absolute;
    z-index: 1;
    /* Fade in tooltip - takes 1 second to go from 0% to 100% opac: */
    opacity: 0;
    transition: opacity 1s;

    display: table;
	padding: 5px 5px;
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}