/*@media only screen 
and (max-width : 479px) 
and (orientation : portrait) { html {
    transform: rotate(+90deg);
    transform-origin: 75% 30%;
}
body{
    background-repeat:repeat;
    overflow-y: auto; 
}
div#controls, div#audio_player {
    width: 80%;
    margin: 4% auto;
    padding: 4px;
}
.datepickerblock .table-condensed>tbody>tr>td {
    padding: 1px 0;
    margin: 0;
}
#datedaypicker {
    margin: 2% 0 0 0%;
}
#datedaypicker .bootstrap-datetimepicker-widget table td.day {
    height: 10px;
    line-height: 10px;
    width: 10px;
}
#monthyearpicker {
    margin-left: 2%;
}
.datepickerblock {
    font-size: 9px;
    
}
#monthyearpicker {
    margin-top: 4%;
    
}
.datepickerblock .bootstrap-datetimepicker-widget table td.active::after {
    top: 1px;
    left: 2px;
    padding: 5px;
    right: 3px;   
}
.datepickerblock .bootstrap-datetimepicker-widget table td span {
    padding: 0px;
}
#datedaypicker {
    width: 56%;
    float: left;
    margin: 1% 0 0 0%;
}
#appointmentModal ,#newsModal{
    margin-left: 40%;
    width: 100%;
    overflow: scroll;
}
#newsModal .modal-content, #appointmentModal .modal-content{
    height: auto;
}


}
*/

@media screen and (min-width: 2150px) {
    #dairy {
        width: 1102px;
        height: 850px;
    }
    .datepickerblock .bootstrap-datetimepicker-widget table th {
        height: 30px;
        line-height: 40px;
    }
    .datepickerblock {
        font-size: 14px;
    }
}

@media screen and (min-width: 2250px) {
    #dairy {
        width: 1297px;
        height: 1000px;
    }
    .datepickerblock .bootstrap-datetimepicker-widget table th {
        height: 30px;
        line-height: 40px;
    }
    .datepickerblock {
        font-size: 14px;
    }
}

@media screen and (min-device-width: 2100px) {
    #dairy {
        width: 908px;
        height: 700px;
        top: 40px;
    }
    .datepickerblock .bootstrap-datetimepicker-widget table th {
        height: 30px;
        line-height: 40px;
    }
    .dairy .datepickerblock {
        font-size: 14px;
        top: 12% !important;
        left: 8% !important;
        transform: scale(0.8);
    }
    .bottom-footer {
        padding: 22px 15px;
    }
    .dairy #datedaypicker .bootstrap-datetimepicker-widget table td.day {
        height: 14px !important;
        line-height: 14px !important;
        width: 14px !important;
    }
    .dairy #datedaypicker {
        margin: 2% 0 0 4% !important;
    }
}

@media screen and (max-device-width: 1650px) {
    .top-header {
        height: 70px;
    }
    .center-header span {
        font-size: 24px;
    }
    .bottom-footer {
        padding: 9px 15px
    }
    .bottom-footer .bottom-breadcumb {
        font-size: 25px;
    }
}

@media (min-width: 1460px) {
    .datepickerblock {
        transform: scale(0.8);
        transform-origin: top left;
    }
}

@media screen and (max-width: 1500px) {
    #dairy {
        /*top: -35px;*/
        /*height: 750px;*/
    }
    .center-header span {
        font-size: 24px;
    }
    .bottom-footer {
        padding: 4px 15px;
    }
    .bottom-footer .bottom-breadcumb {
        font-size: 23px;
    }
}

@media screen and (max-device-width: 1024px) {
    #dairy {
        width: 869px;
        height: 670px;
        top: 80px;
    }
    .center-header span {
        font-size: 24px;
    }
    .bottom-footer {
        padding: 3px 15px
    }
    .bottom-footer .bottom-breadcumb {
        font-size: 23px;
    }
    .datepickerblock .bootstrap-datetimepicker-widget table td span {
        width: 28px;
        height: 18px;
    }
    .table-condensed>thead>tr>th {
        padding: 1px 8px;
    }
    #datedaypicker .bootstrap-datetimepicker-widget table td.day {
        height: 14px;
        line-height: 14px;
        width: 16px;
    }
}

