/*
Theme Name: Salient Child Theme
Description: This is a custom child theme for Salient
Theme URI:   https://themeforest.net/item/salient-responsive-multipurpose-theme/4363266
Author: ThemeNectar
Author URI:  https://themeforest.net/user/themenectar
Template: salient
Version: 1.0
*/


/* SaaS partners page */

.grid-heading{
  margin-top: -6vw !important;
}

/* grid borders images */

.grid-heading .row-bg-wrap{
  overflow-y:visible;
}

.grid-heading .row-bg-wrap:before{
  content:'';
  position: absolute;
  left: -10px;
  height: 530px;
  bottom: -160px;
  width: 110px;
  display: block;
  background: url(https://consoleconnect.inter.scot/wp-content/uploads/2020/11/top-margin-line@1X.png);
  background-size: 100% 100%;
  background-repeat: no-repeat;
  top: unset;
  z-index: 999;
}

.grid-border-bottom{
  position: absolute;
  bottom: 0;
  width: 100vw;
}

.grid-border-bottom:after{
  content: '';
  background: url(https://consoleconnect.inter.scot/wp-content/uploads/2020/11/bottom-margin-line@1X.png);
  width: 520px;
  height: 165px;
  display: block;
  bottom: 40px;
  right: -10px;
  position: absolute;
}
/* grid search */

.grid-search-wrapper{
  text-align: center;
}

#grid-search{
  max-width: 540px;
}
/*
.page-template-saas-partners #footer-outer{
display: none;
}
*/
.partners-grid{
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  margin-top: 20px;
  position: relative;
  padding-bottom: 100px;
}

.partners-grid::before{
  content:'';
}

.partner-item{
  padding: 12px;
  flex: 1 0 33%;
  max-width: 33%;
  align-self: stretch;
}

.partner-item .vc_column-inner{
  border-radius: 10px;
  border: 2px solid #0098ff6e;
  padding: 15px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.grid-item-image{
  padding: 30px 30px 0;
}

.grid-item-image img{
  height: 100px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin: auto;
}

.grid-item-title{
  /* margin-top: 24px;
  margin-bottom: 5px !important;
  padding: 0 20px;
  font-size: 23px;*/
  display: none;
}

.grid-item-text{
  border-top: 3px solid rgb(112, 254, 241);
  padding: 10px 20px 0;
  font-size: 16px;
  color:#16263F;
  margin-top: 40px;
}

.grid-item-list{
  list-style-type: none;
  margin: 15px 0 0;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.grid-item-list > div{
  padding-right: 20px;
  padding-bottom: 20px;
  max-width: 25%;
  cursor: pointer;
}

.grid-item-list li:last-child{
  margin-right: 0;
}

.grid-tooltip-wrapper{
  position: relative;
}

.grid-tooltip{
  position: absolute;
  transform: translate(-50%, -60%);
  top: -50%;
  left: calc(50% - 10px);
  background: #16263f;
  color: white;
  font-size: 12px;
  text-align: center;
  line-height: 1.4em;
  width: auto;
  padding: 10px;
  opacity:0;
  transition: 0.4s all;
  white-space: nowrap;
  border-radius: 4px;
}

.grid-tooltip:before{
  display: block;
  width: 0;
  height: 0;
  border: inset .75rem;
  content: '';
  border-bottom-width: 0;
  border-top-style: solid;
  border-color: #16263f transparent transparent;
  top: 96%;
  bottom: auto;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
}

.grid-tooltip-wrapper:hover .grid-tooltip{
  opacity: 1;
}

.grid-item-link{
  display: inline-block;
  margin: 10px 20px 20px;
  text-decoration:none;
  color: #FF276F;
  font-size: 16px;
}

@media (max-width: 690px){
  .partner-item{
    padding: 12px;
    flex: 1 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 998px) and (min-width: 690px){

  .partner-item{
    padding: 12px;
    flex: 1 0 50%;
    max-width: 50%;
  }

  .grid-item-title,
  .grid-item-list{
    padding: 0;
  }

  .grid-item-text{
    padding: 10px 0 0;
  }

  .grid-item-link{
    margin-left: 0;
  }

}

@media (max-width: 574px){
  body.page-template-saas-partners h1{
    font-size: 20px;
  }
}

/* top line */

@media (max-width: 868px){

  .grid-heading .row-bg-wrap:before {
    height: 330px;
    bottom: -60px;
    width: 60px;
  }

}

@media (max-width: 574px){

  .grid-heading .row-bg-wrap:before{
    height: 230px;
    bottom: 20px;
    width: 40px;
  }

}

@media (max-width: 574px){

  .grid-heading .row-bg-wrap:before{
    left: -20px;
    width: 30px;
  }

  .grid-item-text{
    padding: 10px 10px 0;
  }

  .grid-item-list{
    padding: 0 10px;
  }

  .grid-item-link{
    margin: 10px 10px 20px;
  }

  .grid-item-list div {
    padding-right: 15px;
    padding-bottom: 15px;
  }

}

/* bottom line */

@media (max-width: 1030px){

  .grid-border-bottom:after {
    width: 420px;
    height: 165px;
    background-size: contain;
    background-repeat: no-repeat;
  }
}

@media (max-width: 574px){

  .grid-border-bottom:after {
    width: 320px;
    height: 130px;
    display: block;
    bottom: 20px;
  }
}

@media (max-width: 380px){

  .grid-border-bottom:after {
    width: 220px;
    height: 110px;
  }

}

/* MEGA MENU */


.menu-custom-text{
  display:none !important;
}

@media (min-width: 1031px){


  body #top nav >ul >.megamenu >.sub-menu{
    width: 100% !important;
    max-width: 700px !important;
    display: flex;
    flex-direction: column;
  }

  body #top nav >ul >.megamenu >.sub-menu > li{
    display:flex;
    width: 100%;

    /*  opacity: 1 !important;*/
  }

  body #top nav >ul >.megamenu >.sub-menu > li > .sf-with-ul{
    float: left;
  }

  body #top nav >ul >.megamenu >.sub-menu > li > .sub-menu{
    float: left;
    display: flex;
  }

  body #top nav >ul >.megamenu >.sub-menu > li > .sub-menu > li{
    width: 100%;
    float: left;
  }

  body #top nav >ul >.megamenu >.sub-menu > li > .sub-menu > a{
    width: 33%;
    float: left;

  }

  body #top nav >ul >.megamenu >.sub-menu > li > a:hover {
    background-color:red !important;
  }

  body #top nav >ul >.megamenu >.sub-menu >li > a:hover ~ .sub-menu {
    visibility: visible;
    opacity: 1;
  }

  body #top nav >ul >.megamenu >.sub-menu >li > a:hover ~ .sub-menu{

  }

  .secondLevel{
    display:none;
  }

  .showSecond ~ .sub-menu .secondLevel{
    display:flex;
  }

  body #top nav >ul >.megamenu  >ul li.secondLevel  > .sub-menu{
  display:none !important;}

  body #top nav >ul >.megamenu >ul li.secondLevel .showThird ~ .sub-menu {
    display:flex !important;
  }

  body #top nav >ul >.megamenu >ul li.secondLevel .showThird ~ .sub-menu,
  body #top nav >ul >.megamenu >ul li.secondLevel > .sub-menu{
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
  }

  .secondLevel:first-child:after{
    content:'';
    height: 1000px;
    width: 0.5px;
    position: absolute;
    background-color: white;
    left: calc(22px + 50%);
    top: 0;
  }

  #header-outer #top nav >ul >.megamenu >ul >li a{
    align-self: flex-start;
  }

  body #top nav >ul >.megamenu >.sub-menu > li > .sub-menu > li > a{
    min-width: 50%;
    max-width: 50%;
    float: left;
  }

  body #top nav >ul >.megamenu >.sub-menu > li:not(:first-child){
    padding-left: 0 !Important;
  }

  body #top nav >ul >.megamenu >.sub-menu > li > .sub-menu > li > .sub-menu{
    max-width: 50%;
    min-width: 50%;
    float: left;
  }
  body #top nav >ul > .megamenu .firstLevel{
    border-right: none !important;
  }

  body #top nav >ul > .megamenu .firstLevel > .sub-menu li{
    z-index:999 !Important;
  }

  .firstLevel > a,
  .secondLevel > a{
    width: 100%;
  }

  .secondLevel > .sub-menu a{
    margin-left: 24px !important;
  }

  .showSecond:before,
  .showThird:after{
    content: '';
    position: absolute;
    right: 0;
    top: 10px;
    width: 10px;
    height: 10px;
    background-color: #0098ff;
    border-top: 1px solid white;
    border-right: 1px solid white;
    z-index: 1;
    right: -14px;
    transform: rotate(45deg);
  }

  .showSecond.hide-arrow:before,
  .showThird.hide-arrow:after{
    display: none;
  }

  .showSecond:before{
    right: -15px;
  }

  /* WIDTH */
  body #top nav >ul >.megamenu >.sub-menu{
    box-sizing: border-box !important;
    width: 940px !important;
    max-width: 940px !important;
  }

  /* helper */
  .sf-menu .desktop-menu > .sub-menu > .menu-item{
    position:absolute !important;
  }

  #top nav ul >.desktop-menu > .sub-menu > .menu-item.firstLevel{
    width: 340px !important;
    max-width: 340px !important;
  }

  #top nav ul > .desktop-menu > .sub-menu > .menu-item.firstLevel > .sub-menu{
    width: 550px !important;
    max-width: 550px !important;
    left: 340px !important;
    position:absolute;
  }

  #top nav ul > .desktop-menu > .sub-menu{
    /* top: 60px !important;
    opacity: 1  !important;
    z-index: 99999 !Important;
    */
    border-top: 20px solid #0098ff !important;
    border-bottom: 30px solid #0098ff !important;
    overflow: hidden;
  }

  #top nav ul > .desktop-menu > .sub-menu > li:first-child:after{
    content:'';
    width: 1px;
    height: 500px;
    background: white;
    position: absolute;
    right: 0;
    top: 0;
  }

  #header-outer #top nav >ul >.megamenu >ul >li a{
    margin-bottom: 6.5px !important;
  }

  /*
  .megamenu .sub-menu .menu-item{
  opacity: 1 !important;
  }*/

  .firstLevel sup{
    position: absolute;
    top: 0;
  }

  /* removing dot */

  body:not([data-header-format="left-header"]) #top nav > ul >.megamenu > .sub-menu > li > .sub-menu > li > a:before{
    display: none !important;
  }

  /* menu custom text */



  .menu-custom-text{
    position: absolute !important;
    min-width: calc(100% - 50px - 150px - 50% ) !important;
    width: calc(100% - 50px - 145px - 50% ) !important;
    top: 0;
    padding: 0 20px !important;
    padding-left: 20px !important;
    display: block !important;
    z-index: 9999999;
  }

  .menu-custom-text.block-0{
    right: 30% !important;
  }

  .menu-custom-text.block-1{
    right: 0 !important;

  }

  .menu-custom-text.hide{
    display: none !important;
  }

  .menu-custom-text:before{
    /*   content:'';
    height: 1000px;
    width: 1px;
    background: white;
    position: absolute;
    left:0;
    top: 0;*/
  }

  .menu-custom-text p{
    font-weight: lighter !important;
    color: white !important;
    letter-spacing: 0.2px !important;
    font-size: 14px !important;
    /* pointer-events: none !important; */
    line-height: 23px !important;
  }
  
  .menu-custom-text a {
    padding-left: 0 !important;
    color: white !important;
  }
  
  #top nav > ul > .megamenu > ul .menu-custom-text a:hover {
    background-color: inherit !important;
  }

}

