/* Template.CSS by Mohamad Kredly ©2020 */
/* This is the CSS of the blocks and not the whole page, there's some CSS in the theme */


/*--Header--*/
/*--HDF LOGO--*/
.navbar .logo, .navbar img, .navbar svg {
    width: 250px;
    height: auto;
}

.navbar-toggle  {
  margin-right: 30px;
}

@media (max-width: 361px) {
  .navbar .logo, .navbar img, .navbar svg {
    width: 100%;
    padding-right: 15px;
  }
}

@media (min-width: 768px) {
  #navbar-collapse > div:first-of-type {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    height: 100%;
  }
  
  #navbar-collapse > div section:last-of-type {
    align-self: flex-end;
  }
  
}


/*-Sec Menu-*/
#block-hdfheadermenu {
 width: 100%;
}

.sec-menu { /* Table */
  float: right;
}

.sec-menu .btn {
  border: none;
  background: transparent !important;
}

.sec-menu .btn:first-of-type {
    outline: none;
    box-shadow: none;
    cursor: default;
}

.sec-menu tr td:nth-child(2) {
 width: 10em; 
}

.sec-menu tr td:nth-child(2):before, .sec-menu tr td:nth-child(2):after {
    content: "";
    position: absolute;
    height: 1em;
    border: solid thin lightgrey;
    border-top: none;
    border-bottom: none;
    margin-top: 0.25em;
    top: .4em;
}

.sec-menu tr td:nth-child(2):before {
    border-left: none;
    margin-left: -4em;
}

.sec-menu tr td:nth-child(2):after {
    border-right: none;
    margin-left: 4em;
}

/*-Menu and HDF-*/

.site-branding__logo img {
  width: 400px;
  height: auto;
}

/* Superfish css  */

ul.hdf-menu .sf-sub-indicator {
  left: 0;
}
ul.hdf-menu .sf-sub-indicator::after {
    content: "☰";
    color: lightgrey;
}
.hdf-menu:not(.sf-accordion) {
  width: 100%;
  float: none;
  display: table;
}
.hdf-menu:not(.sf-accordion) .sf-depth-1 {
  display: table-cell;
  float: none !important;
  color: black;
}
.hdf-menu .sf-depth-1:not(:last-of-type) {
  padding-right: 10px;
  padding: 0;
}
.hdf-menu:not(.sf-accordion) :not(.sf-depth-1) {
    font-size: 12px;
    width: 100%;
}

.hdf-menu-link {
  background: none !important;
  text-shadow: none;
  color: black !important;
  border-radius: 0px !important;
}
.hdf-menu-link.sf-depth-1 {
  padding: 1em 2.1em !important;
}
ul.hdf-menu .sf-sub-indicator {
    left: 1em;
}

.hdf-menu-link {
  margin: 0 !important;
}
.hdf-menu-li.sf-depth-1 {
 background-clip: content-box;
 background-color: white;
}

/* Hover */
.hdf-menu .sf-depth-1 {
  letter-spacing: .1em;
  transition: text-shadow .3s;
}

.hdf-menu .sfHover .sf-depth-1 {
  color: blue !important;
  text-shadow: 0 0 .9px #333, 0 0 .9px #333, 0 0 .9px #333;
}

.hdf-menu .sfHover.sf-depth-1 {
 background-color: #f5f5f5;
}

/* Submenus */
.hdf-menu .sf-multicolumn {
  background-color: rgba(245, 245, 245, .8);
}

/* Sub-submenus */
.hdf-menu-li:not(.sf-depth-1):not(.sf-depth-2) .hdf-menu-link:before {
    content: "";
    position: absolute;
    border-style: solid;
    border-right: #00a8c1;
    border-top: #00a8c1;
    border-width: 2px;
    height: 1.42em;
    width: 1.42em;
    bottom: 0.9em;
    display: block;
    left: -5px;
}

.hdf-menu-li:not(.sf-depth-1):not(.sf-depth-2) {
    padding-left: 30px;
}

.hdf-menu-li:not(.sf-depth-1):not(.sf-depth-2) .hdf-menu-link {
    color: #00a8c1 !important;
}

.menuparent:not(.sf-depth-1) ol li:not(:first-of-type) .hdf-menu-link:before {
    height: 2em;
}

ul.sf-menu li:hover > ul, ul.sf-menu li.sfHover > ul {
    top: auto;
}

ul.hdf-menu a, ul.hdf-menu span.nolink {
    padding: 0.5em 1.5em;
}

/* Fixing 
.sf-multicolumn {
  width: auto !important;
  padding-top: 10px !important;
}

.sf-multicolumn .sf-multicolumn-wrapper {
  margin-bottom: 0 !important;
}
*/

  /*----------
.hdf-menu .sf-depth-1:nth-of-type(3) > ul {
  left: -75rem;
}

.hdf-menu .sf-depth-1:nth-of-type(3) ul .sf-multicolumn-wrapper > ol {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  height: 25em;
}

*/

/*.hdf-menu .sf-depth-1:nth-of-type(3) ul .sf-multicolumn-wrapper ol > li {
  /*width: 300px !important;
}
*/


/*----------------------*/
/* End superfish  */

/*-- Footer --*/
.footer .platforms li {
    background-color:  rgba(255,255,255,0.4);
    border-radius: 50%;
}

.footer .platforms li a {
    color:#009CB6;
}

.footer .platforms li:hover {
    background-color: rgba(255,255,255,0.9);
    -webkit-transition: background-color 300ms linear;
    -ms-transition: background-color 300ms linear;
    transition: background-color 300ms linear;
}

.footer .platforms svg {
  font-size:3em;
  padding: 0.15em;
  width:1em;
}

a.hdf-footer-menu-link:after {
    content: "";
    display: block;
    height: 1px;
    background-color: white;
    margin-top: 5px;
}

a.hdf-footer-menu-link {
    letter-spacing: .1em;
}

a.hdf-footer-menu-link:hover, a.hdf-footer-menu-link:focus {
  text-decoration: none;
}