/*   
	Theme Name:        Visitparnu
	Theme URI:         https://visitparnu.ee
	Author:            Heelixus
	Author URI:        https://heelixus.ee
	Version:           1.0
	Stable tag:        1.0
	Requires at least: 4.9
	Tested up to:      4.9
	License:           GNU General Public License v3 or later.
	License URI:       https://www.gnu.org/licenses/gpl-3.0.html
	Text Domain:       visitparnu
*/

html,
body {
    margin: 0;
    padding: 0;
    font-family: 'TT Norms', sans-serif;
    overflow-x: hidden;
}



.single-back-img img {
    object-fit: cover;
    width: 100%;
    height: 400px;

    z-index: -1;
    width: 100%;
    -webkit-filter: greyscale(100%);
    filter: greyscale(100%);
    overflow: hidden;
}

.vasak {

    float: left;
    width: 60%;
    padding: 0 30px;

}

.parem {
    overflow: auto;
    padding: 30px;

}

.galerii {
    float: left;

    margin: 2px;
    overflow: hidden;
}

.galerii img {
    width: 90px;
    height: auto;
}

.galerii:hover {
    opacity: 0.7;
}

.entry-title-single {
    margin: 0;
    padding: 0;
    color: #000f6e;
    font-weight: 100;
    line-height: 1;
    letter-spacing: 2px;
    margin-bottom: 30px;
}

.sisu-synd-kirjeldus {
    font-size: 17px;
    font-weight: normal;
    text-align: justify;
    color: #000f6e;
/*    line-height: 25px;*/
    margin-bottom: 30px;
}



.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.entry-content {
    margin: 30px;
    padding: 0 50px;
    overflow: auto;
}

.elem {
    font-size: 17px;
    display: flex;
    align-items: center;
    background-color: #f2f2f2;
    padding: 10px 10px;
}

.elem a {
    color: #000574;
    display: flex;
    align-items: center;
    text-decoration: none;

}

.elem a:hover {
    color: #000bff;


}

.elem img,
.elem a img {
    margin-right: 10px;
}

.kaart {
    margin-top: 20px;
}
.aeg {
    position: absolute;
    top:0%;
    left: 0;
    background-color: #000f6f;
    font-size: 15px;
    color:#fff;
    padding: 5px 10px;
}
.objektid {
  margin: 0 auto;
max-width: 1600px;
padding: 26px;
}

.obj {
    position: relative;
    display: block;
    float: left;
    width: 20%;
    min-height: 400px;
    text-align: center;
    text-decoration: none;
    padding: 5px;


}

.obj img {
    max-width: 100%;
    height: auto;
    -webkit-transition: all .2s ease-out;
    transition: all .2s ease-out;
/*
    -webkit-filter: sepia(100%) hue-rotate(170deg);
    filter: sepia(100%) hue-rotate(170deg);
*/
 
}

.obj:hover img {

    -webkit-transform: scale(0.95) translateY(-5px);
    transform: scale(0.95) translateY(-5px);
    -webkit-transition: all .2s ease-out;
    transition: all .2s ease-out;
        -webkit-filter: sepia(0%) hue-rotate(0deg);
    filter: sepia(0%) hue-rotate(0deg);
/*
    -webkit-box-shadow: 0px 0px 27px -8px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 0px 27px -8px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 0px 27px -8px rgba(0, 0, 0, 0.75);
*/

}

.obj:hover .obj-info {
    -webkit-transform: scale(1.1) translateY(5px);
    transform: scale(1.1) translateY(5px);
    -webkit-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

.obj:hover h2 {
    color: #0022ff;
    -webkit-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

.img-wrapper {
    height: 300px;
    overflow: hidden;

}



.obj-info {
    padding: 0 20px;
    -webkit-transition: all .2s ease-out;
    transition: all .2s ease-out;
}

.obj h2 {
    position: relative;
    font-size: 18px;
    line-height: 1;
    color: #000f6f;
    margin: 0;
    font-weight: 100;
}

.obj-aadress {
    font-size: 12px;
    color: #888888;
}

#wp_pagination {
    text-align: center;
    margin-bottom: 50px;
}
#wp_pagination .active {
  background-color: #e0e0e0;
}
#wp_pagination a {
    font-size: 21px;
    padding: 10px;
    font-weight: 100;
    color: #000;
    text-decoration: none;
}
#wp_pagination a:hover {
    color: #0022ff;
    background-color: #f2f2f2;
}

