﻿body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Set padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
input,
select,
textarea {
    max-width: 280px;
}

.text-box-calendario { width:100px!important; }

.icon-stack {
    display: inline-block;
    position: relative;
}
.icon-stack [class^="icon-"], .icon-stack [class*=" icon-"] {
    display: block;
    line-height: inherit;
    position: absolute;
    text-align: center;
}
.glyphicon{
    font-size:18px;
}
.no-pagamento { left: 12px; color:red; }

.ok-pagamento { left: 12px; color:green; }

.icon-danger {
    color:red;
}

.glyphicon-print { font-size:15px; }

.btn-palestra, .btn-sport, .btn-danza,
.btn-palestra-select, .btn-sport-select, .btn-danza-select {
    height:34px; margin-top:10px; padding:6px!important; margin-left:5px;
    border:1px solid; border-radius:4px; max-width:150px;
}

.btn-palestra, .btn-palestra-select { background-color:#ffa726!important; border-color:#ef6c00; color:#ef6c00 !important; }
.btn-palestra:hover, .btn-palestra-select:hover { background-color:#ffbc59!important; }
.btn-palestra-select { border-color: rgba(255, 201, 38, 0.8)!important; }

.btn-danza, .btn-danza-select { background-color:#00C851!important; border-color:#007E33; color:#007E33!important; }
.btn-danza:hover, .btn-danza-select:hover { background-color:#2fd271!important; }
.btn-danza-select { border-color: rgba(126, 239, 104, 0.8)!important; }

.btn-sport, .btn-sport-select { background-color:#4285F4!important; border-color:#0d47a1; color:#0d47a1!important; }
.btn-sport:hover, .btn-sport-select:hover { background-color:#73a3f4!important; }
.btn-sport-select {  border-color: rgba(66, 198, 244, 0.8)!important; }

.btn-palestra-select, .btn-sport-select, .btn-danza-select {
    border:2px solid; box-shadow: 0 1px 1px rgba(0, 0, 0, 0.75) inset, 0 0 8px rgba(126, 239, 104, 0.6);
    outline: 0 none;
}

.border-palestra { border-bottom:6px solid #ffa726; }

.border-danza { border-bottom:6px solid #00C851; }

.border-sport { border-bottom:6px solid #4285F4; }

.image-zoom-in { cursor:zoom-in }

/*----------------------- INIZIO TOGGLE SWITCH ------------------------------------------------*/

.switch{position:relative;display:inline-block;width:60px;height:34px}.switch input{display:none}.slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;-webkit-transition:.4s;transition:.4s}.slider:before{position:absolute;content:"";height:26px;width:26px;left:4px;bottom:4px;background-color:#fff;-webkit-transition:.4s;transition:.4s}input:checked+.slider{background-color:#428bca}input:focus+.slider{box-shadow:0 0 1px #428bca}input:checked+.slider:before{-webkit-transform:translateX(26px);-ms-transform:translateX(26px);transform:translateX(26px)}.slider.round{border-radius:34px}.slider.round:before{border-radius:50%}

/*----------------------- FINE TOGGLE SWITCH ------------------------------------  ------------*/


/*----------------------- OVERRIDE BREAKPOINT PER VISUALIZZARE MENU MOBILE ------------------------------------  ------------*/
 
@media (max-width: 1230px) { /*IMMETTERE QUI BVALORE PIXEL PX IN CUI VOGLIO FAR APPARIRE MENU MOBILE*/

    [class*="col-"] { margin-bottom: 15px; }

    .border-palestra { border-bottom:6px solid #ffa726!important; }

    .border-danza { border-bottom:6px solid #00C851!important; }

    .border-sport { border-bottom:6px solid #4285F4!important; }

    .navbar-header {
        float: none;
    }
    .navbar-left,.navbar-right {
        float: none !important;
    }
    .navbar-toggle {
        display: block;
    }
    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: inset 0 1px 0 rgba(255,255,255,0.1);
        max-height: auto;
        overflow-x: auto;
    }
    .navbar-fixed-top {
		top: 0;
		border-width: 0 0 1px;
	}
    .navbar-collapse.collapse {
        display: none!important;
    }
    .navbar-nav {
        float: none!important;
		margin-top: 7.5px;
	}
	.navbar-nav>li {
        float: none;
    }
    .navbar-nav>li>a {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    .collapse.in{
  		display:block !important;
	}
}

@media print {
#header {display:none;}
#content {display:none;}
#comments {display:none;}
#sidebar {display:none;}
#footer {display:none;}
body { font-size:10px!important; }
.site-description {display:none;}
.row {display:none;}
td { border: none !important; zoom: 1 }
.container-fluid { margin-top:-60px!important; }
}

#loading {
    display: none; margin-top:50px; font-size:larger; margin-bottom:50px;
}

.loader {
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 120px;
  height: 120px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
  margin-top:50px;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}