/*-----------------------------------*/
/* IE10 + hack
/*-----------------------------------*/
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .fancybox-title span.child { width: 80%; }
    .fp-search .input-group input { line-height: 35px; }
}

@media only screen 
and (min-device-width : 768px) 
and (max-device-width : 1024px) 
and (orientation : landscape) {
.service-content p { font-size: .8em; }
.fp-search-advanced h4 { font-size: .9em;}
}

/*-----------------------------------*/
/* BOOTSTRAP ADJUISTMENTS
/*-----------------------------------*/
@media (min-width: 1100px){
    .container { width: 1080px; }
    
    .fancybox-wrap { width: 60% !important; left: 20% !important; }
    .fancybox-inner { width: auto !important; height: auto !important; }    
    
}

/*-----------------------------------*/
/* PAGE TITLES FOR MOBILE  */
/*-----------------------------------*/

.mobile-logo-tag {
    display: inline-block;
    color: #379155;
    font-size: .9em;
    font-weight: 600;
    margin-top: 10px;
}

.mobile-page-title, .view-header h1, .view-archive-list h1, .node-ctd-archive h1 {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    font-weight: 300;
    font-size: 2em;  
}


/*-----------------------------------*/
/* MIN 985  */
/*-----------------------------------*/

@media (min-width: 985px) {
    
    #sidebar-right { margin-top: 50px; }
    
    #search8 {display: none !important;}

    #block-views-weekly-histories-block-2, #block-views-weekly-histories-block-1 {
        display: none;
    }  
}


/*-----------------------------------*/
/* MAX 1200  */
/*-----------------------------------*/

@media (max-width: 1200px) {
  

    #header-navigation .nav > li > a {
        width: 85px;
    }    

    .carousel-with-description .carousel-images-wrapper {
        width: 700px;
        margin-left: 20px;
    }

    .gallery-image {
        margin-bottom: 20px;
    }

    .service-box-container { 
        max-height: 300px;
    }

    .service-box-front i {
        font-size: 50px;
        line-height: 110px;
    }

    .service-title p {
        padding: 0 0 20px 0;
    }

}

/*-----------------------------------*/
/* MAX 1100  */
/*-----------------------------------*/

@media (max-width: 1100px) {
    
    #block-menu-clerk-user-menu, #block-block-8 {
    margin-left: 0;
    }    
    
    #header-navigation .nav > li > a {
        width: 80px;
    }

    .header-menu-searchbtn a > span{
       padding-right: 0px;
    }
    
    .header-menu-searchbtn a > span{
       display: none;
    }   
    
    .left-content-wrapper {
    }
    
    #sidebar-right {
    }
    
    #sidebar-right #search7 {
        padding-left: 0 !important;
    }
    
    #boxes-wrapper, #block-menu-block-1, #block-block-12 {
        margin-left: 0px !important;
    }      
    
}


/*-----------------------------------*/
/* MAX 985  */
/*-----------------------------------*/

@media (max-width: 985px) {
    
    .view-archive-list h1:first-child { margin-top: 40px; }
    
    .service-more { display: none; }
    
    #wrapper { height: auto; }
    
    .region-sidebar-right { margin-top: 20px; }
    
    #publications, .search-page-element .container > h2  {
        display: none;
    }        
    
    .left-content-wrapper {
        padding: 0 !important;
    }
    
    #sidebar-right {
        margin: 0 !important;
        padding: 0 !important;
    }    
    
    .archive-toggle-container {
    display: none;
    }
    
    .view-weekly-histories form .form-group {
        width: 100%;
    }
        
    #block-menu-clerk-user-menu {
        display: none;
    }    
    
    #quicklinks {
        display: none;
    }    
    
    #logo {
        height: 60px !important;
        width: 60px !important;
        padding: 0px !important;
        position: relative !important;
        top: 15px !important;
    }
    
    #branding h1 {
        display: block;
        font-size: 22px !important;
        letter-spacing: .5px;
        text-transform: capitalize;
        font-weight: 300;
        line-height: 30px;
        position: relative;
        top: -20px;
        left: 82px;
    }
    
    #branding span {
        display: inline-block;
        margin: 0;
        padding: 0;
    }
    
    .phone-menu-searchbtn a > i, .phone-menu-toggle i {
        font-size: 30px;
        line-height: 100px;
    }
    
    .views-field-field-publication-document, .views-field-field-publication-session-type, .views-field-field-publication-type {
        white-space: normal;
    }    
    
    
    .backtotop {
        display: block !important;
    }    
    
    .navbar-fixed-top, .navbar-fixed-bottom {
        position: relative;
    }
    
    #boxes-wrapper, #block-block-12 {
        display: none;
    }    
    
    .fp-search, #search7 {
        display: none !important;
    }    
    
    .view-events-list, .view-events-list .view-content {
        padding: 0 !important;
    }
    
    .view-events-list .date-container {
        padding: 10px 20px !important;
    }
    
    .view-events-list .date-container .date-month {
        font-size: 14px !important;
        padding: 0 !important;
    }
    
    .view-Publications .view-header {
        display: none !important;
    }
    
    .black-medium2 {
        font-size: 24px !important;
    }

    .header-menu-searchbtn {
        display: none;
    }

    .service-box-container {
        margin: 0 0 5px 5px !important;        
    }  
    
    #search-box {
        display: none;
        width: 99% !important;
        height: 150px !important;
    }
    
    #search-box i {
        font-size: 50px !important;
        line-height: 100px !important;
    }
    
    .top-image1 {
        background: #2170c7 !important;
        height: 150px !important;
    }
    
    #top-image .container h1 {
        margin: 0 30px !important;
    }

    #scroll-up-button {
        display: none;
    }

    #breadcrumbs {
        height: auto;
    }

    .breadcrumb {
        float: none;
        clear: both;
    }
    
    #header {
        height: auto;
        margin: 0;
        background-image: none;
        background: #10292c;
    }

    #header .container {
        width: 100%;
        margin: 0;
    }

    #header-navigation {
        display: none;
    }
    
    #phone-header-navigation {
        display: block;
    }

    #logo {
        float: none;
        margin: 0 10px;
        padding-top: 0 !important;
    }
    
    #logo-floater {
        width: 80%;
        float: left;
    }

    .service-box-front i {
        font-size: 50px;
        line-height: 110px;
    }

    .service-title p {
        padding: 0 0 20px 0;
    }

}

