/*
Theme Name: Draga Mama
Theme URI: https://mamasfera.rs/
Author: Darko Mitrovic
Author URI: https://www.digitality.ba
Description: Draga Mama
Version: 1.0
*/



@import url('https://fonts.googleapis.com/css?family=Merriweather+Sans:300i,400,700|PT+Serif:400,700&display=swap&subset=latin-ext');



/*
pink: #f298a0;
*/

body {     
    font-family: 'Merriweather Sans', sans-serif;
    color: #401f1f;
    background: #fbecdc;
}

p, ul {
    font-size: 15px;
}

h1, h2, h3, h4, h5, h6 {    
    font-family: 'PT Serif', serif;
    line-height: 1.1;
}


img {
	/* width:100%; */
    max-width: 100%;
    height: auto;
    opacity:1.0;
	filter: alpha(opacity=100);
	transition: 0.2s linear;
	-moz-transition: 0.2s linear;
	-webkit-transition: 0.2s linear;
	-o-transition: 0.2s linear;
}

a {
	color:#f1f1f1;
	transition: 0.2s linear;
	-moz-transition: 0.2s linear;
	-webkit-transition: 0.2s linear;
	-o-transition: 0.2s linear;
}
a:hover {
	color:#f298a0;
    text-decoration: none;
}



.btn-primary {
    background: #f298a0;
    color: #292929;
    border: 0;
}

.btn-primary:not(:disabled):not(.disabled).active:focus, 
.btn-primary:not(:disabled):not(.disabled):active:focus, 
.show > .btn-primary.dropdown-toggle:focus,
.btn-primary.focus, .btn-primary:focus
{
	box-shadow: none !important;
}

.btn-primary:hover, .btn-primary:not(:disabled):not(.disabled).active, .btn-primary:not(:disabled):not(.disabled):active, .show > .btn-primary.dropdown-toggle {
	background-color: #e1838b;
    color: #292929;
    border: 0;
}


.btn-blue {
	color: #401f1f;
	border: 1px solid #401f1f;
	font-size: 14px;
	font-weight: bold;
	text-transform: uppercase;
	-webkit-border-radius: 15px;
	-moz-border-radius: 15px;
	border-radius: 15px;
	transition: 0.2s linear;
	-moz-transition: 0.2s linear;
	-webkit-transition: 0.2s linear;
	-o-transition: 0.2s linear;
}
.btn-blue:hover {
	background: #401f1f;
	color: #fff;
}






.banner-full {
/*    display: none;*/
}

.banner-full img:hover {
	opacity: 0.7;
	filter: alpha(opacity=70);
}




.bg-green {
	background: #b6bd9b;
}






.hide-desktop {
    display: none;
}






/**************************************
	           HEADER
**************************************/
header {
    text-align: center;
    padding: 15px 5px;
}
header .container {
    position: relative;
}

header img {
    width: 100%;
    max-width: 550px;
    height: auto;
    padding-left: 10px;
    padding-right: 10px;
}
header img:hover {
	opacity: 0.7;
	filter: alpha(opacity=70);
}



.search-icon {
    position: absolute;
    top: -12px;
    right: 0;
}
.searchbox{
    position:relative;
    min-width:24px;
    width:0%;
    height:28px;
    float:right;
    overflow:hidden;
    
    -webkit-transition: width 0.3s;
    -moz-transition: width 0.3s;
    -ms-transition: width 0.3s;
    -o-transition: width 0.3s;
    transition: width 0.3s;
}


.searchbox-input{
    top:0;
    right:0;
    border:0;
    outline:0;
    width:100%;
    height:28px;
    margin:0;
    font-size:18px;
    line-height: 1.1;
    color:#401f1f;
    padding-left: 4px;
    border-bottom: 1px solid #401f1f;
    background: #fbecdc;    
}
.searchbox-input::-webkit-input-placeholder, 
.searchbox-input:-moz-placeholder, 
.searchbox-input::-moz-placeholder, 
.searchbox-input:-ms-input-placeholder {
    color: #401f1f;
}

.searchbox-icon,
.searchbox-submit{
    width:24px;
    height:28px;
    display:block;
    position:absolute;
    top:0;
    font-size:23px;
    right:0;
    padding:0;
    margin:0;
    border:0;
    outline:0;
    line-height:26px;
    text-align:center;
    cursor:pointer;
    color:#401f1f;
    background:#fbecdc;
}
.searchbox-icon:hover {
    color: #401f1f;
}


.searchbox-open{
    width:100%;
}