.category-content-wrapper {
    padding: 30px;

}

.category-content {

    margin: 0 auto;
    width: 100%;
}

.filter {
    background-color: #f4f4f4;
    padding: 30px;
    margin: 30px;
}

.filtreeri {
    transform: scale(1);
    margin-top: 20px;
    font-size: 15px;
    line-height: 1;
    color: #000f6f;
    background-color: #fff;

    border: 1px solid #000f6f;
    padding: 10px 15px;
    letter-spacing: 1px;
}

.filtreeri:hover {
    color: #fff;
    background-color: #000f6f;
}

.filtreeri:active {
    transform: scale(0.96);
    color: #fff;
    background-color: #0022ff;
}

.obj-filter-header {
    font-size: 25px;
    line-height: 1;
    color: #000f6f;
    margin-bottom: 20px;
    padding-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-bottom: 1px solid #000f6f;
}

.obj-filter {
 -webkit-columns: 100px 3; /* Chrome, Safari, Opera */
    -moz-columns: 100px 3; /* Firefox */
    columns: 100px 3;
    -webkit-column-break-inside: avoid;
          page-break-inside: avoid;
               break-inside: avoid;
      -webkit-column-span: all; 
          column-span: all; 
}

/* Customize the label (the container) */

.container {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 17px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    color: #000574;
}

/* Hide the browser's default checkbox */

.container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #fff;
}

/* On mouse-over, add a grey background color */

.container:hover input ~ .checkmark {
    background-color: #eee;
    color: #000bff;
}

/* When the checkbox is checked, add a blue background */

.container input:checked ~ .checkmark {
    background-color: #000574;
}

/* Create the checkmark/indicator (hidden when not checked) */

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */

.container input:checked ~ .checkmark:after {
    display: block;
}


@media all and (min-width:1500px) {
    .obj {
        width: 20%;
    }

}

@media all and (max-width:1200px) {
    .obj {
        width: calc(25% - 10px);
    }

}

@media all and (max-width:900px) {
    .obj {
        width: 33.33333%;
    }

}
@media all and (max-width:1024px) {
    .entry-content {
        margin: 10px;
        padding: 0px;
    }
    .vasak {
        float: left;
        width: 60%;
        padding: 0px;
    }
    .parem {
        overflow: auto;
        padding: 10px;
    }
}
@media all and (max-width:800px) {
    .entry-content {
        margin: 10px;
        padding: 0px;
    }
    .vasak {
        float: left;
        width: 100%;
        padding: 0px;
    }
    .parem {
        overflow: auto;
        padding: 10px;
    }
    #wp_pagination a {
font-size: 17px;
padding: 3px;
font-weight: 100;
color: #000;
        text-decoration: none;}
}

@media all and (max-width:600px) {
    .obj {
        width: 50%;
        min-height: 280px;
    }
    .objektid {
        padding: 0;
    }
    .obj-aadress {
        font-size: 10px;
    }
    .obj h2 {
        font-size: 14px;
    }
    .obj-filter {
        column-count: 2;
    }
    .filter {
        margin: 0 0 30px 0;
    }
    .container {
        font-size: 13px;
    }
    .single-back-img img {
        height: 230px;
        
    }
  
    .entry-content {
        margin: 10px;
        padding: 0px;
    }
    .vasak {
        float: left;
        width: 100%;
        padding: 0px;
    }
    .parem {
        overflow: auto;
        padding: 10px;
    }
}
