@LeftMenuSearchCriteriaContent_bg: white;
@LeftMenuSearchCriteriaFooter_bg: lightyellow;
@leftMenuContent_font: black;
@leftMenuContent_bg: white;
@LeftMenuResult_font: black;
@borderColor: #4E5873; 
@LeftMenuSearCriteria: black;
@LeftMenuResultHeader_bg: lightgray;
@ContentNavigationFooter_bg: #98bbd2;

html, body {
    _background-color: white;    
    color: #54595f;
    font-family: "Segoe UI", Helvetica, Arial, sans-serif;
}

.row  {
    margin: 0;
}

.header_black {
    background-color: black;
}

.navigation-control-pane {
    max-height: 160px;
    overflow: auto;
}


.search-view {
    background-color: #ececec;

    .leftPanel {
        padding-top: 3px;
    }

    .row:first-child {
        padding-bottom: 10px;
    }

    .search-control {
        padding-left: 6px;
        .searchform {
            border: 2px solid #cccccc !important;
            background-color: white;
            border-radius: 5px;            
            height: 35px;              
            margin-right: 7px;

            .search-select {
                background-color: #FFFFFF;
                float: left;
                height: 100%;
                border: 0;
                border-right: 1px solid #cccccc;
                width: 18%;
            }
            
            input[type="text"] {
                width: 77%;
                height: 100%;
                border: none;
                padding-left: 5px;
            }
            input[type="text"]:focus {
                outline:none;
            }
            .search-btn {
                img {
                    padding-top:5px; 
                    cursor: pointer; 
                    float: right;        
                    margin-right: 12px;      
                    margin-top: 2px;
                }
            }            
        } 
    } 
    
    .facets-group {
        margin-top: 3px;
        border: 2px solid #cccccc;
        border-radius: 5px;
        background-color: white;
        .facet-panel { 
            padding-top: 5px; 
            .row {
                padding-bottom:0px;
            }
            .facet-body {
                padding-bottom: 5px; 
                
                .facet-range {
                    .title {  
                        border: 1px solid #ccc;
                        background-color: #eee; 
                        border-top-left-radius: 4px;
                        border-bottom-left-radius: 4px;
                        margin-right: 0px;
                        padding-left: 3px;
                        padding-bottom: 1px;
                        padding-right: 3px;
                        height: 25px;
                    }
                    input[type="text"] {                        
                        border: 1px solid #ccc;
                        width: 50px;
                        height: 25px;
                        padding: 3px;
                        border-top-right-radius: 4px;
                        border-bottom-right-radius: 4px;
                        border-left: none;
                        margin-left: -5px;
                    }   
                    button {
                        background-color: #cf0038 ;
                        color: white;                        
                    }                 
                }    
                .used-facet-splitter {
                    border-bottom: 1px dotted #3a3a3a;  
                    margin: 0 10px 0 10px; 
                }            
            }
            .show-hidden-facets-btn {
                padding-top: 5px;
                cursor: pointer;
            }            
        }
        .facet-splitter {                    
            border-bottom: 1px solid #3a3a3a;  
            margin: 0 10px 0 10px;        
        }
    }

    #clear-all-facets-btn {
        float: right;      
        margin-right: 3px;
        border-radius: 10px;
    }
    
    /*
    .search-control input[type="text"] {
        width: 100%;        
        height: 30px;  
        margin-right: 5px;
        border: 2px solid #cccccc;
        background-color: white;
        border-radius: 5px;
        padding-left: 10px;
    }*/
}

.ui-widget-content {
    background-color: white;
    border: 2px solid #cccccc;
    padding: 10px;
    border-radius: 0 0 5px 5px;
    border-top-style: none;     
    width: 550px !important; 
}

.document-view {
    background-color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh; 
    margin:0;

    .wine-photo-panel {
        min-height: 500px;
        
        .flex {
            display: flex; 
            justify-content: center; 
            align-items: center;
        }      
        
        img:last-child {
            margin-top: 20px;
            margin-bottom: 20px;
        }
    }

    .wine-description-panel {        
        margin-top: 30px;
        h1 {
            font-weight: bold;
            color: #cf0038 ;
            margin-bottom: 10px;
        }
        h5 {
            font-style:italic;
            font-weight: bold;
            margin-top: 20px;
        }
        .wine-description-value {
            font-weight: bold;
        }
        .no-lab-value {
            font-style: italic;
        }
    }
}


