﻿@media (max-width:1000px) {
    .wrapper {
        width: 95% !important;
        margin: 0 auto;
    }

    .topaddress {
        margin-left: 14%;
    }
   
}
@media (max-width:960px) {
    .container {
        width: 99% !important;
    }
}

@media(max-width:991px) {
    .select-style {
        background: url(../img/icon-select.png) no-repeat 98% 70%;
    }
    #lblSaveMessage{
        margin-top:15px;
    }
    #lblErrorMessage {
        margin-top: 15px;
    }
    #btnBack {
        margin-right: 70%;
    }
    
}


@media (max-width:800px) {
    .topaddress {
        margin-left: 5%;
    }

    #TB_window {
        margin-left: -35% !important;
        top: 5%;
    }
    #lblSaveMessage {
        margin-top: 15px;
    }

    #lblErrorMessage {
        margin-top: 15px;
    }
    
    
}

@media (max-width:768px) {
    .wrapper {
        width: 95% !important;
        margin: 0 auto;
    }
    #divAppointmetn {
        margin-top: 30px !important;
    }
    #btnBack {
        margin-right: 70px;
    }

    @media(min-width:768px) {
        span #lblSucessMessage{
            margin-top:10px;
            color:red
        }
    }
    @media(max-width:767px) {
        #divAppointmetn {
            margin-top: 30px;
        }

        [type="radio"]:checked + label, [type="radio"]:not(:checked) + label {
            display: block;
            margin: 10px 0;
        }

        .bottom-control {
            text-align: center
        }
        #lblErrorMessage,#lblSucessMessage {
            display: block;
        }
       
        
        .bottom-control .btn-light-blue {
            display: block;
            width: 100%;
        }

            .bottom-control .btn-link {
                margin-right: 0px;
            }

        .contentwrapper h1 {
            font-size: 20px !important;
        }

        #btnBack {
            /*margin-top: -181px;*/
            margin-left: 0;
        }

        /*[type="radio"]:checked + label, [type="radio"]:not(:checked) + label {
        display: block;
        margin: 10px 0;
    }

    .bottom-control {
        text-align: center
    }

        .bottom-control .btn-light-blue {
            display: block;
            width: 100%;
        }

        .bottom-control .btn-link {
            margin-right: 0px;
        }

    .cancelappoint .btn-light-blue + .btn-light-blue {
        margin-left: 0px;
        margin-top: 10px;
    }

    .f_left {
        float: none;
    }

    .table thead {
        display: none;
    }

    #PastAppointments tbody tr {
        display: block;
        border-bottom: 1px solid #ddd;
    }

    .table > tbody > tr > td {
        border-top: 0px !important;
        white-space: unset;
    }

    .t_time {
        float: right;
        font-weight: 600;
    }

    .t_desc, .t_address {
        display: none;
    }

    .t_service {
        float: left;
        clear: both;
        display: block;
        color: #aaa;
    }

    .t_heading {
        text-transform: capitalize;
        font-weight: 600;
    }

    .t_edit {
        display: block;
        clear: both;
    }

    .appointments_box aside ul {
        justify-content: center;
        flex-wrap: wrap;
    }

        .appointments_box aside ul li {
            width: 100%;
            text-align: center;
        }

    .appointments_box {
        padding: 0 15px;
        box-shadow: none;
        margin-top: 20px;
    }

    .btn_blck {
        padding: 0 15px;
    }

    button.appoint_link {
        margin: 10px 0;
    }

    #btnSeeAllAppt {
        line-height: 1;
    }

    .appointments_box aside ul li {
        padding: 0;
        margin-bottom: 25px;
    }

        .appointments_box aside ul li:last-child {
            margin: 0;
        }

    .cancel_h {
        text-align: center;
    }

    .appointments_box aside ul li a.appoint_link {
        flex-direction: row;
    }

    .app_desc label, .app_desc span {
        float: left;
    }

    .appointments_box aside ul li:last-child {
        text-align: left;
    }*/
    }

@media (max-width:720px) {
    .BtnWorkPre {
        margin-right: 0;
    }

    .BtnWorkNext {
        margin-left: 0;
    }

    div#TB_window {
        margin-left: -38% !important;
        top: 5%;
    }

}

@media (max-width:640px) {
    table.Tr-bg-color {
        width: 100% !important;
    }
}

@media (max-width:610px) {
    div#TB_window {
        margin-left: -44% !important;
        top: 5%;
    }
}

@media (max-width:578px) {
    .myCalendarTitle .myCalendarNextPrev {
        width: 20% !important;
    }

    .myCalendarTitle td {
        width: 60% !important;
    }

    table.Tr-bg-color {
        width: 300px !important;
    }
}

@media (max-width:505px) {
    div#TB_window {
        margin-left: -50% !important;
        top: 5%;
    }
}

@media (max-width:500px) {
    .logo h1 {
        font-size: 20px !important;
    }

    .logo img {
        width: 60px;
    }

    .contentwrapper {
        padding: 30px 20px !important;
    }

    .note .col-xs-1 {
        width: 20%;
        padding: 0;
    }

    .note .col-xs-11 {
        width: 79%;
    }
}


@media (max-width:480px) {
    .costomformwidth {
        width: 40% !important;
    }

    #TB_iframeContent {
        width: 100% !important;
    }

    div#TB_window {
        width: 80% !important;
    }

    td.aspNetDisabled {
        padding: 0px !important;
        text-align: center !important;
        line-height: 200% !important
    }

    .myCalendar td.myCalendarDay {
        height: auto !important;
        width: auto !important;
    }

    img.plusicon {
        height: 20px !important;
        width: 20px !important;
    }

    span.imagePlus {
        float: none !important;
        margin: 0 !important;
        line-height: 20px !important;
        padding-bottom: 5px !important;
    }

    .myCalendar a, .myCalendarToday a {
        margin: 0px !important;
        text-align: center !important;
    }

    .myCalendar .myCalendarDay a, .myCalendar .myCalendarSelector a {
        line-height: 20px !important;
    }

    .myCalendarTitle .myCalendarNextPrev {
        width: auto !important;
    }

    .myCalendarTitle td {
        width: auto !important;
    }

    table#Calendar td {
        vertical-align: middle !important;
    }

    table.appointmenttime {
        width: 100%;
    }

    .BtnWorkNext {
        margin-left: 0px;
    }

    .BtnWorkPre {
        margin-right: 0px;
    }

    table.main {
        font-size: 12px !important;
    }

    /*body {
        padding-right: 10px;
    }*/

    #btnNext, #btnPrevious {
        font-size: 12px;
        padding: 5px 10px;
    }
}


@media (max-width:380px) {
    div#TB_window {
        width: 97% !important;
        margin-left: -56% !important;
        /*margin-top: -80% !important;*/
        height: 100% !important;
    }

    table.main {
        font-size: 14px !important;
    }

    .logo h1 {
        font-size: 16px !important;
    }

    .contentwrapper {
        padding: 30px 10px !important;
    }
}

@media only screen and (min-width:400px) and (max-width:600px) {
    table.Tr-bg-color {
        width: 50% !important;
    }

    table.timetable400 {
        width: 100% !important;
    }
}