/*-----------------------------------*/
/* MIN 768 & MAX 985  */
/*-----------------------------------*/

@media (min-width: 768px) and (max-width: 985px){

    .service-box-container {
        width: 49% !important;
        padding: 2px;
    }  
    
}


@media (min-width: 769px) {

    .fancybox-wrap { width: 80% !important; left: 10% !important; }
    .fancybox-inner { width: auto !important; height: auto !important; }
    
}

/*-----------------------------------*/
/* MAX 768  */
/*-----------------------------------*/

@media (max-width: 768px) {
    .fancybox-wrap { width: 90% !important; left: 5% !important; }
    .fancybox-inner { width: auto !important; height: auto !important; }
    
    .front-message { background: #153539; }
    .front-message p { color: #f9f9f9; }    
    
    #event-search-form.form-inline .form-group {
        width: 100%;
    }
    
    #container {
        overflow: hidden;
    }
    
    .view .view-header, .view-weekly-histories .view-filters form {
        text-align: center;
    }    


    .view-events-list .views-field-title, .view-events-list .views-field-nothing {
        display: block !important;
    }

    .view-events-list .views-field-field-event-date {
        display: block !important;
        width: 100%;
    }
    
    .view-events-list .views-field-title, .view-events-list .views-field-nothing .field-content {
        text-align: center;
    }
    
    .view-events-list .views-field-title, .views-field-nothing p {
        display: block !important;
        position: relative !important;
        width: auto !important;
        text-align: center !important;
    }
    
    #search7 .rowSubmit {
    float: right !important;
    }
    
    #quicklinks {
        display: none;
    }
    
    #copyright-container .container p {
        text-align: center !important;
        float: none !important;
    }

    #search7 .rowSubmit span {
        font-size: 14px !important;
    }

    .service-box-container {
        margin-left: 0 !important;
    }

    .rev-slider-wrapper {
        display: none;
    }
    
    .top-image1 {
    background: #2170c7 !important;
    height: 100px !important;
    }
    
    #top-image .container h1 {
    text-align: center;
    line-height: 10px !important;
    font-size: 28px !important;
    margin-top: 50px !important;
    margin-left: 5px !important;
    margin-bottom: 0px !important;
    }   
    
    .content-tabs {
        display: none !important;
    }    
    
    .front-message h2 {
        display: none;
        font-size: 30px;
        font-weight: bold;
        color: #3b3b3b;
        line-height: 40px;
        margin-bottom: 20px;
    }    
    
    .front-message p {
        font-size: 20px;
        font-weight: 300;
        line-height: 30px;
        padding-top: 20px;
    }    
    
   
     .service-box-container {
        width: 99% !important;
    }
    
    .basic-carousel .thumbnail img {
        width: 100%;
    }

    .carousel-with-description .carousel-images-wrapper {
        width: 100%;
        margin-left: 0;
    }

    .gallery-image {
        margin-bottom: 20px;
    }


    body {
        padding: 0;
    }

    .left-element {
        margin: 0 0 30px 0;
    }

    .page-element h4 {
        text-align: center;
    }

    .container {
        margin: 0 20px;
    }

    .sidebar {
        margin: 100px 0 0 0;
    }

    .sidebar h5 {
        text-align: center;
    }

    .media a.pull-left {
        float: left;
    }

    iframe {
        width: 100%;
    }

    #caption {
        padding: 120px 0 0 0;
    }

    #breadcrumbs .search-container {
        float: left;
        margin: 0 0 40px 0;
    }

    #breadcrumbs .search-container input, #breadcrumbs .search-container i {
        float: left;
    }

    .isotope-filter-wrapper {
        margin: 0 0 52px 0;
        float: left;
    }

    #breadcrumbs .portfolio-navigator {
        float: left;
        margin: 0 0 40px 0;
    }

    .photo-gallery-wrapper {
        margin-bottom: 30px;
    }
    
    .service-box-container {
        width: 100%;
        height: auto;
        margin: 0 auto 20px auto;
        float: none;
    }

    .service-box-front i {
        font-size: 70px;
        line-height: 150px;
    }

    .service-title p {
        padding: 0 0 20px 0;
    }

    #copyright-container {
        margin: 0;
    }

}

