/*
 * HSC DEVELOPER NOTE
 * Purpose: Responsive layout rules.
 * Where to change: Later responsive/layout rules from custom.css. Avoid page-specific overrides where a page stylesheet exists.
 * Load order/conditions are defined in inc/theme/assets.php.
 */

/************************************************************************************
Accessibility
*************************************************************************************/
a.skip-acc {
    opacity: 0;
    position: absolute;
    top: -1000em;
    z-index: 99999999;
    transition: opacity ease-in-out 150ms;
    padding: 1rem 2rem;
}

a.skip-acc:focus,
a.skip-acc:active {
    opacity: 100%;
    left: 6px;
    top: 7px;
}

.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}

.news-order-1 {
    order: 2;
}

.news-order-2 {
    order: 3;
}

@media screen and (min-width: 1024px) {
    .news-order-1 {
        order: 3;
    }

    .news-order-2 {
        order: 2;
    }
}

/************************************************************************************
SMALL SCREENS ONLY
*************************************************************************************/
/***** Small. *****/
@media screen and (max-width: 639px) and (min-width: 100px) {
	
	.mainbody {
    padding: 0px !important;


}

.SectionBlock {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.contentPadding
		{
			padding-left:10px!important;
			padding-right:10px!important;
			
		}

#menuItems {
	padding:20px 0px 20px 0px;
	
}

.breadcrumb {
    font-size: 0.8em;
    padding: 5px 5px 5px 5px;

}

.pagetitlebar {

	padding-top:1em!important;
	padding-bottom:1.5em!important;
}

.AddSectionPadding {
						 padding-top: 2em;
						 padding-bottom: 2em;
						 }
						 
	#content {
		background-color:#fff;
	}

#content > .row > .columns {

   padding-right: 0.2rem;
   padding-left: 0.2rem;
}

    .toprow.maincolorback .maincolorsvg svg path {
        fill: #fff !important;
    }

    .cleartoprow {
        min-height: 70px;
    }

    .bx-pager.bx-default-pager {
        display: none;
    }
	


.footerpad {
    padding: 20px 0px;
}

}

/************************************************************************************
SMALL SCREENS ONLY - SIDEBAR NAV ABOVE CONTENT
*************************************************************************************/
/***** Small. *****/
@media screen and (max-width: 1023px) and (min-width: 100px) {
	

	
	.pagetitlebar h1 {
		    font-size: 2rem;
	}
	
	
	.BarCustom h1 {
    font-weight: 600;
    margin: 0px 0px 0px 0px;
}
	
    h3.quicklinksmob {
        background: #d5d5d5;
        position: relative;
        line-height: 50px;
        padding-left: 10px;
        display: block;
		  font-size: 1em;
    }

    h3.quicklinksmob:before, h3.quicklinksmob:after {
        transition: .1s all ease-in;
        position: absolute;
        right: 20px;
        top: 25px;
        width: 8px;
        height: 1px;
        background: #000;
        content: '';
    }

    h3.quicklinksmob:hover {
        cursor: pointer;
    }

    h3.quicklinksmob:before {
        right: 25px;
        transform: rotate(45deg);
    }

    h3.quicklinksmob:after {
        transform: rotate(-45deg);
    }

    h3.quicklinksmob.filteractive {
        margin-bottom: unset;
    }

    h3.quicklinksmob.filteractive:before {
        right: 26px;
        transform: rotate(-45deg);
    }

    h3.quicklinksmob.filteractive:after {
        transform: rotate(45deg);
    }



    .sidemob {
        height: 0px;
        overflow: hidden;
        margin-bottom: 0px;
        transition: all .3s ease-in-out;
    }

    .sidemob.show-content {
        height: auto;
        margin-bottom: 25px;
        transition: all .3s ease-in-out;
        /*padding-top: 20px;*/
    }
    h3.mobhide {
        display: none;
    }
	
	.subcolorback .captionpad {
    padding: 8px;
}

.mobileHide {
	display:none;
}



.button {
    padding:10px;
}

.hero-content-box {
	margin:10px;
    width:95%;
}


}

