/* ********************************************************************************************* */
/* DEFAULT STYLING ***************************************************************************** */
/* ********************************************************************************************* */

* {
    white-space: normal;
}
a {
    cursor: pointer;
    color: $color-prime;
    &:hover {
        text-decoration: none;
    }
}

/* ********************************************************************************************* */

img, iframe, video {
    max-width: 100%;
}

/* ********************************************************************************************* */

.bigger-wrap {
    max-width: 1600px;
}
.big-wrap {
    max-width: 1400px;
}
.wrap {
    max-width: 1200px;
}

/* Font Size and Family Adjustments ************************************************************ */

h1, h2, h4, h5 {
	font-family: $font-prime;
}
p, ul, ul li, ul li a, ol, ol li, ol li a {
	font-family: $font-third;
	font-size: 1.1rem;
}

.large {
    font-size: 3rem !important;
    @media screen and (max-width: $breaklrg){
        font-size: 2.75rem !important; /* originally 2.5rem */
    }
    @media screen and (max-width: $breakmed) {
        font-size: 1.75rem !important;
    }
    @media screen and (max-width: $breaksmall) {
        font-size: 1.5rem !important; /* originally 1.3rem */
    }
}
.med {
    font-size: 2.5rem !important; /* originally 3rem */
    @media screen and (max-width: $breakmed) {
        font-size: 1.4rem !important; /* originally 1.35rem */
    }
    @media screen and (max-width: $breaksmall) {
        font-size: 1.25rem !important; /* originally 1.1rem */
    }
}
.sml {
    font-size: 1.5rem !important;
    @media screen and (max-width: $breakmed) {
        font-size: 1.25rem !important; /* originally 1rem */
    }
    @media screen and (max-width: $breaksmall) {
        font-size: 1.0rem !important; /* originally 0.8rem */
    }
}

/* WebP Image Handling for the Banner ********************************************************** */

$positions: "top", "center", "bottom", "left", "right";

.bg-picture-container {
    position: relative;
}

.bg-picture {
    object-fit: cover;
    position: absolute;
    width: 100%;
    height: 100%;
}

@each $position in $positions {
    .bg-picture-#{$position} {
        @extend .bg-picture;
        object-position: #{$position};
    }
}

/* Defining Font Families ********************************************************************** */

.f-prime {
    font-family: $font-prime !important;
}
.f-second {
    font-family: $font-second !important;
}
.f-third {
    font-family: $font-third !important;
}

/* Defining Font Colors ************************************************************************ */

.primes {
    color: $color-prime !important;
}
.seconds {
    color: $color-second !important;
}
.thirds {
    color: $color-third !important;
}
.white {
    color: #FFFFFF !important;
}
.black {
    color: #000000 !important;
}
.shadows {
    text-shadow: 1px 2px 5px rgba(0, 0, 0, 0.2);
}
.upper {
    text-transform: uppercase !important;
}

.boxy-shadows {
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

/* Defining Background Colors ****************************************************************** */

.prime-bg-color {
    background-color: $color-prime !important;
}
.secondary-bg-color {
    background-color: $color-second !important;
}
.third-bg-color {
    background-color: $color-third !important;
}

/* Defining Paragraph Colors Based on Background Color ***************************************** */

.prime-bg-color, .secondary-bg-color, .third-bg-color {
    color: #FFFFFF;
    p {
        color: #FFFFFF !important;
    }
}

/* Font Awesome 5 Free Icon List Styling ****************************************************************** */

.checkmark-li, .dashed-li, .squared-li, .icon-li, .icon-no, .test-li {
    font-family: $font-third;
    font-weight: normal;
    font-size: 0.9rem;
    list-style-type: none;
    padding: 0;
    &::before {
        display: inline-block;
    }
    li {
        &::before {
            text-decoration: none;
            padding-right: 0.5rem;
            speak: none;
        }
    }
}
.checkmark-li {
    li {
        &::before {
            font-family: "Font Awesome 5 Free";
            content: '\e80f';
        }
    }
}
.dashed-li {
    li {
        &::before {
            font-family: "Font Awesome 5 Free";
            content: '\e830';
        }
    }
}
.squared-li {
    li {
        &::before {
            font-family: "Font Awesome 5 Free";
            content: '\f196';
        }
    }
}
.icon-li {
    li {
        &::before {
            font-family: "Font Awesome 5 Free";
            content: '\e80a';
        }
    }
}
.test-li {
    li {
        &::before {
            font-family: "Font Awesome 5 Free";
            content: fa-content($fa-var-grip-lines);
        }
    }
}

/* Icons for Overlay Title ********************************************************************* */
.checkmark-icon {
    font-family: "Font Awesome 5 Free";
    content: '\e80f';
}

/* Right Border on Columns ********************************************************************* */

#to-the-right {
    border-right: 1px solid rgba(0, 0, 0, 0.2);
    @media screen and (max-width: $breakmed) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.2);
        border-right: 0;
    }
}

/* Full Window Image Set Up ******************************************************************** */

.fullwindow {
	.row {
		filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#80000000', GradientType=0);
		background-color: rgba(0, 0, 0, 0.5);
		.col-12 {
			z-index: 2;
		}
	}
}

