/*
 Theme Name:   Mediz Child
 Theme URI:    http://demo.goodlayers.com/mediz
 Description:  Goodlayers Mediz Child Theme
 Author:       Goodlayers
 Author URI:   http://goodlayers.com
 Template:     mediz
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         light, dark, right-sidebar, responsive-layout
 Text Domain:  mediz-child

 START YOUR CHILD THEME CSS HERE
*/

.infobox-content {
    width: 330px;
    background: #fff;
    padding: 15px 15px 0px 15px;
    float: right;
    margin: 0 0 20px 20px;
    border: 1px solid grey;
    border-radius: 15px;
}

.infobox-content-2024 {
    width: 330px;
    background: #fff;
    padding: 15px 15px 0px 15px;
    margin: 0 0 20px 20px;
    border: 1px solid grey;
    border-radius: 15px;
}

.infobox-content h3 {
    color: #fff;
    font-weight: 700;
    background: #e3c799;
    padding: 5px;
    font-size: 18px;
}

.infobox-content ul {
    margin-left: 15px;   
}

.infobox-content-2024 h3 {
    color: #fff;
    font-weight: 700;
    background: #e3c799;
    padding: 5px;
    font-size: 18px;
}

.infobox-content-2024 ul {
    margin-left: 15px;   
}

.img-content, .content-img {
    max-width: 250px;
    margin: 0 0 25px 25px;
}

@media only screen and (min-width: 1024px) {
    .img-content, .content-img {
        max-width: 325px;
    }
}

.img-content.float-left, .content-img.float-left {
    margin: 0 25px 0px 0px;
}

.float-right {
    float: right !important;
}

.float-left {
    float: left !important;
}

#home_dhom_teaser h3 {
    font-size: 25px !important;
}

.home_sign {
    width: 50%;
    float: left;
    padding-right: 10px;
}

.home_sign p {
    text-align: center;
    margin: 0px;
}

#footer-zertifikat-wrapper {
    text-align: center;
}

.footer-siegel, .footer-zertifikat {
    max-width: 48%;
    display: block;
    float: left;
    padding-right: 5px;
}

#footer-siegel-mobile-wrapper, #footer-siegel-mobile-title {
    text-align: center;
    max-width: 300px;
    margin: auto;
}

#footer-siegel-mobile-title {
    margin-top: 30px;
    margin-bottom: 20px;
}

/* Phone icon mobile menu */
.menu-item-8845::before {
    content: "\e600";
    font-family: simple-line-icons;
    color: #e3c799;
    margin-right: 6px;
}

/* Kontakt Box für Content Seiten */

.content-contact-box {
	float: right;
	text-align: center;
	border: 1px solid #d9d9d9;
	padding: 20px;
}

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

	.content-contact-box {
		float:none;
		margin-bottom: 10px;
	}
}

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

    #footer-siegel-wrapper, #footer-zertifikat-wrapper {
        display: none;
    }
}

@media only screen and (min-width: 768px) {
    #footer-siegel-mobile-wrapper,#footer-siegel-mobile-title {
        display: none;
    }
}



/* Skill Circle - Auf großen Handys 2 Kreise nebeneinander */

@media only screen and (min-width: 410px) and (max-width: 767px) {
    
    .skill-circle-wrapper .gdlr-core-pbf-column.gdlr-core-column-15 {
        width: 50%;
    }
}

/* Featured Box - Auf Tablets 2 Boxen nebeneinander */

@media only screen and (min-width: 768px) and (max-width: 1200px) {
    .featured-box-wrapper .gdlr-core-pbf-column.gdlr-core-column-15 {
        width: 50%;
    }

    .featured-box-wrapper .gdlr-core-pbf-column.gdlr-core-column-20 {
        width: 50%;
    }
}

/* Personell */

@media only screen and (min-width: 768px) {

    .gdlr-core-personnel-style-grid.gdlr-core-with-background .gdlr-core-personnel-list-content-wrap {
        padding: 24px 12px 15px;
        min-height: 128px;
    }

    .home .gdlr-core-personnel-list-title {
        min-height: 48px;
    }
}

