.page-header { padding-top: 20px; background: white; margin-bottom: 10px;
    -webkit-box-shadow: 0px -9px 40px 8px #ccc;  /* Safari 3-4, iOS 4.0.2 - 4.2, Android 2.3+ */
    -moz-box-shadow:    0px -9px 40px 8px #ccc;  /* Firefox 3.5 - 3.6 */
    box-shadow:         0px -9px 40px 8px #ccc;  /* Opera 10.5, IE 9, Firefox 4+, Chrome 6+, iOS 5 */
}
.page-header hr { border-top: #78aea2 solid 3px; margin: 0;}
.logo { padding: 28px; }
.title { padding: 27px 0; }

.flash {
    -moz-animation: flash 0.5s ease-out;
    -moz-animation-iteration-count: 1;
    -webkit-animation: flash 0.5s ease-out;
    -webkit-animation-iteration-count: 1;
    -ms-animation: flash 0.5s ease-out;
    -ms-animation-iteration-count: 1;
    animation: flash 0.5s ease-out;
    animation-iteration-count: 1;
}

.card:last-child {margin-bottom: 0px !important;}

.card-header h1,
.card-header h2,
.card-header h3,
.card-header h4,
.card-header h5 {
    margin-bottom: 0;
}
@-webkit-keyframes flash {
    0% {
        background-color: none;
    }
    30% {
        background-color: #ffff00;
    }
    100% {
        background-color: none;
    }
}

@-moz-keyframes flash {
    0% {
        background-color: none;
    }
    30% {
        background-color: #ffff00;
    }
    100% {
        background-color: none;
    }
}

@-ms-keyframes flash {
    0% {
        background-color: none;
    }
    30% {
        background-color: #ffff00;
    }
    100% {
        background-color: none;
    }
}

span.oi {min-width: 16px; text-align: center; display: inline-block; }

/* Custom css for basic layout authentication pages
----------------------------------------------------------------------------------------------------*/
body {
        font: 13px/1.5 SourceSans, Arial, 'Open Sans', sans-serif;
        color:#555;
}

.page-header {
        box-shadow: 0px -2px 40px #ccc !important;
}

#medido-tos-link {
        margin-top: 10px;
        text-align:center;
}

.page-header .container {
        height: 86px;
}

.logo {
        padding: 15px 15px;
        width: auto;
}

a.logo img{
    height: 54px;
}



/* Custom css for authentication pages navbar
----------------------------------------------------------------------------------------------------*/
.page-header .container {
        max-width: 1170px;
}

navbar {
        margin-left: auto;
        font-family:'Source Sans Pro',sans-serif; 
}

.navbar-nav {
        margin: 0 !important;
        flex-direction: row;
}

.navbar-nav > li {
        position: relative;
        display: block;
}

navbar .menu-item span.oi {
        display:block;
        font-size: 11px;
        margin-bottom: 6px;
}


navbar .authentication-group .menu-item {
        float:left;
        padding: 23px 20px 25px;
        color: #78aea2;
        -webkit-border-radius: 0;
        -moz-border-radius: 0;
        border-radius: 0;
        margin-left: 0;
        -webkit-transition: all 0.4s ease;
        -moz-transition: all 0.4s ease;
        -ms-transition: all 0.4s ease;
        -o-transition: all 0.4s ease;
        transition: all 0.4s ease;
        text-transform: uppercase;
        font-size: 14px;
}

navbar .authentication-group .menu-item:hover {
        color: #fff !important;
        background-color: #78aea2;
        text-decoration: none !important;

}
navbar .authentication-group .active-trail {
        color: #fff !important;
        background-color: #78aea2;
}




/* Custom css for login/ register form
----------------------------------------------------------------------------------------------------*/
.login-title {
        margin-left: 10px;
}

.btn-primary, .btn-primary:hover {
        color: #FFF;
        background-color: #78aea2;
        border-color: transparent;
        margin-bottom: 10px;
}

.error {
    border:solid 1px #dd8080;
    color:#842918;
    padding:10px;
    margin:8px 0;
    background-color:#faddc3;
    display:block;
    background-image: url(../images/exclamation.png);
    background-repeat: no-repeat;
    background-position: 3px 50%;
    padding-left: 25px;
}

.success {
    border:solid 1px #99b954;
    background: #e4fab5;
    color: #55653d;
    padding:10px;
    margin:8px 0;
    display: block;
    background-image: url(../images/accept.png);
    background-repeat: no-repeat;
    background-position: 3px 50%;
    padding-left: 25px;
}