@media screen and (max-device-width: 1920px) {
    #dairy {
        width: 869px;
        height: 670px;
        top: 80px;
    }
    .top-header {
        height: 72px;
    }
    .center-header span {
        font-size: 24px;
    }
    .bottom-footer {
        padding: 10px 15px;
    }
    .bottom-footer .bottom-breadcumb {
        font-size: 25px;
    }
    .datepickerblock .bootstrap-datetimepicker-widget table td span {
        width: 28px;
        height: 18px;
    }
    .table-condensed>thead>tr>th {
        padding: 1px 8px;
    }
    #datedaypicker .bootstrap-datetimepicker-widget table td.day {
        height: 14px;
        line-height: 14px;
        width: 16px;
    }
}

@media screen and (min-width: 980px) {
    body {
        overflow-y: hidden;
    }
}

@media screen and (min-device-width: 768px) and (max-device-width: 980px) {
    body {
        font-size: 10px;
    }
    #dairy {
        width: 800px;
        height: 617px;
    }
    .datepickerblock .bootstrap-datetimepicker-widget table td span {
        width: 28px;
        height: 19px;
        line-height: 12px;
        margin: 0;
        margin-top: 1px;
    }
    #monthyearpicker {
        margin-top: 1%;
    }
    #datedaypicker .bootstrap-datetimepicker-widget table td.day {
        height: 10px;
        line-height: 10px;
        width: 10px;
    }
    .datepickerblock .bootstrap-datetimepicker-widget table td.active::after {
        padding: 5px;
        top: 0px;
    }
    section .quote {
        font-family: "Copperplate";
        font-size: 16px;
        text-align: center;
    }
    #wave-thumb {
        width: 200px;
        height: 120px;
    }
    div#controls,
    div#audio_player {
        width: 80%;
    }
    .pagecontent section .pageitem {
        position: absolute;
        top: 42%;
    }
    #newsModal .modal-dialog,
    #appointmentModal .modal-dialog {
        width: 95%;
        margin: auto;
    }
    #datedaypicker {
        margin: 1% 0 0 1%;
    }
    .datepickerblock {
        font-size: 10px;
    }
    video#video-element {
        width: 180px;
    }
    .pageitem .section-img {
        width: 180px;
    }
    .table-condensed>thead>tr>th {
        padding: 1px 7px;
    }
}


