@media (min-width: 767px) {

  .navbar-header{
    float: none;
    z-index: 1;
  }

  .carousel-caption {
    background: rgba(0, 0, 0, 0.47);
    padding: 0 15px 30px 14px;
    font-size: 14px;
  }

  .carousel-caption h3{
    color: #fff;
  }

  .menu-base-theme a:hover,
  .menu-base-theme a:focus,
  .menu-base-theme a:active,
  .menu-base-theme a.highlighted{
    color: #000000;
    text-decoration: underline;
    background: #FFCD54;
  }

  .menu-members-theme a:hover,
  .menu-members-theme a:focus,
  .menu-members-theme a:active,
  .menu-members-theme a.highlighted{
    color: #FFFFFF;
    text-decoration: underline;
    background: #F04C29;
  }
  
  .menu-members-theme ul a:hover{
      color: white;
      background-color: #F04C29;
  }

  .region-primary-menu{
    background: #81CFD6;
    border-radius: 3px;
    width: 100%;
  /*  margin-top: 20px; */
  }

  .region-primary-menu,
  .menu-base-theme li a{
    background: #81CFD6;
  }

  .menu-members-theme li a{
    background: #F6A4B5;
  }

  .slideshow{
    display: block;
  }

  .main-menuwrap nav {
    background: #81CFD6;
  }

  .menu-base-theme a{
    border: 0;
  }

  .menu-members-theme a{
    border: 0;
  }

  .menu-base-theme > li{
    border: 0;
    background: #81CFD6;
    padding: 0 0 0 0;
  }

  .menu-members-theme > li{
    border: 0;
    background: #F6A4B5;
    padding: 0 0 0 0;
  }

  .menu-base-theme a span.sub-arrow {
    padding: 0;
    top: 50px;
    margin-top: 0;
    bottom: 2px;
    right: 8px;
    margin-left: -5px;
    left: auto;
    width: 0;
    height: 0;
    border-width: 4px;
    border-style: solid dashed dashed dashed;
/*    border-color: #999 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); */
    background: transparent;
  }

  .menu-members-theme a span.sub-arrow {
    padding: 0;
    top: 50px;
    margin-top: 0;
    bottom: 2px;
    right: 8px;
    margin-left: -5px;
    left: auto;
    width: 0;
    height: 0;
    border-width: 4px;
    border-style: solid dashed dashed dashed;
/*    border-color: #999 rgba(0, 0, 0, 0) rgba(0, 0, 0, 0) rgba(0, 0, 0, 0); */
    background: transparent;
  }

  .menu-base-theme ul {
/*    border: 1px solid #a8a8a8; */
    padding: 0;
    background-color: #81CFD6;
  }

  .menu-members-theme ul {
/*    border: 1px solid #a8a8a8; */
    padding: 0;
    background-color: #F6A4B5;
  }

  .menu-base-theme ul.has-submenu li {
  /*  border-bottom: 1px solid #fff; */
  }

  .welcome-banner-text h2{
    font-size: 50px;
  }

  .welcome-banner-text{
    font-size: 14px;
  }

  .bottom-widgets{
    text-align: left;
    padding: 50px 0;
  }

  .footerwidget{
    padding: 20px 0;
  }

  .social-media{
    float: right;
  }

  .social-media a{
    margin: 0 0 0 10px;
  }

  /*comment*/

  .comment-wrap .author-details{ width: 10%; }

  .comment-wrap .author-comments{ width: 90%;}
  
  #newsletters-classnews{
      position: absolute;
      top: -20px;
      left: 40vw;
  }
  
  /* BUTTON ON JOBS BOARD */
   #jobs-board-button{
       margin: 20px 0 0 40px;
   }
}

/* --- OPENS PHONE MEDIA QUERY --- */
@media only screen and (max-width: 600px) {
    
        body{
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    .container .row{
        padding-bottom: 50px;
    }
    #block-naclc-theme-branding{
        width: 100%;   
    }
    
   .region-topwidget-first{max-height: 400px;}
   
   /* Images */
   /*img{height: auto;}*/
   
   /* EMERGENCE LOGO ON FRONT PAGE OF WEBSITE */
   
   #block-emergenceonfrontpage{
       position: absolute;
       max-width: 80vw;
       margin: 0 auto;
       top: 1020px;
       background: #E6E6E6;
       border-radius: 20px;
       padding: 10px;
   }
   
