/*===========================================*/
/*	DESKTOP LAYOUT 
/*===========================================*/


/*@media (min-width: 1200px) {
	

}
@media (min-width: 992px) and (max-width: 1199px) {
	
}

@media (min-width: 992px) {
		
}*/

/*===========================================*/
/*	MOBILE & TABLET COMMON
/*===========================================*/
/*@media (min-width: 200px) and (max-width: 991px) {
	
}*/


/*===========================================*/
/*	TABLET
/*===========================================*/
/*@media (min-width: 768px) and (max-width: 991px) {

}*/


/*===========================================*/
/*	MOBILE
/*===========================================*/
/*@media (min-width: 200px) and (max-width: 767px) {
	
}
@media (min-width: 600px) and (max-width: 767px) {
}
@media (min-width: 480px) and (max-width: 599px) {

}
@media (min-width: 200px) and (max-width: 479px) {

}*/

.text-overlay,
.ratio-box-content {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.text-overlay {
    text-align: center;
    color: #fff;
    padding: 1rem;
}

.square {
    display: block;
    width: 100%;
    height: 0;
    padding-bottom: 100%;
}

.ratio-box {
    display: block;
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 41.67%;
}

@media (orientation: landscape) {

    .only-vertical {
        display: none;
    }

}

@media (orientation: portrait) {

    .only-horizontal {
        display: none;
    }

    .ratio-box {
        padding-bottom: 125%;
    }

}
