﻿/* highlight label */
.sidenavigator label:hover, label:active, input:hover + label, input:active + label
   {
        background: #7CBC42;
   }

.sidenavigator label {
    width: 97% !important;
    border-radius: 5px !important;
}

/* NO CELL PHONES NOR IPADS  (See next media query block) */
@media only screen and (min-width: 769px) and (max-width: 2500px) {

    .sidenavigator {
        height: 50px !important;
        width: 100% !important; /* prevent scrollbar */
        display:inline-block !important;                                        
        margin-left: 0;
	    padding-left: 1.25%;
    }

    .sidenavigator .closebtn {
        display:none;
    }

    .buttons {
        width: 100% !important;
    }

    /* button items caption */
    .btn-group.filter-button { 
        font-family: 'Open Sans', sans-serif !important;
        font-size: 15px;
        margin-top: 0px; 
        margin-left: 0px;       
        min-width: 15%;
        max-width: 20%;           
        color: #000000;
        border-radius: 5px;
    }

    .btn-group.filter-caption {  
            font-family: 'Open Sans', sans-serif !important;
            font-size: 12px;
            font-weight: bold;
            color: #000000;
            margin-top: 15px;                        
            width: 100px;
    }

    .btn-group.sorter-caption {                
            font-family: 'Open Sans', sans-serif !important;
            font-size: 12px;
            font-weight: bold;            
            margin-top:20px;
            padding-right: 15px;            
            min-width: 90px;            
            position:absolute;
            float:right !important;             
            right: 13% !important;

    }


    a.btn {
        color: #000000 !important;
        background-color: #f2f2f2 !important;    
        text-align: left;
        padding-left: 2px;
        min-width: 150px;
        width: auto;
        text-overflow: ellipsis;
        overflow:hidden;
    }
    
    a.btn:active {
        border-style: outset !important;
    }
    
    .dropdown-menu {
        padding-left: 2px;
        margin-left: 5px !important;
        width: 20% !important;
        margin-top: 15px;
    }

    /* Label inside dropdown menu */
    .drop-label {        
        position: absolute;
        margin-top: 12px;
        border: 1px solid black;            
        width: 120px;
        height: 35px;
        vertical-align: middle;
    }

    .sort-label, .filter-label {
        vertical-align: bottom;
        margin-top: 15px;
        padding-top: 5px;
    }

   /* .sidenavigator.span1.sort-col2 {
        width: 9.8%;
        margin-right: -30px;
        border: 1px solid lightblue;
    }*/

    .span1.sort-col6 {        
        white-space: nowrap;        
        /*min-width: 80% !important;*/
        min-width: 950px;
        height: 60px !important;        
        margin-left: 15px;      
    }

    .span1.sort-col {       
        float: right !important;
        width: 35% !important;
        min-width: 35% !important;
        height: 60px !important;
    }
    
    span1.sorter-caption {
        float:right;
    }

  /*  .show-label-container {
        display: none;
    }*/


}