#block-emergenceonfrontpage img{
    display: block;
    margin: -50px auto 0 auto;
    width:100%;
}
   
   #block-emergenceonfrontpage p:nth-child(2){
       text-align: center;
   }
   
   /* SOCIAL MEDIA FEEDS */
   
  /* #block-socialmediabackground, #block-fblikebox, #block-twitterblock-2{display: none;}*/
   /* THE LINE ABOVE THIS AND THE BLOCK BELOW ARE HIDING THE SOCIAL MEDIA FEEDS ON THE HOMEPAGE
   TO PUT THEM BACK ON THE HOMEPAGE DELETE THE LINE ABOVE AND UNCOMMENT THE BLOCK BELOW*/
  
  #block-socialmediabackground{
      display: block;
      width: 80vw;
      height: 1190px;
      top: 1500px;
      margin: 0 auto;
  }
  
  #block-fblikebox{
    margin: 620px auto;
    transform: scale(0.8);
    display: block;
    top: 860px;
    right: 0;
      left: 0
  }
  
  #block-twitterblock-2{
      display: block;
      position: absolute;
      width: 288px;
      margin: 1180px auto;
      top: 870px;
      right: 0;
      left: 0;
  }
  
  #block-twitterblock-2 iframe{
      max-width: 275px;
  }
  
  .path-frontpage .copyright{
      position: relative;
      margin-top: 1420px;
  } 
  .footerwidget{display: none;} 
   
   /* BUTTON ON JOBS BOARD */
   #jobs-board-button{
       position: absolute;
       top: 31vw;
       left: 30vw;
   }
   
  input, .form-item {
      margin-left: 10px;
      width: 90%;
  }
   textarea{
       margin-left: 10px;
      width: 111%;
   }
   
  
   /* MEMBERS PORTAL BUTTON */
   
   /* REMOVES SIDE WOBBLE ON SMARTPHONES */
   .container .row{
       margin: 0;
   }
   
   /* REMOVES SIDE WOBBLE ON SMARTPHONES */
   .col-md-3{
       padding: 0;
   }
   
   /* SETS LOGO BACKGROUND TO FULL WIDTH */
   #block-naclc-theme-branding{
       min-width: 100vw;
   }
   
   .floatbutton a{
        top: 11vh;
    	right: -85px;
	    width: 175px;
	    height: 11vh;
    }
   
   /* --- NATIONAL NETWORKS --- */
/* Makes scroll available on mobile phones */
div[data-quickedit-field-id="node/859/body/en/full"]{overflow-x: auto;}
/* Border for left and right */
div[data-quickedit-field-id="node/859/body/en/full"] table{border: 1px solid black;}
/* Border for the top row */
div[data-quickedit-field-id="node/859/body/en/full"] tr:first-child{border-top: 1px solid black;}
/* Border for the bottom row */
div[data-quickedit-field-id="node/859/body/en/full"] tr:last-child{border-bottom: 1px solid black;}
/* Border in between each row */
div[data-quickedit-field-id="node/859/body/en/full"] tr{border-bottom: 1px solid black;}
/* Background color for header row */
div[data-quickedit-field-id="node/859/body/en/full"] th{background-color: #81CFD6;}
/* Background color for every second row */
div[data-quickedit-field-id="node/859/body/en/full"] tr:nth-child(even) {background-color: #f2f2f2;}
/* Makes link color blue and gives links underline */
div[data-quickedit-field-id="node/859/body/en/full"] td a{color: blue;text-decoration: underline;}
/* Moves text in the first column over from the edge */
div[data-quickedit-field-id="node/859/body/en/full"] th:nth-of-type(1) {padding-left: 20px;}
div[data-quickedit-field-id="node/859/body/en/full"] td:nth-of-type(1) {padding-left: 20px;}
/* Adds padding to the top of every cell */
div[data-quickedit-field-id="node/859/body/en/full"] td{padding-top: 20px;}
   
} /* THIS CLOSING BRACKET CLOSES THE PHONE MEDIA QUERY */

@media only screen and (min-width: 600px) {
    
    /* ENFORCES WIDTH OF LOGO WHEN BROWSER WINDOW IS RESIZED */
    .logo a img{
        min-width: 285px;
        /* CENTERS ON DESKTOP */
        display: block;
        margin: 0 auto;
    }
    
    #block-announcementbutton div::before{
        top: -7px;
       left: 19%;
   }
   
   /* MEMBERS PORTAL BUTTON */
   .floatbutton a{
	    right: -95px;
	    width: 175px;
	    height: 10vh;
	    -webkit-transition-duration: 0.3s;
        -moz-transition-duration: 0.3s;
        -o-transition-duration: 0.3s;
        transition-duration: 0.3s;
    }
    
    .floatbutton a:hover{
        right: -40px;
        height: 20vh;
        top: 1vh;
    }
   
} /* THIS CLOSING BRACKET CLOSES THE DESKTOP MEDIA QUERY */