/**************************************
	           NAVBAR
**************************************/
.navbar {
    background: transparent;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 99999;
}
.navbar.is-stuck  {
    background: rgba(0,0,0,.85);
}


.navbar .navbar-nav .nav-link {
    font-weight: bold;
    padding-left: 6px;
    padding-right: 6px;
    color: #401f1f;
}
.navbar-dark .navbar-nav .nav-link:focus, 
.navbar-dark .navbar-nav .nav-link:hover, 
.navbar-dark .navbar-nav .active > .nav-link 

{
	color: #f298a0;
}
.navbar.is-stuck .navbar-nav .nav-link {
	color: #fff;
}

/*
.navbar .navbar-nav > li:last-child > a {
	color: #f298a0;
}
*/


.dropdown-toggle::after {
/*	margin-left: 0;*/
}

.dropdown-menu {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #401f1f;
    color: #fff;
    border: 1px solid #401f1f;
}
.dropdown-item {
	color: #ffffff;
}


.dropdown-item:focus, .dropdown-item:hover,
.dropdown-item.active, .dropdown-item:active
{
	color: #16181b;
	text-decoration: none;
	background-color: #f298a0;
}



.navbar-toggler {
	padding: 7px 12px;
	display: block;
	width: 100%;
}
.navbar-toggler:focus {
    outline: 0 !important;
}





/**************************************
	           TOP NEWS
**************************************/
.home-news-box > .row > div, .home-news-box > .row > div > .row > div {
	margin-bottom: 30px;
}





.top-news {
    position: relative;
    text-align: center;
    background: #401f1f;
    height: 100%;
    padding-bottom: 25px;
	padding-bottom: 15px;
    
	overflow: hidden;
	-webkit-border-top-left-radius: 25px;
	-webkit-border-bottom-right-radius: 25px;
	-moz-border-radius-topleft: 25px;
	-moz-border-radius-bottomright: 25px;
	border-top-left-radius: 25px;
	border-bottom-right-radius: 25px;
}


.top-news-box > .row > div {
    padding-left: 5px;
    padding-right: 5px;
}


.top-news:hover img {
  opacity: 0.6;
}

.step {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #f298a0;
    color: #292929;
    font-size: 18px;
    width: 30px;
    height: 30px;
    line-height: 30px;
    
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}

.cat-box {
    margin-top: -14px;
    margin-bottom: 3px;
}
.cat {
    display: inline-block;
    background: #f298a0;
    color: #292929;
    z-index: 1;
    position: relative;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 6px;
    
	overflow: hidden;
	-webkit-border-top-left-radius: 12px;
	-webkit-border-bottom-right-radius: 12px;
	-moz-border-radius-topleft: 12px;
	-moz-border-radius-bottomright: 12px;
	border-top-left-radius: 12px;
	border-bottom-right-radius: 12px;
}



.top-news h3 {
    font-size: 20px;
    padding-left: 4px;
    padding-right: 4px;
    margin-bottom: 0;
}

.top-news h2,
.top-news h3
{
	overflow: hidden;
	/* display: block; */
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}


.top-news .author {    
    font-family: 'PT Serif', serif;
    font-size: 13px;
    font-style: italic;
    padding-top: 2px;
    color: #aaa;
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
	
	display: none;
}

.autor-slika a img {
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}





/* .news-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: 60px;
    margin-bottom: 10px;
} */
.news-head {
	text-align: center;
	width: 100%;
	max-width: 400px;
	margin: 20px auto 20px;
}


.news-head .more > a {
	padding-right: 10px;
}
.news-head .more > a:hover {
	padding-right: 0;
	padding-left: 10px;
}


.news-head h3 {
    font-size: 22px;
    font-family: 'Merriweather Sans', sans-serif;
    text-transform: uppercase;
    margin-bottom: 0;
    display: flex;
	width: 100%;
    justify-content: center;
    align-items: center;
    text-align: center;
    white-space: nowrap;
}





.news-head h3::before, .news-head h3::after {
	content: '';
	height: 2px;
	background: #401f1f;
	margin: 0 10px 0 10px;
	flex: 1 0 20px;
}


.home-news-box .cat-box {
    margin-top: -16px;
}
.home-news-box .cat {
    font-size: 14px;
}





/**************************************
	           ARCHIVE
**************************************/




.archive-box .news-head {
    display: block;
}
.archive-box h3 {
    text-align: center;
}

.archive-box > .row > div {
	margin-bottom: 30px;
}




