/*
	Theme Name:   Jannah Child
	Theme URI:    http://jannah.tielabs.com/
	Description:  Jannh Child Theme
	Author:       TieLabs
	Author URI:   https://tielabs.com
	Template:     jannah
	Version:      1.0.2
	License:      license purchased
	License URI:  http://themeforest.net/licenses/regular_extended
	Tags:         Tags: two-columns, buddypress, left-sidebar, right-sidebar, custom-menu, editor-style, featured-images, full-width-template, microformats, rtl-language-support, sticky-post, threaded-comments, translation-ready
	Text Domain:  jannah-child
*/


/* write custom css after this line */
.entry {
    font-size: 17px;
}
h3 {
    font-size: 24px;
}
h4 {
    font-size: 20px;
}
.main-nav .menu ul li.current-menu-item:not(.mega-link-column)>a {
    font-weight: 700;
}
.main-nav .components li a:hover, .main-nav .menu ul li.current-menu-item:not(.mega-link-column)>a, .main-nav .menu ul li:hover>a:not(.megamenu-pagination) {
    color: #fff;
    text-decoration: underline;
}
div#etuhero {
    min-height: 600px;
    color: #fff;
    background-size: cover !important;
}
.home .container .section-item {
    padding-top: 0 !important;
}
.etuhero-otsikko {
    width: 50%;
    margin: 0 auto;
    padding: 50px 10px;
    text-align: center;
}
.herocol {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
}
.hero50 {
    width: 40%;
    text-align: center;
}
.tai{
    margin: 20px;
}
.home .kaupunkilaatikko.no-top-margin {
    min-height: 256px;
    padding: 0;
}
.kaupunkilaatikko.no-top-margin {
    margin-top: 10px;
}
.home .kaupunkilaatikko {
    margin-top: 0;
    margin-bottom: 20px;
}
.hero-keskitys {
    padding: 0px 20%;
    margin-top: 50px;
}
.site-content {
    -ms-word-wrap: normal;
    word-wrap: normal;
}
p.hero-osio-otsikko {
    background: #7e0101;
    color: #fff;
    padding: 10px;
    border-radius: 5px 5px 0 0;
    font-size: 18px !important;
}
a#heronappi:hover {
    background: #000000;
}
#heronappi {
    display: block;
    width: 60%;
    padding: 5px;
background: #7e0101;
    color: #fff;
    border-radius: 5px;
    border: 2px solid;
    margin: 0 auto 20px;
    -webkit-transition: all ease-in-out 0.2s;
    -moz-transition: all ease-in-out 0.2s;
    -o-transition: all ease-in-out 0.2s;
    transition: all 
ease-in-out 0.2s;
}
form#kaupunki-valinta {
    margin-bottom: 20px;
}
h2.etusivu-valiotsikko {
    background: #7e0101;
    color: #fff;
    text-align: center;
    padding: 10px;
}
.home a.salin-nimi-kaupunki {
    color: #0669ff !important;
}
.home a.salin-nimi-kaupunki:hover {
  text-decoration: underline;
}

.salilistaus-simple.nosto:last-child {
    border-bottom: 1px solid #ccc;
}
h1.rengasotsikko {
    font-size: 2em;
    margin-bottom: 30px;
}
#eumerkit span {
    font-size: 25px;
    margin-right: 20px;
    padding-left: 5px;
    font-weight: 700;
    vertical-align: bottom;
}
div#eumerkit {
    border: 1px solid #b5b5b5;
    text-align: center;
}
div#hinta {
    background: #7e0101;
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
}
div#hinta span {
    font-size: 28px;
    font-weight: 800;
}
img.rengaskuva {
    padding-right: 30px;
}
.single-renkaat p {
    margin-bottom: 10px;
    font-size: 18px;
    line-height: 24px;
}
div#kauppanappi{
    background: #047480;
    text-align: center;
    color: #fff;
    margin-bottom: 20px;
    font-size: 28px;
}
.kaupunkilaatikko {
    background: #1f2024;
    color: #fff;
    padding: 20px 20px 50px 20px;
    border-radius: 5px;
    margin-top: 80px;
    margin-bottom: 50px;
    float: left;
    width: 100%;
}
.home .kaupunkilaatikko {
    margin-top: 0;
        margin-bottom: 20px;
}