.overlay-vid {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	background: -webkit-linear-gradient(45deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.65) 50%, rgba(0, 0, 0, 0.5) 100%);
	background: -moz-linear-gradient(45deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.65) 50%, rgba(0, 0, 0, 0.5) 100%);
	background: linear-gradient(45deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.65) 50%, rgba(0, 0, 0, 0.5) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#80000000', GradientType=0);
}

#myvideo {
	overflow: hidden;
	object-fit: cover;
	position: absolute;
	bottom: 0;
	right: 0;
	min-width: 100%;
	min-height: 100%;
	z-index: 0;
}

.next-btn {
	text-align: right;
}

/* List Styling ******************************************************************************** */

ol {
    &.listbad {
        li {
            padding: 1%;
        }
    }
}
ul {
    &.listpad {
        li {
            padding: 1%;
        }
    }
}

/* ********************************************************************************************* */

.append-pipe > a:not(:last-child)::after {
    content: " \007C ";
}

/* ********************************************************************************************* */

#reviews #revList {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 15px;
}
@media screen and (max-width: 992px) {
    #reviews #revList {
        display: block;
    }
}

/* ********************************************************************************************* */

.gallthumbs {
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}
.thumbnail {
    margin: 0px !important;
}

/* ********************************************************************************************* */

a.skip-main {
    position: absolute;
    top: auto;
    left: -999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: -999;
    &:focus, &:active {
        background-color: #000000;
        color: #FFFFFF;
        top: auto;
        left: auto;
        width: 30%;
        height: auto;
        overflow: auto;
        margin: 10px 35%;
        padding: 5px;
        border-radius: 15px;
        border: 4px solid yellow;
        text-align: center;
        font-size: 1.2rem;
        z-index: 999;
    }
}

/* ********************************************************************************************* */
.ctasection {
	position:relative;
	z-index:2;
	div {
		position:absolute;
		background:$color-second;
		left:0;
		top:0;
		transform:translateY(-50%);
		@media screen and (max-width:$breaklrg) {
			width:100%;
			position:relative;
			transform:translateY(0);
		}
	}
}
.ctasectionr {
	position: relative;
	z-index: 2;
	div {
		position: absolute;
		background: $color-second;
		right: 0;
		top: 0;
		transform: translateY(-50%);
		@media screen and (max-width:$breaklrg) {
			width: 100%;
			position: relative;
			transform: translateY(0);
		}
	}
}

.boxers {
	position: absolute;
	z-index: 2;
	bottom: 0;
	left: 0;
	transform: translateY(55%);
	@media screen and (max-width:$breaklrg) {
		position: relative;
		transform: translateY(0);
		.box {
			margin-top: 5px;
			margin-bottom: 5px;
		}
	}
	.box {

	}
}
///* old mih style for articles and gallery 
/* Latest Articles Timeline Example *********************************************************** */
ul.timeline {
    list-style-type: none;
    position: relative;
    &::before {
        background-color: rgba(0, 0, 0, 0.2);
        display: inline-block;
        position: absolute;
        content: ' ';
        height: 100%;
        width: 2px;
        left: 29px;
        z-index: 10;
    }
    li {
        padding-left: 20px;
        margin: 20px 0;
        &::before {
            background-color: #FFFFFF;
            border: 2px solid $color-third;
            border-radius: 50%;
            display: inline-block;
            position: absolute;
            content: ' ';
            height: 20px;
            width: 20px;
            left: 20px;
            z-index: 10;
        }
    }
}
.timeline-title {
    font-family: $font-third;
    font-weight: normal;
    font-size: 1.25rem;
    text-transform: none;
    text-decoration: none;
    text-align: left;
    color: $color-second;
    transition: all 0.5s ease;
    &:hover {
        color: $color-third;
    }
}

/* Hover Images on index-menu-in-header.html Template ***************************************** */
.bordered-gallery-boxes {
    position: relative;
    overflow: hidden;
    img {
        width: 100%;
        height: auto;
        overflow: hidden;
        filter: brightness(1.0);
        transform: scale(1.05);
        transition: all 0.5s ease;
    }
    .gallery-box-border {
        position: absolute;
        bottom: 0px; left: 0px;
        width: 100%; height: 10px;
        overflow: hidden;
        background-color: $color-third;
        transition: all 0.5s ease;
        transform: translateY(10px);
    }
    .gallery-box-link {
        position: absolute;
        top: 0px;
        left: 0px;
        width: 100%;
        height: 40px;
        overflow: hidden;
        background-color: rgba(0, 0, 0, 0);
        transition: all 0.5s ease;
        transform: translateY(-40px);
        a {
            font-family: $font-second;
            font-weight: normal;
            font-size: 20px;
            line-height: 40px;
            width: auto;
            height: 50px;
            color: #FFFFFF !important;
            position: absolute;
            top: 5px;
            right: 20px;
            text-shadow: 2px 2px 1px rgba(0, 0, 0, 0.2);
        }
    }
    &:hover {
        img {
            transform: scale(1.1);
            filter: brightness(0.5);
        }
        .gallery-box-border, .gallery-box-link {
            transform: translateY(0px);
        }
    }
    @media screen and (max-width: 1024px) {
        /* Adjusting Image Hover Effects for iPad Pro Tablet Screen Sizes and Below */
        img {
            transform: scale(1.1);
            filter: brightness(0.5);
        }
        .gallery-box-border, .gallery-box-link {
            transform: translateY(0px);
        }
    }
}

/* ********************************************************************************************* */