.pagination .page-link {
	color: #f298a0;
	background-color: transparent; 
	border: 1px solid #401f1f;
}
.pagination .page-link:hover {
	background-color: #401f1f; 
}

.pagination .page-item.active .page-link {
	background-color: #f298a0;
	border-color: #f298a0;
    color: #292929;
}

.pagination .page-link.extend:hover {
	background: transparent; 
}


.news-head .dropdown-menu {
    min-width: 193px;
}



/************************************
        DOCTORS
*************************************/
.doctor-box .cat-box {
    margin-top: 0;
}
.doctor-box .cat {
    font-size: 11px;
    display: block;
    
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
}


.doctor-box .top-news {
	padding-bottom: 0;
}

.doctor-box .top-news h6 {
	padding-top: 3px;
	padding-bottom: 3px;
}


.spec {
    background: #f298a0;
    color: #292929;
    padding: 3px 6px;
    display: inline-block;
    text-transform: uppercase;
    font-family: 'Merriweather Sans', sans-serif;
    
	-webkit-border-top-left-radius: 12px;
	-webkit-border-bottom-right-radius: 12px;
	-moz-border-radius-topleft: 12px;
	-moz-border-radius-bottomright: 12px;
	border-top-left-radius: 12px;
	border-bottom-right-radius: 12px;
}


.img-doctor {
	float: right;
	margin-left: 15px;
	margin-bottom: 15px;
    
	width: 100%;
	max-width: 360px;
    
    overflow: hidden;
	-webkit-border-top-left-radius: 25px;
	-webkit-border-bottom-right-radius: 25px;
	-moz-border-radius-topleft: 25px;
	-moz-border-radius-bottomright: 25px;
	border-top-left-radius: 25px;
	border-bottom-right-radius: 25px;
}


/************************************
        PAGE
*************************************/
.page-content {
    font-family: 'PT Serif', serif;
    margin-bottom: 50px;
}
.page-content p, 
.page-content ul,
.page-content ol
{
	font-size: 19px;
	line-height: 30px;
	margin-bottom: 15px;
}

.datum {
    color: #999;
    font-size: 13px;
}




.page-content p a {
    color: #f298a0;
}
.page-content p a:hover {
    color: #f298a0;
    text-decoration: underline;
}


.page-content p img.alignleft {
    float:left;
    margin:0 15px 5px 0;
    max-width:100%;
    height:auto;
}
.page-content p img.alignright {
    float:right;
    margin:0 0 5px 15px;
    max-width:100%;
    height:auto;
}
.page-content p img.aligncenter, .page-content p img.alignnone, .page-content p img, 
.page-content div.aligncenter, .page-content div.aligncenter img,
.page-content div .aligncenter, .page-content div .aligncenter img 
{
    max-width:100% !important;
    height:auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
    
	-webkit-border-top-left-radius: 25px;
	-webkit-border-bottom-right-radius: 25px;
	-moz-border-radius-topleft: 25px;
	-moz-border-radius-bottomright: 25px;
	border-top-left-radius: 25px;
	border-bottom-right-radius: 25px;
}


.wp-caption-text {
    font-size:14px !important;
    text-align:center;
    padding:2px;
    font-style:italic;
    text-indent:0 !important;
}




.instagram-media {
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 15px !important;
}








.social-box {
	height: auto;
	margin-top: 25px;
}
.social-button {
	display: inline-block;
	vertical-align: middle;
	margin-right: 6px;
    margin-top: 6px;
}
.social-button.vi,
.social-button.fb
{
    margin-top: 0;
}





.tagovi {
    margin-top: 25px;
}

.tagovi a {
    font-size: 14px;
    line-height: 20px;
    background-color: #f298a0;
    border-radius: 2px;
    color: #292929;
    display: inline-block;
    margin-bottom: 5px;
    margin-right: 5px;
    padding: 3px 7px;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.1s ease-in-out 0s;
}

.tagovi a:hover {
    background-color: #e1838b;
    color: #292929;
    text-decoration: none;
}
.tagovi a::before {
    content: '#';
    font-size: 16px;
}









.autor-box {
    border-top: 3px solid #444;
    border-bottom: 1px solid #444;
    padding: 15px 20px;
    margin: 25px 0 30px;
}

.autor-slika {
    float: left;
    margin-right: 20px;
}
.autor-slika img:hover { 
	opacity: 0.7; 
	filter: alpha(opacity=70);
}

.autor-ime a {
    font-size: 22px;
    color: #444;
}
.autor-ime a:hover {
    color: #222;
    text-decoration: none;
}

