input.valid {
    background: url(../Iconos/bien.png) no-repeat right center #e3ffe5;
    color: #002f00;
    border-color: #96b796 !important;
}
input.error {
    background: url(../Iconos/mal.png) no-repeat right center #ffebef;
    color: #480000;
}
#ficha {
	background-color: #fdcfbf !important;
}
.periodos  > li {
    padding-top : 5px;
}
.periodos  > li > a {
    background-color: #ffffff;
    margin-bottom: 0px;
    color:#000;
    padding: 7px 6px;
    margin: 0 4px;
    padding-top : 5px;
}
.periodos > li.active > a, .periodos > li.active > a:hover, .periodos > li.active > a:focus {
    background-color: #28a745;
    color: #ffffff;
}
.periodos > li.noActive > a, .periodos > li.noActive > a:hover, .periodos > li.noActive > a:focus {
    background-color: #dc3545;
    color: #ffffff;
}
.badgeSiNo {
    display:none;
    color:#ffffff !important;
    background-color: #f89406 !important;
    position:absolute;
    margin-left: -70px !important;
    font-size:20px;
    top:26px;        
}
.has-error .help-block, .has-error .control-label, .has-error .radio, .has-error .checkbox, .has-error .radio-inline, .has-error .checkbox-inline {
    color : #ffffff;
}
/*
@media (min-width: 600px) and (max-width: 974px) {
.periodos > li {
	    padding: 0px 1px 5px 1px;
	    font-size: 14px !important;
	}
	.periodos  > li > a {
	    background-color: #ffffff;
	    margin-bottom: 0px;
	    color:#000;
	    padding: 7px 6px;
	}
	.badgeSiNo {
	    display:none;
	    color:#ffffff !important;
	    background-color: #f89406 !important;
	    position:absolute;
	    left:32px;
	    font-size:20px;
	    top:4px        
	}
	.izda-2 {
		padding-left: 2px;
	}
}
*/
@media (min-width: 540px) and (max-width: 589px) {
.periodos > li {
            padding: 10px 1px 5px 1px;
            font-size: 13px !important;
        }
        .periodos  > li > a {
            background-color: #ffffff;
            margin-bottom: 0px;
            color:#000;
            padding: 6px 3px;
        }
        .badgeSiNo {
            display:none;
            color:#ffffff !important;
            background-color: #f89406 !important;
            position:absolute;
            margin-left: -60px !important;
            font-size:17px;
            top:27px;        
        }
}

@media (min-width: 590px) and (max-width: 1034px) {
.periodos > li {
            padding: 10px 1px 5px 1px;
            font-size: 14px !important;
        }
        .periodos  > li > a {
            background-color: #ffffff;
            margin-bottom: 0px;
            color:#000;
            padding: 7px 5px;
        }
		.badgeSiNo {
		    display:none;
		    color:#ffffff !important;
		    background-color: #f89406 !important;
		    position:absolute;
		    margin-left: -60px !important;
		    font-size:17px;
		    top:27px;        
		}
}
@media (max-width: 540px) {

    .periodos > li {
        padding: 10px 1px 5px 1px;
        font-size: 14px !important;
    }
    .periodos  > li > a {
        background-color: #ffffff;
        margin-bottom: 0px;
        color:#000;
        padding: 7px 5px;
    }
}
	
@media (min-width: 700px) and (max-width: 1149px) {
        #myModalJis .modal-dialog  {
        width:100%;
        height:85%;
    }
    .iframeJis {
        width: 100%; 
        height: 570px;
        border: none; 
    }
}
@media (min-width: 1150px) {
	#myModalJis .modal-dialog  {
        margin-top:15px;
        width:95%;
        height:95%;
    }
    .iframeJis {
        width: 100%; 
        height: 470px;
        border: none; 
    }
}

@media (min-width: 501px) and (max-width: 699px) {
    #myModalJis .modal-dialog  {
        width:95%;
        height:420px;
    }
    .iframeJis {
        width: 100%; 
        height: 400px; 
        border: none; 
    }
}            
@media (min-width: 0px) and (max-width: 500px) {
    #myModalJis .modal-dialog  {
        width:95%;
        height:95%;
    }
    .iframeJis {
        width: 100%; 
        height:280px; 
        border: none; 
    }
}      
