@import url(https://fonts.googleapis.com/css?family=Ubuntu:300,300italic,400,400italic,500,500italic,700,700italic);

@font-face {
    font-family: "dipiazza";
    src: url("../fonts/dipiazza.eot?v=2");
    src: url("../fonts/dipiazza.eot?#iefix") format("embedded-opentype"), url("../fonts/dipiazza.woff?v=2") format("woff"), url("../fonts/dipiazza.ttf?v=2") format("truetype"), url("../fonts/dipiazza.svg#dipiazza?v=2") format("svg");
    font-weight: normal;
    font-style: normal;
}
/*Generic style*/

*, ::after, ::before {
    box-sizing: border-box;
}
body, html {
    font-family: 'Ubuntu', sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.3;
    color: #444444;
    text-align: left;
}

h1, h2, h3, h4, h5, h6 {
    color: #31729C;
    font-weight: 500;
}

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

strong {
    font-weight: 700;
    color: #31729C;
}

a:link, a:visited, a:before, a:after, a *, a *:before, a *:after {
    text-decoration: none;
    -moz-transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}
.overlaybg{
    display: none;
}

.b-psw {
    font-size: 16px;
    transition: filter 0.5s ease;
}

.blur {
    filter: blur(5px);
    cursor: pointer;
}

ol.custom-ordered-list {
    list-style: none;
    list-style-position: outside;
    counter-reset: item;
    padding: 0;
    margin: 0;
}
ol.custom-ordered-list li {
    counter-increment: item;
    margin-bottom: 15px;
    padding-left: calc(1.6em + 8px);
    position: relative;
    font-size: 17px;
}
ol.custom-ordered-list li:before {
    margin-right: 10px;
    content: counter(item);
    background: #66CCCC;
    border-radius: 100%;
    color: white;
    width: 1.6em;
    height: 1.6em;
    line-height: 1.6em;
    text-align: center;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 0;
}
.btn-primary,
.form-group .btn-primary {
    background-color: #E67010;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid #E67010;
    border-radius: 10px;
    padding: 18px 0;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    min-width: 320px;
    width: 100%;
    transition: all 0.2s linear;
}
.btn-primary:hover {
    background-color: #fff;
    color: #E67010;
}

.btn-secondary,
.form-group .btn-secondary {
    background-color: #7bc4c7;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid #7bc4c7;
    border-radius: 10px;
    padding: 18px 0;
    font-size: 20px;
    font-weight: 500;
    cursor: pointer;
    text-align: center;
    min-width: 320px;
    width: 100%;
    transition: all 0.2s linear;
}
.btn-secondary:hover {
    background-color: #fff;
    color: #7bc4c7;
}

.btn-download {
    background: url(../images/download-icon.svg);
    background-repeat: no-repeat;
    border: none;
    background-size: contain;
    width: 44px;
    height: 56px;
    font-size: 10px;
    line-height: 103px;
    color: #dc7000;
    cursor: pointer;
    padding: 0;
}

.btn-edit {
    background: url(../images/edit-icon.svg);
    background-repeat: no-repeat;
    border: none;
    background-size: contain;
    width: 44px;
    height: 56px;
    font-size: 10px;
    line-height: 103px;
    color: #dc7000;
    cursor: pointer;
    padding: 0;
}

i.title-icon {
    background: url(../images/title-icon.svg);
    height: 60px;
    width: 60px;
}

i.check-icon {
    background: url(../images/check-icon.svg);
    height: 60px;
    width: 60px;
}

.form-group {
    margin:15px 0;
}
.form-group label{
    display: block;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 5px;
}

.form-group input {
    border: 1px solid #707070;
    border-radius: 10px;
    min-width: 320px;
    width: 100%;
    padding: 1.2rem .75rem;
}

.form-group.disabled input {
    background: #eee;
    color: #696969;
    outline: none;
}

.custom-checkbox {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 14px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 3px;
    cursor: pointer;
}

.custom-checkbox:hover input ~ .checkmark {
    background-color: #ccc;
}

.custom-checkbox input:checked ~ .checkmark {
    background-color: #da6f00;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 8px;
    top: 4px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.hide-md-b,
.hide-md-ib {
    display: none;
}
.blue-text {
    color: #31729C;
}
.orange-text {
    color: #E67010;
}
.text-center {
    text-align: center;
}
#modalToggle {
    cursor: pointer;
}
#custom-modal{
    display: none;
}
.modal-active .overlaybg {
    display: block;
    height: 100%;
    width: 100%;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 3 !important;
    background-color: #F3F3F3;
    opacity: .70;
}