/************************************************************************************
Larger than 520
*************************************************************************************/
/***** Medium. *****/
@media screen and (min-width: 520px) {
    
    

}

/************************************************************************************
Larger than 640
*************************************************************************************/
/***** Medium. *****/
@media screen and (min-width: 640px) {

 


    .txtright {
        text-align: right;
    }

    .home-link {
        /*max-width: 340px;*/
        max-width: 500px;
    }

    .toprow.maincolorback {
        background-color: transparent;
    }


	

    /***** Full Screen Search. *****/
    .search-overlay input[type=search] {
        width: 500px;
        border-bottom: 5px solid #B3B3B3;
        font-size: 75px;
        line-height: 75px;
    }

    .search-submit .fa {
        font-size: 75px;
        line-height: 75px;
    }

    /***** Footer. *****/
    .footer-column {
        border-bottom: none;
    }

    footer h6 {
        margin-bottom: 10px;
        padding-top: 0px;
        color: #FFF;
        border-top: 0px;
    }

    #colophon h6:after {
        display: none;
        content: '';
    }

    #colophon .footer-column-content {
        height: auto;
        opacity: 1;
    }

    .toprow {
        border-bottom: 0;
        padding: 15px 0px;
		margin-top: 10px;
    }

    .styled-select {
        width: 200px;
    }

    .styled-select select {
        font-size: 16px;
    }

    .sociallinks {
        float: right;
    }

    footer .columns {
        padding: 0.9375rem;
    }

    footer .columns.hostelcols {
        padding-right: 1.5rem;
    }
	
	.footer-hosp {
		min-height:100px;
	}

    .hostelcols:after {
        content: "";
        width: 1px;
        height: 45px;
        background: #fff;
        display: block;
        position: absolute;
        top: 21px;
        right: .75rem;
    }

    footer .columns.hostelcols:last-of-type {
        padding-right: 0rem;
    }

    .hostelcols:last-of-type:after {
        display: none;
    }

    ul.footmenu {
        list-style: none;
        padding: 0px;
    }

    ul.footmenu li {
        display: inline-block;
        padding-right: 15px;
    }

    ul.footmenu li:after {
        content: "|";
        display: inline-block;
        padding-left: 15px;
    }

    ul.footmenu li:last-of-type:after {
        display: none;
    }

    .bordertop {
        border-top: 1px solid #fff;
        margin-top: 10px;
        padding-top: 10px;
    }

    .investorlogo {
        margin-top: 0px;
    }

    .slidecaption {
        position: absolute;
        bottom: 30px;
        left: 50px;
        z-index: 2;
        min-width: 50%;
		 max-width: 90%;
    }

    .mainbody .small-12.medium-6.columns:nth-child(2n+3) {
        clear: left;
    }

    .azsearchbox .search-form label {
        width: calc(100% - 100px);
    }

    .azsearchbox .search-form input[type=search] {
        width: calc(90% - 183px);
        max-width: 100%;
        display: inline-block;
    }

    .search-form input.search-submit {
        width: 180px;
        display: inline-block;
    }

    .disflex {
        display: flex;
        flex-direction: column;
    }

    .order-1-md {
        order: 1;
    }

    .order-2-md {
        order: 2;
    }

    .order-3-md {
        order: 2;
    }
}

