﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification\ 
for details on configuring this project to bundle and minify static web assets. */
body {
    padding-top: 50px;
    padding-bottom: 20px;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

/*#userInfos{
    text-align:center;
    
}*/

.center {
    text-align: center;
}

footer {
    text-align: center;
}

.bouton-defaut {
    background-color: #51B4FF;
    border: none;
    color: white;
    width: 110px;
    padding: 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
}

/* The switch - the box around the slider */
.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 26px;
}

    /* Hide default HTML checkbox */
    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

/* The slider */
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cccccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 18px;
        width: 18px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #51B4FF;
}

input:focus + .slider {
    box-shadow: 0 0 1px #51B4FF;
}

input:checked + .slider:before {
    -webkit-transform: translateX(34px);
    -ms-transform: translateX(34px);
    transform: translateX(34px);
}

/* Rounded sliders */
.slider.round {
    border-radius: 26px;
}

    .slider.round:before {
        border-radius: 50%;
    }

.custom-navcontainer {
    display: inline-block;
    margin-bottom: -7px;
}
/* Navbar container */
.custom-navbar {
    overflow: hidden;
    background-color: #333;
    font-family: Arial;
    margin-top: -50px;
    text-align: center;
}

    /* Links inside the navbar */
    .custom-navbar a {
        display: inline-block;
        font-size: 16px;
        color: white;
        text-align: center;
        padding: 14px 16px;
        text-decoration: none;
    }

/* The dropdown container */
.custom-dropdown {
    float: left;
    overflow: hidden;
}

    /* Dropdown button */
    .custom-dropdown .custom-dropbtn {
        font-size: 16px;
        border: none;
        outline: none;
        color: white;
        padding: 14px 16px;
        background-color: inherit;
        font-family: inherit; /* Important for vertical align on mobile phones */
        margin: 0; /* Important for vertical align on mobile phones */
    }

/* Add a red background color to navbar links on hover */
/*.navbar a:hover, .dropdown:hover .dropbtn {
  background-color: #51B4FF;
}*/
.adminpanel {
    background-color: #077;
}

    .adminpanel:hover {
        background-color: #0aa;
    }

.rouge:hover {
    background-color: #e92626;
}

.jaune:hover {
    background-color: #ef8e0e;
}

.bleu:hover {
    background-color: #51B4FF;
}

.gris:hover {
    background-color: #AAA;
}

.cyan:hover {
    background-color: #0cc;
}

/* Dropdown content (hidden by default) */
.custom-dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

    /* Links inside the dropdown */
    .custom-dropdown-content a {
        float: none;
        color: black;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
        text-align: left;
    }

        /* Add a grey background color to dropdown links on hover */
        .custom-dropdown-content a:hover {
            background-color: #ddd;
        }

/* Show the dropdown menu on hover */
.custom-dropdown:hover .custom-dropdown-content {
    display: block;
}

.dft-button {
    background-color: #51B4FF;
    color: white;
    display: inline-block;
    padding: 10px;
    text-align: center;
    font-size: 16px;
    width: 110px;
    border: none;
}

    .dft-button:hover {
        background-color: #9ed5ff;
        color: white;
        text-decoration: none;
    }

    .dft-button:disabled {
        background-color: #ccc;
    }

.dft-button-danger {
    background-color: darkred;
    color: white;
    display: inline-block;
    padding: 10px;
    text-align: center;
    font-size: 16px;
    width: 110px;
    border: none;
}

    .dft-button-danger:hover {
        background-color: #ca3c3c;
        color: white;
        text-decoration: none;
    }

    .dft-button-danger:disabled {
        background-color: #ccc;
    }

.portal-button {
    font-size: 24px;
    text-align: center;
    background-color: rgb( 220, 240, 255);
    color: #2674ae;
    float: left;
    text-decoration: none;
    text-align: left;
    width: calc(50% - 10px);
    height: 80px;
    margin: 5px;
    transition: 0.3s;
    box-shadow: 0px 0px 3px grey;
}

    .portal-button:hover {
        background-color: rgb( 185, 225, 255);
        color: #0082e6;
        text-decoration: none;
        box-shadow: none;
    }

    .portal-button.classic {
        border: 1px solid #51B4FF;
    }

    .portal-button.admin {
        border: 1px solid #A23030;
    }

        .portal-button.admin:hover {
            color: #A23030;
        }

.portal-title {
    display: inline-block;
    margin-top: 23px;
    margin-left: 10px;
}

.portal-icon {
    float: left;
    font-size: 30px;
    margin: 23px;
}

.portal-button:hover .portal-title {
    background-color: rgba( 185, 225, 255, 1);
    transition: 0.3s;
}

.version-import {
    width: 100%;
    height: 50px;
    font-size: 24px;
    display: inline-block;
    border: none;
    background-color: #eee;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
}

.version-import-container {
    margin-bottom: 20px;
    border-radius: 6px;
}

.layout-body {
    background-color: darkslategrey;
    background-image: url(../images/optic_fiber.jpg);
    background-size: cover;
    background-attachment: fixed;
    z-index: -1;
    width: 100%;
    position: absolute;
    min-height: 100%;
    top: 0;
    padding-top: 52px;
    padding-bottom: 54px;
    overflow: hidden;
}

.layout-container {
    padding: 20px;
    background-color: white;
    box-shadow: 0px 0px 2px grey;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 6px;
    margin-top: 30px;
    overflow: auto;
}

.layout-element {
    margin: 20px;
    padding: 10px;
    background-color: #EEE;
    border-radius: 6px;
    text-align: center;
    overflow: auto;
}

.layout-alert {
    margin: 20px;
    padding: 10px;
    border-radius: 6px;
    overflow: auto;
}

.layout-h1 {
    text-align: left;
    margin-left: 40px;
    font-family: 'Century Gothic'
}

.layout-h3 {
    margin-bottom: 20px;
}

.dft-btn {
    width: 80%;
    margin: 5px;
}

#layout-left-sm {
    float: left;
    width: 50%;
    padding-right: 10px;
}

#layout-right-sm {
    float: right;
    width: 50%;
    padding-left: 10px;
}

.layout-center-md {
    width: 70%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

#layout-spacer-sm {
    height: 10px;
}

.layout-footer {
    left: 20%;
    text-align: center;
    background-color: white;
    box-shadow: 0px 0px 2px grey;
    width: 60%;
    border-radius: 6px 6px 0 0;
    position: absolute;
    bottom: 0;
}

.form-group input[type="checkbox"] {
    display: none;
}

    .form-group input[type="checkbox"] + .btn-group > label span {
        width: 20px;
    }

        .form-group input[type="checkbox"] + .btn-group > label span:first-child {
            display: none;
        }

        .form-group input[type="checkbox"] + .btn-group > label span:last-child {
            display: inline-block;
        }

    .form-group input[type="checkbox"]:checked + .btn-group > label span:first-child {
        display: inline-block;
    }

    .form-group input[type="checkbox"]:checked + .btn-group > label span:last-child {
        display: none;
    }
