/*
Theme Name: 2Thousand
Theme URI: https:2thousand.co.uk
Description: Our theme is a foundation, we use this theme as a baseline in order to create modern and dynamic websites. We believe a website should be tailored. Each site we build, we build with the client in mind. Their very essence is engraved into each site.
Author: 2Thousand
Version: 1.1.0
License: GNU General Public License v3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html

2Thousand Wordpress Theme - 2thousand.co.uk
This theme, like WordPress is licensed under the GPL.
*/



/*------------------------------------General CSS------------------------------------*/
html {width:100%;scroll-behavior:smooth;}
#main {position: relative;min-height: 60vh;}
#headerMenu li {position: relative;}
a:hover {text-decoration: none;}


/*Header Styling*/
.myHeader {display: flex;align-items: center;justify-content: center;width: 100%;padding: 0 30px;}
.headerContainer {display: flex;align-items: center;justify-content: space-between;width: 100%;}
.headerItems {display: flex;justify-content: center;align-items: center;}
.headerLogo, .headerLogo img {max-width: 400px;max-height: 100px;display: inline-block;height: auto;width: auto;}
#headerMenu {margin: 0px;padding: 0px;list-style: none;display: flex;justify-content: center;align-items: center;position:relative;z-index:10;}
#headerMenu li a {padding: 10px 20px;display: block;text-wrap: nowrap;}
#headerMenu .sub-menu {display:block;list-style:none;padding:10px;position:absolute;left:0px;background:#fff;box-shadow:0px 3px 12px #0002;border-radius:10px;transform-origin:top;}
#headerMenu .sub-menu {opacity: 0;transform: translateX(-30px);pointer-events: none;}
#headerMenu .sub-menu.drop {animation: showMenu 0.6s forwards;}
#headerMenu .sub-menu.dropped {animation: hideMenu 0.6s forwards;}
.myHeader.static, .myHeader.reveal {position: relative;}
.myHeader.fixed, .myHeader.shrink, .myHeader.shift {position: fixed;z-index: 101;top: 0;}


@keyframes showMenu {
    0% {opacity: 0;transform: translateX(-30px);pointer-events: none;}
    100% {opacity: 1;transform: translateX(0px);pointer-events: all;}
}
@keyframes hideMenu {
    0% {opacity: 1;transform: translateX(0px);pointer-events: all;}
    100% {opacity: 0;transform: translateX(-30px);pointer-events: none;}
}

#myHamburger{width:40px;height:34px;cursor:pointer;display:flex;flex-direction:column;justify-content:space-between;align-items:center}
#myHamburger span{width:100%;height:6px;display:block;border-radius:12px;transition: 0.3s;transform:rotate(0deg);position:relative;caret-color: transparent;}
#myHamburger.open > span:not(:nth-child(2)) {width:0px;}
#myHamburger.open > span:nth-child(2) {transform: scaleX(1) rotate(45deg);}
#myHamburger > span:nth-child(2):before {content: "";width: 100%;height: 6px;transform: rotate(0deg);transition:transform 0.3s;position: absolute;top: calc(50% - 3px);left: calc(50% - 50%);;border-radius: 6px;}
#myHamburger.open > span:nth-child(2):before {transform: rotate(-90deg);}
.headerItems > * {margin-left: 20px;font-size: 18px;}

