/*
Theme Name:   MediCenter Child
Description:  MediCenter Child Theme
Template:     medicenter
Version:      1.0
Text Domain:  medicenter
*/

.box-header::after,
.box_header::after  {
    background: #7CBA3D;
}

.theme-page {
	font-size: 16px;
}

abbr {
    color: #7cba3d;
    display: block;
    margin-top: 3px;
}

/* Savetovalište za ishranu */
.clearFix:after {
    content:" ";
    display:block;
    clear:both;
}

.bmiTabela {
    color: #000;
    margin: 20px auto 0;
}

.bmiTabela th,
.bmiTabela td {
    border: 2px solid #000;
}


.bmiTabela p {
    color: #000;
}

.bmiKalkulator {
    width: 80%;
    margin: 0 auto;
}

.bmiKalkulator h2 {
    margin-top: 30px;
    text-align: center;
}

.left {
    float: left;
}

.right {
    float: right;
}

.right div {
    display: inline-block;
}

.bmi {
    position: relative;
}

#bmi_res {
    float: right;
}

.bmi_button {
    color: #fff;
    padding: 15px 30px;
    border-radius: 5px;
    background-color: #7cba3d;
}

.left input {
    padding: 10px;
    font-size: 16px;
}

.left p input {
    margin-left: 10px;
}

.left p:nth-child(3) input {
    margin-left: 12px;
}

.left > input {
    margin-left: 95px;
}

#bmi_res p {
    padding: 0;
    margin: 0;
    font-size: 100px;
}

/* Istorijat */
.historyTable {
    margin-top:30px;
}

.historyTable th {
    text-align: center;
    color: #7cba3d;
    background: #fff;
    font-weight: bold;
}

.historyTable tr:nth-child(odd) {
    background: #a3a9af;
    color: #000;
}

.historyTable,
.historyTable th,
.historyTable tr,
.historyTable td {
    border:2px solid #a3a9af;
}

.historyTable th,
.historyTable tr,
.historyTable td {
    padding: 10px;
}

/* Zdravstveno statistički bilten */
.bilten a {
    display: inline-block;
    color: #fff;
    background-color: #7cba3d;
    padding: 20px 37px;
    border-radius: 10px;
    margin: 6px;
    text-decoration: none;
}

/* Zdravstveno Ekološki Kalendar */
.zek {
    width: 100%;
    margin: 20px 0;
}

.zek thead tr {
    text-align: center;
    color: #fff;
    background: #7cba3d;
    font-weight: bold;
}

.zek td:first-child {
    width: 20%;
    text-align: center;
}

.zek,
.zek thead,
.zek tr,
.zek td {
    border-bottom: 1px solid #d8d8d8;
}

.zek thead,
.zek tr,
.zek td {
    padding: 10px;
}
.zek tbody tr,
.zek tbody td {
    background: #fff;
}

/* Tabela Zdravstvenih Ustanova */
.zdrUstanoveTabela tr,
.zdrUstanoveTabela td {
    border:2px solid black;
}

/* Tabela Monitoringa Vazduha */
.monitoringTabla td:first-child {
    font-family: "Open Sans", Arial, sans-serif;
}

.monitoringTabla {
    width: 100%;
    margin: 20px 0;
}

.monitoringTabla th {
    text-align: center;
    color: #fff;
    background-color: #7cba3d;
    font-weight: bold;
}

.monitoringTabla td {
    text-align: center;
}

.monitoringTabla,
.monitoringTabla th,
.monitoringTabla tr,
.monitoringTabla td {
    border: 1px solid #a3a9af;
}

.monitoringTabla th,
.monitoringTabla tr,
.monitoringTabla td {
    padding: 10px;
}
.monitoringTabla tr,
.monitoringTabla td {
    background: #fff;
}

.monitoringTabla a {
    padding: 3px 10px;
}

.monitoringTabla a:hover {
    background: #7cba3d;
    padding: 3px 10px;
    border-radius: 5px;
}

.underline {
    padding-bottom: 2px;
    border-bottom: 3px solid #7cba3d;
}

.list2 {
    list-style-type: lower-alpha;
}

/* Header stilovi */
.header-top-sidebar {
	padding: 5px 0;
	position: relative;
}

.header-top-sidebar .stl_widget {
    transform: translateY(-50%);
    position: absolute;
    right: 5px;
    top: 50%;
}

.header-top-sidebar .stl_widget p {
    display: inline;
}

.header-left {
    width: auto;
}

.header-left a img {
    margin: 0;
}


/* glavni meni */
.sf-menu {
    margin-top: 68px;
}

.sf-menu .menu-item a,
.sf-menu>li.menu-item-has-children>a {
	padding: 10px 5px;
}

.sf-menu li:hover ul,
.sf-menu li.sfHover ul {
	top: 45px;
}

.sf-menu>li:nth-child(5).menu-item-has-children:hover>ul {
	width: 400px;
}

.sf-menu>li:nth-child(5)>ul>li:nth-child(6)>ul {
	left: -202px;
}

.sf-menu li:last-child ul {
	left: -103px;
}

/* .sf-menu li .sub-menu li a:hover {
    background-color: #7CBA3D;
    color: #fff;
} */

/* home-box stilovi */
#medicenter_home_box-8 .home-box h3 {
    text-align: center;
    font-style: normal;
}

.home-box-container-list li p a {
    line-height: 130%;
    position: relative;
    bottom: 0;
    font-size: 28px;
    border-bottom: 3px solid #7cba3d;
    color: #fff;
}