.autor-social {
    font-size: 22px;
}
.autor-social a {
    margin-right: 6px;
    color: #444;
}
.autor-social a:hover {
    color: #222;
}




.post-newsletter {
     padding: 15px 5px 30px;   
    font-size: 18px;
    text-align: center;
}
.post-newsletter form {
    max-width: 500px;
    margin: 0 auto;
}


.tnp-widget label {
	display: block;
	color: inherit;
	font-size: 14px;
}
.tnp-widget input[type="text"], .tnp-widget input[type="email"], .tnp-widget input[type="submit"], .tnp-widget select {
	width: 100%;
	padding: 10px;
	display: block;
	border: 1px solid #ddd;
	border-color: #ddd;
	background-color: #f4f4f4;
	background-image: none;
	text-shadow: none;
	color: #444;
	font-size: 14px;
	line-height: normal;
	box-sizing: border-box;
	height: auto;

}

.tnp-widget input.tnp-submit {
	background-color: #444;
    border: 0;
	background-image: none;
	text-shadow: none;
	color: #fff;
	margin: 10px 0 0 0;
    text-transform: uppercase;
    
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}
.tnp-widget input.tnp-submit:hover {
    background: #f298a0;
    color: #292929;
}



.page-content form label {
	width: 100%;
}







/**************************************
	           GALLERY
**************************************/
.galerija {
    margin-bottom: 45px;
}
.galerija a, #gallery-1 .gallery-item {
	float: left;
	margin: 0 0.5% 1% 0.5% !important;
	width: 24% !important;
}
.galerija a img, #gallery-1 img {
	width: 100% !important;
	height: auto;
    border: 0 !important;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    border-radius: 25px;
}

.galerija a img:hover, #gallery-1 img:hover {
    -webkit-filter: saturate(3);
    filter: saturate(3);
}


.galerija a:nth-child(even) {
	transform: translateY(28px);
}







ul.zoom-instagram-widget__items {
    padding-left: 0 !important;
}

/*
.zoom-instagram-link {
    width: 120px;
    height: 120px;
}
*/








/**************************************
	           SIDEBAR 
**************************************/

.sidebar {
}


.sidebar-title-box h4 {
    border-bottom: 1px solid #f298a0;
    float: left;
    margin-bottom: 0px;
    position: relative;
    text-align: center;
    width: 100%;
}
span.post-header {
    background-color: #f298a0;
    color: #fff;
    display: inline-block;
    font-size: 17px;
    line-height: 100%;
    padding: 7px 25px;
    position: relative;
    text-transform: uppercase;
}
span.post-header::after {
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;  
    border-top: 10px solid #f298a0;
    bottom: -10px;
    content: "";
    left: 50%;
    margin-left: -10px;
    position: absolute;
}







.more-side-box {
    border-bottom:2px solid #f298a0;    
    font-size: 15px;
    line-height: 18px;
    text-transform: uppercase;
    text-align: right; 
    margin-bottom: 50px;
}
.more-side-box a {
    color: #f298a0;   
    padding-left: 5px;
    padding-right: 0px;
}
.more-side-box a:hover {
    color: #f298a0;
    padding-left: 0px;
    padding-right: 5px;
}




.sidebar-title-box {
    margin-bottom: 30px;
}






.sidebar .media,
.readmore-block .media
{
    margin-bottom: 10px !important;
}

.sidebar .media-left,
.readmore-block .media-left
{
/*
    float: none;
    display: block;
    padding-right: 0;
    position: relative;
*/
    min-width: 90px;
    width: 90px;
    
}

.sidebar .media-left img,
.readmore-block .media-left img
{
    width: 80px;
    height: 80px;
    object-fit: cover;    
}


.sidebar .media-body,
.readmore-block .media-body
{
	vertical-align: middle;
}


.sidebar .media-heading,
.readmore-block .media-heading
{
    font-size: 16px !important;
    line-height: 1.1 !important;
	
	color: #401f1f;
    
	overflow: hidden;
	/* display: block; */
	display: -webkit-box;
	-webkit-line-clamp: 4;
	-webkit-box-orient: vertical;
}

.sidebar .media-heading:hover,
.readmore-block .media-heading:hover
{
	color: #f298a0;
}