/* IPAD PORTRAIT */
/* NO RETINA */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
    
    .sidenavigator {
        height: 50px;
        width: 100% !important;        
        display:inline-block;  
        margin-left: 0; 
	padding-top: 5px;
    }


    .sidenavigator .closebtn {
        display:none;
    }

    .buttons {
        width: 95%;
    }


    /* button items caption */
    /* button width */ 
    .btn-group.filter-button { 
        font-family: 'Open Sans', sans-serif !important;
        font-size: smaller;      
        margin-top: 0px;    
        height: 35px;    
        width: 110px;
        color: #000000;
        border-radius: 5px;
        margin-right: 2px; 
        text-overflow: ellipsis !important;       
    }

    .btn-group.filter-caption {  
            font-family: 'Open Sans', sans-serif !important;
            font-size: 9px;
            font-weight: bold;
            color: #000000;
            margin-top: 10px;
            margin-left: 5px;
            margin-right: 0px;
	        padding-right: 2px;		
            width: 60px;
    }

    .btn-group.filter-caption.hidden-phone {
        width: 0px;
        /* border: 1px solid brown;*/
    }

    .btn-group.sorter-caption {                
            font-family: 'Open Sans', sans-serif !important;
            font-size: 9px;
            font-weight: bold;            
            margin-top:20px;
            padding-right: 15px;            
            min-width: 80px;                
            position:absolute;
            float:right !important;                         
    }

    a.btn {
        color: #000000 !important;
        background-color: #f2f2f2 !important;        
	    height: 32px;
        width: 108px;        
        margin-top: 0px;        
        margin-left: 0px !important;   
        margin-right: 5px;     
	    padding-left: 2px; /* text closer to the left side*/
        text-align: left;
        /* border: 1px solid orange;*/
        text-overflow: ellipsis;
        overflow:hidden;
    }
    
    a.btn:active {
        border-style: outset !important;
    }
    
    /* Dropdown Menu */
    .dropdown-menu {        
        padding-left: 12px;
        margin-left: 0px !important;
        top: 30px;
        width:100px !important; 
    }

    /* Label inside the Dropdown Menu */
    .drop-label {        
        position: absolute;
        margin-top: 12px;
        border: 1px solid black;            
        width: 120px;
        height: 35px;
        vertical-align: middle;
    }

    .filter-box {
        float: left;
    }

    .sort-box {
        float:right;
    }
    .sort-label, .filter-label {
        vertical-align: bottom;
        margin-top: 15px;
        padding-top: 5px;
    }

    /*.span1.sort-col2 {
        width: 9.8%;
        margin-right: -30px;
    }*/
  
    .sidenavigator .sort-col6 {
        margin-left: 0px;
        width: 98% !important;
	padding: 0px;
    }

    .sidenavigator .sort-col {
        /*width: 8.58% !important;*/        
        width: 20% !important;
    }

    /*.show-label-container {
        display: none;
    }*/



}

/* IPAD LANDSCAPE */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
        
    .sidenavigator {
        height: 50px;
        width: 100% !important;        
        display:inline-block;  
        margin-left: 0%; 
    }

    .sidenavigator .closebtn {
        display:none;
    }

    .buttons {
        width: 100%;
    }

    /* button items caption */
    /* button width */ 
    .btn-group { 
    
    }

    a.btn {
        color: #000000 !important;
        background-color: #f2f2f2 !important;
        width: 110px;
        margin-top: -5px;
        padding: 3px 3px 3px 3px;
        text-overflow: ellipsis;
        overflow:hidden;
    }
    
    a.btn:active {
        border-style: outset !important;
    }
    
    .btn-group .label-title {        
            font-weight: bold;
            margin-top:15px;
            padding-right: 15px;
    }

    /* Filter Button*/
    .btn-group.filter-button {
        font-family: 'Open Sans', sans-serif !important;
        font-size: 10px;
        /*height: 15px !important;*/          
        margin-top: 10px;                
        color: #000000;
        border-radius: 5px;     
    }

    .btn-group.filter-caption {  
            font-family: 'Open Sans', sans-serif !important;
            font-size: 9px;
            font-weight: bold;
            color: #000000;
            margin-top: 15px;	
	    padding-right: 15px;        
            width: 60px;

    }

    /* Dropdown Menu */
    .dropdown-menu {
        padding-left: 5px;
        margin-left: 0px !important;
        top: 20px;
        width:250px !important;
    }

    /* Label inside the Dropdown Menu */
    .drop-label {        
        position: absolute;
        margin-top: 12px;
        border: 1px solid black;            
        width: 120px;
        height: 35px;
        vertical-align: middle;
    }

    .filter-box {
        float: left;
    }

    .sort-box {
        float:right;
    }
    .sort-label, .filter-label {
        vertical-align: bottom;
        margin-top: 15px;
        padding-top: 5px;
    }

    /*.span1.sort-col2 {
        width: 9.8%;
        margin-right: -30px;
    }*/
  
    .sidenavigator .sort-col6 {
        white-space: nowrap;
        /*min-width: 60% !important;*/
        width: 97% !important;  
    }
    .sidenavigator .sort-col {
        float: right !important;        
        width: 35% !important;
        min-width: 35% !important;
        height: 60px !important;
    }

    span1.sorter-caption {
        float: right;
    }

  /*  .show-label-container {
        display: none;
    }*/


}

