.buttonbox { margin:A auto; width: 100%; border: none; padding: 0px; } .container { position: relative; text-align: center; color: white; } .gilanmap { width:100%; padding: 5px 5px 5px; background-color: white; box-shadow: 0 1px 3px rgba(34, 25, 25, 0.4); -moz-box-shadow: 0 1px 2px rgba(34,25,25,0.4); -webkit-box-shadow: 0 1px 3px rgba(34, 25, 25, 0.4); } .gilanmapfull{ display:block; width: 100%; } .gilanmapmob{ display:none; } .mobilewindow { -moz-transform: scale(0.8); zoom: 0.8; } .maintable { border-collapse: collapse; width: 710px; } .numberclass { color: #ffff00; font-size: 18px; padding-left: 8px; direction: ltr; text-shadow: 0px 0px 10px #26541D, 0px 0px 10px #26541D, 0px 0px 10px #26541D, 0px 0px 10px #26541D, 0px 0px 10px #26541D, 0px 0px 10px #26541D, 0px 0px 10px #26541D, 0px 0px 10px #26541D, 0px 0px 10px #26541D, 0px 0px 10px #26541D, 0px 0px 10px #26541D; } .numberclass1 { color: #52daff; font-size: 18px; padding-left: 8px; direction: ltr; text-shadow: 0px 0px 10px #26541D, 0px 0px 10px #26541D, 0px 0px 10px #26541D, 0px 0px 10px #26541D, 0px 0px 10px #26541D, 0px 0px 10px #26541D, 0px 0px 10px #26541D, 0px 0px 10px #26541D, 0px 0px 10px #26541D, 0px 0px 10px #26541D, 0px 0px 10px #26541D; } @media screen and (max-width:1200px) { .mobilewindow { -moz-transform: scale(0.65); zoom: 0.65; } } @media screen and (max-width:1100px) { .mobilewindow { -moz-transform: scale(0.6); zoom: 0.6; } } @media screen and (max-width:1050px) { .mobilewindow { -moz-transform: scale(0.55); zoom: 0.55; } } @media screen and (max-width:1000px) { .mobilewindow { -moz-transform: scale(0.5); zoom: 0.5; } } @media screen and (max-width:960px) { .mobilewindow { -moz-transform: scale(0.8); zoom: 0.8; } } @media screen and (max-width:860px) { .mobilewindow { -moz-transform: scale(0.7); zoom: 0.7; } } @media screen and (max-width:780px) { .mobilewindow { -moz-transform: scale(0.6); zoom: 0.6; } } @media screen and (max-width:700px) { .mobilewindow { -moz-transform: scale(0.5); zoom: 0.5; } } @media screen and (max-width:650px) { .mobilewindow { -moz-transform: scale(0.9); zoom: 0.9; } } @media screen and (max-width:530px) { .mobilewindow { -moz-transform: scale(0.8); zoom: 0.8; } } @media screen and (max-width:450px) { .mobilewindow { -moz-transform: scale(0.7); zoom: 0.7; } } @media screen and (max-width:380px) { .mobilewindow { -moz-transform: scale(0.6); zoom: 0.6; } } @media screen and (max-width:330px) { .mobilewindow { -moz-transform: scale(0.5); zoom: 0.5; } } @media screen and (max-width:280px) { .mobilewindow { -moz-transform: scale(0.4); zoom: 0.4; } } @media screen and (max-width:250px) { .mobilewindow { -moz-transform: scale(0.3); zoom: 0.3; } } @media screen and (max-width:650px) { .gilanmap { width: 100%; padding: 0px; } .gilanmapfull{ display:none; } .gilanmapmob{ display:block; width: 100%; } .buttonbox { margin: auto; width: 100%; border: none; padding: 0px; } .maintable { width: 100%; } } #counter { position: relative; } #over { position:absolute; left:33%; top:43%; } .astaraclass { position: absolute; top: 8%; left: 26%; cursor: pointer; transform: translate(-50%, -50%); } .heyranclass { position: absolute; top: 5%; left: 21%; cursor: pointer; transform: translate(-50%, -50%); } .taleshclass { position: absolute; top: 30%; left: 26%; cursor: pointer; transform: translate(-50%, -50%); } .anzaliclass { position: absolute; top: 49%; left: 39%; cursor: pointer; transform: translate(-50%, -50%); } .masoulehclass { position: absolute; top: 66%; left: 30%; cursor: pointer; transform: translate(-50%, -50%); } .kiashahrclass { position: absolute; top: 51%; left: 52%; cursor: pointer; transform: translate(-50%, -50%); } .froudgahclass { position: absolute; top: 58%; left: 46%; cursor: pointer; transform: translate(-50%, -50%); } .rashtclass { position: absolute; top: 67%; left: 44%; cursor: pointer; transform: translate(-50%, -50%); } .lahijanclass { position: absolute; top: 67%; left: 53%; cursor: pointer; transform: translate(-50%, -50%); } .roudsarclass { position: absolute; top: 73%; left: 62%; cursor: pointer; transform: translate(-50%, -50%); } .deylamanclass { position: absolute; top: 83%; left: 51%; cursor: pointer; transform: translate(-50%, -50%); } .jirandehclass { position: absolute; top: 92%; left: 48%; cursor: pointer; transform: translate(-50%, -50%); } .manjilclass { position: absolute; top: 87%; left: 42%; cursor: pointer; transform: translate(-50%, -50%); } .roudbarclass { position: absolute; top: 80%; left: 39%; cursor: pointer; transform: translate(-50%, -50%); } .tozihaatclass1 { position: absolute; top: 12%; right: 2%; } .tozihaatclass2 { position: absolute; top: 2%; right: 1%; } .iranposition { position: absolute; top: 88%; left: 4%; box-shadow: 0 0 6px rgb(8, 38, 49); border-radius: 25px; } .iranposition:hover { box-shadow: 0 0 8px rgba(35, 173, 255, 1); } .iranlink { color: #fff; font-size: 16px; text-align: right; padding-right: 16px; padding-left: 16px; padding-top: 8px; padding-bottom: 8px; border-radius: 25px; background-color: #1fc8db; background-image: linear-gradient(141deg, #9fb8ad 0%, #1fc8db 51%, #2cb5e8 75%); cursor: pointer; } .amlashclass { position: absolute; top: 77%; left: 56%; cursor: pointer; transform: translate(-50%, -50%); } .foumanclass { position: absolute; top: 67%; left: 36%; cursor: pointer; transform: translate(-50%, -50%); } .astanehclass { position: absolute; top: 58%; left: 55%; cursor: pointer; transform: translate(-50%, -50%); } .jirkoulclass { position: absolute; top: 83%; left: 60%; cursor: pointer; transform: translate(-50%, -50%); } .siahkalazbaramclass { position: absolute; top: 74%; left: 49%; cursor: pointer; transform: translate(-50%, -50%); } .asbclass { position: absolute; top: 43%; left: 24%; cursor: pointer; transform: translate(-50%, -50%); } .rezvanshahrclass { position: absolute; top: 48%; left: 32%; cursor: pointer; transform: translate(-50%, -50%); } .somesaraclass { position: absolute; top: 57%; left: 36%; cursor: pointer; transform: translate(-50%, -50%); } .langarudclass { position: absolute; top: 64%; left: 59%; cursor: pointer; transform: translate(-50%, -50%); } .pilemberaclass { position: absolute; top: 44%; left: 30%; cursor: pointer; transform: translate(-50%, -50%); } .lowshanclass { position: absolute; top: 93%; left: 43%; cursor: pointer; transform: translate(-50%, -50%); } @media only screen and (max-width: 510px) { .tozihaatclass1 { visibility: hidden; } } .matnclass { color: #fff; font-size:17px; line-height: 22px; width: 300px; text-align: right; } /** * Tooltip Styles */ /* Add this attribute to the element that needs a tooltip */ [data-tooltip] { position: relative; z-index: 2; cursor: pointer; } /* Hide the tooltip content by default */ [data-tooltip]:before, [data-tooltip]:after { visibility: hidden; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=0); opacity: 0; pointer-events: none; } /* Position tooltip above the element */ [data-tooltip]:before { position: absolute; bottom: 150%; left: 50%; margin-bottom: 5px; margin-left: -80px; padding: 7px; width: 160px; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px; background-color: #000; background-color: hsla(0, 0%, 20%, 0.9); color: #fff; content: attr(data-tooltip); text-align: center; font-size: 14px; line-height: 1.2; } /* Triangle hack to make tooltip look like a speech bubble */ [data-tooltip]:after { position: absolute; bottom: 150%; left: 50%; margin-left: -5px; width: 0; border-top: 5px solid #000; border-top: 5px solid hsla(0, 0%, 20%, 0.9); border-right: 5px solid transparent; border-left: 5px solid transparent; content: " "; font-size: 0; line-height: 0; } /* Show tooltip content on hover */ [data-tooltip]:hover:before, [data-tooltip]:hover:after { visibility: visible; -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter: progid: DXImageTransform.Microsoft.Alpha(Opacity=100); opacity: 1; } @media only screen and (max-width: 650px) { .iranposition { visibility: hidden; } .astaraclass { position: absolute; top: 7%; left: 15%; transform: translate(-50%, -50%); } .heyranclass { position: absolute; top: 4%; left: 6%; transform: translate(-50%, -50%); } .taleshclass{ position: absolute; top: 25%; left: 10%; transform: translate(-50%, -50%); } .masoulehclass{ position: absolute; top: 66%; left: 18%; transform: translate(-50%, -50%); } .anzaliclass{ position: absolute; top: 48%; left: 40%; transform: translate(-50%, -50%); } .kiashahrclass{ position: absolute; top: 51%; left: 63%; transform: translate(-50%, -50%); } .froudgahclass { position: absolute; top: 58%; left: 51%; transform: translate(-50%, -50%); } .rashtclass{ position: absolute; top: 67%; left: 49%; transform: translate(-50%, -50%); } .lahijanclass { position: absolute; top: 67%; left: 66%; transform: translate(-50%, -50%); } .roudsarclass { position: absolute; top: 75%; left: 83%; transform: translate(-50%, -50%); } .deylamanclass { position: absolute; top: 84%; left: 63%; transform: translate(-50%, -50%); } .jirandehclass { position: absolute; top: 92%; left: 60%; transform: translate(-50%, -50%); } .roudbarclass { position: absolute; top: 83%; left: 43%; transform: translate(-50%, -50%); } .manjilclass { position: absolute; top: 90%; left: 47%; transform: translate(-50%, -50%); } .amlashclass { position: absolute; top: 80%; left: 72%; transform: translate(-50%, -50%); } .foumanclass { position: absolute; top: 65%; left: 33%; transform: translate(-50%, -50%); } .astanehclass { position: absolute; top: 58%; left: 65%; transform: translate(-50%, -50%); } .jirkoulclass { position: absolute; top: 88%; left: 79%; transform: translate(-50%, -50%); } .siahkalazbaramclass { position: absolute; top: 75%; left: 61%; transform: translate(-50%, -50%); } .asbclass { position: absolute; top: 42%; left: 12%; transform: translate(-50%, -50%); } .rezvanshahrclass { position: absolute; top: 48%; left: 28%; transform: translate(-50%, -50%); } .somesaraclass { position: absolute; top: 57%; left: 35%; transform: translate(-50%, -50%); } .langarudclass { position: absolute; top: 65%; left: 77%; cursor: pointer; transform: translate(-50%, -50%); } .pilemberaclass { position: absolute; top: 44%; left: 24%; transform: translate(-50%, -50%); } .lowshanclass { position: absolute; top: 95%; left: 52%; transform: translate(-50%, -50%); } .tozihaatclass2 { width: 200px; } }