.media-autor  {
/*
    position: absolute;
    bottom: 2px;
    left: 2px;
    color: #fff;
    text-shadow: 1px 1px 2px #444;
*/
}
.media-autor img {
    width: 20px;
/*
	-webkit-box-shadow: 0px 0px 6px 0px rgba(50, 50, 50, 0.35);
	-moz-box-shadow:    0px 0px 6px 0px rgba(50, 50, 50, 0.35);
	box-shadow:         0px 0px 6px 0px rgba(50, 50, 50, 0.35);
*/
}


.media-left > img:hover { 
	opacity: 0.7; 
	filter: alpha(opacity=70);
}







.banner {
    margin-bottom: 20px;
}

.banner img {
    width: 100%;
    height: auto;
}




















/************************************
        FOOTER
*************************************/
footer .container {
    margin-top: 40px;
    background: #401f1f;
    padding-top: 20px;
    
	-webkit-border-top-left-radius: 25px;
	-moz-border-radius-topleft: 25px;
	border-top-left-radius: 25px;
}

.footer-logo img {
    max-width: 250px;
}


.footer-icon {
    font-size: 36px;
}


.footer-links {
    text-align: right;
    text-transform: uppercase;
    font-size: 20px;
}




.footer-copy {
    font-size: 12px;
    color: #aaa;
}

.footer-copy a {
    color: #aaa;
}
.footer-copy a:hover {
    color: #f298a0;
}

.webdesign {
    text-align: right;
}









#back-top {
    display: block;
	position: fixed;
	bottom: 15px;
	right: 15px;
}

#back-top a i {
    font-size: 36px;
	color: #fff;
}











/************************************
        RESPONSIVE
*************************************/

@media (min-width: 1200px) {
    li.dropdown:hover .dropdown-menu {
        display: block;
    }
}


@media (max-width: 1199px) {
	.navbar,
	.navbar.is-stuck
	{
		background: #401f1f;
	}
	
	

    .navbar .navbar-nav > li > a,
    .navbar-nav .dropdown-menu a
    {
        text-align: center; 
		color: #eee;
    }
	.navbar .navbar-nav .nav-link {
		color: #eee;
	}

}



@media (max-width: 991px) {

    

    .top-news-box > .row > div {
        margin-bottom: 10px;
    }
    .home-news-box > .row > div {
        margin-bottom: 30px;
    }
    
    
    
    .img-doctor  {
        max-width: 260px;
    }      
    
    
    
    
    .footer-links,
    .footer-logo,
    .footer-copy,
    .webdesign
    {
        text-align: center;
    }
    
    .footer-logo {
        margin-bottom: 8px;
    }    
  
    .footer-links {
        margin-top: 15px;
        font-size: 15px;
        padding: 0;
    }    
    
    
}





@media (max-width: 768px) {
    
    .hide-mobile {
        display: none;
    }
    .hide-desktop {
        display: block;
    }
	
	#menu-glavni-meni > li > a {
		text-transform: uppercase;
	}
	#menu-glavni-meni > li .dropdown-menu {
		background: #391919;
		border: 1px solid #391919;
	}	
    
    .readmore-block {
        padding-left: 15px;
        padding-right: 15px;
    }


    .img-doctor  {
        max-width: 200px;
    }      
    
    
    .banner {
        display: none;
    }
        
    .galerija a, #gallery-1 .gallery-item {
        margin: 0 1% 2% 1% !important;
        width: 48% !important;
    }          
        
    
}





@media (max-width: 591px) {
    .searchbox {
        height: 25px;
    }    
    .searchbox-input {
        height: 22px;
        font-size: 13px;
    }    
    .searchbox-icon, .searchbox-submit {
        font-size: 21px;
        line-height: 23px;
    }    
    
    
    
    .navbar {
        padding: 3px 10px;
    }
    .navbar-toggler {
        padding: 7px 2px;
    }
    
    .nav-link {
        padding: 4px 0;
    }
    
    
    
    .news-head h3 {
        font-size: 20px;
    }
    .news-head .more a {
        padding-right: 0px;
    }    
    
    
    
    .img-doctor {
        margin-left: 0;
        max-width: 100%;
    }
    .img-doctor img {
        max-width: 100%;
    }      
    
    
    
    
    .news-head {
        margin: 0px auto 20px;
    }    
    

}






@media (max-width: 420px) {
    
    .top-news h3 {
        font-size: 18px;
    }   
    .top-news h2 {
        font-size: 24px;
    }       
    
    .top-news-box .cat {
        font-size: 11px;
        padding: 2px 3px;
    }    
    
}


@media (max-width: 370px) {
    
    .top-news-box .cat {
        font-size: 11px;
        padding: 2px 3px;
    }
    
}