/*

Theme Name: Sjećanja 

Theme URI: 

Description: Prilagođena tema za web stranicu "esmrtovnice.ba"

Author: Vedad Hamzić

Author URI: www.vedadhamzic.com

Version: 1.5

Tags: responsive, simple

*/

/* Eric Meyer CSS reset */

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;
font-size: 100%;
font: inherit;
vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */

article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
display: block;
}

body {
line-height: 1;
}

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;
}

/* END CSS reset */

body {
margin: 0 auto;
background: rgba(237,237,237,1);
background: -moz-linear-gradient(top, rgba(237,237,237,1) 0%, rgba(246,246,246,1) 53%, rgba(204,202,202,1) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(237,237,237,1)), color-stop(53%, rgba(246,246,246,1)), color-stop(100%, rgba(204,202,202,1)));
background: -webkit-linear-gradient(top, rgba(237,237,237,1) 0%, rgba(246,246,246,1) 53%, rgba(204,202,202,1) 100%);
background: -o-linear-gradient(top, rgba(237,237,237,1) 0%, rgba(246,246,246,1) 53%, rgba(204,202,202,1) 100%);
background: -ms-linear-gradient(top, rgba(237,237,237,1) 0%, rgba(246,246,246,1) 53%, rgba(204,202,202,1) 100%);
background: linear-gradient(to bottom, rgba(237,237,237,1) 0%, rgba(246,246,246,1) 53%, rgba(204,202,202,1) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#cccaca', GradientType=0 );
font-family: 'Libre Baskerville', serif;
font-size: 13px;
}

/* HEADER */

header {
float: left;
width: 90%;
padding-left: 5%;
padding-right: 5%;
padding-bottom: 25px;
background-color: white;
color: #424242;
}

.header-container {
display: inline-flex;
flex-wrap: wrap;
-webkit-align-items: center;
align-items: center;
-webkit-justify-content: center;
justify-content: center;
}

/* ---> END HEADER */

/* PAGE TITLE */

#pageTitle {
padding-top: 30px;
}

#pageTitle h1,
#pageTitle h1 a:link,
#pageTitle h1 a:active,
#pageTitle h1 a:visited {
font-weight: 700;
font-size: 1.5em;
letter-spacing: 1.1px;
line-height: 1.1em;
color: #424242;
text-shadow: 0px 3px 6.72px rgba(140, 142, 142, 0.61);
text-decoration: none;
}

#pageTitle p {
font-size: 1em;
letter-spacing: 0.8px;
}

/* ---> END PAGE TITLE */

#pagewrapper {
clear: both;
margin: 0 auto;
width: 90%;
}

/* DROPDOWN - CITY SEARCH */

.dropbtn {
background-color: white;
color: #585757;
letter-spacing: 0.8px;
padding: 10px 30px;
font-size: 16px;
margin-left: 150px;
cursor: pointer;
border-radius: 7px;
}

.dropdown {
padding-top: 38px;
}

.dropdownContent {
display: none;
position: absolute;
min-width: 210px;
margin-left: 152px;
background-color: #f9f9f9;
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
z-index: 100;
}

#ze-video {
background-color: #d4d2d2;
}

#ze-video:hover  {
background-color: #b2b1b1;
}

.dropdownContent a {
color: black;
padding: 12px 16px;
text-decoration: none;
display: block;
}

.dropdownContent a:hover {background-color: #f1f1f1;}

.dropdown:hover .dropdownContent {display: block;}

.dropdown:hover .dropbtn {background-color: #f2f2f1;}

.btn-icon {
margin-left: 5px;
}

.btn-icon-2 {
float: right; 
}

.dropbtn {
font-family: 'Libre Baskerville', serif;
}

/* ---> END CITY SEARCH */

/* MAIN MENU */

#menuBlock {
list-style: none;
font-size: 18px;
letter-spacing: 0.8px;
margin-top: 20px;
margin-bottom: 5px;
}

#menuBlock ul a:link,
#menuBlock ul a:active,
#menuBlock ul a:visited {
text-decoration: none;
color: #585757;
}

#menuBlock ul a:hover {
color: #985f40;
}

#menuBlock ul li {
display: inline;
padding: 10px 10px;
text-shadow: 0px 2px 4px rgba(140, 142, 142, 0.5);
}

