:root{
   
    --primary-color-1:#3F4739;/*Black Olive (green)*/
--primary-color-2:#772E25;/*Burnt Umber (red)*/
--secondary-color-1:#EBECE3;/*Alabaster (soft sage)*/
--secondary-color-2:#FAF6EE;/*Floral White (has red hue)*/
--primary-accent-1:#797E74;/*Battleship Gray*/
--secondary-accent-1:#797E74;/*Battleship Gray*/
--soft-white:#fbfbf9; /*soft sage hue/white*/
}

/*---------------------------------Nav-------------------------------*/
.master-layout-1 #divMainMenu nav #main-menu>li a{
font-variant:small-caps ;
font-weight:700;
font-size:1.2em;
color:var(--primary-color-1);
}
.master-layout-1 .logo {
padding:0;
}
.master-layout-1.scrolled-head .logo {
padding:0;
}
.master-layout-1 #divMainMenu nav.showMobile #main-menu>li a.active-link{
    border-bottom: 2px solid var(--primary-color-1);
    color:var(--primary-color-2);
}
@media (pointer: fine) and (min-width: 1440px) {
    .master-layout-1 #divMainMenu {
        width: calc(100% - 500px);
    }
}
/*---------------------------------------Title and summary -------------------------------*/

section[id*="TitleAndSummary"] div[id*="divInnerWrap"]{
position:relative;
}

section[id*="TitleAndSummary"] div[id*="divInnerWrap"]:before{
content:'';
width:96%;
height:90%;
top:5%;
position: absolute;
z-index: 100;
border: 5px solid;
border-image-slice: 1;
 filter: drop-shadow(2px 2px 2px black);
border-image-source: linear-gradient(90deg, transparent 20%, var(--secondary-color-1) 44%, var(--primary-color-1) 85%);
border-left: 0;
right:2%;
}


section[id*="TitleAndSummary"].right-photo div[id*="divInnerWrap"]:before  { 
left:2%;
border: 5px solid;
border-image-slice: 1;
border-image-source:  linear-gradient(90deg, var(--primary-color-1) 0%, var(--secondary-color-1) 64%, transparent 85%);
border-right:0;



}
section[id*="TitleAndSummary"].right-photo.theme2 div[id*="divInnerWrap"]:before {
border-image-source:  linear-gradient(90deg, var(--secondary-color-2) 0%, var(--primary-color-2) 64%, transparent 85%);

}
section[id*="TitleAndSummary"].theme2 div[id*="divInnerWrap"]:before {
  border-image-source: linear-gradient(90deg, transparent 20%, var(--primary-color-2) 44%, var(--secondary-color-2) 85%);

}
section[id*="TitleAndSummary"].right-photo.theme3 div[id*="divInnerWrap"]:before {
border-image-source:  linear-gradient(90deg, var(--secondary-accent-1) 0%, var(--secondary-color-1) 64%, transparent 85%);

}
section[id*="TitleAndSummary"].theme3 div[id*="divInnerWrap"]:before {
border-image-source: linear-gradient(90deg, transparent 20%, var(--secondary-color-1) 44%, var(--secondary-accent-1) 85%);

}
section[id*="TitleAndSummary"].theme4 div[id*="divInnerWrap"]:before, section[id*="TitleAndSummary"].theme5 div[id*="divInnerWrap"]:before{
border:none;
}
@media (max-width:767px){
section[id*="TitleAndSummary"] div[id*="divInnerWrap"]:before,section[id*="TitleAndSummary"].right-photo div[id*="divInnerWrap"]:before {
 border-image-source: linear-gradient(180deg, var(--secondary-color-1) 0% , var(--primary-color-1) 44%, transparent 85% );
    border-bottom:0;
    border-right:5px solid;
    border-left:5px solid;
    border-top:5px solid;
}
 section[id*="TitleAndSummary"].theme2 div[id*="divInnerWrap"]:before, section[id*="TitleAndSummary"].right-photo.theme2 div[id*="divInnerWrap"]:before {
 border-image-source: linear-gradient(180deg, var(--primary-color-2) 0% , var(--secondary-color-2) 44%, transparent 85% );
}
 section[id*="TitleAndSummary"].theme3 div[id*="divInnerWrap"]:before,section[id*="TitleAndSummary"].right-photo.theme3 div[id*="divInnerWrap"]:before {
 border-image-source: linear-gradient(180deg, var(--secondary-color-1) 0% , var(--secondary-accent-1) 44%, transparent 85% );
}

}

