/*
 Theme Name:   Divi-child
 Theme URI:    http://www.tech360.ca
 Description:  Divi Child Theme for Colourphill
 Author:       David Rumsey
 Author URI:   http://www.tech360.ca
 Template:     Divi
 Version:      1.0.48
 License:      Restricted Copywrite tech360 2017
*/
#debug { color: #ff0000; background-color: #ffffff; position: fixed; left: 30px; top: 100px;
          border: 1px solid #0000ff; z-index: 1000; padding: 5px; width: 400px;}

.to-be-reviewed { color: #ec008b; }

body { font-family: 'Alice', serif; font-weight: 500;  }

/* animated buttons – remove padding above and below to make a slimmer button */
.anim-button, .anim-button:hover { padding-top: 0px !important; padding-bottom: 0px !important; }

/* general colour settings for links */
a { color: #4d4d4d; font-weight: 500; }
a:hover { color: #00a1dd; }

.grey-blue-link { color: #4d4d4d !important; }
.grey-blue-link:hover { color: #00a1dd !important; }

#main-header .container.et_menu_container {
  width: 80%;
  max-width: 80%;
}

/* add an underline to the active menu item */
#top-menu li.current-menu-item>a {border-bottom: 3px #00a1dd solid; padding-bottom: 5px !important; }
/* remove underline from PORTFOLIO menu item on home page */
#menu-item-567 a { border-bottom: none !important; }
/* add colour and underline to PORTFOLIO menu item on portfolio pages with the highlightMenuItem class */
.portfolioPage #top-menu #menu-item-567 a { 
  border-bottom: 3px #00a1dd solid !important; 
  padding-bottom: 5px !important; 
  color: #00a1dd !important;
  transition-property: none;
}

/*** Take out the divider line between content and sidebar ***/
#main-content .container:before {background: none;}
/*** Hide Sidebar ***/
#sidebar {display:none;}
/*** Expand the content area to fullwidth ***/
@media (min-width: 981px){
  #left-area {
      width: 100%;
      padding: 23px 0px 0px !important;
      float: none !important;
  }
}

/* --- HOME PAGE --- */
/* Portfolio tiles have been wrapped using javascript */
@keyframes zoomIn {
  0% {
    transform: translate(-50%, -50%) scale(0.1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}
@keyframes zoomOut {
  0% {
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    transform: translate(-50%, -50%) scale(0.1);
  }
}

.alt-wrap { 
  display: block;
  position: relative;
}
.alt-wrap > img {
  opacity: 1;
  transition: all 1000ms ease-in;
  transition-delay: 300ms;
}
/* The alt text itself will be added with js (done in a code module at the bottom of the page) */
.alt-wrap p.alt {
  position: absolute;
  opacity: 0; /* hide initially */
  top: 50%; left: 50%;
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1em !important;
  text-align: center;
  color: #dcd8d8;
  font-family: 'Alice',serif;
  line-height: 22px;
  transform: translate(-50%, -50%) !important;
  transition: all 700ms ease-in;
  animation: zoomOut 1s;
}

/* Hovering over the wrapper shows its alt p*/
.alt-wrap:hover > p.alt { 
  animation: zoomIn 700ms;
  opacity: 1;
  transition-delay: 0s;
}
.alt-wrap:hover > img { 
  opacity: 0.15;
  transition-delay: 0s;
}

/* --- ABOUT PAGE --- */

#client-list p { padding-bottom: 0.5em; }

/* change open toggle icon to down arrow, manage spacing of arrow block to line above */
.et_pb_toggle_open .et_pb_toggle_title:before {
  display: block !important;
  content: "3" !important;
  transform: rotate(180deg);
}
.accordion-toggle .et_pb_toggle .et_pb_toggle_title:before {
  content: '3';
  font-size: 36px;
  background-color: #818080;
  color: #ffffff;
  position: absolute;
  top: 10px;
  right: -20px;
  transition : transform .25s linear;
}

.allcaps { 
  text-transform: uppercase; 
  font-size: 0.9em; 
  font-weight: 500; 
}
.prpletxt { color: #372d7b; font-weight: 500; }


/* --- TEAM --- */

/* Team member roles */
#team-accordion .et_pb_toggle::before { margin-bottom: 10px; }
#team-accordion .et_pb_accordion_item .et_pb_toggle_title::after {
  white-space: pre-wrap;
  font-size: 22px;
  font-family: Ubuntu, sans-serif;
  vertical-align: top;
  color: #4d4d4d;
}
#team-accordion .et_pb_accordion_item_0 .et_pb_toggle_title::after {
  content: "\A PRINCIPAL, CREATIVE DIRECTOR";
}
#team-accordion .et_pb_accordion_item_1 .et_pb_toggle_title::after {
  content: "\A INFORMATION STRATEGIST, PRODUCER";
}
#team-accordion .et_pb_accordion_item_2 .et_pb_toggle_title::after {
  content: "\A SENIOR DESIGNER, WRITER";
}
#team-accordion .et_pb_accordion_item_3 .et_pb_toggle_title::after {
  content: "\A WEB DEVELOPER, UX + AODA SPECIALIST";
}
#team-accordion .et_pb_accordion_item_4 .et_pb_toggle_title::after {
  content: "\A SYSTEMS ARCHITECT, SaaS SPECIALIST";
}
#team-accordion .et_pb_accordion_item_5 .et_pb_toggle_title::after {
  content: "\A DESIGNER, VISUAL ARTIST";
}

