﻿/* Move down content because we have a fixed navbar that is 50px tall */
/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    padding-top: 60px;
    padding-bottom: 20px;
    margin-bottom: 60px; /* Margin bottom by footer height */
    background-color:#fff;
}

.bodyEmpty {
    /*//background: linear-gradient(rgba(246, 247, 249, 0.8), rgba(246, 247, 249, 0.8)), url(https://res.cloudinary.com/dxfq3iotg/image/upload/v1564049481/bg-clouds.jpg) no-repeat center center fixed;*/
    /*background-size: cover;*/
    background-color: #164c96;
    color: #fff;
    border: 0 !important;
    padding-top: 0px;
    padding-bottom: 0px;
    margin-bottom: 0px; /* Margin bottom by footer height */

}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 50px; /* Set the fixed height of the footer here */
    line-height: 30px; /* Vertically center the text there */
    background-color: #164c96;
    padding: 5pX;
    font-size: smaller;
    color:#fff;
}


/*flags*/

.flag{
    width: 30px;
    height: 30px;
    margin-right:5px;
}

.flag-selected {
    width: 30px;
    height: 30px;
    margin-right: 5px;
    border-top: solid 4px #fcb900;
}

/* Custom page CSSs
-------------------------------------------------- */
/* Not required for template or sticky footer method. */

.container {
    width: auto;
  
    padding: 0 15px;
}

.green {
    color:lawngreen;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.wrapping-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
/*input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="select"] {
    max-width: 280px;
}*/

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }

    .body-content {
        padding: 0;
    }
}


/* Rounded sliders */
.slider.round {
    border-radius: 22px;
}

    .slider.round:before {
        border-radius: 50%;
    }

/* navbar */

.navKhymeia {
    background-color: #164c96;
    color: #fff;
}

.navbar-light .navbar-nav .nav-link{
    color: #fff;
}

.nav-link:hover {
    color: #969696 !important;
}

.logomenu {
    height: 30px;
}


/* LOGIN TEMPLATE*/



.form-signin {
    width: 100%;
    max-width: 330px;
    padding: 15px;
    margin: auto;
 
}

hr.line {
    border-top-color: #9fcdff;
}

/* unvisited loginlink */
a.loginlink:link {
    color: #c0c0c0;
}


/* mouse over login link */
a.loginlink:hover {
    color: #fff;
}

/* selected link */
a.loginlink:active{
    color: #fff;
}

a.loginlink:visited {
    color: #c0c0c0;
}


.form-signin .checkbox {
    font-weight: 400;
}

    .form-signin .form-control {
        position: relative;
        box-sizing: border-box;
        height: auto;
        padding: 10px;
        font-size: 16px;
     
    }

        .form-signin .form-control:focus {
            z-index: 2;
        }

    .form-signin input[type="email"] {
        margin-bottom: -1px;
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }

    .form-signin input[type="password"] {
        margin-bottom: 10px;
        border-top-left-radius: 0;
        border-top-right-radius: 0;
    }




    /*PAGING*/

.GridPager a,
.GridPager span {
    display: inline-block;
    padding: 0px 9px;
    margin-right: 0px;
    border-radius: 3px;
    border: solid 1px #c0c0c0;
    background: #007bff;
    box-shadow: inset 0px 1px 0px rgba(255,255,255, .8), 0px 1px 3px rgba(0,0,0, .1);
    font-size: .875em;
    font-weight: bold;
    text-decoration: none;
    color: #717171;
    text-shadow: 0px 1px 0px rgba(255,255,255, 1);
}

.GridPager a {
    background-color: #f5f5f5;
    color: #969696;
    border: 1px solid #969696;
}

.GridPager span {
    background: #616161;
    box-shadow: inset 0px 0px 8px rgba(0,0,0, .5), 0px 1px 0px rgba(255,255,255, .8);
    color: #f0f0f0;
    text-shadow: 0px 0px 3px rgba(0,0,0, .5);
    border: 1px solid #3AC0F2;
}


