.exercise {
    padding-top: 70px;
}

.exercise-container {
    position: relative;
    height: 100%;
}

.exercise-header {
    margin-top: -70px;
    background-image: url(exercise-header.png);
    background-size: 100% 100%;
    text-align: center;
}

.exercise-header > span {
    line-height: 50px;
}

.exercise .header-sounds-container {
    position: absolute;
    right: 0;
    margin-top: -67px;
}

.exercise .header-sounds-container .interaction:focus,
.exercise .header-sounds-container .interaction:hover {
    border: white solid 2px;
}

.exercise-instructions {
    color: white;
    font-size: 12px;
    text-align: center;
}

@media(max-width: 480px) {
    .exercise-header > span {
	    line-height:30px;
    }
}
@media(min-width: 480px) {
    .exercise-instructions {
        font-size: 16px;
    }
}

@media(min-width: 768px) {
    .exercise-instructions {
        font-size: 22px;
    }
}

.exercise-footer {
    margin-top: 40px;
    margin-bottom: 20px;
}

.exercise-check-button {
    display: block;
    border: transparent solid 2px;
    padding: 0;
    width: 217px;
    height: 53px;
    background-image: url(exercise-check-button.png);
    background-color: transparent;
    margin-left: auto;
}

.exercise-check-button:hover,
.exercise-check-button:focus {
    background-image: url(exercise-check-button-hover.png);
    outline: 0;
    border: #C04800 solid 2px;
}

.exercise-check-button:disabled {
    background-image: url(exercise-check-button-disabled.png);
    border: transparent solid 2px;
}

.exercise-clear-button {
    display: block;
    border: transparent solid 2px;
    padding: 0;
    width: 217px;
    height: 53px;
    background-image: url(exercise-clear-button.png);
    background-color: transparent;
    margin-right: auto;
}

.exercise-clear-button:hover,
.exercise-clear-button:focus {
    background-image: url(exercise-clear-button-hover.png);
    outline: 0;
    border: #C04800 solid 2px;
}

.exercise-clear-button:disabled {
    background-image: url(exercise-clear-button-disabled.png);
    border: transparent solid 2px;
}

.interaction {
    max-width: 100%;
    text-align: center;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    border-radius: 4px;
    position: relative;
    display: inline-block;
    padding: 5px;
    background: transparent;
    color: black;
    border: transparent solid 2px;
}

.interaction:focus,
.interaction:hover
{
    background-color: #eee;
    background-color: rgba(238, 238, 238, 0.5);
    cursor: pointer;
    color: #C04800;
    outline: 0;
}

.interaction:focus {
    border: #C04800 solid 2px;
}

.interaction-wrapper {
    float: left;
    margin-left: 50%;
    -webkit-transform: translateX(-50%);
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -o-transform: translateX(-50%);
    transform: translateX(-50%);
}

.interaction.active,
.interaction.active:focus,
.interaction.active:hover,
.interaction.active.disabled:focus,
.interaction.active.disabled:hover,

.active .interaction,
.active .interaction:focus,
.active .interaction:hover,
.active.disabled .interaction:focus,
.active.disabled .interaction:hover
{
    background-color: #BFA597;
    background-color: rgba(192, 72, 0, 0.3);
    color: #C04800;
    outline: 0;
}

.image
{
    display: block;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.interaction.disabled:hover,
.interaction.disabled:focus,

.disabled .interaction:hover,
.disabled .interaction:focus
{
    color: #777;
    text-decoration: none;
    cursor: not-allowed;
    background-color: transparent;
    outline: 0;
}

.form-control
{
    display: inline-block;
    width: auto;
}

.radio-container,
.checkbox-container
{
    text-align: left;
    line-height: 30px;
}

.radio-container  > .radio-input
{
    width: 30px;
    height: 30px;
    border: 3px solid black;
    border-radius: 15px;
    text-align: center;
    background-color: white;
    float: left;
}

.radio-container > .radio-input > div
{
    background-color: black;
    width: 16px;
    height: 16px;
    margin: 4px;
    border-radius: 8px;    
}

.checkbox-container > .checkbox-input
{
    width: 30px;
    height: 30px;
    border: 3px solid black;
    border-radius: 5px;
    text-align: center;
    background-color: white;
    float: left;
}

.checkbox-container > .checkbox-input > span
{
    color: black;
}

.radio-container > span,
.checkbox-container > span
{
    margin-left: 15px;
}

.interaction > .radio-input > div,
.interaction > .checkbox-input > span
{
    display: none;
}

.interaction.active > .radio-input > div,

.active > .interaction > .radio-input > div
{
    display: block;
}

.interaction.active > .checkbox-input > span,

.active > .interaction > .checkbox-input > span
{
    display: inline;
}

.answers-container {
    overflow: hidden;
    margin-left: -20px;
    margin-right: -20px;
}

.letters-target .target-text > span {
    padding-left: 0;
    padding-right: 0;
}

.letters-target .target-heading {
    display: none;
}

.letters-answer,
.letters-target .target-text .interaction
{
    line-height: 25px;
    font-size: 40px;
    color: black;
}

.targets-container {
    margin-bottom: 30px;
    overflow: hidden;
}

.target-heading {
    padding: 5px;
    text-align: center;
    border-bottom: solid 2px #888;
}

.target-wrapper:focus .target-heading {
    border-bottom: solid 2px #C04800;
}

.target-body {
    min-height: 50px;
}

.target-wrapper:focus {
    outline: none;
}

.target-container {
    padding: 0;
    border: #888 solid 2px;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 7px black;
    -moz-box-shadow: 0 0 7px black;
    box-shadow: 0 0 7px black;
    text-align: center;
    color: black;
    margin: 10px;
    background: linear-gradient(0, #ebebeb, white);
}

.target-wrapper:focus .target-container {
    border: #C04800 solid 2px;
    -webkit-box-shadow: 0 0 7px #C04800;
    -moz-box-shadow: 0 0 7px #C04800;
    box-shadow: 0 0 7px #C04800;
    background: #BFA597;
    background: rgba(192, 72, 0, 0.3);
}

.letters-target {
    padding: 0;
}

.letters-target .target-body {
    min-height: 40px;
}

@media (min-width: 480px)
{
    .letters-answer,
    .letters-target .target-text .interaction
    {
        font-size: 60px;
        line-height: 55px;
    }

    .letters-target .target-body {
        min-height: 70px;
    }
}

.spread {
    display: block; 
    float: left; 
    min-height: 1px;
    text-align: center;
}

input {
    -moz-transition: width 100ms linear;
    -o-transition: width 100ms linear;
    -webkit-transition: width 100ms linear;
    transition: width 100ms linear;
}

    input::-ms-clear {
        display: none;
    }

/*
moje 
*/
div.exercise img.image
{
   max-height: 270px;
}
#pytanie {
	/* display: inline;  */
	margin-left: -5%;
       	margin-bottom: 20px;	
       	margin-top: 10px;	

}
.tekst{
    font-size: 14px ;
}
@media(min-width: 480px) {
.tekst{
        font-size: 18px ;
    }
}

@media(min-width: 768px) {
.tekst{
        font-size: 30px ;
     /*
        line-height: 40px;
     */

    }
}