/* RETINA */
@media only screen
    and (min-device-width: 1536px)
    and (max-device-width: 2048px)
    and (orientation: landscape)
    and (-webkit-min-device-pixel-ratio: 2)
{
    .nav-left {

    }

    .nav-collapse {

    }
}

/* CELL PHONES AND SMALLER */
@media only screen and (min-width: 250px) and (max-width: 767px) {
   
    .btn-primary {
        background-color: #4da6ff !important;        
    }

    button#filter-button, .btn.btn-block {
        background-color: #4da6ff !important;        
        color: #ffffff !important;
        text-shadow: none !important;
        margin-top: 10px !important;   
        margin-bottom: 10px !important;
        margin: auto;
        width: 80%;
    }

    button#filter-button:hover, .btn.btn-block:hover {
        background-color: #00b200 !important;        
        color: #ffffff !important;
        text-shadow: none;
    }

    .btn-group.filter-caption {
       
       /* font-family: 'Open Sans', sans-serif;
        font-size: 10px;
        font-weight: bold;  
        color: black;
        padding-top: 10px;
        padding-bottom: 10px;
        */
        display: none;

    }
    .btn-group.filter-button { 
        font-family: 'Open Sans', sans-serif !important;
        font-size: 15px;
        margin-top: 10px; 
        min-width: 200px;
        max-width: 250px; 
	    padding-right: 30px;
        color: #000000;
        border-radius: 5px;
    }


    .dropdown-menu {
        padding-left: 0px;
        margin-left: 0px !important;
        width:280px !important;
	    margin-top: 13px;
        z-index: 10;
        max-height: 200px;
        overflow-y: auto;

    }

    /* Filter & Sorting Title */
    .sidenavigator .show-label-container p {
        font-family: 'Open Sans', sans-serif;
        font-size: 15px;
        font-weight: bold;
        color: black;

        position: absolute;
	    top: 50px !important;
        margin-left: 10px;
        
    }

    /* Close Button */ 
    .sidenavigator .closebtn {
        position: absolute;
	    top: 50px;
        right: 25px;
        font-size: 36px;
        font-weight: bold;
        margin-left: 50px;        
    }

	/* FIX FOR IPHONE - WITHOUT THIS DROPDOWN BUTTON WILL NOT WORK */
	.dropdown-backdrop {
	    position: static;
	}      

   .sidenavigator {
        height: 80%;
        /* added on jquery event */
        /*border: 1px solid #02baf2;*/ 
        border-radius: 10px;
        width: 0px;
	    position: fixed;
        z-index: 1;
        top: 80px;
        left: 0;
        background-color: #ffffff;
        overflow-x: hidden;
        padding-top: 20px;
        /*transition: 0.5s;*/
   }

  

   /* This is the wrapper for the buttons */
   .buttons-container {
       height: auto;
       width: 100%; /* 250px; */
       display:inline-block;
       padding-bottom: 15px;
       top: 80px !important;
       position: absolute;
   }

    .btn-group {   
        margin-left: 5px !important;      
        height: 25px;  
        width: 300px !important;
        margin-bottom: 10px;
        /*padding-top: 10px;    */
        padding-bottom: 30px;
        padding-left: 0px;            
    }
   
    .btn-group > btn {
        background-color: #f2f2f2 !important;
    }

    /* actual buttons */
    a.btn {
        font-family: 'Open Sans', sans-serif;
        color: #000000 !important;
        background-color: #f2f2f2 !important;
        padding-right: 10px;
        width: 200px;        
        text-align: left;
        text-overflow: ellipsis;	
        overflow:hidden;
	    padding-right: 10px;
	    padding-top: 10px;

    }

    a.btn:active {
        border-style: outset !important;
    }

    /* Div With Buttons */
    .span1.sort-col6 {
        height: 50%;
        width: 280px;
        margin-top: 15px;
        margin-left: 10px;
    }

}


@media only screen and (max-width: 249px) {
    .sidenavigator {
        display:none;
    }

    .sidenavigator .closebtn {
        display:none;
    }
}