/*-----------------------------------*/
/* MAX 650  */
/*-----------------------------------*/

@media (max-width: 650px){
    
    #search8 {
        top: 140px;
    }    
    
    #node-22 table tr td:first-child {
        display: none;
    }
            
    .phone-menu-searchbtn a, .phone-menu-toggle i, .phone-menu-searchbtn a > i {
        line-height: 50px;
        font-size: 20px;
    }      
    
    #logo {
        height: 60px !important;
        width: 60px !important;
        padding: 0px !important;
        position: relative !important;
        top: 15px !important;
    }
    
    #branding h1 {
        font-size: 18px !important;
        letter-spacing: .5px;
        text-transform: capitalize;
        line-height: 30px;
    }
    
    #branding span {
        display: inline-block;
        color: #379155;
    }
    
    .captcha {

    }
    
    ul {
        margin-left: 0;
    }
    
    .webform-client-form .form-item {
        width: 100%;
    }
    
    .webform-client-form .webform-component--subject {
        width: 80%;
    }

    .webform-client-form .webform-component--information {
        width: 10%;
    }    
    
    #logo-floater {
        display: block;
        width: 100%;
        border-bottom: 1px solid #444;
    }

    #phone-header-navigation {
        width: 100%;
        border-top: 1px solid #444;
    }
    
    .phone-menu-searchbtn {
        border-right: 1px solid #444;
    }
    
    .phone-menu-searchbtn, .phone-menu-toggle {
        display: inline-block;
        width: 50%;
    }
    
    .front-message {
        border-top: 2px solid #444;
    }    
    
}

/*-----------------------------------*/
/* MAX 550  */
/*-----------------------------------*/

@media (max-width: 550px){

    .myModalGallery #carousel {
        display: none;
    }
    
    table#calendar-fullscreen th {
        font-size: .6em;
    }
    
    .flexslider .slides > li {
        display: block !important;
        float: none !important;
        margin-bottom: 20px;
    }
    
    .slides, .flex-control-nav, .flex-direction-nav {
        display: none;
    }
    
    #block-block-11 {
        padding: 5px;
    }    
    
    #top-image, #breadcrumb {
        display: none;
    }     
    
    h2 {
        font-size: 20px;
    }
    
    #block-system-main, .block-webform, .block-block {
        padding: 10px 15px;
    }
    
    .search-page-element {
        padding-top: 0px !important;
    }
    
    .node-page .content, .view .view-content {
        padding: 15px 0 !important;
    }       
    
    .view-Publications .views-field-field-publication-annotation, .view-weekly-histories .views-field-field-publication-annotation, .view-daily-journals .views-field-field-publication-annotation {
        display: none !important;
    }
    
    .view-Publications .views-field-nid, .view-weekly-histories .views-field-nid, .view-daily-journals .views-field-nid {
        display: none;
    }
    
    #top-image .container h1 {
        line-height: 1em !important;
        font-size: 24px !important;
        margin-top: 10px !important;
    }
    
    #breadcrumb {
        display: none !important;
    }
    
    .container {
        padding: 0;
    }
    
    .search-page-element h1 {
        font-size: 20px;
        margin-top: 0px !important;    
    }
    
    #search7 .tabs li:first-child a {
        padding: 0 20px !important;
    }
    
    .field_date.omega {
        margin-left: 0px !important;
    }
}


/*-----------------------------------*/
/* MAX 480  */
/*-----------------------------------*/

@media (max-width: 480px) {
    
    #ui-datepicker-div {
        left: 0 !important;
        width: 100% !important;
    }
    
    .ui-datepicker td {
        height: 60px;
    }
    
    .ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
        padding: 20px 0;
    }
    
    #edit-captcha-form {
        overflow: hidden;
        position: relative;
        left: -15px
    }
    
    .webform-client-form #webform-component-subject {
        width: 83%;
    }    
    
    .node-page .content, .view .view-content {
        padding: 10px 0 !important;
    }    
    
    .view-Publications .views-field {
        font-size: 12px;
    }
    
    #search7 .most-searched, #search7 h4 {
        display: none;
    }  

    .thumbnail {
        clear: none;
    }
}