/* Add a black background color to the top navigation */
.topnav {
  background-color: grey;
  overflow: hidden;
  width: 100%;
  margin: 0;
  list-style: none;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  color: #f2f2f2;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  font-size: 17px;
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  background-color: grey;
  color: white;
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* ---> END MAIN MENU */

/* NAME SEARCH */

.nameSearch {
padding-top: 38px;
}

.nameSearch input {
width: 200px;
height: 40px;
border: none;
padding-left: 10px;
font-size: 16px;
letter-spacing: 0.8px;
border-radius: 7px;
border: 1px solid #585757;
}

.nameSearch input[type=submit] {
border: none;
width: 120px;
height: 42px; 
text-align: center;
cursor: pointer;
font-size: 16px;
border-radius: 7px;
}

.nameSearch label {
font-size: 16px;
letter-spacing: 0.8px;
}

.nameSearch label {
padding-left: 25px;
padding-right: 5px;
}

.nameSearch input {
font-family: 'Libre Baskerville', serif;
}

/* ---> END NAME SEARCH */

/* DATE */

.date-info {
text-align: center;
/* background-color: grey; */
padding: 10px;
color: grey;
letter-spacing: 1px;
font-size: 14px;
display: flex;
direction: column;
-webkit-align-items: center;
align-items: center;
-webkit-justify-content: center;
justify-content: center;
letter-spacing: 0.8px;
/* box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); */
}

/* ---> END DATE*/

.container {
margin: 0 auto;
text-align: center;
padding-top: 20px;
}

.obavijest {
height: 180px;
padding: 20px;
background: #f5f5f5;
border-radius: 2px;
box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
}

.obavijest-naslov {
text-align: center;
text-transform: uppercase;
font-size: 0.6em;
letter-spacing: 0.6px;
border: 2px solid white;
padding: 7px 10px;
width: 160px;
background: grey;
flex-shrink: 0;
margin-top: -32px;
margin-bottom: 30px;
}

.obavijest-naslov a {
text-decoration: none;
color: white;
font-size: 1.2em;
}

.obavijest-naslov a:visited,
.obavijest-naslov a:active {
color: white;
}

.obavijest:hover {
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

.category-izdvojeno {
height: 360px;
padding: 20px;
border-radius: 2px;
box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
}

.obavijest,
.category-izdvojeno {
background: rgba(237,237,237,1);
background: -moz-linear-gradient(top, rgba(237,237,237,1) 0%, rgba(246,246,246,0.92) 53%, rgba(255,255,255,0.85) 100%);
background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(237,237,237,1)), color-stop(53%, rgba(246,246,246,0.92)), color-stop(100%, rgba(255,255,255,0.85)));
background: -webkit-linear-gradient(top, rgba(237,237,237,1) 0%, rgba(246,246,246,0.92) 53%, rgba(255,255,255,0.85) 100%);
background: -o-linear-gradient(top, rgba(237,237,237,1) 0%, rgba(246,246,246,0.92) 53%, rgba(255,255,255,0.85) 100%);
background: -ms-linear-gradient(top, rgba(237,237,237,1) 0%, rgba(246,246,246,0.92) 53%, rgba(255,255,255,0.85) 100%);
background: linear-gradient(to bottom, rgba(237,237,237,1) 0%, rgba(246,246,246,0.92) 53%, rgba(255,255,255,0.85) 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#ffffff', GradientType=0 );
}

.category-izdvojeno:hover {
box-shadow: 0 19px 38px rgba(0,0,0,0.30), 0 15px 12px rgba(0,0,0,0.22);
}

.main-content {
text-align: center;
line-height: 1.2em;
letter-spacing: 0.7px;
color: #424242;
}

.main-content h2 {
text-align: center;
margin-top: 20px;
padding-bottom: 10px;
font-size: 1.3em;
letter-spacing: 1px;
font-weight: 700;
}

.main-content h3 {
color: grey;
font-size: 1.2em;
letter-spacing: 1px;
padding-bottom: 10px;
}

.slika, .single-slika {
text-align: center;
padding-bottom: 15px;
}

.slika img {
border-radius: 2px;
}

.item:hover,
.grid-item {
cursor: pointer;
}

.glavni-tekst {
font-weight: 900;
}

.obavijest .slika img {
display: none;
}

/* FOOTER */

footer {
clear: both;
width: 90%;
padding-left: 5%;
padding-right: 5%;
margin-top: 50px;
height: 100px;
background-color: grey;
color: #f2f2f1;
font-size: 14px;
}

footer p {
padding-top: 30px;
}

/* ---> END FOOTER */

/* PAGES & SINGLE POSTS */

.singlePostBlock {
display: flex;
flex-direction: column;
align-items: center;
}

.contentBlock,
.singlePostBlock {
padding-top: 100px;
padding-bottom: 100px;	
margin-top: 10px;
margin-bottom: 50px;
border: 5px double grey;
border-style: double;
line-height: 1.5em;
}

.singlePostBlock h2 {
font-size: 2.3em;
line-height: 2em;
padding-bottom: 10px;
}

.single-content {
display: flex;
flex-direction: column;
align-items: center;
}

.single-content .glavni-tekst {
text-align: center;
font-size: 1.2em;
padding-left: 5%;
padding-right: 5%;
}

.single-content .potpis {
text-align: center;
font-size: 1.2em;
padding: 0.7em 2em 1.2em 2em;
line-height: 1.3em;
}

.singlePostBlock h3 {
text-align: center;
font-size: 1.5em;
padding-bottom: 20px;
} 

.fa-facebook-square {
font-size: 2em;
margin: auto;
width: 100%;
text-align: center;
}

.grid {
margin: 0 auto;
}	

/* clearfix */
.grid:after {
content: '';
display: block;
clear: both;
}

/* ---- grid-item ---- */

.grid-item {
width: 325px;
float: left;
margin: 10px;
border: 3px double grey;
}

.grid-item--width2 { width: 500px; }
.grid-item--width3 { width: 480px; }
.grid-item--width4 { width: 640px; }

.grid-item--height2 { height: 710px; }
.grid-item--height3 { height: 260px; }
.grid-item--height4 { height: 360px; }

@media only screen and (max-width: 850px) {
    .grid-item {
    display: flex;
	flex-direction: column;
	}
}

@media only screen and (max-width: 600px) {

    .dropbtn {
    margin-left: 0;    
    } 
    .dropdownContent {
    margin-left: 0;    
    }
    label.screen-reader-text {
    display: none;
    }
    .grid-item {
    width: 200px;
    height: 220px;
    }
    .grid-item.category-izdvojeno {
    height: 420px;
    }
    .nameSearch {
    padding-top: 20px;
    }
    .nameSearch input {
    width: 150px;
    height: 30px;
    padding-left: 5px;
    font-size: 12px;
    }   
    .nameSearch input[type=submit] {
    width: 80px;
    height: 30px; 
    font-size: 12px;
    }
    .nameSearch label {
    font-size: 12px;
    letter-spacing: 0.8px;
    }
    .nameSearch label {
    padding-left: 25px;
    padding-right: 5px;
    }

}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}