.navigation-control-pane {
    //width: 270px;    
    ul.dynatree-container  {
        overflow: hidden !important;
        /*a:hover {
            position: absolute !important;
            background-color: @ContentNavigationFooter_bg !important; 
        }*/
    }
}
.left-navigation-footer {
	//background-color: @ContentNavigationFooter_bg;
    color: @leftMenuContent_font;
    padding: 5px;
    text-align: right;
    text-decoration: underline;
}

ul.dynatree-container  {
    border: none !important;
}

img.category-token-splitter 
{
    border: none;
    vertical-align: middle;
}

.main-container {
    font-family: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 17px;    
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    flex:1;

    a {
        color: #cf0038 !important;
    }
    .link-arrow {
        padding-bottom: 2px;
        padding-right: 5px;
    }
    .document-top-navigation {
        padding-bottom: 20px;
        .back-to-results-arrow {
            font-family: sans-serif;
            color: #cf0038 !important;      
            padding-right: 5px;  
        }
    }
}

.result-content {
    table {
        border: none;
        background-color: #ececec;
        td {
            border: none !important;
        }
    }
}
.search-result-view {

}
.search-result-item {
    border: 2px solid #cccccc;
    border-radius: 5px;
    background-color: white;    
    /*height: 120px;*/
    .wine-photo {
        _float: left;
        padding-left: 10px;
        padding-top: 13px;
        img {
            margin-left: auto;
            margin-right: auto;
            display: block;
        }        
    }
    .wine-description {
        color: #54595f;
        padding-bottom: 5px;
        h3 {
            margin-top: 10px;
            /*font-size: large;*/
        }
        .title {
            a {
                font-weight: bold;
                color: #840505;
            }            
        }
        .award {
            font-weight: bold;
        }
    }    
    .award-image {        
        padding-top: 30px;
        img {
            width: 150px;
        }        
    }
}

.highlight {
    background-color: mistyrose;
    
    /*-moz-border-radius: 5px;*/ /* FF1+ */
    /*-webkit-border-radius: 5px;*/ /* Saf3-4 */
    /*border-radius: 5px;*/ /* Opera 10.5, IE 9, Saf5, Chrome */
    /*-moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7); /* FF3.5+ */
    /*-webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7); /* Saf3.0+, Chrome */
    /* box-shadow: 0 1px 4px rgba(0, 0, 0, 0.7); /* Opera 10.5+, IE 9.0 */
}


.no-padding {
    padding: 0 !important;
    margin: 0 !important;
}

.menu {
    ul {
        li {
            a {

            }            
        }
    }
}

.site-header {
    background-color: black;
    margin-bottom: 20px;

    .header-content {
        width: 100%;
        height: 60px;
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;

        .site-logo {
            float: left;
            img {
                height: 60px;
                padding-top: 10px;
                padding-bottom: 10px;
            }            
        }

        #primary-menu {            
            ul {
                list-style: none;
                text-align: center;

                li {
                    height: 60px;
                    float: none;
                    display: inline-block;
                    letter-spacing: normal;
                    position: relative;
                    font-size: 15px;
                    padding-right: 10px;
                    margin-right: -3px;


                    a {
                        text-decoration: none;
                        color: #ffffff;
                        padding-left: 20px;
                        padding-right: 20px;
                        line-height: 60px;
                    }                    

                    .dropdown-content {
                        margin-top: -2px;
                        display: none;
                        position: absolute;
                        background-color: black;
                        min-width: 200px;                        
                        box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
                        z-index: 1;
                        text-align: left;

                        a {
                          color: white;
                          padding: 10px 16px;
                          text-decoration: none;
                          display: block;
                          line-height: normal;
                        }

                        a:hover {
                          background-color: #3f3f3f;
                        }
                    }
                }

                li:hover {
                    background-color: #b30030 !important;
                }
                li:hover .dropdown-content {
                    display: block;                                        
                }
            }
        }
    }
}