/* --- PORTFOLIO PAGES --- */
.nav-button { color: #4d4d4d; font-size: 14px; }
.nav-arrow { font-weight: 500; font-size: 20px; }
.competencies { color: #00a1dd; font-weight: 500; }

/* --- FOOTER --- */
#main-footer { background-color: #ffffff !important; }
#footer-bottom { border-top: 1px #818080 solid; padding: 25px 0 30px; background-color: #ffffff !important; }
#footer-widgets { display: none; }
#footer-info { float: none; text-align: left; color: #818080; font-family: "Ubuntu",sans-serif; font-weight: 300; padding-top: 2px !important; line-height: 1.4em; }
#footer-info a { color: #00b052; }
#footer-info a:hover { color: #2caaee; }

.tech360 { color: #00b052 !important; font-weight: 600 !important; }
.tech360:hover { color: #3cdbff !important; }

/* MEDIA QUERIES */

/* iPad Landscape */
@media only screen and (max-width: 1024px) and (max-height: 768px) {
}
/* Tablet Breakpoint */
@media all and (max-width: 980px) {
  /* make the mobile menu fixed at the top */
  .et_non_fixed_nav.et_transparent_nav #main-header, .et_non_fixed_nav.et_transparent_nav #top-header, .et_fixed_nav #main-header, .et_fixed_nav #top-header {
    position: fixed;
  }
  
  /* Specify column stacking on mobile - wrap row in a flex box */
  .custom-order-row {
    display: -webkit-box;
    display: -moz-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-flex-wrap: wrap; /* Safari 6.1+ */
    flex-wrap: wrap;
  }
  .mobile-order-first {
    -webkit-order: 1;
    order: 1;
  }
  .mobile-order-second {
    -webkit-order: 2;
    order: 2;
  }
  .mobile-order-third {
    -webkit-order: 3;
    order: 3;
  }
  .mobile-order-fourth {
    -webkit-order: 4;
    order: 4;
  }
  .mobile-order-restack {
    width: 50%;
  }
  #team-accordion .et_pb_accordion_item .et_pb_toggle_title { padding-right: 10px; }
  #team-accordion .et_pb_toggle_open .et_pb_toggle_content { padding-left: 0px; }
  #team-accordion .et_pb_accordion_item .et_pb_toggle_title:after { font-size: 20px; }

}
/* mini tablet Landscape */
@media only screen and (max-width: 800px) and (max-height: 600px) {
}
/* iPad Portrait */
@media only screen and (max-width: 768px) and (max-height: 1024px) {
}
/* Mobile Breakpoint */
@media all and (max-width: 767px) {
  #team-accordion .et_pb_accordion_item .et_pb_toggle_title::after { font-size: 18px; }
}
/* iPhone 6+ Landscape */
@media only screen and (max-width: 736px) and (max-height: 414px) {
}
/* iPhone 6 Landscape */
@media only screen and (max-width: 667px) and (max-height: 375px) {
}
/* Samsung Portrait */
@media only screen and (max-width: 610px) and (max-height: 875px) {
}
/* mini tablet Portrait */
@media only screen and (max-width: 600px) and (max-height: 800px) {
}
/* mini tablet Portrait */
@media only screen and (max-width: 540px) {
  #team-accordion .et_pb_accordion_item::before {
    margin-right: 300px;
  }
}
/* special rule for narrow screens */
@media only screen and (max-width: 525px) {
    #footer-info { text-align: center; }
}
/* iPhone 5 Landscape */
@media only screen and (max-width: 568px) and (max-height: 320px) {
}
/* iPhone 4 Landscape */
@media only screen and (max-width: 480px) and (max-height: 320px) {
}
/* iPhone 6+ Portrait */
@media only screen and (max-width: 414px) and (max-height: 736px) {
    .mobile-order-restack {
    width: 100%;
  }
}
/* iPhone 6 Portrait */
@media only screen and (max-width: 375px) and (max-height: 667px) {
}
/* iPhone 5 Portrait */
@media only screen and (max-width: 320px) and (max-height: 568px) {
}
/* iPhone 4 Portrait */
@media only screen and (max-width: 320px) and (max-height: 480px) {
}