/*Footer CSS*/
.myFooter {padding: 90px 0 0;margin: 30px 0 0;}
.footerItems {display: flex;flex-direction: row;justify-content: space-between;align-items: start;max-width: 1600px;margin: 0px auto 90px;}
.footerItems > div {min-width: 180px;}
.footerItems i {margin-right: 6px;}
#footerMenu, #footerMenu .sub-menu {list-style: none;padding: 0;}
.myCopy {display: flex;justify-content: center;padding: 10px;background: #0001;}
.myCopy > p {margin: 0;padding: 0 6px 0;}
.myCopy > p:not(:last-child) {border-right: 1px solid #666;}

/*Button CSS*/
.myButton {
    padding: 10px 20px;
    margin: 0 10px 10px 0;
    display: inline-block;
}


/*------------------------------------2Thousand Widget CSS------------------------------------*/

/*Fifty Fifty CSS*/
.myFiftyFifty {
    display: flex;
    align-items: stretch;
    justify-content: center;
}
.panel-grid-cell > div:not(:last-child) .myFiftyFifty {
    margin-bottom: -30px;
}
.panel-grid-cell > div:nth-child(even) .myFiftyFifty {
    flex-direction: row-reverse;
}
.myFiftyImage {
    width: 50%;
    background-size: cover;
    background-position: center;
}
.myFiftyText {
    width: 50%;
    padding: 60px 30px;
}
.myFiftyFifty.fifty-vertical {
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}
.fifty-vertical .myFiftyText {
    width: 70%;
}
.fifty-vertical .myFiftyImage {
    width: 30%;
    min-height: 60vh;
    background-size: cover;
    background-position: center;
}
.fifty-slanted .myFiftyImage {
    width: 55%;
}
.fifty-slanted .myFiftyText {
    width: 45%;
}
.panel-grid-cell > div:nth-child(even) .fifty-slanted .myFiftyImage {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 10% 100%);
}
.panel-grid-cell > div:nth-child(odd) .fifty-slanted .myFiftyImage {
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0% 100%);
}
.fifty-faded .myFiftyImage {
    position: relative;
}
.fifty-faded .myFiftyImage:before {
    content: "";
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.panel-grid-cell > div:nth-child(odd) .fifty-faded .myFiftyImage:before {
    right: 0;
    background: linear-gradient(-90deg, #fff, #fff0);
}
.panel-grid-cell > div:nth-child(even) .fifty-faded .myFiftyImage:before {
    left: 0;
    background: linear-gradient(90deg, #fff, #fff0);
}
.fifty-threedee {
    perspective: 800px;
    transform-style: preserve-3d;
}
.fifty-threedee .myFiftyText {
    position: relative;
    z-index: 2;
    background: #fff;
    margin: 60px 0;
    box-shadow: 0 6px 12px #0004;
}
.panel-grid-cell > div:nth-child(odd) .fifty-threedee .myFiftyImage {
    transform: scale(1.2) rotateY(20deg);
    box-shadow: 0 6px 12px #0004;
    transform-origin: left;
}
.panel-grid-cell > div:nth-child(even) .fifty-threedee .myFiftyImage {
    transform: scale(1.2) rotateY(-20deg);
    box-shadow: 0 6px 12px #0004;
    transform-origin: right;
}
.fifty-overlapping .myFiftyText {
    background: #fff;
    position: relative;
    z-index: 2;
    box-shadow: 0 6px 12px #0004;
}
.panel-grid-cell > div:nth-child(odd) .fifty-overlapping .myFiftyText {
    margin: 60px 0px 60px -60px;
}
.panel-grid-cell > div:nth-child(even) .fifty-overlapping .myFiftyText {
    margin: 60px -60px 60px 0px;
}
.fifty-contained .myFiftyText {
    width: 66.66%;
}
.fifty-contained .myFiftyImage {
    width: 33.33%;
}
.fifty-offset .myFiftyText {
    width: 33.33%;
}
.fifty-offset .myFiftyImage {
    width: 66.66%;
}
.fifty-image_backed {
    position: relative;
}
.fifty-image_backed .myFiftyImage {
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    z-index: 0;
}
.fifty-image_backed .myFiftyText {
    position: relative;
    background: #fff;
    margin: 120px auto;
}

/*Modal CSS*/
.mymodalset {
    background: #eee;
    padding: 60px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    text-align: center;
}
.mymodalset > img, .mymodalpop > img {
    width: 300px;
    height: 300px;
    object-fit: cover;
    object-position: center;
}
.mymodalpopcontainer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transform: translateY(100vh);
    opacity: 0;
    transition: transform 0.6s, opacity 0.6s;
}
.mymodalpopcontainer.open {
    transform: translateY(0vh);
    opacity: 1;
}
.mymodalpop {
    position: relative;
    z-index: 2;
    max-width: 900px;
    background: #fff;
    box-shadow: 0 6px 12px #0004;
    padding: 60px;
}
.fixback {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0008;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.6s;
}
.mymodalpopback:hover {
    opacity: 1;
}
.mymodalpop:before {
    content: "+";
    position: absolute;
    top: -40px;
    right: -40px;
    background: #fff;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-radius: 60px;
    transform: rotate(45deg);
    font-size: 22px;
    padding-top: 1px;
    pointer-events: none;
}

/*My Gallery CSS*/
.myGallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: start;
}
.myGalleryItem {
    overflow: hidden;
    position: relative;
    margin: 0 6px 12px;
    object-fit: cover;
}
.landscapeGallery .myGalleryItem {
    aspect-ratio: 16 / 9;
}
.portraitGallery .myGalleryItem {
    aspect-ratio: 9 / 16;
}
.squareGallery .myGalleryItem {
    aspect-ratio: 1 / 1;
}


.myGallery > .myGalleryItem:last-child {margin-right: 0px;}

.threeColumns .myGalleryItem {width: calc(33.33% - 10px);}
.threeColumns > .myGalleryItem:nth-child(3n - 2) {margin-left: 0px;}
.threeColumns > .myGalleryItem:nth-child(3n - 0) {margin-right: 0px;}

.fourColumns .myGalleryItem {width: calc(25% - 10px);}
.fourColumns > .myGalleryItem:nth-child(4n - 3) {margin-left: 0px;}
.fourColumns > .myGalleryItem:nth-child(4n - 0) {margin-right: 0px;}

.fiveColumns .myGalleryItem {width: calc(20% - 10px);}
.fiveColumns > .myGalleryItem:nth-child(5n - 4) {margin-left: 0px;}
.fiveColumns > .myGalleryItem:nth-child(5n - 0) {margin-right: 0px;}

.sixColumns .myGalleryItem {width: calc(16.66% - 10px);}
.sixColumns > .myGalleryItem:nth-child(6n - 5) {margin-left: 0px;}
.sixColumns > .myGalleryItem:nth-child(6n - 0) {margin-right: 0px;}

















