/*** Responsive CSS for mobile ***/

/* Main menu */
@media screen and (max-width: 600px) {
    #main-navbar-menu > li > a {
        font-size:10px;
        padding: 3px 10px;
    }
  
    #main-navbar-menu li.extra {
        display:none;
    }
    
    #main-navbar-menu > li.has-sub > a:after {
        display: block;
        content: "";
        background: #ffffff;
        height: 12px;
        width: 12px;
        position: absolute;
        border-radius: 13px;
        right: 14px;
        top: 3px;
    }
    
    #main-navbar-menu > li.has-sub > a:before {
        display: block;
        content: "";
        border: 4px solid transparent;
        border-top-color: #4eb980;
        z-index: 2;
        height: 0;
        width: 0;
        position: absolute;
        right: 16px;
        top: 8px;
    }
 
    #main-navbar-menu li ul li a {
        padding: 6px 5px 5px 15px;
        font-size: 10px;
    }
    
    .main-navbar {
        min-height: 16px !important;
    }
    
    .checker_availabilities_calendar {
        width:100%;
    }
    
    .login-logo {
        width: 200px;
        height: auto;
    }
}

/* Checker and cleaning provider Dashboard */
@media screen and (max-width: 600px) {    
    /* Force table to not be like tables anymore */
	#no-more-tables table, 
	#no-more-tables thead, 
	#no-more-tables tbody, 
	#no-more-tables th, 
	#no-more-tables td, 
	#no-more-tables tr { 
		display: block; 
	}
 
	/* Hide table headers (but not display: none;, for accessibility) */
	#no-more-tables thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
 
	#no-more-tables tr { border: 1px solid #ccc; margin-bottom:20px; }
 
	#no-more-tables td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #CCC; 
        position: relative;
		padding-left: 40%; 
		white-space: normal;
		text-align:left;
    }
 
	#no-more-tables td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 35%; 
		white-space: nowrap;
		text-align:left;
		font-weight: bold;
        padding-top:6px;
    }
 
	/* Label the data */
	#no-more-tables td:before { content: attr(data-title); }
    
    .currentPeriod input[type="date"] {
        font-size:14px;
        padding:0;
    }
    
    .elem input {
        display:block;
        margin-bottom: 20px;
    }
}
