/*
Theme Name: Beaver Builder Child Theme
Theme URI: http://www.wpbeaverbuilder.com
Version: 1.0
Description: An example child theme that can be used as a starting point for custom development.
Author: The Beaver Builder Team
Author URI: http://www.fastlinemedia.com
template: bb-theme
*/

/* Add your custom styles here... */ 

/** button animations across entire site **/

.fl-builder-content .fl-button, .fl-builder-content .fl-button * {
    transition: all 0.2s linear !important;
    -moz-transition: all 0.2s linear !important;
    -webkit-transition: all 0.2s linear !important;
    -o-transition: all 0.2s linear !important;
}


.fl-menu .menu-item *, .uabb-creative-menu .menu-item *{
    transition: all 0.2s linear !important;
    -moz-transition: all 0.2s linear !important;
    -webkit-transition: all 0.2s linear !important;
    -o-transition: all 0.2s linear !important;
}

/** 

Room layout with responsive wizardry

This moves the single room layout between one column and two col layout.

It also moves the picture from being under the heading to being in a col of it's own.

**/

.one-room .fl-col-content {
    display: flex;
    flex-direction: column;
    height: 710px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

/* image on right*/

.one-room-img-right .fl-col-content .fl-module-photo{
    order: 60;
    width: 46%;
   /*height: 400px;*/
}
.one-room-img-right  .fl-col-content .fl-module-heading{
    order: 20;
    width: 50%; 
}
.one-room-img-right  .fl-col-content .fl-module-rich-text{
    order: 30;
    width: 50%; 
}
.one-room-img-right  .fl-col-content .fl-module-separator{
    order: 30;
    width: 50%; 
}
.one-room-img-right .fl-col-content .fl-module-button{
    order: 50;
    width: 50%; 
}

/* image on left*/

.one-room-img-left .fl-col-content .fl-module-photo{
    order: 0;
    width: 46%;
    height: 100%;
    margin: auto;
    display: flex;
    align-items: center;
}
.one-room-img-left  .fl-col-content .fl-module-heading{
    order: 0;
    width: 50%; 
}
.one-room-img-left  .fl-col-content .fl-module-rich-text{
    order: 0;
    width: 50%; 
}
.one-room-img-left  .fl-col-content .fl-module-separator{
    order: 0;
    width: 50%; 
}
.one-room-img-left .fl-col-content .fl-module-button{
    order: 0;
    width: 50%; 
}

@media (max-width:992px){

   
.one-room .fl-col-content {
    display: flex;
    flex-direction: column;
    height: unset;
    justify-content: flex-end;
    flex-wrap: wrap;
    background: #ffffff;
}
.one-room .fl-col-content .fl-module-photo{
    order: 10;
    width: 100%;
    height: initial;
    /* object-fit: cover; */
    min-width: 100%;
}
.one-room .fl-col-content .fl-module-photo img{
      max-height: 300px;
      object-fit: cover;
      width: 100vw;
      /* height: 300px; */
}
.one-room .fl-col-content .fl-module-heading{
    order: 20;
     width: 100%;
}
.one-room .fl-col-content .fl-module-rich-text{
    order: 30;
     width: 100%;
}
.one-room .fl-col-content .fl-module-separator{
    order: 30;
     width: 100%;
}
.one-room .fl-col-content .fl-module-button{
    order: 50;
     width: 100%;
}
}