/* TablePress CSP tables */

.tablepress.tablepress-locations thead th{
  background-color: white;
  color: #003e52;
  opacity: .5;
  font-weight: 400;
  font-size: 14px !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-family: Roboto;
  padding-bottom: 0 !important;
  padding-left: 0 !important;
  padding-right: 20px !important;
}
/*commented in reskin*/
/*.tablepress.tablepress-locations thead tr{
  border-bottom: 1px solid #ddd2ff !important;
}*/

.tablepress.tablepress-locations tr{
  background-color: white !important;
}

.tablepress.tablepress-locations tr td{
  font-weight: lighter;
  font-size: 20px !important;
  color: #003e52;
  font-family: Montserrat;
  letter-spacing: -.5px;
  line-height: 30px;
  padding-left: 0 !important;
  padding-right: 20px !important;
}

.tablepress.tablepress-locations tbody tr:first-child td{
  padding-top: 20px !important;
}

.tablepress.tablepress-locations tbody tr td:last-child{
  font-family: 'Roboto';
  font-weight: 400;
  color: #003e52;
  opacity: .5;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 14px !important;
  line-height: 25px;
}

.tablepress.tablepress-locations tbody tr td{
  position: relative;
}

.tablepress.tablepress-locations tbody tr td:empty{
  opacity: 1 !important;
}