/*PATIENTS*/
.treeview {
    margin: 0 0 0 0;
    padding: 0 0 0 24px;
    font-size: .8125rem;
    list-style: none inside;
    display: block;
    position: relative;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.treeview li {
    display: block;
    position: relative;
    padding: 2px 0;
    cursor: pointer;
    line-height: 1.25rem;
}

    .treeview li .icon {
        position: absolute;
        width: 16px;
        height: 16px;
        font-size: 16px;
        left: 0;
        top: 2px;
        line-height: 16px;
    }

        .treeview li .icon img {
            max-width: 100%;
            height: 100%;
        }

    .treeview li .caption {
        position: relative;
    }

    .treeview li .icon ~ .caption {
        margin-left: 20px;
    }

    .treeview li .node-toggle {
        position: relative;
        cursor: pointer;
        padding-right: 1.5rem !important;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }

        .treeview li .node-toggle::before {
            display: block;
            position: absolute;
            vertical-align: middle;
            color: transparent;
            font-size: 0;
            content: "";
            height: 0.3125rem;
            width: 0.3125rem;
            background-color: transparent;
            border-left: 1px solid;
            border-bottom: 1px solid;
            border-color: #1d1d1d;
            top: 50%;
            left: 100%;
            margin-left: -1rem;
            margin-top: -0.1625rem;
            z-index: 2;
            -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
            -webkit-transition: all 0.15s ease-in-out;
            transition: all 0.15s ease-in-out;
            -webkit-transform-origin: center center 1px;
            transform-origin: center center 1px;
        }

    .treeview li .node-toggle {
        position: absolute;
        left: 0;
        top: 0;
        -webkit-transform: translateX(-100%);
        transform: translateX(-100%);
        width: 24px;
        height: 24px;
    }

        .treeview li .node-toggle::before {
            -webkit-transform: rotate(-135deg);
            transform: rotate(-135deg);
        }

    .treeview li.expanded > .node-toggle::before {
        -webkit-transform: rotate(-45deg);
        transform: rotate(-45deg);
    }

    .treeview li.current > .caption {
        color: #000000;
    }

.treeview ul {
    margin: 0 0 0 1rem;
    padding: 0;
    list-style: none inside;
    display: block;
    position: relative;
    font-weight: normal;
}

.treeview .select .d-menu {
    position: absolute;
    left: 0;
    margin: 0;
    width: auto;
}

.treeview li .checkbox,
.treeview li .checkbox .check,
.treeview li .checkbox .caption {
    line-height: 1;
}

.treeview li .radio,
.treeview li .radio .check,
.treeview li .radio .caption {
    line-height: 1;
}

.treeview li .switch,
.treeview li .switch .check,
.treeview li .switch .caption {
    line-height: 1;
}


    .treeview input[type="checkbox"] {
        width: 15px;
        height: 15px;
        padding: 0;
        margin: 0;
        vertical-align: bottom;
        position: relative;
        top: -1px;
        left: -3px;
        *overflow: hidden;
    }


.checkbox {
    display: -webkit-inline-box;
    display: -ms-inline-flexbox;
    display: inline-flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-flow: row nowrap;
    flex-flow: row nowrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    position: relative;
    margin: 0;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    height: 36px;
}

    .checkbox input {
        width: 1px;
        height: 1px;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
    }

    .checkbox .check,
    .checkbox .caption {
        display: block;
        line-height: 1;
        font-size: 14px;
        margin: 0 4px;
        position: relative;
    }

    .checkbox .check {
        border: 2px #d9d9d9 solid;
        width: 20px;
        height: 20px;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
        -ms-flex-negative: 0;
        flex-shrink: 0;
        line-height: 36px;
    }

        .checkbox .check::before {
            position: absolute;
            vertical-align: middle;
            font-size: 0;
            content: "";
            height: 5px;
            width: 10px;
            background-color: transparent;
            color: transparent;
            border-left: 2px solid;
            border-bottom: 2px solid;
            border-color: #ffffff;
            left: 50%;
            top: 50%;
            margin-left: -5px;
            margin-top: -4px;
            display: none;
            -webkit-transform: rotate(-45deg);
            transform: rotate(-45deg);
        }

    .checkbox input[type=checkbox]:checked ~ .check {
        border-color: #2196F3;
        background-color: #2196F3;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

        .checkbox input[type=checkbox]:checked ~ .check::before {
            display: block;
        }

    .checkbox input[type=checkbox]:disabled ~ .check {
        border-color: #e9e9e9;
        background-color: #e9e9e9;
    }

    .checkbox input[data-indeterminate=true] ~ .check {
        border-color: #2196F3;
        background-color: #2196F3;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

        .checkbox input[data-indeterminate=true] ~ .check::before {
            display: block !important;
            width: 6px;
            height: 6px;
            background-color: #ffffff;
            border: 2px solid #ffffff;
            left: 50%;
            top: 50%;
            margin-left: -3px;
            margin-top: -3px;
            -webkit-transform: rotate(0);
            transform: rotate(0);
        }

    .checkbox .check {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }

    .checkbox .caption {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }

    .checkbox.caption-left .check {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }

    .checkbox.caption-left .caption {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }

    .checkbox.required,
    .checkbox.invalid,
    .checkbox.valid {
        border: none !important;
    }

        .checkbox.invalid::after {
            display: none;
        }

    .checkbox:focus input[type=checkbox]:not(:disabled) ~ .check::after,
    .checkbox:active input[type=checkbox]:not(:disabled) ~ .check::after {
        display: block;
        content: "";
        position: absolute;
        width: 3.125rem;
        height: 3.125rem;
        border-radius: 50%;
        background-color: rgba(187, 187, 187, 0.5);
        opacity: .3;
        top: 50%;
        left: 50%;
        margin-top: -1.5625rem;
        margin-left: -1.5625rem;
    }
/*  color fontawesome icon*/

.fa-green {
    color:lightgreen
}

/*OPENTOK TELE STILE
*/

.videocontent {
    min-height:100% !important;
}

#patient {
    position: relative;
    margin: 5px;
    width: 360px;
    height: 240px;
  /*  z-index: 50;*/
    border: 1px solid #969696;
}
#screen {
    left: 0px;
    position: relative;
    margin: auto;

    height: 100%;
   /* z-index: 10;*/
    /*border: 2px solid #969696;*/
}

#publisher {
    position: relative;
    margin: 5px;
    width: 360px;
    height: 240px;
   /* z-index: 100;*/
    border:1px solid #969696;
}

.news-image img {
    float: right;
    max-width: 150px;
    height: auto;
    border-radius: 5px;
    margin-left: 15px;
}

.btn-responsive {
    font-size: clamp(6px, 2vw, 16px); /* Min 12px, dinamico con viewport, max 16px */
    white-space: nowrap; /* Evita che il testo vada a capo */
}