/*@media screen and (max-device-width: 812px) {
   body{
    overflow-y: auto;
   }
    #dairy {
        width: 760px;
        height: 586px;
        margin-top:-70px; 
        
    }
    section h2 {

        font-size: 12px;
    
    }
    .pagecontent section .pageitem{
        top: 38%;
    }
    section p {
        font-size: 10px;
        line-height: 12px;
    }
    #monthyearpicker {
        width: 28%;
        float: left;
    }
    .datepickerblock .bootstrap-datetimepicker-widget table td span {
        width: 24px;
        height: 14px;
        line-height: 14px;
    }
    #datedaypicker .bootstrap-datetimepicker-widget table td.day {
        height: 14px;
        line-height: 14px;
        width: 14px;
    }
    section .quote {
       font-size: 18px;
       
    }
   
    div#controls, div#audio_player {
        width: 80%;
        
    }

    .datepickerblock .table-condensed>tbody>tr>td {
        padding: 1px 0;
        margin: 0;
    }
  
    #datedaypicker .bootstrap-datetimepicker-widget table td.day {
        height: 10px;
        line-height: 10px;
        width: 10px;
    }
    #monthyearpicker {
        margin-left: 2%;
    }
    .datepickerblock {
        font-size: 9px;
        
    }
    #monthyearpicker {
        margin-top: 6%;
        
    }
    .datepickerblock .bootstrap-datetimepicker-widget table td.active::after {
        top: 0px;
        left: 2px;
        padding: 5px;
        right: 3px;   
    }
    .datepickerblock .bootstrap-datetimepicker-widget table td span {
        padding: 0px;
    }
    #datedaypicker {
        width: 60%;
        float: left;
        margin: 0 0 0 2%;
    }
    #wave-thumb {
        width: 220px;
        height: 120px;
        
    }
    #newsModal .modal-content, #appointmentModal .modal-content{
        height: 320px;
    }
    video#video-element {
        width: 126px;
    }
    .pageitem .section-img {
        width: 200px;
    }
    section .quote {
        font-size: 14px;
        
    }
    section h2 {
        font-size: 10px;
    }
    span.time-title {
        font-size: 9px;
    }
    section p {
        font-size: 8px;
        line-height: 12px;
    }
    .pagecontent a.pagelink {
        font-size: 8px;
    }
    #appointmentModal button.close, #newsModal button.close {
        top: -16px;
        right: -16px;
    }
    div#appointmentModal, div#newsModal {
        width: 75%;
        margin: 0 auto;
    }
    #newsModal .modal-content, #appointmentModal .modal-content {
        margin-left: -2%;
    }
    #newsModal  .modal-dialog, #appointmentModal .modal-dialog {
        width: 95%;
        margin: auto;
    }
    .table-condensed>thead>tr>th {
        padding: 1px 7px;
    }
}
@media screen and (max-device-width: 667px){
    body {
        overflow-y: scroll;
        
    }
    #dairy {
        width: 650px;
        height: 500px;
        margin-top:-60px; 
        
    }
    video#video-element,audio#music {
        width: 146px;
    }
    .pageitem .section-img {
        width: 166px;
    }
    #wave-thumb {
        width: 126px;
        height: 90px;
    }
    .table-condensed>thead>tr>th, .table-condensed>tbody>tr>th, .table-condensed>tfoot>tr>th, .table-condensed>thead>tr>td, .table-condensed>tbody>tr>td, .table-condensed>tfoot>tr>td{
      padding: 5px;  
    }
    .datepickerblock .bootstrap-datetimepicker-widget table td span {
        width: 22px;
        height: 10px;
        line-height: 7px;
    }
    #datedaypicker .bootstrap-datetimepicker-widget table td.day {
        height: 5px;
        line-height: 7px;
        width: 5px;
    }
    .table-condensed>thead>tr>th, .table-condensed>tbody>tr>th, .table-condensed>tfoot>tr>th, .table-condensed>thead>tr>td, .table-condensed>tbody>tr>td, .table-condensed>tfoot>tr>td{
        padding: 4px;
    }
    .datepickerblock{
        top: 16.5%;
    }
    .datepickerblock .table-condensed>tbody>tr>td{
        
    }
    section .quote {
        line-height: 18px;
    }
    .datepickerblock .bootstrap-datetimepicker-widget table td span {
        margin-top: 1px;
    }
    #monthyearpicker {
        margin-top: 3%;
    }
    .datepickerblock .bootstrap-datetimepicker-widget table th {
        height: 8px;
        line-height: 8px;
        width: 8px;
    }
    .datepickerblock .bootstrap-datetimepicker-widget table td.active::after {
        padding: 4px;
    }
    #monthyearpicker {
        width: 28%;
        float: left;
    }
    #datedaypicker {
        width: 58%;
    }
    div#appointmentModal,div#newsModal {
        width: 86%;
        margin: 0 auto;
    }
    #newsModal .modal-content, #appointmentModal .modal-content {
        height: 320px;
        margin-left: -2%;
    }
    #controls button, #audio_player button{
        min-width: 22px;
        font-size: 10px;
        min-height: 22px;
        
    }
    #newsModal, #appointmentModal {
        top: 2%;
        
    }
    #newsModal button.close,#appointmentModal button.close {
        top: -20px;
        right: -20px;
    }
    .datepickerblock #monthyearpicker .next .glyphicon-chevron-right, .datepickerblock #monthyearpicker .prev .glyphicon-chevron-left {
        font-size: 10px;
        
    }
    #monthyearpicker .bootstrap-datetimepicker-widget table td {
        height: 16px;
        line-height: 16px;
        width: 16px;
    }
    .table-condensed thead tr, #datedaypicker .table-condensed, #monthyearpicker .table-condensed {

        border-bottom: 2px solid #000;
    
    }
    .table-condensed>thead>tr>th {
        padding: 6px;
    }
    
}
@media screen and (max-device-width: 479px){
    
    section h2 {
         font-size: 8px;
    }
    section p {
        font-size:6px; 
    }
    .table-condensed>thead>tr>th {
        padding: 5px;
    }
}*/


/* iPhone landscape and iPad portrait */