.modal-active .close-modalToggle {
    position: absolute;
    right: 10px;
    top: 10px;
    color: #fff;
    background: #E4E4E4;
    border: none;
    border-radius: 100%;
    width: 27px;
    height: 27px;
    cursor: pointer;
    font-size: 26px;
    line-height: 0.9;
    text-align: center;
}

.custom-modal-otp,
.custom-modal-editinfo,
.modal-active #custom-modal {
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 4;
    max-width: 550px;
    max-height: 500px;
    overflow-y: auto;
    width: 100%;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
}

.custom-modal-editinfo {
    padding: 15px;
}

.modal-active .close-modalToggle input,
.modal-active .close-modalToggle button {
    background: none;
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.modal-active .close-modalToggle::after {
    content: '\0078';
    font-family: 'dipiazza';
    font-size: 16px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
    margin: 0;
}

.custom-modal-editinfo .custom-modal-editinfo-container input,
.custom-modal-editinfo .custom-modal-editinfo-container input.btn-primary{
    min-width: 0;
}

.custom-grid > div > table > tbody > tr > td,
.custom-grid > div > table {
    border: none;
}

.custom-grid > div > table {
    width: 100%;
}
.custom-grid > div > table > tbody {
    display: flex;
    flex-wrap: wrap;
}

.custom-grid > div > table > tbody > tr:not(.pager) > td:first-child {
    font-size: 20px;
    color: #31729C;
    font-weight: 500;
    margin-bottom: 8px;
    width: calc(100% - 50px);
}
.custom-grid > div > table > tbody > tr:not(.pager) > td:last-child {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
}

.custom-grid > div > table > tbody > tr:not(.pager) {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 20px;
    position: relative;
    padding: 18px;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 10px;
}

.custom-grid > div > table > tbody > tr.pager {
    display: flex;
    justify-content: right;
    width: 100%;
}
.custom-grid > div > table > tbody > tr.pager td td a{
    background: #66CCCC;
    color: #ffffff;
}
.custom-grid > div > table > tbody > tr.pager td td span{
    background: #E4E4E4;
    color: #66CCCC;
}
.custom-grid > div > table > tbody > tr.pager td td a,
.custom-grid > div > table > tbody > tr.pager td td span {
    width: 30px;
    height: 30px;
    text-align: center;
    border-radius: 100%;
    margin: 0 1px;
    display: inline-block;
    line-height: 30px;
}
.custom-grid > div > table > tbody > tr.pager td td a{
    color: #ffffff;
}
.custom-grid .cf-table {
    font-weight: 100;
    font-size: 14px;
    margin: 0;
}

.custom-grid .name-table {
    font-size: 18px;
    margin: 0;
}

.custom-grid .dater-table {
    margin: 0;
    font-size: 16px;
}

/* Footer */
footer a {
    color: #fc0;
}
footer .footer-tel a {
    color: #fff;
}
footer a:hover {
    color: #333;
}

footer .first-level-footer {
    background: #5499c9;
    padding: 50px 10px;
    margin: auto;
    display: flex;
    justify-content: center;
}
footer .first-level-footer > div{
    color: #fff;
}
footer .first-level-footer > div > div{
    display: flex;
    margin-bottom: 30px;
}
footer .first-level-footer > div > div:last-child{
    margin-bottom: 0;
}
footer .first-level-footer > div > div::before {
    font-family: dipiazza;
    font-size: 38px;
    margin-right: 10px;
}
footer .first-level-footer .footer-opening-time::before {
    content: 'o'
}

footer .first-level-footer .footer-sampling-time::before {
    content: 'p'
}

footer .first-level-footer .footer-home-blood-sampling::before {
    content: 'd'
}

footer .footer-tel a:before {
    font-family: dipiazza;
    content: 't';
    float: left;
    font-size: 20px;
    margin-right: 3px;
}

footer .second-level-footer {
    background: #5499c9;
    padding: 50px 15px;
    font-size: 14px;
    color: #fff;
    text-align: center;
    border-top: 2px solid #f3f3f3;
}
footer .second-level-footer > div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin:auto;
}
footer .second-level-footer .footer-copyright-block .office span:before {
    content: ' - ';
}
footer .second-level-footer .footer-copyright-block .office span:first-child:before {
    content: '';
}