#submit_link {
    float: right;
    color: #FFF;
    background-color: #78aea2;
    padding: .375rem .950rem;
}

#request {
    float: right;
    color: #FFF;
    background-color: #78aea2;
    padding: .375rem .950rem;
}

.submit {
    float: right;
    color: #fff;
    background-color: #78aea2;
    padding: .375rem .950rem;
    text-decoration: none;
    font-size: 16px;
    border:1px solid #78aea2;
    border-radius: .25rem;
}

.sso-login {
    color: #52867a;
    background-color: #fff;
    margin-left: 2px;
    margin-right: 2px;
}

.user_tile {
    border:1px solid #bbd6d0;
    border-radius: .25rem;
    background-color: #bbd6d0;
    padding-top: 15px;
    margin-bottom: 10px;
    text-decoration: none;
}

a .user_tile {
    text-decoration: none;
}

a .user_tile:hover {
    text-decoration: none;
}

.user_tile li {
    list-style-type: none;
    color: #333;
    text-decoration: none;
    font-size: 16px;
}

#login_formulier .form-control-label {
        text-align: left !important;
        line-height: 20px;
        padding-top: 10px;
}

a {
    color: #52867a !important;
}

.select2-container--bootstrap .select2-selection--single {
    height: 38px;
}

#frmRegister .register-button{
    float:right;
}

#frmRegister .btn.submit {
        float: right;
        color: #FFF;
        background-color: #78aea2;
        padding: .375rem .950rem;
}

#frmRegister .form-control-label {
        line-height: 20px;
        padding-top: 10px;
}

.center-text{
    text-align: center;
}

#frmRegister .elem-team label{
    text-align: left !important;
    line-height: 20px;
    padding-top: 10px;
}

/* Mobile menu */

@media only screen and (min-width: 840px) {
    
     .fa-bars{
         display:none !important; 
     } 
 }

 @media only screen and (max-width: 840px) {
 
  
    .fa-bars{
        margin-top: -55px;
        margin-right: 20px;
        float:right;
        font-size:32px !important;
    }

    navbar {
        z-index:1;
        width:100%;
    }

    .navbar-nav {
        flex-direction: column !important;
    }

    .navbar-nav:first-child { 
         border-top:1px solid #eee;
    }
    
    .navbar-nav li {
        float:left;
        width:100%;
        background-color:#FFF;
        text-align:center;
        border-bottom:1px solid #eee;
    }
    
    .navbar-nav li a {
        text-align:center;
        width:100%;
    }

    /* Style the navigation menu */
    .topnav {
        overflow: hidden;
        position: relative;
    }

    /* Hide the links inside the navigation menu (except for logo/home) */
    .topnav #myLinks {
        display: none;
    }

    /* Style navigation menu links */
    .topnav a {
        color: white;
        padding: 14px 16px;
        text-decoration: none;
        font-size: 17px;
        display: block;
    }

    /* Style the hamburger menu */
    .topnav a.icon {
        background: white;
        display: block;
        position: absolute;
        right: 0;
        top: 0;
    }

    /* Style the active link (or home/logo) */
    .active {
        color: white;
    }
}

.sso_table {
    margin-top: 10px;
}

.sso_table thead {
    font-size: 16px;
    color: #fff;
}

.sso_table th {
    background-color: #78aea2;
    padding-left: 5px;
    padding-right: 5px;
    text-align: center;
    border: 1px #fff solid;
}

.sso_table td {
    padding-left: 5px;
    padding-right: 5px;
    text-align: center;
    border: 1px #fff solid;
}

.row_gray {
    background-color: #eee;
}

.submit_button {
    margin-top: 10px;
    color: #FFF;
    background-color: #78aea2;
    padding: .375rem .950rem;
    outline: none;
    border:0;
    cursor: pointer;

}

.inline_button {
    color: #FFF;
    background-color: #78aea2;
    outline: none;
    border: 2px solid #78aea2;
    cursor: pointer;
    border-radius: .25rem;
}

.was-validated .select2:invalid + .select2-container .select2-selection {
    border-color: #dc3545 !important;
}
.was-validated .custom-select:valid + .select2-container .select2-selection {
    border-color: #28a745 !important;
}

#frmCancellation span.required {
    color: red;
}

.frmSpanRequired span.required {
    color: red;
}