/*********************************** GLOBAL STYLES ***********************************/
.body {
    color: #31383e;
}

ul#recipients {
    padding-left: 0 !important;
}

.footerSimple {
    margin: 125px auto 50px auto;
    background: rgba(255, 255, 255, 0.71);
    padding: 15px;
    max-width: 768px;;
    border-radius: 8px;
}

.link-primary {
    color: #4081cc;
    text-decoration: none;
}

.link-primary:hover {
    color: #3C6697;
    text-decoration: none;
}

.link-secondary {
    color: #93959e;
    text-decoration: none;
}

.link-secondary:hover {
    color: #31383E;
    text-decoration: none;
}


#content {
    margin-left: -15px;
    margin-right: -15px;
}

.content {
    padding-top: 10px;
    padding-bottom: 10px;
    /*margin-left: -15px;*/
    /*margin-right: -15px;*/
    /*margin-bottom: 100px;*/
    margin-bottom: 60px;
}

/* Change the chrome auto-complete yellow background color */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0px 1000px white inset;
    -webkit-text-fill-color: #4081cc;
}

.fp_headline {
    text-align: center;
    font-size: 24px;
    padding-bottom: 10px;
}

.inactive-link {
    pointer-events: none;
    cursor: default;
}

.input-group.optional .form-control:after {
    content: "*";
    font-size: 6pt;
    position: absolute;
    left: 250px;
}

.registration-progress-bar {
    width: 66%;
    margin-left: 17%;
    margin-top: 4%;
    margin-bottom: -6%;
}

.input-error {
    border: 1px solid #d21f31;
}

.error-hint, .mailinuse-hint {
    color: #d21f31;
}

.error-info {
    width: 76%;
    margin-left: 12%;
    line-height: 1.1;
    color: #d21f31;
    background-color: #FFD1D7;
    border: 1px solid #d21f31;
    border-radius: 2px;
    position: relative;
    margin-top: 1%;
    margin-bottom: -7%;
}

#post-ident {
    box-shadow: none;
    width: 35px;
}

#post-ident-label {
    margin-top: 20px;
}

#summary-table {
    display: inline;
}

#summary-table tr td:first-child {
    text-align: right;
}

#summary-table label {
    margin-bottom: 0;
}

#summary-table tr td:last-child {
    text-align: left;
    padding-left: 10px;
}

/************************************** BUTTONS **************************************/

#fp_profile .form-group #form_button, #fp_profile .form-group #form_submit {
    background-color: #4081cc;
    color: #ffffff;
}

.btn:hover {
    color: #FFFFFF;
}

/* default button */
.fp_btn-default {
    border: #4081cc solid 1px;
    background: #4081cc;
    color: #FFFFFF;
}

.fp_btn-default:hover {
    border: #4081cc solid 1px;
    background: #edeff5;
    border-radius: 5px;
    color: #4081cc;
}

a:focus, a:hover {
    text-decoration: underline;
}

.btn:hover {
    color: #4081cc;
}

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

.btn-file input[type=file] {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    min-height: 100%;
    font-size: 100px;
    text-align: right;
    filter: alpha(opacity=0);
    opacity: 0;
    background: #d21f31;
    cursor: inherit;
    display: block;
}

.input-group .form-control:first-child {
    float: right;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 6px;
    border-top-right-radius: 6px;
    border-left: none;
}

.input-group .input-group-addon {
    border-left: 1px solid #ccc;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 6px !important;
    border-top-left-radius: 6px !important;
}

.input-group > .input-group-addon {
    float: left;
}

.input-group-addon.glyphicon {
    top: 0;
    padding-top: 11px;
}

.input-group-addon-login {
    width: 38px !important;
    height: 40px !important;
}

.form-control-login {
    padding: 4px 4px 4px 5px;
    height: 40px !important;
    width: 210px !important;
    font-weight: normal;
    line-height: 18px;
}

.desktop-right-to-left {
    direction: rtl;
}

