/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 16 лист 2016, 17:57:03
    Author     : vladislav
*/

/* скрываем чекбоксы и блоки с содержанием */
.sh_t_hide,
.sh_t_hide + label ~ .sh_tabs {
    display: none;
}


/* вид текста label */
.sh_t_hide + label {
    margin: 0;
    padding: 0;
    cursor: pointer;
    display: inline-block;
    
    color: #0505CA; 
    border-bottom: 0; 
    background: #EAEAEA; 
    padding: 5px; 
    width: 100%; 
    border-style: groove; 
    border-width: 2px;
    border-radius: 5px 5px 0 0;
    margin-top: 5px;
}
/* вид текста label при активном переключателе */
.sh_t_hide:checked + label {
    color: dodgerblue;
    border-bottom: 0;
}
/* когда чекбокс активен показываем блоки с содержанием  */
.sh_t_hide:checked + label + .sh_tabs {
    display: block;
    
    -moz-animation: fade ease-in 0.5s;
    animation: fade ease-in 0.5s;
    
    background: rgba(234, 234, 234, 0.26);
    padding: 5px;
    border-style: groove;
    width: 100%;
    margin: 0 0 5px 0;
    border-width: 2px;
}
/* анимация при появлении скрытых блоков */
@-moz-keyframes fade {
    from { opacity: 0; }
to { opacity: 1 }
}
@-webkit-keyframes fade {
    from { opacity: 0; }
to { opacity: 1 }
}
@keyframes fade {
    from { opacity: 0; }
to { opacity: 1 }   
}
.sh_t_hide + label:before {
    background-color: #1e90ff;
    color: #fff;
    content: "\002B";
    display: block;
    float: left;
    font-size: 14px; 
    font-weight: bold;
    height: 16px;
    line-height: 16px;
    margin: 3px 5px;
    text-align: center;
    width: 16px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
}
.sh_t_hide:checked + label:before {
    content: "\2212";
}