.kaupunkilaatikko select {
    border: 1px solid rgba(0,0,0,0.1);
    color: var(--base-color);
    font-size: 16px;
    outline: none;
    padding: 5px;
    line-height: 23px;
    height: 40px;
    border-radius: 5px;
    transition: background 0.3s, border 0.3s;
    max-width: 100%;
    width: 100%;
    background-color: #fff;
    }

    .kaupunkilaatikko hr.divider.divider-solid {
    border-color: #80b952;
}
.city-lista a {
    color: #0669ff;
    font-weight: 500;
}
.city-lista a:hover {
text-decoration: underline;
}
a.merkkilista {
    width: 100%;
    float: left;
}
.merkit{
        float: left;
    margin-bottom: 30px;
}
span.mainosteksti {
    text-align: center;
    width: 100%;
    float: left;
}
span.thin.oikee {
    float: right;
    font-weight: 400;
}
/*sivupalkki*/
.sidebar {
    font-size: 16px;
}
.sidebar .kaupunkilaatikko {
    margin-bottom: 0;
}
.home .sidebar .kaupunkilaatikko {
    display: none;
}
span.widget-title-icon.tie-icon {
    display: none;
}
ul.recent-vaihtopaikka-list li {
    list-style-type: none;
    border-bottom: 1px solid #eee;
    padding: 5px 10px;
    float: left;
    width: 100%;
}
.sivukeskitys {
    margin-bottom: 30px;
}
/*tietosivut*/
.child-page {
    float: left;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}
.child-thumb {
    width: 20%;
    float: left;
}
.child-sisalto {
    float: left;
    width: 80%;
    padding-left: 20px;
}
/*yksittäinen toimipiste*/
.single-toimipiste .entry-title, .single-golfsimulaattori .entry-title {
    border-radius: 8px 8px 0 0;
    padding: 20px;
    margin-bottom: 0;
    color: #fff;
background: rgb(126 1 1);
    background: linear-gradient(270deg, rgb(126 1 1) 0%, rgb(173 35 35) 100%);
}
.auki header.entry-header-outer {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    border-bottom: 5px solid #1b2227;
}
.margin20 {
    margin: 20px 0;
}
h2.kaupunginosa {
background: #d6d7d7;
    color: #000000;
    padding: 10px 20px;
    margin-bottom: 20px;
    border-radius: 0 0 8px 8px;
}
a.naytakaikki-kaupunki:hover {
    background: #7e0101;
}
a.naytakaikki-kaupunki {
    background: #ad2525;
    color: #fff !important;
    padding: 10px;
    float: left;
}
.perustiedot-icon.tieto {
    margin-top: 26px;
}
.perustiedot-icon {
    float: left;
    margin: 0px 20px;
    width: 30px;
    height: 24px;
    font-size: 24px;
}
h2.info {
    margin-bottom: 20px;
    margin-top: 20px;
    padding-left: 70px;
}
#toimipiste-info {
    font-weight: 500;
    padding: 10px 0;
    width: 100%;
    float: left;
    min-height: 30px;
    font-size: 16px;
    line-height: 24px;
    border-bottom: 1px solid #eee;
}
#toimipiste-info p {
    font-weight: 500;
    margin-bottom: 0;
}
#yhteyslinkki {
    float: right;
    font-size: 16px;
    margin-top: -23px;
    background: transparent;
    color: #238cb4;
    -webkit-transition: all 
ease-in-out 0.2s;
    -moz-transition: all ease-in-out 0.2s;
    -o-transition: all ease-in-out 0.2s;
    transition: all 
ease-in-out 0.2s;
}
#map-canvas.map-static {
    width: 100%;
    overflow: hidden;
    height: 400px;
}
#map-canvas.map-static .google-map .tie-fluid-width-video-wrapper {
    height: 400px;
    padding-top: 0 !important;
}
#toimipiste-info.map {
    margin-bottom: 30px;
}