.tablepress.tablepress-locations tbody tr.show-line{
  position: relative;
}

.tablepress.tablepress-locations tbody tr.show-line td:not(.column-1){
  display: none;
}

.tablepress.tablepress-locations tbody tr.show-line:before{
  content:'';
  position: absolute;
  display: block;
  width: 100%;
  height: 1px;
  background-color: #ddd2ff ;
  box-sizing: border-box;
  margin-top: 15px;
}

@media (max-width: 998px){
  
  .tablepress.tablepress-locations thead{
    display: flex; 
    width: 100%; 
    margin-bottom: 20px;
  }
  
  .tablepress.tablepress-locations thead tr{
    width: 100%;
  }
  
  .tablepress.tablepress-locations thead th {
    display: none;
  }
  
  .tablepress.tablepress-locations tbody{
    margin-top: 20px;
  }
  
  .tablepress.tablepress-locations tbody tr{
    display: block;
    margin-bottom: 20px;
  }
  
  .tablepress.tablepress-locations tbody tr td,
  .tablepress.tablepress-locations tbody tr:first-child td{
    padding: 0 !important;
  }
  
  .tablepress.tablepress-locations tbody tr td.column-1{
    width: 100%;
  }
  
  .tablepress.tablepress-locations tbody tr td.column-2,
  .tablepress.tablepress-locations tbody tr td.column-3,
  .tablepress.tablepress-locations tbody tr td.column-4,
  .tablepress.tablepress-locations tbody tr td.column-5{
    display: inline-block;
  }
  
  .tablepress.tablepress-locations tbody tr td.column-3{
    vertical-align: bottom;
    margin-left: 20px;
  }
  
  .tablepress.tablepress-locations tbody tr.show-line td{
    margin-left: 0 !important;
    width: 100%;
  }
  
  .tablepress.tablepress-locations tbody tr.show-line:before{
    margin-top: 0;
  }
  
  .tablepress-mobile-hide-lastcol tr td:last-child{
    display: none;
  }

}