footer .second-level-footer .footer-link-list,
footer .second-level-footer .second-level-footer-sb{
    display: none;
}

footer .second-level-footer .second-level-footer-tb{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

footer .second-level-footer .second-level-footer-tb .footer-tel{
    margin: 10px auto;
}

footer .second-level-footer .footer-tel a,
footer .second-level-footer .footer-tel a:before{
    font-size: 24px;
}

/* Login page */
.profile-password-recover a {
    text-decoration: underline;
    cursor: pointer;
}
.profile-password-recover,
.login-password-recover {
    margin: 25px;
    text-align: center;
}
.faq-page .faq-main-container,
.login-page .login-main-container,
.report-page .report-main-container,
.profile-page .profile-main-container,
.privacy-page .privacy-main-container,
.faccess-page .faccess-main-container,
.patients-page .patients-main-container,
.legaldata-page .legaldata-main-container {
    max-width: 800px;
    margin: auto;
    padding: 50px 20px;
}

.recover-page .recover-main-container {
    max-width: 480px;
    margin: auto;
    padding: 50px 20px 80px 20px;
}
.report-page .report-main-container .report-filters-form,
.patients-page .patients-main-container .patients-delete-form,
.patients-page .patients-main-container .patients-filters-form {
    margin-bottom: 50px;
}
.otp-title,
.faq-title,
.recover-title,
.login-container-fb,
.report-container-fb,
.profile-container-fb,
.privacy-container-fb,
.faccess-container-fb,
.patients-container-fb,
.legaldata-container-fb {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.faq-title h1,
.recover-title h1,
.login-container-fb h1,
.report-container-fb h1,
.profile-container-fb h1,
.privacy-container-fb h1,
.faccess-container-fb h1,
.patients-container-fb h1,
.legaldata-container-fb h1{
    margin: 0;
}
.otp-title{
    margin: 0;
}
.otp-confirm-buttons #timer {
    margin: 0;
	width: 35%;
	text-align: center;
}
.otp-confirm-buttons {
    display: flex;
    margin-top: 20px;
    align-items: center;
}
.otp-confirm-buttons .btn-primary.confirmotp {
    width: 65%;
    min-width: 0;
    margin-right: 20px;
    font-size: 15px;
}
.otp-confirm-buttons .btn-secondary.refreshNotVisible {
    display: none;
}
.otp-confirm-buttons .btn-secondary.refreshotp {
    width: 35%;
    min-width: 0;
    font-size: 12px;
}
.custom-modal-editinfo .custom-modal-editinfo-container > div.form-group{
    margin: 0;
}

@media all and (min-width: 768px) {
    .custom-modal-editinfo .modal-content .custom-modal-editinfo-container .form-group .btn-primary {
        font-size: 14px;
        padding: 20px 0;
    }
    .custom-grid > div > table > tbody > tr:not(.pager) {
        width: calc(50% - 15px);
    }

    .custom-grid > div > table > tbody > tr:not(.pager):nth-child(odd) {
        margin-right: 30px;
    }

    /* Footer */
    footer .first-level-footer{
        display:block;
    }
    footer .first-level-footer {
        background: #f3f3f3;
        padding: 50px 20px;
    }

    footer .first-level-footer > div {
        display: flex;
        flex-direction: row;
        color: #5499c9;
        justify-content: space-between;
        max-width: 900px;
        margin: auto;
    }
    footer .first-level-footer > div > div{
        margin-bottom: 0;
    }
    footer .second-level-footer .second-level-footer-fb {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
    /* Login */
    .login-page .login-main-container,
    .faccess-page .faccess-main-container {
        display: flex;
        flex-wrap: wrap;
        flex-direction: column;
        padding: 0 20px;
        margin: 80px auto;
        max-height: 600px;
    }
    .login-page .login-main-container .login-container-fb,
    .faccess-page .faccess-main-container .faccess-container-fb {
        order: 0;
        width: 50%;
        padding-right: 20px;
    }
    .login-page .login-main-container .login-container-sb,
    .faccess-page .faccess-main-container .faccess-container-sb {
        order: 2;
        width: 50%;
        padding-left: 20px;
        border-left: 1px solid #e4e1e1;
    }
    .login-page .login-main-container .login-container-tb,
    .faccess-page .faccess-main-container .faccess-container-tb {
        order: 1;
        width: 50%;
        padding-right: 45px;
        flex: 0 0 100%;
    }
    .profile-password-recover {
        margin: 45px 0 0 0;
    }
    .login-password-recover {
        margin: 25px 0 0 0;
    }
    .report-page .report-main-container .report-filters-form {
        display: flex;
        flex-wrap: wrap;
    }
    .profile-page .profile-main-container .profile-psw-form,
    .profile-page .profile-main-container .profile-info-form,
    .patients-page .patients-main-container .patients-delete-form,
    .patients-page .patients-main-container .patients-filters-form {
        display: flex;
        flex-wrap: wrap;
    }
    .profile-page .profile-main-container .profile-psw-form .form-group,
    .profile-page .profile-main-container .profile-info-form .form-group,
    .patients-page .patients-main-container .patients-delete-form .form-group,
    .patients-page .patients-main-container .patients-filters-form .form-group {
        width: calc(50% - 20px);
    }
    .profile-page .profile-main-container .profile-psw-form .form-group:nth-child(odd),
    .profile-page .profile-main-container .profile-info-form .form-group:nth-child(odd),
    .patients-page .patients-main-container .patients-delete-form .form-group:nth-child(odd),
    .patients-page .patients-main-container .patients-filters-form .form-group:nth-child(odd) {
        margin-right: 40px;
    }
    .report-page .report-main-container .report-filters-form input,
    .report-page .report-main-container .report-filters-form .btn-primary {
        min-width: 100%;
    }
    .report-page .report-main-container .report-filters-form > div {
        width: calc(50% - 30px);
    }
    .report-page .report-main-container .report-filters-form > div {
        margin-right: 15px;
        margin-left: 15px;
        margin-bottom: 0;
    }
    .faq-title,
    .recover-title,
    .login-container-fb,
    .report-container-fb,
    .profile-container-fb,
    .privacy-container-fb,
    .faccess-container-fb,
    .patients-container-fb,
    .legaldata-container-fb {
        flex-direction: row;
    }
    i.title-icon {
        margin-right: 10px;
    }
    .custom-modal-editinfo .custom-modal-editinfo-container {
        display: flex;
    }

    .custom-modal-editinfo .custom-modal-editinfo-container > div {
        width: calc(50% - 10px);
    }

    .custom-modal-editinfo .custom-modal-editinfo-container > div:first-child {
        margin-right: 20px;
    }
}

@media all and (min-width: 990px) {
    /* Footer */
    footer .second-level-footer {
        text-align: left;
    }
    footer .second-level-footer .footer-copyright-block {
        margin-bottom: 15px;
    }
    footer .second-level-footer > div{
        flex-direction: row;
    }
    footer .second-level-footer .footer-link-list {
        list-style-type: none;
        display: flex;
        margin: 0;
        padding: 0;
    }
    footer .second-level-footer .footer-link-list li {
        margin-right: 30px;
    }
    footer .second-level-footer .footer-tel a {
        font-size: 32px;
    }
    footer .second-level-footer .footer-tel a:before {
        font-size: 28px;
        line-height: 40px;
    }
    footer .second-level-footer .second-level-footer-tb .footer-tel{
        margin: 0 auto 25px auto
    }
}

@media all and (min-width: 1200px) {
    /* Footer */
    footer .second-level-footer .second-level-footer-sb{
        display: block;
    }
    footer .second-level-footer-sb ul {
        list-style-type: none;
        display: flex;
        flex-wrap: wrap;
        width: 100px;
        padding: 0;
        margin: 0;
    }
    footer .second-level-footer-sb ul li {
        margin: 3px 3px;
    }
    footer .second-level-footer-sb ul li a span {
        display: none;
    }
    footer .second-level-footer-sb ul li a:before {
        display: block;
        border: 2px solid #fff;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        line-height: 38px;
        text-align: center;
        font-family: dipiazza;
        font-size: 20px;
        text-transform: none;
        color: #fff
    }
    footer .second-level-footer-sb ul li.manalisi a:before {
        content: 'a';
        background: #E03927
    }

    footer .second-level-footer-sb ul li.mcampioni a:before {
        content: 'C';
        background: #83A04B
    }

    footer .second-level-footer-sb ul li.minfertilita a:before {
        content: 'i';
        background: #936
    }

    footer .second-level-footer-sb ul li.mbatteri a:before {
        content: 'b';
        background: #960
    }
    footer .second-level-footer-sb ul li a:hover:before {
        background: #fff;
    }
    footer .second-level-footer-sb ul li.manalisi a:hover:before {
        color: #E03927
    }

    footer .second-level-footer-sb ul li.mcampioni a:hover:before {
        color: #83A04B
    }

    footer .second-level-footer-sb ul li.minfertilita a:hover:before {
        color: #936
    }

    footer .second-level-footer-sb ul li.mbatteri a:hover:before {
        color: #960
    }
}

/*try*/
.header {
    box-shadow: rgba(0, 0, 0, 0.04) 0px 5px 6px;
}
.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 900px;
    margin: auto;
    padding: 8px;
}
.header .header-logo img {
    max-width: 280px;
    height: auto;
    width: 100%;
}
}
.navbar-brand {
    color: #fff;
    font-size: 1.5em;
}

