


.media-preview {
    position: relative;
    text-align: center;
}

.media-thumbnail-container {
    clear: both;
}

.media-thumbnail-container .upload-results {
    overflow: hidden;
}

.media-thumbnail {
    position: relative;
    width: 140px;
    height: 140px;
    float: left;
    border: 1px solid #DDDDDD;
    border-radius: 4px 4px 4px 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055);
    display: block;
    line-height: 20px;
    padding: 4px;
    background: url('../../../images/canvas.png');
    margin: 0 20px 20px 0;
}

.media-thumbnail-nav {
    position: absolute;
    top: 3px;
    right: 3px;
}

.media-thumbnail-photo {
    float: left;
    width: 100%;
    height: 100%;
    text-align: center;
    white-space: nowrap;
}

.media-thumbnail-photo .helper {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.media-thumbnail-photo a {
    display: inline-block;
    vertical-align: middle;
}

.media-thumbnail img {
    max-width: 115px;
    max-height: 115px;
}

.dropzone.in {
    width: 600px;
    height: 200px;
    line-height: 200px;
    font-size: larger;
}

.dropzone.fade {
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
    opacity: 1;
}

.btn-file {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-file .upload-in-btn {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100% !important;
    height: 100% !important;
    opacity: 0;

    margin: 0;
    opacity: 0;
    -ms-filter: 'alpha(opacity=0)';
    font-size: 200px !important;
    direction: ltr;
    cursor: pointer;
}

.btn-file > .text {
    cursor: pointer;
}

.upload-progress p {
    margin-top: 10px;
}

.uploaded-file {
    padding: 10px 15px;
    border-bottom: 1px solid transparent;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border: 1px solid #e0e0e0;
    background: #ffffff;
    color: #fff;
    margin-bottom: 10px;
    clear: both;
}

.uploaded-file-name {
    font-size: 14px;
    line-height: 30px;
}

.uploaded-file-name .fa {
    font-size: 18px;
}

.upload-thumb-info {
    display: inline-block;
    margin-top: 10px;
}

.upload-thumb-info .fa {
    margin-right: 10px;
}

.upload-add-dropzone {
    margin-top: 10px;
}

.has-feedback .checkboxradio-container {
    padding-right: 42.5px;
}

.collection-header {
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 1px solid #f1f1f1;
}

.password-policy-popover {
    width: 340px;
    max-width: 90%;
}

.password-policy-description .text ul {
    padding-left: 20px;
}

/*
 * FORM
 */
form.form {
    padding: 15px 0;
    font-size: 14px;
}

/* INPUTY */
.form .form-control {
    font-size: 14px;
}

.form .element-row {
    position: relative;
}

.form .form-element-name {
    margin-bottom: 8px;
    font-weight: bold;
}

.form .form-required-mark {
    color: #a94442;
}

.form .alert-block .error {
    font-size: 12px;
    font-weight: normal !important;
    color: #a94442 !important;
    margin-top: 4px;
    margin-bottom: 0;
    clear: both;
    display: block;
}

/* TEXTAREA */
.form textarea.form-control {
    height: 130px;
}

/* RADIO I CHECKBOX */
.form .checkboxradio-container + .alert-block .error {
    margin-top: 0;
    padding-left: 26px;
}

.form .checkboxradio-container label {
    line-height: 1.6;
    font-size: 12px;
    color: #000;
    margin-bottom: 0;
    padding-left: 26px;
}

.form .checkboxradio-container [class^="icheckbox"],
.form .checkboxradio-container [class^="iradio"] {
    position: absolute;
    margin-left: -26px;
}

.form .has-feedback .checkboxradio-container {
    padding-right: 42.5px;
}

.form .checkboxradio-container .form-control-feedback {
    line-height: 24px;
}

/* SELECT */
.form .controls+.form-control-feedback {
    top: auto;
    bottom: 0;
}

.form .form-group-sm .controls+.form-control-feedback,
.form .form-group-sm .select2-container+.form-control-feedback {
    width: 30px;
    height: 30px;
    line-height: 30px;
}

.form .form-group-lg .controls+.form-control-feedback,
.form .form-group-lg .select2-container+.form-control-feedback {
    width: 46px;
    height: 46px;
    line-height: 46px;
}

.form-element.has-feedback .select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 28px;
}

.form-group-sm .form-element.has-feedback .select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 24px;
}

.form-group-lg .form-element.has-feedback .select2-container--default .select2-selection--single .select2-selection__arrow {
    right: 40px;
}

/* KLAUZULE I ZGODY */
.form .before-consent-row,
.form .after-consent-row,
.form .consent-row label,
.form .consent-all {
    font-size: 12px;
}

.form .consent-row {
    margin-top: 0;
    margin-bottom: 10px;
}

.form .consent-all {
    margin-bottom: 10px;
    padding: 0;
    border: none;
}

.form .before-consent-row,
.form .after-consent-row {
    margin-bottom: 10px;
}

.form .consent-all-row {
    margin-bottom: 15px;
}

/* CAPTCHA */
.form .captcha-image-wrapper {
    display: block;
    width: 100%;
    height: 34px;
    padding: 0 33px 0 0;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    text-align: center;
}

.form .form-group-sm .captcha-image-wrapper {
    height: 30px;
    padding: 0 29px 0 0;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.form .form-group-lg .captcha-image-wrapper {
    height: 46px;
    padding: 0 45px 0 0;
    font-size: 18px;
    line-height: 1.3333333;
    border-radius: 6px;
}

.form .captcha-container .captcha-image {
    height: 100%;
}

.form .captcha-container .captcha-image img {
    position: relative;
    top: 50%;
    -webkit-transform: translate3d(0, -50%, 0);
    -moz-transform: translate3d(0, -50%, 0);
    -ms-transform: translate3d(0, -50%, 0);
    -o-transform: translate3d(0, -50%, 0);
    transform: translate3d(0, -50%, 0);
}

@media (max-width: 767px) {
    .form .col-sm-6 .captcha-image-wrapper {
        margin-bottom: 15px;
    }
}

.form button.captcha-refresh {
    position: absolute;
    right: 15px;
    width: 34px;
    height: 100%;
    top: 0;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    padding-left: 0;
    padding-right: 0;
}

.form .form-group-sm button.captcha-refresh {
    width: 30px;
}

.form .form-group-lg button.captcha-refresh {
    width: 46px;
}

.form button.captcha-refresh .fa {
    font-size: 16px;
}