@media (max-width: 580px){
  
  .tablepress.tablepress-locations tbody tr td.column-2,
  .tablepress.tablepress-locations tbody tr td.column-3,
  .tablepress.tablepress-locations tbody tr td.column-4,
  .tablepress.tablepress-locations tbody tr td.column-5{
    display: block;
  }
  
  .tablepress.tablepress-locations tbody tr td.column-3{
    vertical-align: unset;
    margin-left: 0;
  }
  
  .tablepress.tablepress-locations tbody tr.show-line td:before {
    top: 0;
  }
  
  .tablepress.tablepress-locations tbody tr.show-line td{
    padding-bottom: 1px !important;
  }
  
  .tablepress-tablepress-locations tbody tr td{
    
  }
  
}

/* End TablePress CSP tables */

#page-header-wrap {
	z-index: 2;
	background-color: #353d54 !important;
}
/*Accordion style for privacy policy page*/
.accordion-for-page .icon-plus-sign:before{
    content: '\f078' !important;
    font-family: FontAwesome;
    font-size: 14px;
}
.accordion-for-page .icon-minus-sign:before{
    content: '\f077' !important;
    font-family: FontAwesome;
    font-size: 14px;
}
.accordion-for-page .toggle h3 a i {
    position: absolute;
    right: 0;
    left:-13px;
    /* background-color: transparent; */
    color: #888;
    top: 13px;
    width: 100%;
    height: 16px;
    line-height: 18px;
    font-size: 15px;
    transition: all 0.2s linear;
    -webkit-transition: all 0.2s linear;
    text-align: end;
}
.accordion-for-page .toggle h3 a {
    padding-left:10px !important;
}
.accordion-for-page .vc_column-inner{
        border: 1px solid #d5dbdb;
    border-bottom: 0;
    border-radius: 3px;
}
.accordion-for-page .toggle{
    color: #333 !important;
    background-color: #f7f7f7;
    border-bottom: 1px solid #d5dbdb;
    margin-bottom:0px !important;
}

.accordion-for-page .toggle p, .accordion-for-page .toggle li{
    color: #353d54;
}
.accordion-for-page div[data-style="default"] .toggle h3 a, div[data-style="default"] .toggle h3 {
    font-size:28.9px;
    line-height: 14px;
    background-color: #f7f7f7;
    color: #353d54;
    font-weight:500;
    text-transform:uppercase;
}