.nav-list {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-list li {
    margin: 5px 10px;
}

.nav-list li a{
    color: #31729C;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #283a91;
    font-size: 1.5em;
    cursor: pointer;
}

.close-menu-toggle {
    position: fixed;
    right: 250px;
    background: #00000029;
    font-size: 2rem;
    width: 40px;
    height: 40px;
    z-index: 3;
    color: #fff;
    border: none;
    cursor: pointer;
    transform: translateX(100vw);
}

/* Media Query for Mobile */
@media (min-width: 481px) {
    .hide-md-b {
        display: block;
    }
    .hide-md-ib {
        display: inline-block;
    }
}
@media (max-width: 769px) {
    .nav-list {
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        height: 100%;
        width: 230px;
        background-color: #fff;
        padding: 30px 10px;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        z-index: 3;
    }

        .mobile-active .nav-list {
            display: flex;
            transform: translateX(0);
        }

    .menu-toggle,
    .mobile-active .close-menu-toggle {
        display: block;
    }
    .mobile-active .close-menu-toggle {
        transform: translateX(20px);
        transition: transform 0.4s ease;
    }
    .mobile-active .overlaybg {
        display: block;
        height: 100%;
        width: 100%;
        position: fixed;
        left: 0;
        top: 0;
        z-index: 3 !important;
        background-color: #F3F3F3;
        opacity: .70;
    }

    .mobile-active .close-menu-toggle::after {
        content: '\0078';
        font-family: 'dipiazza';
        font-size: 17px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 0;
        margin: 0;
    }
    .custom-modal-editinfo .custom-modal-editinfo-container > div:last-child{
        margin-top: 15px;
    }
}