@media only screen and (max-device-width: 850px) and (orientation: landscape) {
    .top-header {
        height: 0px;
    }
    .top-header .center-header {
        display: none;
    }
    .bottom-footer {
        display: none;
    }
    .left-header {
        top: 5px;
        left: 5px;
    }
    .left-header img {
        margin-right: 0px;
    }
    #monthyearpicker {
        margin-top: 4%;
        margin-left: 2%;
    }
}

@media only screen and (min-width: 812px) and (orientation: landscape) {
    section .quote {
        font-size: 16px;
        padding: 10% 10%;
    }
    #monthyearpicker {
        margin-top: 4%;
        margin-left: 2%;
    }
    #controls button,
    #audio_player button {
        margin: 0 1%;
    }
    .pagecontent section .pageitem {
        top: 42%;
    }
    #datedaypicker .bootstrap-datetimepicker-widget table td.day {
        height: 10px;
        line-height: 10px;
        width: 10px;
    }
    .datepickerblock .bootstrap-datetimepicker-widget table td.active::after {
        padding: 5px;
        top: 0px;
    }
    .dairy .datepickerblock {
        top: 16.5%;
        left: 12%;
    }
}

@media only screen and (min-width: 375px) and (max-width: 767px) {
    section .quote {
        font-size: 16px;
        padding: 10% 10%;
    }
    .datepickerblock {
        top: 18%;
    }
    #monthyearpicker {
        margin-top: 3%;
        margin-left: 3%;
    }
    #controls button,
    #audio_player button {
        margin: 0 1%;
    }
    #monthyearpicker {
        margin-top: 2%;
    }
}

@media screen and (max-device-height:500px) and (orientation: landscape) {
    #dairy {
        width: 817px;
        height: 630px;
        margin-top: 0px;
    }
    .main-bg {
        overflow: hidden;
    }
    .bottom-links {
        bottom: 18%;
    }
    #monthyearpicker {
        margin-top: 3%;
    }
    #monthyearpicker {
        margin-left: 1%;
    }
    #monthyearpicker {
        width: 30%;
    }
}

@media screen and (max-device-height:400px) and (orientation: landscape) {
    #dairy {
        width: 778px;
        height: 600px;
    }
    .main-bg {
        overflow: hidden;
    }
    .bottom-links {
        bottom: 18%;
    }
}


/* iPhone 6, 7, & 8 in landscape */

@media only screen and (min-device-width: 375px) and (max-device-width: 667px) and (orientation: landscape) {
    #dairy {
        width: 843px;
        height: 650px;
        margin-top: 0px;
    }
    .datepickerblock .bootstrap-datetimepicker-widget table td span {
        width: 28px;
        height: 18px;
    }
    .datepickerblock .bootstrap-datetimepicker-widget table th {
        height: 12px;
        line-height: 12px;
        width: 8px;
    }
    .datepickerblock .bootstrap-datetimepicker-widget table thead tr:first-child th {
        width: auto;
    }
    #datedaypicker .bootstrap-datetimepicker-widget table td.day {
        height: 10px;
        line-height: 13px;
        width: 10px;
    }
    video#video-element {
        width: 190px;
    }
    #newsModal .modal-content,
    #appointmentModal .modal-content {
        height: 400px;
    }
    #monthyearpicker {
        margin-top: 2%;
    }
}


/* iPhone 6, 7, & 8 Plus in landscape */

@media only screen and (min-device-width: 414px) and (max-device-width: 736px) and (orientation: landscape) {
    #dairy {
        width: 882px;
        height: 680px;
        margin-top: 0px;
    }
    .datepickerblock .bootstrap-datetimepicker-widget table td span {
        width: 30px;
        height: 20px;
    }
    .datepickerblock .bootstrap-datetimepicker-widget table th {
        height: 12px;
        line-height: 12px;
        width: 8px;
    }
    .datepickerblock .bootstrap-datetimepicker-widget table thead tr:first-child th {
        width: auto;
    }
    #datedaypicker .bootstrap-datetimepicker-widget table td.day {
        height: 10px;
        line-height: 13px;
        width: 10px;
    }
    video#video-element {
        width: 190px;
    }
    .pagecontent section .pageitem {
        top: 43%;
    }
    #newsModal .modal-content,
    #appointmentModal .modal-content {
        height: 400px;
    }
}


/* iPhone X in landscape */

@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape) {}