p.kaupunki-kaikki {
    margin-top: 30px !important;
    float: left;
    margin-bottom: 15px !important;
}
#salilistaus {
    width: 100%;
    float: left;
    font-size: 16px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
}
.single-toimipiste .suljettu .entry-title {
    border: 1px solid #7d1d1d;
    border-radius: 8px 8px 0 0;
    padding: 20px;
    margin-bottom: 0;
    background: #b42323;
    color: #fff;
}
.suljettu header.entry-header-outer {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
    border-bottom: 5px solid #8f1616;
}
h2.suljettu-otsikko {
    background: #f51414;
    color: #fff;
    padding: 20px;
    width: 100%;
    float: left;
}
p.suljettu-p{
    padding: 10px;
        background: #ffd6d6;
        width: 100%;
    float: left;
}
.suljettu .sali-data {
    float: left;
    width: 100%;
    background: #ffd6d6;
}
.suljettu button#yhteyslinkki {
    display: none;
}
.vinkkilaatikko {
    background: #e3f5ff;
    padding: 10px 0;
    margin-bottom: 10px;
}

p#vinkki, p#toggleText {
    padding-left: 70px !important;
}
.single-toimipiste #loadingmap {
    margin-bottom: 10px;
}
/*ketjun listaus ja sivut*/
.ketjunkaupungit {
    background: #1f2024;
    float: left;
    width: 100%;
    margin-top: 30px;
    padding: 10px 10px 6px 10px;
}
.ketjunkaupungit a {
    background: #fff;
    border: none;
    border-radius: 3px;
    opacity: 1;
}
.ketjunkaupungit a:hover {
    opacity: 0.8;
}
.ketjunkaupungit h4 {
    color: #fff;
margin-bottom: 10px;
}
a.kaupunginosa {
    border: 1px solid #c1c1c1;
    margin-right: 5px;
    padding: 0px 5px;
    line-height: 21px;
    margin-bottom: 5px;
    float: left;
    font-size: 13px;
}
.tax-ketju h1.page-title {
    border-radius: 8px 8px 0 0;
    padding: 20px;
    margin-bottom: 0;
    background: #1f2024;
    color: #fff;
}
/*Rengaslistaus*/
article.item-list {
    width: 100%;
    float: left;
    margin-bottom: 10px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}
.item-list .rengaskuva {
    width: 10%;
    float: left;
    margin-right: 1%;
}
h2.lista-rengas {
    font-size: 18px;
}
.lista-data{
	    width: 89%;
    float: left;
}
.lista-data p {
    margin: 0 !important;
}
.two_thirds {
    float: left;
    width: 70%;
}
.one_third {
    font-size: 22px;
    width: 30%;
    float: left;
    font-weight: 700;
    text-align: right;
}
span.listalink {
    font-size: 16px;
    font-weight: 400;
    float: left;
    width: 100%;
    margin-top: 10px;
    line-height: 14px;
}
a.listakauppaan p {
	line-height: 30px;
}
a.listakauppaan {
    float: right;
    background: #eee;
    padding: 10px 20px;
    border: 1px solid #aaa;
    border-radius: 5px;
    text-align: center;
    width: 100%;
}
img.listaikonit {
    width: 20px;
    margin-right: 5px;
    vertical-align: text-bottom;
}
span.listaikoniteksti {
    font-size: 20px;
    margin-right: 10px;
}
img.kesatalvi-small {
    width: 30px;
    vertical-align: middle;
    margin-right: 30px;
}

/*rengasvalitsin*/

.rengasvalitsin select#select-valmistaja.disabled {
    background: #4d4d4d !important;
    color: #fff;
}
.rengasvalitsin [disabled] {
    cursor: default;
    display: none;
}
.rengasvalitsin {
    background: #2c2c2c;
    padding: 4%;
    width: 100%;
    border: 1px solid #dddcdc;
}
.rengasvalitsin select#cat, .rengasvalitsin select#select-valmistaja, .rengasvalitsin select#select-rengastyyppi, .rengasvalitsin select#select-halkaisija, .rengasvalitsin select#select-leveys, .rengasvalitsin select#select-korkeus {
    float: left;
    margin-right: 1%;
    padding: 10px;
    font-size: 15px;
    width: 32%;
    margin-bottom: 10px;
    background: #FFF;
    height: 50px;
}
.rengasvalitsin{
    width: 100%;
    float: left;
	border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.rengasvalitsin input[type="submit"] {
    float: left;
    margin-right: 1%;
    width: 32% !important;
    height: 50px;
}
.rengasvalitsin p {
    margin-bottom: 10px;
}
.valinnat {
    float: left;
    width: 100%;
    margin-bottom: 20px;
}
.home .entry h2 {
    margin-top: 0;
}
.rengasvalitsin p {
    margin-bottom: 10px;
        color: #fff;
}
.rengasvalitsin a {
    background: #4b4b4b;
    color: #fff !important;
    padding: 5px;
}
.valinnat {
    float: left;
    width: 100%;
    margin-bottom: 20px;
}
p.resetti {
    float: left;
    width: 100%;
    font-size: 13px;
        padding-bottom: 0;
}
/*tuotelistaus */
/*________________________________________________________________ tuotesyötteet _____________*/
div#nostotarjoukset {
    float: left;
    background: #f7f7f7;
    padding: 10px;
    margin: 20px 0;
    border: 1px solid #e7e7e7;
    text-align: center;
    border-radius: 5px;
}
div#tuotelistaus {
    float: left;
    margin-bottom: 20px;
        width: 100%;
}
.yksituote {
    float: left;
    width: 23%;
    padding: 10px;
    border: 1px solid #eee;
    margin: 1%;
    background: #fff;
    height: 353px;
}

