/*Special modifiers that can be used within layout builder, WYSIWYG, or anywhere else within the administrative interface to modify the layout*/
.flex{
    display: flex;
}
.flex-end{
    display: flex;
    justify-content: flex-end;
}
.flex-start{
    display: flex;
    justify-content: flex-start;
}
.flex-center{
    display: flex;
    align-items:center;
    justify-content: center;
}
.flex-wrap{
    flex-wrap: wrap;
}
.is-hidden{
    display: none;
}
.is-full-width{
    width:100%;
}
.padding{
    padding: 1em;
}
.no-padding{
    padding: 0;
}
.no-padding-left{
    padding-left: 0;
}
.no-padding-right{
    padding-right: 0;
}
.add-dark-overlay::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .1);
}
.show-only-on-desktop{
    display: block;
}
.show-only-on-mobile{
    display: none;
}
.link-decoration-none:hover, .link-decoration-none:visited{
    text-decoration: none;
}
/*---------------View modifiers---------------*/
/*Add border to a view*/
.view.gcrta-style-border{
    /* box-shadow:0 0 4px 0 rgb(111 117 135 / 35%); */
    box-shadow: 0 10px 30px -16px rgb(16 75 138 / 40%);
}
.view.gcrta-style-border-left{
    border-left: 8px solid #104B8A;
}
/*Remove margin between a View*/
.view.gcrta-style-views-no-margin{
    margin: 0;
}
/*View footer with arrow icon*/
.view.gcrta-style-footer .view-footer{
    text-align: right;
    background-color: #F4F4F4;
}
.view.gcrta-style-footer .view-footer a{
    font-size: 1.4em;
    line-height: 1.4;
    color: #3b3b3b;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    transition: all 300ms ease;
}
.view.gcrta-style-footer .view-footer a:hover{
    background-color: #104B8A;
    color: #ffffff;
}
.view.gcrta-style-footer .view-footer a .text{
    margin-right: 1em;
}
.view.gcrta-style-footer .view-footer a img.right-arrow-ico{
    padding: .44em 1em;
    background-color: #ffffff;
    border: 2px solid #104B8A;
}
/*HTML List with Dots Style*/
.view.gcrta-style-dots .views-field-title a{
    padding-left: 1.5em;
    color: inherit;
}
.view.gcrta-style-dots .views-field-title a:hover{
    background: none;
    color: inherit;
}
.view.gcrta-style-dots .views-field-title a::after{
    content: "";
    width: 12px;
    height: 12px;
    border: 2px solid #104B8A;
    border-radius: 100%;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: all 150ms ease;
    left: 0;
    background-color: white;
}
.view.gcrta-style-dots .views-field-title a:hover::after{
    background-color: #104B8A;
}
/*View with header*/
.view.gcrta-style-views-header .view-header{
    margin-left: -1em;
    margin-top: -1em;
}
.view.gcrta-style-views-header h2{
    border-left: 0;
    margin:0;
    top:0;
    left: 0;
    margin:0;
    padding: 1em;
    width:100%;
}
/*View table format with grouping as headers*/
.view.gcrta-style-grouping-headers table caption{
    background: linear-gradient( 45deg ,rgba(239,239,239,1),transparent);
    padding: 1em;
    margin: 0;
    margin-bottom: 1em;
    font-size: 1.2em;
    text-align: left;  
}
/*---------------View Unformatted List - Grid Style---------------*/
.view.gcrta-style-grid .view-content{
    display: grid;
}
.view.gcrta-style-grid .views-row:hover{
    background-color: #104B8A !important;
    color: #ffffff;
}
.view.gcrta-style-grid .views-row:hover a{
    color: #ffffff;
}
.view.gcrta-style-grid.grid-min-max-400 .view-content{
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
}
.view.gcrta-style-grid .views-row{
    background-color: #F8F8F8;
    height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.view.gcrta-style-grid .views-row:nth-child(even){
    background-color: #f1f1f1;
}
/*---------------Safety Management System---------------*/
/*Highlight Asterisk for documents tagged with "GCRTA Minimum Standard for Safety"*/
.safety-min-standard{
    color: #D7182A;
    font-size: 1.3em;
    margin-left: .50em;
    position: absolute;
}

/*---------------Keyframe Animations---------------*/
@keyframes scale {
    0% { opacity: 0; transform: scale(0); }   
  100% { opacity: 1; transform: scale(1); }
}
@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}
@keyframes slideInX {
    0% {
        width: 0;
    }
    100% {
        width: 80px;
    }
}
@keyframes growDown {
    0% {
      transform: scaleY(0)
    }
    /* 80% {
      transform: scaleY(1.1)
    } */
    100% {
      transform: scaleY(1)
    }
  }
@keyframes fadeiny {
    from {
        opacity: 0;
        transform: translateY(-30%);
   }
    to {
        opacity: 1;
        transform: translateY(0);
   }
}
@keyframes fadeinx {
    from {
        opacity: 0;
        transform: translateX(-30%);
   }
    to {
        opacity: 1;
        transform: translateY(0);
   }
}
@keyframes expand {
    from {
        letter-spacing: 0px;
   }
    to {
        letter-spacing: 1px;
   }
}
@keyframes fadeIn {
    0% {opacity:0;}
    100% {opacity:1;}
}
/* @keyframes float {
    0% {
      transform: translatey(0px);
    }
    50% {
      transform: translatey(-20px);
    }
    100% {
      transform: translatey(0px);
    }
  }
@keyframes float2 {
0% {
    line-height: 30px;
    transform: translatey(0px);
}
55% {
    transform: translatey(-20px);
}
60% {
    line-height: 10px;
}
100% {
    line-height: 30px;
    transform: translatey(0px);
}
} */
@keyframes lds-ring {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
}
/* @keyframes page-load {
    from {
        background-color: #ffffff;
    }
    to {
        background-color: rgb(215,24,42);
    }
} */
/*---------------Large Devices, Wide Screens---------------*/
@media only screen and (max-width : 1200px) {
/*---------------Layout Builder Template Modifiers----------*/
    .row.no-gutters-xl{
        margin-left: 0;
    }
    .show-only-on-desktop{
        display: none;
    }
    .show-only-on-mobile{
        display: block;
    }
}
 
/*---------------Medium Devices, Desktops---------------*/
@media only screen and (max-width : 992px) {
    .no-padding-lg{
        padding: 0;
    }
}
/*---------------Small Devices, Tablets---------------*/
@media only screen and (max-width : 768px) {
    .no-padding-sm{
        padding: 0;
    }
}
/*---------------Extra Small Devices, Phones---------------*/ 
/* Extra Small Devices, Phones */ 
@media only screen and (max-width : 480px) {
    .no-padding-xs{
        padding: 0;
    }
}