/** Slider Home - Siehe Howto.txt Slider - Klassen für Elemente **/

@media only screen and (min-width: 1024px) and (max-width: 2070px) {

    .focus_slide_wrapper {
        left: 20px !important;
    }

    .focus_slide_wrapper_implantat {
        left: 180px !important;
    }
}

/** Ende Slider Home **/

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

    .infobox-content {
        margin: 0px 0px 20px 0px;
        float: none;
        width: 100%;
    }
}

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

    .mediz-copyright-left, .mediz-copyright-right {
        float: none;
        text-align: center;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1120px) {

    /* Zwei Zeilen statt 4 */
    #top_services_home .gdlr-core-column-20 {
        width: 50%;
    }
}

/* Mobile menu small devices */
@media only screen and (max-height: 552px) {

    .mediz-overlay-menu-content ul.menu {
        padding-top: 70px;
    }

    .mediz-overlay-menu-content .mediz-overlay-menu-close {
        top: 10px;
    }
}

/* News im mobilen menu zwischen root Eintrag und Eintrag in "Über uns" switchen. Bei 599px werden beide angezeigt. Damit ist für google sichergestellt, dass immer News im Menü sind. */

@media only screen and (max-height: 599px) {

    .menu-item-8836 {
        display: none;
    }
}

@media only screen and (min-height: 599px) {
    .menu-item-8847 {
        display: none;
    }
}

@media only screen and (min-width: 768px) {
    .hidden-desktop {
        display:none;
    }
}

/* Infowelt - Zweite Ebene - TMP Lösung */

.gw-top-thema hr {
    display: none;
}

.row.gw-top-thema {
    width: 33%;
    float: left;
    min-height: 420px;
    padding: 10px;
}
  
@media only screen and (max-width: 1160px) {

    .row.gw-top-thema {
        width: 100%;
        float: none;
        min-height: 0;
        max-width: 768px;
        border-bottom: 1px solid gray;
        margin-bottom: 20px;
        padding: 0px;
    }
}

/* Termin Button in .mediz-page-title-wrap */

.mediz-page-title-wrap.mediz-style-custom .mediz-page-title {
    padding-right: 225px;
}

.termin_button {
    position: relative;
    top: 70px;
    width: 100%;
    max-width: 1280px;
    height: 0px;
    margin: auto;
    z-index: 15;
    padding-right: 20px;
}

.termin_button.standort {
    top: 5px;
}

#siegel_header {
    width: 180px;
    position: absolute; 
    right: 50px; 
    top: 75px;
}

@media only screen and (min-width: 900px) and (max-width: 1272px) {

    .mediz-page-title-wrap.mediz-style-custom .mediz-page-title {
        padding-right: 240px;
    }

    .termin_button {
        padding-right: 35px;
    }

    #siegel_header {
        right: 60px; 
    }
}

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

    .mediz-page-title-wrap.mediz-style-custom .mediz-page-title {
        padding-right: 0px;
    }

    .termin_button {
        display: none;
    }

    #siegel_header_mobile {
        display: block !important;
        height: 0px;
        width: 130px;
        right: 10px;
        position: absolute;
        top: 30px;
    }
}

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

    #siegel_header_mobile {
        width: 130px;
        top: 20px;
    }
}

@media only screen and (max-width: 381.98px) {
    #siegel_header_mobile {
        display: none !important;
    }
}

/* Standorte - Uhr ausblenden - Small devices */

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

    .page-id-13 .icon_clock_alt, .parent-pageid-13 .icon_clock_alt {
        display: none;
      }
}

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

    .page-id-13 .gdlr-core-opening-hour-item .gdlr-core-opening-hour-list-item {
        font-size: 93%;
    }
}

/* Personnel list - img clickable */
.gdlr-core-personnel-list-image a {
    position: relative;
    height: 100%;
    display: block;
    z-index: 100;
}

.gdlr-core-personnel-item .gdlr-core-custom-dropdown-list {
    z-index: 105 !important;
}

body.mediz-sticky-navigation-no-logo .mediz-fixed-navigation .mediz-logo {
    display: block;
}