.tuotekuva {
    text-align: center;
        min-height: 176px;
}
.tuotekuva img {
    max-height: 170px;
}
.tuoteteksti {
    background: #fff;
}
span.tuote_nimi {
    height: 44px;
    font-size: 13px;
    line-height: 14px;
    overflow: hidden;
    display: block;
    padding: 0 5px;
    text-align: center;
}
span.vanhahinta {
    text-decoration: line-through;
    background: #25262a;
    color: #ccc;
    width: 50%;
    float: left;
    display: block;
    text-align: left;
    padding-left: 5px;
}
.aleprosentti {
    width: 50%;
    color: #fff;
    float: left;
    display: block;
    text-align: right;
    background: #25262a;
    padding-right: 5px;
}
span.uusihinta {
    font-size: 20px;
    padding: 10px;
     color: #000;
     display: block;
    font-weight: 700;
}
span.tuote_kauppa, span.uusihinta {
    width: 100%;
    display: block;
    text-align: center;
}
span.tuote_kauppa {
    background: #238cb4;
    color: #fff;
    padding: 5px;
}
/*listaus*/
#salilistaus.nostodiv {
    background: #3c3c3c;
    margin-bottom: 20px;
    padding-bottom: 0px;
        border: 1px solid #ddd;
    border-radius: 8px;
}
i.fas.fa-external-link-alt.nostolinkki {
    color: #238cb4;
    font-size: 12px;
    vertical-align: middle;
}
.salilistaus-simple .nosto-kuva {
    float: left;
    width: 80px;
    margin-right: 2%;
    height: 80px;
}
.salilistaus-simple .nosto-sisalto {
    float: left;
        width: calc(100% - 104px);
}
.salilistaus-simple .nosto-sisalto span:before{
    content: none;
}
.salilistaus-simple.nosto {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    margin-bottom: 10px;
  background: #fff;
     float: left;
    width: 100%;

}
.salilistaus-simple.nosto p {
    margin-bottom: 0px;
    line-height: 27px;
}
.nosto-kuva i.fas.fa-star {
    position: absolute;
    color: #8fbc44;
    font-size: 16px;
    border-radius: 0 0 50% 0;
    background: #ffffffde;
    padding: 2px 5px 5px 2px;
}
.salilistaus-simple.maksava i.fas.fa-star {
    color: #8fbc44;
    font-size: 12px;
    line-height: 23px;
    vertical-align: text-top;
}

.salilistaus-simple {
    border-bottom: 1px solid #eee;
padding: 5px 10px;
        float: left;
    width: 100%;
}
.salilistaus-simple:last-child {
    border-bottom: none;
}
.salilistaus-simple span.single-list:before {
    content: "\2013";
    margin: 6px;
}
.salilistaus-simple p {
    font-weight: 500;
    line-height: 27px;
    margin: 0;
}
.salilistaus-simple.maksava {
    background: #f4f9eb;
}
.salilistaus-simple.maksava.info {
    background: #ffffff;
    border: none;
}
.salilistaus-simple.maksava i.fas.fa-star {
    color: #8fbc44;
    font-size: 12px;
    line-height: 23px;
    vertical-align: text-top;
}

.premium i.fas.fa-star {
    color: #8fbc44;
    margin-right: 10px;
}
.salilistaus-simple.ketjupremium {
    padding: 20px 10px;
}
.salilistaus-simple.ketjupremium p {
    font-weight: 500;
    line-height: 27px;
    padding-left: 20px;
        margin-bottom: 0;
}
#toimipiste-info .salilistaus-simple.ketjupremium p {
    padding-left: 20px;
}