.glyphicon {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/************************************** ALERTS **************************************/
.alert-info {
    background-color: #ffffff;
    border-color: #c9cbd3;
}

.alert .title {
    font-size: 24px;
}

/************************************** MEDIA QUERIES **************************************/
/* Extra small devices - Phones */
@media screen and (max-width: 767px) {
    .hide-on-mobile {
        display: none;
    }

    .modal {
        background-color: #edeff5;
        opacity: 0.95;
    }

    .modal-content {
        background: none;
    }

    .modal-dialog {
        margin: 0;
        width: 100%;
    }

    .modal-content {
        border: 0;
        -webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
        box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    }

    .fp_modals_glyphicon {
        font-size: 60px;
    }

    .modals-button label {
        width: 200px;
        margin-top: 10px;
    }

    .desktop-right-to-left {
        direction: ltr;
    }

    .wide-on-mobile-btn {
        width: 100%;
    }
}

/*Tablet*/
@media screen and (min-width: 768px) and (max-width: 991px) {
    .modal-dialog {
        /*margin-top: 250px;*/
        /*TODO wieder rein wenn das TAN Modal wieder richtig funktioniert */

        min-width: 500px;
    }

    .desktop-right-to-left {
        direction: ltr;
    }
}

/*PC*/
@media screen and (min-width: 992px) {
    .modal-dialog {
        /*margin-top: 250px;*/
        /*TODO wieder rein wenn das TAN Modal wieder richtig funktioniert */

        min-width: 500px;

    }

    .content {
        padding-left: 2%;
        padding-right: 2%;
        min-height: calc(100vh - 250px - 30px);
    }
}


.text-success {
    color: #50c14e;
}

.text-warning {
    color: #f5a623;
}

.text-danger {
    color: #d21f31;
}

.text-info {
    color: #4081cc;
}



.btn.btn-primary {
    background-color: #4081cc;
    border: 1px solid #4081cc;
}

.btn.btn-danger {
    border: 1px solid #d9534f;
}

.btn.btn-success {
    border: 1px solid #5cb85c;
}

.btn.btn-primary:hover {
    background-color: transparent;
    color: #4081cc;
    border: 1px solid #4081cc;
}

.btn.btn-danger:hover {
    background-color: transparent;
    color: #d9534f;
    border: 1px solid #d9534f;
}

.btn.btn-success:hover {
    background-color: transparent;
    color: #5cb85c;
    border: 1px solid #5cb85c;
}

/* ImageGallery */

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    #imagesGalleryContainer {
        min-height: 85px;
        padding-bottom: 30px !important; 
        height: 100px !important;
        display: -ms-inline-flexbox;
    }
    
    .galleryImage {
        max-height:100%;
        border: 1px solid white;
    }
    
    .image-remove-icon {
        font-size: 14px;
        color: #bbb;
        display: block;
        top: -2px;
        left: -2px;
        opacity: 0;
        cursor: pointer !important;
    }
    
    .image-remove-icon:hover {
        color: #888;
    }
    
    .image-div{
        height: 80px !important; ;
        margin-right: 40px !important; 
    }
    
    .image-div:hover  i {
        opacity: 1;
    }
    
    .image-div:hover .galleryImage {
        border: 1px solid dodgerblue;
    }
    
    .image-div:last-child {
        margin-right: 0;
    }
    
    .btn-upload-image {
        cursor: pointer !important;
    }
 }

#imagesGalleryContainer {
    min-height: 85px;
    padding-bottom: 30px !important; 
    height: 100px !important;
    display: -webkit-inline-box;
    display: flex;
}

.galleryImage {
    max-height:100%;
    border: 1px solid white;
}

.image-remove-icon {
    font-size: 14px;
    color: #bbb;
    display: block;
    top: -2px;
    left: -2px;
    opacity: 0;
    cursor: pointer !important;
}

.image-remove-icon:hover {
    color: #888;
}

.image-div{
    height:100%;
}

.image-div:hover  i {
    opacity: 1;
}

.image-div:hover .galleryImage {
    border: 1px solid dodgerblue;
}

.image-div {
    margin-right: 10px;  
}

.image-div:last-of-type {
    margin-right: 0;
}

.btn-upload-image {
    cursor: pointer !important;
}