/************************************************************************************
Larger than 768
*************************************************************************************/
/***** Large. *****/
@media screen and (min-width: 768px) {
    .font-changer {
        font-weight: 700;
        float: right;
        clear: none;
        display: inline-block;
        margin: 0 15px;
    }

    .searchbox {
        padding: 20px 50px;
    }

    .search-form input[type=search] {
        width: 75%;
        /*display: inline-block;*/
        float: left;
        margin-bottom: 15px;
    }

    .site-header .search-form input[type=search] {
        float: right;
    }

    .search-form input.search-submit {
        width: 24%;
        /*display: inline-block;*/
        float: left;
        margin-bottom: 15px;
    }

    .sidesearchlinks ul li {
        width: 45%;
        display: inline-block;
    }

    .sidesearchlinks ul li:first-child {
        border-right: 1px solid #fff;
        border-bottom: 0px;
        margin-right: 5%;
    }

    /*.mainbody {
        padding: 30px;
    }*/

    .csscolumns {
        -webkit-column-count: 2; /* Chrome, Safari, Opera */
        -moz-column-count: 2; /* Firefox */
        column-count: 2;
        -webkit-column-gap: 40px; /* Chrome, Safari, Opera */
        -moz-column-gap: 40px; /* Firefox */
        column-gap: 40px;
    }

    .csscolumns ul {
        -webkit-column-break-inside: avoid;
        page-break-inside: avoid;
        break-inside: avoid;
    }

    .smallfeatimg {
        float: left;
        margin: 0 0 20px 0px;
    }

    .img-caption {
        display: block;
        font-style: italic;
        font-size: 0.8rem;
        text-align: left;
		background-color:#000;
		padding:5px;
		color:#fff;
		margin-bottom:var(--default-margin-bottom);
		
    }
	
.entry-featured-image {
  text-align: center;
}

.entry-featured-image-no-caption {
  margin-bottom:var(--default-margin-bottom);
}

.entry-featured-image img {
  height: auto;
  max-width: 100%;
}


	
	blockquote {
		margin-bottom:var(--default-margin-bottom);
		
	}
	
	blockquote p {
		color: #201919 !important;
		font-style: italic;
		font-size: 1.1rem;
		font-weight:600;
	}

}

/************************************************************************************
Larger than 1024
*************************************************************************************/
/***** Large. *****/
@media screen and (min-width: 1024px) {
   
    .footerpad {
        padding: 20px 0px 10px;
    }
	
	footer {
			margin-top:0px;
	}

    /***** Full Screen Search. *****/
    .search-overlay-trigger .fa {
        line-height: 37.5px;
    }

    .search-overlay input[type=search] {
        width: 750px;
        font-size: 50px;
        line-height: 50px;
    }

    .search-overlay .fa-times-circle {
        top: 20px;
        font-size: 50px;
        line-height: 50px;
    }

    .search-submit .fa {
        font-size: 100px;
        line-height: 100px;
    }


    .hostelcols {
        width: 20%;
    }



    .newsstripthumb {
        width: 200px;
        height: 100px;
        margin-right: 10px;
    }

    .newsstrip .featboxpadding {
        
        float: right;
        width: calc(100% - 220px);
    }

   
    .searchbox span {
        padding-right: 17px;
        border-right: 1px solid #000;
        margin-right: 17px;
    }

    .searchbox p {
        line-height: 30px;
    }

    .sidesearchlinks ul li {
        width: 100%;
        display: block;
    }

    .sidesearchlinks ul li:first-child {
        border-bottom: 1px solid #fff;
        border-right: 0px;
        margin-right: 0px;
    }

    .bx-controls-direction {
        display: block;
    }

    .csscolumns:not(.twocols) {
        -webkit-column-count: 3; /* Chrome, Safari, Opera */
        -moz-column-count: 3; /* Firefox */
        column-count: 3;
        -webkit-column-gap: 35px; /* Chrome, Safari, Opera */
        -moz-column-gap: 35px; /* Firefox */
        column-gap: 35px;
    }

    .mainbody .small-12.medium-6.columns:nth-child(2n+3) {
        clear: none;
    }

    .mainbody .small-12.medium-6.columns:nth-child(3n+4),
    .mainbody .small-12.large-3.columns:nth-child(4n+3) {
        clear: left;
    }

}