/* CLS Startseite */
/* TODO ggf. die min-height per JS nach document ready wieder entfernen? */

.home .gdlr-core-revolution-slider-item.gdlr-core-item-pdlr.gdlr-core-item-pdb {
    min-height: 420px;
}

@media only screen and (max-width: 1279px) {
    .home .gdlr-core-revolution-slider-item.gdlr-core-item-pdlr.gdlr-core-item-pdb {
        min-height: 390px;
    }
}

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

    .home .gdlr-core-revolution-slider-item.gdlr-core-item-pdlr.gdlr-core-item-pdb {
        min-height: 340px;
    }
}

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

    .home .gdlr-core-revolution-slider-item.gdlr-core-item-pdlr.gdlr-core-item-pdb {
        min-height: 320px;
    }
}

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

    .home .gdlr-core-revolution-slider-item.gdlr-core-item-pdlr.gdlr-core-item-pdb {
        min-height: 260px;
    }
}

.video-thumb {
    padding: 0px 8px ;
}

.single-personnel .gdlr-core-image-item-caption {
    display: none;
}

/* Menu sollte möglichst spät in die zweite Zeile rutschen */

@media only screen and (min-width: 1092px) and (max-width: 1216.98px) {
    .mediz-logo-inner {
        max-width: 140px;
    }

    .mediz-header-container-inner .mediz-logo.mediz-item-pdlr, .mediz-header-container-inner .mediz-navigation.mediz-item-pdlr {
        padding-left: 0px;
        padding-right: 0px;
    }
}

/* Unter-Submenu Standorte Ludwigshafen einrücken und immer sichtbar */

.menu-item-123 ul.sub-menu {
    display: block !important;
    margin-left: 20px !important;
	list-style: disc !important;
	padding-left: 8px !important;
}

/* Mobile Job Button */

#job_button_mobile {
    position: absolute;
    top: -10px;
    right: 140px;
}

/* Diverse mobile styles */

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

    .hidden-mobile {
        display:none;
    }

    .mediz-overlay-menu-content ul.menu > li {
        font-size: 16px;
    }

    .mediz-page-title-wrap.mediz-style-custom .mediz-page-title {
        font-size: 18px;
    }

    #zahnarzt_ludwigshafen_home .gdlr-core-pbf-column {
        border-bottom: 1px solid white;
        margin-bottom: 25px;
    }

    #zahnarzt_ludwigshafen_home .gdlr-core-pbf-column:last-child {
        border-bottom: none;
        margin-bottom: 0px;
    }

    body.mediz-body-front #zahnarzt_ludwigshafen_home .gdlr-core-container {
        max-width: 650px;
    }

    #zahnarzt_ludwigshafen_home .gdlr-core-container .gdlr-core-item-pdlr {
        padding-left: 0px;
        padding-right: 15px;
    }

    .img-content, .content-img {
        max-width: none;
        margin: 0px;
    }
    
    .float-right, .float-left {
        float: none !important;
    }

    /* Auf mobile - Content beim ersten .gdlr-core-pbf-wrapper padding verkleinern */
    .gdlr-core-page-builder-body > .gdlr-core-pbf-wrapper:first-child {
        padding-top: 20px;	
    }

    /* Auf mobile - Content beim ersten .gdlr-core-pbf-sidebar-wrapper padding verkleinern */
    .gdlr-core-page-builder-body > .gdlr-core-pbf-sidebar-wrapper:first-child .gdlr-core-pbf-sidebar-content {
        padding-top: 20px;	
    }

    h1.mediz-single-article-title {
        font-size: 25px !important;
    }

    .video-thumb {
        padding: 0px 0px 18px 0px;
    }
}

/* Mobile Header - Small device */

@media only screen and (max-width: 368px) {
    .mediz-mobile-menu-right {
        right: 15px;
    }

    .mediz-mobile-menu {
        margin-left: 20px;
    }

    .mediz-main-menu-search {
        margin-left: 20px;
        margin-top: -4px;
    }

    #job_button_mobile {
        right: 100px;
    }
}