.dropdown-menu-toggle {
    /*content: "\f107";*/
    padding-left: 10px;
    font-family: GeneratePress;
    display: inline-block;
    width: .8em;
    text-align: left;
}
.site-footer {
    color: #ffffff;
    background-color: #222222;
    padding: 20px;
    margin-top: 30px;
    font-family: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 15px;   
    height: 60px;

    .row {
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    .copyright-bar {
        float: left;
    }
    .site-info-bar {
        float: right;
        a {
            color: #ffffff;
            text-decoration: none;
            margin: 10px;
        }
        a:hover {
            color: #b30030;
        }
        a:visited {
           /*color: #840505;*/
        }
    }
}

.searchCriteraPanel {
    .search-criteria-header 
    {
        color: #54595f;    
	    line-height: 33px;
	    padding-left: 20px;
	    font-weight: bold;
        border: 2px solid #cccccc;
        border-radius: 5px 5px 0 0;        
        background-color: white;   
    }
    .search-criteria-body {
        background-color: white;
        color: #54595f;
        border-right: 2px solid #cccccc;
        border-left: 2px solid #cccccc;        
        padding: 0 0 0 5px;	    
	    //margin-top: 1px;
        .search-criteria-item-group {
            border-bottom: 1px solid @borderColor;
            /*border-left: 2px solid @color1;
            border-right: 2px solid @color1;
            border-top: 2px solid @color1;*/
            height: 100%;
            padding: 3px;
            .search-criteria-item-header {
                /*font-size: 14px;*/
            }
            .search-criteria-item-table {
                line-height: 25px;
            }
            .search-criteria-text {
                /*font-size: 14px;*/
                color: #3a3a3a;
            }
        }
        .search-criteria-item-group:last-child {
           //border: 1px solid @color1;
           border-bottom: none;
           padding-bottom: 5px;
        }
    }
    .search-criteria-footer {
        border-right: 2px solid #cccccc;
        border-left: 2px solid #cccccc;        
        font-weight: bold !important;
	    padding: 7px;	
        color: @LeftMenuResult_font !important;
        background-color: @LeftMenuResultHeader_bg !important;
        padding-left: 20px !important;

	    span:last-child{
		    float: right;		
	    }	
	    a {
	        color: #005895 !important;
	        text-decoration: none;	
	    }
    }

    .search-criteria-footer2 {
        background-color: white;
        color: @leftMenuContent_font;
        padding: 5px;
        text-align: right;
        text-decoration: underline;
        border-right: 2px solid #cccccc;
        border-left: 2px solid #cccccc;
        border-bottom: 2px solid #cccccc;     
        border-radius: 0 0 5px 5px;   
	    a {
		    color: black;	
	    }
    } 
}







.search-criteria-text {
	color: @LeftMenuSearCriteria;
}


.navigationPanel { 
    padding-top: 4px;  

    ul {
        background-color: inherit;
        border: 2px solid #cccccc;
        border-radius: 0 0 5px 5px;

        .nav-group-list-header.dxnb-headerCollapsed {
            border: 2px solid #cccccc;
            border-radius: 5px;
        }        
        .nav-group-list-header {
            color: #54595f;
            border: 2px solid #cccccc;            
            border-radius: 5px 5px 0 0;
            background-color: white;
        } 
        
        .nav-group-list-content {            
            .navigator-list-container {
                padding-left: 25px;
                background-color: white; 
	            border: 0 !important;	
                li {
                    padding-top: 2px;
                    padding-bottom: 2px;
                    /*font-size: 14px;*/
                    a {                        
                        color: #3a3a3a !important;                        
                    }                    
                    a:hover {
                        text-decoration:underline;
                    }
                }
            }
        } 
    }
    .dxnb-header, .dxnb-headerCollapsed {
        border: 2px solid #cccccc;
        border-radius: 5px;
        background-color: white;
        color: #54595f;
    }

    .dxnb-content {
        padding: 0;
        .navigation-control-pane {           

            .navigator-list-container {
                /*?*/
            }

            .dynatree-container {
                background-color: white;
                a {
                    color: #3a3a3a !important;
                }
                ul {
                    border: none !important;
                }
            }            
        }
    }    
}

.dxpnlControl, .dxgvControl, .dxgvDisabled, .dxnbLite {
    font-family: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 17px;    
}

ul.dynatree-container {
    font-family: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 17px; 
    
    img {
        width: initial;
        height: initial;
        vertical-align:initial;
        margin-left: initial;
    }   
    a:hover {
        text-decoration:underline;
        background-color: transparent;
    }
}
input {
    font-family: "Open Sans", "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 17px;    
}


.login-link {
    background-color: #b30030;
}
.login-link:hover {
    background-color: #b30030;
}

.content-divider {
    width: 100%;
    border-top: 1px solid #cecece;
    margin-top: 15px;
    margin-bottom: 15px;
}
.sm-follow-us {
    color: #cf0038;
    font-size: 1.7em;
    font-weight: 700;
    text-align: center;
}

.sm-follow-us-links {
    text-align: center;
    margin-top: 20px;

    .sm-follow-us-button {
        color: white !important;
        
        border-radius: 15px 15px 15px 15px; 
        padding: 7px 25px;
        margin: 20px;
        font-size: 23.8px;  
        font-weight: 700;
        text-decoration: none;
    }

    .sm-follow-us-button-facebook {
        background-color: #4267B2;
    }
    .sm-follow-us-button-instagram {
        background-color: #DD2A7B;
    }
    .sm-follow-us-button-twitter {
        background-color: #00ACEE;
    }
    .sm-follow-us-button-linkedin {
        background-color: #0E76A8;
    }    
}


.social-media-sharing {
    width: 34px;
    left: 1px;
    top: 160px;
    b_order: 1px solid red;
    position: fixed;
    overflow: visible;
    z-index: 10000000;
    display: block;
    padding: 2px;
    border-radius: 4px;
    opacity: 1;
    box-sizing: content-box!important;

    ul {
        list-style: none!important;
        padding-left: 0!important;

        li {
            float: left!important;
            margin-bottom: 4px!important;
            padding: 0!important;
            list-style: none!important;
            /*border: none!important;*/
            clear: none!important;
            border-radius: 999px;  
            cursor: pointer;
            

            i {   
                text-align: center;
                color: white;
                float: left;
                padding-top: 9px;  
                font-size: 13px; 
                width: 30px;
                height: 30px;
               
            }            
        }
        li:hover {
            background-color: #cf0038;
        } 
       
        .social-media-sharing-facebook {
            background-color: #4267B2;
        }
        .social-media-sharing-instagram {
            background: radial-gradient(circle at 30% 107%,#fdf497 0,#fdf497 5%,#fd5949 45%,#d6249f 60%,#285aeb 90%);
        }
        .social-media-sharing-twitter {
            background-color: #00ACEE;
        }
        .social-media-sharing-linkedin {
            background-color: #0E76A8;
        }
        .social-media-sharing-email {
            background-color: #649a3f;
        }
        .social-media-sharing-whatsapp {
            background-color: #55eb4c;
        }
        .social-media-sharing-copy {
            background-color: #ffc112;
        }
    }
}

.grid-container {
  display: grid;
  grid-template-columns: auto;
}

.grid-item {
  padding: 3px;
}

.pagination {
    display: inline-block;
    width: 100%;

    a {
        color: black;
        float: left;
        margin-top: 1px;
        padding: 5px;
        font-size: 13px;
        text-decoration: none;
    }

    b {
        color: black;
        float: left;
        margin-top: 1px;
        padding: 5px;        
        cursor: default;
        font-size: 13px;
        text-decoration: none;
    }
    .paging-text-left {
        color: black;
        float: left;
        font-size: 13px;
        padding: 6px 4px 6px 5px;
    }

    .paging-text-right {
        color: black;
        float: right;
        font-size: 13px;
        padding: 6px 4px 6px 0px;
    }

    .paging-size-dropdown {
        color: black;
        float: right;
        font-size: 13px;
        margin: 6px 5px 6px 0px;
        border: 1px solid #acacac;
    }

    .paging-button {
        float: left;
        margin: 8px 2px 8px 2px;
        padding: 0 4px 0 4px;
        border: 1px solid #acacac;
    }
}

    .sliders {
        border: 2px solid #cccccc;
        border-radius: 5px;
        background-color: white;
    }

    .slider {
        padding-bottom: 15px;
        padding-top: 10px;

        p {
            margin-left: 7px;
            margin-bottom: 5px;
        }
    }

    .ui-slider-horizontal {
        padding: 1px;
        height: .1em;
        width: 85% !important;
        border: solid;
        border-width: 0.1px;
        border-color: #AAAAAA;
        border-radius: 10px !important;
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-top: 10px;
        margin-bottom: 10px;
        background: #FFFFFF;
        z-index: 0;
    }

    .custom-handle {
        width: 0.8em !important;
        height: 0.8em !important;
        background: #cf0038 !important;
        border: solid !important;
        border-width: 0.5px !important;
        border-color: #AAAAAA !important;
        text-align: center;
        line-height: 2.75em;
        margin-left: -.3em !important;
        font-size: 0.75em !important;
        color: #cf0038;
    }

    .slider-container {
        display: flex; 
        justify-content: space-between;
    }

    .slider-remove {
        text-align: center;
        display: block;
        margin-left: auto;
        margin-right: auto;
        
        b {
            font-size: 0.8em !important;
            font-weight: normal !important;
        }
     }

    .ui-widget-header {
        background-image: none;
        background-color: #cf0038;
        background: #cf0038;
    }

    /*clearfix für float:right und gleichzeitig platz einnehmen*/
    .cf:before,
    .cf:after {
        content: " "; /* 1 */
        display: table; /* 2 */
    }

    .cf:after {
        clear: both;
    }

    /**
    * For IE 6/7 only
    * Include this rule to trigger hasLayout and contain floats.
    */
    .cf {
        *zoom: 1;
    }

    .slider-button {
        padding: 6px;
        background: #cf0038 !important;
        color: #FFFFFF !important;
        font-size: 0.9em !important;
        border-radius: 10px;
        float: right;
        margin: 0px !important;
        
        b {
            font-weight: normal !important;
        }
    }

    .slider-header {
        cursor: pointer;
        width: 100% !important;
        padding-right: 7px !important;
        padding-left: 7px !important;

        b:after {
            content: '\F1DE \2000 \f107'; 
            font-family: "Font Awesome 5 Free";
            color: #cf0038;
            font-weight: bold;
            float: right;
        }

        b.active:after {
            content: "\f106";
            color: #cf0038;
        }
    }

      .btn-filter {
        color: #333;
        background-color: #ededed;
        border-color: transparent;
        display: inline-block;
        padding: 4px 4px 4px 8px;
        font-size: 14px;
        border-radius: 4px;
        box-shadow: none;
        margin-right: 4px;
        margin-bottom: 4px;
        cursor: default;
        font-weight: bold;
    }

    .btn-filter a {
        padding: 6px;
        margin-left: 0;
        cursor: pointer;
        content: '\10006';
        text-decoration: none;
        color: #333 !important;
    }

    .btn-filter:hover {
        background-color: #dedede;
        text-decoration: none;
    }

    .sort-select {
        background-color: #FFFFFF;
        padding: 3px 6px 3px 6px;
        text-size-adjust: 100%;
        float:left; 
        width:auto;
        border-radius: 10px;
        font-size: 0.9em !important;
        text-align: left;
        border-width: 2px;
    }

    .facet-indicator {
        margin: 3px !important; 
        padding: 10px !important; 
    }

    .padding-8 {
        padding: 8px;
    }

    .noselect {
      -webkit-touch-callout: none; /* iOS Safari */
        -webkit-user-select: none; /* Safari */
         -khtml-user-select: none; /* Konqueror HTML */
           -moz-user-select: none; /* Old versions of Firefox */
            -ms-user-select: none; /* Internet Explorer/Edge */
                user-select: none; /* Non-prefixed version, currently
                                      supported by Chrome, Edge, Opera and Firefox */
    }

    .wine-photo-modal {
      display: none; 
      position: fixed; 
      z-index: 1; 
      left: 0;
      top: 0;
      width: 100%;
      height: 100%; 
      overflow: auto; 
      background-color: rgb(0,0,0); 
      background-color: rgba(200,200,200,0.9); 
    }

.wine-modal-image {
    padding: 0;
    display: block;
    margin: 0 auto;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.wine-modal-image {
  animation-name: zoom;
  animation-duration: 0.6s;
}

.medal-image {
    width: 300px;
}