.home-box-container-list li p a:hover {
    border-bottom: 3px solid #fff;
    color: #7cba3d;
    text-decoration: none;
}

.wpb_wrapper ul .home-box-container:first-child .news>a {
    margin-top: 31px;
} 

.wpb_wrapper ul .home-box-container:nth-child(2) .news>a,
.wpb_wrapper ul .home-box-container:last-child .news>a {
	margin-top: 36px;
}

.home-box-container-list li:first-child .news .text {
    font-size: 16px;
    padding: 10px;
    color: #666;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        background-color: #7cba3d;
        color: #fff;
    }
    100% {
        background-color: #fff;
        color: #666;
    }
}

/* home-box delatnost stilovi */
#nav_menu-3 ul {
    padding: 0;
}

#nav_menu-3 li {
    list-style-type: none;
    padding: 15px 10px;
    color: #666;
    background: #008238;
    border-bottom: 1px solid #E0E0E0;
}

#nav_menu-3 li a {
    text-decoration: none;
    font-size: 14px;
    border: none;
    color: #fff;
    line-height: 1.5;
    display: inline-block;
}

#nav_menu-3 li a:hover {
    color: #000;
}

/* stilovi za sadržаj stranica */
.post_content table th,
.post_content table tr,
.post_content table td {
    border: 1px solid #000;
}

.post_content h1,
.post_content h2,
.post_content h3,
.post_content h4,
.post_content h5,
.post_content h6 {
    padding: 10px 0;
}

.post_content ul li,
.post_content ol li {
    padding: 5px;
}

.post_content ul li:last-child,
.post_content ol li:last-child {
    padding-bottom: 16px;
}

.comments-number,
.post-footer-author,
.reply-button {
	display: none;
}


/* zahtev za ponudu */
.zzp {
    display: inline-block;
    background-color: #a3a9af;
    border-radius: 12px;
    padding: 5px 10px;
}

.zzp:hover {
    -webkit-box-shadow: 0px 1px 19px 5px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 0px 1px 19px 5px rgba(0, 0, 0, 0.75);
    box-shadow: 0px 1px 19px 5px rgba(0, 0, 0, 0.75);
}

.zzp:active {
    transform: translateY(4px);
}

.zzp a {
    text-decoration: none;
    border: none;
}

/* slika direktora */
div#attachment_4210 {
    margin: 20px 20px 0 0;
}

/* Iskljucen naslov na "single" blogu  */
.blog .single .post-content>h2>a {
    display: none;
}

.wpb_text_column ul li,
.wpb_text_column ol li {
    padding: 5px;
}

/*footer, arhiva stilovi*/
.widget_archive li {
    width: 50%;
    float: left;
}

.widget_archive li a {
    padding: 5px;
    border: none;
}

/* media queries */
@media screen and (max-width: 1249px) {
	#menu-glavni-meni>li.menu-item-has-children>a {
		padding: 11px 3px;
	}

	.sf-menu>li.menu-item-has-children>a::after {
		display: none;
	}

	.sf-menu li:hover ul,
	.sf-menu li.sfHover ul {
		top: 47px;
	}

	.sf-menu>li:nth-child(5).menu-item-has-children:hover>ul {
		width: 344px;
	}

	#menu-glavni-meni>li:nth-child(5)>ul>li:nth-child(6)>ul {
		left: -174px;
	}

	.sf-menu li:last-child ul {
		left: -108px;
	}

	.wpb_wrapper ul .home-box-container:first-child .news>a {
		margin-top: 31px;
	}
}

@media screen and (max-width: 1009px) {
    .wpb_wrapper ul .home-box-container:first-child .news>a {
    	margin-top: 48px;
    }

	.wpb_wrapper ul .home-box-container:nth-child(2) .news>a {
		margin-top: 53px;
	}

	.wpb_wrapper ul .home-box-container:last-child .news>a {
		margin-top: 16px;
	}

	.sf-menu {
    	margin-top: 0px;
	}

	#menu-glavni-meni li {
		margin-left: 0;
	}

	#menu-glavni-meni li a {
		padding: 11px 7px;
	}
}

@media screen and (min-width: 767px) {
	/* stranica "Zdravstvene ustanove" */
    /* .page-id-2826 .theme-page .wpb_column .tabs {
        display: none;
    } */
}

@media screen and (max-width: 767px) {
    .theme-page .monitoringTabla th td,
    .theme-page .monitoringTabla tr td {
        padding: 9px 13px !important;
    }

    #tablepress-1_wrapper {
        display: none;
    }

    #medicenter_home_box-8 .text img {
        width: 49%;
    }

    .mobile-menu-switch .line:nth-child(1) {
        top: 50px;
    }

    .mobile-menu-switch .line:nth-child(2),
    .mobile-menu-switch .line:nth-child(3) {
    	top: 57px;
    }

    .mobile-menu-switch .line:nth-child(4) {
    	top: 64px;
	}

    .wpb_wrapper ul .home-box-container:nth-child(2) .news>a,
    .wpb_wrapper ul .home-box-container:last-child .news>a {
		margin-top: 36px;
    }
}

@media screen and (max-width: 479px) {
    .theme-page .monitoringTabla th td,
    .theme-page .monitoringTabla tr td {
        padding: 1px !important;
    }

    div#attachment_4210 {
        float: none;
        margin: 20px auto 10px;
    }

    .bmiTabela {
        font-size: 14px;
    }

    .bmiTabela th,
	.bmiTabela td {
    	padding: 0 !important;
	}

	.bmiTabela p {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
}