/*---------------------------------------end of Title and summary -------------------------------*/
/*----------------------------------------------general tweaks---------------------------------------*/
.theme2 .theme-secondary blockquote a{
    color:var(--primary-color-2);
}
/*----------------------------------------------end of general tweaks-----------------------------*/
/*------------------------------Full width Ql-----------------------------*/
h3[id*="FullWidthQuickLink"].normal-font{
font-variant: small-caps;
border-bottom:3px solid;
 border-image-slice: 1;
 filter: drop-shadow(2px 2px 2px black);
border-image-source: linear-gradient(90deg, var(  --primary-accent-1) 30%, var(--secondary-color-1) 80%, transparent  100%);
}

/*------------------------------------------------Hero-Banner-widget-------------------------*/
@media (max-width:1024px){
section[id*="ImageBanner"].theme2{
    background:var(--primary-color-2);
}
section[id*="ImageBanner"].theme3{
    background:var(--primary-color-1);
}
section[id*="ImageBanner"].theme2 .duo-title, section[id*="ImageBanner"].theme3 .duo-title{
   color:white;
    border-bottom:2px solid white;
}
}
/*-------------------------------------------bizforms------------------------------------------------*/

.widget-bizform .form-table tr .header{
    background-color:var(--primary-color-2);
    color:white;
    font-size:1.3em;
    padding: 10px 5px;
   
}
.widget-bizform .form-table{
    width: 80%;
    margin: 0 auto;

}
.widget-bizform .form-table .form-table-value-cell{
    width: 50%;
}
.widget-bizform .FormPanel .EditingFormControlNestedControl .form-control{
   max-width: 450px;
}
.widget-bizform .form-table td{
    vertical-align: top ;
}
.widget-bizform .FormPanel{
    display: flex;
    flex-direction: column;
    align-items:center;
}
.widget-bizform .FormPanel .EditingFormLabel{
    text-align:left;
}
/*------------------------------------------end of bizforms-----------------------------------------*/


/*---------------------------------------------custom gallery-----------------------------------------*/
.modal-gallery-widget.theme5 .my-gallery  {
  width: 100%;
  padding: 1rem;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  grid-auto-rows: minmax(100px, 200px);
  grid-gap: 1rem;
  grid-auto-flow: dense;
}

.modal-gallery-widget.theme5 .my-gallery a{
  width: 100%;
  height: 100%;
  border-radius: 10px;
    max-width:100%;
}
.modal-gallery-widget.theme5 .my-gallery a img{
   object-fit: cover;
}
.modal-gallery-widget.theme5 .my-gallery  a:nth-child(1n) {
  grid-row: span 1;
}
.modal-gallery-widget.theme5 .my-gallery  a:nth-child(2n) {
  grid-column: span 2;
}

.modal-gallery-widget.theme5 .my-gallery  a:nth-child(3n) {
  grid-row: span 2;
}

.modal-gallery-widget.theme5 .my-gallery  a:nth-child(4n){

      grid-column: 2fr;
}
/*-----------------------------------------------custom gallery----------------------------------------*/

/*--------------------------------------------------Footer---------------------------------------*/
footer .header-social i.fa{
font-size:1.8em;
margin:5px;
}
footer a[id*="GDPR"]{
    background:var(--secondary-color-1);
    padding: 5px 10px;
    color:var(--primary-color-1);
}

footer a[id*="GDPR"]:hover{
    background:var(--primary-color-2);
    padding: 5px 10px;
    color:var(--secondary-color-2);
}
@media(max-width:768px){
footer div[id*="GDPR"] {
    margin: 10px 0;
}
}