img.listaussalikuva {
    max-width: 100px;
    float: left;
    margin-right: 20px;
}
#salilistaus h4 a {
    font-size: 20px;
}
.salilistaus-simple span.fas {
    margin-right: 10px;
}
}
.salilistaus-simple {
    border-bottom: 1px solid #eee;
    padding: 5px 10px;
    float: left;
    width: 100%;
}
.palleroselitykset {
    margin-bottom: 20px;
    float: left;
    width: 100%;
    text-align: center;
    border: 1px solid #dbdbdb;
    background: #f8f8f8;
    padding: 10px;
}

.palleroselitykset li {
    float: left;
    width: 25%;
}

img.pallero {
    height: 14px;
    margin-right: 10px;
}
.kaupunkilaatikko.no-top-margin {
    margin-top: 10px;
}
.kaupunkilaatikko p {
    margin-bottom: 30px;
}
p.tarjouslaskuri{
    background: #fffff6;
    border: 5px dashed #f5e7b6;
    padding: 10px;
}
#salilistaus a {
    font-size: 16px;
}
.simun-nimi {
    width: 75% !important;
    float: left;

}
a.simun-nimi {
    font-weight: 500;
    color: #307df1;
}
.simulista {
    float: left;
    width: 25%;
    text-align: right;
}
.simu-kaupunki{
     float: left;
    width: 25%;   
}
.simulista a:hover {
    color: #fff !important;
}
a.thin.simu-kaupunki {
    font-weight: 400;
}

span.katsokaikki {
    margin-top: -20px !important;
    float: left;
    width: 100%;
    margin-bottom: 20px;
}
/*---------------------map*/

.acf-map {
    width: 100%;
    height: 500px;
    border: #ccc solid 1px;
    margin: 0;
    display: none; 
}
#loadingmap{
    background: #25262a;
    width: 100%;
    min-height: 500px;
    position: relative;
    margin-bottom: 60px;
}
.entry .acf-map p {
    margin-bottom: 0px;
}
#loadingmap .ring p {
    position: absolute;
    top: 160px;
}
#loadingmap .ring
{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:150px;
  height:150px;
  background:transparent;
  border:3px solid #7e0101;
  border-radius:50%;
  text-align:center;
  font-size: 18px;
  line-height: 20px;
  color:#fff;
  background-image: url(../jannah-child/img/pin.png);
  background-repeat: no-repeat;
  background-position: center;
  background-color: #212121;
  background-size: 30%;
  letter-spacing:1px;
  text-shadow:0 0 10px #238cb4;
  box-shadow:0 0 20px rgba(0,0,0,.5);
}
#loadingmap .ring:before
{
  content:'';
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  border:3px solid transparent;
  border-top:3px solid #450000;
  border-right:3px solid #450000;
  border-radius:50%;
  animation:animateC 2s linear infinite;
}
#loadingmap .ring span
{
  display:block;
  position:absolute;
  top:calc(50% - 2px);
  left:50%;
  width:50%;
  height:4px;
  background:transparent;
  transform-origin:left;
  animation:animate 2s linear infinite;
}
#loadingmap .ring span:before
{
  content:'';
  position:absolute;
  width:16px;
  height:16px;
  border-radius:50%;
  background:#7e0101;
  top:-6px;
  right:-8px;
  box-shadow:0 0 20px #238cb4;
}
@keyframes animateC
{
  0%
  {
    transform:rotate(0deg);
  }
  100%
  {
    transform:rotate(360deg);
  }
}
@keyframes animate
{
  0%
  {
    transform:rotate(45deg);
  }
  100%
  {
    transform:rotate(405deg);
  }
}

@media (max-width: 767px) {
    #yhteyslinkki {
        float: inherit;
        padding-left: 70px;
    }
    .etuhero-otsikko {
    width: 90%;
}
.herocol {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 10px;
    flex-direction: column;
}
.hero50 {
    width: 80%;}
    div#etuhero {
    min-height: 600px;
    color: #fff;
    background-position-x: right !important;
    background-repeat: no-repeat !important;
    background-color: #000 !important;
    background-position-y: bottom !important;
}
}